1 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4 Don't assume all identifier chars have syntax word.
5 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6 Remove bar-not-symbol. Adjust callers.
7 (lisp-mode-variables): Don't set a font-lock-syntax-table.
9 2013-02-17 Leo Liu <sdl.web@gmail.com>
11 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
13 2013-02-17 Glenn Morris <rgm@gnu.org>
15 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
17 * image-mode.el (image-mode-map): Add image-dired menu entry.
19 * image-dired.el (tumme): Make this alias obsolete.
21 2013-02-16 Glenn Morris <rgm@gnu.org>
23 * image.el (image-animated-types): Remove.
24 (image-multi-frame-p): Rename from image-animated-p, and generalize.
25 (image-animated-p): Make obsolete alias.
26 (image-animate, image-nth-frame, image-animate-timeout):
27 Use image-multi-frame-p.
28 (image-animate-timeout): If no delay, use image-default-frame-delay.
29 * image-mode.el (image-mode, image-toggle-animation):
30 Use image-multi-frame-p. (Bug#763, bug#10739)
31 (image-mode): Adjust startup message for a multi-frame image.
33 * image-mode.el (image-mode-map): Give it a menu.
35 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
37 * net/tramp-cache.el (tramp-connection-properties): New customer
39 (tramp-get-connection-property): Use it.
41 * net/tramp-compat.el (top): Require 'trampver.
43 * net/tramp-sh.el (tramp-remote-process-environment):
44 Set tramp-autoload cookie.
46 2013-02-16 Kevin Ryde <user42@zip.com.au>
48 * info-look.el (info-lookup-select-mode): If major-mode has no
49 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
51 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
53 * replace.el (read-regexp): Tighten the regexp that matches tag.
54 When tag is retrieved with `find-tag-default', use regexp that
55 matches tag at point. Also update docstring (Bug#13687).
57 2013-02-16 Eli Zaretskii <eliz@gnu.org>
59 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
60 add watch for the file, not its parent directory, since w32notify
61 sets up the watch for the directory internally. (Bug#13725)
63 2013-02-16 Glenn Morris <rgm@gnu.org>
65 * image.el (image-default-frame-delay): New variable.
66 (image-animated-p): Use image-default-frame-delay.
67 (image-minimum-frame-delay): New constant.
68 (image-animate-timeout): Use image-minimum-frame-delay.
70 * image.el (image-nth-frame): New, split from image-animate-timeout.
71 (image-animate-timeout): Use image-nth-frame.
72 * image-mode.el (image-goto-frame, image-next-frame)
73 (image-previous-frame): New commands.
74 (image-mode-map): Add new frame commands.
76 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
78 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
79 If col-desc already has help-echo, use it. (Bug#13563)
81 2013-02-16 Glenn Morris <rgm@gnu.org>
83 * image.el (image-current-frame): New variable.
84 (image-animate-timeout): Set image-current-frame.
85 * image-mode.el (image-mode): For animated images,
86 display a frame counter via mode-line-process.
88 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
90 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
92 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
94 2013-02-15 Alan Mackenzie <acm@muc.de>
96 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
97 global minor mode has been enabled, call the minor mode function
98 for a new buffer once only, after the major mode hook, whilst
99 allowing that hook explicitly to disable the minor mode.
100 (MODE-disable-in-buffer): New (generated) function.
101 (disable-MODE): New (generated) buffer local variable.
103 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
105 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
106 `iswitchb-next-match' and `iswitchb-prev-match' resply.
107 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
108 `ido-next-match' and `ido-prev-match' resply.
109 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
110 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
111 `icomplete-backward-completions' (Bug#13708).
113 2013-02-15 Glenn Morris <rgm@gnu.org>
115 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
117 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
119 * net/goto-addr.el (goto-address-fontify): Add start and end args.
120 (goto-address-fontify-region): Use them instead of narrowing, so
121 syntax-ppss has access to the whole buffer.
123 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
125 * progmodes/python.el: Explain how to restore "cc-mode"-like
126 forward-sexp movement in header documentation (Bug#13642).
127 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
128 comments and strings (GH bug 114).
130 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
132 * progmodes/python.el (python-info-current-defun): Fix current
133 defun detection (Bug#13618).
135 2013-02-15 Chong Yidong <cyd@gnu.org>
137 * xml.el (xml-parse-string): Fix typo in handling of bad character
140 2013-02-15 Glenn Morris <rgm@gnu.org>
142 * play/fortune.el (fortune-compile): Simplify and fix previous change.
144 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
146 * net/tramp.el (tramp-debug-message):
147 Add `tramp-condition-case-unless-debug'.
148 (tramp-debug-on-error): New defvar.
149 (tramp-condition-case-unless-debug): New defun.
150 (tramp-file-name-handler): Use it.
152 2013-02-14 Juri Linkov <juri@jurta.org>
154 * info.el (Info-isearch-filter): Treat non-nil values of
155 `search-invisible' including its default value `open'
156 like the value `t' to match hidden text. (Bug#13402)
158 2013-02-14 Glenn Morris <rgm@gnu.org>
160 * help-fns.el (find-lisp-object-file-name): Give special treatment
161 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
163 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
165 * net/quickurl.el (quickurl-save-urls):
166 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
168 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
170 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
171 depth for unfinished percent literal. Not using it in the caller.
172 (ruby-move-to-block): Jump over multiline literals of all types,
173 ignoring code-looking contents inside them.
174 (ruby-add-log-current-method): Improve performance at the expense
175 of accuracy. `ruby-block-contains-point' is relatively slow, so
176 only use it for method and singleton class blocks.
178 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
180 Use ControlMaster where applicable. (Bug#13677)
182 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
183 replacing `tramp-detect-ssh-controlmaster'.
184 (tramp-default-method): Use it.
186 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
187 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
189 [scpc, rsyncc]: Remove methods.
190 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
192 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
193 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
195 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
197 * emacs-lisp/package.el (package--initialized): Move before first use.
199 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
201 * icomplete.el (icomplete-hide-common-prefix): New user option.
202 (icomplete-first-match): New face.
203 (icomplete-completions): Correct handling of "complete but not
206 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
208 * descr-text.el (describe-char): Display the script (bug#13698).
210 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
212 * tmm.el: Use lexical-binding and current-active-maps.
213 (tmm-menubar): Use map-keymap and pcase.
214 (tmm--completion-table): New function.
215 (tmm-prompt): Use it to fix the menu order.
216 (tmm-get-keybind): Use current-active-maps.
218 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
220 Add dired-hide-details-mode. (Bug#6799)
222 * locate.el (locate-mode): Set parent mode property to dired-mode.
224 * find-dired.el (find-dired): Call dired-insert-set-properties on
225 initial information line. Set process mark on end of buffer.
226 (find-dired-sentinel):
227 Call dired-insert-set-properties on summary.
229 * dired.el (dired-hide-details-hide-symlink-targets)
230 (dired-hide-details-hide-information-lines): New options.
231 (dired-insert-directory):
232 Set properties after final treatment of output.
233 (dired-insert-set-properties):
234 Set dired-hide-details-* properties.
235 (dired-mode-map): Bind dired-hide-details-mode.
236 (dired-mode): Set buffer-invisibility-spec to a list.
237 (dired-next-line): Skip hidden lines.
238 (dired-previous-line): Use dired-next-line.
239 (dired-hide-details-mode): New minor mode.
240 (dired-hide-details-update-invisibility-spec): New function.
242 2013-02-13 Glenn Morris <rgm@gnu.org>
244 * play/yow.el: Move to obsolete/. (Bug#9384)
246 2013-02-13 Juri Linkov <juri@jurta.org>
248 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
249 to select `ediff-control-frame' and set input focus correctly on Xfce.
252 2013-02-13 Juri Linkov <juri@jurta.org>
254 * image-mode.el (image-mode-map):
255 * doc-view.el (doc-view-mode-map):
256 * vc/ediff-util.el (ediff-setup-keymap):
257 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
259 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
261 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
262 performance. Instead of recalculating indentation fully for each
263 line, sum up indentation depth based only on visited lines.
264 (ruby-parse-partial): Increase the depth after "do" even when END
266 (ruby-parse-partial): When END is in the middle of a percent
267 literal, increase the depth if the delimiter chars belong to the
270 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
272 * play/fortune.el (fortune-compile): Also make the compiled file
273 if it does not exist at all, not just if it is old. (Bug#5338)
275 2013-02-13 Glenn Morris <rgm@gnu.org>
277 * emacs-lisp/package.el (package-menu-execute): Doc fix.
279 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
281 * lisp/emacs-lisp/package.el (package-menu-execute):
282 Add optional noquery argument. (Bug#13625)
284 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
286 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
287 if DIR exists and PARENTS is non-nil.
289 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
291 * progmodes/js.el (js--multi-line-declaration-indentation):
292 Silence byte-compiler warning.
294 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
296 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
298 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
299 only if it doesn't exist.
301 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
304 2013-02-12 Tassilo Horn <tsdh@gnu.org>
306 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
307 UserInstallation when calling soffice to work around LibreOffice
310 2013-02-12 Glenn Morris <rgm@gnu.org>
312 * files.el (basic-save-buffer):
313 Offer to create a non-existing directory. (Bug#3016)
315 * calc/calc-graph.el (calc-graph-show-dumb):
316 * calendar/calendar.el (calendar-mode-map):
317 * cus-edit.el (custom-mode-map):
318 * ehelp.el (electric-help-map):
319 * emulation/vip.el (vip-mode-map):
320 * epa.el (epa-key-list-mode-map):
321 * info.el (Info-mode-map):
322 * mail/rmail.el (rmail-mode-map):
323 * mail/rmailsum.el (rmail-summary-mode-map):
324 * man.el (Man-mode-map):
325 * net/newst-plainview.el (newsticker-mode-map):
326 * progmodes/cpp.el (cpp-edit-mode-map):
327 * progmodes/grep.el (grep-mode-map):
328 * progmodes/idlw-help.el (idlwave-help-mode-map):
329 * simple.el (special-mode-map):
330 * startup.el (splash-screen-keymap):
331 * view.el (view-mode-map):
332 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
334 2013-02-11 Elias Pipping <pipping@lavabit.com>
336 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
339 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
341 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
343 2013-02-11 Glenn Morris <rgm@gnu.org>
345 * vc/diff.el (diff-use-labels): New variable.
346 (diff-no-select): Use --label rather than -L, and first
347 check that it is supported. (Bug#11067)
349 * files.el (enable-dir-local-variables): New variable.
350 (hack-dir-local-variables): Respect enable-dir-local-variables.
351 * tutorial.el (help-with-tutorial):
352 Ignore directory-local variables. (Bug#11127)
354 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
355 (vc-svn-global-switches): ... to here. (Bug#13513)
357 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
359 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
360 Handle "foo (bar, default: xxx): " prompts.
362 2013-02-10 Chong Yidong <cyd@gnu.org>
364 * files.el (basic-save-buffer-1): Do not set
365 buffer-file-coding-system-explicit (Bug#4533).
367 * mail/emacsbug.el (report-emacs-bug): Change binding of
368 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
370 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
372 * calc/calc.el (calc-allow-units-as-numbers): New variable.
373 * calc/calc-units.el (calc-convert-units): Use new variable.
375 2013-02-09 Eli Zaretskii <eliz@gnu.org>
377 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
379 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
382 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
383 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
384 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
385 coding-system-for-write instead.
387 * jka-compr.el (jka-compr-write-region): Don't bind
390 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
393 * files.el (file-name-buffer-file-type-alist): Remove defvar.
394 (insert-file-contents-literally): Remove reference to
395 file-name-buffer-file-type-alist.
397 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
399 (find-buffer-file-type-match, find-buffer-file-type): Remove.
400 (find-buffer-file-type-coding-system): Remove references to
401 find-buffer-file-type-match, find-buffer-file-type, and
403 Don't put find-buffer-file-type-coding-system into
404 file-coding-system-alist.
405 (find-file-binary, find-file-text): Bind coding-system-for-read
406 instead of file-name-buffer-file-type-alist.
408 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
410 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
411 converter (Bug#13622).
412 (doc-view-unoconv-program): Make obsolete alias.
413 (doc-view-odf->pdf-converter-program): New variable.
414 (doc-view-odf->pdf-converter-function): New variable.
415 (doc-view-mode-p): Use it.
416 (doc-view-odf->pdf-converter-unoconv):
417 Rename from `doc-view-odf->pdf-converter-unoconv'.
418 (doc-view-odf->pdf-converter-soffice): New function.
419 (doc-view-convert-current-doc):
420 Use `doc-view-odf->pdf-converter-function'.
422 2013-02-09 Chong Yidong <cyd@gnu.org>
424 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
425 view-echo-area-messages (Bug#13340).
427 * help.el (view-echo-area-messages): Use display-buffer.
429 * dired-x.el (dired-do-run-mail): Prompt for confirmation
432 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
434 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
435 Eval body right away, now that we do eager macroexpansion (bug#13605).
437 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
438 (fundamental-mode): Use run-mode-hooks.
440 * eshell/esh-proc.el (eshell/kill): Fix last change.
441 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
443 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
445 * eshell/esh-proc.el (eshell/kill): Rewrite.
447 * eshell/em-ls.el (show-almost-all): Declare.
448 (eshell-do-ls): Add support for -A argument.
450 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
452 * icomplete.el (icomplete-forward-completions)
453 (icomplete-backward-completions): Handle corner case (bug#13602).
455 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
457 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
458 be nil. Handle this. (Bug#13636)
460 2013-02-07 Richard Stallman <rms@gnu.org>
462 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
463 `save-buffer-coding-system'.
465 2013-02-07 Alan Mackenzie <acm@muc.de>
467 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
468 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
469 (c-parse-state-get-strategy): Don't return 'BOD any more.
470 (c-append-lower-brace-pair-to-state-cache):
471 Extra parameter HERE instead of narrowing.
472 Widen to top of buffer before searching backwards for a brace pair.
473 (c-state-push-any-brace-pair): Add HERE parameter to function call.
474 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
475 Narrow to parameter HERE, in place of being called narrowed.
476 (c-remove-stale-state-cache): Extra parameter HERE in place of
477 narrowing. Check there's an open brace in the cache before
478 searching for its match.
479 (c-invalidate-state-cache-1): Add HERE parameter to function call.
480 (c-parse-state-1): Don't narrow here for 'forward strategy,
481 instead passing extra parameter HERE to several functions.
482 Remove 'BOD strategy.
484 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
486 * emacs-lisp/package.el (describe-package-1): Tell what archive is
487 used to install the package.
489 2013-02-06 Glenn Morris <rgm@gnu.org>
491 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
492 if we can't get user input. (Bug#6567)
494 * startup.el (command-line): If simple.el is missing,
495 test and warn about for some possible causes.
497 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
499 * cus-start.el (all): Add ns-use-native-fullscreen.
501 2013-02-05 Glenn Morris <rgm@gnu.org>
503 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
505 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
506 Fix directory creation in fallback case.
508 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
510 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
511 (vc-update-change-log): Use dolist.
513 2013-02-04 Chong Yidong <cyd@gnu.org>
515 * thingatpt.el: Rewrite the URL detection routines, absorbing some
517 (thing-at-point-beginning-of-url-regexp): New var.
518 (thing-at-point-uri-schemes): Update list of URI schemes.
519 (thing-at-point-url-regexp): Variable deleted.
520 (thing-at-point-markedup-url-regexp): Disallow newlines.
521 (thing-at-point-newsgroup-regexp)
522 (thing-at-point-newsgroup-heads)
523 (thing-at-point-default-mail-uri-scheme): New variables.
524 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
525 method to find the possible bounds of the URI at point.
526 New optional argument to find ill-formed URIs.
527 (thing-at-point-url-at-point): Rewrite. New arguments for finding
528 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
529 the scheme-adding heuristics from ffap-url-at-point.
530 (thing-at-point--bounds-of-well-formed-url): New function.
531 Do parens matching to decide whether to include parens in the URI
534 * ffap.el: Require thingatpt.
535 (ffap-url-at-point): Delegate URI detection to thing-at-point.
536 All URI-valid characters are now recognized (Bug#5673).
537 (ffap-string-at-point): Use use-region-p.
538 (ffap-url-regexp): Extra character is handled by thing-at-point.
539 (ffap-string-at-point-mode-alist): Allow parentheses.
540 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
541 Convert to aliases; code moved to thingatpt.el.
542 (ffap-gnus-hook): Use setq-local.
544 2013-02-04 Glenn Morris <rgm@gnu.org>
546 * emacs-lisp/ert.el (ert--explain-format-atom):
547 Don't try to print non-characters as characters. (Bug#13543)
549 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
551 * net/tramp.el (tramp-debug-message): Extend function exclude list.
552 (tramp-backtrace): New defun.
553 (tramp-handle-insert-file-contents): Use `visit' when inserting
556 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
557 Use `remote-file-name-inhibit-cache'.
559 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
561 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
564 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
565 current-load-list (bug#13366).
567 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
569 * progmodes/compile.el (compilation-error-regexp-alist-alist):
570 Identify g++ template instantiation trace. (Bug#12287)
571 (compilation-mode-hook, compilation-start-hook)
572 (compilation-window-height): Simplify docstrings. (Bug#13379)
574 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
576 * mouse.el (mouse-drag-track): Always deactivate the mark before
577 running the final event's command since that command is in charge of
578 activating the mark if needed (bug#13523).
580 2013-02-02 Juri Linkov <juri@jurta.org>
582 * replace.el (perform-replace): Move let-bindings of isearch-*
583 variables deeper to the loop that searches for the next match.
584 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
585 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
588 * isearch.el (isearch-search-fun-default): Check for null
589 first element of isearch-cmds as a precaution when it's used
590 with inactive isearch.
592 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
594 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
595 error when buffer in question is narrowed so position 1 is out of
598 2013-02-02 Glenn Morris <rgm@gnu.org>
600 * textmodes/remember.el (remember-clipboard): Doc fix.
602 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
604 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
605 properties (bug#13179).
607 2013-02-02 Juri Linkov <juri@jurta.org>
609 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
610 instead of hard-coded default face `match'. (Bug#9438)
612 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
614 * vc/vc-arch.el (vc-arch-registered):
615 * vc/vc-bzr.el (vc-bzr-registered):
616 * vc/vc-cvs.el (vc-cvs-registered):
617 * vc/vc-git.el (vc-git-registered):
618 * vc/vc-hg.el (vc-hg-registered):
619 * vc/vc-mtn.el (vc-mtn-registered):
620 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
623 * info.el (Info-next-reference, Info-prev-reference): Add numeric
624 prefix argument. (Bug#11656)
626 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
628 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
630 2013-02-01 Glenn Morris <rgm@gnu.org>
632 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
633 if the backend is known not to support it.
635 * imenu.el (imenu-default-create-index-function):
636 Tweak infinite loop test to check for forward motion as well as none.
638 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
640 * net/soap-client.el (soap-invoke): Encode the string for
641 `url-request-data' as UTF-8.
642 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
644 2013-02-01 Glenn Morris <rgm@gnu.org>
646 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
648 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
650 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
652 * net/tramp.el (tramp-tramp-file-p): Comment check for
653 `string-as-unibyte'. The function does not exist on XEmacs, and
654 likely we need another approach.
656 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
657 `tramp-gw-*' variables are bound.
659 2013-01-31 Glenn Morris <rgm@gnu.org>
661 * files.el (basic-save-buffer-2): Choose coding system for
662 writing the file before backing it up, to reduce delay between
663 backing up and writing the new version. (Bug#13522)
665 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
667 * simple.el (cycle-spacing): New command.
668 (just-one-space): Use it.
670 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
672 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
673 (opascal-newline-always-indents): Remove custom.
674 (opascal-tab, opascal-newline): Remove commands.
675 (opascal-new-comment-line): Insert "\n" instead of calling newline.
676 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
677 (opascal-save-match-data): Remove, use save-match-data instead.
678 (opascal-save-state): Use with-silent-modifications.
680 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
683 2013-01-30 Juri Linkov <juri@jurta.org>
685 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
686 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
687 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
689 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
691 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
692 column if we're just deleting the backslashes.
693 (makefile-fill-paragraph): Use eolp.
695 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
697 * autorevert.el (auto-revert-use-notify): Fix docstring.
699 2013-01-30 Leo Liu <sdl.web@gmail.com>
701 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
703 2013-01-30 Glenn Morris <rgm@gnu.org>
705 * mouse.el (mouse-drag-line): Avoid pushing same event onto
706 unread-command-events twice in some cases. This tries to implement
707 the 2012-07-26 changes in a different way. (Bug#13560)
709 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
711 * progmodes/python.el
712 (python-pdbtrack-comint-output-filter-function): Enhancements on
713 stacktrace detection. (thanks @gnovak)
715 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
717 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
718 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
720 (jit-lock-register): Use setq-local.
722 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
724 * calc-units.el (math-default-units-table): Remove initial value.
725 (calc-convert-units): Treat expressions where all the units cancel as
726 if they didn't have units.
728 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
730 * net/tramp.el (tramp-process-connection-type): Fix docstring.
731 (tramp-completion-reread-directory-timeout): Fix type.
732 (tramp-connection-min-time-diff): New defcustom.
734 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
736 2013-01-30 Glenn Morris <rgm@gnu.org>
738 * imenu.el (imenu-default-create-index-function):
739 Put back a version of the infinite loop test removed 2013-01-23.
741 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
743 * progmodes/python.el (python-shell-parse-command):
744 Find python-shell-interpreter with modified environment.
746 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
748 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
750 2013-01-29 Alan Mackenzie <acm@muc.de>
752 Amend to fontify /regexp/s in actions correctly.
753 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
754 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
755 are no longer included.
756 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
757 What used to be these variables without "-line" in the name.
758 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
759 (c-awk-non-arith-op-bra-re): Now also matches {.
760 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
761 "return", and "case".
762 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
764 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
765 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
767 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
769 * autorevert.el (auto-revert-use-notify):
770 Use `custom-initialize-default' for initialization. (Bug#13583)
772 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
774 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
775 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
776 in `tramp-file-name-handler'.
777 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
779 (tramp-compute-multi-hops): Check, whether
780 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
782 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
784 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
787 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
790 checks made superfluous by the \_< operator.
791 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
792 temporarily) broken indentation.
793 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
794 Highlight nested constants, too. \_< broke that.
796 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
801 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
803 * autorevert.el (auto-revert-handler): Notifications which result
804 from a saved file shall not be taken into account. (Bug#13557)
806 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
808 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
809 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
810 (lisp-mode): Pass t for it. (Bug#13556)
812 2013-01-25 Alan Mackenzie <acm@muc.de>
814 AWK Mode: Fix indentation bug at top level. Bug #12274.
816 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
819 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
821 * net/socks.el (socks-nslookup-host): Use string-to-number.
823 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
825 * autorevert.el (auto-revert-remote-files)
826 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
827 (auto-revert-notify-enabled, auto-revert-use-notify)
828 (auto-revert-notify-watch-descriptor-hash-list)
829 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
830 (auto-revert-notify-event-descriptor)
831 (auto-revert-notify-event-action)
832 (auto-revert-notify-event-file-name): Doc fix.
833 (global-auto-revert-mode): Reorder checks.
834 (auto-revert-notify-rm-watch): Respect changed values of
835 `auto-revert-notify-watch-descriptor-hash-list'.
836 (auto-revert-notify-add-watch): Check for
837 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
838 `inotify-add-watch'. Watch `default-directory' instead of
839 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
840 has a changed meaning now. (Bug#13540)
841 (auto-revert-notify-handler): Change implementation wrt events
842 returning from a directory.
843 (auto-revert-handler): Reorder implementation for checks of remote
845 (auto-revert-buffers): Fix parentheses error.
847 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
849 * progmodes/python.el: Enhancements to header documentation about
850 skeletons. (Bug#5716)
852 * imenu.el (imenu-default-create-index-function): Remove useless
853 infinite loop check. (Bug#13438)
855 2013-01-25 Alan Mackenzie <acm@muc.de>
857 Fix a bug in the state cache mechanism. Refactor this a bit.
859 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
860 `cache-pos' element from the return value.
861 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
862 buffer to enable proper searching from beyond HERE. Amend the
863 test for detecting the sought brace pair. Amend the value written
864 to the "brace desert cache" when the brace isn't found.
865 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
866 and several other variables analogously.
867 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
868 parameter to a locally calculated variable.
869 (c-parse-state-1): Change the calling conventions to the two
870 defuns involving `cache-pos'.
872 2013-01-25 Chong Yidong <cyd@gnu.org>
874 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
876 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
878 * paren.el (show-paren-function): Make sure to set 'priority and
879 'face only if the overlay does exist.
881 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
885 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
887 (tramp-sh-handle-set-file-acl): Improve error checking.
889 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
891 * doc-view.el (doc-view-display): Force mode line update until all
892 document is converted. Suggested by Stefan Monnier (Bug#13164).
894 2013-01-23 Bastien Guerry <bzg@gnu.org>
896 * paren.el (show-paren-function): Make sure an overlay exists
897 before trying to delete it. Also use `pos' as a position only
898 when it is an integer.
900 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
902 * play/gametree.el (gametree-break-line-here): Use point-marker.
904 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
906 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
907 Mark descriptive parts with `display' property.
909 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
911 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
912 New variable to map standard dict names to hunspell ones.
913 (ispell-set-spellchecker-params): Make sure specific dict names
914 are used for standard dicts with hunspell.
916 2013-01-21 Tassilo Horn <tsdh@gnu.org>
918 * textmodes/reftex-cite.el (reftex-format-citation): Add format
919 chars for note (%N) and url (%U).
920 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
922 2013-01-21 Juri Linkov <juri@jurta.org>
924 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
925 in addition to existing separate binding `meta f10' in `global-map'.
928 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
930 Improve XEmacs compatibility.
932 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
934 * net/tramp-adb.el (top): Require `time-date'.
935 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
936 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
937 Use `tramp-file-name-handler'.
938 (tramp-adb-maybe-open-connection):
939 Use `tramp-compat-set-process-query-on-exit-flag'.
941 * net/tramp-sh.el (tramp-sh-handle-file-acl):
942 Use `tramp-compat-funcall'.
944 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
945 `tramp-compat-funcall'.
947 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
949 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
950 reimplementation using "adb shell command ..." instead of running
951 remote shell interactively.
953 2013-01-20 Glenn Morris <rgm@gnu.org>
955 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
956 Add native profiler menu entries.
958 * profiler.el (profiler-running-p): New function.
959 (profiler-cpu-profile): Use profiler-running-p.
960 (profiler-report-mode-map): Add some more menu entries.
962 2013-01-19 Glenn Morris <rgm@gnu.org>
964 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
965 fixes 2012-12-07 change. (Bug#13499)
967 2013-01-19 Leo Liu <sdl.web@gmail.com>
969 * dired.el (dired-get-marked-files): Prune erroneous values due to
970 last change. (Bug#13152)
972 2013-01-19 Glenn Morris <rgm@gnu.org>
974 * progmodes/etags.el (tags-table-check-computed-list):
975 Preserve point in tags buffer. (Bug#13412)
977 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
979 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
980 Chong Yidong <cyd@gnu.org>
982 * image-mode.el (image-next-file, image-previous-file):
983 New commands (Bug#8453).
984 (image-mode-map): Bind them to n and p.
985 (image-mode--images-in-directory): New helper function.
987 2013-01-19 Chong Yidong <cyd@gnu.org>
989 * image-mode.el (image-mode-fit-frame): Add a frame argument.
990 Suggested by Drew Adams (Bug#7730). Handle window decorations;
991 save and restore the old window configuration.
993 2013-01-18 Leo Liu <sdl.web@gmail.com>
995 * progmodes/js.el: Tweak autoload cookie for alias.
997 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
999 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1000 buffer local, again. This was lost with the fix on 2013-01-12.
1002 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1004 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1005 order to support several eshell buffers in parallel.
1007 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1009 * autorevert.el (auto-revert-use-notify): In the :set function, do
1010 not modify `kill-buffer-hook'.
1011 (auto-revert-notify-rm-watch):
1012 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1013 (auto-revert-notify-add-watch): Do not call
1014 `auto-revert-notify-rm-watch', but add it to a buffer local
1017 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1019 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1020 call to `eval' rather than a backquoted lambda.
1022 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1025 to return an explicit nil.
1026 (advice--remove-function): Change accordingly.
1028 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1029 the use of nadvice.el.
1031 * progmodes/which-func.el (which-function): Silence imenu errors
1034 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1036 * progmodes/sql.el: (sql-imenu-generic-expression):
1037 (sql-mode-font-lock-object-name): Match schema qualified names.
1038 (sql-connect): Use string keys.
1039 (sql-product-interactive): Wait for interpreter prompt.
1040 (sql-comint-oracle): Set process coding based on NLS_LANG.
1042 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1044 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1045 (sql-interactive-remove-continuation-prompt):
1046 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1048 2013-01-14 Leo Liu <sdl.web@gmail.com>
1050 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1053 2013-01-14 Glenn Morris <rgm@gnu.org>
1055 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1056 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1058 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1060 * progmodes/python.el (python-nav-end-of-statement):
1061 Fix cornercase when handling multiline strings.
1063 2013-01-13 Richard Stallman <rms@gnu.org>
1065 * mail/sendmail.el (mail-position-on-field): Add doc string.
1067 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1068 Get current message boundaries and pass them to
1069 message-forward-make-body-mime. Minor style changes.
1071 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1073 * cus-start.el (all): Avoid warnings about
1074 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1076 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1078 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1080 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1083 (jit-lock--debug-fontifying): New var.
1084 (jit-lock--debug-fontify): New function.
1085 * subr.el (condition-case-unless-debug): Don't prevent catching the
1086 error, just let the debbugger run.
1087 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1088 timer code and don't drop errors silently.
1090 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1092 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1093 `permanent-local' property.
1094 (auto-revert-notify-handler): Use `file-equal-p'.
1096 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1098 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1099 file notification by ACTION. For filtering by file name, compare
1100 only the non-directory part of the file name.
1102 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * autorevert.el: Use cl-lib instead of cl.
1106 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1107 (vc-bzr-checkin): Use it.
1108 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1109 will preserve match-data.
1111 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1113 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1114 (js--declaration-keyword-re): New var.
1115 (js--multi-line-declaration-indentation): New function.
1116 (js--proper-indentation): Use it.
1118 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1120 * calc/calc.el (calc-highlight-selections-with-faces)
1122 * comint.el (comint-history-isearch-message):
1123 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1124 * ffap.el (ffap-string-at-point-region, ffap-next)
1125 (ffap-string-at-point, ffap-string-around)
1126 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1128 * font-lock.el (font-lock-keywords-alist)
1129 (font-lock-removed-keywords-alist):
1130 * help-mode.el (help-xref-symbol-regexp):
1131 * info.el (Info-find-emacs-command-nodes):
1132 * international/mule.el (add-to-coding-system-list):
1133 * isearch.el (isearch-message-function, isearch-fail-pos):
1134 * misearch.el (multi-isearch-next-buffer-function):
1135 * newcomment.el (comment-box):
1136 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1137 (pr-setting-database):
1138 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1139 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1140 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1141 (pike-font-lock-keywords-3):
1142 * progmodes/compile.el (compile):
1143 * progmodes/etags.el (tags-table-files)
1144 (tags-table-files-function, tags-included-tables-function):
1145 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1146 (gdb-restore-windows):
1147 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1148 (ps-n-up-filling-database):
1149 * server.el (server-buffer, server-log):
1150 * simple.el (newline, delete-backward-char, delete-forward-char)
1151 (minibuffer-history-isearch-message, kill-line, track-eol)
1152 (temporary-goal-column):
1153 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1154 (flyspell-default-deplacement-commands):
1155 * textmodes/ispell.el (ispell-accept-output):
1156 * textmodes/sgml-mode.el (html-tag-help):
1157 * vc/compare-w.el (compare-ignore-whitespace)
1158 (compare-ignore-case, compare-windows-dehighlight):
1159 * vc/diff.el (diff):
1160 * whitespace.el (whitespace-point)
1161 (whitespace-font-lock-refontify, whitespace-bob-marker)
1162 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1164 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1166 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1167 (auto-revert-notify-rm-watch): Ignore errors.
1168 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1169 inotify, and '(size last-write-time) for w32notify.
1170 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1171 watch fails - this is a fallback to the file modification check.
1172 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1173 (auto-revert-notify-event-action)
1174 (auto-revert-notify-event-file-name): New defuns.
1175 (auto-revert-notify-handler): Use them. Implement first
1176 plausibility checks.
1177 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1179 2013-01-11 Julien Danjou <julien@danjou.info>
1181 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1182 max are almost equal. Also return the correct value for V which is
1183 already between 0 and 1.
1185 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1187 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1189 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1191 * autorevert.el (auto-revert-notify-rm-watch)
1192 (auto-revert-notify-add-watch): Fix typos in w32notify function
1195 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1197 * autorevert.el (auto-revert-notify-enabled): Move up.
1198 (auto-revert-use-notify): New defcustom.
1199 (auto-revert-mode, global-auto-revert-mode)
1200 (auto-revert-notify-add-watch, auto-revert-handler)
1201 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1202 `auto-revert-notify-enabled'.
1204 2013-01-10 Elias Pipping <pipping@exherbo.org>
1206 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1207 * doc-view.el (doc-view-document->bitmap):
1208 Use doc-view-single-page-converter-function instead of
1209 single-page-converter arg; adjust callers.
1211 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1213 * progmodes/which-func.el (which-function): Understand Semantic's use
1214 of overlays in imenu--index-alist.
1216 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1218 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1219 (Man-man-k-use-anchor): New var.
1220 (Man-parse-man-k): New function.
1221 (Man-completion-table): Use it.
1222 (man): Flush the completion cache between uses.
1224 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1226 * autorevert.el: Add file watch support.
1227 (auto-revert-notify-enabled): New defconst.
1228 (auto-revert-notify-watch-descriptor-hash-list)
1229 (auto-revert-notify-watch-descriptor)
1230 (auto-revert-notify-modified-p): New defvars.
1231 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1232 (auto-revert-notify-handler): New defuns.
1233 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1234 when mode is disabled.
1235 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1236 (auto-revert-buffers): Add file watches for active buffers.
1238 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1240 * cus-start.el (toplevel): Only allow float values for
1241 scroll-up-aggressively and scroll-down-aggressively.
1242 Allow any number for line-spacing.
1244 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1247 (doc-view-pdf->png-converter-function): Use mupdf if available.
1248 (doc-view-djvu->png-converter-function)
1249 (doc-view-ps->png-converter-function): Remove.
1250 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1251 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1252 (doc-view-already-converted-p): Adjust accordingly.
1253 (doc-view-mode-p): Simplify.
1254 (doc-view-enlarge): Use setq-local.
1255 (doc-view-pdf->png-converter-ghostscript)
1256 (doc-view-djvu->png-converter-ddjvu)
1257 (doc-view-pdf->png-converter-mupdf): Rework to call
1258 doc-view-start-process directly.
1259 (doc-view-pdf/ps->png): Simplify accordingly.
1260 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1261 (doc-view-document->bitmap): Rename from doc-view-document->png.
1262 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1263 (doc-view-set-slice-from-bounding-box): Fix completion table.
1264 (doc-view-mode): Use add-hook for after-revert-hook.
1266 2013-01-10 Glenn Morris <rgm@gnu.org>
1268 * emacs-lisp/authors.el (authors-ignored-files)
1269 (authors-valid-file-names, authors-renamed-files-alist):
1270 Add some more entries.
1272 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1274 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1275 `t' pseudo-window entry.
1277 2013-01-10 Alan Mackenzie <acm@muc.de>
1279 Fix bugs in the c-parse-state mechanism. Reuse some markers
1280 instead of continually generating new ones.
1282 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1283 (c-state-old-cpp-end-marker): New variables.
1284 (c-append-lower-brace-pair-to-state-cache): Start a backward
1285 search for "}" definitively outside CPP constructs.
1286 (c-remove-stale-state-cache): Inform the caller of a need to
1287 search back for a brace pair in certain circumstances.
1288 (c-state-maybe-marker): New macro.
1289 (c-parse-state): Reuse markers when appropriate.
1291 2013-01-10 Glenn Morris <rgm@gnu.org>
1293 * simple.el (execute-extended-command): Doc fix.
1294 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1296 2013-01-10 Chong Yidong <cyd@gnu.org>
1298 * faces.el (read-face-name): Doc fix.
1300 2013-01-10 Roland Winkler <winkler@gnu.org>
1302 * emacs-lisp/crm.el: Allow any regexp for separators.
1303 (crm-default-separator): All spaces around the default comma separator.
1304 (crm--completion-command): New macro.
1305 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1306 (crm-complete-and-exit): Handle non-single-char separators.
1308 2013-01-09 Elias Pipping <pipping@lavabit.com>
1310 * doc-view.el: Add support for DjVu (bug#13164).
1311 (doc-view-djvu->png-converter-function): New config var.
1312 (doc-view-single-page-converter-function, doc-view--image-type)
1313 (doc-view--image-file-extension): New vars.
1314 (doc-view-mode): Initialize them.
1315 (doc-view-goto-page): Use them.
1316 (doc-view-mode-p): Add support for ddjvu.
1317 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1318 (doc-view-set-up-single-converter): New funs.
1319 (doc-view-pdf/ps->png): Extend for djvu.
1320 (doc-view-document->png): Rename from doc-view-pdf->png.
1321 (doc-view-convert-current-doc): Handle djvu.
1322 (doc-view-insert-image, doc-view-display)
1323 (doc-view-already-converted-p): Don't hardcode png.
1324 (doc-view-set-doc-type): Recognize djvu docs.
1326 2013-01-09 Elias Pipping <pipping@lavabit.com>
1328 * doc-view.el: Add support for mupdf converter (bug#13164).
1329 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1330 (doc-view-ps->png-converter-function): New config vars.
1331 (doc-view-pdf->png-converter-ghostscript)
1332 (doc-view-ps->png-converter-ghostscript)
1333 (doc-view-pdf->png-converter-mupdf): New functions.
1334 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1336 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1338 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1339 first in session cache: When `tramp-own-remote-path' is in
1340 `tramp-remote-path', the remote path is only set in the session
1343 2013-01-09 Glenn Morris <rgm@gnu.org>
1345 * emacs-lisp/trace.el (trace-function-foreground)
1346 (trace-function-background): Doc fix.
1348 2013-01-09 Juri Linkov <juri@jurta.org>
1350 * international/mule-cmds.el (read-char-by-name): Move let-binding
1351 of completion-ignore-case around completing-read to fix regression
1352 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1353 `string-match-p' using the nil value of `case-fold-search' and
1354 `completion-ignore-case' in `completion-pcm--all-completions'.
1357 2013-01-09 Glenn Morris <rgm@gnu.org>
1359 * progmodes/compile.el (compilation-parse-errors):
1360 Fix typo. (Bug#13369)
1362 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1364 * comint.el (comint-send-input): Check size of buffer before
1365 waiting for process output, in case already accepted. (Bug#13290)
1367 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1370 * net/tramp-adb.el (tramp-adb-get-toolbox):
1371 Fix misspelling of 'unknown'.
1373 2013-01-08 Juri Linkov <juri@jurta.org>
1375 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1376 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1377 Use underline style wave on terminals that support it. (Bug#13000)
1379 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1382 the predicate returns nil.
1384 * simple.el: Use lexical-binding.
1385 (primitive-undo): Use pcase.
1386 (minibuffer-history-isearch-push-state): Use a closure.
1388 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1390 * simple.el (primitive-undo): Move from undo.c.
1392 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1395 (cvs-mode-remove-handled): Use it (bug#13380).
1397 * emacs-lisp/nadvice.el (advice--tweak): New function.
1398 (advice--remove-function, advice--subst-main): Use it.
1400 * emacs-lisp/advice.el: Update commentary.
1402 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1405 Remove spurious entry.
1407 2013-01-08 Glenn Morris <rgm@gnu.org>
1409 * net/tramp.el (tramp-default-host-alist): Add :version.
1411 2013-01-08 Juri Linkov <juri@jurta.org>
1413 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1414 single completion. (Bug#12456)
1415 (info--manual-names): Expand node completions into an explicit list
1416 before appending it to another list. Filter out internal buffers
1417 with the leading space in the buffer name. (Bug#10771)
1419 2013-01-08 Juri Linkov <juri@jurta.org>
1421 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1422 that defaults to the Top node.
1423 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1424 the short format (FILENAME) goes to the Top node.
1425 (Info-build-node-completions): Rename arg `file' to `filename'.
1428 2013-01-07 Bastien Guerry <bzg@gnu.org>
1430 * menu-bar.el (menu-bar-search-documentation-menu):
1431 Use `apropos-user-option' and fix the help message.
1433 2013-01-07 Bastien Guerry <bzg@gnu.org>
1435 * apropos.el (apropos-do-all): Update docstring.
1436 (apropos-user-option-button): New face.
1437 (apropos-user-option): Rename from `apropos-variable' and update
1439 (apropos-variable): Rewrite, now show all variables by default.
1440 (apropos-print): Mention "User option" instead of "Variable" when
1441 printing doc for user options. (Bug#13276)
1443 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1445 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1446 Handle filename correctly, when parsing "source -> target" symlink
1448 (tramp-adb-handle-set-file-times): New defun.
1450 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1453 advice list when the interactive-spec of ad-Advice-* changes.
1455 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1457 * wid-edit.el (widget-default-get): Work for inlined elements.
1460 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1462 * net/tramp.el (tramp-default-host-alist): New defcustom.
1463 (tramp-find-host): Use it.
1464 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1465 `eshell-directory-change-hook'.
1467 * net/tramp-adb.el (top): Add adb specific entry in
1468 `tramp-default-host-alist'.
1469 (tramp-adb-file-name-host): Remove function.
1470 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1471 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1473 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1475 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1477 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1479 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1481 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1482 consist of more than one digit.
1483 (tramp-adb-file-name-handler-alist):
1484 Use `tramp-handle-file-exists-p' consistently.
1485 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1486 (tramp-adb-handle-file-exists-p): Remove function.
1487 (tramp-adb-file-name-host): New defun.
1488 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1490 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1492 2013-01-06 Chong Yidong <cyd@gnu.org>
1494 * vc/vc.el (vc-next-action): Detect buffer modifications
1495 conflicting with locking VCS operation (Bug#11490).
1497 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1499 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1501 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1502 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1504 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1506 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1507 parsing of ls output using regular expression (handle filenames
1508 with spaces). Use virtual device number.
1509 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1512 2013-01-04 Daiki Ueno <ueno@gnu.org>
1514 * epg.el: Silence byte-compiler warnings.
1515 (epg--start): Use delete-char instead of delete-backward-char.
1516 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1518 2013-01-04 Daiki Ueno <ueno@gnu.org>
1520 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1521 Suggested by Eli Zaretskii <eliz@gnu.org>.
1523 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1525 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1526 non-negative integers. Otherwise, the default values are used.
1527 (tramp-convert-file-attributes): Convert uid and gid to integers.
1529 2013-01-04 Glenn Morris <rgm@gnu.org>
1531 * term.el (term-handle-colors-array): Ensure face attributes
1532 are fully specified, not nil. (Bug#13337)
1534 * term.el (term-default-fg-color, term-default-bg-color):
1537 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1538 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1539 rather than 'jka-compr being loaded. (Bug#13338)
1541 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1543 * icomplete.el (icomplete-completions):
1544 Honor icomplete-prospects-height once more following
1545 2012-11-29 changes. (Bug#13224)
1547 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1550 of called-interactively-p as well (bug#13237).
1552 * view.el (view--enable, view--disable): Rename from view-mode-enable
1553 and view-mode-disable and assume it's called from view-mode.
1554 (view-mode-enable, view-mode-disable): Redefine as obsolete
1555 compatibility layer above view-mode.
1556 (view-mode-enter): Call `view-mode'.
1558 * files.el (after-find-file): Call `view-mode'.
1560 * doc-view.el (doc-view-scale-internally): New var.
1561 (doc-view-enlarge, doc-view-insert-image): Obey it.
1563 2013-01-03 Daiki Ueno <ueno@gnu.org>
1565 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1568 2013-01-03 Glenn Morris <rgm@gnu.org>
1570 * mail/rmail.el (rmail-set-header-1): Ignore case.
1571 Handle multi-line headers. (Bug#13330)
1573 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1574 Handle paragraph starting at beginning of buffer.
1576 * subr.el (eval-after-load): Don't purecopy the form, so that it
1577 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1579 * emacs-lisp/byte-run.el (defun): Place cl declarations
1580 after any interactive spec. (Bug#13265)
1582 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1584 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1585 defun. Don't check for DECL if DOCSTRING isn't a string.
1588 2013-01-02 Glenn Morris <rgm@gnu.org>
1590 * eshell/em-cmpl.el (eshell-pcomplete):
1591 More thoroughly imitate pcomplete. (Bug#13293)
1593 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1594 Return nil for empty path elements. (Bug#13296)
1596 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1598 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1599 order to improve efficiency (Based on Daniel Colascione's
1600 <dancol@dancol.org> patch). (Bug#13182)
1602 2013-01-02 Glenn Morris <rgm@gnu.org>
1604 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1606 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1608 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1609 neither DOCSTRING nor DECL was given. (Bug#13316)
1611 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1613 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1615 (tramp-do-copy-or-rename-file): Ignore errors when calling
1616 `set-file-extended-attributes'.
1618 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1619 Add handler for `file-acl'.
1620 (tramp-smb-handle-file-acl): New defun.
1622 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1624 * calc/README: Mention ISO 8601 week-numbering dates.
1626 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1628 * view.el (view-mode-enable): New argument run-view-mode-hook.
1629 Run view-mode-hook only when it's non-nil (Bug#13315).
1630 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1633 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1635 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1636 (No device connected, invalid device name). (Bug #13299)
1638 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1640 * window.el (window-resizable--p): Rename to window-resizable-p.
1641 (window-resize-no-error): New function.
1643 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1644 broken in fix from 2012-12-28.
1646 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * subr.el (special-form-p): Don't signal errors on undef aliases.
1650 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1652 * calc/calc-forms.el (math-parse-date): Try using
1653 `math-parse-iso-date' when it looks like it might be needed.
1654 Allow times of 24:00.
1655 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1658 2012-12-30 Glenn Morris <rgm@gnu.org>
1660 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1661 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1662 (rmail-summary-displayed, rmail-summary): Declare.
1663 (mairix-rmail-display): Just require rmail.
1665 2012-12-30 Chong Yidong <cyd@gnu.org>
1667 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1668 check for the tarball contents.
1670 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1672 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1673 tarfile content listings (Bug#13136).
1675 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1677 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1678 Insert the undecoded text of the message being forwarded. (Bug#9521)
1680 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1682 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1683 integers, if they are real numbers. (Bug#13282)
1685 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1686 Return `t' on success.
1688 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1689 Add handler for `set-file-selinux-context'.
1691 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1693 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1694 (tramp-sh-handle-set-file-acl): Return `t' on success.
1696 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1698 * files.el (backup-buffer-copy, basic-save-buffer-2):
1699 If set-file-extended-attributes fails, fall back on set-file-modes
1700 instead of signaling an error. (Bug#13298)
1701 (basic-save-buffer): Likewise.
1703 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1705 * progmodes/python.el: Support other commands triggering
1706 python-indent-line so indentation cycling continues to work.
1707 (python-indent-trigger-commands): New defcustom.
1708 (python-indent-line): Use it.
1710 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1712 * progmodes/python.el (python-shell-send-region): Add blank lines
1713 for non sent code so backtraces remain correct.
1715 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1717 * progmodes/python.el: Remove cl dependency.
1718 (python-syntax-count-quotes): Replace incf call.
1719 (python-fill-string): Replace setf call.
1721 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1723 * info.el (info-other-window): New arg, for consistency with info.
1725 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1727 * mail/rmail.el (rmail-maybe-display-summary):
1728 Rewrite (Bug#13066).
1730 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1732 * epg.el (epg--start): Modify process-environment locally.
1734 2012-12-28 Daiki Ueno <ueno@gnu.org>
1736 * epg.el: Support pinentry-curses.
1737 Suggested by Werner Koch in
1738 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1739 (epg-agent-file, epg-agent-mtime): New variable.
1740 (epg--start): Record the modified time of gpg-agent socket file,
1741 to restore Emacs frame after pinentry-curses termination.
1742 (epg-wait-for-completion): Restore Emacs frame here.
1744 2012-12-27 Juri Linkov <juri@jurta.org>
1746 * info.el (Info-file-completions): New variable.
1747 (Info-read-node-name-1): Complete node names in the Info file
1748 when a file name is given. Call `Info-build-node-completions'
1750 (Info-build-node-completions): Add new arg `file'. When it is
1751 non-nil, visit it in a temporary buffer and cache its completions in
1752 `Info-current-file-completions'. Move most of the function body to
1753 `Info-build-node-completions-1'.
1754 (Info-build-node-completions-1): New function with the body from
1755 `Info-build-node-completions'. (Bug#12456)
1757 2012-12-27 Juri Linkov <juri@jurta.org>
1759 * frame.el (frame-maximization-style): Remove user option.
1760 (cycle-frame-maximized): Remove function.
1761 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1762 (toggle-frame-fullscreen): New command bound to <f11> instead of
1763 `toggle-frame-maximized'.
1764 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1766 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1768 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1770 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1772 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1773 for `file-accessible-directory-p'. (Bug#13275)
1775 2012-12-27 Sam Steingold <sds@gnu.org>
1777 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1778 continuations, see <http://stackoverflow.com/questions/3582436>.
1780 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1782 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1783 "module" and "def" to have indentation before them.
1784 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1786 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1788 2012-12-27 Alan Mackenzie <acm@muc.de>
1790 Speed up fontification where there's large brace blocks.
1791 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1792 to a call of c-beginning-of-decl-1.
1794 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1796 * comint.el (comint-adjust-window-point): New function.
1797 (comint-postoutput-scroll-to-bottom):
1798 Call comint-adjust-window-point (Bug#13248).
1800 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1802 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1804 (auto-mode-alist): Associate .gemspec files with ruby-mode
1805 (https://bugs.ruby-lang.org/issues/5453).
1807 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1809 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1810 Suppress coloring, if possible (required for BusyBox based systems like
1812 (tramp-adb-handle-file-attributes)
1813 (tramp-adb-handle-insert-directory)
1814 (tramp-adb-handle-file-name-all-completions): Use it.
1815 (tramp-adb-get-toolbox): New defun. Check for remote shell
1816 implementation (BusyBox or Toolbox).
1818 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1820 * startup.el (initial-buffer-choice): Allow function as value
1822 (command-line-1): Handle case where initial-buffer-choice
1823 specifies a function.
1824 * server.el (server-execute): Handle case where
1825 initial-buffer-choice specifies a function.
1827 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1829 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1831 (smtpmail-try-auth-methods): Forget the user name/password if the
1832 login is unsuccessful (bug#12424).
1834 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1836 * notifications.el (notifications-notify): Protect body with
1837 `with-demoted-errors'.
1839 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1840 Check properties of remote device. Restart connection, if there is a
1843 2012-12-21 Chong Yidong <cyd@gnu.org>
1845 * sort.el (sort-subr): Doc fix (Bug#13056).
1847 2012-12-21 Bastien Guerry <bzg@gnu.org>
1849 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1851 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1853 * simple.el (process-file): Overwrite stderr file, if exists.
1855 2012-12-21 Daiki Ueno <ueno@gnu.org>
1857 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1858 (epg-error): Set `error-message' property.
1860 2012-12-21 Chong Yidong <cyd@gnu.org>
1862 * international/mule-cmds.el (read-char-by-name): Signal an error
1863 if the user does not supply a valid character (Bug#13177).
1865 * simple.el (transpose-subr-1): Preserve marker positions by
1866 changing the insertion sequence (Bug#13122).
1868 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1870 * simple.el (kill-region): Deactivate mark even for empty regions
1873 2012-12-21 Chong Yidong <cyd@gnu.org>
1875 * help-fns.el (describe-variable): Make sure we get the right
1876 buffer name (Bug#13105). Suggested by Kelly Dean.
1878 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1880 * comint.el (comint-redirect-previous-input-string): New variable.
1881 (comint-redirect-setup, comint-redirect-cleanup)
1882 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1883 (comint-redirect-preoutput-filter): Fix verbose message.
1885 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1887 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1888 is too long for Tramp. See discussion in
1889 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1891 * progmodes/compile.el (compilation-start): Remove line escape
1894 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1896 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1899 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1901 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1902 following non-comment text (bug#13207).
1903 (lm-header-multiline): Continuation lines need to be indented more than
1905 (lm-homepage): New function.
1906 (lm-with-file): Don't be confused if narrowing is in effect.
1908 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1911 very beginning of a hunk (e.g. killing the first line).
1913 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1915 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1916 and text properties from returned ACL string.
1917 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1918 for "setfacl" command.
1920 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1922 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1923 `tramp-cleanup-this-connection', when the process has died.
1926 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1928 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1930 2012-12-17 Kevin Ryde <user42@zip.com.au>
1932 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1934 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1936 Add support for preserving ACL entries of files.
1938 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1939 `set-file-acl' handlers.
1941 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1942 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1944 * net/tramp-compat.el (tramp-compat-copy-file):
1945 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1948 Add `file-acl' and `set-file-acl' handlers.
1949 (tramp-gvfs-handle-copy-file):
1950 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1951 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1954 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1955 Add `file-acl' and `set-file-acl' handlers.
1956 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1957 (tramp-sh-handle-set-file-acl): New defuns.
1958 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1959 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1961 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1962 Add `file-acl' and `set-file-acl' handlers.
1963 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1965 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1967 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1968 use pop-to-buffer with NORECORD argument t. As buffer name, use
1969 *Metahelp* with a leading space (Bug#13190).
1971 2012-12-16 Romain Francoise <romain@orebokech.com>
1973 * files.el (file-extended-attributes)
1974 (set-file-extended-attributes): New functions.
1975 (backup-buffer): Use them to handle both SELinux context and ACL
1977 (backup-buffer-copy): Work with an alist of extended attributes,
1978 rather than an SELinux context.
1979 (basic-save-buffer-2): Ditto.
1981 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1983 * battery.el (battery-bsd-apm): New function.
1985 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1987 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1988 standard date formats.
1990 2012-12-15 Juri Linkov <juri@jurta.org>
1992 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1993 `isearch-insert-char-by-name'.
1994 (with-isearch-suspended): New defmacro with body mostly from
1995 `isearch-edit-string' except the part that sets
1996 `isearch-new-string' and `isearch-new-message'.
1997 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1998 body that sets `isearch-new-string' and `isearch-new-message'.
1999 (isearch-insert-char-by-name): New command.
2000 * international/mule-cmds.el (read-char-by-name): Let-bind
2001 `enable-recursive-minibuffers' to t.
2002 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2004 2012-12-15 Juri Linkov <juri@jurta.org>
2006 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2009 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2011 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2012 the prompt. (Bug#13045)
2014 2012-12-14 Glenn Morris <rgm@gnu.org>
2016 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2017 Try to include filename in non-bytecomp warning. (Bug#13132)
2019 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2021 Fix permissions bugs with setgid directories etc. (Bug#13125)
2022 * files.el (backup-buffer): Don't rely on 9th output of
2023 file-attributes, as it's now a placeholder. Instead, use the new
2024 optional arg of file-ownership-preserved-p.
2025 (file-ownership-preserved-p): New optional arg GROUP.
2026 Fix mishandling of setuid directories that would cause this
2027 function to return t when it should have returned nil.
2028 Document what happens if the file does not exist, and when
2029 it's not known whether the ownership will be preserved.
2030 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2032 (tramp-get-local-gid): Use group-gid for integer, as that's
2033 faster and more reliable.
2035 2012-12-14 Julien Danjou <julien@danjou.info>
2037 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2038 Update keywords list, data type and PL/pgSQL.
2040 2012-12-14 Dave Abrahams <dave@boostpro.com>
2042 * vc/ediff-util.el (ediff-buffer-type): New function.
2043 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2044 rather than taking it as as argument.
2045 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2047 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2049 * json.el: Add pretty-print option (bug#12634).
2050 (json-encoding-separator, json-encoding-default-indentation)
2051 (json--encoding-current-indentation, json-encoding-pretty-print)
2052 (json-encoding-lisp-style-closings): New vars.
2053 (json--with-indentation): New macro.
2054 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2055 (json-encode-array): Use it to obey json-encoding-pretty-print.
2056 (json-pretty-print-buffer, json-pretty-print): New commands.
2058 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2060 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2061 Extract `ruby-syntax-propertize-expansions'.
2062 (ruby-syntax-propertize-expansions): Only change syntax on
2063 certain string delimiters, to punctuation. This way the common
2064 functions like forward-word and thing-at-point still work.
2065 (ruby-match-expression-expansion): Improve readability.
2066 (ruby-block-contains-point): New function.
2067 (ruby-add-log-current-method): Handle several edge cases.
2069 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2071 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2072 unload-feature finishes even when aborting an ongoing edebug session.
2073 Also, do not worry about edebug-mode, unload-feature takes care of it.
2075 2012-12-13 Andreas Schwab <schwab@suse.de>
2077 * net/tls.el (tls-program): Update customize type.
2079 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2081 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2082 (edebug-setup-hook, cl-read-load-hooks): Use it.
2083 (edebug-unload-function): New function. (Bug#13163)
2085 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2087 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2088 Otherwise, there could be errors in autoloading. (Bug#13151)
2090 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2092 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2095 2012-12-13 Alan Mackenzie <acm@muc.de>
2097 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2098 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2099 around `forward-comment' not recognizing ^M as whitespace.
2101 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2103 * progmodes/python.el (python-skeleton-class)
2104 (python-skeleton-def): Do not add space after defun name.
2106 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2109 (cl--symbol-function): Remove (now that funbound is like nil).
2111 2012-12-12 Glenn Morris <rgm@gnu.org>
2113 * button.el (button--area-button-p): Fix typo.
2115 2012-12-12 Sam Steingold <sds@gnu.org>
2117 * frame.el (frame-maximization-style): New user option.
2118 (toggle-frame-maximized): Toggle frame maximization according to
2119 `frame-maximization-style', bound to <f11>.
2120 (cycle-frame-maximized): Cycle between all maximization styles and
2121 non-maximized frame, bound to shift-<f11>.
2123 2012-12-12 David Cadé <codename68@gmail.com>
2125 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2127 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2129 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2130 (eieio-override-prin1): Don't quote kewords and booleans.
2131 (object-write) <eieio-default-superclass>: Don't put closing parens
2132 on new line, avoid needless empty lines, align values that are objects
2133 with the slot keyword (instead of beginning on the same line).
2134 (eieio-list-prin1): Align value with slot keyword; increase
2135 eieio-print-depth before printing members of the list.
2137 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2140 a display text-property.
2141 (report-emacs-bug-hook): Don't bother deleting it any more.
2143 * hilit-chg.el (highlight-save-buffer-state): Delete.
2144 Use with-silent-modifications instead.
2145 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2147 * button.el: Handle buttons in display text-properties.
2148 (button--area-button-p, button--area-button-string):
2149 Use (STRING . STRING-POS) representation instead of just STRING.
2151 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2153 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2154 subdirectory be skipped.
2156 2012-12-11 Glenn Morris <rgm@gnu.org>
2158 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2160 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2161 Treat preprocessor lines embedded in continuations like comments.
2162 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2164 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2166 * calc/calc.el (calc-standard-date-formats): Add more date
2168 * calc/calc-forms.el (math-parse-iso-date): New function.
2169 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2170 (math-parse-iso-date-validate): Add extra error checking.
2171 (calc-date-notation): Add ability to access new date formats.
2173 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2176 font-lock as well as when there's no text-property.
2178 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2180 * hi-lock.el: Refine the choice of default face.
2181 (hi-lock-keyword->face): New function. Use it wherever we used
2183 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2184 (hi-lock--last-face): Remove var.
2185 (hi-lock--unused-faces): New var to replace it.
2186 (hi-lock-read-face-name): Use/maintain it.
2187 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2188 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2189 if it has another face.
2191 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2193 * subr.el (w32notify-handle-event): New function.
2194 (inotify-handle-event): Doc fix.
2196 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2198 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2200 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2202 * simple.el (just-one-space): Doc fix.
2204 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2206 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2208 2012-12-10 Le Wang <l26wang@gmail.com>
2210 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2211 narrowed buffer (bug#12361).
2213 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2215 * vc/vc-hooks.el (vc-state): Doc fix.
2217 2012-12-10 Glenn Morris <rgm@gnu.org>
2219 * mail/rmail.el (rmail-maybe-display-summary):
2220 Preserve buffer, in case select-window changes it. (Bug#13066)
2222 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2224 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2225 cl-load-hook where they belong.
2227 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2231 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2233 Parallelize byte compilation on MS-Windows.
2234 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2235 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2236 (WINS_BASIC): Define as concatenation of the above.
2237 (compile): Subdivide into 4 separate and independent jobs that can
2239 (compile0-CMD, compile0-SH): New targets for compiling
2240 COMPILE_FIRST files, which are prerequisites for the rest of the
2242 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2243 New targets for parallel compilation with cmd.exe.
2244 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2245 compiling under a Unixy shell.
2247 2012-12-09 Chong Yidong <cyd@gnu.org>
2249 * simple.el (set-mark-default-inactive): Delete this
2250 accidentally-introduced option.
2251 (set-mark-command, exchange-point-and-mark): Remove calls.
2253 2012-12-09 Glenn Morris <rgm@gnu.org>
2255 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2256 Respect a defcustom's :set function, if appropriate. (Bug#109)
2257 (eval-defun): Doc fix.
2259 2012-12-08 Juri Linkov <juri@jurta.org>
2261 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2262 (Info-fontify-node, Info-bookmark-make-record): Remove the
2263 file extension from Info-current-file (Bug#13016).
2265 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2268 point, still provide some default.
2269 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2270 names, since we don't use it right now. Actually return the list.
2271 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2273 2012-12-07 Chong Yidong <cyd@gnu.org>
2275 * novice.el (disabled-command-function): Remove a spurious help
2276 xref (Bug#13043). Suggested by Kelly Dean.
2278 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2279 syntax is specified (Bug#13025).
2281 * info.el (Info-set-mode-line): Remove the file extension from
2282 Info-current-file if there is one (Bug#13016).
2284 2012-12-07 Glenn Morris <rgm@gnu.org>
2286 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2287 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2288 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2289 and rmail-mime-decoded. (Bug#9841)
2291 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2292 (batch-unrmail, unrmail): Doc fixes.
2293 (unrmail): Respect unrmail-mbox-format.
2294 * mail/rmail.el (rmail-mbox-format): New option.
2295 (rmail-show-message-1): Respect rmail-mbox-format.
2297 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2301 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2303 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2304 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2305 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2306 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2307 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2308 (cl-progv): Don't rely on dynamic scoping to find the body.
2309 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2310 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2311 (cl-declaim): Use backquotes.
2312 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2313 Use "cl--" prefix for the object's tag.
2315 * ses.el: Use advice-add/remove.
2316 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2317 (copy-region-as-kill, yank): Use advice-add.
2318 (ses-unload-function): Use advice-remove.
2320 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2322 * button.el: Make them work in header-lines (bug#12817).
2323 (button-map): Add bindings for header-line and mode-line use.
2324 (button-get, button-put, button-label): `button' may now be a string.
2325 (button-activate): Don't make it a defsubst.
2326 (button--area-button-p, button--area-button-string): New functions.
2327 (make-text-button): Fix the return value when `beg' was a string.
2328 (push-button): Handle the mode-line case.
2330 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2333 (sql-signum): Remove. Use `cl-signum' instead.
2334 (sql-read-passwd): Remove; use read-passwd instread.
2335 (sql-get-login-ext): Use read-string.
2336 (sql-get-login): Use dolist and pcase.
2337 (sql--completion-table): Rename from sql-try-completion.
2338 Use complete-with-action.
2339 (sql-mode): Don't change abbrev-all-caps globally.
2340 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2341 (sql-postgres-completion-object): Initialize vars in their `let'.
2342 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2343 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2344 (sql-comint-interbase): Use a single append, without setq.
2345 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2347 * hi-lock.el: Rework the default face and the serialize regexp code.
2348 (hi-lock--auto-select-face-defaults): Remove.
2349 (hi-lock-string-serialize-serial): Remove.
2350 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2352 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2354 (hi-lock-set-pattern): Adjust accordingly.
2355 (hi-lock--regexps-at-point): Simplify accordingly.
2356 (hi-lock--auto-select-face-defaults): Remove.
2357 (hi-lock--last-face): New var to replace it.
2358 (hi-lock-read-face-name): Rewrite (bug#11095).
2359 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2361 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2363 * net/tramp.el (tramp-replace-environment-variables):
2364 Hide compiler warning.
2365 (tramp-file-name-for-operation): Remove `executable-find',
2366 `start-process', `call-process' and `call-process-region'.
2368 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2370 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2373 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2375 2012-12-06 Chong Yidong <cyd@gnu.org>
2377 * ffap.el (ffap-replace-file-component): Fix typo.
2379 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2382 fix open-paren-like token test (bug#12785).
2384 2012-12-06 Glenn Morris <rgm@gnu.org>
2386 * mail/rmailsum.el (rmail-new-summary): Tweak for
2387 rmail-maybe-display-summary changing buffer. (Bug#13066)
2389 2012-12-06 Juri Linkov <juri@jurta.org>
2391 * info.el (Info-fontify-node): Don't hide the last newline.
2394 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2396 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2397 so as to enable message-read-from-minibuffer to expand mail aliases.
2399 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2402 the `intangible' property.
2403 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2405 2012-12-05 Deniz Dogan <deniz@dogan.se>
2407 * net/rcirc.el (rcirc-urls): Update documentation.
2408 (rcirc-condition-filter): New function.
2409 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2410 and exclude consecutive duplicate URLs (Bug#6082).
2412 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2414 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2415 Check return code of copy command.
2417 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2418 Use group `tramp'. Add version.
2420 2012-12-05 Chong Yidong <cyd@gnu.org>
2422 * ffap.el (ffap-url-regexp): Don't require matching at front of
2424 (ffap-url-p): If only a substring matches, return that.
2425 (ffap-url-at-point): Use the return value of ffap-url-p.
2426 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2427 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2428 (ffap-guess-file-name-at-point): Likewise.
2429 (ffap-replace-file-component): Fix typo.
2431 * info.el (info-display-manual): Add existing Info buffers, whose
2432 files may not be in Info-directory-list, to the completion.
2433 (info--manual-names): New helper function.
2435 2012-12-05 Glenn Morris <rgm@gnu.org>
2437 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2438 New functions, for detecting and resolving conflicts. (Bug#10709)
2440 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2442 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2443 (hi-lock-auto-select-face-defaults): New buffer local variable.
2444 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2445 (hi-lock-unface-buffer): Prompt user with useful defaults.
2446 With prefix arg, unhighlight all hi-lock patterns in buffer.
2448 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2452 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2454 * Makefile.in (TRAMP_SRC):
2455 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2457 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2459 * net/tramp-adb.el: New package.
2461 2012-12-04 Chong Yidong <cyd@gnu.org>
2463 * terminal.el: Move to obsolete/.
2465 * longlines.el: Move to obsolete/.
2467 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2468 Remove code referring to longlines mode.
2470 2012-12-03 Juri Linkov <juri@jurta.org>
2472 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2474 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2476 * textmodes/ispell.el (ispell-init-process)
2477 (ispell-start-process, ispell-internal-change-dictionary):
2478 Make sure personal dictionary name is expanded after initial
2479 `default-directory' value. Use expanded strings for
2480 keep/restart checks and for value (Bug#13019).
2482 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2484 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2486 2012-12-03 Leo Liu <sdl.web@gmail.com>
2488 * files.el (dir-locals-read-from-file): Check file non-empty
2489 before reading. (Bug#13038)
2491 2012-12-03 Glenn Morris <rgm@gnu.org>
2493 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2494 Remove any version extension before checking filename. (Bug#13006)
2495 (jka-compr-compression-info-list): Belated :version bump.
2497 2012-12-03 Chong Yidong <cyd@gnu.org>
2499 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2501 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2502 (buffer-menu): Doc fix (Bug#12294).
2504 2012-12-03 Roland Winkler <winkler@gnu.org>
2506 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2507 of diary-show-all-entries in the diary buffer (Bug#12994).
2509 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2511 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2512 "<STDIN>". This is binary safe.
2514 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2516 * calc/calc-forms.el (math-absolute-from-iso-dt)
2517 (math-date-to-iso-dt, math-parse-iso-date-validate)
2518 (math-iso-dt-to-date): New functions.
2519 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2520 (math-fd-isoweekday): New variables.
2521 (calc-date-notation, math-parse-standard-date, math-format-date)
2522 (math-format-date-part): Add support for more formatting codes.
2524 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2526 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2527 current buffer's file name when called interactively (Bug#12488).
2529 2012-12-02 Juri Linkov <juri@jurta.org>
2531 * info.el (info-display-manual): Don't clobber an existing Info
2532 buffer (Bug#10770). Add completion (Bug#10771).
2534 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2536 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2537 before using it for comparison (Bug#5297).
2539 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2541 * textmodes/css-mode.el (css-current-defun-name): New function.
2544 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2545 (html-mode): Use it.
2547 2012-12-01 Chong Yidong <cyd@gnu.org>
2549 Modularize add-log-current-defun (Bug#2224).
2550 Suggested by Jari Aalto.
2552 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2553 (add-log-current-defun): Move mode-specific code to other files.
2554 (add-log-lisp-like-modes, add-log-c-like-modes)
2555 (add-log-tex-like-modes): Variables deleted.
2557 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2558 (lisp-mode-variables): Use it.
2560 * progmodes/cc-mode.el (c-common-init):
2561 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2562 add-log-current-defun-function.
2564 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2567 * progmodes/perl-mode.el (perl-current-defun-name): New.
2568 (perl-mode): Use it.
2570 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2571 Use lisp-current-defun-name.
2573 * textmodes/tex-mode.el (tex-current-defun-name): New.
2574 (tex-common-initialization): Use it.
2576 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2577 (texinfo-mode): Use it.
2579 2012-12-01 Chong Yidong <cyd@gnu.org>
2581 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2582 * progmodes/autoconf.el (autoconf-mode):
2583 * progmodes/js.el (js-mode):
2584 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2585 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2586 * progmodes/perl-mode.el (perl-mode):
2587 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2588 * textmodes/css-mode.el (css-mode):
2589 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2590 (sgml-tags-invisible, sgml-guess-indent):
2591 * textmodes/tex-mode.el (tex-common-initialization)
2592 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2593 (doctex-mode, plain-tex-mode, latex-mode):
2594 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2596 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2598 * vc/vc-hg.el (vc-hg-next-revision):
2599 Ensure use of default "tip" output format. (Bug#6968)
2601 2012-12-01 Kim F. Storm <storm@cua.dk>
2603 * startup.el (fancy-startup-tail): Add a clickable link
2606 2012-12-01 Chong Yidong <cyd@gnu.org>
2608 * startup.el (fancy-startup-tail): Improve the message about
2609 auto-save files (Bug#2176).
2611 * files.el (recover-session): Improve the descriptive message, and
2612 use substitute-command-keys.
2614 2012-12-01 Glenn Morris <rgm@gnu.org>
2616 * ido.el (ido-file-internal):
2617 Handle other-window, other-frame for dired. (Bug#13036)
2619 2012-11-30 Glenn Morris <rgm@gnu.org>
2621 * icomplete.el (icomplete-separator): Fix :version.
2623 2012-11-30 Chong Yidong <cyd@gnu.org>
2625 * shell.el (shell): For C-u M-x shell, use an inactive shell
2626 buffer as the default (Bug#1975).
2627 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2628 (shell-mode): Use them to reapply ansi colorization if Shell mode
2631 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2633 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2635 2012-11-30 Samuel Bronson <naesten@gmail.com>
2637 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2638 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2640 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2642 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2643 by move-to-column (Bug#3234).
2645 2012-11-30 Chong Yidong <cyd@gnu.org>
2647 * longlines.el (longlines-wrap-line, longlines-encode-region):
2648 Preserve text properties (Bug#1425).
2650 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2652 * vc/vc.el (vc-register): Allow registering a file which is
2653 already registered with a different backend (Bug#10589).
2655 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2656 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * icomplete.el: Change separator; add ido-style commands.
2659 (icomplete-show-key-bindings): Remove custom var.
2660 (icomplete-get-keys): Remove function.
2661 (icomplete-forward-completions, icomplete-backward-completions):
2663 (icomplete-minibuffer-map): New var.
2664 (icomplete-minibuffer-setup): Use it.
2665 (icomplete-exhibit): Don't delay if the list of completions is known.
2666 (icomplete-separator): New custom.
2667 (icomplete-completions): Use it.
2668 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2669 (minibuffer-force-complete-and-exit): New command.
2670 (minibuffer--complete-and-exit): New function extracted from
2671 minibuffer-complete-and-exit.
2672 (minibuffer-complete-and-exit): Use it.
2674 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2675 error message when the file doesn't exist (bug#12974).
2677 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2679 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2681 2012-11-29 Glenn Morris <rgm@gnu.org>
2683 * files.el (hack-dir-local-variables): Warn if try to set
2684 coding via dir-locals, since it doesn't work. (Bug#7169)
2686 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2687 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2688 Set buffer-local value of desktop-save-buffer.
2689 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2691 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2692 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2694 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2695 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2697 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2700 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2702 * calc/calc-forms.el (calc-date-notation): Fix regexp
2703 used to find time codes. Fix symbol for seconds.
2705 2012-11-27 Glenn Morris <rgm@gnu.org>
2707 * emacs-lisp/derived.el (derived-mode-make-docstring):
2708 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2710 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2713 lexically scoped variables (bug#13005).
2715 2012-11-27 Glenn Morris <rgm@gnu.org>
2717 * vc/vc-hooks.el (vc-mistrust-permissions):
2718 Default to t, to avoid data-loss. (Bug#11490)
2720 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2722 * progmodes/python.el (python-indent-guess-indent-offset):
2723 If indentation is guessed make python-indent-offset buffer-local.
2725 Fix Imenu regression.
2726 * progmodes/python.el (python-nav-beginning-of-defun):
2727 Fix forward movement when statement(s) separates point from defun.
2728 (python-imenu-prev-index-position): New function.
2730 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2732 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2734 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2735 Don't set buffer-file-type. Return nil. (Bug#12989)
2737 2012-11-27 Glenn Morris <rgm@gnu.org>
2739 * hippie-exp.el (hippie-expand-try-functions-list):
2740 Re-autoload it. (Bug#12982)
2742 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2744 * descr-text.el (describe-char-padded-string):
2745 Call internal-char-font only on GUI frames. (Bug#11964)
2747 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2749 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2750 and obsoletion message.
2752 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2755 the constructs to keep outside of the `cl-block' (bug#12977).
2757 2012-11-27 Chong Yidong <cyd@gnu.org>
2759 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2760 keep reading until we get the up-event anyway, in order to process
2761 the up-event for mouse-1-click-follows-link (Bug#12971).
2763 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2766 base function is not yet defined (bug#12965).
2767 (ad-activate-advised-definition): Use ad-compile-function.
2768 (ad-activate): Use cond.
2770 2012-11-25 Leo Liu <sdl.web@gmail.com>
2772 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2775 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2777 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2778 reftex-section-info-function in order to be compatible with
2779 Texinfo integration.
2781 * textmodes/reftex.el (reftex-section-pre-regexp)
2782 (reftex-section-post-regexp, reftex-section-info-function):
2784 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2785 reftex-section-post-regexp, and reftex-section-info-function in order
2786 to be compatible with Texinfo integration.
2788 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2789 use reftex-section-pre-regexp variable in order to be compatible with
2790 Texinfo integration.
2792 2012-11-25 Chong Yidong <cyd@gnu.org>
2794 * faces.el: Make face-spec-set more analogous to setq.
2795 (face-spec-set): Change the third arg to specify whether this
2796 function is being called via defface, customize, or a third party.
2797 Set the appropriate symbol properties. Clear the override spec if
2798 setting via Custom. Initialize face if necessary. (Bug#4988)
2799 (face-spec-recalc): Allow theme faces to completely replace the
2800 defface spec, in the same way as custom faces (Bug#8454).
2802 * cus-face.el (custom-declare-face): Move face initialization to
2804 (custom-theme-set-faces): Don't initialize the face name here, as
2805 that is now done in face-spec-set.
2807 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2808 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2809 Simplify by using the new arg to face-spec-set.
2811 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2812 reset face-override-spec too, and use custom-declare-face.
2814 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2816 * term/ns-win.el (ns-initialize-window-system): Move creation of
2817 fontsets here (Bug#11964).
2819 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2821 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2824 2012-11-24 Chong Yidong <cyd@gnu.org>
2826 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2829 * custom.el (custom-theme-set-variables): Use a topological sort
2830 for ordering by custom dependencies (Bug#12952).
2831 (custom--sort-vars, custom--sort-vars-1): New functions.
2833 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2835 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2836 lexical-binding (bug#12938).
2838 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2840 * image-mode.el (image-transform-check-size): Use assertions only
2841 for images of type imagemagick.
2843 Otherwise no error, image-transform-fit-to-{width,height} is
2844 silently ignored, as before. Doc fix.
2846 2012-11-24 Chong Yidong <cyd@gnu.org>
2848 * faces.el (color-defined-p): Doc fix (Bug#12853).
2850 2012-11-24 Juri Linkov <juri@jurta.org>
2852 * dired.el (dired-mark): Add optional arg `interactive'.
2853 Check for `use-region-p' if `interactive' is non-nil.
2854 (dired-unmark, dired-flag-file-deletion): Add optional arg
2855 `interactive'. Call `dired-mark' with the arg `interactive'.
2858 * wdired.el: Revert 2012-10-17 change partly and replace it with
2859 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2860 (wdired-finish-edit): Add marks for new file names to
2861 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2862 after `revert-buffer'.
2863 (wdired-do-renames): Remove calls to `dired-remove-file',
2864 `dired-add-file', `dired-add-entry'. (Bug#11795)
2866 2012-11-24 Alan Mackenzie <acm@muc.de>
2868 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2870 Fix bugs in the state cache. Enhance a debugging mechanism.
2871 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2872 "brace at column zero" strategy for C++.
2873 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2874 (c-parse-state-point): New variable.
2875 (c-record-parse-state-state): Record old parse state with
2876 `copy-tree'. Record previous value of point.
2877 (c-debug-parse-state-double-cons): New debugging function.
2878 (c-debug-parse-state): Call the above new function.
2879 (c-toggle-parse-state-debug): Output a confirmatory message.
2881 * progmodes/cc-mode.el (c-before-change, c-after-change):
2882 Call c-invalidate-state-cache from `c-before-change' instead of
2885 2012-11-23 Chong Yidong <cyd@gnu.org>
2887 * find-cmd.el (find-constituents): Add executable, ipath,
2888 readable, samefile, writable, daystart, regextype (Bug#12856).
2890 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2894 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2896 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2897 definition. This fixes a bootstrap failure.
2898 (calc-gregorian-switch): In menu, put dates before regions.
2899 This is easier to follow, lines up better in the menu, and lets us
2900 coalesce regions that switch at the same time. Give country
2901 names, not "Vatican", as that's better for non-expert users.
2902 Use names that are stable between the date of switch and now, e.g.,
2903 Bohemia and Moravia (which existed then and now) and not
2904 Czechoslovakia (which didn't exist then and doesn't exist now).
2905 What is now the U.S. mostly did not switch at the same time as
2906 Britain, so omit the U.S. Correct spelling of "Britain".
2907 Catholic Switzerland was too much of a mess, so omit it.
2909 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2911 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2912 after the variable is changed.
2914 2012-11-21 Daniel Colascione <dancol@dancol.org>
2916 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2917 in SQL declarations for font-lock.
2918 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2920 2012-11-21 Glenn Morris <rgm@gnu.org>
2922 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2923 (face-italic-p): Add optional argument "inherit".
2925 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2926 Remove -p suffix from names, for consistency with other set-face-*.
2927 (set-face-inverse-video): Fix interactive spec.
2928 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2929 * textmodes/table.el (table--update-cell-face):
2930 Use set-face-inverse-video rather than now obsolete alias.
2932 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2934 * simple.el (line-move): Don't call line-move-partial if
2935 scroll-conservatively is in effect. (Bug#12927)
2937 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2940 Fallback on completion-at-point rather than
2941 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2942 (eshell-cmpl-initialize): Setup completion-at-point.
2944 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2946 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2948 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2950 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2951 are remote, check out-of-band property for both.
2953 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2958 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2960 More minor time fixes.
2961 * calendar/time-date.el: Commentary fix.
2962 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2963 too much other code depends on (0 0) time stamps.
2964 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2965 Add a couple of FIXME comments.
2967 Minor cleanup for times as lists of four integers.
2968 * files.el (dir-locals-directory-cache):
2969 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2971 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2972 * ps-bdf.el (bdf-file-newer-than-time):
2973 Process four-integers time stamps, not two. Doc fixes.
2975 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * uniquify.el (uniquify-managed): Use defvar-local.
2978 (rename-buffer, create-file-buffer): Advise with advice-add.
2979 (uniquify-unload-function): Unadvise accordingly.
2981 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2982 (trace-buffer): Don't purecopy.
2983 (trace-entry-message, trace-exit-message): Add `context' arg.
2984 (trace--timer): New var.
2985 (trace-make-advice): Adjust for use in nadvice.
2986 Add `context' argument. Delay `display-buffer' via a timer.
2987 (trace-function-internal): Use advice-add.
2988 (trace--read-args): New function.
2989 (trace-function-foreground, trace-function-background): Use it.
2990 (trace-function): Rename to trace-function-foreground and redefine as
2991 an alias to that new name.
2992 (untrace-function, untrace-all): Adjust to the use of nadvice.
2994 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2996 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2998 * subr.el (called-interactively-p-functions): New var.
2999 (internal--called-interactively-p--get-frame): New macro.
3000 (called-interactively-p, interactive-p): Rewrite in Lisp.
3001 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3002 (called-interactively-p-functions): Use it.
3003 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3004 (called-interactively-p-functions): Use it.
3005 * allout.el (allout-called-interactively-p): Don't assume
3006 called-interactively-p is a subr.
3008 2012-11-20 Glenn Morris <rgm@gnu.org>
3010 * profiler.el (profiler-report-mode-map): Add a menu.
3011 No need to bind `q' because we derive from special-mode.
3012 (profiler-report-find-entry): Handle calls from the menu-bar.
3014 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * emacs-lisp/byte-run.el (defun-declarations-alist):
3017 Allow a compiler-macro to be a lambda expression.
3019 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3021 (python-syntax-context): Add compiler-macro.
3022 (python-font-lock-keywords): Simplify with De Morgan.
3024 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3026 * files.el (load-file): Require match in minibuffer selection, as was
3027 the case in Emacs-20 before we changed the spec to allow .elc files
3030 * json.el: Don't require cl since we don't use it.
3031 * color.el: Don't require cl.
3032 (color-complement): `caddr' -> `nth 2'.
3034 * calendar/time-date.el (time-to-seconds): De-obsolete.
3036 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3038 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3040 (math-date-to-julian-dt): Adjust the initial approximation for the
3041 year to deal with the new definition of the DATE.
3043 2012-11-19 Daniel Colascione <dancol@dancol.org>
3045 * term/w32-win.el (cygwin-convert-path-from-windows):
3046 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3048 2012-11-18 Chong Yidong <cyd@gnu.org>
3050 * filecache.el (file-cache--read-list): New function.
3051 (file-cache-add-directory-list, file-cache-add-file-list)
3052 (file-cache-delete-file-list, file-cache-delete-directory-list):
3053 Use it to read a list of files or directories (Bug#12846).
3054 (file-cache-add-file, file-cache-add-directory)
3055 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3056 (file-cache-delete-directory): Print an message.
3058 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3060 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3061 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3063 2012-11-18 Glenn Morris <rgm@gnu.org>
3065 * image.el (insert-image, insert-sliced-image): Doc fix.
3067 2012-11-18 Chong Yidong <cyd@gnu.org>
3069 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3072 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3074 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3075 response when the target file is in a subdirectory (Bug#12757).
3077 2012-11-18 Chong Yidong <cyd@gnu.org>
3079 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3081 2012-11-18 Glenn Morris <rgm@gnu.org>
3083 * emacs-lisp/cl-lib.el (face-underline-p):
3084 Use set-face-underline rather than the alias set-face-underline-p.
3086 * window.el (with-temp-buffer-window): Doc fix.
3087 * subr.el (with-output-to-temp-buffer):
3088 Add doc xref to with-temp-buffer-window.
3090 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3092 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3093 * calc/calc.el (math-format-date-cache): Declare.
3095 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3097 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3098 It also uses January 1, 1 AD as its day number 1.
3099 * calc/calc-forms.el (math-julian-date-beginning)
3100 (math-julian-date-beginning-int): Implement this.
3102 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3104 * descr-text.el (quail-find-key):
3105 * dired.el (desktop-file-name):
3106 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3107 * generic-x.el (comint-mode, comint-exec):
3108 * image-dired.el (widget-forward):
3109 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3110 (speedbar-change-expand-button-char)
3111 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3112 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3113 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3114 (widget-field-action, widget-value-set):
3115 * speedbar.el (imenu--make-index-alist):
3116 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3117 (ring-length, ring-insert):
3118 * vcursor.el (compare-windows-skip-whitespace):
3119 * woman.el (dired-get-filename):
3122 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3124 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3126 * calc/calc.el (calc-gregorian-switch): New variable.
3128 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3129 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3130 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3131 (math-leap-year-p): Add option to distinguish between Julian
3132 and Gregorian calendars.
3133 (math-day-number): Use `math-day-in-year' to do the computations.
3134 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3135 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3136 to do the computations.
3137 (math-date-to-dt): Use `math-date-to-julian-dt' and
3138 `math-date-to-gregorian-dt' to do the computations.
3139 (calcFunc-weekday, math-format-date-part): Use the new version of
3140 the DATE to determine the weekday.
3141 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3144 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3146 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3147 Cygwin; otherwise use 'file:'. (Bug#12914)
3148 (cygwin-convert-path-from-windows): Declare, to avoid
3149 byte-compiler warnings.
3151 2012-11-17 Andreas Politz <politza@fh-trier.de>
3153 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3154 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3155 prefix and negative numeric prefix args (Bug#12795).
3157 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3159 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3160 Don't signal an error with a score that is too low to add to the
3161 list of top scores. (Bug#12779)
3163 2012-11-17 Chong Yidong <cyd@gnu.org>
3165 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3167 * filecache.el (file-cache-add-file): Handle relative file name in
3168 the argument (Bug#12694).
3170 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3172 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3174 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3178 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3180 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3182 * window.el (enlarge-window, shrink-window): Don't mention return
3183 value in doc-string (Bug#12896).
3184 (window--display-buffer): Don't resize frames - it won't work
3185 with all window managers and defeat pop-up-frame-alist.
3186 (display-buffer-alist): In doc-string explain that CONDITION can
3187 be a function and which arguments are passed to it (Bug#12854).
3188 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3189 expressions (Bug#12854).
3190 (display-buffer): Pass ACTION argument to
3191 display-buffer-assq-regexp.
3193 2012-11-16 Glenn Morris <rgm@gnu.org>
3195 * window.el (fit-frame-to-buffer-bottom-margin)
3196 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3198 * faces.el (face-underline-p): Use face-attribute-specified-or.
3200 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3202 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3204 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3208 2012-11-16 Glenn Morris <rgm@gnu.org>
3210 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3211 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3213 * faces.el (face-underline-p): Doc fix. Handle :underline being
3214 things other than `t' (a string, a list).
3215 (face-inverse-video-p): Doc fix.
3216 (set-face-underline): Rename it back from set-face-underline-p.
3217 Doc fix. Allow interactive input of values other than t.
3218 (read-face-attribute): Apply formatting to :underline,
3219 since like :box and :stipple it can take list values.
3221 * term.el (ansi-term): Don't let C-x escape-char binding
3222 clobber the more standard C-c binding. (Bug#12842)
3224 * subr.el (set-temporary-overlay-map): Doc fix.
3226 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3228 * window.el (record-window-buffer)
3229 (display-buffer-record-window): When copying the markers to
3230 window-point preserve window-point-insertion-type. (Bug#12588)
3232 2012-11-16 Glenn Morris <rgm@gnu.org>
3234 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3235 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3236 Use new names for hooks rather than obsolete aliases.
3238 2012-11-15 Daniel Colascione <dancol@dancol.org>
3240 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3241 prefix instead of "file:" so that when FILE-NAME begins with "//",
3242 as it does when the target file is on a network share, url-handler
3245 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3247 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3248 a preactivated advice from an old advice.el; they're not compatible!
3250 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3252 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3253 Fix string-spec case.
3255 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3257 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3260 (advice--buffer-local-function-sample): New var.
3261 (advice--set-buffer-local, advice--buffer-local): New functions.
3262 (add-function, remove-function): Use them.
3264 2012-11-15 Drew Adams <drew.adams@oracle.com>
3266 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3268 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3270 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3271 potential binding of print-gensym to t, and prettify (back)quotes in
3272 case they appear in args's default values (bug#12884).
3274 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3277 (advice-eval-interactive-spec): New function.
3278 (advice--make-interactive-form): Support around advice (bug#12844).
3280 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3282 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3283 more strict. Add docstring.
3284 (ruby-expression-expansion-re): Extract from
3285 `ruby-match-expression-expansion'.
3286 (ruby-syntax-propertize-function): After everything else, search
3287 for expansions in string literals, mark their insides as
3288 whitespace syntax and save match data for font-lock.
3289 (ruby-font-lock-keywords): Use the 2nd group from expression
3291 (ruby-match-expression-expansion): Use the match data saved to the
3292 text property in ruby-syntax-propertize-function.
3294 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3299 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3301 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3302 start/end keyword a bit harder. Works with different values of N.
3304 (ruby-end-of-block): Update accordingly.
3306 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * woman.el (woman-file-name): Don't mess with unread-command-events
3311 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3312 Remove out of date self-require hack.
3313 (ad-do-advised-functions): Use simple `dolist'.
3314 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3315 (ad-advice-definition): Redefine as functions.
3316 (ad-advice-classes): Move before first use.
3317 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3318 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3319 (ad--defalias-fset): Remove functions.
3320 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3321 (ad-get-orig-definition): Rewrite.
3322 (ad-make-advised-definition-docstring): Change base docstring.
3323 (ad-real-orig-definition): Rewrite.
3324 (ad-map-arglists): Change name of called function.
3325 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3326 (ad-make-advised-definition): Simplify.
3327 (ad-assemble-advised-definition): Tweak for new calling context.
3328 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3329 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3330 function and call ad-activate if needed.
3331 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3332 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3333 (ad-compile-function): Compile ad-Advice-*.
3334 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3335 (ad-start-advice, ad-stop-advice): Remove.
3337 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3339 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3340 period before class method names, not after. Remove handling of
3341 one impossible case. Add comments.
3343 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * emacs-lisp/advice.el: Remove support for freezing.
3346 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3347 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3348 Remove support for `freeze'.
3350 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3351 override the default.
3352 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3354 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3357 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3359 (advice--strip-macro): New function.
3360 (advice--defalias-fset): Use them to handle macros.
3361 (advice-add): Use them.
3362 (advice-member-p): Correctly handle macros.
3364 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3366 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3367 Never font-lock the beginning of singleton class as heredoc.
3369 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3373 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3375 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3376 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3377 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3379 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3381 Fix end-of-defun misbehavior.
3382 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3383 python-beginning-of-defun-function. Handle nested defuns
3385 (python-nav-end-of-defun): Rename from
3386 python-end-of-defun-function. Ensure forward movement.
3387 (python-info-current-defun): Reimplement to work as intended
3388 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3389 parent defuns as soon as possible.
3391 2012-11-13 Glenn Morris <rgm@gnu.org>
3393 * progmodes/flymake.el (flymake-error-bitmap)
3394 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3395 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3397 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3399 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3400 backward, always stop at indentation. Reverts the change from
3401 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3403 2012-11-13 Glenn Morris <rgm@gnu.org>
3405 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3406 Add ibuffer-filter-by-derived-mode.
3408 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3409 the same name shadowing each other.
3411 * window.el (with-temp-buffer-window): Doc tweak.
3413 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3415 * help.el (temp-buffer-max-height):
3416 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3417 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3419 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * emacs-lisp/nadvice.el: New package.
3422 * subr.el (special-form-p): New function.
3423 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3424 (elp-all-instrumented-list): Remove var.
3425 (elp-not-profilable): Remove elp-wrapper.
3426 (elp-profilable-p): Use autoloadp and special-form-p.
3427 (elp--advice-name): New const.
3428 (elp-instrument-function): Use advice-add.
3429 (elp--instrumented-p): New predicate.
3430 (elp-restore-function): Use advice-remove.
3431 (elp-restore-all, elp-reset-all): Use mapatoms.
3432 (elp-set-master): Use elp--instrumented-p.
3433 (elp--make-wrapper): Rename from elp-wrapper, return a function
3434 suitable for advice-add. Use cl-inf.
3435 (elp-results): Use mapatoms+elp--instrumented-p.
3436 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3437 (debug-function-list): Remove var.
3438 (debug): Rename arg, and then let-bind it explicitly inside.
3439 (debugger-setup-buffer): Rename arg.
3440 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3441 (debugger-frame-number): Adjust to new debug-on-entry setup.
3442 (debug--implement-debug-on-entry): Rename from
3443 implement-debug-on-entry, add argument.
3444 (debugger-special-form-p): Remove, use special-form-p instead.
3445 (debug-on-entry): Use advice-add.
3446 (debug--function-list): New function.
3447 (cancel-debug-on-entry): Use it, along with advice-remove.
3448 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3449 (debugger-list-functions): Use debug--function-list instead of
3450 debug-function-list.
3451 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3452 (ad-special-form-p): Remove, use special-form-p instead.
3453 (ad-set-advice-info): Use add-function and remove-function.
3454 (ad--defalias-fset): Adjust accordingly.
3456 2012-11-10 Glenn Morris <rgm@gnu.org>
3458 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3459 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3460 (report-emacs-bug-create-existing-bugs-buffer)
3461 (report-emacs-bug-parse-query-results)
3462 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3464 * term.el (term-default-fg-color, term-default-bg-color):
3465 Make obsolete, rather than just saying "deprecated" in the doc.
3467 * term.el (term): Rename from `term-face'.
3468 (term-current-face, ansi-term-color-vector)
3469 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3472 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3474 * server.el (server-create-window-system-frame): Handle Nextstep
3475 specially (Bug#12780).
3477 2012-11-10 Glenn Morris <rgm@gnu.org>
3479 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3480 Unautoload, and make obsolete. (Bug#7449)
3482 2012-11-10 Chong Yidong <cyd@gnu.org>
3484 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3485 rename from diff-remove-trailing-whitespace (Bug#12831).
3487 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3490 miscompilation of trace.el.
3492 2012-11-10 Glenn Morris <rgm@gnu.org>
3494 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3496 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3501 2012-11-10 Chong Yidong <cyd@gnu.org>
3503 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3504 a defcustom with an appropriate :set function.
3505 (minibuffer-default--in-prompt-regexps): New function.
3507 2012-11-10 Glenn Morris <rgm@gnu.org>
3509 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3510 (define-modify-macro): Doc fixes.
3512 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3513 (gv-define-simple-setter): Update doc of `fix-return'.
3515 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3518 twice when `fix-return' is set (bug#12813).
3520 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3521 gv-define-simple-setter (bug#12812).
3523 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3526 2012-11-10 Glenn Morris <rgm@gnu.org>
3528 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3530 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3531 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3532 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3533 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3535 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3537 2012-11-10 Leo Liu <sdl.web@gmail.com>
3539 * ido.el (ido-set-matches-1): Improve flex matching performance by
3540 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3542 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3545 (ad--defalias-fset): New function.
3546 (ad-safe-fset): Remove.
3547 (ad-make-freeze-definition): Use cl-letf*.
3549 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * subr.el (dolist): Don't bind VAR in RESULT.
3553 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3554 (fset, documentation): Don't save real def since we don't advise.
3555 (ad-do-advised-functions): Remove problematic `result-form'.
3556 (ad-safe-fset): `ad-real-fset' => `fset'.
3557 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3558 uses CL's dolist internally.
3559 (ad-arglist): Remove unused arg `name'.
3560 (ad-docstring, ad-make-advised-docstring):
3561 `ad-real-documentation' => `documentation'.
3562 (warning-suppress-types): Declare.
3563 (ad-set-arguments): Simple CSE.
3564 (ad-recover-normality): Sanity check.
3566 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3567 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3569 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3571 * ses.el: symbol to coordinate mapping is made by symbol property
3572 `ses-cell'. This means that the same mapping is done for all SES
3573 sheets. That is good enough for cells with standard A1 names, but
3574 not for named cell. So a hash map is added for the latter.
3575 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3576 (ses-sym-rowcol): Use hashmap for named cell.
3577 (ses-is-cell-sym-p): New defun.
3578 (ses-decode-cell-symbol): New defun.
3579 (ses-create-cell-variable): Add cell to hashmap when name is not
3581 (ses-rename-cell): Check that cell new name is not already in
3582 spreadsheet with the use of ses-is-cell-sym-p
3583 (ses-rename-cell): Use hash map for named cells, but accept also
3584 renaming back to A1-like.
3586 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * emacs-lisp/advice.el: Use new dynamic docstrings.
3589 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3590 Use dynamic-docstring-function instead of ad-advice-info.
3591 (ad--make-advised-docstring): New function extracted from
3592 ad-make-advised-docstring.
3593 (ad-make-advised-docstring): Use it.
3594 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3596 (sql-help): Use it with dynamic-docstring-function.
3598 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3600 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * files.el (hack-one-local-variable--obsolete): New function.
3603 (hack-one-local-variable): Use it for obsolete settings.
3605 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3608 * progmodes/js.el (js--filling-paragraph): New var.
3609 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3610 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3613 2012-11-08 Julien Danjou <julien@danjou.info>
3615 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3616 `auto-mode-alist' (Bug#12835).
3618 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3621 (perl--prettify-symbols-alist): New const.
3622 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3624 (perl-font-lock-keywords-2): Use them.
3625 (perl-electric-noindent-p): New function.
3626 (perl-mode): Use it to set up electric-indent-mode.
3627 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3628 (perl-mode-map): Remove bindings for them.
3629 (perl-imenu-generic-expression, perl-outline-level):
3630 Match functions&packages in column>0.
3632 * env.el (env--substitute-vars-regexp): New const.
3633 (substitute-env-vars): Use it. Add `only-defined' arg.
3634 * net/tramp.el (tramp-replace-environment-variables): Use it.
3636 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3637 Byte-compile *before* eval in eval-and-compile.
3638 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3639 (byte-compile-file-form-autoload): Don't hide actual definition.
3640 (byte-compile-maybe-guarded): Accept `functionp' as well.
3642 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3644 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3646 * notifications.el (notifications-get-server-information-method):
3648 (notifications-get-capabilities): Fix docstring.
3649 (notifications-get-server-information): New defun.
3651 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3653 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3656 * textmodes/ispell.el: Experimental support for support debugging.
3657 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3659 (ispell-print-if-debug): New function to print stuff to
3660 `ispell-debug-buffer' if debugging is enabled.
3661 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3662 show some debugging info.
3663 (ispell-buffer-with-debug): New function that creates a debugging
3664 buffer and calls `ispell-buffer' with debugging enabled.
3666 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3667 comment in autoconf mode. (Bug#12768)
3669 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3671 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3672 frame-first-window, frame-root-window, frame-selected-window,
3673 minibuffer-selected-window, minibuffer-window,
3674 window-absolute-pixel-edges, window-at, window-body-height,
3675 window-body-width, window-display-table, window-combination-limit,
3676 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3677 window-inside-edges, window-inside-pixel-edges, window-left-child,
3678 window-left-column, window-margins, window-next-buffers,
3679 window-next-sibling, window-new-normal, window-new-total,
3680 window-normal-size, window-parameter, window-parameters, window-parent,
3681 window-pixel-edges, window-point, window-prev-buffers,
3682 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3683 window-start, window-text-height, window-top-child, window-top-line,
3684 window-total-height, window-total-width and window-use-time to the list
3685 of functions without side-effects.
3686 (toplevel): Add window-valid-p to the list of error-free functions
3687 without side-effects.
3689 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3691 * textmodes/ispell.el (ispell-program-name):
3692 Update spellchecker parameters when customized.
3694 2012-11-04 Glenn Morris <rgm@gnu.org>
3696 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3698 2012-11-04 Chong Yidong <cyd@gnu.org>
3700 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3701 same-window-* variables.
3703 2012-11-04 Juri Linkov <juri@jurta.org>
3705 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3706 (isearch-describe-key, isearch-describe-mode): Use a display
3707 action instead of binding same-window-* variables (Bug#10040).
3709 2012-11-03 Glenn Morris <rgm@gnu.org>
3711 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3712 Rename handler properties back from cl-- to cl-. (Bug#12788)
3714 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3716 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3718 * term/pc-win.el: Don't load term/internal from here.
3720 * loadup.el: Load term/internal from here.
3722 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3724 * progmodes/python.el (inferior-python-mode): Fix hang in
3725 jit-lock (Bug#12645).
3727 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3729 * window.el (switch-to-visible-buffer)
3730 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3732 2012-11-03 Glenn Morris <rgm@gnu.org>
3734 * emacs-lisp/cl-lib.el (cl--random-time):
3735 Rename from cl-random-time. (Bug#12773)
3736 (cl--gensym-counter, cl--random-state): Update callers.
3737 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3739 2012-11-03 Chong Yidong <cyd@gnu.org>
3741 * cus-start.el: Make cursor-type customizable (Bug#11633).
3743 2012-11-02 Glenn Morris <rgm@gnu.org>
3745 * filecache.el: No need to load find-lisp when compiling.
3746 (find-lisp-find-files): Autoload it.
3747 (file-cache-add-directory-recursively): Don't require find-lisp.
3749 * image.el (image-type-from-file-name): Trivial simplification.
3751 * emacs-lisp/bytecomp.el (byte-compile-eval):
3752 Decouple "noruntime" and "cl-functions" warnings.
3754 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3756 * play/gomoku.el (gomoku-display-statistics): Update mode line
3757 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3759 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3761 * window.el (quit-restore-window): If the window has been
3762 created on an existing frame and ended up as the sole window on
3763 that frame, do not delete it (Bug#12764).
3765 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3768 Rename from sh--inside-arithmetic-expression, handle more cases
3771 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3772 (sh-font-lock-open-heredoc): Use it (bug#12770).
3774 2012-10-30 Glenn Morris <rgm@gnu.org>
3776 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3778 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3780 2012-10-29 Chong Yidong <cyd@gnu.org>
3782 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3783 function key is stored in a keyboard macro (Bug#4894).
3785 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3787 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3791 (diff-unified->context, diff-context->unified)
3792 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3794 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3796 * files.el (find-alternate-file): Only ask one question (bug#12487).
3798 2012-10-29 Chong Yidong <cyd@gnu.org>
3800 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3801 Suggested by Dan Nicolaescu (Bug#6326).
3803 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3805 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3807 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3809 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3811 * face-remap.el (face-remap-add-relative): Handle the case where a
3812 face-remapping-alist entry is a cons cell (Bug#12762).
3814 2012-10-29 Kevin Ryde <user42@zip.com.au>
3816 * woman.el (woman-parse-numeric-value): Handle picas correctly
3819 2012-10-29 Glenn Morris <rgm@gnu.org>
3821 * emacs-lisp/cl.el (defsetf): Doc fix.
3823 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3826 syntax to the matching opener, if any (bug#12547).
3827 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3828 matching open as a "case-(".
3829 (sh-smie-rc-grammar): Add a corresponding rule for it.
3831 2012-10-28 Daniel Hackney <dan@haxney.org>
3833 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3834 "PKGNAME-autoloads.el" in case we created it.
3836 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3839 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3840 (completion--twq-all): Disable too-strict assertions.
3842 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3844 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3846 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3847 text to match the real keybindings.
3849 2012-10-27 Juri Linkov <juri@jurta.org>
3851 * wdired.el (wdired-keep-marker-rename): New defcustom.
3852 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3855 * dired.el (dired-keep-marker-rename): Add reference to
3856 `wdired-keep-marker-rename' in the docstring.
3857 Add default character value ?R to display initially in
3858 Customization UI instead of ?@.
3860 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3862 * window.el (display-buffer): In doc-string describe
3863 window-height and window-width alist entries.
3865 * time.el (display-time-world): Restore fit-window-to-buffer
3868 2012-10-27 Chong Yidong <cyd@gnu.org>
3870 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3872 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3874 * minibuffer.el (completion-category-overrides): New completion
3875 category `bookmark' (bug#11131).
3877 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3880 Silence bogus compiler warnings for ad-do-it.
3882 * bookmark.el (bookmark-completing-read): Set the completion category
3883 to `bookmark' (bug#11131).
3885 2012-10-26 Bastien <bzg@altern.org>
3886 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * face-remap.el: Use lexical-binding.
3889 (text-scale-adjust): Improve docstring. Use itself for the temporary
3890 overlay-map bindings, so as to repeat the "Use..." message each time.
3892 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * emacs-lisp/macroexp.el (macroexp--expand-all):
3895 Obey byte-compile-warning-enabled-p (bug#12486).
3897 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3898 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3900 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3902 * mouse.el (mouse-drag-line): Move last form into preceding when
3905 * help.el (resize-temp-buffer-window): Fix doc-string.
3907 2012-10-25 David Engster <deng@randomsample.de>
3909 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3910 Remove. This feature is already integrated in imenu.
3912 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3913 always loaded. Require `speedbar' unconditionally.
3915 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3919 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3921 * net/ldap.el (ldap-search-internal): The official ldif format starts
3922 with a "version: 1" header (bug#12724).
3924 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3927 2012-10-25 Glenn Morris <rgm@gnu.org>
3929 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3931 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3933 * minibuffer.el (minibuffer-force-complete): Use one more marker
3934 for the temporary-overlay-map command (bug#12619).
3936 2012-10-24 Chong Yidong <cyd@gnu.org>
3938 * time.el (display-time-world-mode): Derive from special-mode.
3939 (display-time-world): Use display-buffer (Bug#12708).
3940 (display-time-world-mode-map): Variable deleted.
3941 (display-time-world-display): Wrap the final delete-char inside
3944 2012-10-24 Chong Yidong <cyd@gnu.org>
3946 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3949 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3951 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * minibuffer.el (completion--all-sorted-completions-location): New var.
3954 (completion--cache-all-sorted-completions)
3955 (completion--flush-all-sorted-completions): Use it.
3956 (completion-in-region, completion-in-region--postch)
3957 (completion-at-point, completion-help-at-point): Use markers in
3958 completion-in-region--data (bug#12619).
3960 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3962 * progmodes/compile.el (compilation-start): Try to handle common
3963 quoting of `cd' argument (bug#12640).
3965 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3968 2012-10-23 Glenn Morris <rgm@gnu.org>
3970 * progmodes/gud.el (gud-menu-map):
3971 Check gdb-active-process is bound. (Bug#12358)
3973 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975 * repeat.el (repeat): Set real-this-command (bug#12232).
3977 * htmlfontify.el (hfy-post-html-hook):
3978 * filesets.el (filesets-cache-fill-content-hook):
3979 * arc-mode.el (archive-extract-hook):
3980 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3981 * net/rcirc.el (rcirc-sentinel-functions)
3982 (rcirc-receive-message-functions, rcirc-activity-functions)
3983 (rcirc-print-functions):
3984 * net/dbus.el (dbus-event-error-functions):
3985 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3986 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3987 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3988 * term/sun.el (sun-raw-prefix-hooks):
3989 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3991 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3993 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3994 Set `tramp-chunksize' to 1. This improves the performance.
3995 (tramp-smb-wait-for-output): Add timeout to
3996 `tramp-accept-process-output' calls.
3998 2012-10-23 Chong Yidong <cyd@gnu.org>
4000 * faces.el (font-list-limit): Define as an obsolete variable.
4002 * startup.el (command-line):
4003 * cus-start.el: Don't refer to font-list-limit.
4005 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4007 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * subr.el (internal-temp-output-buffer-show): Rename from
4010 temp-output-buffer-show, since previously compiled files expect this name.
4012 2012-10-23 Glenn Morris <rgm@gnu.org>
4014 * image.el (image-type-from-file-name): If multiple types match,
4015 return the first one that is supported. (Bug#9045)
4017 2012-10-22 Glenn Morris <rgm@gnu.org>
4019 * image.el (imagemagick-enabled-types): Doc fix.
4021 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4023 * progmodes/which-func.el (which-func-current): The hash-table may have
4024 an explicit nil (bug#12338).
4026 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * electric.el (electric-pair-delete-selection-self-insert-function):
4029 Rename to electric-pair-will-use-region, return a boolean.
4030 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4032 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4033 (delete-selection-pre-hook): Use use-region-p.
4034 (delete-selection-self-insert-function): Remove.
4035 (self-insert-command): Obey self-insert-uses-region-functions.
4036 (self-insert-iso): Revert to previous setting, since we don't actually
4037 know what that command does.
4038 (delete-selection-self-insert-hooks): Remove.
4040 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4042 * delsel.el (delete-selection-helper): New function, extracted from
4043 delete-selection-pre-hook.
4044 (delete-selection-pre-hook): Use it.
4045 (delete-selection-self-insert-function): New function.
4046 (delete-selection-self-insert-hooks): New hook.
4047 (self-insert-command, self-insert-iso): Use it.
4048 * electric.el (electric-pair-syntax): New function, extracted from
4049 electric-pair-post-self-insert-function.
4050 (electric-pair-post-self-insert-function): Use it.
4051 (electric-pair-delete-selection-self-insert-function): New function.
4052 (electric-pair-mode): Require delsel and setup
4053 delete-selection-self-insert-hooks (bug#11520).
4055 2012-10-20 Chong Yidong <cyd@gnu.org>
4057 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4058 no changes to show (Bug#12586).
4060 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4061 list explicitly (Bug#12571).
4063 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4065 * progmodes/flymake.el (flymake-create-temp-inplace):
4068 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4070 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4072 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4074 * calc/calc-units.el (math-extract-units): Properly extract powers
4077 2012-10-20 Daniel Colascione <dancol@dancol.org>
4079 * frame.el (make-frame): Set x-display-name as we used to in order
4080 to unbreak creating an X11 frame from an Emacs daemon started
4083 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4086 the same completion-field (bug#12221).
4088 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4090 * emacs-lisp/debug.el (debug): Record height of debugger window
4091 also when debugger will be back (Bug#8789).
4093 2012-10-18 Chong Yidong <cyd@gnu.org>
4095 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4096 Convert to defcustom.
4097 (gdb-get-source-file): Don't bind pop-up-windows.
4099 * progmodes/gud.el (gud-display-line): Don't specially re-use
4100 other frames for the gdb-mi case (Bug#12648).
4102 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * emacs-lisp/advice.el: Clean up commentary a bit.
4105 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4106 (byte-code-function-p): Never redefine.
4108 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4110 2012-10-18 Glenn Morris <rgm@gnu.org>
4112 * dired.el (dired-sort-toggle): Some ls implementations only allow
4113 a single option string. (Bug#12666)
4115 * minibuffer.el (completion-cycle-threshold): Doc fix.
4117 2012-10-17 Kenichi Handa <handa@gnu.org>
4119 * international/mule.el (set-keyboard-coding-system):
4120 Recover input meta mode when the new coding system doesn not use 8-bit.
4121 Supply TERMINAL arg to set-input-meta-mode.
4123 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4125 * wdired.el (wdired-old-marks): New variable.
4126 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4127 (wdired-do-renames): Move point with renamed file and don't lose
4128 mark status (Bug#11795).
4130 2012-10-16 Juri Linkov <juri@jurta.org>
4132 * replace.el (query-replace-help): Mention multi-buffer replacement
4133 keys in the Help message. (Bug#12655)
4135 2012-10-15 Chong Yidong <cyd@gnu.org>
4137 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4139 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4141 * window.el (display-buffer): Doc fix.
4143 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4144 Adjust the msft regexp to the output of Studio 2010, and move msft
4145 before edg-1. See the discussion on emacs-devel,
4146 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4149 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4151 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4152 (oset): Move uses of object-class-fast macro after its definition.
4154 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4156 2012-10-13 Chong Yidong <cyd@gnu.org>
4158 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4159 enabled, re-enable it (Bug#11963).
4161 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4163 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4164 non-nil, restore window configuration (Bug#12623).
4166 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * help-fns.el (describe-variable, describe-function-1):
4169 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4171 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4173 2012-10-12 Glenn Morris <rgm@gnu.org>
4175 * mail/rmailsum.el (rmail-header-summary):
4176 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4178 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4180 * progmodes/python.el (python-mode-map):
4181 Replace subtitute-key-definition with proper command remapping.
4182 (python-nav--up-list): Fix behavior for blocks on the same level.
4184 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4188 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4189 changes to the format of load-history.
4191 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4192 completion-ignore-case in case that var is buffer-local (bug#12615).
4194 2012-10-11 Kenichi Handa <handa@gnu.org>
4196 * international/eucjp-ms.el: Re-generated.
4198 2012-10-10 Kenichi Handa <handa@gnu.org>
4200 * select.el (xselect--encode-string): If a coding is specified for
4201 selection, and that is compatible with COMPOUND_TEXT, use it.
4203 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4205 * window.el (switch-to-buffer-preserve-window-point): New option.
4207 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4209 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4212 Don't document nil as a useful value (bug#12583).
4214 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4216 * net/tramp.el (tramp-debug-message):
4217 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4218 (with-tramp-progress-reporter): Rename from
4219 `tramp-with-progress-reporter'.
4220 (with-tramp-file-property, with-tramp-connection-property):
4221 Move from tramp-cache.el, rename from `with-file-property' and
4222 `with-connection-property', respectively.
4224 * net/tramp-cache.el: Remove `with-file-property' and
4225 `with-connection-property'.
4228 * net/tramp-gvfs.el:
4230 * net/tramp-smb.el: Adapt callees.
4232 * net/trampver.el: Update release number.
4234 2012-10-09 Glenn Morris <rgm@gnu.org>
4236 * w32-fns.el (set-message-beep):
4237 * term/w32-win.el (set-message-beep): Update declarations.
4239 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4242 (mode-line-widen, mode-line-input-method-map)
4243 (mode-line-coding-system-map, mode-line-remote)
4244 (mode-line-unbury-buffer, mode-line-bury-buffer)
4245 (mode-line-next-buffer, mode-line-previous-buffer):
4246 Replace save-selected-window+select-window => with-selected-window.
4248 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4249 * progmodes/cc-vars.el (bq-process): Remove, unused.
4251 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4253 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4255 Implemented `backward-up-list'-like navigation.
4256 * progmodes/python.el (python-nav-up-list)
4257 (python-nav-backward-up-list): New functions.
4258 (python-mode-map): Define substitute key for backward-up-list to
4259 python-nav-backward-up-list.
4261 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4263 * progmodes/python.el (python-fill-paragraph): Rename from
4264 python-fill-paragraph-function. Fixed fill-paragraph for
4265 decorators (Bug#12605).
4267 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4269 * progmodes/python.el (python-shell-output-filter): Handle extra
4270 carriage return in OSX (Bug#12409).
4272 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4274 Fix shell handling of unbalanced quotes and parens in output.
4275 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4276 (python-syntax-propertize-function): Use it.
4277 (python-shell-output-syntax-table): New var.
4278 (inferior-python-mode): Prevent unbalanced parens/quotes from
4279 previous output mess with current input context.
4281 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4283 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4284 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4286 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4288 * ffap.el (ffap-replace-file-component): Support Tramp file name
4289 syntax, not only ange-ftp's one.
4291 2012-10-08 Glenn Morris <rgm@gnu.org>
4293 * cus-start.el (message-log-max): Set :version.
4295 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4297 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4299 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4300 the minibuffer window (Bug#10851).
4302 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4304 Enhancements on forward-sexp movement.
4305 * progmodes/python.el (python-nav-beginning-of-statement)
4306 (python-nav-end-of-statement): Return point-marker.
4307 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4308 (python-info-current-symbol)
4309 (python-info-statement-starts-block-p): Rename from
4310 python-info-beginning-of-block-p.
4311 (python-info-statement-ends-block-p): Rename from
4312 python-info-end-of-block-p.
4313 (python-info-beginning-of-statement-p)
4314 (python-info-end-of-statement-p)
4315 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4318 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4321 frame-selected-windows.
4323 2012-10-08 Daniel Colascione <dancol@dancol.org>
4325 * battery.el (battery-status-function): Check for
4326 w32-battery-status itself, not system-time windows-nt.
4328 * frame.el: Require cl-lib.
4329 (display-format-alist): New variable mapping frame types to
4330 functions that initialize them.
4331 (window-system-for-display): New function: interprets
4332 display-format-alist.
4333 (make-frame-on-display): Remove existing display-selection logic
4334 and just forward to make-frame, which will now DTRT.
4335 (make-frame): Restructure to use window-system-for-display to
4336 figure out how to create a frame on a given display.
4337 (display-mouse-p): Look for frame-type w32, not a particular
4340 * loadup.el: Load w32 lisp code when we have the w32 feature.
4342 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4343 system-type windows-nt.
4345 * server.el (server-create-window-system-frame): Look for window
4347 (server-proces-filter): Only force a window system when windows-nt
4348 _and_ w32. Explain why.
4350 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4351 of window systems we configure for the mode.
4353 * startup.el (command-line): Mark window system is initialized
4354 after we've done it.
4356 * common-win.el (x-select-text): Look for w32, not windows-nt.
4358 * ns-win.el: Require cl-lib. Add ourselves to
4359 display-format-alist.
4360 (ns-initialize-window-system): Assert we're not initialized twice.
4362 * w32-win.el: Enable lexical binding; require cl-lib; add
4363 ourselves to display-format-alist.
4364 (w32-handle-dropped-file): Convert incoming dropped files from
4365 Windows paths to Cygwin ones before passing them on to the rest of
4367 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4368 (w32-initialize-window-system): Assert we're not initialized twice.
4370 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4371 (x-initialize-window-system): Assert we're not initialized twice.
4373 * w32-common-fns.el: New File.
4374 (w32-version, w32-using-nt, w32-get-clipboard-data)
4375 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4376 (w32-charset-info-alist, x-last-selected, text)
4377 (x-get-selection-value, x-selection-value): Move here.
4379 * w32-fns.el: Require w32-common-fns.
4380 (w32-version, w32-using-nt, w32-get-clipboard-data)
4381 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4382 (w32-charset-info-alist, x-last-selected, text)
4383 (x-get-selection-value, x-selection-value): Move to
4387 (w32-allow-system-shell, w32-system-shells): Define only in
4390 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4393 (read-passwd): Remove a few more potential sources of leaks.
4395 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4397 * progmodes/python.el (inferior-python-mode)
4398 (python-shell-make-comint): Fix initialization of local
4399 variables copied from parent buffer.
4401 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4403 * term/ns-win.el (ns-read-file-name): Update declaration to match
4405 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4406 it is set when font is acted upon.
4408 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4410 Enhancements to indentation.
4411 * progmodes/python.el (python-indent-context): Give priority to
4412 inside-string context. Make comments indentation markers.
4413 (python-indent-region): Do not mess with strings, unless it's the
4414 enclosing set of quotes.
4416 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * window.el (internal--before-save-selected-window)
4419 (internal--after-save-selected-window): New functions extracted from
4420 save-selected-window. Make sure we return the `alist' we construct.
4421 (save-selected-window): Use them.
4423 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4424 Use with-selected-window.
4426 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4427 forms that define macros (bug#12593).
4429 2012-10-07 Kenichi Handa <handa@gnu.org>
4431 * international/mule-conf.el (compound-text-with-extensions):
4432 Add :mime-charset property as x-ctext.
4434 2012-10-07 Stefan Merten <smerten@oekonux.de>
4436 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4437 (rst-indent-literal-normal, rst-indent-literal-minimized)
4438 (rst-indent-comment): Correct :version tag.
4439 (rst-official-cvs-rev): Correct version string.
4441 2012-10-07 Glenn Morris <rgm@gnu.org>
4443 * mail/rmailmm.el (rmail-mime-process-multipart):
4444 Do not confuse a multipart message with an epilogue
4445 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4447 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4449 Fix shell output retrieval and comint-prompt-regexp init.
4450 * progmodes/python.el (inferior-python-mode):
4451 (python-shell-make-comint): Fix initialization of
4452 comint-prompt-regexp from copied file local variables.
4453 (python-shell-fetched-lines): Remove var.
4454 (python-shell-output-filter-in-progress): Rename from
4455 python-shell-fetch-lines-in-progress.
4456 (python-shell-output-filter-buffer): Rename from
4457 python-shell-fetch-lines-string.
4458 (python-shell-fetch-lines-filter): Delete function.
4459 (python-shell-output-filter): New function.
4460 (python-shell-send-string-no-output): Use them.
4462 2012-10-07 Glenn Morris <rgm@gnu.org>
4464 * hi-lock.el (hi-lock-process-phrase):
4465 Try to make it less fragile. (Bug#7161)
4467 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4469 2012-10-06 Glenn Morris <rgm@gnu.org>
4471 * ehelp.el (electric-help-mode): Use help-mode rather than
4472 non-existent mode `help'.
4473 (electric-help-map): Use button-buffer-map. (Bug#10917)
4475 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4476 (reftex-create-bibtex-footer): Fix custom types.
4478 * progmodes/sh-script.el (sh-indent-after-continuation):
4479 Add explicit :group.
4481 * textmodes/rst.el (rst-preferred-decorations)
4482 (rst-shift-basic-offset): Clarify obsolescence versions.
4484 * profiler.el (profiler): Add missing group :version tag.
4485 * avoid.el (mouse-avoidance-banish-position):
4486 * proced.el (proced-renice-command):
4487 * calc/calc.el (calc-ensure-consistent-units):
4488 * calendar/icalendar.el (icalendar-import-format-uid):
4489 * net/tramp.el (tramp-save-ad-hoc-proxies):
4490 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4491 * progmodes/flymake.el (flymake-error-bitmap)
4492 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4493 * progmodes/sh-script.el (sh-indent-after-continuation):
4494 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4495 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4496 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4497 (vhdl-array-index-record-field-in-sensitivity-list)
4498 (vhdl-indent-comment-like-next-code-line):
4499 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4500 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4501 (reftex-cite-key-separator, reftex-create-bibtex-header)
4502 (reftex-create-bibtex-footer):
4503 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4504 (rst-indent-literal-normal, rst-indent-literal-minimized)
4505 (rst-indent-comment): Add missing custom :version tags.
4507 * calendar/timeclock.el (timeclock-modeline-display):
4508 Add missing obsolete alias for renamed user option.
4510 * strokes.el (strokes-modeline-string):
4511 * emulation/crisp.el (crisp-mode-modeline-string):
4512 * eshell/esh-mode.el (eshell-status-in-modeline):
4513 Aliases to defcustoms must come before the defcustom.
4515 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4516 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4517 (cal-tex-cursor-week-monday): Doc fixes.
4518 (cal-tex-cursor-week2-summary): Doc fix.
4519 Rename from cal-tex-cursor-week-at-a-glance.
4521 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4522 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4524 * calendar/calendar.el (calendar-mode-map):
4525 Add cal-tex-cursor-week2-summary.
4527 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4531 * subr.el (read-passwd-map): New var.
4532 (read-passwd): Use `read-string' again.
4533 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4535 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4537 * register.el (append-to-register, prepend-to-register):
4538 Deactivate mark, as does `copy-to-register' (bug#12389).
4540 2012-10-06 Chong Yidong <cyd@gnu.org>
4542 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4544 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4546 * international/characters.el: Fix simple mistake ((car chars) ->
4547 elt), delete duplicated code.
4549 2012-10-06 Glenn Morris <rgm@gnu.org>
4551 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4553 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4555 * color.el (color-hsl-to-rgb): Fix incorrect results for
4556 small and large hue values. (Bug#12559)
4558 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4560 Enhancements to docstring formatting when filling paragraphs.
4561 * progmodes/python.el (python-fill-docstring-style): Rename from
4562 python-fill-string-style. Added new style.
4563 (python-fill-string): Use new style. Better checks for
4566 2012-10-05 Glenn Morris <rgm@gnu.org>
4568 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4570 * color.el (color-name-to-rgb, color-rgb-to-hex)
4571 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4572 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4573 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4574 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4576 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4578 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4580 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4581 to get the correct size across symlinks.
4583 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4585 2012-10-04 Juri Linkov <juri@jurta.org>
4587 * replace.el (query-replace-interactive): Declare obsolete.
4588 (query-replace-read-from): Add the last incremental search string
4589 to the list of default values accessible via M-n.
4590 (map-query-replace-regexp): Use `read-regexp'.
4591 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4592 (map-query-replace-regexp, replace-string, replace-regexp):
4593 Fix docstrings to replace mentions of `query-replace-interactive'
4594 with alternatives. (Bug#12526)
4596 2012-10-04 Juri Linkov <juri@jurta.org>
4598 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4599 (dired-pop-to-buffer): Declare obsolete.
4600 (dired-mark-pop-up): Doc fix.
4602 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4604 Allow user to set docstring style for fill-paragraph.
4605 * progmodes/python.el
4606 (python-fill-comment-function, python-fill-string-function)
4607 (python-fill-decorator-function, python-fill-paren-function):
4608 Remove :safe for defcustoms.
4609 (python-fill-string-style): New defcustom
4610 (python-fill-paragraph-function): Enhance context detection.
4611 (python-fill-string): Honor python-fill-string-style settings.
4613 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4615 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4616 after setting its buffer (Bug#10805).
4618 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4620 Fix cornercase for string syntax.
4621 * progmodes/python.el (python-syntax-propertize-function):
4622 Simplify and enhance the regexp for unescaped quotes. Now it also
4623 matches quotes in weird situations like the single quote in
4625 (python-syntax-stringify): Simplify num-quotes detecting code.
4627 2012-10-03 Glenn Morris <rgm@gnu.org>
4629 * help-macro.el (three-step-help):
4630 Revert 2012-09-29 change. (Bug#12567)
4632 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4634 * menu-bar.el (kill-this-buffer): Don't do anything when
4635 `menu-frame' is not alive or visible (Bug#8184).
4637 * emacs-lisp/debug.el (debug): When quitting the debugger window
4638 restore current buffer (Bug#12502).
4640 2012-10-02 Chong Yidong <cyd@gnu.org>
4642 * progmodes/hideif.el (hif-lookup, hif-defined):
4643 Handle semantic-c-takeover-hideif.
4645 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4647 Change sampling interval units from ms to ns.
4648 * profiler.el (profiler-sampling-interval): Change units
4649 from ms to ns, multiplying the default by 1000000 so that
4651 (profiler-report-cpu-line-format): Give enough room for
4652 the maximum counters on 64-bit hosts.
4653 (profiler-report-render-calltree-1): Call them "CPU samples",
4654 not "Time (ms)", since they are not milliseconds now (and
4657 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4659 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4660 Fix querying BBDB for entries without a last name (Bug#11580).
4662 2012-10-02 Chong Yidong <cyd@gnu.org>
4664 * emacs-lisp/eieio.el: Restore Version header.
4666 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * vc/diff-mode.el (diff--auto-refine-data): New var.
4669 (diff-hunk): Use it to delay refinement.
4670 (diff-mode): Remove overlays when we turn off font-lock.
4672 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4673 (table-initialize-table-fixed-width-mode)
4674 (table-set-table-fixed-width-mode): Remove functions.
4675 (table-command-list): Move initialization into declaration.
4676 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4677 (table-with-cache-buffer): Use `declare'.
4678 (table-span-cell): Simplify via CSE.
4679 (table-fixed-width-mode): Use define-minor-mode.
4680 (table-call-interactively, table-funcall, table-apply): Remove.
4681 (table-function): New function, to replace them.
4683 * bookmark.el (bookmark-search-pattern): Remove var.
4684 (bookmark-read-search-input): Remove function.
4685 (bookmark-bmenu-search): Reimplement using a minibuffer.
4687 * faces.el (modeline): Remove obsolete face name.
4689 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4690 and give a non-nil default value.
4691 (add-change-log-entry): Simplify accordingly.
4693 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4695 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4696 (vc-git-log-edit-toggle-amend): New function.
4697 (vc-git-log-edit-toggle-signoff): New function.
4698 (vc-git-log-edit-mode): New major mode.
4699 (vc-git-log-edit-mode-map): Keymap for it.
4700 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4702 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4704 (log-edit-toggle-header): New function.
4705 (log-edit-extract-headers): Accept function values in HEADERS alist.
4707 2012-10-01 David Engster <deng@randomsample.de>
4709 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4710 from symbol property and change message to be more consistent with
4712 (eieio-describe-generic): Add filename for each implementation.
4713 Fix indices for generic and normal methods.
4714 (eieio-method-def, eieio-class-def): New buttons.
4715 (eieio-help-find-method-definition)
4716 (eieio-help-find-class-definition): New functions.
4717 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4718 class, constructor and method definitions.
4720 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4721 information in symbol property.
4722 (scoped-class): Remove.
4723 (eieio-slot-name-index, call-next-method): Check if it is bound.
4725 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4727 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4728 (eieio-custom-mode): New major mode.
4729 (eieio-customize-object): Use it.
4731 2012-10-01 Eric Ludlam <zappo@gnu.org>
4733 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4734 specifying the expected class, and whether subclassing is allowed.
4735 (eieio-persistent-convert-list-to-object):
4736 (eieio-persistent-validate/fix-slot-value)
4737 (eieio-persistent-slot-type-is-class-p): New functions.
4738 (eieio-named::slot-missing): Doc fix.
4740 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4741 Stop using unused publd variable.
4743 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4744 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4745 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4746 (eieio-speedbar-handle-click): Do not specify a class for the
4747 method. Fixes method invocation order problems with EDE.
4749 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4752 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4754 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4756 * bookmark.el (bookmark-version-control): Give tags in the
4757 :type choices (Bug#12309), and improve doc string.
4758 (bookmark-write-file): Bind `print-circle' to `t' to allow
4759 circular custom bookmark types. (Bug#12503)
4761 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4763 Revert the FOLLOW-SYMLINKS change for file-attributes.
4764 * files.el (remote-file-name-inhibit-cache, after-find-file):
4765 * time.el (display-time-file-nonempty-p): Undo last change.
4767 * profiler.el (profiler-sampling-interval): Change default back to 1.
4768 See Stefan Monnier in
4769 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4771 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4773 Shell output catching a la gud-gdb.
4774 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4775 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4777 (python-shell-fetch-lines-filter): New function.
4778 (python-shell-send-string-no-output): Use them.
4780 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4782 * profiler.el (profiler-sampling-interval): Rename from
4783 profiler-sample-interval.
4784 (profiler-sampling-interval): Default to 10.
4785 (profiler-find-profile): New command (was profiler-find-log).
4786 (profiler-find-profile-other-window): New command.
4787 (profiler-find-profile-other-frame): New command.
4788 (profiler-profile): Introduce API-level data structure.
4790 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4792 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4793 * files.el (remote-file-name-inhibit-cache):
4794 * time.el (display-time-file-nonempty-p): Use it.
4795 * files.el (after-find-file): Don't chase links before calling
4796 file-exists-p, as file-exists-p already does the right thing.
4798 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4800 Merge from standalone RefTeX repository.
4802 The following ChangeLog entries are shortened versions of the
4803 original ones with file paths adapted. A not so strongly edited
4804 version of the original ChangeLog can be found in the commit log.
4806 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4807 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4808 Correctly handle new value type returned by `reftex-citation'.
4810 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4811 that entries with whitespace at various places are found.
4812 Doc fix. Include entries that are cross-referenced from cited entries.
4813 Include @String definitions in the resulting bib file. Add header
4814 and footer defined in `reftex-create-bibtex-header' and
4815 `reftex-create-bibtex-footer'.
4816 (reftex-do-citation): Make it possible again to insert
4817 non-existent entries. Save match data when asking for optional
4818 arguments. Return all keys, not just the first one.
4819 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4820 all citations in the same line.
4821 (reftex-parse-bibtex-entry): Accept additional optional argument
4822 `raw' and keep quotes or braces if it is non-nil. Match fields
4823 containing hyphens besides word constituents.
4824 (reftex-get-string-refs): New function.
4825 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4826 and ask if it should be reread in case it did.
4827 (reftex-pop-to-bibtex-entry)
4828 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4829 entries with spaces or tabs in front of arguments.
4830 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4831 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4832 Match entries containing numbers and symbol constituents.
4833 (reftex-do-citation, reftex-figure-out-cite-format):
4834 Use `reftex-cite-key-separator'.
4836 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4837 (reftex-mouse-view-crossref): Explain why point is set.
4839 * textmodes/reftex-global.el: Whitespace changes.
4841 * textmodes/reftex-index.el: Move provide statement to end of
4843 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4844 (reftex-index-visit-phrases-buffer): Set marker when visiting
4845 buffer. This allows for returning from the phrases file to the
4846 file one was just editing instead of the file where the last
4847 phrases was added from.
4848 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4849 punctuation syntax as it usually is not used as string quote in
4850 TeX-related modes and may occur unmatched. The change also
4851 prevents fontification of quoted content.
4852 (reftex-index-phrases-mode): Use it.
4854 * textmodes/reftex-parse.el (reftex-parse-from-file):
4855 Move backward one char if a `\' was matched after a section macro.
4856 (reftex-parse-from-file): Use beginning of match instead of end as
4859 * textmodes/reftex-ref.el: Adapt creation of
4860 `reftex-<package>-<macro>' functions to new structure of
4861 `reftex-ref-style-alist'.
4862 (reftex-reference): Use `reftex-ref-style-list' function.
4863 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4864 reference macro if `reftex-ref-macro-prompt' is non-nil.
4865 (reftex-reference): Pass refstyle to `reftex-format-special'.
4866 Determine reference macro by looking at
4867 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4868 Use only one special format function.
4869 (reftex-varioref-vref, reftex-fancyref-fref)
4870 (reftex-fancyref-Fref): Remove definitions. The functions are now
4871 generated from `reftex-ref-style-alist'.
4872 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4874 (reftex-format-special): New function.
4876 * textmodes/reftex-sel.el
4877 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4878 of `reftex-ref-style-alist'. Remove code for testing macro type.
4879 (reftex-select-toggle-varioref)
4880 (reftex-select-toggle-fancyref): Remove.
4881 (reftex-select-cycle-ref-style-internal)
4882 (reftex-select-cycle-ref-style-forward)
4883 (reftex-select-cycle-ref-style-backward): New functions.
4884 (reftex-select-label-map): Use `v' and `V' for general cycling
4885 through reference styles. Add `p' for switching between number
4886 and page reference types.
4888 * textmodes/reftex-toc.el (reftex-re-enlarge):
4889 Call `enlarge-window' only if there is something to do because in Emacs
4890 the horizontal version throws an error even if the parameter is 0.
4892 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4893 (reftex-plug-into-AUCTeX): Doc fix.
4894 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4895 string. Adapt to new name.
4896 (reftex-ref-style-alist): Change structure so that it is not
4897 possible to use multiple different package names within a style.
4898 Remove the symbols for symbols for macro type distinction.
4899 Add characters for macro selection.
4900 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4901 (reftex-create-bibtex-footer): New variables.
4902 (reftex-format-ref-function): Mention third argument of special
4904 (reftex-ref-style-alist, reftex-ref-style-default-list):
4906 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4907 to new implementation. Mark as obsolete. Add compatibility code
4908 for honoring the variable values in case they are set.
4909 (reftex-cite-format-builtin, reftex-bibliography-commands):
4910 Add support for ConTeXt.
4911 (reftex-format-ref-function, reftex-format-cite-function):
4913 (reftex-cite-key-separator): New variable.
4915 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4916 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4917 `reftex-syntax-table' because parens have to retain their paren
4918 syntax in order for parsing of BibTeX entries like @book(...) to
4920 (reftex-in-comment): Do not error out if `comment-start-skip' is
4921 not set. Deal correctly with escaped comment characters.
4922 (reftex-tie-multifile-symbols): Add doc string.
4923 Initialize `reftex-ref-style-list'.
4924 (reftex-untie-multifile-symbols): Add doc string.
4925 (reftex-add-index-macros): Doc fix.
4926 (reftex-ref-style-activate, reftex-ref-style-toggle)
4927 (reftex-ref-style-list): New functions.
4928 (reftex-mode-menu): Use them. Adapt to new structure of
4929 `reftex-ref-style-alist'.
4930 (reftex-select-with-char): Kill the RefTeX Select buffer when
4932 (reftex-remove-if): New function.
4933 (reftex-erase-all-selection-and-index-buffers)
4934 (reftex-mode-menu): Reference styles are now computed from
4935 `reftex-ref-style-alist'. Fix typo.
4936 (reftex-report-bug): New function.
4937 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4938 algorithms with O(n log n). Introduce optional argument SORT (not
4941 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4943 Enhancements for triple-quote string syntax.
4944 * progmodes/python.el (python-syntax-propertize-function):
4945 Match both quote cases in one regexp.
4946 (python-syntax-stringify): Handle matches properly.
4948 2012-09-30 Juri Linkov <juri@jurta.org>
4950 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4951 to nil around the call to `insert' to prevent
4952 directory time modification by lock_file. (Bug#2295)
4953 * tar-mode.el (tar-summarize-buffer): Idem.
4955 2012-09-30 Juri Linkov <juri@jurta.org>
4957 * facemenu.el (list-colors-sort): Add option "Luminance".
4958 (list-colors-sort-key): Implement it.
4960 * vc/diff-mode.el (diff-refine-removed):
4961 * vc/ediff-init.el (ediff-fine-diff-A):
4962 * vc/smerge-mode.el (smerge-refined-removed):
4963 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4965 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4967 * term/ns-win.el (x-file-dialog): New function.
4969 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4971 * ido.el (ido-max-directory-size): Default to nil; the current
4972 default is small for POSIX systems, and impractical on Windows 7
4973 now that lstat returns directory sizes for NTFS.
4975 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4977 In buffer display functions handle window-height/window-width
4978 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4979 * window.el (window--display-buffer): New argument ALIST.
4980 Obey window-height and window-width alist entries.
4981 (window--try-to-split-window): New argument ALIST.
4982 Bind window-combination-limit to t when the window's size shall be
4983 changed and window-combination-limit equals `window-size'.
4984 (display-buffer-in-atom-window)
4985 (display-buffer-in-major-side-window)
4986 (display-buffer-in-side-window, display-buffer-same-window)
4987 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4988 (display-buffer-pop-up-window, display-buffer-below-selected)
4989 (display-buffer-at-bottom, display-buffer-in-previous-window)
4990 (display-buffer-use-some-window): Adjust all callers of
4991 window--display-buffer and window--try-to-split-window.
4992 (fit-frame-to-buffer): New option.
4993 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4995 (display-buffer-in-major-side-window): Evaluate window-height /
4996 window-width alist entries.
4998 * help.el (temp-buffer-resize-frames)
4999 (temp-buffer-resize-regexps): Remove options.
5000 (temp-buffer-resize-mode): Adjust doc-string.
5001 (resize-temp-buffer-window): Don't consult
5002 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5003 temp-buffer-resize-frames.
5005 * dired.el (dired-mark-pop-up):
5006 Call display-buffer-below-selected with a fit-window-to-buffer alist
5009 2012-09-30 Chong Yidong <cyd@gnu.org>
5011 * server.el (server-host): Document the security implications.
5012 (server-auth-key): Doc fix.
5014 * startup.el (initial-buffer-choice): Doc fix.
5016 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5018 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5021 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5023 * help-fns.el (help-fns--obsolete): Fix last change.
5025 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5028 (minor-mode-map-alist): Remove redundant code.
5030 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5031 visited in a buffer.
5032 (cvs-insert-visited-file): New function.
5033 (find-file-hook): Use it.
5035 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5037 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5039 (log-edit-empty-buffer-p): Don't require a space after a header.
5041 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5043 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5045 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5046 a proper minor-mode.
5048 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5050 2012-09-29 Glenn Morris <rgm@gnu.org>
5052 * winner.el (winner-mode): Remove variable (let define-minor-mode
5054 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5056 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5057 (winner-mode): Use define-minor-mode.
5059 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5060 the full definition in loaddefs, rather than duplicating it.
5062 * help-macro.el (three-step-help): No need to autoload defcustom.
5064 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5065 (inferior-lisp-program, inferior-lisp-load-command)
5066 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5067 No need to autoload defcustoms.
5069 * hippie-exp.el (hippie-expand-try-functions-list)
5070 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5071 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5072 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5073 (hippie-expand-only-buffers): No need to autoload defcustoms.
5074 * progmodes/vhdl-mode.el (vhdl-line-expand):
5075 Explicitly load hippie-exp, so it does not get autoloaded
5076 while hippie-expand-try-functions-list is let-bound.
5078 2012-09-28 Glenn Morris <rgm@gnu.org>
5080 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5082 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5083 Only "cl.el" counts as cl these days.
5085 2012-09-28 Juri Linkov <juri@jurta.org>
5087 Display archive errors in the echo area instead of inserting
5090 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5091 to STDERR-TEST that can be a regexp matching a successful output.
5092 Create a temporary file and redirect stderr to it. Search for
5093 STDERR-TEST in the stderr output and display it in the echo area
5094 if no match is found.
5095 (archive-extract-by-file): New function like
5096 `archive-extract-by-stdout' but extracting archives to files
5097 and looking for successful matches in stdout. Function body is
5098 mostly copied from `archive-rar-extract'.
5099 (archive-rar-extract): Use `archive-extract-by-file'.
5100 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5102 2012-09-28 Leo Liu <sdl.web@gmail.com>
5104 * pcomplete.el (pcomplete-show-completions):
5105 Use minibuffer-message to make pcomplete usable in minibuffer.
5107 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5109 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * type-break.el: Use lexical-binding.
5112 (type-break-mode): Use define-minor-mode.
5114 * emacs-lisp/pcase.el (pcase--mark-used): New.
5115 (pcase--u1): Use it (bug#12512).
5117 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5118 in load-history with the right file name.
5120 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5122 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5123 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5124 (doc-view-get-bounding-box): Make bounding box slicing work for
5125 ODF and DVI documents.
5127 2012-09-28 Glenn Morris <rgm@gnu.org>
5129 * type-break.el (type-break-mode, type-break-interval)
5130 (type-break-good-rest-interval, type-break-keystroke-threshold):
5131 No need to autoload.
5132 (type-break-good-rest-interval, type-break-keystroke-threshold):
5135 2012-09-28 Chong Yidong <cyd@gnu.org>
5137 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5140 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5142 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5144 2012-09-27 Glenn Morris <rgm@gnu.org>
5146 * faces.el (x-display-name): Declare (for without-x builds).
5148 * linum.el (linum-format): Don't autoload it. Improve :type.
5150 * progmodes/tcl.el: Don't require outline when compiling.
5151 (outline-regexp, outline-level): Declare.
5152 * textmodes/sgml-mode.el: Don't require outline when compiling.
5153 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5155 * term.el (term-ansi-reset):
5156 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5158 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5159 files for RCS and SCCS. (Bug#9781)
5161 2012-09-27 Chong Yidong <cyd@gnu.org>
5163 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5164 change; value should be t.
5166 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5168 * image-mode.el: Use lexical-binding.
5169 (image-mode-winprops): Use t to stand for the window of
5170 a buffer that's not displayed.
5171 * doc-view.el (doc-view-new-window-function): Handle the new
5173 (doc-view-enlarge): Make it a real nop if the size is not changed.
5174 (doc-view-display): Handle the case where the buffer is not (yet?)
5175 displayed in any window.
5176 (doc-view-saved-settings): New var.
5177 (doc-view-mode): Use it.
5178 (doc-view-fallback-mode): Set it.
5180 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5181 Set lexical-binding.
5182 (minibuffer-eldef-shorten-default): New var.
5183 (minibuffer-default-in-prompt-regexps): Use it for new default.
5184 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5186 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5188 * international/uni-bidi.el:
5189 * international/uni-category.el:
5190 * international/uni-name.el:
5191 * international/uni-numeric.el: Regenerate.
5193 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5194 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * profiler.el: New file.
5198 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5201 (testcover-reinstrument): Simplify with CSE.
5203 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5205 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5207 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5209 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5210 (verilog-auto-input, verilog-auto-insert-lisp)
5211 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5212 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5213 (verilog-auto-unused, verilog-auto-wire)
5214 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5215 newline. Reported by Andrew Jones.
5216 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5217 Reported by Brad Dobbie.
5218 (verilog-batch-delete-trailing-whitespace):
5219 Create verilog-batch-delete-trailing-whitespace.
5220 Reported by Brad Dobbie.
5221 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5222 parameters from another module. Reported by Dan Katz.
5223 (verilog-auto, verilog-auto-assign-modport)
5224 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5225 AUTOINOUTMODPORT for UVM interface module shell generation.
5226 Reported by Brad Dobbie.
5227 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5229 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5230 Reported by Matt Martin.
5232 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5234 * window.el (window--resize-child-windows): When resizing child
5235 windows proportionally, process them in reverse order to
5236 preserve the "when splitting a window the new one gets the odd
5238 (window--resize-root-window-vertically): When resizing the
5239 minibuffer window try to affect only windows at the bottom of the
5242 2012-09-25 Chong Yidong <cyd@gnu.org>
5244 * subr.el (declare): Doc fix.
5246 * help-fns.el (help-fns--obsolete): Handle macros properly.
5248 2012-09-25 Chong Yidong <cyd@gnu.org>
5250 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5251 this function obsolete.
5253 * calendar/cal-x.el (calendar-two-frame-setup)
5254 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5255 * calendar/calendar.el (american-calendar, european-calendar)
5256 (calendar-for-loop):
5257 * comint.el (comint-dynamic-simple-complete)
5258 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5259 * desktop.el (desktop-load-default):
5260 * dired-x.el (dired-omit-here-always)
5261 (dired-hack-local-variables, dired-default-directory):
5262 * emacs-lisp/derived.el (derived-mode-class):
5263 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5264 * emacs-lock.el (toggle-emacs-lock):
5265 * epa.el (epa-display-verify-result):
5266 * epg.el (epg-sign-keys, epg-start-sign-keys)
5267 (epg-passphrase-callback-function):
5268 * eshell/esh-util.el (eshell-for):
5269 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5270 (eshell-add-to-window-buffer-names):
5271 * files.el (locate-file-completion):
5272 * imenu.el (imenu-example--create-c-index)
5273 (imenu-example--create-lisp-index)
5274 (imenu-example--lisp-extract-index-name)
5275 (imenu-example--name-and-position):
5276 * international/mule-cmds.el (princ-list):
5277 * international/mule-diag.el (decode-codepage-char):
5278 * international/mule-util.el (detect-coding-with-priority):
5279 * iswitchb.el (iswitchb-read-buffer):
5280 * mail/mailalias.el (mail-complete):
5281 * mail/sendmail.el (mail-sent-via):
5282 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5283 (mouse-major-mode-menu):
5284 * password-cache.el (password-read-and-add):
5285 * pcomplete.el (pcomplete-parse-comint-arguments):
5286 * progmodes/sh-script.el (sh-maybe-here-document):
5287 * replace.el (query-replace-regexp-eval):
5288 * savehist.el (savehist-load):
5289 * simple.el (choose-completion-delete-max-match):
5290 * term.el (term-dynamic-simple-complete):
5291 * vc/ediff-init.el (ediff-check-version):
5292 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5293 * vc/vc.el (vc-diff-switches-list):
5294 * view.el (view-return-to-alist-update): Likewise.
5296 * subr.el (eval-next-after-load, makehash, insert-string)
5297 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5299 (mode-line-inverse-video): Variable deleted.
5301 * international/mule-util.el (string-to-sequence): Remove.
5303 * calendar/calendar.el (calendar-version):
5304 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5305 (icalendar-convert-diary-to-ical):
5306 * cus-edit.el (custom-mode):
5307 * ansi-color.el (ansi-color-unfontify-region):
5308 * international/latin1-disp.el (latin1-char-displayable-p):
5309 * progmodes/cwarn.el (turn-on-cwarn-mode):
5310 * progmodes/which-func.el (which-func-update-1):
5311 Use define-obsolete-function-alias.
5313 * net/newst-backend.el (newsticker-cache-filename):
5314 * net/newst-treeview.el (newsticker-groups-filename):
5315 Fix incorrect obsolescence declaration.
5317 * allout.el (allout-passphrase-hint-string): Likewise.
5318 (allout-init): Use a declare form to mark obsolete.
5320 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5321 this applies to functions.
5323 * iswitchb.el (iswitchb-read-buffer): Move code of
5324 iswitchb-define-mode-map here, and delete that obsolete function.
5326 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5327 font-lock-reference-face.
5329 2012-09-25 Glenn Morris <rgm@gnu.org>
5331 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5334 * eshell/em-term.el (eshell-term-name):
5335 Default to term-term-name. (Bug#12485)
5337 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5339 * progmodes/python.el (python-shell-send-buffer): Better handling
5340 of "if __name__ == '__main__':" conditionals when sending the buffer.
5342 2012-09-24 Glenn Morris <rgm@gnu.org>
5344 * eshell/esh-cmd.el (eshell-find-alias-function):
5345 Tighten up file-name regexp. (Bug#12499)
5347 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5349 Enhancements for triple-quote string syntax.
5350 * progmodes/python.el (python-quote-syntax): Remove.
5351 (python-syntax-propertize-function): New value.
5352 (python-syntax-count-quotes, python-syntax-stringify):
5355 2012-09-24 Chong Yidong <cyd@gnu.org>
5357 * mail/supercite.el (sc-version): Remove obsolete function.
5358 (sc-describe): Don't mark as obsolete, since it is bound.
5359 (sc-submit-bug-report): Remove.
5361 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5362 (cvs-commit-buffer-require-final-newline): Remove.
5363 (log-edit-require-final-newline)
5364 (log-edit-changelog-full-paragraphs): Default to t.
5366 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5367 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5368 * vc/vc.el (vc-checkout-carefully): Likewise.
5370 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5371 (emerge-version): Remove.
5373 * progmodes/compile.el (compile-internal): Remove.
5374 (compilation-parse-errors-function): Fix typo.
5376 * international/mule.el (set-char-table-default): Remove.
5377 (set-coding-priority, make-coding-system, generic-char-p)
5378 (charset-list, charset-bytes, charset-id): Use declare to mark
5379 functions as obsolete.
5381 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5382 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5383 * vc/vc-hooks.el (vc-default-registered): Don't use
5384 vc-master-templates.
5386 * font-lock.el (font-lock-reference-face):
5387 Use define-obsolete-variable-alias.
5389 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5390 * calendar/calendar.el (calendar-font-lock-keywords):
5391 * calendar/diary-lib.el (diary-font-lock-keywords)
5392 (diary-fancy-font-lock-keywords):
5393 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5394 * textmodes/reftex-index.el (reftex-insert-index):
5395 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5396 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5397 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5398 * progmodes/prolog.el (prolog-font-lock-keywords):
5399 * progmodes/idlwave.el (idlwave-idl-keywords):
5400 * progmodes/ada-mode.el (ada-font-lock-keywords):
5401 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5403 2012-09-24 Glenn Morris <rgm@gnu.org>
5405 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5407 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5409 * progmodes/python.el (python-indent-line): More consistent cursor
5412 2012-09-23 Stefan Merten <smerten@oekonux.de>
5414 * textmodes/rst.el: Fix compiler warning.
5416 2012-09-23 Roland Winkler <winkler@gnu.org>
5418 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5419 Transcribe also LaTeX hyphenation.
5420 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5421 bibtex-reformat-previous-options.
5423 2012-09-23 Roland Winkler <winkler@gnu.org>
5425 * proced.el (proced-renice-command): New variable.
5426 (proced-marked-processes): New function.
5427 (proced-with-processes-buffer): New macro.
5428 (proced-send-signal): Use them.
5429 (proced-renice): New command bound to r.
5431 2012-09-23 Roland Winkler <winkler@gnu.org>
5433 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5434 ibuffer-saved-filter-groups has one element, shortcut the call of
5435 completing-read. (Bug#12331)
5437 2012-09-23 Chong Yidong <cyd@gnu.org>
5439 * bindings.el (mode-line-toggle-read-only):
5440 * bs.el (bs-toggle-readonly):
5441 * buff-menu.el (Buffer-menu-toggle-read-only):
5442 * dired.el (dired-toggle-read-only):
5443 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5445 2012-09-23 Chong Yidong <cyd@gnu.org>
5447 * image.el (image-type-available-p): Adapt to init-image-library
5450 2012-09-22 Juri Linkov <juri@jurta.org>
5452 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5453 `dired-toggle-read-only'. (Bug#12462)
5455 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5457 * subr.el (temp-output-buffer-show): New function.
5458 (with-output-to-temp-buffer): Call temp-output-buffer-show
5459 instead of internal-temp-output-buffer-show.
5461 2012-09-22 Chong Yidong <cyd@gnu.org>
5463 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5466 * repeat.el (repeat): Doc fix (Bug#12348).
5468 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5471 * simple.el (shell-command-on-region): Doc fix.
5472 (read-only-mode): Doc fix.
5474 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5476 * emacs-lisp/timer.el (run-with-idle-timer)
5477 (timer-activate-when-idle): Warn against reinvoking an idle timer
5478 from within its own timer action. (Bug#12447)
5480 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5482 * cus-start.el (window-combination-limit): Add new optional
5484 * window.el (temp-buffer-window-show)
5485 (window--try-to-split-window): Handle new values of
5486 window-combination-limit (Bug#1806).
5487 (split-window): Test window-combination-limit for t instead of
5489 (display-buffer-at-bottom): New buffer display action function.
5490 * help.el (temp-buffer-resize-regexps): New option.
5491 (temp-buffer-resize-mode): Rewrite doc-string.
5492 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5493 Don't resize reused window. Suggested by Glenn Morris.
5495 2012-09-22 Stefan Merten <smerten@oekonux.de>
5497 * textmodes/rst.el: Revamp section title faces.
5498 (rst-official-version)
5499 (rst-package-emacs-version-alist): Sync with official version
5501 (rst-faces-defaults, rst-set-level-default)
5502 (rst-level-face-max, rst-level-face-base-color)
5503 (rst-level-face-base-light, rst-level-face-format-light)
5504 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5505 (rst-adornment-faces-alist): Match new setup.
5506 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5507 (rst-level-5, rst-level-6): New faces.
5509 2012-09-22 Chong Yidong <cyd@gnu.org>
5511 * simple.el (undo): Handle indirect buffers (Bug#8207).
5513 2012-09-21 Leo Liu <sdl.web@gmail.com>
5515 IDO: Disable match re-ordering for buffer switching.
5516 * ido.el (ido-buffer-disable-smart-matches): New variable.
5517 (ido-set-matches-1): Use it. (Bug#2042)
5519 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5521 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5522 Fix 2011-05-17 change. (Bug#12418)
5524 2012-09-21 Leo Liu <sdl.web@gmail.com>
5526 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5528 2012-09-21 Glenn Morris <rgm@gnu.org>
5530 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5531 Be more robust about locating simple.el.
5533 2012-09-21 Glenn Morris <rgm@gnu.org>
5535 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5537 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5539 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5541 2012-09-20 Juri Linkov <juri@jurta.org>
5543 * replace.el (query-replace-read-from): Use `read-regexp' instead
5544 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5545 (occur-read-primary-args): Use `read-regexp' instead of
5547 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5548 `read-from-minibuffer'.
5549 * isearch.el (isearch-occur): Use `read-regexp' instead of
5551 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5552 `read-from-minibuffer'.
5553 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5554 of `read-string'. (Bug#7567)
5556 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5557 and allow accepting a list of strings prepended to a list of
5558 standard default values. Doc fix. (Bug#12321)
5560 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5562 * replace.el (read-regexp): Don't add ": " when PROMPT already
5563 ends with a colon and space. (Bug#12321)
5565 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5567 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5570 2012-09-20 Stefan Merten <smerten@oekonux.de>
5572 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5573 Fixes feature request bug#11711.
5574 (rst-mode): Create `imenu-create-index-function'.
5575 (rst-get-stripped-line): Delete after refactoring.
5576 (rst-section-tree, rst-section-tree-rec)
5577 (rst-section-tree-point): Refactor and document properly.
5578 (rst-imenu-find-adornments-for-position)
5579 (rst-imenu-convert-cell, rst-imenu-create-index):
5582 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5585 (macroexp--expand-all): Use it.
5586 (macroexp--funcall-and-return): Remove by folding it into its sole
5587 caller (macroexp--warn-and-return).
5588 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5589 Use macroexp--obsolete-warning.
5591 * calc/calc.el: Fix last change by removing the whole chunk, since it
5592 was only needed back when Calc was not bundled.
5594 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5596 * emacs-lisp/debug.el (debug): Restore assignment to
5597 debugger-old-buffer removed on 2012-09-08.
5599 2012-09-20 Juri Linkov <juri@jurta.org>
5601 * dired-aux.el (dired-diff): Remove (require 'diff) since
5602 `diff-latest-backup-file' is now autoloaded.
5604 2012-09-20 Chong Yidong <cyd@gnu.org>
5606 * vc/diff.el (diff-latest-backup-file): Autoload.
5608 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * calc/calc.el: Remove redundant autoload shape check.
5611 (sel-mode): Don't defvar.
5612 (calc-get-stack-element): Add `sel-mode' arg instead.
5613 (calc-top, calc-top-list): Pass it this additional argument.
5614 * calc/calc-store.el (calc-store-map):
5615 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5616 (calc-map-equation, calc-outer-product, calc-inner-product):
5617 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5619 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5621 2012-09-19 Juri Linkov <juri@jurta.org>
5623 * dired-aux.el (dired-diff): Add (require 'diff) because
5624 `diff-latest-backup-file' is not autoloaded.
5625 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5626 of `dired-get-filename' to t to not report error when there is
5627 no default file on the current line.
5629 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5631 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5632 macroexp--eval-if-compile.
5633 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5634 (macroexp--expand-all): Use them (bug#12371).
5636 * doc-view.el (doc-view-guess-paper-size)
5637 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5639 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5641 New feature: set optimal slice from BoundingBox information.
5642 * doc-view.el (doc-view-mode-map): Add keybinding.
5643 (doc-view-menu): Add menu entry.
5644 (doc-view-set-slice): Adapt docstring.
5645 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5646 (doc-view-scale-bounding-box)
5647 (doc-view-set-slice-from-bounding-box): New functions.
5648 (doc-view-paper-sizes): New defvar.
5650 2012-09-19 Glenn Morris <rgm@gnu.org>
5652 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5653 (byte-compile-log-warning): Autoload. (Bug#12371)
5655 * calendar/calendar.el (calendar-american-month-header)
5656 (calendar-european-month-header, calendar-iso-month-header)
5657 (calendar-month-header): New options.
5658 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5659 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5661 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5663 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5665 2012-09-18 Juri Linkov <juri@jurta.org>
5667 * dired-aux.el (dired-diff): Restore original functionality of
5668 getting the default value, but keep new feature of using the
5669 latest existing backup file (`diff-latest-backup-file').
5671 2012-09-18 Juri Linkov <juri@jurta.org>
5673 * dired.el (dired-mark): If the region is active in Transient Mark
5674 mode, mark all files in the active region. Doc fix.
5675 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5676 Doc fix. (Bug#10624)
5678 2012-09-18 Juri Linkov <juri@jurta.org>
5680 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5681 attributes for M-n are pulled from the file at point.
5682 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5683 Suggested by Drew Adams. (Bug#10624)
5685 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5687 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5688 whitespace after "end".
5689 (ruby-do-end-to-brace): Collapse block to one line if it fits
5692 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5694 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5696 (debug): Don't remove debugger window when debugger is expected
5699 2012-09-18 Chong Yidong <cyd@gnu.org>
5701 * custom.el (defface): Doc fix.
5703 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5705 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5707 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5708 to initialize query-on-exit; then test that instead (bug#12288).
5710 2012-09-17 Stefan Merten <smerten@oekonux.de>
5712 * textmodes/rst.el: Add support for `testcover'.
5713 (rst-defcustom-testcover, rst-testcover-add-compose)
5714 (rst-testcover-add-1value): New functions.
5715 (rst-portable-mark-active-p): Replace by `use-region-p'.
5716 (rst-update-section, rst-classify-adornment)
5717 (rst-find-title-line): Mark `1value' forms.
5718 (rst-classify-adornment): Remove superfluous form.
5719 (rst-update-section, rst-get-adornments-around)
5720 (rst-adornment-complete-p, rst-get-next-adornment)
5721 (rst-adjust, rst-promote-region)
5722 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5723 (rst-find-pfx-in-region, rst-section-tree-rec)
5724 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5725 (rst-toc-node, rst-toc, rst-forward-section)
5726 (rst-iterate-leftmost-paragraphs)
5727 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5728 (rst-bullet-list-region)
5729 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5730 (rst-compile-find-conf, rst-compile)
5731 (rst-repeat-last-character): Fix style.
5733 2012-09-17 Chong Yidong <cyd@gnu.org>
5735 * comint.el (comint--complete-file-name-data): Don't add a space
5736 if the status is `sole'; that adds a gratuitous space in the
5737 completion-cycling case (Bug#12092).
5739 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5741 2012-09-17 Richard Stallman <rms@gnu.org>
5743 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5744 only in the mime-shown mode, not in raw mode.
5745 (rmail-mime): Toggle off mime by displaying the message without
5746 mime processing. (Bug#12305)
5748 * mail/rmail.el (rmail-retry-failure):
5749 Turn off mime processing first. (Bug#12037)
5751 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5753 2012-09-17 Chong Yidong <cyd@gnu.org>
5755 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5756 (shell-dynamic-complete-functions): Convert to defcustom.
5757 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5759 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5760 * comint.el (comint-prompt-read-only):
5761 * custom.el (defcustom):
5762 * hi-lock.el (hi-lock-mode):
5763 * ibuffer.el (ibuffer-formats):
5764 * ielm.el (ielm-prompt-read-only):
5765 * novice.el (disable-command):
5766 * saveplace.el (toggle-save-place):
5767 * speedbar.el (speedbar-supported-extension-expressions):
5768 * startup.el (auto-save-list-file-prefix, init-file-user)
5769 (after-init-hook, inhibit-startup-echo-area-message):
5770 * strokes.el (strokes-help):
5771 * time-stamp.el (time-stamp):
5772 * calendar/calendar.el (calendar, diary-file):
5773 * calendar/diary-lib.el (diary-mail-entries, diary)
5774 (diary-list-entries-hook):
5775 * calendar/holidays.el (holidays, calendar-holidays):
5776 * calendar/lunar.el (lunar-phases):
5777 * calendar/solar.el (sunrise-sunset):
5778 * emulation/edt.el (edt-load-keys):
5779 * emulation/viper.el (viper-mode):
5780 * eshell/em-alias.el (eshell-command-aliases-list):
5781 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5782 * international/ogonek.el (ogonek-information):
5783 * net/tramp-cmds.el (tramp-bug):
5784 * net/quickurl.el (quickurl-reread-hook-postfix):
5785 * play/decipher.el (decipher-font-lock-keywords):
5786 * progmodes/cc-styles.el (c-set-style):
5787 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5788 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5789 * progmodes/octave-mod.el (octave-mode):
5790 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5791 * progmodes/verilog-mode.el (verilog-read-defines):
5792 * textmodes/two-column.el (2C-mode): Likewise.
5794 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5796 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5797 that holds many addresses.
5799 2012-09-16 Chong Yidong <cyd@gnu.org>
5801 * align.el (align-areas): Call the indication function with
5802 positions instead of markers for arguments (Bug#12343).
5804 * files.el (parse-colon-path): Use split-string (Bug#12351).
5806 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5807 (display-buffer-function): Mark as obsolete.
5809 * progmodes/compile.el (compilation-parse-errors): Accept list
5810 values similar to font-lock-keywords (Bug#12136).
5811 Suggested by Oleksandr Manzyuk.
5812 (compilation-error-regexp-alist): Doc fix.
5814 2012-09-15 Glenn Morris <rgm@gnu.org>
5816 * version.el (emacs-bzr-version-bzr): New function.
5817 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5819 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5820 checkouts, check the parent dirstate matches the branch.
5821 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5824 * version.el (emacs-bzr-version): Doc fix.
5825 (emacs-bzr-version-dirstate): New function.
5826 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5827 is local try and check that it matches the branch. If not, just
5828 use dirstate information. (Bug#12441)
5830 2012-09-14 Juri Linkov <juri@jurta.org>
5832 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5835 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5839 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5840 Remove obsolete byte-compiler hack that tried to silence some warnings.
5841 (edebug-submit-bug-report): Remove.
5842 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5843 Remove aliases, use the un-prefixed name instead.
5844 (edebug-pop-to-buffer): Consider other frames.
5845 (edebug-original-read):: Make it more obvious that it's always defined.
5846 (edebug--make-form-data-entry, edebug--form-data-name)
5847 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5848 single-dashed name, and implement with cl-defstruct.
5849 (edebug-set-form-data-entry): Use the standard accessors.
5850 (edebug-make-top-form-data-entry): Use push.
5851 (edebug-no-match): Drop useless `funcall'.
5852 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5854 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5855 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5856 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5857 (easy-menu-define, with-custom-print): Remove redundant specs.
5858 (edebug-outside-overriding-local-map)
5859 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5860 (edebug--display): Bind unread-command-events directly to nil rather
5861 than binding it to unread-command-events and later setting it to nil.
5862 (edebug--display): Kill edebug-eval-buffer here...
5863 (edebug--recursive-edit): ...rather than here.
5864 Bind standard-output and standard-input.
5865 (edebug-eval): Check cl-macroexpand-all is fboundp.
5866 (edebug-temp-display-freq-count): Fix last change.
5868 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5869 * subr.el (noreturn, 1value): Add `debug' spec.
5870 * emacs-lisp/advice.el: Require cl-lib.
5871 (ad-copy-tree): Remove, use copy-tree instead.
5872 (ad-dolist): Remove use dolist or cl-dolist instead.
5873 (ad-do-return): Remove, use cl-return instead.
5874 (defadvice): Add `debug' spec.
5876 2012-09-13 Juri Linkov <juri@jurta.org>
5878 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5881 2012-09-13 Glenn Morris <rgm@gnu.org>
5883 * calc/calc.el (math-compose-expr):
5884 * calc/calc-ext.el (math-compose-expr):
5885 * progmodes/cc-defs.el (cl-macroexpand-all):
5886 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5887 (cl-macroexpand-all): Update declarations.
5889 * vc/vc.el: No need to require ediff.
5890 (ediff-load-version-control): Declare.
5891 (ediff-vc-internal): Fix declaration.
5892 (vc-version-ediff): Require ediff.
5894 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5896 Use a more backwards-compatible timer format (Bug#12430).
5897 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5898 being right after USECS, as that better supports old code that
5899 inadvisedly looked directly at the timer vector.
5901 2012-09-13 Kenichi Handa <handa@gnu.org>
5903 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5904 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5905 `coding-priority' property of these language environment.
5907 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5909 Fix glitches caused by addition of psec to timers (Bug#12430).
5910 * image.el (image-animate-timer):
5911 * time.el (display-time-world-timer):
5912 Use timer--function and timer--args rather than raw access to
5915 2012-09-13 Glenn Morris <rgm@gnu.org>
5917 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5918 If not compiling a file, try using load-file-name.
5920 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5924 (edebug-update-eval-list): Use `push'.
5926 * emacs-lisp/edebug.el: Use lexical-binding.
5927 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5928 Mark unused args with underscore.
5929 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5930 (edebug-form-data): Use defvar-local.
5931 (edebug-make-before-and-after-form, edebug-make-after-form):
5933 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5934 Not dynamically scoped any more.
5935 (edebug--enter-trace): Add arguments `function' and `args'.
5936 Rename from edebug-enter-trace.
5937 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5938 (edebug--update-coverage): Add `after-index' and `value' args.
5939 Rename from edebug-update-coverage.
5940 (edebug-slow-after): Call it accordingly.
5941 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5942 edebug-recursive-edit.
5943 (edebug--display): Call it accordingly. Add args `value',
5944 `offset-index', and `arg-mode'. Rename from edebug-display.
5945 (edebug-debugger, edebug): Call it accordingly.
5946 (edebug-eval-display-list): Use dolist.
5948 2012-09-12 Juri Linkov <juri@jurta.org>
5950 * info.el (Info-search): Don't check for isearch-mode and
5951 isearch-regexp before let-binding search-spaces-regexp to
5952 Info-search-whitespace-regexp.
5953 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5954 search-whitespace-regexp if isearch-lax-whitespace or
5955 isearch-regexp-lax-whitespace is non-nil.
5956 (Info-mode): Don't set local variable search-whitespace-regexp.
5957 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5959 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5961 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5962 (debugger-env-macro): Remove support for unread-command-char.
5964 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5965 the temporary map re-appearing on emulation-mode-map-alists.
5967 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5970 * ehelp.el (with-electric-help): Accept functions in
5971 electric-help-form-to-execute.
5972 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5973 And replace unread-command-char -> unread-command-events.
5975 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5977 Sync with Tramp 2.2.6.
5979 * net/tramp.el (tramp-accept-process-output): Don't use
5980 JUST-THIS-ONE in the XEmacs case.
5982 * net/trampver.el: Update release number.
5984 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5986 * emacs-lisp/debug.el (debugger-previous-window-height):
5988 (debug): When debugger-jumping-flag is non-nil try to restore
5989 height of debugger window. (Bug#8789)
5991 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5994 overriding-local-map and pre/post-command-hook here.
5995 (edebug-recursive-edit): Do it here instead (bug#12345).
5996 (edebug-outside-unread-command-char): Remove all uses of
5997 unread-command-char.
5999 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6000 inhibit-debugger is bound instead.
6002 2012-09-11 Bastien Guerry <bzg@gnu.org>
6004 * subr.el (set-temporary-overlay-map): Add a docstring.
6007 2012-09-11 Bastien Guerry <bzg@gnu.org>
6009 * minibuffer.el (completion-table-subvert): Fix docstring.
6012 2012-09-11 Bastien Guerry <bzg@gnu.org>
6014 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6016 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6018 * progmodes/sql.el: Version 3.1
6019 (sql-db2-escape-newlines): New variable.
6020 (sql-escape-newlines-filter): Use it.
6022 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6024 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6026 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6028 * vc/diff-mode.el (diff-mode-menu):
6029 Bind diff-remove-trailing-whitespace.
6031 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6033 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6034 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6035 (emacs-lisp-byte-code-mode): New functions.
6036 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6037 (eval-defun-2): Remove bogus interactive spec.
6038 (lisp-indent-line): Remove redundant whole-exp code, now done in
6039 indent-according-to-mode.
6040 (save-match-data): Remove redundant indent data.
6042 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6045 2012-09-09 Juri Linkov <juri@jurta.org>
6047 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6048 (replace-lax-whitespace, query-replace-regexp)
6049 (query-replace-regexp-eval, replace-regexp): Doc fix.
6050 (perform-replace, replace-highlight): Let-bind
6051 isearch-lax-whitespace to replace-lax-whitespace and
6052 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6054 * isearch.el (isearch-query-replace): Let-bind
6055 replace-lax-whitespace to isearch-lax-whitespace and
6056 replace-regexp-lax-whitespace to
6057 isearch-regexp-lax-whitespace. (Bug#10885)
6059 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6063 2012-09-09 Alan Mackenzie <acm@muc.de>
6065 * progmodes/cc-engine.el (c-state-cache-init):
6066 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6067 (c-record-parse-state-state):
6068 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6070 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6072 * register.el (register-separator): Rename from
6073 separator-register. All uses changed. Doc fix.
6074 (register): Fix version.
6076 2012-09-09 Chong Yidong <cyd@gnu.org>
6078 * replace.el (query-replace-map): Bind four new symbols for
6079 requesting window scrolling.
6081 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6082 query-replace-map (Bug#8948).
6084 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6086 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6087 since they are now in query-replace-map.
6089 * window.el (scroll-other-window-down): Make the arg optional.
6091 2012-09-09 Chong Yidong <cyd@gnu.org>
6093 * files.el (hack-local-variables-confirm): Use quit-window to kill
6094 the *Local Variables* buffer.
6096 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6098 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6099 not just expect to be at its beginning. Adjust callees.
6100 Succeed when do-end block has no space before the pipe character.
6101 (ruby-brace-to-do-end): When the original block is one-liner,
6102 convert to multiline. Reindent the result.
6104 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6106 * register.el (register): New group.
6107 (separator-register): New user option.
6108 (increment-register): Route it to `append-to-register', if
6109 register contains text. Implication is that `C-x r +' can now be
6110 used for appending to a text register (bug#12217).
6111 (append-to-register, prepend-to-register): Add separator based on
6112 `separator-register'.
6114 2012-09-08 Alan Mackenzie <acm@muc.de>
6116 AWK Mode: make auto-newline work when there's "==" in the pattern.
6117 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6119 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6120 Test more rigorously for "=" token.
6122 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6124 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6125 Only fail when reached LIMIT.
6127 2012-09-08 Chong Yidong <cyd@gnu.org>
6129 * dired.el (dired-mode-map): Don't bind M-=.
6131 * dired-aux.el (dired-diff): Use backup file as default.
6133 2012-09-08 Drew Adams <drew.adams@oracle.com>
6135 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6137 2012-09-08 Chong Yidong <cyd@gnu.org>
6139 * subr.el (syntax-after, syntax-class): Doc fix.
6141 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6143 * window.el (display-buffer-in-previous-window): New buffer
6144 display action function.
6146 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6147 (debugger-previous-window): New variable.
6148 (debug): Rewrite using display-buffer-in-previous-window,
6149 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6151 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6155 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6157 * progmodes/python.el (python-shell-send-string):
6158 When default-directory is remote, create temp file on remote
6160 (python-shell-send-file): When file is remote, pass local view of
6161 file paths to remote Python interpreter. (Bug#12340)
6163 2012-09-07 Chong Yidong <cyd@gnu.org>
6165 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6167 * files.el (after-find-file): Don't fail on a read-only buffer if
6168 require-final-newline is `visit' or `visit-save' (Bug#11156).
6170 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6172 * userlock.el (ask-user-about-supersession-threat):
6173 Use read-char-choice (Bug#12093).
6175 2012-09-07 Chong Yidong <cyd@gnu.org>
6177 * subr.el (buffer-narrowed-p): New function.
6179 * ses.el (ses-widen):
6180 * simple.el (count-words--buffer-message):
6181 * net/browse-url.el (browse-url-of-buffer): Use it.
6183 * simple.el (count-words-region): Don't signal an error if there
6184 is a non-nil prefix arg and the mark is not set.
6186 * help.el (describe-key-briefly): Allow the message to be seen
6187 when invoked from the minibuffer (Bug#7014).
6189 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6191 * progmodes/ruby-mode.el (ruby-end-of-defun)
6192 (ruby-beginning-of-defun): Simplify, allow indentation before
6193 block beginning and end keywords.
6194 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6195 (ruby-end-of-defun): Expect that the point is at the beginning of
6198 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6202 (cl--make-usage-args): Strip _ from argument names.
6204 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6206 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6207 obsolete alias speedbar-key-map.
6208 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6209 (vhdl-index-menu-init): Don't use obsolete variable
6210 font-lock-maximum-size.
6212 2012-09-06 Chong Yidong <cyd@gnu.org>
6214 * frame.el (window-system-version): Mark as obsolete.
6216 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6217 of obsolete variable speedbar-key-map.
6219 2012-09-06 Juri Linkov <juri@jurta.org>
6221 * replace.el (replace-lax-whitespace): New defcustom.
6222 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6223 (replace-string, replace-regexp): Mention it in docstrings.
6224 (perform-replace, replace-highlight): Let-bind
6225 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6226 to the values of replace-lax-whitespace and regexp-flag.
6227 Don't let-bind search-whitespace-regexp. (Bug#10885)
6229 * isearch.el (isearch-query-replace): Let-bind
6230 replace-lax-whitespace instead of let-binding
6231 replace-search-function and replace-re-search-function.
6232 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6233 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6234 (isearch-toggle-symbol): Set isearch-regexp to nil
6235 in isearch-word mode (like in isearch-toggle-word).
6237 2012-09-06 Juri Linkov <juri@jurta.org>
6239 * replace.el (replace-search-function)
6240 (replace-re-search-function): Set default values to nil.
6241 (perform-replace): Let-bind isearch-related variables based on
6242 replace-related values, call `isearch-search-fun' and let-bind
6243 the result to `search-function'. Remove code that sets
6244 `search-function' and `search-string' separately for
6246 (replace-highlight): Add new argument `delimited-flag' and
6247 rename other arguments to the names used in `perform-replace'.
6248 Let-bind `isearch-word' to the argument `delimited-flag'.
6249 (Bug#10885, bug#10887)
6251 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6253 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6254 ruby-beginning-of-indent, simplify, allow all keywords to have
6255 indentation before them.
6256 (ruby-beginning-of-indent): Adjust for above. Search until the
6257 found point is not inside a string or comment.
6258 (ruby-font-lock-keywords): Allow symbols to start with "@"
6259 character, give them higher priority than variables.
6260 (ruby-syntax-propertize-function)
6261 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6262 matchers. Expression expansions are not comments when inside a
6263 string, and there comment syntax status is irrelevant.
6264 (ruby-match-expression-expansion): New function. Check that
6265 expression expansion is inside a string, and it's not escaped.
6266 (ruby-font-lock-keywords): Use it.
6268 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6270 * help.el (temp-buffer-max-height): New default value.
6271 (temp-buffer-resize-frames): New option.
6272 (resize-temp-buffer-window): Optionally resize frame.
6274 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6275 (fit-frame-to-buffer): New function.
6277 2012-09-05 Glenn Morris <rgm@gnu.org>
6279 * emulation/cua-rect.el (cua--init-rectangles):
6280 * textmodes/picture.el (picture-mode-map):
6281 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6282 like forward-char and backward-char. (Bug#12317)
6284 2012-09-05 Leo Liu <sdl.web@gmail.com>
6286 * progmodes/flymake.el (flymake-warning-re): New variable.
6287 (flymake-parse-line): Use it.
6289 2012-09-05 Glenn Morris <rgm@gnu.org>
6291 * calendar/holidays.el (holiday-christian-holidays):
6292 Rename an entry. (Bug#12289)
6294 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6299 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * loadup.el: Load macroexp. Remove hack.
6302 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6303 (macroexp--expand-all): Use it to get better warnings.
6304 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6305 (internal-macroexpand-for-load): New functions.
6306 (macroexp--pending-eager-loads): New var.
6307 (emacs-startup-hook): New hack to replace one in loadup.el.
6308 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6309 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6310 (cl-psetf): Simplify.
6311 (cl-defstruct): Add indent rule.
6313 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6315 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6316 over `user-mail-address' for the SMTP MAIL FROM envelope.
6317 (smtpmail-via-smtp): Ditto.
6319 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6321 * progmodes/ruby-mode.el: Clean up keybindings.
6322 (ruby-mode-map): Don't bind ruby-electric-brace,
6323 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6324 backward-kill-word, reindent-then-newline-and-indent.
6325 (ruby-mark-defun): Remove.
6326 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6327 (ruby-mode): Set local beginning-of-defun-function and
6328 end-of-defun-function values.
6330 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6332 * window.el (temp-buffer-window-setup-hook)
6333 (temp-buffer-window-show-hook): New hooks.
6334 (temp-buffer-window-setup, temp-buffer-window-show)
6335 (with-temp-buffer-window): New functions.
6336 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6337 (special-display-popup-frame): Make sure the window used shows BUFFER.
6339 * help.el (temp-buffer-resize-mode): Fix doc-string.
6340 (resize-temp-buffer-window): New optional argument WINDOW.
6342 * files.el (recover-file, save-buffers-kill-emacs):
6343 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6345 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6347 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6348 remote definition of `default-directory', ensure we can connect.
6350 2012-09-02 Juri Linkov <juri@jurta.org>
6352 Toggle whitespace matching mode with M-s SPC.
6353 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6355 * isearch.el (search-whitespace-regexp): Doc fix.
6356 Remove cons cell customization.
6357 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6358 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6360 (isearch-forward, isearch-forward-regexp): Doc fix.
6361 (isearch-toggle-lax-whitespace): New command.
6362 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6363 (re-search-forward-lax-whitespace)
6364 (re-search-backward-lax-whitespace): New functions.
6365 (isearch-whitespace-regexp): Remove function.
6366 (isearch-query-replace): Let-bind replace-search-function and
6367 replace-re-search-function.
6368 (isearch-occur): Let-bind search-spaces-regexp according to the
6369 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6370 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6371 condition for C-q SPC.
6372 (isearch-search-fun-default): Use new functions mentioned above.
6373 (isearch-search-forward, isearch-search-backward): Remove functions.
6374 (isearch-search): Don't let-bind search-spaces-regexp.
6375 (isearch-lazy-highlight-space-regexp): Remove variable.
6376 (isearch-lazy-highlight-lax-whitespace)
6377 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6378 (isearch-lazy-highlight-new-loop): Use them.
6379 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6381 2012-09-02 Chong Yidong <cyd@gnu.org>
6383 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6385 2012-09-02 Glenn Morris <rgm@gnu.org>
6387 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6389 2012-09-01 Glenn Morris <rgm@gnu.org>
6391 * term.el: Tidy up menu definitions.
6392 (term-mode-map): Use easymenu for In/Out, Complete menus.
6393 (term-pager-break-map): Initialize in the defvar.
6394 (term-terminal-menu, term-signals-menu): Define with easymenu.
6395 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6396 (term-pager-menu): New, extracted from term-process-pager.
6397 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6398 (term-update-mode-line): Propertize line/char and page items.
6399 (term-process-pager): Move keymap initialization elsewhere.
6401 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6403 * window.el (switch-to-prev-buffer): Handle additional values of
6404 BURY-OR-KILL argument. Don't switch in minibuffer window.
6405 (switch-to-next-buffer): Don't switch in minibuffer window.
6406 (quit-restore-window): New function based on quit-window.
6407 Handle additional values of former KILL argument.
6408 (quit-window): Call quit-restore-window with appropriate
6409 interpretation of KILL argument.
6410 (display-buffer-below-selected): New buffer display action
6413 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * minibuffer.el (completion-at-point-functions): Complete docstring
6418 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6420 Better seed support for (random).
6421 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6422 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6423 * play/mpuz.el, play/tetris.el, play/zone.el:
6424 * calc/calc-comb.el (math-init-random-base):
6425 * play/blackbox.el (bb-init-board):
6426 * play/life.el (life):
6427 * server.el (server-use-tcp):
6428 * type-break.el (type-break):
6429 Remove unnecessary call to (random t).
6430 * net/sasl.el (sasl-unique-id-function):
6431 Change (random t) to (random), now that the latter is more random.
6432 * play/life.el (life-initialized): Remove no-longer-needed var.
6434 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6436 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6437 Consider frame's buffer predicate when choosing the buffer.
6440 2012-08-30 Richard Stallman <rms@gnu.org>
6442 * simple.el (special-mode-map): Delete binding for `z'.
6444 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6446 * progmodes/compile.el (compilation-always-kill): Doc fix.
6448 2012-08-30 Chong Yidong <cyd@gnu.org>
6450 * window.el (display-buffer-reuse-frames): Make the obsolescence
6451 message more informative.
6453 2012-08-30 Glenn Morris <rgm@gnu.org>
6455 * paren.el (show-paren-delay):
6456 Add a :set function. Doc fix. (Bug#12297)
6458 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6460 * progmodes/compile.el (compilation-always-kill): New var.
6461 (compilation-start): Use it.
6463 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6466 * files.el (read-only-mode): Move to simple.el.
6468 * files.el (read-only-mode): New minor mode.
6469 (toggle-read-only): Use it and mark obsolete.
6470 (find-file--read-only):
6471 * vc/vc.el (vc-next-action, vc-checkout):
6472 * vc/vc-cvs.el (vc-cvs-checkout):
6473 * obsolete/vc-mcvs.el (vc-mcvs-update):
6474 * ffap.el (ffap--toggle-read-only): Update callers.
6476 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6478 * eshell/esh-ext.el (eshell-external-command): Do not examine
6479 remote shell scripts.
6480 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6482 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6485 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6489 2012-08-28 Leo Liu <sdl.web@gmail.com>
6491 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6492 completion-at-point. (Bug#12220)
6494 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6496 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6498 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6500 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6501 be buffer-local; add delete-trailing-whitespace (bug#12259).
6503 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6505 * progmodes/hideif.el (hif-compress-define-list):
6506 Fix typo. (Bug#11951)
6508 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6510 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6511 buffer local setting.
6513 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6514 rcirc-encode-coding-system.
6516 2012-08-28 Leo Liu <sdl.web@gmail.com>
6518 * net/rcirc.el (rcirc-split-message): New function.
6519 (rcirc-send-message): Use it. (Bug#12051)
6521 2012-08-28 Juri Linkov <juri@jurta.org>
6523 * info.el (Info-fontify-node): Hide empty lines at the end of
6524 the node. (Bug#12272)
6526 2012-08-27 Drew Adams <drew.adams@oracle.com>
6528 * dired.el (dired-pop-to-buffer): Make window start at beginning
6529 of buffer (Bug#12281).
6531 2012-08-26 Chong Yidong <cyd@gnu.org>
6533 * window.el (special-display-regexps, special-display-frame-alist)
6534 (special-display-buffer-names, special-display-function)
6535 (display-buffer-reuse-frames): Mark as obsolete.
6537 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6539 * help.el (help-print-return-message): Don't treat
6540 display-buffer-reuse-frames specially.
6542 2012-08-26 Chong Yidong <cyd@gnu.org>
6544 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6545 New variable, replacing gdb-frame-parameters.
6546 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6547 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6548 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6549 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6550 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6551 the functions directly with gdb-display-buffer-other-frame-action.
6552 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6553 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6554 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6555 (gdb-display-registers-buffer): Define directly.
6556 (def-gdb-display-buffer): Macro deleted.
6557 (gdb-display-buffer): Remove second and third args, callers don't
6558 use them. Defer to the default display-buffer behavior, apart
6559 from making windows dedicated.
6560 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6562 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6564 * window.el (display-buffer-pop-up-frame): Handle a
6565 pop-up-frame-parameters alist entry.
6566 (display-buffer): Document it.
6568 2012-08-26 Chong Yidong <cyd@gnu.org>
6570 * isearch.el (search-whitespace-regexp): Make string and nil
6571 values apply to both ordinary and regexp search. Allow a cons
6572 cell value to distinguish between the two.
6573 (isearch-whitespace-regexp, isearch-search-forward)
6574 (isearch-search-backward): New functions.
6575 (isearch-occur, isearch-search-fun-default, isearch-search)
6576 (isearch-lazy-highlight-new-loop): Use them.
6577 (isearch-forward, isearch-forward-regexp): Doc fix.
6579 2012-08-26 Chong Yidong <cyd@gnu.org>
6581 * faces.el (help-argument-name): Always inherit from italic
6584 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6586 * window.el (window--even-window-heights): Even heights when
6587 WINDOW and the selected window form a vertical combination.
6588 (display-buffer-use-some-window): Provide that window used gets
6589 sized back by quit-window. (Bug#11880) and (Bug#12091)
6591 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6593 Fix file time stamp problem with bzr and CVS (Bug#12001).
6594 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6595 in the file's time stamp, since the version control system loses
6598 2012-08-22 Juri Linkov <juri@jurta.org>
6600 * info.el (Info-fontify-node): Hide the suffix of the
6601 Info file name in the header line. (Bug#12187)
6603 2012-08-22 Glenn Morris <rgm@gnu.org>
6605 * calendar/cal-tex.el (cal-tex-weekly-common):
6606 Restore leading blank page.
6608 2012-08-22 Le Wang <l26wang@gmail.com>
6610 * misc.el (forward-to-word, backward-to-word): Activate or extend
6611 the region under `shift-select-mode'. (Bug#12231)
6613 2012-08-22 Bastien Guerry <bzg@gnu.org>
6615 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6616 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6617 gives details on why the space is never needed.
6619 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6621 * window.el (walk-window-tree, window-with-parameter):
6622 New optional argument MINIBUF to control whether these functions
6623 should run on the minibuffer window.
6624 (window-at-side-list): Don't operate on minibuffer window.
6625 (window-in-direction): Simplify and rewrite doc-string.
6626 (window--size-ignore): Rename to window--size-ignore-p.
6628 (display-buffer-in-atom-window, window--major-non-side-window)
6629 (window--major-side-window, display-buffer-in-major-side-window)
6630 (delete-side-window, display-buffer-in-side-window):
6632 (window--side-check, window-deletable-p, delete-window)
6633 (delete-other-windows, split-window): Handle side windows and
6634 atomic windows appropriately.
6635 (window--display-buffer): Call display-buffer-record-window also
6636 when the window buffer did not change.
6638 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6640 * help-fns.el (help-fns--key-bindings):
6641 Abbreviate non-symbol remap targets. (Bug#12174)
6643 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6645 * dired.el (dired-mark-remembered): Don't clobber point.
6648 2012-08-22 Glenn Morris <rgm@gnu.org>
6650 * progmodes/bug-reference.el (bug-reference): New custom group.
6651 (bug-reference-bug-regexp): Make it a defcustom.
6653 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6655 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6656 (js-paren-indent-offset, js-square-indent-offset)
6657 (js-curly-indent-offset): Add :safe (Bug#12257).
6659 2012-08-22 Edward O'Connor <hober0@gmail.com>
6661 * json.el (json-key-format): Add error properties.
6662 (json-encode-key): New function.
6663 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6664 Use json-encode-key.
6666 2012-08-22 Glenn Morris <rgm@gnu.org>
6668 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6669 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6670 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6671 Update for above change.
6673 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6675 * cus-face.el (custom-face-attributes): Fix customize type for the
6676 :underline attribute. (Bug#11805)
6678 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6680 * window.el (window-point-1, set-window-point-1): Remove.
6681 (window-in-direction, record-window-buffer)
6682 (set-window-buffer-start-and-point, split-window-below)
6683 (window--state-get-1, display-buffer-record-window):
6684 Replace calls to window-point-1 and set-window-point-1 by calls to
6685 window-point and set-window-point respectively.
6687 2012-08-21 Glenn Morris <rgm@gnu.org>
6689 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6690 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6693 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6694 (cal-tex-shortday): New function.
6695 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6696 (cal-tex-cursor-filofax-daily): Use the above.
6698 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6700 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6701 (cal-tex-cursor-filofax-week): Use them.
6703 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6705 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6706 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6708 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6709 (cal-tex-end-document): Don't rely on buffer name.
6711 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6713 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6714 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6715 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6718 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6719 (cal-tex-cursor-week, cal-tex-cursor-week2)
6720 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6721 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6722 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6723 (cal-tex-insert-preamble, cal-tex-b-document)
6724 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6725 Improve cal-tex-cmd usage.
6727 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6728 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6729 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6730 (cal-tex-weekly-paper): New function.
6731 (cal-tex-cursor-week, cal-tex-cursor-week2)
6732 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6733 (cal-tex-cursor-day): Use it.
6735 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6736 (cal-tex-cursor-filofax-week): Remove leading blank page.
6738 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6739 Add autoload cookie. For now at least, don't use color, since
6740 no other cal-tex function does.
6742 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6743 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6744 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6746 2012-08-21 Juri Linkov <juri@jurta.org>
6748 * info.el (Info-file-attributes): New variable.
6749 (info-insert-file-contents): Add file attributes to
6750 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6751 `Info-toc-nodes' when previous modtime of the Info file is less
6753 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6754 of info.el. (Bug#12230)
6756 2012-08-20 Glenn Morris <rgm@gnu.org>
6758 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6759 * calendar/holidays.el (calendar-holiday-list):
6760 Report errors with display-warning rather than beep'n'sleep.
6762 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6764 * net/tramp.el (tramp-accept-process-output): Accept only output
6765 from PROC. Otherwise, process filters and sentinels might be
6766 confused. (Bug#12145)
6768 2012-08-20 Chong Yidong <cyd@gnu.org>
6770 * descr-text.el (describe-text-properties-1): Use overlays-in to
6771 report on empty overlays (Bug#3322).
6773 2012-08-20 Glenn Morris <rgm@gnu.org>
6775 * mail/rmailout.el (rmail-output-read-file-name):
6776 Trap and report errors in rmail-output-file-alist elements.
6778 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6779 since most non-font-lock faces are not also variables).
6781 2012-08-20 Edward Reingold <reingold@iit.edu>
6783 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6784 New function. (Bug12160)
6786 2012-08-19 Glenn Morris <rgm@gnu.org>
6788 * mail/rmailout.el (rmail-output-read-file-name):
6789 Fix previous change (when the alist is nil or does not match).
6791 2012-08-19 Chong Yidong <cyd@gnu.org>
6793 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6796 2012-08-18 Chong Yidong <cyd@gnu.org>
6798 * simple.el (yank-handled-properties): New defcustom.
6799 (yank-excluded-properties): Add font-lock-face and category.
6802 * subr.el (remove-yank-excluded-properties):
6803 Obey yank-handled-properties. The special handling of font-lock-face
6804 and category is now done this way, instead of being hard-coded.
6805 (insert-for-yank-1): Remove font-lock-face handling.
6806 (yank-handle-font-lock-face-property)
6807 (yank-handle-category-property): New function.
6809 2012-08-17 Glenn Morris <rgm@gnu.org>
6811 * mail/rmailout.el (rmail-output-read-file-name):
6812 Check rmail-output-file-alist against the full message body
6813 in the correct rmail buffer. (Bug#12214)
6815 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6817 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6818 Eliminate superfluous prompt. (Bug#12203)
6820 2012-08-17 Chong Yidong <cyd@gnu.org>
6822 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6823 font spec, set the font directly (Bug#3228).
6825 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6827 * window.el (delete-window): Fix last fix.
6829 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6831 * window.el (window-valid-p): Move to window.c.
6832 (window-child, window-child-count, window-last-child)
6833 (window-normalize-window, window-combined-p)
6834 (window-combinations, window-atom-root, window-min-size)
6835 (window-sizable, window-sizable-p, window-size-fixed-p)
6836 (window-min-delta, window-max-delta, window--resizable)
6837 (window--resizable-p, window-resizable, window-total-size)
6838 (window-full-height-p, window-full-width-p, window-body-size)
6839 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6840 (minimize-window, window-deletable-p, delete-window)
6841 (delete-other-windows, set-window-buffer-start-and-point)
6842 (next-buffer, previous-buffer, split-window, balance-windows-2)
6843 (set-window-text-height, window-buffer-height)
6844 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6845 (truncated-partial-width-window-p): Minor code adjustments.
6846 In doc-strings state whether the argument window has to denote a
6847 live, valid or any window.
6849 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6851 * progmodes/subword.el (subword-forward-function)
6852 (subword-backward-function, subword-forward-regexp)
6853 (subword-backward-regexp): New variables.
6854 (subword-forward, subword-forward-internal, subword-backward-internal):
6855 Use new variables, eg so that different "word" definitions
6856 can be easily used. (Bug#11411)
6858 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6861 for composite selectors.
6862 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6863 operation just because we can't find a previous revision.
6865 2012-08-15 Chong Yidong <cyd@gnu.org>
6867 * frame.el (set-frame-font): Accept font objects.
6869 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6873 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6875 * man.el (Man-overstrike-face, Man-underline-face)
6876 (Man-reverse-face): Remove variables.
6877 (Man-overstrike, Man-underline, Man-reverse): New faces.
6878 (Man-fontify-manpage): Use them instead of the variables.
6879 (Man-cleanup-manpage): Comment change.
6880 (Man-ansi-color-map): New variable.
6881 (Man-fontify-manpage): Use it.
6882 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6884 Implement ANSI SGR parameters 22-27 (bug#12146).
6885 * ansi-color.el (ansi-colors): Doc fix.
6886 (ansi-color-context, ansi-color-context-region): Doc fix.
6887 (ansi-color--find-face): New function.
6888 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6889 Rename the local variable `face' to `codes' since it is now a list of
6890 ansi codes. Doc fix.
6891 (ansi-color-get-face): Remove.
6892 (ansi-color-parse-sequence): New function, derived from
6893 ansi-color-get-face.
6894 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6897 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6899 * subr.el (read-passwd): Allow use from a minibuffer.
6901 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6903 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6904 inside comments and strings as identifiers.
6906 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6907 expression to evaluate. This allows to evaluate expressions with
6908 embedded whitespace.
6909 (gud-tooltip-tips): Add a blank before the newline in the
6910 message-box text, for the benefit of message-box emulation on
6913 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6914 messages from GDB, pop them up in a tooltip to give feedback to
6916 (gdb-tooltip-print-1): Quote the expression to evaluate.
6917 This allows to evaluate expressions with embedded whitespace.
6918 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6919 if the TTY name is nil or empty (which happens when communicating
6920 with the inferior via pipes, e.g. on MS-Windows).
6921 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6922 don't send that to the GUD buffer.
6924 2012-08-14 Glenn Morris <rgm@gnu.org>
6926 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6927 Optimize away setq-default with no args, as for setq. (Bug#12195)
6929 2012-08-14 Chong Yidong <cyd@gnu.org>
6931 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6933 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6936 2012-08-14 Glenn Morris <rgm@gnu.org>
6938 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6940 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6942 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6943 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6944 Use cached shell name.
6946 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6948 * progmodes/python.el (python-shell-send-string):
6949 (python-shell-send-setup-code): Do not use `format' with `message'.
6951 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6953 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6954 (ruby-percent-literal-beg-re): New constant.
6955 (ruby-syntax-general-delimiters-goto-beg): Rename to
6956 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6957 (ruby-syntax-propertize-general-delimiters): Rename to
6958 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6959 popular term. Adjust comments everywhere.
6960 (ruby-syntax-propertize-percent-literal): Only propertize when not
6961 inside a simple string or comment. When the literal is unclosed,
6962 leave the text after it unpropertized.
6963 (ruby-syntax-methods-before-regexp): New constant.
6964 (ruby-syntax-propertize-function): Use it to recognize regexps.
6965 Don't look at the text after regexp, just use the whitelist.
6967 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6969 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6970 non-nil always load the compiled file if it exists. (Bug#12197)
6972 2012-08-14 Chong Yidong <cyd@gnu.org>
6974 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6975 (hi-lock-set-pattern): When deciding whether to use font lock or
6976 overlays, look at font-lock-mode instead of font-lock-fontified
6978 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6979 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6981 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6983 * subr.el (internal--after-with-selected-window): Fix typo
6986 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6988 Use `completion-table-dynamic' for completion functions.
6989 * progmodes/python.el
6990 (python-shell-completion--do-completion-at-point)
6991 (python-shell-completion--get-completions):
6993 (python-shell-completion-complete-at-point): New function.
6994 (python-completion-complete-at-point): Use it.
6996 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6998 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6999 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7001 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7003 * subr.el (function-get): Refine `autoload' arg so it can also
7004 autoload functions for gv.el (bug#12191).
7005 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7008 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7009 Prefer pcase-let over destructuring-bind.
7010 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7011 Also, remove whitespace as we go, rather than after accumulating the
7014 * subr.el (internal--before-with-selected-window)
7015 (internal--after-with-selected-window): Fix typo seleted->selected.
7016 (with-selected-window): Adjust callers.
7017 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7019 2012-08-13 Bastien Guerry <bzg@gnu.org>
7021 * window.el (special-display-popup-frame): Minor docstring
7022 enhancement. (Bug#12172)
7024 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7026 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7028 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7031 * files.el (hack-local-variables-filter): Remove useless eval.
7033 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7035 * subr.el (with-selected-window): Fix last change.
7037 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * subr.el (internal--before-with-seleted-window)
7040 (internal--after-with-seleted-window): New functions.
7041 (with-selected-window): Use them, to replace dependency on
7044 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7046 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7047 binding for `newline'.
7048 (ruby-move-to-block): When moving backward, stop at block opening,
7050 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7051 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7052 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7053 `ruby-toggle-block'.
7055 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * ibuffer.el (ibuffer-do-toggle-read-only):
7058 * dired.el (dired-toggle-read-only):
7059 * buff-menu.el (Buffer-menu-toggle-read-only):
7060 * bindings.el (mode-line-toggle-read-only):
7061 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7063 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7065 * descr-text.el (describe-char): Put the overlays over the
7066 "displayed as" character.
7068 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7070 * calc/calc-units.el (math-default-units-table): Give an
7072 (math-put-default-units): Add options to put composite units and
7073 unit systems in the default units table.
7074 (calc-convert-units): Send composite units to
7075 `math-put-default-units' when appropriate.
7077 2012-08-11 Glenn Morris <rgm@gnu.org>
7079 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7081 * tutorial.el (help-with-tutorial):
7082 * emacs-lisp/copyright.el (copyright-update-directory):
7083 * emacs-lisp/autoload.el (autoload-find-generated-file)
7084 (autoload-find-file): Disable local eval: (for insurance).
7086 * files.el (hack-local-variables-filter): If an eval: form is not
7087 known to be safe, and enable-local-variables is :safe, then ignore
7088 the form totally, as is done for non-eval forms. (Bug#12155)
7089 This is CVE-2012-3479.
7091 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7094 (rx-form): Simplify.
7096 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7098 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7099 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7100 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7101 (ruby-syntax-propertize-function): Adjust for changes in
7102 `ruby-syntax-propertize-heredoc'.
7104 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7106 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7107 binding (use `M-;' instead).
7108 (ruby-singleton-class-p): New function.
7109 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7111 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7115 2012-08-10 Chong Yidong <cyd@gnu.org>
7117 * progmodes/python.el (python-shell-get-process-name): Don't mess
7118 with same-window-buffer-names.
7120 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7121 (eshell-remove-from-window-buffer-names): Make obsolete.
7122 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7123 (eshell): Just use pop-to-buffer-same-window instead.
7125 2012-08-10 Chong Yidong <cyd@gnu.org>
7127 * bindings.el: Bind M-= back to count-words-region.
7129 * simple.el (count-words-region): Accept a prefix arg for acting
7130 on the entire buffer.
7131 (count-words--buffer-message): New helper function.
7133 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7136 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7137 (event-start, event-end): Use posn-at-point to return a more
7139 (posnp): New function.
7140 * mouse.el (popup-menu-normalize-position): Use it.
7142 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7144 * mouse.el (popup-menu-normalize-position): New function.
7145 (popup-menu): Use `popup-menu-normalize-position' to normalize
7146 the form for POSITION argument.
7148 * term/x-win.el (x-menu-bar-open):
7149 Use the value returend from (posn-at-point) as position
7150 passed to `popup-menu'.
7152 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7154 * calc/calccomp.el (math-compose-expr): Add extra argument
7155 indicating that parentheses should be put around products in
7156 denominators. Give multiplication precedence over division during
7159 2012-08-09 Chong Yidong <cyd@gnu.org>
7161 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7162 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7163 (Man-untabify-command, manual-program): Convert to defcustom
7166 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7168 * descr-text.el (describe-char): Don't insert extra newlines
7171 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7172 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7174 * align.el (align-region): Delete temporary markers (Bug#10047).
7175 Plus some code cleanups.
7177 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7179 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7180 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7181 (python-shell-internal-last-output): Use make-local-variable
7182 instead of make-variable-buffer-local.
7184 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7186 * progmodes/python.el: Enhancements to forward-sexp.
7187 (python-nav-forward-sexp): Rename from
7188 python-nav-forward-sexp-function.
7189 (python-nav--forward-sexp, python-nav--backward-sexp):
7192 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7194 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7195 modes and simplification modes.
7197 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7199 * delsel.el (delete-selection-pre-hook): Don't propagate the
7200 file-supersession signals (bug#12161).
7202 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7205 (cl-map-extents): Add compatibility aliases (bug#12135).
7207 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7209 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7210 tests by `ignore-error'.
7211 (tramp-find-shell): Open also a new shell, when cache is already
7212 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7214 2012-08-08 Juri Linkov <juri@jurta.org>
7216 * bookmark.el: Add `defaults' property to the bookmark record.
7217 (bookmark-current-buffer): Doc fix.
7218 (bookmark-make-record): Add `defaults' property with default values
7219 to the bookmark record.
7220 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7221 with `bookmark-insert-current-bookmark'.
7222 (bookmark-set): Get `defaults' property from the bookmark record
7223 and use it in `read-from-minibuffer'.
7224 (bookmark-insert-current-bookmark): Remove function.
7226 * info.el (Info-bookmark-make-record): Add `defaults' property
7227 with values of canonical Info node name, the current Info file
7228 name and the current Info node name. (Bug#12107)
7230 2012-08-08 Juri Linkov <juri@jurta.org>
7232 * files.el (basic-save-buffer): Use `buffer-name' as the default
7233 of `read-file-name' when buffer is not visiting a file (bug#12128).
7235 2012-08-08 Juri Linkov <juri@jurta.org>
7237 * info.el (Info-isearch-search): Doc fix.
7238 (Info-search): Change search-failed message from "initial node" to
7239 "end of node" (bug#12078).
7240 (Info-isearch-search): Change `isearch-string-state' to
7241 `isearch--state-string'.
7243 2012-08-08 Glenn Morris <rgm@gnu.org>
7245 * language/persian.el: Remove file.
7246 * language/misc-lang.el: Move unique part of persian.el here.
7247 * loadup.el: Remove language/persian.
7249 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7251 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7253 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7255 * progmodes/python.el: Fix defsubst warning.
7256 (python-syntax-context) Rename from python-info-ppss-context.
7257 (python-syntax-context-type): Rename from
7258 python-info-ppss-context-type.
7259 (python-syntax-comment-or-string-p): Rename from
7260 python-info-ppss-comment-or-string-p.
7262 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7264 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7266 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7268 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7269 a defcustom that is quoted with backquote.
7271 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7272 Fix handling of interactive spec when the body uses return.
7273 (math-do-arg-check, math-define-function-body): Use backquote forms.
7274 * calc/calc-ext.el (math-defcache): Likewise.
7275 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7276 * allout.el (allout-new-exposure): Likewise.
7277 * calc/calcalg2.el (math-tracing-integral): Likewise.
7278 * info.el (Info-last-menu-item): Likewise.
7279 * emulation/vip.el (vip-loop): Likewise.
7280 * textmodes/artist.el (artist-funcall): Likewise.
7281 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7282 Construct menu-item directly.
7284 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7287 2012-08-07 Chong Yidong <cyd@gnu.org>
7289 * simple.el (deactivate-mark): Preserve text properties when
7290 saving the primary selection (Bug#8384).
7292 2012-08-07 Kevin Ryde <user42@zip.com.au>
7294 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7295 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7296 and continue processing (Bug#12110).
7298 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7301 syntax-propertize-function (bug#10095).
7303 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7305 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7306 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7307 describe-function-1.
7308 (describe-function-1): Use them. Move compiler macro after sig.
7309 (help-fns--compiler-macro): Use function-get. Assume we're already in
7310 standard-output. Adjust layout to new call order.
7312 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7313 re-binding a symbol that has a symbol-macro (bug#12119).
7315 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7317 * language/persian.el: New file. (Bug#11812)
7318 * loadup.el: Add language/persian.el.
7320 2012-08-06 Chong Yidong <cyd@gnu.org>
7322 * window.el (window--maybe-raise-frame): New function.
7323 (window--display-buffer): Split off from here.
7324 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7325 (display-buffer-pop-up-window, display-buffer-use-some-window):
7326 Obey an inhibit-switch-frame action alist entry.
7327 (display-buffer): Update doc.
7329 * replace.el (occur-after-change-function): Avoid losing focus by
7330 using the inhibit-switch-frame display parameter (Bug#12139).
7332 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7334 Make internal shell process buffer names start with space.
7335 * progmodes/python.el (python-shell-make-comint): Add optional
7337 (run-python-internal): Use it.
7338 (python-shell-internal-get-or-create-process): Check for new
7339 internal buffer names.
7341 2012-08-06 Glenn Morris <rgm@gnu.org>
7343 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7344 Do less getting and setting of environment variables.
7346 2012-08-05 Chong Yidong <cyd@gnu.org>
7348 * proced.el (proced): Add substitution string to docstring to
7349 trigger autoloading of the proced library on C-h f (Bug#1768).
7351 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7352 Don't show defvars which have no second argument (Bug#8638).
7354 * imenu.el (imenu-generic-expression): Move documentation here
7355 from imenu--generic-function.
7356 (imenu--generic-function): Refer to imenu-generic-expression.
7358 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7360 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7361 indentation declaration.
7362 (viper-loop): Add indentation declaration (Bug#7025).
7364 2012-08-05 Chong Yidong <cyd@gnu.org>
7366 * help-fns.el (describe-variable): Add hyperlink for
7367 directory-local variables files. Improve buffer-local and
7368 permanent-local reporting; suggested by MON KEY (Bug#6644).
7370 * help-mode.el (help-dir-local-var-def): New button type.
7372 * files.el (kill-buffer-hook): Provide a defvar.
7374 2012-08-05 Glenn Morris <rgm@gnu.org>
7376 * eshell/esh-ext.el (eshell/addpath):
7377 Also update eshell-path-env. (Bug#12013)
7379 2012-08-05 Chong Yidong <cyd@gnu.org>
7381 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7383 * fringe.el (fringe-styles): Add docstring.
7384 (fringe--check-mode): New function.
7385 (set-fringe-mode, set-fringe-style): Use it.
7386 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7388 * files.el (set-auto-mode): Fix invalid setq call.
7390 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7392 * isearch.el: Misc simplification; use defstruct.
7393 (isearch-mode-map): Dense maps now work like sparse ones.
7394 (isearch--state): New defstruct.
7395 (isearch-string-state, isearch-message-state, isearch-point-state)
7396 (isearch-success-state, isearch-forward-state)
7397 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7398 (isearch-wrapped-state, isearch-barrier-state)
7399 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7400 replaced by defstruct's accessors.
7401 (isearch--set-state): Rename from isearch-top-state and change
7403 (isearch-push-state): Use new isearch--get-state.
7404 (isearch-toggle-word): Disable regexp when enabling word.
7405 (isearch-message-prefix): Remove unused arg _c-q-hack.
7406 (isearch-message-suffix): Remove unused arg _ellipsis.
7408 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7410 * simple.el (list-processes--refresh): For a server use :host or
7411 :local as the address.
7412 (list-processes): Doc fix.
7414 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7416 * lisp/mpc.el: Support password in host argument.
7417 (mpc--proc-connect): Parse and use new password element.
7418 Set mpc-proc variable instead of returning process.
7419 (mpc-proc): Adjust accordingly.
7421 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7423 * whitespace.el (whitespace-display-mappings): Use Unicode
7424 codepoints, instead of emacs-mule codepoints. See
7425 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7428 * files.el (file-truename): Don't skip symlink-chasing part on
7429 windows-nt. Incorporate the resolution of 8+3 short aliases on
7430 Windows into the loop that recursively chases symlinks.
7431 Compare directory and its parent case-insensitively on MS-Windows and
7434 2012-08-03 Chong Yidong <cyd@gnu.org>
7436 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7438 * sort.el (sort-regexp-fields): Doc fix.
7440 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7442 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7443 labels regex position point at the expected place.
7445 2012-08-03 MON KEY <monkey@sandpframing.com>
7447 * net/imap.el (imap-interactive-login, imap-authenticate)
7448 (imap-mailbox-lsub, imap-mailbox-list)
7449 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7450 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7451 (imap-parse-response): Doc fix.
7453 2012-08-03 João Távora <joaotavora@gmail.com>
7455 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7456 if sexp scanning does not move point (Bug#5734).
7458 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7460 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7461 Add listings, minted, and ctable packages.
7462 (reftex-label-alist-builtin): Move listings, minted, and ctable
7463 entries before LaTeX.
7464 (reftex-label-alist): Docfix.
7466 2012-08-02 Bastien Guerry <bzg@gnu.org>
7468 * replace.el (occur): Fix docstring (bug#12122).
7470 2012-08-02 Glenn Morris <rgm@gnu.org>
7472 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7474 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7476 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7477 * international/mule-cmds.el: Create
7478 inactivate-current-input-method-function as an obsolete alias for
7479 deactivate-current-input-method-function. See Katsumi Yamaoka in
7480 <http://bugs.gnu.org/10150#46>.
7482 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7484 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7487 2012-08-01 Glenn Morris <rgm@gnu.org>
7489 * progmodes/autoconf.el (autoconf-definition-regexp):
7490 Add AH_TEMPLATE, adjust submatch numbering.
7491 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7492 (autoconf-current-defun-function): Update for above change.
7493 (autoconf-current-defun-function): First skip to end of current word.
7495 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7497 * calendar/cal-html.el (cal-html-insert-agenda-days):
7498 Fix typo. (Bug#12018)
7500 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7502 Shell processes: enhancements to startup and CEDET compatibility.
7503 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7504 (python-shell-make-comint): accept-process-output at startup.
7505 (run-python-internal): Set inferior-python-mode-hook to nil.
7506 (python-shell-internal-get-or-create-process): call sit-for.
7507 (python-preoutput-result): Add obsolete alias.
7508 (python-shell-internal-send-string): Use it.
7509 (python-shell-send-setup-code): Remove call to
7510 accept-process-output.
7512 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7514 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7517 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7519 * calc-mode.el (calc-basic-simplification-mode): Rename from
7520 `calc-limited-simplification-mode'.
7521 (calc-alg-simplification-mode): New function.
7522 (calc-set-simplify-mode): Adjust message.
7524 * calc.el (calc-set-mode-line): Adjust mode line display for
7525 basic simplification mode.
7527 * calc-help.el (calc-m-prefix-help): Update help message.
7529 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7530 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7532 2012-07-31 Bastien Guerry <bzg@gnu.org>
7534 * man.el (man): Fix comment. (bug#12101)
7536 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7538 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7539 Don't return a non-nil value when no suitable buffer was found.
7541 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7543 * progmodes/python.el (run-python-internal): Disable font lock for
7546 2012-07-30 Stefan Merten <smerten@oekonux.de>
7548 * textmodes/rst.el: Silence `checkdoc-ispell'.
7549 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7550 (rst-official-version, rst-official-cvs-rev)
7551 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7552 (rst-mode-map): New key binding.
7554 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7556 Update .PHONY listings in makefiles.
7557 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7558 autoloads, update-subdirs, updates, bzr-update, update-authors,
7559 compile-onefile, compile-calc, backup-compiled-files,
7560 compile-after-backup, compile-one-process, mh-autoloads,
7561 bootstrap-clean, distclean, maintainer-clean.
7563 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7565 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7566 (calc-set-mode-line): Don't display "AlgSimp ".
7568 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7569 (calc-lim-simplify-mode): New function.
7570 (calc-set-simplify-mode): Default to 'alg.
7571 (calc-default-simplify-mode): Make algebraic simplifications
7574 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7575 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7577 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7578 indicate new simplification modes.
7580 * calc/README: Mention new default simplification mode.
7582 * calc/calc.el (math-normalize-error): New variable.
7583 (math-normalize): Set `math-normalize-error' to t
7584 when there's an error.
7586 * calc/calc-alg.el (math-simplify): Don't simplify when
7587 `math-normalize' returns an error.
7589 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7591 * international/mule-cmds.el (set-locale-environment): Revert last
7592 change, since display-graphic-p returns nil when this function is
7593 called during startup. Instead...
7595 * term/w32console.el (terminal-init-w32console): ...setup the
7596 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7598 2012-07-29 Juri Linkov <juri@jurta.org>
7600 * simple.el (goto-line): Don't display default line number in the
7601 prompt because it should be displayed by `read-number' (bug#9952).
7602 Add the current line number to the defaults of `goto-line' to
7603 allow its easier modification by users with `M-n' (bug#9201).
7605 * subr.el (read-number): Support multiple default values like in
7606 other minibuffer reading functions. Replace `read' with
7607 `string-to-number' for consistency with `number-to-string'.
7609 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7611 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7612 * emulation/viper-init.el (viper-deactivate-input-method-action):
7613 Rename from viper-inactivate-input-method-action.
7614 (viper-deactivate-input-method):
7615 Rename from viper-inactivate-input-method.
7616 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7617 * international/mule-cmds.el (deactivate-input-method):
7618 Rename from inactivate-input-method.
7619 Also run input-method-deactivate-hook.
7620 (deactivate-current-input-method-function):
7621 Rename from inactivate-current-input-method-function.
7622 (input-method-deactivate-hook): New hook.
7623 (input-method-inactivate-hook): Mark obsolete.
7624 (inactivate-input-method): Mark obsolete.
7626 * international/quail.el (quail-activate):
7627 Also run quail-deactivate-hook.
7628 (quail-deactivate): Rename from quail-inactivate.
7629 * international/robin.el (robin-activate):
7630 Also run robin-deactivate-hook.
7631 (robin-deactivate): Rename from robin-inactivate.
7633 2012-07-29 Chong Yidong <cyd@gnu.org>
7635 * simple.el (indicate-copied-region): New function.
7636 (kill-ring-save): Split off from here.
7638 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7639 (kill-rectangle): Set deactivate-mark to t on read-only error.
7641 * register.el (copy-to-register, copy-rectangle-to-register):
7642 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7643 (append-to-register, prepend-to-register): Call indicate-copied-region.
7645 2012-07-29 Juri Linkov <juri@jurta.org>
7647 * simple.el (async-shell-command-buffer): New defcustom.
7648 (shell-command): Use it. (Bug#4719)
7650 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7652 * international/mule-cmds.el (set-locale-environment): In a
7653 console session on MS-Windows, set up keyboard and terminal
7654 encoding from the OEM codepage, not the ANSI codepage.
7657 2012-07-28 Chong Yidong <cyd@gnu.org>
7659 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7662 2012-07-28 Leo Liu <sdl.web@gmail.com>
7664 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7665 the alist (bug#12029).
7667 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7669 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7670 (compile-always, compile-first)
7671 ($(lisp)/calendar/cal-loaddefs.el)
7672 ($(lisp)/calendar/diary-loaddefs.el)
7673 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7674 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7675 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7676 instead of on update-subdirs.
7677 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7679 2012-07-28 Chong Yidong <cyd@gnu.org>
7681 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7682 directory if vc-deduce-backend returns nil (Bug#7350).
7684 * simple.el (delete-trailing-lines): New option.
7685 (delete-trailing-whitespace): Obey it (Bug#11879).
7687 2012-07-28 David Engster <deng@randomsample.de>
7689 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7690 Explanation of new 'symbol-qnames feature in doc-strings.
7691 (xml-maybe-do-ns): Return expanded names as plain symbols if
7692 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7693 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7695 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7697 Consistent completion in inferior python with emacs -nw.
7698 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7699 binding in inferior-python-mode-map with "\t".
7700 (python-shell-completion-complete-at-point)
7701 (python-completion-complete-at-point): Remove interactive spec.
7703 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7705 * calc/calccomp.el (math-compose-expr): Undo previous change.
7707 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7709 * progmodes/python.el (python-mode-map): Add keybinding for
7711 (python-shell-make-comint): Fix pop-to-buffer call.
7712 (run-python): Autoload. New arg SHOW.
7713 (python-shell-get-or-create-process): Do not pop python process
7716 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7718 * notifications.el (notifications-on-action-signal)
7719 (notifications-on-closed-signal): Use also the bus address for the map.
7720 (notifications-notify, notifications-close-notification)
7721 (notifications-get-capabilities): Add optional argument BUS.
7723 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7725 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7726 Add support for the lstlisting and minted environments, and for the
7728 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7729 labels written in keyvals syntax.
7731 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7733 * calc/calccomp.el (math-compose-expr): Use parentheses when
7734 there is a product in the denominator of a fraction.
7736 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7738 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7739 ($(lisp)/calendar/diary-loaddefs.el)
7740 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7741 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7742 Fixes failures in parallel bootstrap because subdirs.el is being
7743 rewritten while the autoload files are built at the same time,
7744 which needs to load subdirs.el.
7746 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7748 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7749 (mouse-drag-line): Don't exit tracking when a switch-frame or
7750 switch-window event occurs (Bug#12006).
7752 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7754 * mouse.el (popup-menu): Fix last change.
7756 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7758 Autoload from Lisp with more care. Follow aliases when looking for
7759 function properties.
7760 * subr.el (autoloadp): New function.
7761 (symbol-file): Use it.
7762 (function-get): New function.
7763 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7765 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7766 (lisp-indent-function):
7767 * emacs-lisp/gv.el (gv-get):
7768 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7769 * emacs-lisp/byte-opt.el (byte-optimize-form):
7770 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7771 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7773 * emacs-lisp/cl.el: Don't propagate function properties any more.
7775 * speedbar.el (speedbar-add-localized-speedbar-support):
7776 * emacs-lisp/disass.el (disassemble-internal):
7777 * desktop.el (desktop-load-file):
7778 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7779 (describe-function-1):
7780 * emacs-lisp/find-func.el (find-function-noselect):
7781 * emacs-lisp/elp.el (elp-instrument-function):
7782 * emacs-lisp/advice.el (ad-has-proper-definition):
7783 * apropos.el (apropos-safe-documentation, apropos-macrop):
7784 * emacs-lisp/debug.el (debug-on-entry):
7785 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7787 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7789 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7791 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7792 function, not an obsolete variable (Bug#12046).
7794 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7796 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7798 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7800 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7801 window only if it is still live (Bug#12034).
7803 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7805 * subr.el (redirect-frame-focus): Add advertised calling
7806 convention (Bug#12030).
7808 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7810 Prefer typical American spelling for "acknowledgment".
7811 * vc/add-log.el (change-log-acknowledgment): Rename from
7812 change-log-acknowledgement, with an alias for the old name.
7814 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7816 * calc-alg.el (math-simplify-divide): Don't cross multiply
7817 in an equation when the lhs is a variable.
7819 2012-07-24 Julien Danjou <julien@danjou.info>
7821 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7824 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7826 * startup.el (command-line): Don't display an empty user name in
7827 the error message about non-existent home directory, when
7828 init-file-user was set to an empty string. See
7829 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7830 for the details and context.
7832 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7834 * ses.el (ses-cell-formula-aset): New macro.
7835 (ses-cell-references-aset): New macro.
7836 (ses-cell-p): New function.
7837 (ses-rename-cell): Do no longer rely on complex operations like
7838 ses-cell-set-formula or ses-set-cell to change the cell and handle
7839 the undo at the same time, but rather use lower level new macros
7840 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7841 the undo directly. Refresh the mode line.
7843 2012-07-21 Leo Liu <sdl.web@gmail.com>
7845 * progmodes/cc-cmds.el (c-defun-name):
7846 Use match-string-no-properties instead for consistency.
7848 2012-07-20 Leo Liu <sdl.web@gmail.com>
7850 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7853 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7855 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7858 * progmodes/bug-reference.el, misearch.el: Provide themselves
7861 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7862 of narrowed buffer (bug#11966).
7864 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7866 * ses.el (ses-rename-cell): Set new name also in reference list of
7867 cells of which the renamed cell depends.
7869 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7871 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7872 to check whether menu-bar is shown or not. If not shown,
7873 show the menu-bar as a popup menu instead of using tmm.
7874 * mouse.el (popup-menu): Accept `point' as `position' argument.
7876 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7878 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7879 up inside string symbol literal (bug#11923).
7881 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7883 * startup.el (fancy-startup-text): Read the whole tutorial, not
7884 just its first 256 bytes. Prevents gibberish in display of the
7887 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7889 Drop idle buffer compaction due to an absence of the
7891 * compact.el: Remove.
7893 2012-07-19 Sam Steingold <sds@gnu.org>
7895 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7896 vc-bzr-pull & vc-bzr-merge-branch.
7897 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7898 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7899 for consistency with compilation-error-regexp-alist.
7900 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7901 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7902 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7903 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7905 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * emacs-lisp/chart.el: Use lexical-binding.
7908 (chart-emacs-storage): Don't hardcode the list of entries.
7910 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7912 Next round of tweaks caused by Fgarbage_collect changes.
7913 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7915 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7917 Compact buffers when idle.
7918 * compact.el: New file.
7920 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * subr.el (eventp): Presume that if it looks vaguely like an event,
7923 it's an event (bug#10190).
7925 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7927 Enhancements to ppss related code (thanks Stefan).
7928 * progmodes/python.el (python-indent-context)
7929 (python-indent-calculate-indentation, python-indent-dedent-line)
7930 (python-indent-electric-colon, python-nav-forward-block)
7931 (python-mode-abbrev-table)
7932 (python-info-assignment-continuation-line-p): Simplify checks
7934 (python-info-continuation-line-p): Cleanup.
7935 (python-info-ppss-context): Do not catch 'quote.
7936 (python-info-ppss-context-type)
7937 (python-info-ppss-comment-or-string-p): Simplify.
7939 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7941 * progmodes/python.el: Enhancements to eldoc support.
7942 (python-info-current-symbol): New function.
7943 (python-eldoc-at-point): Use python-info-current-symbol.
7944 (python-info-current-defun): Fix cornercase on first defun scan.
7945 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7946 and signal error when no inferior python process is available.
7948 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7950 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7951 assume it's always t.
7952 (vc-git-registered): Remove caching, the function is only called
7954 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7956 2012-07-18 Chong Yidong <cyd@gnu.org>
7958 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7960 * simple.el (count-words): Report on narrowing (Bug#9959).
7962 * bindings.el: Bind M-= to count-words.
7964 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7966 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7968 * progmodes/sh-script.el (sh-imenu-generic-expression):
7969 Capture a function with `function' keyword and without parentheses
7970 like "function FOO" (bug#11856).
7972 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7974 * window.el (split-window-sensibly): Make WINDOW argument
7977 2012-07-18 Chong Yidong <cyd@gnu.org>
7979 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7981 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7982 and make C-x 8 RET exit isearch (Bug#11439).
7984 * international/iso-transl.el: Move isearch-mode-map key
7985 definitions to isearch.el.
7987 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7990 (eieio-defclass): Use gv-define-setter when possible.
7992 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7994 Reflect recent changes in Fgarbage_collect.
7995 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7996 reflect new format of data returned by Fgarbage_collect.
7998 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8000 New utility functions + python-info-ppss-context fix (Bug#11910).
8001 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8002 (python-info-ppss-comment-or-string-p): New functions.
8003 (python-info-ppss-context): Small fix for string check.
8005 2012-07-17 Juri Linkov <juri@jurta.org>
8007 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8008 (dired-do-async-shell-command): Don't add `*' at the end of the
8009 command (Bug#11815).
8010 (dired-do-shell-command): Doc fix.
8011 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8012 Join the individual commands using either "&" or ";" as the
8013 separator depending on the values of these trailing characters.
8014 At the end re-add the trailing "&". (Bug#10598)
8016 * simple.el (async-shell-command): Sync the interactive spec with
8017 `shell-command'. Doc fix.
8018 (shell-command): Doc fix.
8020 2012-07-17 Juri Linkov <juri@jurta.org>
8022 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8024 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8026 Final renames and doc fixes for movement commands (bug#11899).
8027 * progmodes/python.el (python-nav-beginning-of-statement):
8028 Rename from python-nav-statement-start.
8029 (python-nav-end-of-statement): Rename from
8030 python-nav-statement-end.
8031 (python-nav-beginning-of-block): Rename from
8032 python-nav-block-start.
8033 (python-nav-end-of-block): Rename from python-nav-block-end.
8035 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8037 * progmodes/python.el (python-shell-send-string-no-output):
8038 Allow accept-process-output to quit, keeping shell process ready for
8039 future interactions (Bug#11868).
8041 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8045 * emacs-lisp/elint.el (elint-find-args-in-code):
8046 Use help-function-arglist, so as to handle lexical byte-code.
8048 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8051 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8054 Avoid spuriously marking the buffer as modified because of c-is-sws.
8056 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8057 as not-a-comment (bug#11946).
8059 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8060 for uninterned vars.
8062 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8063 Use read-event since we don't really want to read chars but bytes.
8065 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8066 $$..$$ but also $..$ using regexps (bug#11953).
8067 Use tex-verbatim for \url and \path.
8068 (tex-font-lock-keywords): Define as defconst like the others.
8069 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8071 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8073 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8074 alias for insert-char.
8076 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8078 * progmodes/python.el: Simplified imenu implementation.
8079 (python-nav-jump-to-defun): Remove command.
8080 (python-mode-map): Use `imenu' instead.
8081 (python-nav-list-defun-positions-cache)
8082 (python-imenu-include-defun-type, python-imenu-make-tree)
8083 (python-imenu-subtree-root-label, python-imenu-index-alist):
8085 (python-nav-list-defun-positions, python-nav-read-defun)
8086 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8087 (python-imenu-make-tree, python-imenu-create-index):
8089 (python-mode): Update to interact with imenu by setting
8090 `imenu-extract-index-name-function' only.
8092 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8094 * progmodes/python.el: Enhancements to navigation commands.
8095 (python-nav-backward-sentence)
8096 (python-nav-forward-sentence): Remove.
8097 (python-nav-backward-statement, python-nav-forward-statement)
8098 (python-nav-statement-start, python-nav-statement-end)
8099 (python-nav-backward-block, python-nav-forward-block)
8100 (python-nav-block-start, python-nav-block-end)
8101 (python-nav-forward-sexp-function)
8102 (python-info-current-line-comment-p)
8103 (python-info-current-line-empty-p): New functions.
8104 (python-indent-context): Use `python-nav-statement-start'.
8106 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8108 * eshell/em-ls.el (eshell/ls): Use `apply'.
8110 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8111 multi-hops, instead of Tramp internals.
8113 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8115 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8116 when F1 and F2 are located on different hosts.
8118 2012-07-14 Chong Yidong <cyd@gnu.org>
8120 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8121 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8122 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8123 (xterm-mouse--read-event-sequence-1000)
8124 (xterm-mouse--read-event-sequence-1006): New functions. For old
8125 mouse protocol, handle M-mouse-X events correctly.
8126 (xterm-mouse-event): New arg specifying mouse protocol.
8127 (turn-on-xterm-mouse-tracking-on-terminal)
8128 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8129 sequence to toggle extended coordinates on newer XTerms.
8130 This appears to be harmless on terminals which do not support this.
8132 2012-07-14 Leo Liu <sdl.web@gmail.com>
8134 Add fringe bitmap indicators for flymake. (Bug#11253)
8135 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8136 (flymake-make-overlay): New arg BITMAP.
8137 (flymake-error-bitmap, flymake-warning-bitmap)
8138 (flymake-fringe-indicator-position): New user variables.
8140 * fringe.el: New bitmap exclamation-mark.
8142 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8144 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8147 2012-07-14 Chong Yidong <cyd@gnu.org>
8149 * electric.el (electric-pair-post-self-insert-function): Fix pair
8150 insertion in empty-region case (Bug#11520).
8152 2012-07-14 Chong Yidong <cyd@gnu.org>
8154 * bindings.el: Consolidate ctl-x-r-map bindings.
8155 Bind copy-rectangle-as-kill to C-x r w.
8157 * rect.el, register.el: Move bindings to bindings.el.
8159 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8161 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8163 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8165 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8167 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8169 * bindings.el (top): Use `mapc' instead of `mapcar'.
8171 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8173 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8175 * progmodes/sql.el (sql-comint): Suppress the check for program on
8176 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8179 2012-07-13 Chong Yidong <cyd@gnu.org>
8181 * bindings.el: Assign a non-nil permanent-local property to
8182 per-buffer variables which lack a default value (Bug#11930).
8184 * help-fns.el (describe-variable): In the "automatically becomes
8185 local" notice, take note of permanent-local variables.
8187 2012-07-13 Chong Yidong <cyd@gnu.org>
8189 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8190 to allow printing the message when called from Lisp.
8192 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8193 Remove toggle-read-only.
8195 * bs.el (bs-toggle-readonly):
8196 * buff-menu.el (Buffer-menu-toggle-read-only):
8197 Remove with-no-warnings around toggle-read-only.
8199 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8200 Remove with-no-warnings around toggle-read-only.
8201 (ffap-read-only, ffap-read-only-other-window)
8202 (ffap-read-only-other-frame): Callers changed.
8204 * help-mode.el: Don't require view package.
8205 (help-mode-finish): Set buffer-read-only instead of calling
8208 * bindings.el (mode-line-toggle-read-only):
8209 * dired.el (dired-toggle-read-only):
8210 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8211 with non-nil second arg.
8213 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8214 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8217 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8219 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8222 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8224 More CL cleanups and reduction of use of cl.el.
8225 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8226 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8227 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8228 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8229 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8230 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8231 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8232 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8233 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8234 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8235 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8236 * eshell/em-cmpl.el, eshell/em-banner.el:
8237 * calendar/parse-time.el: Use cl-lib.
8238 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8239 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8240 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8241 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8242 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8243 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8244 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8245 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8246 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8247 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8248 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8249 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8250 `lambda' rather than with `quote'.
8251 (eshell-do-opt): Adjust accordingly.
8252 (eshell-process-option): Simplify.
8253 * eshell/esh-var.el:
8254 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8255 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8256 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8257 to `pcase--dontcare'.
8258 * emacs-lisp/cl.el (labels): Mark obsolete.
8259 (cl--letf, letf): Move to cl-lib.
8260 (cl--letf*, letf*): Remove.
8261 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8262 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8263 (cl-progv): Rewrite.
8264 (cl--letf, cl-letf): Move from cl.el.
8265 (cl-letf*): New macro.
8266 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8268 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8270 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8272 2012-07-11 Chong Yidong <cyd@gnu.org>
8274 * vc/log-edit.el (log-edit-vc-backend): New variable.
8275 (log-edit): Doc fix.
8277 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8278 argument of log-edit to set up all local variables.
8279 (vc-start-logentry): New optional arg specifying VC backend.
8281 * vc/vc.el (vc-checkin): Use it.
8282 (vc-deduce-fileset): Handle Log Edit buffers.
8283 (vc-diff): Make first argument optional too.
8285 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8287 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8289 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8290 command, just in case. The function is not needed anymore.
8291 (eshell-external-command): Do not call `eshell-remote-command'.
8293 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8295 Reduce use of (require 'cl).
8296 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8297 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8298 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8299 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8300 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8301 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8302 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8303 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8304 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8305 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8306 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8307 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8308 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8309 (byte-compile-unfold-bcf, byte-compile-check-variable):
8310 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8311 (byte-compile-nilconstp):
8312 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8313 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8315 * emacs-lisp/gv.el (cond): Make it a valid place.
8316 (if): Simplify slightly.
8318 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8319 (pcase--self-quoting-p): New function.
8320 (pcase--u1): Use it.
8322 2012-07-10 Glenn Morris <rgm@gnu.org>
8324 * emacs-lisp/authors.el (authors-fixed-entries):
8325 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8327 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8329 Rename configure.in to configure.ac (Bug#11603).
8330 * emacs-lisp/authors.el (authors-canonical-file-name):
8331 * progmodes/autoconf.el (autoconf-mode):
8332 Prefer configure.ac to configure.in.
8334 2012-07-08 Chong Yidong <cyd@gnu.org>
8336 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8337 Implement the mouse-1-click-follows-link handling properly.
8339 * info.el (Info-link-keymap): Use follow-link mechanism for
8340 header-line links (Bug#374).
8342 * simple.el (deactivate-mark): Do not set the primary selection
8343 if another program has acquired it (Bug#11772).
8345 2012-07-07 Kevin Ryde <user42@zip.com.au>
8347 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8348 (woman-decode-region): Replace escaped-escapes without destroying
8349 bold or underline (Bug#11552).
8350 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8352 2012-07-07 Chong Yidong <cyd@gnu.org>
8354 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8355 (interprogram-cut-function, interprogram-paste-function):
8356 Mention that we typically mean the clipboard.
8358 2012-07-06 Glenn Morris <rgm@gnu.org>
8360 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8362 * files.el (toggle-read-only): Restrict message to interactive use.
8364 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8366 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8368 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8370 2012-07-06 Glenn Morris <rgm@gnu.org>
8372 * Makefile.in (compile-one-process): Rename from "recompile".
8374 * Makefile.in (bzr-update): "compile" is the same as "recompile
8375 autoloads", but parallelizable, so use that instead.
8377 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8379 * window.el (quit-window): Always restore window height when
8380 it's saved in quit-restore parameter (Bug#11810).
8382 2012-07-06 Glenn Morris <rgm@gnu.org>
8384 * simple.el (kill-whole-line): Doc tweak.
8386 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8388 * files.el (file-relative-name): Compare file names
8389 case-insensitively if on MS-Windows or MS-DOS, or if
8390 read-file-name-completion-ignore-case is non-nil. Don't use
8391 case-fold-search for this purpose. (Bug#11827)
8393 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8395 * calendar/cal-dst.el (calendar-current-time-zone):
8396 Return calendar-current-time-zone-cache if non-nil.
8398 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8399 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8401 * calendar/cal-dst.el (calendar-current-time-zone):
8402 Return calendar-current-time-zone-cache if non-nil.
8404 2012-07-06 Glenn Morris <rgm@gnu.org>
8406 * Makefile.in (cvs-update): Remove old alias.
8408 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8410 Sync with Tramp 2.2.6-pre.
8412 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8413 compatible declaration.
8415 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8416 Protect `list-load-path-shadows' call.
8418 * net/tramp-compat.el (top): Require packages, which aren't
8419 autoloaded anymore for XEmacs. Protect call of
8420 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8421 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8422 it hurts at least for SXEmacs.
8423 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8424 standard-value for `temporary-file-directory'.
8426 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8427 Redirect stderr to /dev/null.
8428 (tramp-sh-handle-write-region): uid and gid can be floats.
8429 Reported by Russell Sim <russell.sim@gmail.com>.
8430 (tramp-sh-handle-vc-registered): Hide errors.
8431 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8432 and `start-file-process'.
8433 (tramp-maybe-open-connection): Check also whether `non-essential'
8436 2012-07-04 Chong Yidong <cyd@gnu.org>
8438 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8439 (xml-parse-tag): Likewise, and avoid changing entity tables.
8440 (xml-syntax-table): Define from scratch, making sure not to give
8441 x2000 and other Unicode spaces whitespace syntax, since those are
8443 (xml-parse-fragment): Delete unused function.
8444 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8445 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8446 (xml-entity-ref, xml-pe-reference-re)
8447 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8448 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8449 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8450 (xml-entity-value-re): Use syntax references in regexps where
8451 possible; no need to define inside a let-binding.
8452 (xml-parse-dtd): Use xml-pe-reference-re.
8453 (xml-entity-or-char-ref-re): New defconst.
8454 (xml-parse-string, xml-substitute-special): Use it.
8456 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8458 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8459 (find-file--read-only): New function.
8460 (find-file-read-only, find-file-read-only-other-window)
8461 (find-file-read-only-other-frame): Use it.
8462 (insert-file-contents-literally): Don't `fset'.
8463 (get-free-disk-space): Use locate-dominating-file.
8465 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8466 function is already compiled.
8468 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8470 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8472 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8473 files on the same host.
8475 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8477 * help-fns.el (describe-function-1): Only call
8478 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8480 2012-07-03 Chong Yidong <cyd@gnu.org>
8482 * xml.el: Protect parser against XML bombs.
8483 (xml-entity-expansion-limit): New variable.
8484 (xml-parse-string, xml-substitute-special): Use it.
8485 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8487 2012-07-03 Glenn Morris <rgm@gnu.org>
8489 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8490 Allow linking to specific messages in debbugs reports (eg 123#5).
8492 2012-07-02 Chong Yidong <cyd@gnu.org>
8494 * xml.el: Fix entity and character reference expansion, allowing
8495 them to expand into markup as per XML spec.
8496 (xml-default-ns): New variable.
8497 (xml-entity-alist): Use XML spec definitions for lt and amp.
8498 (xml-parse-region): Make first two arguments optional.
8499 Discard text properties.
8500 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8501 All callers changed.
8502 (xml-parse-tag): Call xml-parse-tag-1. For backward
8503 compatibility, this function should not modify buffer contents.
8504 (xml-parse-tag-1): Fix opening-tag regexp.
8505 (xml-parse-string): Rewrite, handling entity and character
8506 references properly.
8507 (xml--entity-replacement-text): Signal an error if a parameter
8508 entity is undefined.
8510 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8512 * comint.el (comint-output-filter): Filter out repeated prompts.
8514 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8515 and file-name-absolute-p.
8516 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8519 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8522 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8523 Rename from byte-compile--refiy-function. All uses changed.
8525 2012-07-01 Chong Yidong <cyd@gnu.org>
8527 * xml.el (xml--parse-buffer): New function. Move most of
8528 xml-parse-region here.
8529 (xml-parse-region): Copy region into a temporary buffer, since
8530 parameter entity substitution requires changing buffer contents.
8531 Use xml--parse-buffer.
8532 (xml-parse-file): Use xml--parse-buffer.
8533 (xml-parse-dtd): Make parameter entity substitution work right.
8534 Use proper regexps for ELEMENT declarations (Bug#7172).
8536 2012-06-30 Glenn Morris <rgm@gnu.org>
8538 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8540 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8541 Remove outdated and unnecessary dbus declarations.
8543 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8545 * emacs-lisp/timer.el (timer-until): Subtract results of
8546 float-time, instead of taking float-time of the result of
8547 time-subtract, since float-time signals an error for negative time
8550 2012-06-30 Chong Yidong <cyd@gnu.org>
8552 * xml.el (xml-*-re): Convert defvars into defconsts, and
8553 eval-and-compile them so eval-and-compile works on derivatives.
8554 (xml--entity-replacement-text): Use eval-and-comple.
8556 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8558 * vc/vc-git.el (vc-git-registered): Use cache property
8560 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8561 `vc-git-working-revision' in order to benefit from the cache.
8562 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8564 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8566 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8567 removed (likely outside Emacs). (Bug#11757)
8569 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8571 * emacs-lisp/cl-lib.el: Require macroexp.
8573 2012-06-30 Chong Yidong <cyd@gnu.org>
8575 * xml.el: Implement XML parameter entities.
8576 (xml-parameter-entity-alist): New variable.
8577 (xml-parse-region, xml-parse-fragment): Preserve previous values
8578 of xml-entity-alist and xml-parameter-entity-alist, so that
8579 repeated calls on different documents do not change them.
8580 (xml-parse-tag): Fix doctype regexp.
8581 (xml--entity-replacement-text): New function.
8582 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8583 properly requires url retrieval which is unimplemented.
8584 (xml-escape-string): Doc fix.
8586 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8590 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8592 * fringe.el (fringe-mode): Doc fix.
8594 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8596 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8598 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8599 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8601 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8603 * calendar/cal-dst.el (calendar-current-time-zone):
8604 Return calendar-current-time-zone-cache if non-nil.
8606 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8608 * progmodes/which-func.el (which-func-format):
8609 Add mouse-face. (Bug#11698)
8611 2012-06-29 Leo Liu <sdl.web@gmail.com>
8613 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8615 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * minibuffer.el (minibuffer-confirm-exit-commands):
8618 Add completion-at-point (bug#11725).
8620 2012-06-29 Glenn Morris <rgm@gnu.org>
8622 * progmodes/f90.el (f90-font-lock-keywords-2):
8623 Add some preprocessor elements. (Bug#10499)
8625 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8628 Use syntax-propertize (bug#11739).
8630 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8632 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8634 2012-06-28 Julien Danjou <julien@danjou.info>
8636 * term.el (term-handle-colors-array): Use a set of new faces to
8637 color the terminal. Also uses :inverse-video property.
8638 (term-default-fg-color): Set to nil by default, deprecate in favor
8640 (term-default-bg-color): Set to nil by default, deprecate in favor
8642 (term-current-face): Use `term-face' by default.
8643 (term-bold-attribute): Variable deleted.
8645 2012-06-28 Glenn Morris <rgm@gnu.org>
8647 * simple.el (completion-list-mode-finish):
8648 Don't use toggle-read-only. (Since completion-list-mode has
8649 a special mode-class, it wasn't doing anything extra anyway.)
8651 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8653 Make inlining of other-mode interpreted functions work (bug#11799).
8654 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8655 (byte-compile): Use it to fix compilation of lexical-binding closures.
8656 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8657 function, if needed.
8659 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * help-mode.el (help-make-xrefs): Don't just withstand
8662 cyclic-variable-indirection but any error in documentation-property.
8664 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8666 * bindings.el (bindings--define-key): New function.
8667 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8668 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8669 * bindings.el: Use it to purecopy define-key bindings.
8671 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8673 * emacs-lisp/cl.el (flet): Mark obsolete.
8674 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8675 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8676 * progmodes/js.el (js-c-fill-paragraph):
8677 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8678 (ebrowse-switch-member-buffer-to-derived-class):
8679 * play/5x5.el (5x5-solver): Use cl-flet.
8681 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8682 (cl--symbol-function): New macro.
8683 (cl--letf, cl--letf*): Use it.
8685 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8686 Strip "toggle-" if any.
8688 2012-06-27 Glenn Morris <rgm@gnu.org>
8690 * info.el (Info-default-directory-list): Move here from paths.el.
8691 * paths.el: Remove file, which is now empty.
8692 * loadup.el: No longer load "paths".
8694 * custom.el (custom-initialize-delay): Doc fix.
8696 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8697 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8698 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8699 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8700 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8701 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8702 * eshell/eshell.el (eshell-defgroup): Remove alias.
8704 2012-06-27 Chong Yidong <cyd@gnu.org>
8706 * help.el (help-enable-auto-load): New variable.
8708 * help-fns.el (help-fns--autoloaded-p): New function.
8709 (describe-function-1): Refer to a function as "autoloaded" if it
8710 was autoloaded at any time in the past. Perform autoloading if
8711 help-enable-auto-load is non-nil.
8713 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8715 * makefile.w32-in (compile, compile-always): Depend on
8716 update-subdirs, not on subdirs.el. Otherwise, several different
8717 sub-targets of 'bootstrap' running in parallel could
8718 simultaneously write to subdirs.el, producing a garbled file.
8720 2012-06-26 Sam Steingold <sds@gnu.org>
8722 * files.el (file-name-base): New convenience function.
8723 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8724 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8725 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8726 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8727 * textmodes/ispell.el, textmodes/reftex-ref.el:
8728 * textmodes/tex-mode.el: Use it.
8729 Did not touch cedet and org because they are maintained elsewhere.
8731 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8733 * calendar/calendar.el (calendar-exit): Don't try to delete or
8734 iconify last frame. See:
8735 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8737 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8739 * server.el (server-process-filter): Remember dir in the
8740 process's `server-client-directory' properties.
8742 2012-06-24 Chong Yidong <cyd@gnu.org>
8744 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8747 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8749 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8751 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * help-fns.el (describe-variable): Don't croak when doc is not found.
8754 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8755 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8756 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8757 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8758 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8760 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8762 2012-06-23 Chong Yidong <cyd@gnu.org>
8764 * info.el (Info-mouse-follow-link): Accept symbol values of
8765 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8766 (Info-fontify-node): Use Info-link-keymap for all navigation
8767 buttons, with link-args property to perform the desired action.
8768 (Info-link-keymap): Doc fix.
8769 (Info-next-link-keymap, Info-prev-link-keymap)
8770 (Info-up-link-keymap): Delete now-unused keymaps.
8772 2012-06-23 Chong Yidong <cyd@gnu.org>
8774 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8776 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8779 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8781 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8786 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8787 the requote function doesn't work properly (bug#11714).
8789 2012-06-23 Glenn Morris <rgm@gnu.org>
8791 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8793 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8795 Further GV/CL cleanups.
8796 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8798 (gv--defun-declaration): New function.
8799 (defun-declarations-alist): Use it.
8800 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8801 (gv-place): Autoload.
8802 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8803 original definition of dotimes and dolist.
8804 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8805 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8806 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8807 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8808 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8809 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8810 to the function's definition.
8811 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8815 * env.el: Don't use CL.
8817 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8819 Support higher-resolution time stamps (Bug#9000).
8821 * calendar/time-date.el (with-decoded-time-value): New arg
8822 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8823 (encode-time-value): New optional arg PICO. New type 3.
8824 (time-to-seconds) [!float-time]: Support the new picoseconds
8825 component if it's used.
8826 (seconds-to-time, time-subtract, time-add):
8827 Support ps-resolution time stamps as well.
8829 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8830 (timerp): Timer vectors now have length 9, not 8.
8831 (timer--time): Support new-style (4-part) time stamps.
8832 (timer-next-integral-multiple-of-time): Time stamps now have
8833 picosecond resolution, so take a bit more care about rounding.
8834 (timer-relative-time, timer-inc-time): New optional arg psecs.
8835 (timer-set-time-with-usecs): Set psecs to 0.
8836 (timer--activate): Check psecs component, too.
8838 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8840 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8843 Move the non-essential binding to the post/pre-command-hook where it is
8844 more obviously correct.
8846 * subr.el (read-passwd): Don't use a history at all.
8847 * savehist.el (savehist-save): Remove password saved accidentally
8848 because of the above bug.
8850 2012-06-22 Bastien Guerry <bzg@gnu.org>
8852 * files.el (toggle-read-only): Display a message telling whether
8853 the buffer is read-only or not (bug#11726).
8855 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * emacs-lisp/gv.el: New file.
8858 * subr.el (push, pop): Extend to generalized variables.
8859 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8860 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8861 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8862 gv-define-simple-setter, and gv-define-expander.
8863 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8864 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8865 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8866 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8867 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8869 (cl-defstruct): Don't define setf-method any more.
8870 * emacs-lisp/cl.el (flet): Don't autoload.
8871 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8872 (define-setf-expander, defsetf, define-modify-macro)
8873 (cl-struct-setf-expander): Move from cl-lib.el.
8874 * emacs-lisp/syntax.el:
8875 * emacs-lisp/ewoc.el:
8876 * emacs-lisp/smie.el:
8877 * emacs-lisp/cconv.el:
8878 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8879 (timer--time): Use gv-define-simple-setter.
8880 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8881 to avoid coding-system problems in subr.el. Adjust all users.
8882 (macroexp--maxsize, macroexp-small-p): New functions.
8883 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8884 * scroll-bar.el (scroll-bar-mode):
8885 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8886 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8887 * winner.el (winner-configuration, winner-make-point-alist)
8888 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8889 * files.el (locate-file-completion-table): Avoid list*.
8891 2012-06-22 Chong Yidong <cyd@gnu.org>
8893 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8894 (dired-create-files): Doc fix (Bug#11329).
8895 (dired-do-copy): Doc fix (Bug#11334).
8896 (dired-mark-read-string): Doc fix (Bug#11553).
8898 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8899 Doc fix (Bug#11326).
8900 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8901 (dired-dwim-target): Doc fix.
8903 * wdired.el (wdired-mode): Doc fix.
8905 2012-06-22 Glenn Morris <rgm@gnu.org>
8907 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8908 (pcmpl-rpm-cache-stamp-file): New constant.
8909 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8910 (pcmpl-rpm-packages): Optionally cache list of packages.
8912 * pcmpl-rpm.el (pcmpl-rpm): New group.
8913 (pcmpl-rpm-query-options): New option.
8914 (pcmpl-rpm-packages): No need to inline it.
8915 Use pcmpl-rpm-query-options.
8917 * calendar/calendar.el (calendar-in-read-only-buffer):
8918 Avoid some needless mode changes.
8920 2012-06-21 Chong Yidong <cyd@gnu.org>
8922 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8923 (desktop-path): Remove . from the default value (Bug#10977).
8924 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8926 2012-06-20 Chong Yidong <cyd@gnu.org>
8928 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8930 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8932 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8935 2012-06-20 Chong Yidong <cyd@gnu.org>
8937 * term.el (term-window-width): Handle the case of a missing right
8939 (term-check-size): Use window-text-height (Bug#5445).
8940 (term-mode): Use define-derived-mode. Minor cleanups.
8941 Set font-lock-defaults (Bug#7692).
8942 (term-move-columns, term-insert-char, term-emulate-terminal)
8943 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8945 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8947 * net/ange-ftp.el (ange-ftp-get-passwd):
8948 Bind `enable-recursive-minibuffers'.
8949 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8951 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8953 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8955 2012-06-19 Glenn Morris <rgm@gnu.org>
8957 * progmodes/python.el (python-mode): Derive from prog-mode.
8959 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8961 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8962 (edt-user-menu-bar-update-buffers): New functions.
8963 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8965 2012-06-19 Chong Yidong <cyd@gnu.org>
8967 * subr.el (with-selected-window): Preserve the selected window's
8968 terminal's top-frame (Bug#4702).
8970 * window.el (save-selected-window): Likewise.
8972 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * progmodes/python.el (python-rx-constituents): Move backquote.
8975 (python-skeleton-define, python-define-auxiliary-skeleton):
8978 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8980 * minibuffer.el (read-file-name-default): Revert the patch from
8983 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8986 (pcase--u1, pcase--q1): Don't use apply-partially.
8988 2012-06-18 Glenn Morris <rgm@gnu.org>
8990 * progmodes/python.el (python-proc, python-buffer)
8991 (python-send-receive, python-send-string): Fix obsolete versions.
8993 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8995 * window.el (special-display-p): Completely remove stringp
8996 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8998 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9000 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9002 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9004 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9005 * net/tramp-sh.el (tramp-maybe-open-connection):
9006 Throw if `non-essential' is non-nil.
9008 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9010 * window.el (special-display-p): Signal an error if BUFFER-NAME
9011 is not a string (Bug#11713).
9013 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9015 * progmodes/python.el (python-info-beginning-of-backslash):
9016 Rename from python-info-beginning-of-backlash, as a spelling fix.
9018 2012-06-17 Chong Yidong <cyd@gnu.org>
9020 * term.el (term-emulate-terminal): If term-check-size is called,
9021 move point to the process mark without resetting point (Bug#4635).
9023 2012-06-17 Glenn Morris <rgm@gnu.org>
9025 * international/mule-cmds.el (mule-menu-keymap)
9026 (set-language-environment, set-locale-environment): Doc tweaks.
9028 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9030 * cus-face.el (custom-face-attributes): Add wave-style underline
9032 * faces.el (set-face-attribute): Update docstring to describe
9033 wave-style underline attribute.
9035 2012-06-16 Chong Yidong <cyd@gnu.org>
9037 * term/xterm.el (terminal-init-xterm): Discard input before
9038 querying background mode (Bug#10959).
9040 2012-06-16 Stefan Merten <smerten@oekonux.de>
9042 * textmodes/rst.el: Added and corrected some comments.
9043 (rst-re-alist-def): Improve symbol syntax.
9044 (rst-mode-syntax-table): Correct syntax entries.
9045 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9046 (rst-official-version, rst-official-cvs-rev): Update version
9049 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9051 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9052 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9054 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9056 * progmodes/python.el: New python.el merge.
9057 (python-guess-indent): Obsolete var.
9058 (python-indent-guess-indent-offset): New defcustom.
9059 (python-indent): Obsolete var.
9060 (python-indent-offset): New defcustom.
9061 (python-python-command, python-jython-command): Delete var.
9062 (python-shell-interpreter): New defcustom.
9063 (python-pdbtrack-do-tracking-p): Delete var.
9064 (python-pdbtrack-activate): New defcustom.
9065 (python-use-skeletons): Obsolete var.
9066 (python-skeleton-autoinsert): New defcustom.
9067 (inferior-python-filter-regexp, python-continuation-offset)
9068 (python-honour-comment-indentation, python-indent-string-contents)
9069 (python-jython-packages, python-mode-hook)
9070 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9071 (python-shell-prompt-alist)
9072 (python-source-modes): Delete defcustoms.
9073 (python-check-buffer-name, python-eldoc-setup-code)
9074 (python-eldoc-string-code, python-ffap-setup-code)
9075 (python-ffap-string-code, python-fill-comment-function)
9076 (python-fill-decorator-function, python-fill-paren-function)
9077 (python-fill-string-function, python-imenu-include-defun-type)
9078 (python-imenu-make-tree, python-imenu-subtree-root-label)
9079 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9080 (python-shell-compilation-regexp-alist)
9081 (python-shell-completion-module-string-code)
9082 (python-shell-completion-pdb-string-code)
9083 (python-shell-completion-setup-code)
9084 (python-shell-completion-string-code)
9085 (python-shell-enable-font-lock, python-shell-exec-path)
9086 (python-shell-extra-pythonpaths)
9087 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9088 (python-shell-process-environment)
9089 (python-shell-prompt-block-regexp)
9090 (python-shell-prompt-output-regexp)
9091 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9092 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9093 (python-shell-virtualenv-path): New defcustoms.
9094 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9095 (inferior-python-mode-syntax-table, python--prompt-regexp)
9096 (python-buffer, python-command python-python-command)
9097 (python-default-template, python-imports, python-indent-index)
9098 (python-indent-list, python-indent-list-length)
9099 (python-mode-running, python-pdbtrack-is-tracking-p)
9100 (python-preoutput-continuation, python-preoutput-leftover)
9101 (python-preoutput-result, python-preoutput-skip-next-prompt)
9102 (python-prev-dir/file, python-recursing)
9103 (python-saved-check-command, python-version-checked)
9104 (python-which-func-length-limit)
9105 (view-return-to-alist): Delete vars.
9106 (python-check-custom-command, python-dotty-syntax-table)
9107 (python-imenu-index-alist, python-indent-current-level)
9108 (python-indent-dedenters, python-indent-levels)
9109 (python-nav-beginning-of-defun-regexp)
9110 (python-nav-list-defun-positions-cache)
9111 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9112 (python-shell-internal-buffer)
9113 (python-skeleton-available): New vars.
9114 (def-python-skeleton): Delete macro.
9115 (python-skeleton-define): New macro.
9116 (python-define-auxiliary-skeleton, python-rx): New macros.
9117 (python-insert-class): Delete command.
9118 (python-skeleton-class): New command.
9119 (python-insert-def): Delete command.
9120 (python-skeleton-def): New command.
9121 (python-insert-for): Delete command.
9122 (python-skeleton-for): New command.
9123 (python-insert-if): Delete command.
9124 (python-skeleton-if): New command.
9125 (python-insert-try/except, python-insert-try/finally): Delete commands.
9126 (python-skeleton-try): New command.
9127 (python-insert-while): Delete command.
9128 (python-skeleton-while): New command.
9129 (python-backspace): Delete command.
9130 (python-indent-dedent-line-backspace): New command.
9131 (python-electric-colon): Delete command.
9132 (python-indent-electric-colon): New command.
9133 (python-guess-indent): Delete command.
9134 (python-indent-guess-indent-offset): New command.
9135 (python-shift-left): Delete command.
9136 (python-indent-shift-left): New command.
9137 (python-shift-right): Delete command.
9138 (python-indent-shift-right): New command.
9139 (python-find-function): Delete command.
9140 (python-nav-jump-to-defun): New command.
9141 (python-next-statement): Delete command.
9142 (python-nav-forward-sentence): New command.
9143 (python-previous-statement): Delete command.
9144 (python-nav-backward-sentence): New command.
9145 (python-fill-paragraph): Delete command.
9146 (python-fill-paragraph-function): New command.
9147 (python-send-buffer): Delete command.
9148 (python-shell-send-buffer): New command.
9149 (python-send-defun): Delete command.
9150 (python-shell-send-defun): New command.
9151 (python-send-region, python-send-region-and-go): Delete commands.
9152 (python-shell-send-region)
9153 (python-shell-switch-to-shell): New commands.
9154 (python-send-string): Delete command.
9155 (python-shell-send-string): New command.
9156 (python-switch-to-python): Delete command.
9157 (python-shell-switch-to-shell): New command.
9158 (python-describe-symbol): Delete command.
9159 (python-eldoc-at-point): New command.
9160 (python--set-prompt-regexp, python-args-to-list)
9161 (python-after-info-look, python-check-version)
9162 (python-check-comint-prompt, python-find-imports)
9163 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9164 (python-unload-function, python-expand-template)
9165 (python-maybe-jython, python-preoutput-filter)
9166 (python-pdbtrack-get-source-buffer)
9167 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9168 (python-pdbtrack-toggle-stack-tracking)
9169 (python-pdbtrack-track-stack-file, python-initial-text)
9170 (python-first-word, python-comment-line-p, python-send-command)
9171 (python-setup-brm, python-sentinel, python-set-proc)
9172 (python-skip-out, python-input-filter, python-outdent-p)
9173 (python-outline-level, python-backslash-continuation-line-p)
9174 (python-end-of-block, python-end-of-statement, python-mark-block)
9175 (python-beginning-of-block, python-beginning-of-statement)
9176 (python-blank-line-p, python-beginning-of-string)
9177 (python-open-block-statement-p): Delete functions.
9178 (python-indent-line, python-indent-line-1): Delete functions.
9179 (python-indent-line): New function.
9180 (python-indentation-levels): Delete function.
9181 (python-indent-calculate-levels): New function.
9182 (python-proc): Delete function.
9183 (python-shell-get-process): New function.
9184 (python-send-receive): Delete function.
9185 (python-shell-send-string-no-output): New function.
9186 (python-module-path): Delete function.
9187 (python-ffap-module-path): New function.
9188 (python-completion-at-point)
9189 (python-symbol-completions): Delete functions.
9190 (python-completion-complete-at-point): New function.
9191 (python-load-file): Delete function.
9192 (python-shell-send-file): New function.
9193 (python-calculate-indentation): Delete function.
9194 (python-indent-calculate-indentation): New function.
9195 (python-skip-comments/blanks): Delete function.
9196 (python-util-forward-comment): New function.
9197 (python-continuation-line-p): Delete function.
9198 (python-info-continuation-line-p): New function.
9199 (python-which-func, python-current-defun): Delete function.
9200 (python-info-current-defun): New function.
9201 (python-beginning-of-defun): Delete function.
9202 (python-nav-beginning-of-defun): New function.
9203 (python-close-block-statement-p)
9204 (python-block-end-p): Delete function.
9205 (python-info-closing-block): New function.
9206 (python-comint-output-filter-function)
9207 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9208 (python-fill-comment, python-fill-decorator, python-fill-paren)
9209 (python-fill-string, python-imenu-make-element-tree)
9210 (python-imenu-make-tree, python-imenu-tree-assoc)
9211 (python-indent-context, python-indent-dedent-line)
9212 (python-indent-line-function)
9213 (python-indent-post-self-insert-function)
9214 (python-indent-toggle-levels)
9215 (python-info-assignment-continuation-line-p)
9216 (python-info-beginning-of-backlash)
9217 (python-info-block-continuation-line-p)
9218 (python-info-closing-block-message)
9219 (python-info-line-ends-backslash-p)
9220 (python-info-looking-at-beginning-of-defun)
9221 (python-info-ppss-context, python-info-ppss-context-type)
9222 (python-nav-list-defun-positions, python-nav-read-defun)
9223 (python-nav-sentence-end, python-nav-sentence-start)
9224 (python-pdbtrack-comint-output-filter-function)
9225 (python-pdbtrack-set-tracked-buffer)
9226 (python-shell-calculate-exec-path)
9227 (python-shell-calculate-process-environment)
9228 (python-shell-completion--do-completion-at-point)
9229 (python-shell-completion--get-completions)
9230 (python-shell-completion-complete-at-point)
9231 (python-shell-completion-complete-or-indent)
9232 (python-shell-get-or-create-process)
9233 (python-shell-get-process-name)
9234 (python-shell-internal-get-or-create-process)
9235 (python-shell-internal-get-process-name)
9236 (python-shell-internal-send-string, python-shell-make-comint)
9237 (python-shell-parse-command, python-shell-send-setup-code)
9238 (python-skeleton-add-menu-items)
9239 (python-util-clone-local-variables, python-util-position)
9240 (run-python-internal, python-indentation-levels)
9241 (python-nav-beginning-of-defun)
9242 (python-completion-complete-at-point): New functions.
9243 (run-python): Change arguments. New API requirements.
9245 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9247 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9250 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9251 (macroexp--expand-all): Use it.
9253 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9254 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9255 Use `cl-function' instead.
9257 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9259 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9260 Suggested by Stefan Monnier while discussing bug#11657.
9262 2012-06-14 Sam Steingold <sds@gnu.org>
9264 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9266 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9268 * play/doctor.el (doctor-doc): Remove parameter and use
9269 doctor-sent instead of sent.
9270 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9272 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * files.el: Require cl-lib.
9275 (file-name-non-special): Replace case -> cl-case.
9277 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9279 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9280 mapping from #' to function*.
9282 2012-06-13 Chong Yidong <cyd@gnu.org>
9284 * mouse.el (mouse-drag-track): Do not set the mark if the user
9285 releases the mouse without selecting anything (Bug#11588).
9287 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9290 as well (bug#11646).
9292 * loadup.el: Count byte-code functions as well.
9294 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9295 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9297 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9298 (bug#11649). Add cl-defun and cl-defmacro.
9300 2012-06-13 Drew Adams <drew.adams@oracle.com>
9302 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9305 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9307 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9308 Otherwise, it blocks in batch mode.
9310 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9312 * help-mode.el (bookmark-make-record-default): Declare.
9314 2012-06-13 Chong Yidong <cyd@gnu.org>
9316 * emacs-lisp/package.el (list-packages): Compute a list of
9317 packages that are newly-available since the last list-packages
9319 (package-menu--new-package-list): New var.
9320 (package-menu--generate, package-menu--print-info)
9321 (package-menu--status-predicate, package-menu-mark-install):
9322 Handle new status label "new".
9324 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9326 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9327 conversion to backquotes.
9329 2012-06-12 Chong Yidong <cyd@gnu.org>
9331 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9332 Rename from gud-inhibit-global-bindings.
9334 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9336 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9337 hook from nxml-glyph-set-hook.
9339 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9342 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9344 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9345 Convert to defcustom.
9347 2012-06-12 Drew Adams <drew.adams@oracle.com>
9349 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9351 (help-mode): Use them.
9353 2012-06-11 Glenn Morris <rgm@gnu.org>
9355 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9356 Use preprocessor face for directives.
9357 (fortran-directive-re): Doc fix.
9359 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9362 conversion to backquotes (bug#11652).
9364 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9365 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9366 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9367 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9368 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9369 (cl-ninth, cl-tenth): Mark them as inlinable.
9370 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9371 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9372 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9373 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9374 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9375 (cl-list*, cl-adjoin): Don't put an autoload manually.
9376 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9377 (cl--compiler-macro-list*): Add autoload cookie.
9378 (cl--compiler-macro-cXXr): New function.
9380 * help-fns.el (help-fns--compiler-macro): New function extracted from
9381 describe-function-1; follow aliases and use `compiler-macro' property.
9382 (describe-function-1): Use it.
9384 2012-06-11 Chong Yidong <cyd@gnu.org>
9386 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9387 is uninstalled, if imagemagick is installed.
9389 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9391 * emacs-lisp/cl-lib.el: Use lexical-binding.
9392 (cl-map-extents, cl-maclisp-member): Remove.
9393 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9394 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9395 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9396 * emacs-lisp/cl-extra.el: Use lexical-binding.
9397 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9398 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9399 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9400 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9401 * emacs-lisp/cl-seq.el: Use lexical-binding.
9402 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9403 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9404 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9405 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9406 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9409 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9411 Sync with Tramp 2.2.6-pre.
9413 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9414 `print-length' and `print-level' to nil, in order to avoid
9415 truncation. Reported by Christopher Schmidt
9416 <christopher@ristopher.com>.
9418 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9420 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9422 (tramp-compat-copy-directory): Add optional argument
9423 COPY-CONTENTS. It is not handled yet.
9425 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9426 (tramp-ftp-file-name-p): Simplify.
9428 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9429 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9432 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9433 (tramp-methods): Do not use `tramp-password-end-of-line'.
9434 (tramp-completion-function-alist-putty): Handle UNIX case.
9435 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9436 (tramp-do-file-attributes-with-stat)
9437 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9438 gid as real numbers. They could run out of integer range on cygwin.
9439 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9440 (tramp-sh-handle-expand-file-name): Handle hops.
9441 (tramp-open-connection-setup-interactive-shell):
9442 Use `tramp-cleanup'. Move check for busyboxes ...
9443 (tramp-find-shell): ... here. Simplify implementation.
9444 Set "remote-shell" property also for alternative shells.
9445 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9446 If failing, a regular file would be written otherwise.
9447 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9448 (tramp-find-inline-encoding): Cache the coding commands in the
9449 process cache. Apply test command on the remote side, if defined.
9450 (tramp-find-inline-compress): Cache the compress commands in the
9452 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9453 when requested. Handle hops.
9454 (tramp-current-connection): New defvar.
9455 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9456 Throw `suppress', if there was a failed connection shortly before.
9457 Handle user interrupt. (Bug#10187)
9458 (tramp-get-inline-compress, tramp-get-inline-coding):
9459 Read connection properties from the process cache.
9461 * net/tramp-smb.el (tramp-smb-server-version)
9462 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9464 (tramp-smb-prompt): Extend for powershell prompt.
9465 (tramp-smb-file-name-handler-alist): Add handlers for
9466 `process-file', `shell-command' and `start-file-process'.
9467 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9468 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9469 (tramp-smb-file-name-p): Simplify.
9470 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9471 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9472 (tramp-smb-shell-quote-argument): New defuns.
9473 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9474 Implement using "tar". By this, time-stamps are preserved.
9475 (tramp-smb-handle-copy-file): Handle also the case of directories.
9476 (tramp-smb-do-file-attributes-with-stat)
9477 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9478 Use `tramp-get-connection-buffer').
9479 (tramp-smb-handle-rename-file): Use "rename", when source and
9480 target are on the same share.
9481 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9482 Use `tramp-smb-server-version'.
9483 (tramp-smb-wait-for-output): Remove prompt.
9485 * net/tramp.el (top): Require 'cl.
9486 (tramp-methods, tramp-rsh-end-of-line):
9487 Remove `tramp-password-end-of-line' from docstring.
9488 (tramp-save-ad-hoc-proxies): New defcustom.
9489 (tramp-completion-function-alist): Adapt docstring.
9490 (tramp-default-password-end-of-line): Remove defcustom.
9491 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9492 (tramp-user-regexp, tramp-file-name-regexp-unified)
9493 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9494 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9495 (tramp-remote-file-name-spec-regexp): New defconst.
9496 (tramp-file-name-structure): Extend structure for hops.
9497 (tramp-get-method-parameter): Move up.
9498 (tramp-file-name-p, tramp-dissect-file-name)
9499 (with-parsed-tramp-file-name): Handle hops.
9500 (tramp-file-name-hop): New defun.
9501 (tramp-make-tramp-file-name): New optional arg HOP.
9502 (tramp-message-show-progress-reporter-message): New defvar.
9503 (tramp-with-progress-reporter): Use it. We cannot use
9504 `tramp-message-show-message' here, because this suppresses also
9506 (tramp-error-with-buffer): Suppress buffer view, if
9507 `tramp-message-show-message' is nil.
9508 Use `tramp-get-connection-buffer'.
9509 (tramp-cleanup): New defun.
9510 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9511 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9513 (tramp-completion-handle-file-name-all-completions): Handle hops.
9514 Fix an error when called from ido.
9515 (tramp-completion-dissect-file-name): Use better local variable
9516 name. Add hop to the vector.
9517 (tramp-handle-insert-file-contents): Use progress-reporter for the
9519 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9521 (tramp-check-for-regexp): Simplify search.
9522 (tramp-enter-password): Remove it. Move implementation ...
9523 (tramp-action-password): ... here.
9524 (tramp-mode-string-to-int, tramp-local-host-p)
9525 (tramp-make-tramp-temp-file, tramp-read-passwd)
9526 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9527 Set tramp-autoload cookie.
9529 * net/trampver.el: Update release number.
9531 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9532 Michael Albinus <michael.albinus@gmx.de>
9534 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9535 (tramp-parse-group, tramp-parse-file)
9536 (tramp-parse-shostkeys-sknownhosts): New defuns.
9537 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9538 (tramp-parse-shosts-group, tramp-parse-sconfig)
9539 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9540 (tramp-parse-sknownhosts, tramp-parse-hosts)
9541 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9543 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9544 (tramp-parse-putty-group): Don't narrow.
9545 (tramp-parse-putty): Make a loop.
9546 (tramp-file-name-handler): Catch the `suppress' signal.
9548 2012-06-11 Chong Yidong <cyd@gnu.org>
9550 * image.el (imagemagick-register-types): Put the ImageMagick entry
9551 at the end of image-type-file-name-regexps.
9553 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9555 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9556 (pcase, pcase-let*, pcase-dolist): Use them.
9558 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * emacs-lisp/pcase.el (pcase--let*): New function.
9561 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9562 (pcase--expand): Use macroexp-let².
9564 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9567 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9568 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9569 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9570 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9571 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9573 2012-06-10 Glenn Morris <rgm@gnu.org>
9575 * mail/rmail.el (rmail-yank-current-message): Leave point at
9576 correct position. (Bug#11660)
9578 2012-06-10 Chong Yidong <cyd@gnu.org>
9580 * allout-widgets.el: Fix code header.
9582 2012-06-10 Chong Yidong <cyd@gnu.org>
9584 * cus-edit.el (customize-changed-options-previous-release):
9587 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9589 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9591 2012-06-09 Chong Yidong <cyd@gnu.org>
9593 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9595 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (special-display-popup-frame): Don't use
9598 window--display-buffer (Bug#11651).
9600 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9602 Fix parallel builds: make sure loaddefs.el is not being written
9603 while Lisp files are compiled.
9604 (compile): Don't depend on 'mh-autoloads'.
9605 (compile-CMD, compile-SH): Depend on 'autoloads'.
9606 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9608 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9610 2012-06-09 Chong Yidong <cyd@gnu.org>
9612 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9613 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9614 Doc fixes (Bug#11225).
9616 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9618 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9619 a function if there's a clear indication that it has a compiler-macro.
9620 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9621 (macro-declarations-alist): Add arglist to declaration functions.
9622 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9623 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9624 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9625 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9626 Also add autoload to find the compiler macro.
9627 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9628 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9629 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9630 (cl--compiler-macro-get): New functions, replacing calls to
9631 cl-define-compiler-macro.
9632 (cl-typep) [compiler-macro]: Use macroexp-let².
9634 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9636 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9637 string properly, fixes Bug#11473.
9639 2012-06-08 Chong Yidong <cyd@gnu.org>
9641 * faces.el (set-face-attribute): Doc fix.
9642 (modify-face): Don't use :bold and :italic.
9643 (error, warning, success): Tweak definitions.
9645 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9646 (custom-modified, custom-set, custom-changed, custom-themed)
9647 (custom-saved, custom-button, custom-button-mouse)
9648 (custom-button-pressed, custom-state, custom-comment-tag)
9649 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9650 (custom-group-subtitle): Use new-style face specs.
9651 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9652 (custom-set-face, custom-changed-face, custom-saved-face)
9653 (custom-button-face, custom-button-pressed-face)
9654 (custom-documentation-face, custom-state-face)
9655 (custom-comment-face, custom-comment-tag-face)
9656 (custom-variable-tag-face, custom-variable-button-face)
9657 (custom-face-tag-face, custom-group-tag-face-1)
9658 (custom-group-tag-face): Remove obsolete face alias.
9660 * epa.el (epa-validity-high, epa-validity-medium)
9661 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9662 (epa-field-name, epa-field-body):
9663 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9664 (font-lock-keyword-face, font-lock-builtin-face)
9665 (font-lock-function-name-face, font-lock-variable-name-face)
9666 (font-lock-type-face, font-lock-constant-face):
9667 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9668 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9669 * speedbar.el (speedbar-button-face, speedbar-file-face)
9670 (speedbar-directory-face, speedbar-tag-face)
9671 (speedbar-selected-face, speedbar-highlight-face)
9672 (speedbar-separator-face):
9673 * whitespace.el (whitespace-newline, whitespace-space)
9674 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9675 (whitespace-line, whitespace-space-before-tab)
9676 (whitespace-space-after-tab, whitespace-indentation)
9678 * emulation/cua-base.el (cua-global-mark):
9679 * eshell/em-prompt.el (eshell-prompt):
9680 * net/newst-plainview.el (newsticker-new-item-face)
9681 (newsticker-old-item-face, newsticker-immortal-item-face)
9682 (newsticker-obsolete-item-face, newsticker-date-face)
9683 (newsticker-statistics-face, newsticker-default-face):
9684 * net/newst-reader.el (newsticker-feed-face)
9685 (newsticker-extra-face, newsticker-enclosure-face):
9686 * net/newst-treeview.el (newsticker-treeview-face)
9687 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9688 (newsticker-treeview-immortal-face)
9689 (newsticker-treeview-obsolete-face)
9690 (newsticker-treeview-selection-face):
9691 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9692 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9693 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9694 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9695 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9696 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9697 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9699 * progmodes/vera-mode.el (vera-font-lock-number)
9700 (vera-font-lock-function, vera-font-lock-interface):
9701 * textmodes/table.el (table-cell): Use new-style face specs, and
9702 don't use the old :bold and :italic attributes.
9704 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9705 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9706 (ebrowse-member-class, ebrowse-progress): Likewise.
9707 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9708 (ebrowse-file-name-face, ebrowse-default-face)
9709 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9710 (ebrowse-progress-face): Remove obsolete faces.
9712 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9713 Inherit from error and warning faces respectively.
9715 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9717 (flyspell-incorrect-face, flyspell-duplicate-face):
9718 Remove obsolete aliases.
9720 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9722 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9725 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9727 * startup.el (argv, argi): Make lexically scoped.
9728 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9729 * emacs-lisp/cl-macs.el: Use lexical-binding.
9730 Rename cl-bind-* to cl--bind-*.
9731 * files.el: Don't require `cl' since it doesn't use it.
9732 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9734 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9736 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9737 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9738 instead of calling external sort utility.
9739 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9741 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9743 * descr-text.el (describe-char): Mention how to insert the
9744 character, if the current input method doesn't support it.
9745 See the discussion in this thread for the details:
9746 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9748 2012-06-08 Sam Steingold <sds@gnu.org>
9750 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9751 XF86Back to previous-buffer.
9752 (minibuffer-local-map): Bind them to next-history-element and
9753 previous-history-element respectively.
9754 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9755 help-go-back respectively.
9756 * info.el (Info-mode-map): Bind them to Info-history-forward and
9757 Info-history-back respectively.
9758 These are the keys next to Up on the ThinkPad keyboard.
9760 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9762 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9763 * emacs-lisp/cl-macs.el: Provide itself.
9764 (cl--labels-convert-cache): New var.
9765 (cl--labels-convert): New function.
9766 (cl-flet, cl-labels): New implementation with new semantics, relying on
9768 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9769 (cl-closure-vars, cl--function-convert-cache)
9770 (cl--function-convert): Move from cl-macs.el.
9771 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9772 rename by removing the "cl-" prefix.
9773 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9775 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9778 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9779 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9780 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9781 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9782 (cl-hash-table-count): Add old compatibility aliases.
9784 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9785 Use macroexpand-all-environment instead.
9786 (cl--old-macroexpand): New var.
9787 (cl--sm-macroexpand): New function.
9788 (cl-symbol-macrolet): Use it during macro expansion.
9789 (cl--function-convert-cache): New var.
9790 (cl--function-convert): New function, extracted from
9792 (cl-lexical-let): Use it.
9794 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9795 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9796 (cl-member): Remove old alias.
9798 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9799 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9800 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9801 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9802 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9803 (cl-macroexpand-cmacs): Remove var.
9804 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9805 Use macroexpand-all instead.
9807 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9810 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9811 (macroexp-copyable-p): New functions and macros.
9812 * emacs-lisp/edebug.el (edebug-unwrap):
9813 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9814 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9815 (pcase--let*): Remove.
9816 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9817 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9818 macroexp-const-p instead.
9819 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9821 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9822 instead of "cl-" for internal definitions. Use macroexp-const-p.
9823 (cl-old-bc-file-form): Remove var.
9824 (cl-const-exprs-p): Remove fun.
9825 (cl-labels, cl-macrolet): Use backquote.
9826 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9827 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9828 (cl-define-setf-expander): Rename from cl-define-setf-method.
9829 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9831 * international/mule-cmds.el: Don't require CL.
9832 (view-hello-file): Don't use `letf'.
9834 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * tmm.el (tmm-prompt): Use string-prefix-p.
9837 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9838 (tmm-add-prompt): Use minibuffer-completion-help.
9839 (tmm-delete-map): Remove.
9841 * subr.el (kbd): Make it its own function.
9843 2012-06-07 Stefan Merten <smerten@oekonux.de>
9845 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9846 Silence compiler warnings. Fix versions.
9847 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9848 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9849 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9850 (rst-package-emacs-version-alist): Correct Emacs version to
9851 represent major merge with upstream.
9852 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9854 2012-06-06 Glenn Morris <rgm@gnu.org>
9856 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9857 Only print environment variables if set.
9859 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9862 (macroexp--cons): Rename from maybe-cons.
9863 (macroexp--accumulate): Rename from macroexp-accumulate.
9864 (macroexp--all-forms): Rename from macroexpand-all-forms.
9865 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9866 (macroexp--expand-all): Rename from macroexpand-all-1.
9868 2012-06-06 Sam Steingold <sds@gnu.org>
9870 * calendar/calendar.el (calendar-in-read-only-buffer):
9871 Call `special-mode' to enable the standard read-only keybindings.
9873 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9876 with "loading" messages (bug#11635).
9878 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9880 * files.el (enable-remote-dir-locals): New option.
9881 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9883 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9884 Ensure, that the temp directory is local.
9886 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9887 `temporary-file-directory'.
9889 * progmodes/python.el (python-send-region): Ensure, that the
9890 temporary file is created also in the remote case.
9892 2012-06-06 Glenn Morris <rgm@gnu.org>
9894 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9895 (vc-rcs-update-changelog): Use it.
9897 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9899 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9900 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9901 (vc-sccs-diff): Replace use of the external vcdiff script.
9903 2012-06-05 Glenn Morris <rgm@gnu.org>
9905 * ledit.el: Move to obsolete/.
9907 2012-06-05 Sam Steingold <sds@gnu.org>
9909 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9912 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * emacs-lisp/cust-print.el: Move to obsolete.
9916 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9917 compiler-macro expansion.
9919 Add native compiler-macro support.
9920 * emacs-lisp/macroexp.el (macroexpand-all-1):
9921 Support compiler-macros directly. Properly follow aliases and apply
9922 the compiler macros more thoroughly.
9923 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9924 macroexpand now properly follows aliases.
9925 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9926 (cl-compiler-macroexpand): Use new prop.
9927 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9929 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9931 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9933 * window.el (get-lru-window, get-mru-window, get-largest-window):
9934 New argument NOT-SELECTED to avoid picking the selected window.
9935 (window--display-buffer-1, window--display-buffer-2): Replace by
9936 new function window--display-buffer
9937 (display-buffer-same-window, display-buffer-reuse-window)
9938 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9939 Use window--display-buffer.
9940 (display-buffer-use-some-window): Remove temporary dedication
9941 hack by calling get-lru-window and get-largest-window with
9942 NOT-SELECTED argument non-nil. Call window--display-buffer.
9944 2012-06-05 Glenn Morris <rgm@gnu.org>
9946 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9947 Replace external vcdiff script.
9949 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9951 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9953 2012-06-04 Chong Yidong <cyd@gnu.org>
9955 * image.el (imagemagick-types-inhibit): Revert last change.
9957 (imagemagick-enabled-types): Remove CIN and EPS*.
9959 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * emacs-lisp/cl-lib.el: Rename from cl.el.
9962 * emacs-lisp/cl.el: New compatibility file.
9963 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9964 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9965 to obey the "cl-" prefix.
9966 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9968 2012-06-03 Glenn Morris <rgm@gnu.org>
9970 * emacs-lisp/authors.el (authors-aliases): Addition.
9972 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9975 2012-06-03 Stefan Merten <smerten@oekonux.de>
9977 * textmodes/rst.el: Add comments.
9978 (rst-transition, rst-adornment): New faces.
9979 (rst-adornment-faces-alist): Make default safe to reevaluate.
9981 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9982 Improve customization tags.
9983 (rst-define-level-faces): Clarify meaning.
9985 2012-06-03 Chong Yidong <cyd@gnu.org>
9987 * progmodes/compile.el (compilation-mode-line-fail)
9988 (compilation-mode-line-run, compilation-mode-line-exit):
9990 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9992 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9994 * progmodes/which-func.el (which-func-update-ediff-windows):
9995 New function. Use it in ediff-select-hook (Bug#11478).
9997 2012-06-03 Chong Yidong <cyd@gnu.org>
9999 * bindings.el: Remove explicit help text from format-mode-line.
10000 It is now supplied by mode-line-default-help-echo.
10001 (mode-line-front-space, mode-line-end-spaces)
10002 (mode-line-misc-info): New variables.
10003 (mode-line-modes, mode-line-position): Move the default value to
10004 the variable definition.
10005 (mode-line-default-help-echo): New defcustom.
10006 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10007 (mode-line-modified-help-echo): New functions.
10008 (mode-line-mule-info, mode-line-modified): Use them.
10009 (mode-line-eol-desc, propertized-buffer-identification):
10010 Consistency fixes for help text.
10011 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10012 set-buffer-file-coding-system (Bug#289).
10013 (mode-line-mule-info-help-echo): Update help text.
10015 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10017 * simple.el (execute-extended-command): Set real-this-command
10020 2012-06-02 Chong Yidong <cyd@gnu.org>
10022 Remove incorrect uses of "modeline" in comments, docstrings, and
10023 function/variable names (Bug#10329).
10025 * cus-edit.el (mode-line):
10026 * dframe.el (dframe-mouse-hscroll):
10027 * emacs-lisp/re-builder.el:
10028 * emacs-lisp/easy-mmode.el (define-minor-mode):
10029 * frame.el (set-frame-name):
10030 * help.el (lookup-minor-mode-from-indicator):
10031 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10032 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10033 (c-toggle-hungry-state):
10034 * progmodes/antlr-mode.el (antlr-language-alist):
10035 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10036 * progmodes/vhdl-mode.el (vhdl-mode):
10037 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10038 * term/ns-win.el (ns-face-at-pos):
10039 * term/sup-mouse.el (sup-mouse-report):
10040 * textmodes/flyspell.el (flyspell-mode-line-string):
10041 * textmodes/ispell.el (ispell-highlight-face):
10042 * textmodes/reftex-global.el:
10043 * vc/vc-arch.el (vc-arch-mode-line-string):
10044 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10045 * vc/vc-git.el (vc-git-mode-line-string):
10046 * vc/vc-hooks.el (vc-display-status)
10047 (vc-default-mode-line-string):
10048 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10050 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10052 * dired.el (dired-sort-set-mode-line): Rename from
10053 dired-sort-set-modeline. All callers changed.
10055 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10056 eshell-status-in-modeline.
10058 * foldout.el (foldout-mode-line-string): Rename from
10059 foldout-modeline-string. All callers changed.
10060 (foldout-update-mode-line): Rename from foldout-update-modeline.
10062 * subr.el (redraw-modeline): Make into obsolete alias.
10064 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10065 timeclock-modeline-display. Make old name an alias.
10066 (timeclock-update-mode-line): Likewise. All callers changed.
10067 (timeclock-mode-line-display): No need to check before using
10069 (timeclock-relative, timeclock-day-over-hook)
10070 (timeclock-use-elapsed, timeclock-mode-string)
10071 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10073 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10074 crisp-mode-modeline-string.
10076 * play/solitaire.el (solitaire-build-mode-line): Rename from
10077 solitaire-build-modeline. All callers changed.
10079 * play/zone.el (zone-hiding-mode-line): Rename from
10080 zone-hiding-modeline. All callers changed.
10081 (zone): Remove unusued `modeline-hidden-level' property.
10083 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10084 xscheme-modeline-initialize. All callers changed.
10086 * strokes.el (strokes-lighter): Rename from
10087 strokes-modeline-string.
10089 * textmodes/sgml-mode.el (html-face-tag-alist)
10090 (html-tag-face-alist): Use mode-line face instead of obsolete
10093 2012-06-02 Stefan Merten <smerten@oekonux.de>
10095 * textmodes/rst.el: Always require `cl'.
10096 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10098 2012-06-02 Chong Yidong <cyd@gnu.org>
10100 * image.el (imagemagick-enabled-types): Rename from
10101 imagemagick-types-enable. Add many more types.
10102 (imagemagick-types-inhibit): Change default to nil.
10103 (imagemagick-filter-types): Caller changed.
10105 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * emacs-lisp/cl-macs.el: Use backquotes.
10108 (cl-transform-function-property): Use eval-and-compile rather than
10110 (defstruct): Use declare-function instead of with-no-warnings.
10112 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10113 (byte-compile-output-docform): Re-add the print-circle bindings.
10114 (byte-compile-fix-header): Use #$ just because it's shorter.
10115 (byte-compile-output-file-form): Remove defun/defmacro.
10117 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10119 * simple.el (choose-completion): Remove now obsolete binding for
10122 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10124 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10125 in order to avoid "Stack overflow in regexp matcher".
10127 2012-05-31 Glenn Morris <rgm@gnu.org>
10129 * image.el: For clarity, call imagemagick-register-types at
10130 top-level, rather than relying on a custom :initialize.
10131 (imagemagick-types-enable): New option. (Bug#11557)
10132 (imagemagick-filter-types): New function. (Bug#7406)
10133 (imagemagick-register-types): Use imagemagick-filter-types.
10134 If disabling support, remove elements altogether rather
10135 than using an impossible regexp.
10136 (imagemagick-types-inhibit): Give it the default init function.
10138 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10141 Handle arbitrary file name lengths (Bug#11585).
10143 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10145 * desktop.el (desktop-read): Clear previous and next buffers for
10146 all windows and bury *Messages* buffer (bug#11556).
10148 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10150 Add `declare' for `defun'. Align `defmacro's with it.
10151 * emacs-lisp/easy-mmode.el (define-minor-mode)
10152 (define-globalized-minor-mode): Don't autoload the var definitions.
10153 * emacs-lisp/byte-run.el: Use lexical-binding.
10154 (defun-declarations-alist, macro-declarations-alist): New vars.
10155 (defmacro, defun): Use them.
10156 (make-obsolete, define-obsolete-function-alias)
10157 (make-obsolete-variable, define-obsolete-variable-alias):
10159 (macro-declaration-function): Mark obsolete.
10160 * emacs-lisp/autoload.el: Use lexical-binding.
10161 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10163 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10165 * textmodes/ispell.el (ispell-with-no-warnings):
10167 (ispell-kill-ispell, ispell-change-dictionary):
10168 Use `called-interactively-p' for Emacs instead of obsolete
10171 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10173 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10174 (macro-declaration-function): Move var from C code.
10175 (macro-declaration-function): Define function with defalias.
10176 * emacs-lisp/macroexp.el (macroexpand-all-1):
10177 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10178 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10179 defun/defmacro any more.
10180 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10181 Provide fallback for unknown arglist.
10182 (byte-compile-arglist-warn): Change calling convention.
10183 (byte-compile-output-file-form): Move print-vars binding.
10184 (byte-compile-output-docform): Simplify accordingly.
10185 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10186 (byte-compile-defmacro-declaration): Remove.
10187 (byte-compile-file-form-defmumble): Generalize to defalias.
10188 (byte-compile-output-as-comment): Return byte-positions.
10189 Simplify callers accordingly.
10190 (byte-compile-lambda): Use `assert'.
10191 (byte-compile-defun, byte-compile-defmacro): Remove.
10192 (byte-compile-file-form-defalias):
10193 Use byte-compile-file-form-defmumble.
10194 (byte-compile-defalias-warn): Remove.
10196 2012-05-29 Stefan Merten <smerten@oekonux.de>
10198 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10199 possible. Fix authors. Improve comments. Improve loading of `cl'.
10201 (rst-mode-abbrev-table): Merge definition.
10202 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10203 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10205 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10207 * calendar/icalendar.el
10208 (icalendar-export-region): Export UID properly.
10210 2012-05-29 Leo Liu <sdl.web@gmail.com>
10211 * calendar/icalendar.el (icalendar-import-format):
10212 Add `icalendar-import-format-uid' (Bug#11525).
10213 (icalendar-import-format-uid): New.
10214 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10217 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10219 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10220 different alternative patterns.
10221 (pcase-codegen): Be more careful to preserve identity.
10222 (pcase--u1): Don't forget to mark vars as used.
10224 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10225 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10226 (byte-compile-from-buffer): ...rather than here.
10228 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10229 functions from byte-compile-function-environment.
10231 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10233 * window.el (window-deletable-p): Avoid deleting the root window
10234 of a frame with an active minibuffer.
10236 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10238 * simple.el (choose-completion): Use quit-window (Bug#11567).
10240 2012-05-29 Chong Yidong <cyd@gnu.org>
10242 * whitespace.el (whitespace-cleanup): Fix usage of
10243 whitespace-empty-at-bob-regexp (Bug#11492).
10245 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10247 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10248 revert (Bug#11488).
10250 2012-05-29 Juri Linkov <juri@jurta.org>
10252 * isearch.el (isearch-mode-map): Bind `M-s _' to
10253 `isearch-toggle-symbol'. Bind `M-s c' to
10254 `isearch-toggle-case-fold'.
10255 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10256 (isearch-forward): Add `M-s _' to the docstring.
10257 (isearch-forward-symbol, isearch-toggle-case-fold)
10258 (isearch-symbol-regexp): New functions. (Bug#11381)
10260 2012-05-29 Juri Linkov <juri@jurta.org>
10262 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10263 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10264 a function, call it to get the regexp.
10265 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10266 property `isearch-message-prefix' instead of the string "word ".
10267 (isearch-search-fun-default): For the case of `isearch-word',
10268 return a lambda that calls re-search-forward/re-search-backward
10269 with a regexp returned by `word-search-regexp' or by the function
10272 2012-05-29 Juri Linkov <juri@jurta.org>
10274 * isearch.el (isearch-search-fun-default): New function.
10275 (isearch-search-fun): Move default part to the new function
10276 `isearch-search-fun-default'.
10277 (isearch-search-fun-function): Set the default value to
10278 `isearch-search-fun-default'. (Bug#11381)
10280 * comint.el (comint-history-isearch-end):
10281 Use `isearch-search-fun-default'.
10282 (comint-history-isearch-search): Use `isearch-search-fun-default'
10283 and remove spacial case for `isearch-word'.
10284 (comint-history-isearch-wrap): Remove spacial case for
10287 * hexl.el (hexl-isearch-search-function):
10288 Use `isearch-search-fun-default'.
10290 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10291 Use `word-search-regexp' for `isearch-word'.
10293 * misearch.el (multi-isearch-search-fun):
10294 Use `isearch-search-fun-default'.
10296 * simple.el (minibuffer-history-isearch-search):
10297 Use `isearch-search-fun-default' and remove spacial case for
10299 (minibuffer-history-isearch-wrap): Remove spacial case for
10302 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10303 Remove spacial case for `isearch-word'.
10304 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10306 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10308 Decrease XEmacs incompatibilities.
10309 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10310 Use `string-match'.
10311 (flyspell-delete-region-overlays): Use alternative definition for
10313 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10314 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10315 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10316 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10317 `define-obsolete-face-alias' under XEmacs, but old method.
10319 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10320 `with-no-warnings' definition or Emacs alias.
10321 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10322 (ispell-word): Do not use `region-p' if XEmacs.
10324 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10326 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10327 Check for `ispell-dictionary-base-alist' instead of full
10328 `ispell-dictionary-alist'.
10329 (ispell-init-process): Show spellchecker when starting new Ispell
10332 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10335 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10337 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10339 * version.el (motif-version-string, gtk-version-string)
10340 (ns-version-string): Declare.
10342 2012-05-27 Juri Linkov <juri@jurta.org>
10344 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10345 after the `eval-defun-1' specialcaseing
10346 like in `edebug-eval-defun' (bug#10181).
10348 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10349 like in `eval-defun-1'.
10351 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10353 * mail/sendmail.el (mail-yank-region):
10354 Recognize rmail-yank-current-message in addition to insert-buffer.
10355 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10356 a *mail* buffer created through rmail-start-mail with sendmail as
10359 2012-05-27 Chong Yidong <cyd@gnu.org>
10361 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10362 Default to 256 (Bug#11267).
10364 * help.el (describe-mode): Doc fix.
10366 2012-05-26 Glenn Morris <rgm@gnu.org>
10368 * w32-fns.el (w32-init-info): Remove.
10369 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10371 * info.el (info-initialize): For self-contained NS builds, put the
10372 included info/ directory at the front. (Bug#2791)
10374 * paths.el (Info-default-directory-list): Make it a defcustom,
10375 mainly so that we can use custom-initialize-delay.
10377 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * subr.el (buffer-has-markers-at): Mark obsolete.
10381 * subr.el (lambda): Use declare.
10383 * emacs-lisp/lisp-mode.el (lambda):
10384 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10386 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10388 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10390 2012-05-26 Glenn Morris <rgm@gnu.org>
10392 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10394 2012-05-25 Glenn Morris <rgm@gnu.org>
10396 * paths.el: Remove no-byte-compile.
10397 * loadup.el: No need to load paths.el uncompiled.
10399 * image.el (imagemagick-types-inhibit): Doc fix.
10401 * version.el: Remove no-byte-compile and associated formatting.
10402 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10403 is ancient code from when there was an "inc-vers.el".
10405 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * progmodes/gdb-mi.el: Minor style changes.
10408 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10409 Turn into minor modes.
10410 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10411 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10412 (gdb-shell): Remove unneeded let-binding.
10413 (gdb-get-many-fields): Eliminate O(n²) behavior.
10415 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10417 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10418 platforms that don't link in fontset.c.
10420 2012-05-25 Juri Linkov <juri@jurta.org>
10422 Use the same diff color scheme as in modern VCSes (bug#10181).
10424 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10425 to avoid confusion with `diff-added' that now uses green colors.
10426 (diff-removed): Use shades of red.
10427 (diff-added): Use shades of green.
10428 (diff-changed): Leave just the yellow color.
10429 (diff-use-changed-face): New variable.
10430 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10431 how to highlight context diff changes.
10432 (diff-refine-change): Use shades of yellow.
10433 (diff-refine-removed): New face that uses shades of red.
10434 (diff-refine-added): New face that uses shades of green.
10435 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10436 `diff-refine-removed' in the call to `smerge-refine-subst'
10437 depending on the value of `diff-use-changed-face'.
10439 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10440 (smerge-other): Use shades of green.
10441 (smerge-base): Use shades of yellow.
10442 (smerge-refined-change): Empty face.
10443 (smerge-refined-removed): New face that uses shades of red.
10444 (smerge-refined-added): New face that uses shades of green.
10445 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10446 args `props-r' and `props-a', and use them. Doc fix.
10447 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10448 on its value use different faces `smerge-refined-change',
10449 `smerge-refined-removed', `smerge-refined-added' in the call to
10450 `smerge-refine-subst'.
10452 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10453 Add face condition `min-colors 88' with shades of red.
10454 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10455 `min-colors 88' with shades of green.
10456 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10457 `min-colors 88' with shades of yellow.
10459 2012-05-24 Glenn Morris <rgm@gnu.org>
10461 * paths.el (prune-directory-list, remote-shell-program): Move to...
10462 * files.el (prune-directory-list, remote-shell-program): ...here.
10463 For the latter, delay initialization, prefer ssh, just search PATH.
10465 * paths.el (term-file-prefix): Move to faces.el (the only user).
10466 * faces.el (term-file-prefix): Move here, make it a defcustom.
10468 * paths.el (news-directory, news-path, news-inews-program):
10469 Move to gnus/nnspool.el.
10471 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10473 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10474 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10475 Make the latter a defcustom, with a delayed initialization.
10477 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10478 These were deleted from Gnus itself late 2010.
10480 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10482 * progmodes/which-func.el (which-func-ff-hook):
10483 Check against user-error, not error.
10485 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10486 cl-specs.el, which no longer exists.
10488 2012-05-22 Glenn Morris <rgm@gnu.org>
10490 * info.el (info-emacs-bug): New command.
10491 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10492 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10494 2012-05-21 Glenn Morris <rgm@gnu.org>
10496 * makefile.w32-in (update-subdirs-SH):
10497 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10499 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10504 Simplify Maven regexp, and make sure the file can't start with a space
10507 2012-05-21 Glenn Morris <rgm@gnu.org>
10509 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10510 Scrap superfluous subshells.
10512 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10515 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10517 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10519 * calc/calc.el (calc-ensure-consistent-units): New variable.
10521 * calc/calc-units.el (math-consistent-units-p)
10522 (math-check-unit-consistency): New functions.
10523 (calc-quick-units, calc-convert-units):
10524 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10526 (calc-extract-units): Fix typo.
10528 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10530 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10532 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10533 (flyspell-default-deplacement-commands): Don't spell check after
10534 repeated window/frame switches (e.g. triggered by mouse-movement).
10535 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10536 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10537 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10538 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10539 Remove unused vars.
10540 (flyspell-get-casechars, flyspell-get-not-casechars):
10541 Simplify; Don't bother removing a ] just to add it back.
10542 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10544 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10546 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10548 (math-function-table): Add support for more C functions.
10550 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10552 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10553 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10554 Protect delay handling for otherchars against empty otherchars.
10556 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10558 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10559 their respective macro declarations.
10560 * skeleton.el (define-skeleton):
10561 * progmodes/compile.el (define-compilation-mode):
10562 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10563 (define-ibuffer-filter):
10564 * emacs-lisp/generic.el (define-generic-mode):
10565 * emacs-lisp/easy-mmode.el (define-minor-mode)
10566 (define-globalized-minor-mode):
10567 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10568 * emacs-lisp/byte-run.el (defsubst):
10569 * custom.el (deftheme): Add doc-string metadata.
10571 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10573 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10575 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10577 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10579 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10580 * emacs-lisp/cl-macs.el: Idem.
10581 * emacs-lisp/cl-specs.el: Remove.
10583 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10585 Minor renaming of internal CL functions and variables.
10586 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10587 (cl--position): Rename from cl-position.
10588 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10589 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10590 (cl--random-state): Rename from *random-state*.
10592 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10594 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10595 parens around the arg list (bug#11499).
10597 2012-05-17 Juri Linkov <juri@jurta.org>
10599 * isearch.el (word-search-regexp, word-search-backward)
10600 (word-search-forward, word-search-backward-lax)
10601 (word-search-forward-lax): Move functions from search.c
10602 (bug#10145, bug#11381).
10604 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10606 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10607 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10608 Delay for otherchars as for normal word components.
10610 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10612 * minibuffer.el (completion--sifn-requote): Fix last change.
10613 (minibuffer-local-must-match-filename-map):
10614 Move define-obsolete-variable-alias before its var.
10616 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10620 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10622 (completion--string-equal-p): New function.
10623 (completion--twq-all): Use it to get better assertion failure data.
10625 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10626 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10627 (shell--requote-argument): New functions.
10628 (shell-completion-vars): Use them.
10629 (shell--parse-pcomplete-arguments): Rename from
10630 shell-parse-pcomplete-arguments.
10631 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10632 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10633 Obey comint-file-name-quote-list.
10635 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10636 (smie-indent-keyword): Use it.
10638 2012-05-14 Stefan Merten <smerten@oekonux.de>
10640 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10642 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10644 * net/rlogin.el (rlogin-mode-map): Fix last change.
10646 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10648 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10649 the following \r\n using a single `process-send-string', since the
10650 Lotus SMTP server refuses to accept any commands if they are sent
10651 with two `process-send-string's (Bug#11444).
10653 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10655 * shell.el (shell-parse-pcomplete-arguments):
10656 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10658 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10660 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10661 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10662 (image-transform-width, image-transform-fit-width): New functions.
10663 (image-transform-properties): Use them.
10664 (image-transform-check-size): New function.
10665 (image-toggle-display-image): Use it (for testing).
10666 (image-transform-set-rotation): Reduce angle mod 360.
10667 Delete obsolete comment.
10669 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10671 * image-mode.el: Fix scaling (bug#11399).
10672 (image-transform-resize): Doc fix.
10673 (image-transform-properties): Default scale is 1 and height should
10676 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10678 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10679 than hard-coding `car', to fix misbehavior when moving forward.
10681 2012-05-13 Chong Yidong <cyd@gnu.org>
10683 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10684 (tabulated-list-entries, tabulated-list-padding)
10685 (tabulated-list-sort-key): Make permanent-local.
10687 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10688 (electric-buffer-list): Put electric buffer menu
10689 command descriptions in this docstring, instead of the docstring
10690 of electric-buffer-menu-mode. Code cleanups.
10691 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10692 Electric-buffer-menu-mode.
10693 (electric-buffer-update-highlight): Minor code cleanup.
10695 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10697 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10700 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10702 Move define-obsolete-variable-alias before the var's definition.
10703 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10704 * tooltip.el (tooltip-hook):
10705 * textmodes/reftex-toc.el (reftex-toc-map):
10706 * textmodes/reftex-sel.el (reftex-select-label-map)
10707 (reftex-select-bib-map):
10708 * textmodes/reftex-index.el (reftex-index-map)
10709 (reftex-index-phrases-map):
10710 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10711 * progmodes/meta-mode.el (meta-mode-map):
10712 * novice.el (disabled-command-hook):
10713 * loadhist.el (unload-hook-features-list):
10714 * frame.el (blink-cursor):
10715 * files.el (find-file-not-found-hooks, write-file-hooks)
10716 (write-contents-hooks):
10717 * emulation/tpu-edt.el (GOLD-map):
10718 * emacs-lock.el (emacs-lock-from-exiting):
10719 * emacs-lisp/generic.el (generic-font-lock-defaults):
10720 * emacs-lisp/chart.el (chart-map):
10721 * dos-fns.el (register-name-alist):
10722 * dired-x.el (dired-omit-files-p):
10723 * desktop.el (desktop-enable):
10724 * cus-edit.el (custom-mode-hook):
10725 * buff-menu.el (buffer-menu-mode-hook):
10726 * bookmark.el (bookmark-read-annotation-text-func)
10727 (bookmark-exit-hooks):
10728 * allout.el (allout-mode-deactivate-hook)
10729 (allout-exposure-change-hook, allout-structure-added-hook)
10730 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10731 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10732 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10733 comes before the corresponding variable's definition.
10735 2012-05-12 Chong Yidong <cyd@gnu.org>
10737 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10738 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10739 (Buffer-menu-mode-map): Bind it.
10740 (Buffer-menu--pretty-name): Add a mouse-face property.
10742 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10745 (prolog-upper-case-string, prolog-lower-case-string)
10746 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10747 (prolog-use-smie, prolog-smie-grammar): New vars.
10748 (prolog-smie-forward-token, prolog-smie-backward-token)
10749 (prolog-smie-rules): New funs.
10750 (prolog-comment-indent): Remove.
10751 (prolog-mode-variables): Use default comment indentation instead.
10753 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10754 (prolog-mode): Don't call them any more.
10755 (prolog-electric-colon, prolog-electric-dash)
10756 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10758 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10760 * minibuffer.el (completion--twq-all): Again, allow case differences.
10762 * term.el: Move keymap initialization code to be more idiomatic.
10763 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10764 (term-terminal-menu): Move initialization into declaration.
10765 (term-escape-char): Let the user set it in her .emacs.
10767 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10768 Provide SMIE-based indentation (not enabled by default yet).
10769 (sh-mode-map): Don't bind electric keys.
10770 Use electric-pair-mode instead of skeleton-pair.
10771 (sh-assignment-regexp): Fit within 80 columns.
10772 (sh-indent-supported): Specify actual shell name instead of boolean.
10773 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10774 (sh-maybe-here-document): Use it. Make obsolete.
10775 (sh-electric-here-document-mode) New minor mode.
10776 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10777 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10778 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10779 (sh-smie-rc-grammar, sh-use-smie): New vars.
10780 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10781 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10782 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10783 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10784 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10785 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10786 (sh-set-shell): Use smie-setup if requested.
10788 * term.el (term-set-escape-char): Properly set term-escape-char.
10789 See http://stackoverflow.com/questions/10524656.
10791 2012-05-10 Chong Yidong <cyd@gnu.org>
10793 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10794 Use url-generic-parse-url, and handle host names and Windows
10795 filenames properly.
10796 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10797 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10798 URL schemes to work on.
10799 (ffap--toggle-read-only): New function.
10800 (ffap-read-only, ffap-read-only-other-window)
10801 (ffap-read-only-other-frame): Use it.
10802 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10803 necessary for ffap-url-unwrap-remote.
10805 2012-05-10 Dave Abrahams <dave@boostpro.com>
10807 * cus-start.el (create-lockfiles): Add it.
10809 2012-05-09 Chong Yidong <cyd@gnu.org>
10811 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10812 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10814 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10818 2012-05-09 Chong Yidong <cyd@gnu.org>
10820 * ansi-color.el (ansi-color-process-output): Check for validity of
10821 comint-last-output-start before using it. This avoids a bad
10822 interaction with gdb-mi's input/output buffer.
10824 2012-05-09 Glenn Morris <rgm@gnu.org>
10826 * files.el (dir-locals-read-from-file):
10827 Mention dir-locals in any error message.
10829 2012-05-09 Chong Yidong <cyd@gnu.org>
10831 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10832 package (Bug#11410).
10834 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10835 variables into description.
10837 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10839 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10840 shell-delimiter-argument-list (bug#11348).
10841 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10843 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10845 * textmodes/rst.el: Silence byte-compiler warnings.
10846 (rst-re-alist, rst-reset-section-caches): Move around.
10847 (rst-re): Use `characterp', not `char-valid-p'.
10848 (font-lock-beg, font-lock-end): Declare.
10850 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10851 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10853 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10855 2012-05-08 Glenn Morris <rgm@gnu.org>
10857 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10859 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * vc/log-edit.el: Add GNU coding standards highlighting.
10862 (log-edit-font-lock-gnu-style)
10863 (log-edit-font-lock-gnu-keywords): New vars.
10864 (log-edit-font-lock-keywords): New fun.
10865 (log-edit-mode): Don't fold case in font-lock.
10866 (log-edit-font-lock-keywords): Do not assume case-folding.
10868 * imenu.el: Misc cleanup. Make docstrings out of comments.
10869 Use lexical-binding.
10870 (imenu--index-alist, imenu--last-menubar-index-alist)
10871 (imenu-menubar-modified-tick): Use defvar-local.
10872 (imenu--split-menu): Remove unused var.
10873 (imenu--cleanup-seen): Declare as global.
10874 (imenu--cleanup): Use dolist.
10876 * subr.el (defvar-local): Add debug spec and doc-string position.
10878 2012-05-08 Glenn Morris <rgm@gnu.org>
10880 * language/burmese.el, language/cham.el, language/czech.el:
10881 * language/english.el, language/georgian.el, language/greek.el:
10882 * language/japanese.el, language/khmer.el, language/korean.el:
10883 * language/lao.el, language/misc-lang.el, language/romanian.el:
10884 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10885 * language/thai.el, language/utf-8-lang.el:
10886 Remove no-byte-compile setting.
10888 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10890 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10892 * progmodes/make-mode.el (makefile-browse):
10893 Remove unnecessary interactive. (Bug#11324)
10895 2012-05-07 Glenn Morris <rgm@gnu.org>
10897 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10899 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10901 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10903 * loadup.el: Preload newcomment.el.
10904 * newcomment.el: Move autoload-only code to toplevel.
10906 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10907 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10908 Handle new :right-align column property.
10909 (tabulated-list-print-col): Idem, plus use `display' text-property to
10910 try and preserve alignment for variable pitch fonts.
10912 2012-05-07 Chong Yidong <cyd@gnu.org>
10914 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10915 (tabulated-list-use-header-line): New var.
10916 (tabulated-list-init-header): Use it.
10917 (tabulated-list-print-fake-header): New function.
10918 (tabulated-list-print): Use it.
10919 (tabulated-list-sort-button-map): Add non-header-line commands.
10920 (tabulated-list-init-header): Add column name property to basic
10922 (tabulated-list-col-sort): Handle non-header-line button case.
10923 (tabulated-list--sort-by-column-name): Fix a corner case.
10925 * buff-menu.el (list-buffers--refresh):
10926 Handle Buffer-menu-use-header-line.
10928 2012-05-06 Chong Yidong <cyd@gnu.org>
10930 * buff-menu.el: Convert to Tabulated List mode.
10931 (Buffer-menu-buffer+size-width): Make obsolete.
10932 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10933 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10934 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10935 documentation into docstring of buffer-menu.
10936 (Buffer-menu-toggle-files-only): Add an informative message.
10937 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10938 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10939 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10940 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10941 (Buffer-menu-execute, Buffer-menu-select)
10942 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10943 (Buffer-menu-bury): Use Tabulated List machinery.
10944 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10945 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10947 (list-buffers--refresh): New function.
10948 (list-buffers-noselect): Use it.
10949 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10950 (Buffer-menu--pretty-file-name): New helper functions.
10952 * loadup.el: Preload tabulated-list.
10954 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10955 tabulated-list-sort-column.
10956 (tabulated-list-init-header): Add the initial aligning space even
10957 if tabulated-list-padding is zero.
10959 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10961 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10962 whose cdr is not a cons cell correctly (bug#11038).
10964 2012-05-06 Chong Yidong <cyd@gnu.org>
10966 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10967 Accept additional plist in column descriptors.
10968 (tabulated-list-init-header): Obey it.
10969 (tabulated-list-get-entry): New function.
10970 (tabulated-list-put-tag): Use it. Use string-width instead of
10972 (tabulated-list--column-number): New function.
10973 (tabulated-list-print): Use it.
10974 (tabulated-list-print-col): New function.
10975 Set `tabulated-list-column-name' property on each column's text.
10976 (tabulated-list-print-entry): Use it.
10977 (tabulated-list-delete-entry, tabulated-list-set-col):
10979 (tabulated-list-sort-column): New command (Bug#11337).
10981 * buff-menu.el (list-buffers): Move C-x C-b binding from
10982 buff-menu.el to bindings.el.
10984 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10985 :advertised-binding feature.
10987 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10989 * progmodes/compile.el (compilation-internal-error-properties):
10990 Calculate start position correctly when end-col is set but
10991 end-line is not (Bug#11382).
10993 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10995 * man.el (Man-unindent): Use text-property-default-nonsticky to
10996 prevent untabify from inheriting face properties (Bug#11408).
10998 2012-05-05 Stefan Merten <smerten@oekonux.de>
11000 * textmodes/rst.el: Major merge with upstream development up to
11001 Docutils SVN r7399 / rst.el V1.2.1.
11003 Clarify maintainership and authors.
11005 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11006 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11007 (rst-official-version, rst-official-cvs-rev, rst-version)
11008 (rst-package-emacs-version-alist): New functions and variables
11009 for version information.
11011 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11012 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11013 (rst-mode-syntax-table, rst-mode): New and corrected functions
11014 and variables representing reStructuredText features.
11016 (rst-re): New function for reStructuredText regexes. Use in
11019 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11020 (rst-mode-map): Rebind keys.
11022 (rst-mode-lazy, rst-font-lock-keywords)
11023 (rst-font-lock-extend-region)
11024 (rst-font-lock-extend-region-internal)
11025 (rst-font-lock-extend-region-extend)
11026 (rst-font-lock-find-unindented-line-limit)
11027 (rst-font-lock-find-unindented-line-match)
11028 (rst-adornment-level, rst-font-lock-adornment-level)
11029 (rst-font-lock-adornment-match)
11030 (rst-font-lock-handle-adornment-pre-match-form)
11031 (rst-font-lock-handle-adornment-matcher): Major revision of
11032 font-locking. Integrate with other code. Use `jit-lock-mode'.
11034 (rst-preferred-adornments, rst-adjust-hook)
11035 (rst-new-adornment-down, rst-preferred-bullets)
11036 (rst-preferred-bullets, rst-indent, rst-indent-width)
11037 (rst-indent-field, rst-indent-literal-normal)
11038 (rst-indent-literal-minimized, rst-indent-comment): Change,
11039 extend and improve customization.
11041 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11042 (rst-normalize-cursor-position, rst-get-decoration)
11043 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11044 (rst-rstrip, rst-toc-insert-find-delete-contents)
11045 (rst-shift-fill-region, rst-compute-bullet-tabs)
11046 (rst-debug-print-tabs, rst-debug-mark-found)
11047 (rst-shift-region-guts, rst-shift-region-right)
11048 (rst-shift-region-left, rst-use-char-classes)
11049 (rst-font-lock-keywords-function)
11050 (rst-font-lock-indentation-point)
11051 (rst-font-lock-find-unindented-line-begin)
11052 (rst-font-lock-find-unindented-line-end)
11053 (rst-font-lock-find-unindented-line)
11054 (rst-font-lock-adornment-point, rst-font-lock-level)
11055 (rst-adornment-level-alist): Remove functions and variables.
11057 (rst-compare-adornments, rst-get-adornment-match)
11058 (rst-suggest-new-adornment, rst-get-adornments-around)
11059 (rst-adornment-complete-p, rst-get-next-adornment)
11060 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11061 (rst-straighten-adornments): Standardize function names to
11062 use "adornment" instead of "decoration". Correct callers.
11063 Similar standardizing in many places.
11065 (rst-update-section, rst-adjust, rst-promote-region)
11066 (rst-enumerate-region, rst-bullet-list-region)
11067 (rst-repeat-last-character): Correct use of `interactive'.
11069 (rst-classify-adornment, rst-find-all-adornments)
11070 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11071 (rst-find-leftmost-column, rst-repeat-last-character):
11072 Refactor functions.
11074 (rst-find-title-line, rst-reset-section-caches)
11075 (rst-get-adornments-around, rst-adjust-adornment-work)
11076 (rst-arabic-to-roman, rst-roman-to-arabic)
11077 (rst-insert-list-pos, rst-insert-list-new-item)
11078 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11081 (rst-all-sections, rst-section-hierarchy)
11082 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11085 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11086 configuration instead of only buffer. Change where necessary.
11088 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11089 (rst-shift-region, rst-adaptive-fill): New functions for
11090 indentation and filling.
11092 (rst-comment-line-break, rst-comment-indent)
11093 (rst-comment-insert-comment, rst-comment-region)
11094 (rst-uncomment-region): New functions for handling comments.
11096 (rst-compile): Quote shell arguments.
11098 (rst-compile-pdf-preview, rst-compile-slides-preview):
11099 Delete temporary files after use.
11101 2012-05-05 Glenn Morris <rgm@gnu.org>
11103 * calendar/cal-html.el: Optionally include holidays in the output.
11104 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11105 (cal-html-holidays): New option.
11106 (cal-html-css-default): Add holiday entry.
11107 (holiday-in-range): Autoload it.
11108 (cal-html-htmlify-entry): Add optional class argument.
11109 (cal-html-htmlify-list): Add optional holidays argument.
11110 (cal-html-insert-agenda-days): Include holidays in the output.
11111 (cal-html-one-month): Maybe include holidays.
11113 * calendar/holidays.el (holiday-in-range):
11114 Move here from cal-tex-list-holidays.
11115 * calendar/cal-tex.el (cal-tex-list-holidays):
11116 Make it an obsolete alias for holiday-in-range. Update all callers.
11118 2012-05-05 Chong Yidong <cyd@gnu.org>
11120 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11123 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11125 * files.el (file-auto-mode-skip): New var.
11126 (set-auto-mode-1): Use it.
11128 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11130 * repeat.el: Use lexical-binding.
11131 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11132 (repeat-undo-count): Remove.
11134 * progmodes/octave-mod.el (octave-abbrev-start):
11135 * progmodes/f90.el (f90-abbrev-start):
11136 * face-remap.el (text-scale-adjust):
11137 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11139 * emacs-lisp/pcase.el (pcase--let*): New function.
11140 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11142 (pcase--split-pred): Be more clever about ruling out overlap between
11143 a predicate and some constant pattern.
11144 (pcase--q1): Use `null' instead of (eq foo nil).
11146 * subr.el (setq-local, defvar-local): New macros.
11147 (kbd): Redefine as an alias.
11148 (with-selected-window): Leave unrelated frames alone.
11149 (set-temporary-overlay-map): New function.
11151 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11153 * subr.el (user-error): New function.
11154 * window.el (switch-to-buffer):
11155 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11156 (smerge-match-conflict):
11157 * simple.el (previous-matching-history-element)
11158 (next-matching-history-element, goto-history-element, undo-more)
11160 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11161 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11162 (next-file, tags-loop-scan, list-tags, complete-tag):
11163 * progmodes/compile.el (compilation-loop):
11164 * mouse.el (mouse-minibuffer-check):
11165 * man.el (Man-bgproc-sentinel, Man-goto-page):
11166 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11167 (Info-history-forward, Info-follow-reference, Info-menu)
11168 (Info-extract-menu-item, Info-extract-menu-counting)
11169 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11170 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11171 (Info-next-reference, Info-prev-reference, Info-index)
11172 (Info-index-next, Info-follow-nearest-node)
11173 (Info-copy-current-node-name):
11174 * imenu.el (imenu--make-index-alist)
11175 (imenu-default-create-index-function, imenu-add-to-menubar):
11176 * files.el (basic-save-buffer, recover-file):
11177 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11178 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11179 (checkdoc-message-text, checkdoc-defun):
11180 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11181 * cus-edit.el (customize-changed-options, customize-rogue)
11182 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11183 (custom-variable-mark-to-reset-standard)
11184 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11186 * completion.el (check-completion-length):
11187 * comint.el (comint-search-arg)
11188 (comint-previous-matching-input-string-position)
11189 (comint-previous-matching-input)
11190 (comint-replace-by-expanded-history-before-point, comint-send-input)
11191 (comint-copy-old-input, comint-backward-matching-input)
11192 (comint-goto-process-mark, comint-set-process-mark):
11193 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11194 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11196 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11198 * dabbrev.el (dabbrev--ignore-case-p): New function.
11199 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11202 * files.el (automount-dir-prefix): Mark as obsolete.
11204 2012-05-04 Glenn Morris <rgm@gnu.org>
11206 * patcomp.el, play/bruce.el: Move to obsolete/.
11208 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11210 Fix minor Y10k bugs.
11211 * arc-mode.el (archive-unixdate):
11212 * autoinsert.el (auto-insert-alist):
11213 * calc/calc-forms.el (math-this-year):
11214 * emacs-lisp/copyright.el (copyright-current-year)
11215 (copyright-update-year, copyright):
11216 * tar-mode.el (tar-clip-time-string):
11217 * time.el (display-time-update):
11218 Don't assume years have 4 digits.
11220 2012-05-04 Chong Yidong <cyd@gnu.org>
11222 * dos-w32.el (file-name-buffer-file-type-alist)
11223 (direct-print-region-use-command-dot-com):
11224 * ffap.el (ffap-menu-regexp):
11225 * find-file.el (ff-special-constructs):
11226 * follow.el (follow-debug):
11227 * forms.el (forms--debug):
11228 * iswitchb.el (iswitchb-all-frames):
11229 * ido.el (ido-all-frames):
11230 * emacs-lisp/timer.el (timer-max-repeats):
11231 * mail/feedmail.el (feedmail-mail-send-hook)
11232 (feedmail-mail-send-hook-queued):
11233 * mail/footnote.el (footnote-signature-separator):
11234 * mail/mailabbrev.el (mail-alias-separator-string)
11235 (mail-abbrev-mode-regexp):
11236 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11237 * progmodes/idlwave.el (idlwave-libinfo-file)
11238 (idlwave-default-completion-case-is-down)
11239 (idlwave-library-routines): Convert defvars to defcustoms.
11241 * mail/rmail.el (rmail-decode-mime-charset):
11242 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11243 (idlwave-shell-fix-inserted-breaks)
11244 (idlwave-shell-activate-alt-keybindings)
11245 (idlwave-shell-use-breakpoint-glyph):
11246 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11248 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11252 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11254 * progmodes/verilog-mode.el (font-lock-keywords):
11255 Fix mis-highligting auto. Reported by Craig Barner.
11256 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11257 defines from global name space. Reported by Dan Dever.
11258 (verilog-auto-reset, verilog-auto-reset-widths)
11259 (verilog-auto-tieoff): Support using unbased numbers for
11260 AUTORESET and AUTOTIEOFF.
11261 (verilog-submit-bug-report): Update variable list.
11262 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11263 parenthesis from not matching. Reported by Michael Rytting.
11264 (verilog-auto-template-lint): Fix hash error when linting modules
11265 with no used templates.
11266 (verilog-warn, verilog-warn-error)
11267 (verilog-warn-fatal): When non-interactive report multiple
11268 warnings before exiting. Suggested by Brad Dobbie.
11269 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11270 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11271 to report unused template errors. Reported by Brad Dobbie.
11272 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11273 nets, bug438. Reported by Vns Blore.
11274 (verilog-auto-inout-module, verilog-auto-reg)
11275 (verilog-read-decls, verilog-read-sub-decls-sig)
11276 (verilog-signals-edit-wire-reg, verilog-signals-with):
11277 Fix passing of Verilog data types in ANSI input/output ports
11278 such as "output logic" into the AUTOs. Special case "wire" and
11279 "reg" for backwards compatibility presuming Verilog 2001.
11280 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11281 (verilog-preprocess): Fix replication of preprocess output.
11282 Reported by Brad Dobbie.
11283 (verilog-auto-inst-interfaced-ports):
11284 Create verilog-auto-inst-interfaced-ports, bug429.
11285 Reported by Julian Gorfajn.
11286 (verilog-after-save-font-hook)
11287 (verilog-before-save-font-hook): New variable.
11288 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11289 (verilog-save-font-mods): Wrap disabling fontification, reported
11291 (verilog-do-indent, verilog-pretty-declarations-auto)
11292 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11293 Reported by Pierre-David Pfister.
11294 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11295 of class declarations, bug292. Reported by Kevin Heilman.
11296 (verilog-read-decls): Fix 'parameter type' not appearing in
11297 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11298 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11299 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11300 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11301 Reported by David Kravitz.
11303 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11305 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11306 assignment with tests in ifs and for loops.
11307 (verilog-extended-complete-re, verilog-complete-reg): Change so
11308 that DPI inport functions don't look like fuction declarations.
11309 (verilog-pretty-expr): Don't line up assignment
11310 operations to the test and increment in if and for loops
11311 (verilog-extended-complete-re, verilog-complete-reg): Change so
11312 that DPI inport functions don't look like fuction declarations.
11314 2012-05-03 Kenichi Handa <handa@m17n.org>
11316 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11317 decoding, and show a warning message without signaling an error
11320 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11322 * emacs-lisp/bytecomp.el
11323 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11324 since cconv.el might have introduced :fun-body, internal-make-closure,
11325 and friends for bytecomp to handle (bug#11391).
11326 * custom.el (defcustom): Avoid ((λ ..) ..).
11328 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11330 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11332 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11334 * notifications.el (dbus-debug):
11335 * term/linux.el (gpm-mouse-enable):
11336 * term/screen.el (xterm-register-default-colors): Declare.
11338 2012-05-02 Chong Yidong <cyd@gnu.org>
11340 * cus-start.el (gc-cons-percentage, exec-suffixes)
11341 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11342 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11343 (make-cursor-line-fully-visible, void-text-area-pointer)
11344 (font-list-limit): Add customization data.
11346 * allout.el (allout-exposure-change-functions)
11347 (allout-structure-added-functions)
11348 (allout-structure-deleted-functions)
11349 (allout-structure-shifted-functions): Rename abnormal hooks from
11350 *-hook, and convert to defcustoms.
11351 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11352 Convert to defcustoms.
11353 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11355 * allout-widgets.el: Hook callers changed.
11357 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11359 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11360 the yanked message in preference to the default value of
11361 buffer-file-coding-system.
11363 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11365 * window.el (display-buffer--action-function-custom-type):
11368 2012-05-02 Alan Mackenzie <acm@muc.de>
11370 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11372 2012-05-01 Glenn Morris <rgm@gnu.org>
11374 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11376 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11378 * cus-edit.el (custom-variable-documentation): Simplify with format.
11380 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11381 Stefan Monnier <monnier@iro.umontreal.ca>
11383 * simple.el (suggest-key-bindings, execute-extended-command):
11384 Move from keyboard.c.
11386 2012-05-01 Chong Yidong <cyd@gnu.org>
11388 * follow.el: Eliminate advice.
11389 (set-process-filter, process-filter, sit-for): Advice deleted.
11390 (follow-mode-off-hook): Obsolete hook removed.
11391 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11393 (follow-auto): Use a :set function.
11394 (follow-mode): Rewritten. Don't advise process filters.
11395 (follow-switch-to-current-buffer-all, follow-scroll-up)
11396 (follow-scroll-down): Assume follow-mode is bound.
11397 (follow-comint-scroll-to-bottom)
11398 (follow-align-compilation-windows): New functions.
11399 (follow--window-sorter): New function.
11400 (follow-all-followers): Use it to explicitly sort windows by their
11401 positions; don't make assumptions about next-window order.
11402 (follow-windows-start-end, follow-delete-other-windows-and-split)
11403 (follow-calc-win-start): Doc fix.
11404 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11405 vertical-motion unnecessarily.
11406 (follow-adjust-window): New function.
11407 (follow-post-command-hook): Use it.
11408 (follow-call-set-process-filter, follow-call-process-filter)
11409 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11410 (follow-stop-intercept-process-output, follow-generic-filter):
11412 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11413 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11414 New functions, replacing advice on scroll-bar-* commands.
11415 (follow-mwheel-scroll): New function (Bug#4112).
11417 * comint.el (comint-adjust-point): New function.
11418 (comint-postoutput-scroll-to-bottom): Use it.
11419 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11421 2012-05-01 Glenn Morris <rgm@gnu.org>
11423 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11424 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11425 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11426 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11427 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11428 Remove no-byte-compile setting.
11430 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11432 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11433 all-completions code to not return a number in the last cdr.
11435 2012-04-30 Leo Liu <sdl.web@gmail.com>
11437 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11440 2012-04-29 Chong Yidong <cyd@gnu.org>
11442 * follow.el (follow-calc-win-end): Rewrite to handle partial
11443 screen lines correctly (Bug#8390).
11444 (follow-avoid-tail-recenter): Minor cleanup.
11446 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11448 Avoid the obsolete `assoc' package.
11449 * speedbar.el (speedbar-refresh): Avoid adelete.
11450 (speedbar-file-lists): Simplify and avoid aput.
11451 * man.el (Man--sections, Man--refpages): New vars, replacing
11452 Man-sections-alist and Man-refpages-alist.
11453 (Man-build-section-alist, Man-build-references-alist):
11454 Use them; avoid aput.
11455 (Man--last-section, Man--last-refpage): New vars.
11456 (Man-follow-manual-reference): Use them.
11457 Use the `default' arg of completing-read.
11458 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11460 2012-04-27 Chong Yidong <cyd@gnu.org>
11462 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11464 * startup.el (x-apply-session-resources): New function.
11466 * term/ns-win.el (ns-initialize-window-system):
11467 * term/w32-win.el (w32-initialize-window-system):
11468 * term/x-win.el (x-initialize-window-system): Use it to properly
11469 set menu-bar-mode and other vars from X resources, even if the
11470 initial frame is not a window-system frame (Bug#2299).
11472 * subr.el (read-key): Avoid running filter function when setting
11473 up temporary tool bar entries (Bug#9922).
11475 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11477 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11480 2012-04-27 Chong Yidong <cyd@gnu.org>
11482 * select.el (xselect--encode-string): New function, split from
11483 xselect-convert-to-string.
11484 (xselect-convert-to-string): Use it.
11485 (xselect-convert-to-filename, xselect-convert-to-os)
11486 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11487 returned strings are properly encoded (Bug#11315).
11489 2012-04-27 Chong Yidong <cyd@gnu.org>
11491 * simple.el (delete-active-region): Move to killing custom group.
11493 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11495 * progmodes/which-func.el (which-func-current): Quote %
11496 characters for mode-line processing.
11498 2012-04-27 Chong Yidong <cyd@gnu.org>
11500 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11501 reaching eob (Bug#11286).
11503 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11505 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11506 (gdb): Make it buffer-local and init to zero.
11507 (gdb-control-commands-regexp): New variable.
11508 (gdb-send): Don't wrap in "-interpreter-exec console" if
11509 gdb-control-level is positive. Increment gdb-control-level
11510 whenever the command matches gdb-control-commands-regexp, and
11511 decrement it each time the command is "end". (Bug#11279)
11513 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11515 * window.el (adjust-window-trailing-edge, enlarge-window)
11516 (shrink-window, window-resize):
11517 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11518 windows (Bug#11276).
11520 2012-04-27 Chong Yidong <cyd@gnu.org>
11522 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11523 fix "missing prefix" warning. All callers changed.
11525 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11527 * emacs-lisp/assoc.el: Move to obsolete/.
11529 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11531 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11533 * term/ns-win.el (ns-define-service):
11534 * progmodes/pascal.el (pascal-goto-defun):
11535 * progmodes/js.el (js--read-tab):
11536 * progmodes/etags.el (tags-lazy-completion-table):
11537 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11538 * emacs-lisp/ewoc.el (ewoc--wrap):
11539 * emacs-lisp/assoc.el (aput, adelete, amake):
11540 * doc-view.el (doc-view-convert-current-doc):
11541 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11543 2012-04-26 Chong Yidong <cyd@gnu.org>
11545 * image.el (image-type-from-buffer): Only return supported image
11548 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11549 value, for symmetry with diff-end-of-hunk.
11550 (diff-split-hunk, diff-find-source-location)
11551 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11552 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11553 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11554 compute the relevant hunk or file properly (Bug#6005).
11555 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11557 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * vc/vc.el: Replace lexical-let by lexical-binding.
11567 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11568 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11569 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11571 2012-04-26 Chong Yidong <cyd@gnu.org>
11573 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11574 (diff-mode-shared-map): Bind it to / and [remap undo].
11576 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11577 (ediff-window-setup-function): Use it as the default, to set up
11578 windows based on whether the current frame is graphical (Bug#2138).
11579 (ediff-choose-window-setup-function-automatically): Make obsolete.
11581 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11583 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11585 * ffap.el: Remove old code for obsolete package.
11586 (ffap-complete-as-file-p): Remove.
11588 Use completion-table-with-quoting for comint and pcomplete.
11589 * comint.el (comint--unquote&requote-argument)
11590 (comint--unquote-argument, comint--requote-argument): New functions.
11591 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11592 (comint-quote-filename): Use regexp-opt-charset.
11593 (comint--common-suffix, comint--common-quoted-suffix)
11594 (comint--table-subvert): Remove.
11595 (comint-unquote-function, comint-requote-function): New vars.
11596 (comint--complete-file-name-data): Use them with
11597 completion-table-with-quoting.
11598 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11599 * pcomplete.el (pcomplete-arg-quote-list)
11600 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11601 (pcomplete-unquote-argument-function): Default to non-nil.
11602 (pcomplete-unquote-argument): Simplify.
11603 (pcomplete--common-quoted-suffix): Remove.
11604 (pcomplete-requote-argument-function): New var.
11605 (pcomplete--common-suffix): New function.
11606 (pcomplete-completions-at-point): Use completion-table-with-quoting
11607 and completion-table-subvert.
11609 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11610 (minibuffer--double-dollars): Preserve properties.
11611 (completion--sifn-requote): New function.
11612 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11614 * minibuffer.el: Add support for completion of quoted/escaped data.
11615 (completion-table-with-quoting, completion-table-subvert): New funs.
11616 (completion--twq-try, completion--twq-all): New functions.
11617 (completion--nth-completion): New function.
11618 (completion-try-completion, completion-all-completions): Use it.
11620 2012-04-25 Leo Liu <sdl.web@gmail.com>
11622 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11623 Use compilation-message if available to find real filename.
11625 2012-04-25 Chong Yidong <cyd@gnu.org>
11627 * vc/diff-mode.el (diff-setup-whitespace): New function.
11628 (diff-mode): Use it.
11630 * vc/diff.el (diff-sentinel):
11631 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11632 Whitespace mode variables based on diff style (Bug#8612).
11634 2012-04-25 Leo Liu <sdl.web@gmail.com>
11636 * progmodes/python.el (python-send-region): Add suffix .py to the
11639 * files.el (auto-mode-alist): Use javascript-mode instead.
11641 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11643 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11645 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11646 (soap-resolve-references-for-array-type): Hack to prevent self
11647 references, see Bug#9.
11648 (soap-parse-envelope): Report the contents of the 'detail' node
11649 when receiving a fault reply.
11650 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11652 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11653 (soap-inspect-simple-type): New function.
11655 * net/soap-client.el (soap-simple-type): New struct.
11656 (soap-default-xsd-types, soap-default-soapenc-types)
11657 (soap-decode-basic-type, soap-encode-basic-type):
11658 support unsignedInt and double basic types.
11659 (soap-resolve-references-for-simple-type)
11660 (soap-parse-simple-type, soap-encode-simple-type): New function.
11661 (soap-parse-schema): Parse xsd:simpleType declarations.
11663 * net/soap-client.el (soap-default-xsd-types)
11664 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11665 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11666 the local name of "soapenc:Array".
11667 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11668 decoding integer, byte and anyURI xsd types.
11670 2012-04-25 Chong Yidong <cyd@gnu.org>
11672 * cus-edit.el (custom-buffer-create-internal): Update header text.
11674 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11676 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11677 settings on 'system-type', not on 'window-system'. On MS-Windows,
11678 set interactive-mode on in GDB.
11680 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11683 (ruby-syntax-propertize-regexp): Remove.
11684 (ruby-syntax-propertize-function): Split regexp into chunks.
11685 Match following code directly.
11687 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11689 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11690 (ruby-syntax-propertize-regexp): New function.
11691 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11692 by a special keyword.
11694 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11695 (ruby-syntax-general-delimiters-goto-beg)
11696 (ruby-syntax-propertize-general-delimiters): New functions.
11697 (ruby-syntax-propertize-function): Use them to handle GDL.
11698 (ruby-font-lock-keywords): Move old handling of GDL...
11699 (ruby-font-lock-syntactic-keywords): .. to here.
11700 (ruby-calculate-indent): Adjust indentation for GDL.
11702 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11704 * notifications.el (top): Remove unneeded declarations.
11705 (notifications-specification-version): Change to "1.2".
11706 (notifications-interface, notifications-notify-method)
11707 (notifications-close-notification-method): Fix docstring.
11708 (notifications-get-capabilities-method): New defconst.
11709 (notifications-notify): Add :action-items, :resident and
11710 :transient hints. Change "image_data" to "image-data" and
11711 "image_path" to "image-path".
11712 (notifications-get-capabilities): New defun.
11714 2012-04-24 Leo Liu <sdl.web@gmail.com>
11716 * progmodes/python.el: Move hideshow setup to the end.
11718 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11720 * window.el (handle-select-window): Clear echo area since this is
11721 no more done by read_char (Bug#11304).
11723 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11725 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11726 and `/ M' to filter-derived-mode.
11727 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11728 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11729 (ibuffer-mark-by-mode): Use default rather than initial-input.
11730 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11732 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11734 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11735 (ibuffer-filter-by-derived-mode): New filter.
11736 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11738 2012-04-23 Andreas Politz <politza@fh-trier.de>
11740 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11742 2012-04-23 Chong Yidong <cyd@gnu.org>
11744 * cus-edit.el (customize-apropos, customize-apropos-options):
11745 Disable matching of non-option variables (Bug#11176).
11746 (customize-option, customize-option-other-window)
11747 (customize-changed-options): Doc fix.
11748 (customize-apropos-options, customize-apropos-faces)
11749 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11751 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11752 Fix word list splitting (Bug#11132).
11753 (apropos-symbol, apropos-keybinding, apropos-label)
11754 (apropos-property, apropos-function-button)
11755 (apropos-variable-button, apropos-misc-button): New faces.
11756 (apropos-symbol-face, apropos-keybinding-face)
11757 (apropos-label-face, apropos-property-face, apropos-match-face):
11758 Variables removed (Bug#8396).
11759 (apropos-library-button, apropos-format-plist, apropos-print)
11760 (apropos-print-doc, apropos-describe-plist): Callers changed.
11762 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11764 * net/xesam.el (xesam-mode-map): Use let-bound map in
11765 initialization. (Bug#11292)
11767 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11769 Preserve ispell session localwords when switching back to
11772 * textmodes/ispell.el (ispell-buffer-session-localwords):
11773 New buffer-local variable to hold buffer session localwords.
11774 (ispell-kill-ispell): Add option 'clear to delete session
11776 (ispell-command-loop, ispell-change-dictionary)
11777 (ispell-buffer-local-words): Preserve session localwords when
11780 * textmodes/flyspell.el (flyspell-process-localwords)
11781 (flyspell-do-correct): Preserve session localwords when needed.
11783 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11785 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11786 using obsolete `translation-table-for-input'.
11787 (ispell-word, ispell-process-line, ispell-complete-word):
11788 Use plain `insert' instead of removed `ispell-insert-word'.
11790 2012-04-22 Chong Yidong <cyd@gnu.org>
11792 * cus-edit.el (custom-variable-menu)
11793 (custom-variable-reset-saved, custom-face-menu)
11794 (custom-face-reset-saved): If there is no saved value, make the
11795 "reset-saved" operation bring back the default (Bug#9509).
11796 (custom-face-state): Properly detect themed faces.
11798 * faces.el (face-spec-set): Stop supporting deprecated form of
11801 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11803 Move functions from C to Lisp. Make non-blocking method calls
11804 the default. Implement further D-Bus standard interfaces.
11806 * net/dbus.el (dbus-message-internal): Declare function.
11807 Remove unneeded function declarations.
11808 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11809 (dbus-message-type-method-return, dbus-message-type-error)
11810 (dbus-message-type-signal): Declare variables. Remove local
11812 (dbus-interface-dbus, dbus-interface-peer)
11813 (dbus-interface-introspectable, dbus-interface-properties)
11814 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11816 (dbus-interface-objectmanager): New defconst.
11817 (dbus-call-method, dbus-call-method-asynchronously)
11818 (dbus-send-signal, dbus-method-return-internal)
11819 (dbus-method-error-internal, dbus-register-service)
11820 (dbus-register-signal, dbus-register-method): New defuns, moved
11822 (dbus-call-method-handler, dbus-setenv)
11823 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11825 (dbus-call-method-non-blocking): Make it an obsolete function.
11826 (dbus-unregister-object, dbus-unregister-service)
11827 (dbus-handle-event, dbus-register-property)
11828 (dbus-property-handler): Obey the new structure of
11829 `bus-registered-objects'.
11830 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11831 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11832 Use `dbus-call-method'.
11834 2012-04-22 Chong Yidong <cyd@gnu.org>
11836 * cus-edit.el (custom-commands, custom-reset-menu)
11837 (Custom-reset-standard): Tweak labels.
11838 (custom-reset-button-menu): Change default to t.
11839 (custom-buffer-create-internal): For the custom-reset-button-menu
11840 case, put the revert button first.
11841 (custom-group-subtitle): New face.
11842 (custom-group-value-create): Align docstring to a specific column.
11844 * wid-edit.el (widget-documentation-link-add): Don't handle
11845 indentation in this function.
11846 (widget-documentation-string-indent-to): New function.
11847 (widget-documentation-string-value-create): Use it.
11849 * autorevert.el (auto-revert):
11850 * epg-config.el (epg):
11851 * ibuffer.el (ibuffer):
11854 * eshell/eshell.el (eshell):
11855 * net/ange-ftp.el (ange-ftp):
11856 * progmodes/ebnf2ps.el (postscript):
11857 * progmodes/flymake.el (flymake):
11858 * progmodes/prolog.el (prolog):
11859 * progmodes/verilog-mode.el (verilog-mode):
11860 * progmodes/which-func.el (which-func):
11861 * term/xterm.el (xterm):
11862 * textmodes/picture.el (picture):
11863 * textmodes/tildify.el (tildify):
11864 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11865 customization buffers.
11867 2012-04-22 Alan Mackenzie <acm@muc.de>
11869 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11870 Adding a ) can hide the resulting (..) from searches. Fix it.
11871 Bound the backward search to the position of the existing (.
11873 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11875 * progmodes/verilog-mode.el (verilog-mode): Check whether
11876 which-func-modes is t before adding verilog-mode.
11877 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11879 2012-04-21 Leo Liu <sdl.web@gmail.com>
11881 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11883 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11885 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11886 filling of the last column of a table (Bug#5635).
11887 (woman-find-next-control-line): New arg, specifying an additional
11888 regexp component for the control line.
11889 (woman2-roff-buffer): Use it.
11890 (woman-break-table): New function.
11891 (woman2-TS): Use it.
11893 2012-04-21 Chong Yidong <cyd@gnu.org>
11895 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11896 (woman-horizontal-escapes, woman-negative-vertical-space)
11897 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11898 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11900 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11902 * minibuffer.el (completion-file-name-table): Complete user names.
11904 2012-04-20 Leo Liu <sdl.web@gmail.com>
11906 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11909 2012-04-20 Chong Yidong <cyd@gnu.org>
11911 * server.el (server-execute): Respect initial-buffer-choice if it
11912 is a string and there are no files to open (Bug#2825).
11913 (server-create-window-system-frame, server-create-tty-frame):
11914 Don't switch buffers here.
11915 (server-process-filter): Only try to open a window system frame if
11916 compiled with graphical support (Bug#8314).
11918 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11920 * battery.el (battery-echo-area-format): Display remaining time
11921 for sysfs backend too (Bug#11269).
11922 (battery-linux-sysfs): Fix conditional for the charge.
11924 2012-04-20 Chong Yidong <cyd@gnu.org>
11926 * progmodes/gdb-mi.el (gdb): Revert previous change.
11927 (gdb-inferior-io--init-proc): New function.
11928 (gdb-init-1): Use it.
11929 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11930 responsible for allocating a new pty and hooking it to gdb when
11931 the old pty gets an EIO due to process exit.
11932 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11933 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11934 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11936 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11938 * window.el (window-min-size, window-sizable, window-min-delta)
11939 (window-max-delta, window--resizable, window-resizable)
11940 (window-total-size, window-full-height-p, window-full-width-p)
11941 (window-in-direction, window--resize-mini-window, window-resize)
11942 (window--resize-child-windows-normal)
11943 (window--resize-child-windows, window--resize-siblings)
11944 (window--resize-this-window, adjust-window-trailing-edge)
11945 (enlarge-window, shrink-window): Doc fixes.
11947 2012-04-20 Chong Yidong <cyd@gnu.org>
11949 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11950 New function to call delete-process on the gdb-inferior buffer's pty.
11951 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11952 pty process (Bug#11273).
11953 (gdb-update): New arg to suppress talking to the gdb process.
11954 (gdb-done-or-error): Use it.
11955 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11956 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11957 sentinel not being called.
11959 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11961 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11963 2012-04-20 Glenn Morris <rgm@gnu.org>
11965 * net/network-stream.el (open-network-stream): Doc fix.
11967 2012-04-20 Chong Yidong <cyd@gnu.org>
11969 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11971 2012-04-20 Alan Mackenzie <acm@muc.de>
11973 Ensure searching for keywords is case sensitive.
11975 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11976 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11977 (c-defun-name, c-mark-function, c-cpp-define-name)
11978 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11979 (c-context-line-break): Bind case-fold-search to nil.
11981 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11982 Bind case-fold-search to nil.
11984 2012-04-20 Chong Yidong <cyd@gnu.org>
11986 * mail/sendmail.el (mail-bury): Call return action with the right
11987 Rmail buffer (Bug#11242).
11989 * server.el (server-process-filter): Handle corner case where both
11990 tty and nowait options are present (Bug#11102).
11992 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11994 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11995 (top level): Put into the executable the ident-style '$Id:' tag on
11996 windows-nt as well.
11998 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12000 * electric.el (electric-indent-post-self-insert-function): Check that
12001 electric-indent-mode is enabled in current buffer.
12003 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12005 * imenu.el (imenu-progress-message): Restore; it is "used" in
12006 erc/erc-imenu.el and net/snmp-mode.el.
12008 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12010 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12011 (mouse-avoidance-nudge-mouse): Remove unused binding.
12013 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12015 * descr-text.el (describe-char):
12016 * progmodes/python.el (python-describe-symbol):
12017 Don't call `toggle-read-only', set `buffer-read-only'.
12019 * imenu.el (imenu-default-goto-function): Mark unused args.
12020 (imenu-progress-message): Remove obsolete macro; all callers changed.
12022 * subr.el (keymap-canonicalize): Remove unused binding.
12023 (read-passwd): Mark unused arg.
12025 * tutorial.el (tutorial--display-changes): Remove unused binding.
12026 (tutorial--save-tutorial-to): Remove unused variable.
12028 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12029 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12030 (package-generate-autoloads, package-menu--generate)
12031 (package-menu--find-upgrades): Remove unused bindings.
12033 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12034 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12035 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12036 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12037 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12038 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12039 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12040 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12041 (cua-delete-char-rectangle): Mark unused args.
12042 (cua-align-rectangle): Remove unused binding.
12044 * mail/rmail.el (compilation--message->loc)
12045 (epa--find-coding-system-for-mime-charset): Declare.
12047 * net/dbus.el (dbus-register-service): Declare.
12048 (dbus-name-owner-changed-handler): Remove unused binding.
12050 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12051 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12052 (nxml-scan-backward-within): Mark unused arg.
12053 (nxml-dynamic-markup-word): Remove unused binding.
12055 * mouse.el (mouse-menu-major-mode-map):
12056 * emacs-lisp/authors.el (authors-scan-change-log)
12057 (authors-add-to-author-list):
12058 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12059 * emacs-lisp/smie.el (smie-auto-fill):
12060 * mail/sendmail.el (mail-bury):
12061 * mail/unrmail.el (unrmail):
12062 * net/tls.el (open-tls-stream):
12063 * textmodes/picture.el (picture-mouse-set-point):
12064 Remove unused bindings.
12066 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12068 * net/tramp.el (tramp-action-password): Let-bind
12069 `enable-recursive-minibuffers' to t.
12071 2012-04-18 Sam Steingold <sds@gnu.org>
12073 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12074 instead of 'string to accommodate values like [f11].
12075 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12076 * progmodes/gdb-mi.el: Likewise.
12078 2012-04-18 Leo Liu <sdl.web@gmail.com>
12080 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12082 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12085 2012-04-18 Chong Yidong <cyd@gnu.org>
12087 * simple.el (line-move): Use forward-line if in batch mode
12090 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12092 * files.el (after-find-file): Do not try to add a final newline if
12093 the buffer is read-only (Bug#11156).
12095 2012-04-17 Richard Stallman <rms@gnu.org>
12097 * mail/rmail.el (rmail-start-mail):
12098 Pass (rmail-mail-return...) for the return-action.
12099 Pass (rmail-yank-current-message...) for the yank-action.
12100 (rmail-yank-current-message): New function.
12101 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12102 (rmail-reply): Likewise.
12103 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12105 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12106 buffer, not the last. Reject temp buffers. Use the rmail-mode
12107 buffer, not newbuf.
12109 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12111 * server.el (server-ensure-safe-dir): Simplify.
12113 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * emacs-lisp/smie.el: Provide smarter auto-filling.
12116 (smie-auto-fill): New function.
12117 (smie-setup): Use it.
12119 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12121 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12123 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12124 (comment-indent): Use it.
12126 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12128 * ses.el: The overall change is to add cell renaming, that is
12129 setting fancy names for cell symbols other than name matching
12130 "\\`[A-Z]+[0-9]+\\'" regexp .
12131 (ses-localvars): Add ses--renamed-cell-symb-list.
12132 (ses-create-cell-variable): New defun.
12133 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12134 (ses-relocate-formula): Relocate formulas only for cells the
12135 symbols of which are not renamed, i.e. symbols whose names do not
12136 match regexp "\\`[A-Z]+[0-9]+\\'".
12137 (ses-relocate-all): Relocate values only for cells the symbols of
12138 which are not renamed.
12139 (ses-load): Create cells variables as the (ses-cell ...) are read,
12140 in order to check row col consistency with cell symbol name only
12141 for cells that are not renamed.
12142 (ses-replace-name-in-formula): New defun.
12143 (ses-rename-cell): New defun.
12145 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12147 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12148 New option (bug#11118).
12149 (perl-calculate-indent): Respect it.
12151 2012-04-17 Glenn Morris <rgm@gnu.org>
12153 * dired-aux.el (dired-mark-read-string): Doc fix.
12155 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12157 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12158 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12160 2012-04-17 Glenn Morris <rgm@gnu.org>
12162 * mouse.el (mouse-drag-track):
12163 * speedbar.el (speedbar-frame-mode):
12164 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12166 2012-04-16 Leo Liu <sdl.web@gmail.com>
12168 * progmodes/python.el: Trivial cleanup.
12170 2012-04-16 Glenn Morris <rgm@gnu.org>
12172 * vc/vc.el (vc-string-prefix-p):
12173 * vc/pcvs-util.el (cvs-string-prefix-p):
12174 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12175 * mpc.el (mpc-string-prefix-p):
12176 Make all of these into obsolete aliases for string-prefix-p.
12178 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12180 * textmodes/two-column.el: Move custom options to the start.
12181 (frame-width): Remove compat definition.
12182 (2C-associate-buffer, 2C-dissociate):
12183 Use with-current-buffer rather than save-excursion.
12184 (2C-dissociate): Force a mode-line update.
12185 (2C-autoscroll): Use ignore-errors.
12187 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12190 * emacs-lisp/cl-extra.el (*random-state*):
12191 Remove unnecessary declaration.
12193 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12195 * play/cookie1.el (cookie-snarf):
12196 Give an explicit error if input file cannot be read.
12198 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12200 * progmodes/perl-mode.el (c-macro-expand):
12201 Remove unnecessary autoload (it is in loaddefs.el).
12203 * textmodes/picture.el (picture-desired-column)
12204 (picture-update-desired-column): Convert comments to doc-strings.
12205 (picture-substitute): Remove function.
12206 (picture-mode-map): Initialize in the defvar.
12208 * woman.el: Remove eval-after-load for tar-mode.
12209 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12210 (woman-tar-extract-file): Autoload it.
12212 * frame.el (automatic-hscrolling): Make this alias obsolete.
12214 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12216 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12217 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12218 (ispell-dictionary-base-alist): Revert to original XEmacs
12219 friendly version for default. [:alpha:] will be added in
12220 `ispell-set-spellchecker-params' if needed.
12222 2012-04-16 Chong Yidong <cyd@gnu.org>
12224 * image.el (imagemagick--file-regexp): New variable.
12225 (imagemagick-register-types): Use it.
12226 (imagemagick-types-inhibit): Add :set function. Allow new value
12227 of t to inhibit all types.
12229 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12230 so we can preload it.
12232 * loadup.el (fboundp): Preload regexp-opt, needed by
12233 imagemagick-register-types.
12235 2012-04-15 Chong Yidong <cyd@gnu.org>
12237 * frame.el (scrolling): Remove nearly unused customization group.
12239 * scroll-all.el (scroll-all-mode): Move to windows group.
12241 2012-04-15 Chong Yidong <cyd@gnu.org>
12243 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12245 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12247 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12248 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12250 2012-04-15 Glenn Morris <rgm@gnu.org>
12252 * simple.el (process-file-side-effects): Doc fix.
12254 2012-04-15 Glenn Morris <rgm@gnu.org>
12256 * international/mule-cmds.el (set-language-environment): Doc fix.
12258 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12260 * server.el (server-auth-key, server-generate-key): Doc fixes.
12261 (server-get-auth-key): Doc fix. Use `string-match-p'.
12262 (server-start): Reflow docstring.
12264 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12266 * server.el (server-generate-key): `called-interactively-p'
12267 requires a parameter.
12269 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12271 * server.el (server-auth-key): New variable.
12272 (server-generate-key, server-get-auth-key): New function.
12273 (server-start): Use the new variable and functions to allow
12274 setting a permanent server key (bug#9423).
12276 2012-04-14 Leo Liu <sdl.web@gmail.com>
12278 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12280 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12283 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12284 Emacs uses American spelling.
12286 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12288 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12289 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12290 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12291 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12293 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12295 * progmodes/which-func.el (which-func-modes): Change default.
12297 2012-04-14 Kim F. Storm <storm@cua.dk>
12299 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12300 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12302 2012-04-14 Chong Yidong <cyd@gnu.org>
12304 * custom.el (custom-theme-set-variables): Doc fix.
12306 2012-04-14 Glenn Morris <rgm@gnu.org>
12308 * international/mule.el (set-auto-coding-for-load): Doc fix.
12310 2012-04-14 Alan Mackenzie <acm@muc.de>
12312 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12313 imenu work again for Objective C Mode. Correct the *-index values,
12314 these having been disturbed by a previous change in 2011-08.
12316 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12317 Correct two search limits.
12319 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12321 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12323 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12325 * international/characters.el: Fix sorting.
12327 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12329 * international/characters.el: Add more missing Latin case pairs.
12331 2012-04-14 Glenn Morris <rgm@gnu.org>
12333 * files.el (dir-locals-set-class-variables): Doc fix.
12335 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12337 * international/characters.el: Add set-case-syntax-pair call for
12338 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12339 counterpart. (Bug#11209)
12341 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12343 2012-04-14 Glenn Morris <rgm@gnu.org>
12345 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12347 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12349 * textmodes/ispell.el (ispell-dictionary-base-alist):
12350 Add data for Hebrew.
12352 2012-04-14 Chong Yidong <cyd@gnu.org>
12354 * net/rcirc.el (rcirc-cmd-quit):
12355 Revert 2012-03-18 change (Bug#11192).
12357 2012-04-14 Glenn Morris <rgm@gnu.org>
12359 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12361 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12363 * minibuffer.el (completion-in-region-mode-map):
12364 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12366 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12368 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12370 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12372 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12373 to allow `C-M-f' and `C-M-b' to move to the nearest path
12374 separator (bug#9511).
12376 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12378 * avoid.el: Require cl when compiling. And also move the
12379 `provide' to the end.
12381 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12383 * avoid.el (mouse-avoidance-banish-position): New variable.
12384 (mouse-avoidance-banish-destination): Use it (bug#10165).
12386 2012-04-13 Leo Liu <sdl.web@gmail.com>
12388 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12390 2012-04-13 Ken Brown <kbrown@cornell.edu>
12392 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12393 this is no longer needed now that cygstart understands file:// URLs.
12394 (browse-url-filename-alist): For the same reason, don't modify
12395 file:// URLs on Cygwin.
12397 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12399 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12400 the region on shift if the binding is already shifted (bug#11221).
12402 2012-04-12 Glenn Morris <rgm@gnu.org>
12404 * mail/mailpost.el: Move to obsolete/.
12406 2012-04-12 Drew Adams <drew.adams@oracle.com>
12408 * imenu.el (imenu--generic-function): Ignore invisible definitions
12411 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12413 * hexl.el (hexl-bits): New variable.
12414 (hexl-options): Mention the variable in the doc string.
12415 (hexl-rulerise, hexl-line-displen): New functions.
12416 (hexl-mode): Mention the new variable.
12417 (hexl-mode, hexl-current-address, hexl-current-address):
12419 (hexl-ascii-start-column): New function.
12420 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12421 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12423 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12425 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12426 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12427 the encoding, as expected by hunspell.
12429 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * battery.el (battery--linux-sysfs-regexp): New const.
12432 (battery-status-function): Use it. Remove yeeloong special case.
12433 (battery-yeeloong-sysfs): Remove.
12434 (battery-echo-area-format): Remove yeeloong special case.
12436 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12438 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12439 Reported by Noah Friedman.
12441 * subr.el (read-passwd): Use read-string.
12443 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445 * vcursor.el (vcursor-move): Increase the priority of the overlay
12448 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12450 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12451 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12453 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12455 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12456 define-minor-mode (bug#10760).
12458 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12460 * progmodes/grep.el (rgrep): Tweak the find command line so
12461 that directories matching `grep-find-ignored-files' won't be
12462 pruned (bug#10351).
12464 2012-04-11 Chong Yidong <cyd@gnu.org>
12466 * startup.el (command-line): Remove support for long-obsolete
12467 variable font-lock-face-attributes.
12469 2012-04-11 Glenn Morris <rgm@gnu.org>
12471 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12473 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12475 * window.el (window--state-get-1): Obey window-point-insertion-type.
12477 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12479 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12480 to previous function when point is on the first character of a
12481 function. Take care of that in `narrow-to-defun' (bug#6157).
12483 2012-04-11 Glenn Morris <rgm@gnu.org>
12485 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12486 not just file-errors.
12488 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12489 (vc-bzr-sha1): Use internal sha1.
12491 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12493 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12495 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12497 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12498 that start in the middle of the line (bug#10496).
12500 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12502 * battery.el (battery-linux-proc-acpi): Only one battery is
12503 discharged at a time, but that seems to confuse battery.el when
12504 computing `rate-type' for the battery not being discharged
12507 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12509 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12511 * international/quail.el: Use dolist and simplify.
12512 (quail-define-package, quail-update-keyboard-layout)
12513 (quail-define-rules): Use dolist.
12514 (quail-insert-kbd-layout, quail-get-translation): CSE.
12516 * tmm.el: Use dolist, remove left over hook.
12517 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12519 (calendar-load-hook): Don't mess with it.
12521 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12522 Use derived-mode-p. Run the diff asynchronously.
12524 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12526 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12528 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12530 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12531 (list-dynamic-libraries--loaded): New function.
12532 (list-dynamic-libraries--refresh): Use it.
12534 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12536 * progmodes/python.el (python-fill-paragraph):
12537 Make python-fill-region in a multiline string work when font-lock is
12538 disabled (bug#7018).
12540 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12542 * language/european.el (cp775): Add oem/legacy (en)coding on
12543 DOS/MS Windows for the Baltic languages. There are still plenty
12544 of texts written in this encoding/codepage (bug#6519).
12546 2012-04-10 Glenn Morris <rgm@gnu.org>
12548 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12549 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12551 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12553 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12554 next-line "n" and previous-line "p" in order to make recentf more
12555 consistent with ibuffer, dired or org-mode (bug#9387).
12557 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12559 * image.el (put-image): Return the overlay created instead of the
12560 optional input string (bug#7834). Note that this may break code
12561 that is (for some reason or other) depending on `put-image'
12562 returning the string.
12564 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12566 * simple.el (zap-to-char): Allow zapping using input methods
12569 * textmodes/fill.el (fill-region): Leave point and mark where they
12570 were before filling (bug#5399).
12572 2012-04-09 Glenn Morris <rgm@gnu.org>
12574 * version.el (emacs-bzr-get-version):
12575 Handle lightweight checkouts of local branches.
12577 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12579 * international/characters.el: Recover lost case pairs. (Bug#11209)
12581 2012-04-09 Chong Yidong <cyd@gnu.org>
12583 * custom.el (custom-variable-p): Return nil for non-symbol
12584 arguments instead of signaling an error.
12585 (user-variable-p): Obsolete alias for custom-variable-p.
12587 * apropos.el (apropos-variable):
12588 * files-x.el (read-file-local-variable):
12589 * simple.el (set-variable):
12590 * woman.el (woman-mini-help):
12591 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12593 2012-04-09 Glenn Morris <rgm@gnu.org>
12595 * startup.el (normal-top-level): Don't look for leim-list.el
12596 in places where it will not be found. (Bug#910)
12598 * international/mule-cmds.el (set-default-coding-systems):
12599 * files.el (normal-mode):
12600 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12601 This function was removed with ucs-tables.el in 2008.
12603 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12605 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12606 ispell-encoding8-command to "-i", without a trailing space.
12607 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12608 separate command-line arguments, to specify the encoding, since
12609 that's how hunspell expects it.
12611 2012-04-08 Glenn Morris <rgm@gnu.org>
12613 * loadup.el: Load bindings before cus-start.
12614 This reduces somewhat the number of "rogue" settings in emacs -Q.
12616 2012-04-07 Glenn Morris <rgm@gnu.org>
12618 * version.el (emacs-bzr-get-version): New function.
12619 (emacs-bzr-version): New variable.
12620 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12621 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12623 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12625 * international/uni-bidi.el, international/uni-category.el:
12626 * international/uni-combining.el, international/uni-decimal.el:
12627 * international/uni-decomposition.el, international/uni-digit.el:
12628 * international/uni-lowercase.el, international/uni-mirrored.el:
12629 * international/uni-name.el, international/uni-numeric.el:
12630 * international/uni-titlecase.el, international/uni-uppercase.el:
12631 Update for Unicode 6.1.
12633 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12635 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12637 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12639 * window.el (shrink-window): Mention the `window-min-height'
12640 variable in the doc string.
12642 2012-04-05 Bastien Guerry <bzg@altern.org>
12644 * color.el (color-lighten-name): Fix typo.
12646 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12648 * server.el (server--on-display-p): New function.
12649 (server--on-display-p): Use it.
12651 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12653 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12656 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * comint.el (comint--common-quoted-suffix): Check string boundary
12659 before comparing (bug#11158).
12660 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12662 2012-04-04 Chong Yidong <cyd@gnu.org>
12664 * minibuffer.el (completion-extra-properties): Doc fix.
12666 * subr.el (delayed-warnings-hook): Doc fix.
12668 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12670 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12671 selection (Bug#11159).
12672 (epa-insert-keys): Inform that the default public key will be
12673 exported if no key is selected.
12675 2012-04-04 Richard Stallman <rms@gnu.org>
12677 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12679 2012-04-03 Chong Yidong <cyd@gnu.org>
12681 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12682 mail-insert-file, not its obsolete alias mail-attach-file.
12684 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12686 * notifications.el (notifications-notify): Fix docstring.
12688 2012-04-02 Glenn Morris <rgm@gnu.org>
12690 * emacs-lisp/authors.el (authors-aliases): Another addition.
12692 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12694 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12695 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12696 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12698 2012-04-01 Chong Yidong <cyd@gnu.org>
12700 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12701 Handle root directory properly.
12702 (copy-directory): Caller changed.
12704 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12705 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12707 2012-03-31 Glenn Morris <rgm@gnu.org>
12709 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12711 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12713 * calendar/calendar.el (calendar-window-list)
12714 (calendar-hide-window): Restore. (Bug#11140)
12715 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12717 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12719 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12721 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12722 Check if file is a symlink (Bug#10489).
12724 * files.el (copy-directory): Likewise.
12726 2012-03-30 Chong Yidong <cyd@gnu.org>
12728 * image.el (imagemagick-types-inhibit)
12729 (imagemagick-register-types): Doc fix.
12731 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12733 * textmodes/ispell.el (ispell-get-extended-character-mode):
12734 Disable extended-char-mode for hunspell. hunspell does not support it
12735 and treats ~word as ordinary words in pipe mode.
12737 2012-03-30 Glenn Morris <rgm@gnu.org>
12739 * tutorial.el (help-with-tutorial): Ensure local variables don't
12740 happen to make the buffer read-only. (Bug#11127)
12742 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12745 (perl-calculate-indent): Return `noindent' in strings.
12747 2012-03-28 Sam Steingold <sds@gnu.org>
12749 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12750 instead of the broken adhockery which does not prevent calendar
12751 buffers from being displayed at random after exit.
12752 (calendar-window-list, calendar-hide-window): Remove the broken
12755 2012-03-28 Glenn Morris <rgm@gnu.org>
12757 * replace.el (query-replace-map): Doc fix.
12759 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12761 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12762 contents. (Bug#11109)
12764 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12766 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12768 (avl-tree--check, avl-tree--check-node): New funs.
12770 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12772 * window.el (switch-to-visible-buffer): New option.
12773 (switch-to-prev-buffer, switch-to-next-buffer):
12774 Observe switch-to-visible-buffer. Make sure that checking for a window
12775 showing a buffer already is done on the same frame.
12777 2012-03-27 Glenn Morris <rgm@gnu.org>
12779 * startup.el (mail-host-address): Doc fix.
12781 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12783 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12784 than 197 variables.
12786 2012-03-26 Ami Fischman <ami@fischman.org>
12788 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12790 2012-03-26 Glenn Morris <rgm@gnu.org>
12792 * files.el (save-buffers-kill-emacs): Doc fix.
12794 * startup.el (normal-top-level, command-line, command-line-1):
12795 Give them doc strings.
12797 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12799 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12800 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12802 2012-03-25 Chong Yidong <cyd@gnu.org>
12804 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12805 theme if it was previously enabled before (Bug#11031).
12807 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12808 spec with custom-face-get-current-spec if its :shown-value is not
12809 determined yet (Bug#9337).
12810 (customize-create-theme, custom-theme-revert): Doc fixes.
12812 * button.el (button-at): Minor addition to docstring.
12814 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12816 * vc/vc.el (vc-merge): Fix a prompt.
12818 2012-03-24 Chong Yidong <cyd@gnu.org>
12820 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12823 * button.el (button-at): Minor addition to docstring.
12825 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12827 * newcomment.el (comment-choose-indent): No space after BOL.
12829 2012-03-22 Sam Steingold <sds@gnu.org>
12831 * window.el (switch-to-prev-buffer): Revert last patch because the
12832 bug turned out to be an advertised feature (Elisp manual 28.14).
12834 2012-03-22 Glenn Morris <rgm@gnu.org>
12836 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12837 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12839 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12841 * net/network-stream.el (network-stream-open-starttls): Make error
12842 message under Windows be less misleading.
12844 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12846 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12847 understands (bug#9942).
12849 2012-03-22 Chong Yidong <cyd@gnu.org>
12851 * simple.el (end-of-visible-line): Handle return value of
12852 next-single-property-change properly (Bug#9371).
12854 2012-03-22 Kenichi Handa <handa@m17n.org>
12856 * international/quail.el (quail-insert-kbd-layout): Fix previous
12857 change. To avoid unwanted bidi reordering, use
12858 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12860 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12862 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12863 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12864 (ruby-beginning-of-indent): Be more careful with the difference
12865 between word-boundary and symbol boundary.
12866 (ruby-mode-syntax-table): Make : a symbol constituent.
12868 2012-03-21 Andreas Politz <politza@fh-trier.de>
12870 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12872 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12874 * progmodes/etags.el (tags-completion-at-point-function):
12877 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12879 2012-03-21 Sam Steingold <sds@gnu.org>
12881 * progmodes/etags.el (tags-completion-at-point-function):
12882 Avoid the error when point is inside the pattern.
12884 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12886 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12889 2012-03-21 Drew Adams <drew.adams@oracle.com>
12891 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12893 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12895 * ido.el (ido-set-current-directory, ido-read-internal)
12896 (ido-choose-completion-string, ido-completion-help): Handle nil
12897 value of ido-completion-buffer (Bug#11008).
12899 2012-03-21 Sam Steingold <sds@gnu.org>
12901 * window.el (switch-to-prev-buffer): Do not switch to a visible
12902 window previous buffer, just like with the frame previous buffers.
12904 2012-03-21 Chong Yidong <cyd@gnu.org>
12906 * faces.el (make-face, make-empty-face, copy-face):
12907 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12910 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12913 (widget-complete): Remove broken use of it.
12915 2012-03-20 Chong Yidong <cyd@gnu.org>
12917 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12918 Use string-width and truncate-string-width to handle arbitrary
12921 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12923 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12924 to draw rectangles, not squares. (Regression introduced by revno
12925 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12927 2012-03-18 Chong Yidong <cyd@gnu.org>
12929 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12930 it is not yet defined (for temacs).
12932 2012-03-18 Leo Liu <sdl.web@gmail.com>
12934 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12937 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12939 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12940 (ispell-choices-win-default-height, ispell-silently-savep)
12941 (ispell-dictionary-alist, ispell-encoding8-command)
12942 (ispell-check-version, ispell-aspell-find-dictionary)
12943 (ispell-valid-dictionary-list, ispell-words-keyword)
12944 (ispell-get-word, ispell-internal-change-dictionary)
12945 (ispell-region, ispell-skip-region-list)
12946 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12947 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12948 (ispell-message-text-end, ispell-message)
12949 (ispell-buffer-local-parsing): Doc fix.
12951 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12953 * htmlfontify.el: Add support for code block fontification for ODT
12954 export (Bug #9914).
12955 (hfy-optimisations): Define new option
12957 (hfy-fontify-buffer): Honor above setting.
12958 (hfy-begin-span, hfy-end-span): New routines factored out form
12959 `hfy-fontify-buffer'.
12960 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12961 that permit insertion of custom tags.
12962 (hfy-fontify-buffer): Use above handlers.
12963 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12964 (hfy-face-to-css): Re-defined to be a variable.
12965 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12966 over multiple runs. This is made possible by having the caller let
12967 bind a special variable `hfy-user-sheet-assoc'.
12968 (htmlfontify-string): New defun.
12969 (hfy-compile-face-map): Make sure that the last char in the
12970 buffer is correctly fontified.
12971 (hfy-face-resolve-face): Whitespace only change.
12973 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12975 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12976 message more clear.
12978 2012-03-16 Leo Liu <sdl.web@gmail.com>
12980 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12982 2012-03-16 Alan Mackenzie <acm@muc.de>
12984 Further optimize the handling of large macros.
12986 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12987 limit to a call of `c-literal-limits'.
12988 (c-determine-+ve-limit): New function.
12989 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12990 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12991 In CASE 5B, restrict a search limit to 500.
12992 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12994 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12995 Restrict macro bounds to +-500 from after-change's BEG END.
12997 2012-03-16 Leo Liu <sdl.web@gmail.com>
12999 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13001 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13003 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13004 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13006 2012-03-16 Glenn Morris <rgm@gnu.org>
13008 * view.el (view-buffer, view-buffer-other-window)
13009 (view-buffer-other-frame): Doc fixes re special mode-class.
13011 * subr.el (eval-after-load): If named feature is provided not from
13012 a file, run after-load forms. (Bug#10946)
13014 * calendar/calendar.el (calendar-insert-at-column):
13015 Handle non-unit-width characters a bit better. (Bug#10978)
13017 2012-03-15 Chong Yidong <cyd@gnu.org>
13019 * emacs-lisp/ring.el (ring-extend): New function.
13020 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13022 * comint.el (comint-read-input-ring)
13023 (comint-add-to-input-history): Grow comint-input-ring lazily.
13025 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13028 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13030 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13031 (imenu-add-to-menubar): Don't add a redundant index.
13032 (imenu-update-menubar): Handle a dynamically composed keymap.
13034 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13036 * mail/sendmail.el (mail-encode-header):
13037 Bind rfc2047-encode-encoded-words to nil.
13039 2012-03-13 Glenn Morris <rgm@gnu.org>
13041 * calendar/calendar.el (calendar-string-spread):
13042 Handle non-unit-width characters a bit better. (Bug#10978)
13044 2012-03-13 Leo Liu <sdl.web@gmail.com>
13046 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13047 directory and file as argument (Bug#10822).
13049 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13051 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13052 For dynamically generated code, follow $PC.
13053 (gdb-disassembly-handler-custom): Handle no function name case.
13055 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13057 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13058 * emulation/ws-mode.el (ws-query-replace):
13059 * sort.el (sort-regexp-fields):
13060 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13062 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13064 * dabbrev.el: Fix cycle completion order (bug#10963).
13065 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13066 (dabbrev-completion): Don't use an obarray; provide
13067 a cycle-sort-function.
13069 2012-03-12 Leo Liu <sdl.web@gmail.com>
13071 * simple.el (kill-new): Use equal-including-properties for comparison.
13072 (kill-do-not-save-duplicates): Doc fix.
13074 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13076 * dabbrev.el: Fix cycle completion (bug#10963).
13077 Use lexical binding and wrap to 80 columns.
13078 (dabbrev-completion): Delay computing the list of completions.
13080 2012-03-12 Kenichi Handa <handa@m17n.org>
13082 * international/quail.el (quail-insert-kbd-layout): Surround each
13083 row by LRO and PDF instead of inserting many LRMs. Pad the left
13084 and right of each non-spacing marks. Insert invisible space
13085 between lower and upper characters to prevent composition.
13087 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * minibuffer.el (minibuffer-complete): Don't get confused when the
13090 function is run twice via different commands (bug#10958).
13091 (complete-with-action): Fix docstring.
13093 2012-03-12 Chong Yidong <cyd@gnu.org>
13095 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13096 (nxml-completion-at-point-function): New function.
13097 (nxml-mode): Use it.
13098 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13100 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13101 Load generated autoloads file before byte compiling (Bug#10970).
13102 (package--make-autoloads-and-compile): New helper fun.
13104 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13106 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13108 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13110 * autorevert.el (auto-revert-handler): Ensure, that
13111 file-readable-p is applied only for local files or in
13112 auto-revert-tail-mode.
13114 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13116 * server.el (server-eval-at): Handle non-tcp connections.
13117 Decode result string.
13119 * server.el (server-msg-size): New constant.
13120 (server-reply-print): New function.
13121 (server-eval-and-print): Use it.
13122 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13123 Handle -print-nonl.
13125 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13127 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13130 2012-03-11 Chong Yidong <cyd@gnu.org>
13132 * simple.el (goto-line): Doc fix (Bug#9938).
13134 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13136 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13137 when finished (Bug#10963).
13139 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13141 * window.el (split-window-below): Fix bug in case where
13142 split-window-keep-point is nil (Bug#10971).
13144 2012-03-11 Juri Linkov <juri@jurta.org>
13146 * replace.el (replace-highlight): Set isearch-word to nil
13147 unconditionally. (Bug#10887)
13149 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13151 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13152 mairix-replace-illegal-chars; all callers changed. Don't remove
13153 ^, ~, and = characters: they are meaningful in mairix search specs.
13154 (mairix-widget-create-query): Add usage information about mairix
13155 search forms: negating words, searching for substrings, etc.
13157 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13159 * international/fontset.el (font-encoding-alist): Add an entry for
13160 ksx1001 (Bug#5667).
13162 2012-03-10 Richard Stallman <rms@gnu.org>
13164 * mail/sendmail.el (mail-encode-header):
13165 Set rfc2047-encode-encoded-words.
13167 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13169 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13170 view buffer means not swapped.
13171 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13172 (rmail-write-region-annotate): Error if real text has disappeared.
13174 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13176 2012-03-10 Chong Yidong <cyd@gnu.org>
13178 * emulation/cua-rect.el (cua--init-rectangles):
13179 * emulation/cua-base.el (cua--init-keymaps):
13180 Add delete-forward-char to remappings (Bug#9666).
13182 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13184 * speedbar.el (speedbar-unhighlight-one-tag-line):
13185 Avoid unhighlighting due to frame switching (Bug#10275).
13187 2012-03-10 Chong Yidong <cyd@gnu.org>
13189 * minibuffer.el (completion-in-region, completion-help-at-point):
13190 Give the completion field overlay a high priority (Bug#6830).
13192 * dired.el (dired-goto-file): Recognize absolute file name
13193 listings (Bug#7126).
13194 (dired-goto-file-1): New helper function.
13195 (dired-toggle-read-only): Inhibit warnings.
13197 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13199 * net/dbus.el (dbus-property-handler): Return empty array if
13200 there are no properties.
13202 2012-03-09 Leo Liu <sdl.web@gmail.com>
13204 * savehist.el (savehist-printable): Stricter check for string
13207 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13209 * mail/smtpmail.el (smtpmail-send-it):
13210 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13213 2012-03-09 Glenn Morris <rgm@gnu.org>
13215 * files.el (dir-locals-find-file):
13216 Don't check result is regular, readable.
13217 (dir-locals-read-from-file): Demote errors.
13219 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13221 * international/quail.el (quail-insert-kbd-layout):
13222 Insert invisible LRM characters before each character in a keyboard
13223 layout cell, to prevent their reordering by bidi display engine.
13224 For details, see the discussion in
13225 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13227 2012-03-08 Alan Mackenzie <acm@muc.de>
13229 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13230 the starting position; make it extend the marked region when
13231 invoked repeatedly - all under appropriate circumstances.
13232 Fixes bugs #5525, #10906.
13234 2012-03-08 Glenn Morris <rgm@gnu.org>
13236 * files.el (locate-dominating-file, dir-locals-find-file):
13237 Undo 2012-03-06 change.
13239 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13241 * international/quail.el (quail-help):
13242 Force bidi-paragraph-direction be left-to-right. See discussion in
13243 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13246 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13248 Avoid superfluous registering of signals. (Bug#10807)
13250 * notifications.el (notifications-on-action-object)
13251 (notifications-on-close-object): New defvars.
13252 (notifications-on-action-signal, notifications-on-closed-signal):
13253 Unregister the signal if not needed any longer.
13254 (notifications-notify): Register `notifications-action-signal' or
13255 `notifications-closed-signal', if :on-action or :on-close has been
13256 passed as argument.
13258 2012-03-07 Chong Yidong <cyd@gnu.org>
13260 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13263 2012-03-06 Glenn Morris <rgm@gnu.org>
13265 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13266 (x-disown-selection-internal, x-get-selection-internal):
13267 Doc fix (add arglist signatures). (Bug#10783)
13269 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13271 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13272 Handle breakpoints with no "type".
13274 2012-03-06 Glenn Morris <rgm@gnu.org>
13276 * files.el (locate-dominating-file): Add optional predicate argument.
13277 (dir-locals-find-file): Make use of above change.
13279 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13281 * info.el (Info-insert-dir): Also try "dir.gz".
13283 2012-03-06 Glenn Morris <rgm@gnu.org>
13285 * files.el (dir-locals-find-file):
13286 Ignore non-readable or non-regular files. (Bug#10928)
13288 * files.el (locate-dominating-file): Doc fix.
13290 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13292 * calendar/calendar.el (calendar-set-mode-line):
13293 `getenv' returns a string. (Bug#10951)
13295 2012-03-05 Leo Liu <sdl.web@gmail.com>
13297 * simple.el (backward-delete-char-untabify): Constrain point to
13300 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13302 2012-03-05 Chong Yidong <cyd@gnu.org>
13304 * simple.el (count-words): If called from Lisp, return the word
13305 count, for symmetry with `count-lines'. Arglist changed.
13306 (count-words--message): Args changed. Consolidate counting code
13307 from count-words and count-words-region.
13308 (count-words-region): Caller changed.
13309 (count-lines-region): Make it an obsolete alias.
13311 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13313 * saveplace.el (save-place-to-alist)
13314 (save-place-ignore-files-regexp): Allow value nil to disable this
13317 2012-03-04 Chong Yidong <cyd@gnu.org>
13319 * faces.el (face-spec-reset-face): For the default face, reset the
13320 attributes to default values (Bug#10748).
13322 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13324 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13325 previous patch: Check `message-send-mail-function', and not the
13326 default function (bug#10897).
13328 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13330 * notifications.el (notifications-on-action-signal)
13331 (notifications-on-closed-signal): Check for unique service name of
13332 incoming event. Fix error in removing entry.
13333 (top): Register for signals with wildcard service name.
13334 (notifications-notify): Use daemon unique service name for map entries.
13336 2012-03-04 Chong Yidong <cyd@gnu.org>
13338 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13340 2012-03-04 Glenn Morris <rgm@gnu.org>
13342 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13343 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13344 (expand-abbrev, define-abbrev-table): Doc fixes.
13346 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13349 `message-default-send-mail-function' and not `send-mail-function'
13350 when doing the prompting for `sendmail-query-once' before sending
13351 in Message buffers (bug#10897).
13353 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13354 This is inconsistent with all the other stream functions, which leave
13355 the setting up to the higher levels (if so wanted) (bug#10931).
13357 2012-03-02 Alan Mackenzie <acm@muc.de>
13359 Depessimize the handling of very large macros.
13361 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13362 (c-macro-cache-syntactic): New variables to implement a one
13363 element macro cache.
13364 (c-invalidate-macro-cache): New function.
13365 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13366 Adapt to use the new cache.
13367 (c-state-safe-place): Use better the cache of safe positions.
13368 (c-state-semi-nonlit-pos-cache)
13369 (c-state-semi-nonlit-pos-cache-limit):
13370 New variables for...
13371 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13372 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13373 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13374 Use c-state-semi-safe-place.
13376 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13377 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13379 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13381 * jka-compr.el (jka-compr-call-process):
13382 Apply `file-accessible-directory-p' only when the default directory is
13385 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13387 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13388 access of FILE2, if FILE1 does not exist.
13390 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13391 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13393 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13394 Add "PAGER=" to `process-environment'.
13396 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13398 * progmodes/sql.el: Bug fix
13399 (sql-get-login-ext): Save login values in globals.
13400 (sql-get-login): Use new version of `sql-get-login-ext'.
13401 (sql-interactive-mode): Set global `sql-connection' to nil.
13402 (sql-connect): Set global values for connection.
13403 (sql-product-interactive): Save global values as buffer local.
13405 2012-02-29 Leo Liu <sdl.web@gmail.com>
13407 * abbrev.el (define-abbrevs): Reset sys to nil.
13409 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13411 * files.el (file-equal-p): Rename from `files-equal-p'.
13412 Return nil when one or both files don't exist.
13413 (file-subdir-of-p): Now only top directory must exists,
13414 return nil if it doesn't.
13415 (copy-directory): No need to test with `file-subdir-of-p' after
13417 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13420 2012-02-28 Glenn Morris <rgm@gnu.org>
13422 * shell.el (shell-mode):
13423 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13424 * play/landmark.el (landmark-font-lock-face-O):
13425 * play/handwrite.el (handwrite):
13426 * play/gomoku.el (gomoku-O):
13427 * net/browse-url.el (browse-url-browser-display):
13428 * international/mule.el (define-charset):
13429 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13430 * filesets.el (filesets-find-file-delay):
13431 * eshell/em-xtra.el (eshell-xtra):
13432 * eshell/em-unix.el (eshell-grep):
13433 * emulation/viper.el (viper-mode):
13434 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13435 * emacs-lisp/easymenu.el (easy-menu-define):
13436 * calendar/timeclock.el (timeclock-use-display-time):
13438 * bookmark.el (bookmark-save-flag):
13439 Doc fix (standardize possessive apostrophe usage).
13441 2012-02-27 Chong Yidong <cyd@gnu.org>
13443 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13444 Fix key-binding lookup for ESC key (Bug#9146).
13446 * font-lock.el (font-lock-specified-p): Rename from
13447 font-lock-spec-present. Callers changed.
13449 2012-02-27 Daniel Hackney <dan@haxney.org>
13451 * emacs-lisp/package.el (package-compute-transaction):
13452 Handle holding a package version to t in package-load-list.
13454 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13456 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13457 (tramp-get-inode, tramp-get-device): Use cached values.
13459 2012-02-26 Alan Mackenzie <acm@muc.de>
13461 Check there is a font-lock specification before doing initial
13464 * font-core.el (font-lock-mode): Move the conditional from
13465 :after-hook to font-lock-initial-fontify.
13466 (font-lock-default-function): Move the check for a specification
13467 to font-lock-spec-present.
13469 * font-lock.el (font-lock-initial-fontify): Call ...
13470 (font-lock-spec-present): New function.
13472 2012-02-26 Jim Blandy <jimb@red-bean.com>
13474 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13475 (gdb-send): Apply it to the operand of the '-interpreter-exec
13476 console' command, so that we can pass arguments with (say) quotes
13477 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13479 2012-02-26 Chong Yidong <cyd@gnu.org>
13481 * help-fns.el (describe-function-1): Clarify description of
13482 remapping (Bug#10844).
13484 * files.el (files-equal-p): Doc fix.
13485 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13486 and quit the loop once a mismatch is found.
13488 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13490 * bs.el (bs--show-with-configuration): Don't throw an error
13491 if the window cannot be split; otherwise, subsequent calls to
13492 bs-show fail, restoring a stale window config. (Bug#10882)
13494 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13496 * term/ns-win.el (global-map): Bind ns-drag-file to
13497 ns-find-file (Bug#5855, Bug#10050).
13499 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13501 * calendar/parse-time.el (parse-time-string): Allow extractor to
13504 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13506 * net/tramp.el (tramp-file-name-for-operation):
13507 Add `files-equal-p' and `file-subdir-of-p'.
13509 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13510 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13511 Add COPY-CONTENTS argument.
13513 2012-02-25 Chong Yidong <cyd@gnu.org>
13515 Add custom groups for VC backends, for consistency with vc-bzr.
13517 * vc/vc-arch.el (vc-arch):
13518 * vc/vc-cvs.el (vc-cvs):
13519 * vc/vc-git.el (vc-git):
13520 * vc/vc-hg.el (vc-hg):
13521 * vc/vc-mtn.el (vc-mtn):
13522 * vc/vc-rcs.el (vc-rcs):
13523 * vc/vc-sccs.el (vc-sccs):
13524 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13525 All relevant defcustoms reassigned.
13527 2012-02-25 Chong Yidong <cyd@gnu.org>
13529 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13531 * term/x-win.el (x-initialize-window-system): Reduce default for
13532 x-selection-timeout to 5 seconds (Bug#8869).
13534 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13536 * files.el (files-equal-p, file-subdir-of-p): New functions.
13537 (copy-directory): Error when trying to copy a directory on itself.
13538 Add missing copy-contents arg to tramp handler.
13539 * dired-aux.el (dired-copy-file-recursive): Same.
13540 (dired-create-files): Modify destination when source is equal to
13541 dest when copying files.
13542 Return also when dest is a subdir of source. (Bug#10489)
13544 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13546 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13549 2012-02-23 Alan Mackenzie <acm@muc.de>
13551 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13552 parameter "after-hook:" to allow the expansion to run code after
13553 the execution of the mode hooks.
13555 * font-lock.el (font-lock-initial-fontify): New function extracted
13556 from font-lock-mode-internal.
13558 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13561 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13564 (completion--cache-all-sorted-completions): New function.
13565 (completion-all-sorted-completions): Use it.
13566 (completion--do-completion, minibuffer-force-complete):
13567 Use it to re-instate the flush hook.
13569 * icomplete.el (icomplete-completions): Replace last fix with a better
13572 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13574 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13575 when it might call us back infinitely (bug#10797).
13577 2012-02-23 Glenn Morris <rgm@gnu.org>
13579 * minibuffer.el (completion-category-overrides): Doc fix.
13581 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13583 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13584 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13586 2012-02-23 Glenn Morris <rgm@gnu.org>
13588 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13589 (authors-obsolete-files-regexps, authors-ignored-files)
13590 (authors-ambiguous-files, authors-renamed-files-alist):
13593 2012-02-23 Juri Linkov <juri@jurta.org>
13595 * isearch.el (isearch-occur): Sync interactive spec with occur's
13596 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13598 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13600 2012-02-22 Juri Linkov <juri@jurta.org>
13602 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13603 (ucs-insert): Doc fix. Check for hex digits in the string.
13604 Don't display `nil' in the error message. (Bug#10857)
13606 2012-02-22 Alan Mackenzie <acm@muc.de>
13608 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13610 2012-02-22 Glenn Morris <rgm@gnu.org>
13612 * ffap.el (ffap-c-path):
13613 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13615 2012-02-22 Chong Yidong <cyd@gnu.org>
13617 * custom.el (load-theme): Doc fix.
13619 2012-02-22 Glenn Morris <rgm@gnu.org>
13621 * dired-x.el (dired-guess-shell-alist-default):
13622 Remove escape sequences from nroff output. (Bug#172)
13624 2012-02-21 Glenn Morris <rgm@gnu.org>
13626 * vc/emerge.el (emerge-defvar-local):
13627 Set `permanent-local' property rather than unused `preserved'.
13629 * textmodes/picture.el (picture-delete-char): New alias.
13630 (picture-mode-map): Use it. (Bug#10860)
13631 (picture-mode): Doc fix.
13633 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13635 * newcomment.el (uncomment-region-default): Remove unused binding.
13637 2012-02-21 Glenn Morris <rgm@gnu.org>
13639 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13640 (picture-self-insert, picture-tab-chars): Doc fix.
13641 (picture-mode-map): Fix C-a, C-e.
13643 2012-02-20 Glenn Morris <rgm@gnu.org>
13645 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13647 2012-02-20 Leo Liu <sdl.web@gmail.com>
13649 * icomplete.el (icomplete-completions): Check FROM arg before
13650 passing to substring (Bug#10850).
13652 2012-02-19 Chong Yidong <cyd@gnu.org>
13654 * comint.el: Require ansi-color.
13655 (comint-output-filter-functions): Add ansi-color-process-output.
13657 * ansi-color.el: Don't set comint-output-filter-functions; it is
13658 now in the initial value defined in comint.el.
13659 (ansi-color-apply-face-function): New variable.
13660 (ansi-color-apply-on-region): Use it.
13661 (ansi-color-apply-overlay-face): New function.
13663 * shell.el (shell): No need to require ansi-color.
13664 (shell-mode): Use ansi-color-apply-face-function to highlight
13665 color escapes using font-lock-face property (Bug#10835).
13667 2012-02-19 Chong Yidong <cyd@gnu.org>
13669 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13670 mode-line formats (Bug#10839).
13672 2012-02-18 Glenn Morris <rgm@gnu.org>
13674 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13676 * mail/undigest.el (unforward-rmail-message): Doc fix.
13678 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13680 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13682 * international/characters.el (script-list): Sync with the latest
13683 Unicode Character Database.
13685 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13687 * international/titdic-cnv.el: Remove duplicate coding tag.
13688 * language/cham.el: Likewise.
13689 * language/tai-viet.el: Likewise.
13691 2012-02-18 Glenn Morris <rgm@gnu.org>
13693 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13694 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13695 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13696 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13697 * calendar/holidays.el (holiday-bahai-holidays)
13698 (calendar-holidays, list-holidays):
13699 Use utf-8 Bahá'í in doc-strings, menus, etc.
13701 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13703 * saveplace.el (save-place-ignore-files-regexp): New variable
13704 allowing for excluding files from saving their location of point.
13705 The default value matches the temporary commit message editing
13706 files from Git, SVN, Bazaar, and Mercurial.
13707 (save-place-to-alist): Use it.
13709 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13710 Stefan Monnier <monnier@iro.umontreal.ca>
13712 * newcomment.el (uncomment-region-default): Don't leave extra space
13713 when an arg is provided (bug#8150).
13715 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13717 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13719 2012-02-17 Glenn Morris <rgm@gnu.org>
13721 * net/socks.el: Require network-stream. (Bug#10599)
13723 2012-02-17 Kenichi Handa <handa@m17n.org>
13725 * international/charprop.el:
13726 * international/uni-name.el:
13727 * international/uni-old-name.el:
13728 * international/uni-comment.el: Regenerate.
13730 2012-02-16 Glenn Morris <rgm@gnu.org>
13732 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13733 Interactively in calendar buffer, give an error if not on a date.
13735 2012-02-15 Glenn Morris <rgm@gnu.org>
13737 * shell.el (shell-delimiter-argument-list):
13738 Revert 2011-02-17 change. (Bug#8027)
13740 2012-02-15 Chong Yidong <cyd@gnu.org>
13742 * minibuffer.el (completion-at-point-functions): Doc fix.
13744 * custom.el (defcustom): Doc fix; note use of defvar.
13746 2012-02-15 Glenn Morris <rgm@gnu.org>
13748 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13751 2012-02-14 Glenn Morris <rgm@gnu.org>
13753 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13755 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13757 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13758 way the ports list is computed.
13759 (smtpmail-query-smtp-server): Prompt the user for a port number if
13760 we can't connect to any of the standard ports (bug#10810).
13762 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13764 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13766 2012-02-13 Glenn Morris <rgm@gnu.org>
13768 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13770 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13772 * net/gnutls.el (gnutls-trustfiles): New variable.
13773 (gnutls-negotiate): Use it.
13775 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13777 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13778 does its stuff if Gnus is running.
13780 2012-02-13 Alan Mackenzie <acm@muc.de>
13782 Fix a loop in c-set-fl-decl-start.
13784 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13785 c-backward-syntactic-ws actually moves backwards.
13787 2012-02-13 Leo Liu <sdl.web@gmail.com>
13789 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13790 beginning so that all \C-o chars are removed.
13792 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13794 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13796 2012-02-12 Alan Mackenzie <acm@muc.de>
13798 Fix infinite loop with long macros.
13799 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13801 2012-02-12 Chong Yidong <cyd@gnu.org>
13803 * window.el (display-buffer): Doc fix (Bug#10785).
13805 2012-02-12 Glenn Morris <rgm@gnu.org>
13807 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13808 (x-disown-selection-internal, x-get-selection-internal):
13809 Sync docs with the xselect.c versions.
13811 * allout-widgets.el: Add missing license notice.
13813 2012-02-11 Glenn Morris <rgm@gnu.org>
13815 * select.el (x-get-selection-internal, x-own-selection-internal)
13816 (x-disown-selection-internal):
13817 * x-dnd.el (x-get-selection-internal): Update declarations.
13819 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13821 * window.el (window-sides-slots):
13822 * tool-bar.el (tool-bar-position):
13823 * term/xterm.el (xterm-extra-capabilities):
13824 * ses.el (ses-self-reference-early-detection):
13825 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13826 (verilog-auto-wire-type)
13827 (verilog-auto-delete-trailing-whitespace)
13828 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13829 (verilog-auto-tieoff-declaration):
13830 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13831 (sql-oracle-statement-starters, sql-oracle-scan-on):
13832 * progmodes/prolog.el (prolog-align-comments-flag)
13833 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13834 (prolog-left-indent-regexp, prolog-paren-indent-p)
13835 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13836 (prolog-types, prolog-mode-specificators)
13837 (prolog-determinism-specificators, prolog-directives)
13838 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13839 (prolog-electric-dot-flag)
13840 (prolog-electric-dot-full-predicate-template)
13841 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13842 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13843 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13844 (prolog-program-switches, prolog-prompt-regexp)
13845 (prolog-debug-on-string, prolog-debug-off-string)
13846 (prolog-trace-on-string, prolog-trace-off-string)
13847 (prolog-zip-on-string, prolog-zip-off-string)
13848 (prolog-use-standard-consult-compile-method-flag)
13849 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13850 (prolog-imenu-max-lines, prolog-info-predicate-index)
13851 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13852 (prolog-char-quote-workaround):
13853 * progmodes/cc-vars.el (c-defun-tactic):
13854 * net/tramp.el (tramp-encoding-command-interactive)
13855 (tramp-local-end-of-line):
13856 * net/soap-client.el (soap-client):
13857 * net/netrc.el (netrc-file):
13858 * net/gnutls.el (gnutls):
13859 * minibuffer.el (completion-category-overrides)
13860 (completion-cycle-threshold)
13861 (completion-pcm-complete-word-inserts-delimiters):
13862 * man.el (Man-name-local-regexp):
13863 * mail/feedmail.el (feedmail-display-full-frame):
13864 * international/characters.el (glyphless-char-display-control):
13865 * eshell/em-ls.el (eshell-ls-date-format):
13866 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13867 (lisp-lambda-list-keyword-parameter-indentation)
13868 (lisp-lambda-list-keyword-parameter-alignment):
13869 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13870 * dired-x.el (dired-omit-verbose):
13871 * cus-theme.el (custom-theme-allow-multiple-selections):
13872 * calc/calc.el (calc-highlight-selections-with-faces)
13873 (calc-lu-field-reference, calc-lu-power-reference)
13874 (calc-note-threshold):
13875 * battery.el (battery-mode-line-limit):
13876 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13877 (archive-7z-update):
13878 * allout.el (allout-prefixed-keybindings)
13879 (allout-unprefixed-keybindings)
13880 (allout-inhibit-auto-fill-on-headline)
13881 (allout-flattened-numbering-abbreviation):
13882 * allout-widgets.el (allout-widgets-auto-activation)
13883 (allout-widgets-icons-dark-subdir)
13884 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13885 (allout-widgets-theme-dark-background)
13886 (allout-widgets-theme-light-background)
13887 (allout-widgets-item-image-properties-emacs)
13888 (allout-widgets-item-image-properties-xemacs)
13889 (allout-widgets-run-unit-tests-on-load)
13890 (allout-widgets-time-decoration-activity)
13891 (allout-widgets-hook-error-post-time)
13892 (allout-widgets-track-decoration):
13893 Add missing :version tags to new defcustoms and defgroups.
13895 * progmodes/sql.el (sql-ansi-statement-starters)
13896 (sql-oracle-statement-starters): Add custom type.
13898 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13899 (prolog-system-version): Give it a type.
13901 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13903 * term/pc-win.el (x-select-text, x-selection-owner-p)
13904 (x-own-selection-internal, x-disown-selection-internal)
13905 (x-get-selection-internal): Sync doc strings and argument lists
13906 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13908 2012-02-11 Leo Liu <sdl.web@gmail.com>
13910 * progmodes/python.el (python-end-of-statement): Fix infinite
13913 2012-02-10 Glenn Morris <rgm@gnu.org>
13915 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13916 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13918 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13920 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13921 about SMTP before checking the From header.
13923 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13924 into own function for reuse by emacsbug.el.
13926 2012-02-10 Leo Liu <sdl.web@gmail.com>
13928 * subr.el (condition-case-unless-debug): Rename from
13929 condition-case-no-debug. All callers changed.
13930 (with-demoted-errors): Fix caller.
13932 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13933 * nxml/rng-valid.el (rng-do-some-validation):
13934 * emacs-lisp/package.el (package-refresh-contents)
13935 (package-menu-execute):
13936 * desktop.el (desktop-create-buffer):
13937 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13939 2012-02-10 Glenn Morris <rgm@gnu.org>
13941 * textmodes/bibtex.el:
13942 Add missing :version tags for new/changed defcustoms.
13944 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13946 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13948 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13949 (smtpmail-via-smtp): Use it, or fall back on the From address.
13950 (smtpmail-send-it): Ditto.
13952 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13954 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13955 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13956 (byte-compile-tmp-var): New const.
13957 (byte-compile-defvar): Use it to minimize .elc size.
13958 Just use `defvar' rather than simulate it (bug#10761).
13960 2012-02-09 Glenn Morris <rgm@gnu.org>
13962 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13964 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13967 * progmodes/compile.el (compilation-error-screen-columns)
13968 (compilation-first-column, compilation-filter-start): Doc fixes.
13970 * vc/log-view.el (log-view-toggle-entry-display):
13971 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13973 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13974 (report-emacs-bug-can-use-xdg-email):
13975 (report-emacs-bug-insert-to-mailer): Doc fixes.
13976 (report-emacs-bug): Message fix.
13978 * net/browse-url.el (browse-url-can-use-xdg-open)
13979 (browse-url-xdg-open): Doc fixes.
13981 * electric.el (electric-indent-mode, electric-pair-mode)
13982 (electric-layout-rules, electric-layout-mode): Doc fixes.
13983 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13985 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13987 * server.el (server-unselect-display): Don't inadvertently kill
13988 the current buffer. (Bug#10729)
13990 2012-02-08 Glenn Morris <rgm@gnu.org>
13992 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13993 (sql-list-table): Doc fixes.
13995 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13996 Comment out (does nothing).
13998 * completion.el (dynamic-completion-mode):
13999 * dirtrack.el (dirtrack-debug-mode):
14000 * electric.el (electric-layout-mode):
14001 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14002 * face-remap.el (text-scale-mode, buffer-face-mode):
14003 * iimage.el (iimage-mode):
14004 * image-mode.el (image-transform-mode):
14005 * minibuffer.el (completion-in-region-mode):
14006 * scroll-lock.el (scroll-lock-mode):
14007 * simple.el (next-error-follow-minor-mode):
14008 * tar-mode.el (tar-subfile-mode):
14009 * tooltip.el (tooltip-mode):
14010 * vcursor.el (vcursor-use-vcursor-map):
14011 * wid-browse.el (widget-minor-mode):
14012 * emulation/tpu-edt.el (tpu-edt-mode):
14013 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14014 * international/iso-ascii.el (iso-ascii-mode):
14015 * language/thai-util.el (thai-word-mode):
14016 * mail/supercite.el (sc-minor-mode):
14017 * net/goto-addr.el (goto-address-mode):
14018 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14019 * progmodes/cwarn.el (cwarn-mode):
14020 * progmodes/flymake.el (flymake-mode):
14021 * progmodes/glasses.el (glasses-mode):
14022 * progmodes/hideshow.el (hs-minor-mode):
14023 * progmodes/pascal.el (pascal-outline-mode):
14024 * textmodes/enriched.el (enriched-mode):
14025 * vc/smerge-mode.el (smerge-mode):
14026 Doc fixes (minor mode argument).
14028 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14030 * ls-lisp.el (ls-lisp-sanitize): New function.
14031 (ls-lisp-insert-directory): Use it to fix or remove any elements
14032 in file-alist with missing attributes. (Bug#4673)
14034 2012-02-07 Alan Mackenzie <acm@muc.de>
14036 Fix spurious recognition of c-in-knr-argdecl.
14038 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14039 putative K&R region.
14041 2012-02-07 Alan Mackenzie <acm@muc.de>
14043 * progmodes/cc-engine.el (c-forward-objc-directive):
14044 Prevent looping in "#pragma mark @implementation".
14046 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14048 * notifications.el (notifications-on-closed-signal): Make `reason'
14049 optional. (Bug#10744)
14051 2012-02-07 Glenn Morris <rgm@gnu.org>
14053 * emacs-lisp/easy-mmode.el (define-minor-mode):
14054 Doc fixes for the macro and the mode it defines.
14056 * image.el (imagemagick-types-inhibit): Doc fix.
14058 * cus-start.el (imagemagick-render-type): Add it.
14060 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14062 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14063 Set the default at load time, too, so that `font-lock-fontify-buffer'
14064 can be called without setting up the entire mode first. This fixes
14065 a bug in `mm-inline-text' with C MIME parts.
14067 2012-02-06 Chong Yidong <cyd@gnu.org>
14069 * simple.el (list-processes--refresh): Delete exited processes
14072 * comint.el (comint-next-prompt): next-single-char-property-change
14073 and prev-single-char-property-change never return nil (Bug#8657).
14075 * custom.el (defcustom): Doc fix (Bug#9711).
14077 2012-02-05 Chong Yidong <cyd@gnu.org>
14079 * cus-edit.el (custom-variable-reset-backup): Quote the value
14080 before storing it in the customized-value property (Bug#6712).
14081 (custom-display): Add a customization type tag.
14082 (custom-buffer-create-internal): Improve tooltip message.
14084 * wid-edit.el (widget-field-value-get): New optional arg to
14085 suppress trailing whitespace truncation.
14086 (character): Use it (Bug#2689).
14088 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14090 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14091 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14093 2012-02-05 Chong Yidong <cyd@gnu.org>
14095 * cus-edit.el (custom-variable-value-create): For mismatched
14096 types, show the current value (Bug#7600).
14098 * custom.el (defcustom): Doc fix.
14100 2012-02-05 Glenn Morris <rgm@gnu.org>
14102 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14104 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14106 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14107 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14108 (pp-last-sexp): Use `looking-at-p'.
14110 2012-02-04 Glenn Morris <rgm@gnu.org>
14112 * files.el (revert-buffer):
14113 Doc fix (mention revert-buffer-in-progress-p).
14115 * emacs-lisp/ert-x.el (ert-simulate-command):
14116 Check deferred-action-list (which is obsolete) is bound.
14118 * subr.el (with-wrapper-hook): Doc fixes.
14120 * simple.el (filter-buffer-substring-functions)
14121 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14123 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14125 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14126 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14128 2012-02-04 Leo Liu <sdl.web@gmail.com>
14130 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14132 2012-02-04 Glenn Morris <rgm@gnu.org>
14134 * image.el (image-extension-data): Add obsolete alias.
14136 * isearch.el (isearch-update): Doc fix.
14138 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14140 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14142 2012-02-03 Glenn Morris <rgm@gnu.org>
14144 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14145 (image-animate-timeout): Doc fix.
14147 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14149 2012-02-02 Glenn Morris <rgm@gnu.org>
14151 * server.el (server-auth-dir): Doc fix.
14152 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14154 * subr.el (run-mode-hooks): Doc fix.
14156 2012-02-02 Juri Linkov <juri@jurta.org>
14158 * image-mode.el (image-toggle-display-image): Remove tautological
14159 `major-mode' from the `derived-mode-p' test.
14161 2012-02-02 Kenichi Handa <handa@m17n.org>
14163 * composite.el (compose-region): Cancel previous change.
14165 2012-02-02 Kenichi Handa <handa@m17n.org>
14167 * composite.el (compose-region, compose-string): Signal error for
14168 a null string component (Bug#6988).
14170 2012-02-01 Chong Yidong <cyd@gnu.org>
14172 * view.el (view-buffer-other-window, view-buffer-other-frame):
14173 Handle special modes like view-buffer (Bug#10650).
14174 (view-buffer): Simplify.
14176 * frame.el (set-frame-font): Tweak meaning of third argument.
14178 * dynamic-setting.el (font-setting-change-default-font):
14179 Use set-frame-font (Bug#9982).
14181 2012-02-01 Glenn Morris <rgm@gnu.org>
14183 * progmodes/compile.el (compilation-internal-error-properties):
14184 Respect compilation-first-column in the "*compilation*" buffer.
14186 * emacs-lisp/easy-mmode.el (define-minor-mode):
14187 Relax :variable's test for a named function.
14189 2012-01-31 Alan Mackenzie <acm@muc.de>
14191 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14194 2012-01-31 Chong Yidong <cyd@gnu.org>
14196 * frame.el (set-frame-font): New arg ALL-FRAMES.
14198 * menu-bar.el (menu-set-font): Use set-frame-font.
14200 * faces.el (face-spec-reset-face): Don't apply unspecified
14201 attribute values to the default face.
14203 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14205 * progmodes/cwarn.el (cwarn): Remove dead link.
14206 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14207 Remove * from defcustom docstrings.
14208 (turn-on-cwarn-mode): Make obsolete.
14209 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14210 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14212 2012-01-31 Glenn Morris <rgm@gnu.org>
14214 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14215 Fix :variable handling of mode a symbol not equal to modefun.
14216 Allow named functions to be used as the cdr of :variable.
14218 2012-01-30 Glenn Morris <rgm@gnu.org>
14220 * emacs-lisp/authors.el (authors-fixed-entries):
14221 Remove reference to deleted file rnewspost.el.
14223 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14225 * window.el (window-with-parameter): Remove unused variable `windows'.
14226 (window--side-check): Remove unused variable `code'.
14227 (window--resize-siblings): Remove unused variable `first'.
14228 (adjust-window-trailing-edge): Remove unused variable `failed'.
14229 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14230 Use `let', not `let*'.
14231 (balance-windows-2): Remove unused variable `found'.
14232 (window--state-put-2): Remove unused variable `splits'.
14233 (window-state-put): Remove unused variable `selected'.
14234 (same-window-p): Use `string-match-p'.
14235 (display-buffer-assq-regexp): Remove unused variable `value'.
14236 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14237 Mark argument ALIST as ignored.
14238 (pop-to-buffer): Remove unused variable `old-window'.
14240 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14242 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14243 and .lzma compressed files.
14245 2012-01-29 Chong Yidong <cyd@gnu.org>
14247 * frame.el (window-system-default-frame-alist): Doc fix.
14249 * dynamic-setting.el (font-setting-change-default-font): Don't
14250 change the default face if SET-FONT argument is non-nil (Bug#9982).
14252 2012-01-29 Samuel Bronson <naesten@gmail.com>
14254 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14256 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14258 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14259 breakpoints in files outside current directory (Bug#6098).
14261 2012-01-29 Chong Yidong <cyd@gnu.org>
14263 * progmodes/python.el: Require ansi-color at top-level.
14265 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14266 Define and use in Emacs Lisp mode (Bug#9360).
14267 (lisp-mode-abbrev-table): Add doc.
14268 (lisp-mode-variables): Don't set local-abbrev-table.
14269 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14271 2012-01-28 Roland Winkler <winkler@gnu.org>
14273 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14275 2012-01-28 Roland Winkler <winkler@gnu.org>
14277 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14278 (bibtex-set-dialect): Use it. Either set global values of
14279 dialect-dependent variables or bind these variables buffer-locally
14281 (bibtex-mode): Call bibtex-set-dialect via
14282 hack-local-variables-hook.
14283 (bibtex-dialect): Update docstring.
14284 Add safe-local-variable predicate.
14285 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14286 bibtex-set-dialect.
14287 (bibtex-mode-map): Define menu for each dialect.
14288 (bibtex-entry): Fix docstring.
14290 2012-01-28 Chong Yidong <cyd@gnu.org>
14292 * eshell/esh-arg.el (eshell-quote-argument): New function.
14294 * eshell/esh-ext.el (eshell-invoke-batch-file):
14295 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14296 first arg to eshell-parse-command (Bug#10523).
14298 2012-01-28 Drew Adams <drew.adams@oracle.com>
14300 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14301 `default-directory' is non-nil.
14303 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14305 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14306 line that displays system-configuration-options. (Bug#9924)
14308 2012-01-28 Drew Adams <drew.adams@oracle.com>
14310 * descr-text.el (describe-char): Show information about POS, in
14311 addition to information about the character at POS. Improve and
14312 update the doc string. Change "code point" to "code point in
14313 charset", to avoid confusion with the character's Unicode code
14314 point shown above that. (Bug#10129)
14316 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14318 * descr-text.el (describe-char): Show the raw character, not only
14319 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14320 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14323 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14325 * emacs-lisp/package.el (package-install):
14326 Run package-refresh-contents if there is no archive yet (Bug#9798).
14328 2012-01-28 Chong Yidong <cyd@gnu.org>
14330 * emacs-lisp/package.el (package-maybe-load-descriptor):
14331 New function, split from package-maybe-load-descriptor.
14332 (package-maybe-load-descriptor): Use it.
14333 (package-download-transaction): Fully load required packages
14334 inside the loop, so that `require' calls work (Bug#10593).
14335 (package-install): No need to call package-initialize now.
14337 2012-01-28 Chong Yidong <cyd@gnu.org>
14339 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14341 * tooltip.el (tooltip-mode): Doc fix.
14342 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14344 * frame.el (set-cursor-color): Doc fix (Bug#352).
14346 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14347 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14349 * cus-edit.el (custom-buffer-create-internal): Fix search button
14350 action (Bug#10542).
14351 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14353 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14355 * dired.el (dired-mark-files-regexp):
14356 Include any subdirectory components. (Bug#10445)
14358 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14360 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14361 Handle [host]:port syntax. (Bug#10533)
14363 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14365 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14367 2012-01-26 Glenn Morris <rgm@gnu.org>
14369 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14370 * term.el (term-raw-escape-map): Use Control-X-prefix.
14371 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14373 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14375 * window.el (window-state-get, window--state-get-1): Don't deal
14376 with fixed-sizeness of windows. Simplify code.
14378 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14380 * window.el (window--state-get-1, window--state-put-2):
14381 Don't save and restore the mark.
14383 2012-01-25 Chong Yidong <cyd@gnu.org>
14385 * custom.el (custom-variable-p): Doc fix.
14387 2012-01-25 Glenn Morris <rgm@gnu.org>
14389 * dired.el (dired-goto-file): Handle some of the more common
14390 characters that `ls -b' escapes. (Bug#10596)
14392 * progmodes/compile.el (compilation-next-error-function):
14393 Respect compilation-first-column in the "*compilation*" buffer.
14394 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14396 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14398 2012-01-24 Glenn Morris <rgm@gnu.org>
14400 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14402 2012-01-24 Julien Danjou <julien@danjou.info>
14404 * color.el (color-rgb-to-hsl): Fix value computing.
14405 (color-hue-to-rgb): New function.
14406 (color-hsl-to-rgb): New function.
14407 (color-clamp, color-saturate-hsl, color-saturate-name)
14408 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14409 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14411 2012-01-24 Glenn Morris <rgm@gnu.org>
14413 * vc/vc-rcs.el (vc-rcs-create-tag):
14414 * vc/vc-sccs.el (vc-sccs-create-tag):
14415 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14417 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14419 * eshell/esh-util.el (eshell-read-hosts-file):
14420 Skip comment lines. (Bug#10549)
14422 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14424 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14426 * subr.el (display-delayed-warnings): Doc fix.
14427 (collapse-delayed-warnings): New function to collapse identical
14429 (delayed-warnings-hook): Add it.
14431 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14433 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14435 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14436 (tramp-default-user-alist): Don't add "pscp".
14437 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14438 property "login-as", if set. (Bug#10530)
14440 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14442 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14443 "plink1" and "psftp". (Bug#10530)
14445 2012-01-21 Kenichi Handa <handa@m17n.org>
14447 * international/mule-cmds.el (prefer-coding-system): Show a
14448 warning message if the default value of file-name-coding-system
14451 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14453 * windmove.el (windmove-reference-loc):
14454 Fix windmove-reference-loc miscalculation.
14456 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14458 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14461 2012-01-21 Glenn Morris <rgm@gnu.org>
14463 * international/mule.el (auto-coding-alist): Add .tbz.
14465 * files.el (local-enable-local-variables): Doc fix.
14466 (inhibit-local-variables-regexps): Rename from
14467 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14468 Doc fix. Add some extensions from auto-coding-alist.
14469 (inhibit-local-variables-suffixes):
14470 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14471 (inhibit-local-variables-p):
14472 New function, extracted from set-auto-mode-1.
14473 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14474 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14475 (hack-local-variables): Doc fix. Make the mode-only case
14476 respect enable-local-variables and friends.
14477 Respect inhibit-local-variables-regexps for file-locals, but
14478 not for directory-locals.
14479 (set-visited-file-name):
14480 Take account of inhibit-local-variables-regexps.
14481 Whether it applies may change as the file name is changed.
14482 * jka-cmpr-hook.el (jka-compr-install):
14483 * jka-compr.el (jka-compr-uninstall):
14484 Update for inhibit-first-line-modes-suffixes name change.
14486 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14488 * help-macro.el (make-help-screen): Temporarily restore original
14489 binding for minor-mode-map-alist (Bug#10454).
14491 2012-01-19 Julien Danjou <julien@danjou.info>
14493 * color.el (color-name-to-rgb): Use the white color to find the max
14494 color component value and return correctly computed values.
14495 (color-name-to-rgb): Add missing float conversion for max value.
14497 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14499 * window.el (window--state-get-1, window-state-get): Do not use
14500 special state value for window-persistent-parameters.
14501 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14502 (window--state-put-2): Reset all window parameters to nil before
14503 assigning values of persistent parameters.
14505 2012-01-18 Alan Mackenzie <acm@muc.de>
14507 Eliminate sluggishness and hangs in fontification of "semicolon
14510 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14511 Change value 10000 -> 3000.
14512 (c-state-safe-place): Reformulate so it doesn't stack up an
14513 infinite number of wrong entries in c-state-nonlit-pos-cache.
14514 (c-determine-limit-get-base, c-determine-limit): New functions to
14515 determine backward search limits disregarding literals.
14516 (c-find-decl-spots): Amend commenting.
14517 (c-cheap-inside-bracelist-p): New function which detects "={".
14519 * progmodes/cc-fonts.el
14520 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14522 (c-font-lock-declarations): Fix an occurrence of point being
14523 undefined. Check additionally for point being in a bracelist or
14524 near a macro invocation without a semicolon so as to avoid a
14525 fruitless time consuming search for a declarator. Give a more
14526 precise search limit for declarators using the new
14529 2012-01-18 Glenn Morris <rgm@gnu.org>
14531 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14532 (set-auto-mode): Doc fixes.
14534 2012-01-17 Glenn Morris <rgm@gnu.org>
14536 * isearch.el (search-nonincremental-instead): Fix doc typo.
14538 * dired.el (dired-insert-directory): Handle newlines in directory name.
14539 (dired-build-subdir-alist): Unescape newlines in directory name.
14541 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14543 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14544 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14545 (tramp-action-terminal): Use it. (Bug#10530)
14547 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14549 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14551 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14553 * window.el (window-state-ignored-parameters): Remove variable.
14554 (window--state-get-1): Rename argument MARKERS to IGNORE.
14555 Handle persistent window parameters. Make copy of clone-of
14556 parameter only if requested. (Bug#10348)
14557 (window--state-put-2): Install a window parameter only if it has
14558 a non-nil value or an existing parameter shall be overwritten.
14560 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14562 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14564 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14566 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14567 don't pass the (nil) value of `upnode' to string-match.
14569 2012-01-14 Chong Yidong <cyd@gnu.org>
14571 * startup.el (command-line): Fix X resource class for cursorColor.
14572 Fix values recognized by the cursorBlink resource.
14574 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14576 * epg.el (epg--make-temp-file): Avoid permission race condition
14577 when running on old Emacs versions (bug#10403).
14579 2012-01-14 Glenn Morris <rgm@gnu.org>
14581 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14583 2012-01-13 Alan Mackenzie <acm@muc.de>
14585 Fix filling for when filladapt mode is enabled.
14587 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14588 c-mask-paragraph, pass in `fill-paragraph' rather than
14589 `fill-region-as-paragraph'. (This is a reversion of a previous
14591 * progmodes/cc-mode.el (c-basic-common-init):
14592 Make fill-paragraph-handle-comment buffer local and set it to nil.
14594 2012-01-13 Glenn Morris <rgm@gnu.org>
14596 * dired.el (dired-switches-escape-p): New function.
14597 (dired-insert-directory): Use dired-switches-escape-p.
14598 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14600 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14602 2012-01-12 Glenn Morris <rgm@gnu.org>
14604 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14605 changes in adaptive-fill-regexp. (Bug#10276)
14607 2012-01-11 Alan Mackenzie <acm@muc.de>
14609 Fix Emacs bug #10463 - put `widen's around the critical spots.
14611 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14612 widen around each invocation of c-state-pp-to-literal. Remove an
14613 unused let variable.
14615 2012-01-11 Glenn Morris <rgm@gnu.org>
14617 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14620 2012-01-10 Chong Yidong <cyd@gnu.org>
14622 * net/network-stream.el (network-stream-open-starttls):
14623 Avoid emitting a confusing error message when the server gives a bad
14624 response to the capability command.
14626 2012-01-10 Glenn Morris <rgm@gnu.org>
14628 * mail/unrmail.el (unrmail): Tweak previous change.
14630 2012-01-09 Chong Yidong <cyd@gnu.org>
14632 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14634 2012-01-08 Alan Mackenzie <acm@muc.de>
14636 Optimize font locking in long enum definitions.
14638 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14639 arm to a cond form to handle enums.
14640 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14641 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14643 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14645 * files.el (move-file-to-trash): Preserve default file modes on error.
14648 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14650 * faces.el (set-face-attribute): Clarify the meaning of the nil
14653 * subr.el (with-selected-frame): Mention that the selected frame
14654 is restored (bug#9980).
14656 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14659 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14660 (password-read): Don't autoload unused function.
14662 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14664 * progmodes/which-func.el (which-func-mode): Turn into a
14665 non-interactive function and mark as obsolete (bug#10428).
14667 2012-01-06 Chong Yidong <cyd@gnu.org>
14669 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14670 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14671 functions, along with 1 and -1.
14673 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14675 * time.el (display-time-load-average)
14676 (display-time-default-load-average): Doc fixes. See the thread
14678 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14681 2012-01-06 Glenn Morris <rgm@gnu.org>
14683 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14684 has no messages. (Bug#10377)
14686 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14687 than Info-edit. (Bug#10385)
14689 * time.el (display-time-load-average, display-time-next-load-average):
14692 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14693 local setting of buffer-read-only to the input buffer. (Bug#10419)
14695 * calendar/calendar.el (calendar-mode):
14696 Locally set scroll-margin to 0. (Bug#10379)
14698 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14700 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14702 2012-01-05 Glenn Morris <rgm@gnu.org>
14704 * eshell/em-unix.el (diff-no-select): Autoload it.
14705 (eshell/diff): Use diff-no-select. (Bug#10420)
14707 2012-01-05 Chong Yidong <cyd@gnu.org>
14709 * shell.el (shell-dynamic-complete-functions): Revert last change.
14710 (shell-command-completion-function): New function.
14711 (shell-completion-vars): Use it to implement
14712 shell-completion-execonly (Bug#10417).
14714 * custom.el (enable-theme): Don't set custom-safe-themes.
14716 * cus-theme.el (custom-theme-merge-theme):
14717 Ignore custom-enabled-themes and custom-safe-themes.
14719 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14721 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14722 first prompt in `sql-interacive-mode'.
14723 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14725 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14726 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14727 context of original buffer. Invoke `sql-login-hook'.
14729 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14731 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14732 letters in cite-prefix.
14734 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14736 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14738 2012-01-03 Chong Yidong <cyd@gnu.org>
14740 * shell.el (shell-dynamic-complete-functions):
14741 Put pcomplete-completions-at-point, so as to try
14742 comint-filename-completion first (Bug#10417).
14744 2012-01-02 Richard Stallman <rms@gnu.org>
14746 * battery.el (battery-status-function):
14747 Detect when to use battery-yeeloong-sysfs.
14748 (battery-echo-area-format): Add string for Yeeloong.
14749 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14750 (battery-yeeloong-sysfs): New function.
14752 2012-01-02 Chong Yidong <cyd@gnu.org>
14754 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14755 (dirtrack): Merge code for handling relative filenames in prompt
14756 from shell-dir-cookie-watcher.
14757 (dirtrack-debug-message): New arg to avoid excess format calls.
14759 * shell.el (shell-dir-cookie-re): Variable deleted.
14760 (shell-dir-cookie-watcher): Function deleted.
14761 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14762 with dirtrack-mode.
14764 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14766 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14767 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14770 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14772 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14774 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14776 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14777 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14779 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14781 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14782 also for alternative shells.
14783 (tramp-open-connection-setup-interactive-shell): Check, whether
14784 the shell is a busybox.
14785 (tramp-send-command): Don't suppress multiple prompts for
14786 busyboxes, it hurts.
14788 2011-12-28 Chong Yidong <cyd@gnu.org>
14790 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14791 (gdb-get-source-file): Move mode line update to
14792 gdb-get-source-file (Bug#10087).
14794 2011-12-25 Chong Yidong <cyd@gnu.org>
14796 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14797 gud-gdb-marker-filter without taking it as an argument.
14798 (gud-gdb-run-command-fetch-lines): Caller changed.
14799 (gud-gdb-completion-function): New variable.
14800 (gud-gdb-completion-at-point): Use it.
14801 (gud-gdb-completions-1): Split from gud-gdb-completions.
14803 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14804 function as separate arguments.
14805 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14806 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14807 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14808 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14809 (gdb-stopped, def-gdb-auto-update-trigger)
14810 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14811 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14813 (gud-gdbmi-completions): New function.
14814 (gdb): Use it for generating the completion table.
14816 2011-12-24 Alan Mackenzie <acm@muc.de>
14818 Introduce a mechanism to widen the region used in context font
14819 locking. Use this to protect declarations from losing their contexts.
14821 * progmodes/cc-langs.el (c-before-font-lock-functions):
14822 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14823 (c-before-context-fontification-functions): New defvar, a list of
14824 functions to be run just before context (etc.) font locking.
14826 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14827 New, functionality extracted from
14828 c-neutralize-syntax-in-and-mark-CPP.
14829 (c-in-after-change-fontification): New variable.
14830 (c-after-change): Set c-in-after-change-fontification.
14831 (c-set-fl-decl-start): Rejig its interface, so it can be called
14832 from both after-change and context fontifying.
14833 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14835 (c-standard-font-lock-fontify-region-function): New variable.
14836 (c-font-lock-fontify-region): New function.
14838 2011-12-24 Juri Linkov <juri@jurta.org>
14840 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14843 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14845 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14846 existence of source file. (Bug#10325)
14848 2011-12-23 Alan Mackenzie <acm@muc.de>
14850 Fix unstable fontification inside templates.
14852 * progmodes/cc-langs.el (c-before-font-lock-functions):
14853 Newly created from the singular version. The (c c++ objc) entry now
14854 additionally has c-set-fl-decl-start. The other languages (apart
14855 from AWK) have that as a single entry.
14857 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14858 The functionality for "local" declarations has been extracted to
14859 c-set-fl-decl-start.
14861 * progmodes/cc-mode.el (c-common-init, c-after-change):
14862 Changes due to pluralisation of c-before-font-lock-functions.
14863 (c-set-fl-decl-start): New function, extracted from
14864 c-font-lock-enclosing-decls and enhanced.
14866 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14868 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14870 2011-12-22 Juri Linkov <juri@jurta.org>
14872 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14874 2011-12-22 Chong Yidong <cyd@gnu.org>
14876 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14878 2011-12-21 Drew Adams <drew.adams@oracle.com>
14880 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14882 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14884 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14886 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14888 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14889 highlighting and support. Fix up comments for capitalization.
14890 (cfengine-mode-debug): New var.
14891 (cfengine3-mode): Change the modeline indicator to "CFE3".
14892 (cfengine3-font-lock-keywords): Improve defun highlighting.
14893 (cfengine2-actions): Rename from `cfengine-actions'.
14894 (cfengine2-font-lock-keywords): Rename from
14895 `cfengine-font-lock-keywords'.
14896 (cfengine2-imenu-expression): Rename from
14897 `cfengine-imenu-expression'.
14898 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14899 (cfengine2-beginning-of-defun): Rename from
14900 `cfengine-beginning-of-defun'.
14901 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14902 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14903 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14904 modeline indicator to "CFE2".
14905 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14906 (cfengine-mode-abbrevs): Mark obsolete.
14908 2011-12-21 Chong Yidong <cyd@gnu.org>
14910 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14913 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14915 * window.el (window-normalize-buffer-to-display): Remove.
14916 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14918 2011-12-19 Chong Yidong <cyd@gnu.org>
14920 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14921 Don't signal an error in a predicate function; return non-nil.
14922 (vc-dir-mark-file): Move the error here.
14923 (vc-dir-mark-unmark): If acting on the region, keep going if one
14924 of the entries cannot be marked/unmarked.
14925 (vc-dir-mark-all-files): If current entry is a directory, mark
14926 only child files, as documented.
14928 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14930 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14931 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14934 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14936 * term/ns-win.el (ns-get-selection-internal)
14937 (ns-store-selection-internal): Declare.
14938 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14939 Declare as obsolete.
14940 (ns-get-pasteboard, ns-paste-secondary):
14941 Use ns-get-selection-internal.
14942 (ns-set-pasteboard, ns-copy-including-secondary):
14943 Use ns-store-selection-internal.
14945 2011-12-17 Chong Yidong <cyd@gnu.org>
14947 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14948 (vc-deduce-fileset): Doc fix.
14950 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14952 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14954 2011-12-13 Sam Steingold <sds@gnu.org>
14956 * man.el (Man-getpage-in-background): When running under a
14957 window-system, ignore $MANWIDTH and $COLUMNS.
14959 2011-12-15 Kenichi Handa <handa@m17n.org>
14961 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14962 (setup-ethiopic-environment-internal): Comment out key-binding for
14963 ethio-toggle-punctuation.
14965 2011-12-13 Alan Mackenzie <acm@muc.de>
14967 Add the switch statement to AWK Mode.
14969 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14970 "default" to the keywords regexp.
14972 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14973 expression as the rest.
14974 (c-nonlabel-token-key): Allow string literals for AWK.
14975 Refactor for the other modes.
14977 Large brace-block initialisation makes CC Mode slow: Fix.
14978 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14979 routines. Limit backward searching in c-font-lock-enclosing.decl.
14981 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14982 pp-state and literal type in addition to the limits.
14983 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14984 (c-state-literal-at): Use the above new defun.
14985 (c-slow-in-literal, c-fast-in-literal): Remove.
14986 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14988 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14989 being in a literal. Add a limit for backward searching.
14991 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14994 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14996 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14998 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15000 * window.el (delete-other-windows): Use correct frame in call to
15001 window-with-parameter.
15003 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15005 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15006 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15007 (makefile-gmake-statements, makefile-makepp-statements):
15008 Use it and add new makepp keywords.
15009 (makefile-makepp-font-lock-keywords): Add new patterns.
15010 (makefile-match-function-end): Match new [...] and [[...]].
15012 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15014 * ses.el (ses-call-printer-return, ses-cell-property-get)
15015 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15016 (ses-create-cell-variable, ses-reset-header-string)
15017 (ses-cell-set-formula, ses-repair-cell-reference-all)
15018 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15019 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15020 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15021 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15022 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15023 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15024 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15025 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15026 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15027 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15028 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15029 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15031 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15033 * ses.el: The overall change is to add cell renaming, that is
15034 setting fancy names for cell symbols other than name matching
15035 "\\`[A-Z]+[0-9]+\\'" regexp .
15036 (ses-create-cell-variable): New defun.
15037 (ses-relocate-formula): Relocate formulas only for cells the
15038 symbols of which are not renamed, i.e. symbols whose names do not
15039 match regexp "\\`[A-Z]+[0-9]+\\'".
15040 (ses-relocate-all): Relocate values only for cells the symbols of
15041 which are not renamed.
15042 (ses-load): Create cells variables as the (ses-cell ...) are read,
15043 in order to check row col consistency with cell symbol name only
15044 for cells that are not renamed.
15045 (ses-replace-name-in-formula): New defun.
15046 (ses-rename-cell): New defun.
15048 2011-12-11 Chong Yidong <cyd@gnu.org>
15050 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15051 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15053 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15055 * window.el (other-window): Fix docstring.
15057 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15059 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15060 `from' or `to' address before taking its substring.
15061 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15062 encoded name is chopped in the middle of the encoded string, and
15063 thus displayed encoded.
15065 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15067 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15069 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15071 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15072 to use texinfo-update-node and commands that call it if the
15073 Texinfo file uses @node lines without next/prev/up pointers.
15074 Correct outdated description about texinfo-master-menu.
15075 (texinfo-all-menus-update, texinfo-master-menu)
15076 (texinfo-update-node, texinfo-every-node-update)
15077 (texinfo-multiple-files-update): Doc fix. Warn against updating
15078 all the @node lines.
15079 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15080 argument is numeric. Explain better in the doc string what the
15081 function really does.
15082 (texinfo-insert-master-menu-list): Improve the error message
15083 displayed if there's no menu in the Top node.
15084 (Bug#2975) See also this thread:
15085 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15087 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15089 * speedbar.el (speedbar-supported-extension-expressions):
15090 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15092 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15094 * printing.el (pr-mode-alist):
15095 * simple.el (filter-buffer-substring-functions)
15096 (completion-list-insert-choice-function):
15097 * window.el (window-with-parameter, window-atom-root)
15098 (window-sides-slots, window-size-fixed, window-min-delta)
15099 (window-max-delta, window--resize-mini-window)
15100 (window--resize-child-windows-normal, window-tree)
15101 (delete-other-windows, quit-window, split-window)
15102 (display-buffer-record-window, special-display-buffer-names)
15103 (special-display-regexps, special-display-popup-frame)
15104 (same-window-p, split-window-sensibly)
15105 (display-buffer-overriding-action, display-buffer-alist)
15106 (display-buffer-base-action, display-buffer, switch-to-buffer)
15107 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15108 (fit-window-to-buffer, recenter-positions)
15109 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15110 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15111 and remove unneeded backslashes in docstrings.
15113 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15117 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15118 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15120 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15121 when reading the makefile (bug#10116).
15123 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15125 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15128 2011-12-06 Glenn Morris <rgm@gnu.org>
15130 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15132 2011-12-06 Chong Yidong <cyd@gnu.org>
15134 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15136 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15138 * textmodes/table.el (table-shorten-cell): Fix typo.
15140 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15142 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15144 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15146 * descr-text.el (describe-char): Fix display of strong
15147 right-to-left characters and directional embeddings and overrides.
15149 * simple.el (what-cursor-position): Fix display of codepoints of
15150 strong right-to-left characters.
15152 2011-12-05 Chong Yidong <cyd@gnu.org>
15154 * faces.el (read-color): Doc fix.
15156 2011-12-05 Glenn Morris <rgm@gnu.org>
15158 * align.el (align--set-marker): Add doc-string.
15159 Don't try to move something that is not a marker. (Bug#10216)
15161 2011-12-04 Glenn Morris <rgm@gnu.org>
15163 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15164 overly zealous deletion of trailing whitespace.
15166 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15168 * server.el (server-delete-client): On Windows, do not try to delete
15170 (server-process-filter): On Windows, treat requests for a tty frame as
15171 if they were for a GUI frame if the running server is in GUI mode.
15173 2011-12-03 Glenn Morris <rgm@gnu.org>
15175 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15177 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15179 * electric.el: Streamline electric-indent's hook.
15180 (electric-indent-chars): Revert to simple list.
15181 (electric-indent-functions): New var.
15182 (electric-indent-post-self-insert-function): Use it.
15184 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15185 there's no inferior buffer (bug#10196).
15186 (prolog-consult-compile): Don't use toggle-read-only.
15188 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15190 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15191 interrupt. (Bug#10187)
15193 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15195 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15198 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15201 2011-12-02 Juri Linkov <juri@jurta.org>
15203 * info.el (Info-search): Display "end of manual" when Isearch
15204 reaches the end of single-file Info manual. (Bug#9918)
15206 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15208 * isearch.el (isearch-message-prefix): Run the input method part
15209 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15211 2011-12-02 Juri Linkov <juri@jurta.org>
15213 * isearch.el (isearch-occur): Use `word-search-regexp' for
15215 (isearch-search-and-update): Add condition for `isearch-word' and
15216 call `word-search-regexp'. (Bug#10145)
15218 2011-12-01 Glenn Morris <rgm@gnu.org>
15220 * eshell/em-hist.el (eshell-hist-initialize):
15221 Handle eshell-history-size nil and HISTSIZE set or unset.
15222 (eshell-history-file-name, eshell-history-size): Fix custom type.
15224 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15226 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15228 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15230 * progmodes/verilog-mode.el (verilog-pretty-expr):
15231 Rework verilog-pretty-expr to handle new assignment operators in system
15232 verilog, such as += *= and the like.
15233 (verilog-assignment-operator-re): Regular expression to find the
15234 assigment operator in a verilog assignment.
15235 (verilog-assignment-operation-re): Regular expression to find an
15236 assignment statement for pretty-expr.
15237 (verilog-in-attribute-p): Query returns true if point is in an
15238 attribute context; used to skip these for expression line up from
15240 (verilog-in-parameter-p): Query returns true if point is in an
15241 parameter definition context; used to skip these for expression
15242 line up from pretty-expr.
15243 (verilog-in-parenthesis-p): Query returns true if point is in a
15244 parenthetical expression, specifically ( ) but not [ ] or { };
15245 used by pretty-expr.
15246 (verilog-just-one-space): If there is no space, don't add one.
15247 (verilog-get-lineup-indent-2): Specifically skip just attribute
15248 contexts for expression lineup, rather than skipping all
15249 parenthetical expressions.
15250 (verilog-calculate-indent): Fix comment, and fix indent.
15251 (verilog-do-indent): Indent declarations in lists (suggested by
15253 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15255 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15258 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15260 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15261 parameters with embedded comments. Reported by Ray Stevens.
15262 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15263 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15264 Reported by Tim Holt.
15265 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15266 instantiated by upper module causing wrong expansion until AUTOed a
15267 second time. Reported by K C Buckenmaier.
15268 (verilog-diff-auto): Fix showing .* as a difference when
15269 `verilog-auto-star-save' off. Reported by Dan Dever.
15270 (verilog-auto-reset, verilog-read-always-signals)
15271 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15272 temporary signals in reset list if
15273 verilog-auto-reset-blocking-in-non is nil, and match assignment
15274 style to each signal's assignment type, bug381.
15275 Reported by Thomas Esposito.
15276 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15277 (verilog-uvm-statement-re): Support UVM indentation and
15278 highlighting, with old OVM keywords only.
15279 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15280 Support AUTOTIEOFF creating non-wire data types.
15281 Suggested by Jonathan Greenlaw.
15282 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15283 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15284 (verilog-inject-sense, verilog-read-inst-pins)
15285 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15286 Fix mismatching parenthesis inside commented out code when deleting
15287 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15288 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15289 non-numeric vector width. Reported by Alex Reed.
15290 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15291 detecting signals with parameter widths. Reported by Alex Reed.
15292 (verilog-auto-delete-trailing-whitespace):
15293 With `verilog-auto-delete-trailing-whitespace' remove trailing
15294 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15295 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15296 Fix verilog-scan-cache corruption when running user AUTO expansion
15297 hooks that call indentation routines.
15298 (verilog-simplify-range-expression): Fix typo ignoring lower case
15300 (verilog-delete-auto): Fix delete-autos to also remove user created
15301 automatics, as long as they start with AUTO.
15302 (verilog-batch-diff-auto, verilog-diff-auto)
15303 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15304 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15305 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15306 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15307 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15308 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15309 is disabled and its cache will get corrupt, causing AUTOS not to
15310 expand. Instead use only -quick functions.
15311 (verilog-scan-region): Fix scanning over escaped quotes.
15312 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15313 (verilog-re-search-backward-quick)
15314 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15315 related functions now ignore strings, to fix misparsing of strings
15316 with magic comments embedded in them.
15317 (verilog-read-auto-template):
15318 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15319 Reported by Brad Dobbie.
15320 (verilog-read-auto-template):
15321 Fix 'verilog-auto-inst-template-numbers' with comments.
15322 Reported by Brad Dobbie.
15323 (verilog-auto-inst, verilog-auto-inst-param)
15324 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15325 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15326 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15327 debugging templates without merge conflicts, bug357.
15328 Reported by Brad Dobbie.
15329 (verilog-read-auto-template):
15330 Fix verilog-auto-inst-template-numbers with multiple templates.
15331 Reported by Brad Dobbie.
15332 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15333 abbrevs so user won't be asked to save.
15334 (verilog-read-auto-lisp-present): Fix to start at beginning of
15335 buffer in case called outside of verilog-auto.
15336 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15337 to "X-2". Reported by Matthew Myers.
15338 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15339 all inputs from module templates. Reported by Leith Johnson.
15340 (verilog-module-inside-filename-p): Fix locating programs as with
15342 (verilog-auto-inst-port): Fix vl-width expressions when using
15343 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15344 (verilog-decls-get-regs, verilog-decls-get-signals,
15345 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15346 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15347 verilog-read-decls): Combine reg and wire structures into one var
15348 structure to represent SystemVerilog concepts.
15349 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15350 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15351 (verilog-auto-wire-type, verilog-insert-definition):
15352 Add verilog-auto-wire-type and AUTOLOGIC to support using
15353 SystemVerilog "logic" keyword instead of "wire"/"reg".
15354 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15355 to declares outputs that also have assignments (presumably in an
15356 ifdef or generate if so there's not a driver conflict).
15357 Reported by Matthew Myers.
15358 (verilog-auto-declare-nettype, verilog-insert-definition):
15359 Add verilog-auto-declare-nettype to fix declarations using
15360 `default_nettype none. Reported by Julian Gorfajn.
15361 (verilog-read-always-signals-recurse, verilog-read-decls)
15362 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15363 malformed end statement, bug325. Reported by Joshua Wise and
15365 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15366 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15367 when expanding .* in interfaces, bug320.
15368 Reported by Pierre-David Pfister.
15369 (verilog-read-module-name): Fix import statements between module
15370 name and open parenthesis, bug317.
15371 Reported by Pierre-David Pfister.
15372 (verilog-simplify-range-expression): Fix simplification of
15373 multiplications inside AUTOWIRE connections, bug303.
15374 (verilog-auto-inst-port): Support parameter expansion in
15375 multidimensional arrays.
15376 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15377 after "assert property". Reported by Julian Gorfajn.
15378 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15379 with multiplication, bug303.
15380 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15381 Reported by Jan Frode Lonnum.
15383 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15385 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15386 (hfy-shell-file-name, hfy-shell):
15387 * international/fontset.el (x-decompose-font-name): Fix typos.
15389 2011-11-29 Ken Brown <kbrown@cornell.edu>
15391 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15392 (gdb-version): Remove defvar.
15393 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15394 (gdb-gud-context-command, gdb-non-stop-handler)
15395 (gdb-current-context-command, gdb-stopped): Use it.
15396 (gdb-init-1): Enable pretty printing here.
15397 (gdb-non-stop-handler): Don't enable pretty-printing here.
15398 Check to see if the target supports non-stop mode; if not, turn off
15399 non-stop mode. Use the following.
15400 (gdb-check-target-async): New defun.
15401 (gud-watch, gdb-stopped): Fix whitespace.
15402 (gdb-get-source-file): Don't try to display the source file if
15403 `gdb-main-file' is nil.
15405 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15407 * align.el: Try to generate fewer markers (bug#10047).
15408 (align--set-marker): New macro.
15409 (align-region): Use it.
15411 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15413 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15415 2011-11-29 Chong Yidong <cyd@gnu.org>
15417 * indent.el (indent-for-tab-command, indent-according-to-mode):
15419 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15421 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15423 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15424 aware of remote file names. (Bug#10124)
15426 2011-11-29 Chong Yidong <cyd@gnu.org>
15428 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15430 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15432 * files.el (find-file): Don't use force-same-window (bug#10144).
15433 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15434 use pop-to-buffer if the selected window can't be used.
15435 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15437 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15439 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15442 2011-11-28 Chong Yidong <cyd@gnu.org>
15444 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15446 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15448 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15449 gdb-get-source-file-list on gdb-create-source-file-list.
15451 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15453 * whitespace.el (whitespace-newline): Use a different foreground
15454 color for 16-color light-background displays.
15456 2011-11-24 Chong Yidong <cyd@gnu.org>
15458 * window.el (display-buffer--special-action): Doc fix.
15460 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15462 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15463 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15464 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15465 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15466 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15467 (avl-tree-stack-first):
15468 * emacs-lisp/cconv.el (cconv--analyse-use):
15469 * net/gnutls.el (gnutls-negotiate): Fix typos.
15471 2011-11-24 Glenn Morris <rgm@gnu.org>
15473 * lpr.el (lpr-windows-system, lpr-lp-system):
15474 * mail/binhex.el (binhex-begin-line):
15475 * progmodes/grep.el (grep-history, grep-find-history):
15476 * textmodes/flyspell.el:
15477 * vc/pcvs-defs.el (cvs-global-menu):
15478 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15479 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15480 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15482 * net/tls.el: Fix case of "GnuTLS".
15484 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15486 * version.el (emacs-build-system): Give it a doc-string.
15488 2011-11-24 Juri Linkov <juri@jurta.org>
15490 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15492 2011-11-24 Glenn Morris <rgm@gnu.org>
15494 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15495 if called on a non-mime message just toggle the headers. (Bug#8006)
15497 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15499 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15500 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15501 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15502 (allout-rebullet-heading, allout-open-sibtopic)
15503 (allout-toggle-current-subtree-encryption)
15504 (allout-toggle-subtree-encryption, allout-encrypt-string)
15505 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15506 (allout-distinctive-bullets-string, allout-auto-activation):
15507 * window.el (window-normalize-buffer-to-display):
15508 * progmodes/verilog-mode.el (verilog-batch-indent):
15509 * textmodes/bibtex.el (bibtex-field-braces-opt)
15510 (bibtex-field-strings-opt):
15511 * vc/cvs-status.el (cvs-tree-merge):
15514 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15516 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15517 `non-essential' to t, in order to avoid remote connections.
15519 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15521 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15522 On MS-DOS and MS-Windows, compare with loaddefs.el
15523 case-insensitively.
15525 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15527 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15529 2011-11-23 Glenn Morris <rgm@gnu.org>
15531 * paths.el (rmail-file-name): Reformat the doc-string so that it
15534 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15535 (rmail-auto-file): Ignore case in the "special" field names,
15536 as mail-fetch-field does for all others.
15538 * mail/rmail.el (rmail-forward):
15539 * mail/rmailkwd.el (rmail-set-label):
15540 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15541 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15543 * mail/rmail.el (rmail-current-message): Doc fix.
15545 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15547 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15549 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15551 2011-11-22 Glenn Morris <rgm@gnu.org>
15553 * mail/rmailmm.el (test-rmail-mime-handler)
15554 (test-rmail-mime-bulk-handler)
15555 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15557 2011-11-21 Juri Linkov <juri@jurta.org>
15559 * calc/calc.el (calc-read-key-sequence):
15560 Let-bind `input-method-function' to nil. (Bug#10018)
15562 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15564 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15565 Tell the caller that the next line needs recomputation, even
15566 though it doesn't start a sexp (bug#10094).
15568 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15570 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15572 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15574 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15575 Use force-same-window.
15577 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15579 * descr-text.el (describe-char-unicode-data):
15580 * json.el (json-string-escape):
15581 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15582 (Footnote-unicode, Footnote-style-p):
15583 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15585 2011-11-20 Chong Yidong <cyd@gnu.org>
15587 * window.el (replace-buffer-in-windows): Restore interactive spec.
15589 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15593 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15594 (byte-compile-global-not-obsolete-vars): New var.
15595 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15597 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15599 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15601 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15602 * progmodes/pascal.el (electric-pascal-equal):
15603 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15604 * xml.el (xml-substitute-special): Fix typos.
15606 2011-11-20 Glenn Morris <rgm@gnu.org>
15608 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15609 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15611 (rmail-decode-mime-charset): Mark as obsolete.
15613 * mail/rmailsum.el (rmail-message-regexp-p-1):
15614 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15615 Before using mime functions, check they are set. (Bug#10077)
15617 2011-11-19 Juri Linkov <juri@jurta.org>
15619 * info.el (Info-finder-find-node): Use `package--builtins' instead
15620 of `package-alist'. Use node names formed by the pattern "Keyword "
15621 and the keyword name.
15623 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15625 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15627 2011-11-19 Juri Linkov <juri@jurta.org>
15629 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15630 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15631 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15632 `old-history', `old-history-forward'. Add let-binding
15633 `window-selected'. Remove calls to `kill-buffer',
15634 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15635 before calling `Info-find-node', so `Info-find-node-2' will reread
15636 the Info file. Restore window positions only when `window-selected'
15639 2011-11-19 Juri Linkov <juri@jurta.org>
15641 * isearch.el (isearch-lazy-highlight-new-loop):
15642 Remove condition `(not isearch-error)'. (Bug#9918)
15644 * misearch.el (multi-isearch-search-fun): Add condition
15645 `(not bound)' to ignore lazy-highlighting search.
15646 Add the search-failed message "end of multi" when the end of
15647 multi-sequence is reached. Uncapitalize the search-failed
15648 message "Repeat for next buffer".
15650 * info.el (Info-search): Add the search-failed message
15651 "end of the manual" when the end of the manual is reached
15654 2011-11-19 Juri Linkov <juri@jurta.org>
15656 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15657 Use non-destructive `remove' instead of `delete' because
15658 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15659 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15661 2011-11-19 Juri Linkov <juri@jurta.org>
15663 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15664 to nil instead of binding `search-ring' and `regexp-search-ring'.
15667 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15669 * simple.el (line-move): Force movement by logical lines for any
15670 hscrolled window, not only when auto-hscroll-mode is on.
15671 (line-move-visual): Update doc string to that effect. (Bug#10076)
15673 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15675 * language/european.el (macintosh): Define as alias for mac-roman.
15677 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15679 * mail/rmailmm.el (rmail-mime-display-header)
15680 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15681 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15682 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15683 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15684 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15686 (rmail-mime-entity-segment): To get past the tagline, move forward
15687 2 more lines, to account for the 2 empty lines that precede and
15688 follow the line with the buttons.
15689 (rmail-mime-update-tagline): Move one more line, to get past the
15690 empty line that follows the buttons in the tagline. (Bug#9520)
15692 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15694 * window.el (window-max-delta-1, window-min-delta-1)
15695 (window-min-size-1, window-state-get-1, window-state-put-1)
15696 (window-state-put-2): Use "window--" prefix.
15698 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15700 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15701 (smie-warning-count): New var.
15702 (smie-set-prec2tab): Use it.
15703 (smie-bnf->prec2): Improve warnings. Add docstring.
15704 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15705 (smie-bnf--set-class): New function.
15706 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15709 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15710 (compilation-error-properties, compilation-move-to-column):
15711 Handle compilation-first-column while in the target buffer.
15713 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15714 Don't hardcode point-min==1.
15716 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15717 (eshell-rewrite-for-command): Remove workaround.
15718 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15719 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15720 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15722 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15724 2011-11-17 Glenn Morris <rgm@gnu.org>
15726 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15727 Ignore buffer-local generated-autoload-file if it is the same
15728 as the global value. (Bug#10049)
15730 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15732 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15733 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15734 (reftex-toc-previous-heading, reftex-toc-max-level)
15735 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15736 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15737 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15738 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15739 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15740 (reftex-toc-rename-label, reftex-toc-visit-location)
15741 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15742 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15743 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15744 leaving "*toc*" only for references to the buffer.
15746 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15748 * window.el (window-resize, delete-window, split-window):
15749 Replace window-splits by window-combination-resize.
15750 * cus-start.el (window-splits): Replace by window-combination-resize.
15752 2011-11-17 Glenn Morris <rgm@gnu.org>
15754 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15755 Make bash entry derive from sh entry, not shell entry.
15757 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15759 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15762 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15764 * menu-bar.el (menu-bar-file-menu):
15765 * printing.el (pr-ps-utility):
15766 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15767 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15768 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15769 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15770 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15771 (icalendar--convert-cyclic-to-ical)
15772 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15773 (icalendar--convert-ical-to-diary)
15774 (icalendar--convert-recurring-to-diary)
15775 (icalendar--convert-non-recurring-all-day-to-diary)
15776 (icalendar-import-format-sample):
15777 * progmodes/idlw-shell.el (idlwave-shell-mode):
15778 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15779 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15780 (vhdl-ps-print-init): Fix typos.
15782 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15784 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15785 FSF and collapse date sequence, obscure author/maintainer email address
15786 better, remove extra version line, track relocation of author's webpage.
15788 * progmodes/python.el (python-pdbtrack-input-prompt)
15789 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15790 regular python pdb prompts. Adjustments shamelessly taken exactly as
15791 suggested in EmacsWiki page (tiny change):
15792 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15794 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15796 * expand.el (expand-pos, expand-index, expand-point):
15797 Remove redundant info from docstring.
15798 (expand-add-abbrevs): Doc fix.
15799 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15800 (expand-sample-perl-mode-expand-list): Fix typos.
15802 * net/dbus.el (dbus-event-member-name):
15803 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15804 * term/pc-win.el (msdos-create-frame-with-faces):
15805 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15807 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15809 * window.el (split-window, window-state-get-1)
15810 (window-state-put-1, window-state-put-2): Rename occurrences of
15811 window-nest to window-combination-limit.
15812 * cus-start.el (window-nest): Rename to window-combination-limit.
15814 2011-11-16 Chong Yidong <cyd@gnu.org>
15816 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15817 regexp (Bug#10033).
15819 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15822 `completing-read' will remove *Completions* and will preserve
15823 current-buffer for us.
15824 (tmm-add-prompt): Users of *Completions* will always (re)set its
15826 (tmm-old-comp-map): Remove.
15828 2011-11-16 Glenn Morris <rgm@gnu.org>
15830 * mail/rmailedit.el: Require rmailmm when compiling.
15831 (rmail-old-mime-state): New declaration.
15832 (rmail-edit-current-message): If editing a mime message,
15833 edit the "raw" message from the mbox buffer.
15834 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15836 2011-11-15 Glenn Morris <rgm@gnu.org>
15838 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15839 which wasn't being used. Add optional arg to force given state.
15840 (rmail-mime): Add optional arg to force given state.
15842 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15844 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15845 * frame.el (display-mm-dimensions-alist):
15846 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15847 (outline-move-subtree-down):
15848 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15849 (newsticker--treeview-do-get-node):
15850 * net/quickurl.el (quickurl-list-buffer-name):
15851 * progmodes/dcl-mode.el (dcl-mode):
15852 * progmodes/gdb-mi.el (gdb-mapcar*):
15853 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15855 2011-11-15 Glenn Morris <rgm@gnu.org>
15857 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15858 in a boolean sense, so just make it a boolean, and fix the doc.
15859 (rmail-show-mime-function, rmail-mime-feature)
15860 (rmail-require-mime-maybe): Doc fixes.
15861 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15863 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15865 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15867 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15868 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15869 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15870 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15872 2011-11-15 Glenn Morris <rgm@gnu.org>
15874 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15875 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15876 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15877 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15878 (rmail-mime, rmail-show-mime): Doc fixes.
15880 * term/ns-win.el (mode-line-frame-identification):
15881 Leave it alone. (Bug#10051)
15883 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15885 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15886 Handle empty buffers. (Bug#9978)
15888 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15890 * international/mule.el (define-charset):
15891 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15892 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15893 * progmodes/verilog-mode.el (verilog-backward-token):
15894 * textmodes/ispell.el (lookup-words):
15895 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15897 2011-11-14 Glenn Morris <rgm@gnu.org>
15899 * progmodes/executable.el
15900 (executable-make-buffer-file-executable-if-script-p):
15901 Handle file-modes returning nil.
15903 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15904 message - not necessary, and causes problems. (Bug#9831)
15906 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15908 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15910 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15911 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15912 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15914 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15916 * window.el (window-resize, delete-window): Use window-splits
15917 variable instead of function.
15918 (window-state-get-1, window-state-put-2, window-state-put):
15919 Don't deal with windows' splits status.
15921 2011-11-12 Glenn Morris <rgm@gnu.org>
15923 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15924 (apropos-documentation): Doc fixes.
15926 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15928 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15929 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15931 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15933 * electric.el (electric-indent-post-self-insert-function): Make it
15934 possible for a char to only indent in some circumstances.
15935 (electric-indent-mode): Simplify.
15937 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15939 * window.el (windows-with-parameter): Remove unused function.
15940 (windows-at-side): Rename to window-at-side-list.
15941 (window-check, window-atom-check, window-atom-check-1)
15942 (window-side-check, window-size-ignore, window-size-fixed-1)
15943 (window-in-direction-2): Prefix with "window--".
15944 (window-tree-1): Rename to window--subtree, fix doc-string.
15946 2011-11-11 Glenn Morris <rgm@gnu.org>
15948 * subr.el (eval-after-load): If FILE is already loaded,
15949 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15951 2011-11-10 Glenn Morris <rgm@gnu.org>
15953 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15954 Call svn via vc-svn-command rather than vc-do-command.
15955 (vc-svn-command): Add --non-interactive. (Bug#9993)
15956 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15958 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15959 Add toggle-read-only. (Bug#7292)
15960 * files.el (toggle-read-only): Mention that it should only
15961 be used interactively. (Bug#10006)
15963 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15966 Adjust regexp for OCaml warnings.
15968 * electric.el (electric-pair-post-self-insert-function): Let user
15969 turn it off buffer-locally (bug#9932).
15971 * progmodes/python.el (python-beginning-of-statement):
15972 Rewrite (bug#2703).
15974 * progmodes/compile.el: Better handle TABs (bug#9749).
15975 (compilation-internal-error-properties)
15976 (compilation-next-error-function): Obey the target buffer's
15977 compilation-error-screen-columns.
15979 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15981 * progmodes/meta-mode.el: Remove obsolete comments.
15982 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15983 Fix typos in docstrings.
15985 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15987 * window.el (window-size-fixed-p): Rewrite doc-string.
15988 (window-resizable-p): Rename to window--resizable-p. Update callers.
15989 (window--resizable): New function. Make all callers of
15990 window-resizable call window--resizable instead.
15991 (window-resizable): Rewrite in terms of window--resizable.
15993 2011-11-08 Glenn Morris <rgm@gnu.org>
15995 * progmodes/delphi.el (delphi-mode-syntax-table):
15996 Let define-derived-mode define a proper syntax table. (Bug#9994)
15998 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * window.el: Stay away from defsubst.
16001 (window-list-no-nils): Remove.
16002 (window-state-get-1, window-state-get): Use backquote instead.
16004 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16006 * emacs-lisp/find-func.el (find-function-read):
16007 Fix incorrect use of default argument in `completing-read'.
16009 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16011 * window.el (display-buffer-function, special-display-function):
16012 Mention display-buffer-record-window but do not mention
16013 help-setup parameter in doc-strings.
16014 (window-min-delta): Fix doc-string typo.
16016 2011-11-08 Chong Yidong <cyd@gnu.org>
16018 * window.el (window-total-height, window-total-width): Doc fix.
16019 (window-body-size): Move from C.
16020 (window-body-height, window-body-width): Move to C.
16022 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16024 * window.el: Make special-display like display-buffer-alist (bug#9532).
16025 (display-buffer--special-action): New function, morphed
16026 from display-buffer--special.
16027 (display-buffer): Use it to handle special-display-buffers at higher
16028 priority (just after display-buffer-alist).
16029 (display-buffer-fallback-action, display-buffer--other-frame-action)
16030 (pop-to-buffer-same-window): Remove display-buffer--special.
16032 2011-11-07 Glenn Morris <rgm@gnu.org>
16034 * calendar/cal-menu.el (cal-menu-set-date-title):
16035 Do nothing if not in a calendar. (Bug#9976)
16037 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16039 * files.el (find-file): Always use selected-window.
16041 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16043 * window.el (window-combinations): Make WINDOW argument
16044 mandatory. Rewrite doc-string.
16045 (walk-window-subtree, window-atom-check, window-min-delta)
16046 (window-max-delta, window--resize-this-window)
16047 (window--resize-root-window-vertically, window-tree)
16048 (balance-windows, window-state-put): Rewrite doc-strings as to
16049 not mention the term "subwindow".
16050 (window--resize-subwindows-skip-p): Rename to
16051 window--resize-child-windows-skip-p.
16052 (window--resize-subwindows-normal): Rename to
16053 window--resize-child-windows-normal.
16054 (window--resize-subwindows): Rename to
16055 window--resize-child-windows.
16056 (window-or-subwindow-p): Rename to window--in-subtree-p.
16058 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16060 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16061 Ensure that mbox format messages end in two newlines (Bug#9974).
16063 2011-11-06 Chong Yidong <cyd@gnu.org>
16065 * window.el (window-combination-p): Function deleted; its
16066 side-effect is not used in any existing code.
16067 (window-combinations, window-combined-p): Call window-*-child
16070 2011-11-05 Chong Yidong <cyd@gnu.org>
16072 * window.el (window-valid-p): Rename from window-any-p.
16073 (window-size-ignore, window-state-get): Callers changed.
16074 (window-normalize-window): Rename from window-normalize-any-window.
16075 New arg LIVE-ONLY, replacing window-normalize-live-window.
16076 (window-normalize-live-window): Delete.
16077 (window-combination-p, window-combined-p, window-combinations)
16078 (walk-window-subtree, window-atom-root, window-min-size)
16079 (window-sizable, window-sizable-p, window-size-fixed-p)
16080 (window-min-delta, window-max-delta, window-resizable)
16081 (window-resizable-p, window-full-height-p, window-full-width-p)
16082 (window-current-scroll-bars, window-point-1, set-window-point-1)
16083 (window-at-side-p, window-in-direction, window-resize)
16084 (adjust-window-trailing-edge, maximize-window, minimize-window)
16085 (window-deletable-p, delete-window, delete-other-windows)
16086 (record-window-buffer, unrecord-window-buffer)
16087 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16088 (quit-window, split-window, window-state-put)
16089 (set-window-text-height, fit-window-to-buffer)
16090 (shrink-window-if-larger-than-buffer): Callers changed.
16092 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16094 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16095 rfc2047-decode-string.
16096 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16099 * window.el (window-body-height, window-body-width): Mention in
16100 the doc string that the return values are in frame's canonical
16103 2011-11-03 Alan Mackenzie <acm@muc.de>
16105 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16106 change in cc-engine.el.
16108 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16110 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16112 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16114 * window.el (quit-window): Call unrecord-window-buffer after
16115 showing another buffer in the window. (Bug#9937)
16116 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16118 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16120 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16121 Accept status with more than 9 shelves. (Bug#9935)
16122 Reported by Colin D Bennett <colin@gibibit.com>.
16124 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16126 * help.el (with-help-window): Don't reference
16127 temp-buffer-show-specifiers in doc-string.
16129 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16131 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16134 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16136 * whitespace.el: New version 13.2.2.
16137 (whitespace-newline-mode): Disable properly. Reported by Sarah
16140 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16142 * net/newst-treeview.el: Remove "Time-stamp".
16143 (newsticker--group-manage-orphan-feeds): Do not call
16144 newsticker--treeview-tree-update.
16145 (newsticker-treeview-update, newsticker-treeview):
16146 Call newsticker--treeview-tree-update if necessary.
16148 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16150 * window.el (window-iso-combination-p, window-iso-combined-p)
16151 (window-iso-combinations): Remove "iso-" infix.
16152 Suggested by Chong Yidong.
16153 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16154 (window-max-delta-1, window-resize, window--resize-siblings)
16155 (window--resize-this-window, adjust-window-trailing-edge)
16156 (split-window, balance-windows-1)
16157 (shrink-window-if-larger-than-buffer):
16158 * calendar/calendar.el (calendar-generate-window):
16159 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16161 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16163 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16164 in place (bug#9907).
16165 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16166 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16167 (eshell-structure-basic-command, eshell-rewrite-while-command)
16168 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16169 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16170 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16171 (eshell-do-pipelines-synchronously, eshell-eval-command):
16172 Use backquotes and prefer setq to set.
16173 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16174 (eshell-macrop): Use functionp.
16175 (eshell-do-eval): Handle multiple expressions in `while' body.
16177 2011-10-30 Chong Yidong <cyd@gnu.org>
16179 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16180 instead of set-mark (Bug#9810).
16182 2011-10-30 Chong Yidong <cyd@gnu.org>
16184 * window.el (split-window-below, split-window-right): Rename from
16185 split-window-above-each-other and split-window-side-by-side
16186 respectively. All callers changed.
16187 (split-window-sensibly, split-window-sensibly): Use them.
16188 (split-window-keep-point): Doc fix.
16190 * isearch.el: Add isearch-scroll property to split-window-below
16191 and split-window-right.
16193 * follow.el (follow-mode):
16194 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16195 * progmodes/ada-xref.el (ada-gdb-application):
16196 * emulation/vip.el (vip-buffer-in-two-windows):
16197 * image-dired.el (image-dired-dired-with-window-configuration):
16198 * dired-x.el (dired-do-find-marked-files):
16199 * dired.el (dired-pop-to-buffer):
16200 * bs.el (bs--show-with-configuration):
16201 * vc/emerge.el (emerge-setup-windows):
16202 * textmodes/two-column.el (2C-two-columns):
16203 * textmodes/reftex-toc.el (reftex-toc):
16204 * progmodes/gdb-mi.el (gdb-setup-windows):
16205 * progmodes/fortran.el (fortran-window-create):
16206 * net/newst-treeview.el (newsticker--treeview-window-init):
16207 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16208 * emulation/tpu-edt.el (tpu-gold-map):
16209 * emulation/crisp.el (crisp-mode-map):
16210 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16212 2011-10-29 Chong Yidong <cyd@gnu.org>
16214 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16216 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16218 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16219 forged Ispell output (Bug#7904).
16221 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16223 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16225 * doc-view.el: Avoid ugly errors about not finding nil.
16226 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16227 (doc-view-dvipdf-program, doc-view-unoconv-program)
16228 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16229 Avoid nil or absolute file name as default value.
16230 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16232 2011-10-28 Alan Mackenzie <acm@muc.de>
16234 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16236 2011-10-28 Alan Mackenzie <acm@muc.de>
16238 Amend the handling of c-beginning/end-of-defun in nested declaration
16241 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16242 cc-langs.el. Change it to a defcustom.
16244 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16247 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16248 Prevent "class foo : bar" being spuriously recognized as a label.
16250 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16251 Add parameter `inclusive' (to include enclosing braces in the region).
16252 (c-widen-to-enclosing-decl-scope): New function.
16253 (c-while-widening-to-decl-block): New macro.
16254 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16255 outward for defun boundaries, and correspondingly change symbol
16256 `respect-enclosure' to `go-outward'.
16257 (c-declaration-limits): Change algorithm to report only the "innermost"
16258 defun's boundaries.
16260 2011-10-28 Deniz Dogan <deniz@dogan.se>
16262 * net/rcirc.el (rcirc-mode): Use hard newlines.
16264 2011-10-28 Alan Mackenzie <acm@muc.de>
16266 Amend to indent and fontify macros "which include their own semicolon"
16267 correctly, using the "virtual semicolon" mechanism.
16269 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16271 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16272 Recode to scan one line at a time rather than having \n and \r
16273 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16274 (c-forward-label): Amend for virtual semicolons.
16275 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16277 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16278 of the new C macros.
16280 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16281 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16282 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16283 (c-opt-cpp-macro-define): Make into a full language variable.
16284 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16285 AWK Mode (including \n, \r) removed, no longer needed.
16287 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16288 Invoke c-make-macro-with-semi-re.
16290 * progmodes/cc-vars.el (c-macro-with-semi-re):
16291 (c-macro-names-with-semicolon): New variables.
16292 (c-make-macro-with-semi-re): New function.
16294 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * vc/log-edit.el: Fill empty field rather than adding new one.
16297 (log-edit-add-field): New function.
16298 (log-edit-insert-changelog): Use it.
16300 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16302 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16304 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16306 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16307 (gdb--check-interpreter): New function.
16310 2011-10-27 Glenn Morris <rgm@gnu.org>
16312 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16313 (least-positive-float, least-negative-float)
16314 (least-positive-normalized-float, least-negative-normalized-float)
16315 (float-epsilon, float-negative-epsilon):
16316 Remove unnecessary declarations.
16318 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16319 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16320 (least-positive-float, least-negative-float)
16321 (least-positive-normalized-float, least-negative-normalized-float)
16322 (float-epsilon, float-negative-epsilon): Add doc-strings,
16323 based on those in cl.texi.
16325 * files.el (set-visited-file-name): If the major-mode changed,
16326 reload the local variables. (Bug#9796)
16328 2011-10-27 Chong Yidong <cyd@gnu.org>
16330 * subr.el (change-major-mode-after-body-hook): New hook.
16331 (run-mode-hooks): Run it.
16333 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16334 Use change-major-mode-before-body-hook.
16336 * simple.el (fundamental-mode):
16337 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16338 change introducing fundamental-mode-hook.
16340 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16342 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16344 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16346 * ido.el (ido-file-name-all-completions-1): Do not require
16347 tramp.el explicitly. (Bug#7583)
16349 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16351 * progmodes/octave-mod.el:
16352 * progmodes/octave-inf.el: Update maintainer.
16354 2011-10-26 Chong Yidong <cyd@gnu.org>
16356 * subr.el (with-wrapper-hook): Rewrite doc.
16358 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16360 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16361 filenames "/method:foo:". (Bug#9793)
16363 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16368 2011-10-24 Glenn Morris <rgm@gnu.org>
16370 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16372 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16374 * notifications.el: Add the requirement of a running D-Bus session
16375 bus to the Commentary.
16377 2011-10-24 Juri Linkov <juri@jurta.org>
16379 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16380 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16383 2011-10-24 Juri Linkov <juri@jurta.org>
16385 * info.el (Info-following-node-name-re): Add newline to the list
16386 of allowed characters for leading space. (Bug#9824)
16388 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16390 * progmodes/octave-inf.el (inferior-octave-mode-map):
16391 Fix C-c C-h binding.
16392 * progmodes/octave-mod.el (octave-help): Remove.
16394 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16396 Sync with Tramp 2.2.3.
16398 * net/tramp-cache.el (top): Pacify byte-compiler using
16399 `init-file-user' and `site-run-file'.
16401 * net/trampver.el: Update release number.
16403 2011-10-23 Chong Yidong <cyd@gnu.org>
16405 * files.el (toggle-read-only): Remove obsolete comment about
16408 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16409 for toggle-read-only. Note that this hasn't called vc-next-action
16410 since 2008-05-02, though it wasn't documented at the time.
16412 * vc/ediff-init.el (ediff-toggle-read-only-function):
16413 Use toggle-read-only.
16415 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16417 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16420 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16421 correct faulty logical expression.
16422 (c-parse-state-state, c-record-parse-state-state):
16423 (c-replay-parse-state-state): New defvar/defuns.
16424 (c-debug-parse-state): Use new functions.
16426 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16428 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16429 last fix. Use window-in-direction correctly.
16431 2011-10-21 Chong Yidong <cyd@gnu.org>
16433 * progmodes/idlwave.el (idlwave-mode):
16434 * progmodes/vera-mode.el (vera-mode): No need to set
16435 require-final-newline; that's done in prog-mode.
16436 Suggested by Stefan Monnier.
16438 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16440 * mouse.el (mouse-drag-window-above)
16441 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16442 (mouse-drag-mode-line-1, mouse-drag-header-line)
16443 (mouse-drag-vertical-line-rightward-window): Remove.
16444 (mouse-drag-line): New function.
16445 (mouse-drag-mode-line, mouse-drag-header-line)
16446 (mouse-drag-vertical-line): Call mouse-drag-line.
16447 * window.el (window-at-side-p, windows-at-side): New functions.
16449 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16451 * tar-mode.el (tar-grind-file-mode):
16452 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16454 2011-10-21 Chong Yidong <cyd@gnu.org>
16456 * progmodes/idlwave.el (idlwave-mode):
16457 * progmodes/vera-mode.el (vera-mode):
16458 Use mode-require-final-newline.
16460 2011-10-20 Glenn Morris <rgm@gnu.org>
16462 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16464 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16466 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16468 2011-10-20 Chong Yidong <cyd@gnu.org>
16470 * emulation/cua-base.el (cua-mode):
16471 * mail/footnote.el (footnote-mode):
16472 * mail/mailabbrev.el (mail-abbrevs-mode):
16473 * net/xesam.el (xesam-minor-mode):
16474 * progmodes/bug-reference.el (bug-reference-mode):
16475 * progmodes/cap-words.el (capitalized-words-mode):
16476 * progmodes/compile.el (compilation-minor-mode)
16477 (compilation-shell-minor-mode):
16478 * progmodes/gud.el (gud-tooltip-mode):
16479 * progmodes/hideif.el (hide-ifdef-mode):
16480 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16481 * progmodes/subword.el (subword-mode):
16482 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16483 * progmodes/which-func.el (which-function-mode):
16484 * term/tvi970.el (tvi970-set-keypad-mode):
16485 * term/vt100.el (vt100-wide-mode):
16486 * textmodes/flyspell.el (flyspell-mode):
16487 * textmodes/ispell.el (ispell-minor-mode):
16488 * textmodes/nroff-mode.el (nroff-electric-mode):
16489 * textmodes/paragraphs.el (use-hard-newlines):
16490 * textmodes/refill.el (refill-mode):
16491 * textmodes/reftex.el (reftex-mode):
16492 * textmodes/rst.el (rst-minor-mode):
16493 * textmodes/sgml-mode.el (html-autoview-mode)
16494 (sgml-electric-tag-pair-mode):
16495 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16496 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16497 * emulation/crisp.el (crisp-mode):
16498 * emacs-lisp/eldoc.el (eldoc-mode):
16499 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16500 minor mode behavior.
16502 2011-10-19 Juri Linkov <juri@jurta.org>
16504 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16505 the list of hard-coded chars with escape-glyph face.
16507 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16509 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16511 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16513 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16516 2011-10-19 Glenn Morris <rgm@gnu.org>
16518 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16519 Ignore ignored files. (Bug#9726)
16521 2011-10-19 Chong Yidong <cyd@gnu.org>
16523 Doc fix for minor modes, stating that an omitted argument enables
16524 the mode unconditionally when called from Lisp.
16526 * abbrev.el (abbrev-mode):
16527 * allout.el (allout-mode):
16528 * autoinsert.el (auto-insert-mode):
16529 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16530 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16531 (global-auto-revert-mode):
16532 * battery.el (display-battery-mode):
16533 * composite.el (global-auto-composition-mode)
16534 (auto-composition-mode):
16535 * delsel.el (delete-selection-mode):
16536 * desktop.el (desktop-save-mode):
16537 * dired-x.el (dired-omit-mode):
16538 * dirtrack.el (dirtrack-mode):
16539 * doc-view.el (doc-view-minor-mode):
16540 * double.el (double-mode):
16541 * electric.el (electric-indent-mode, electric-pair-mode):
16542 * emacs-lock.el (emacs-lock-mode):
16543 * epa-hook.el (auto-encryption-mode):
16544 * follow.el (follow-mode):
16545 * font-core.el (font-lock-mode):
16546 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16547 * help.el (temp-buffer-resize-mode):
16548 * hilit-chg.el (highlight-changes-mode)
16549 (highlight-changes-visible-mode):
16550 * hi-lock.el (hi-lock-mode):
16551 * hl-line.el (hl-line-mode, global-hl-line-mode):
16552 * icomplete.el (icomplete-mode):
16553 * ido.el (ido-everywhere):
16554 * image-file.el (auto-image-file-mode):
16555 * image-mode.el (image-minor-mode):
16556 * iswitchb.el (iswitchb-mode):
16557 * jka-cmpr-hook.el (auto-compression-mode):
16558 * linum.el (linum-mode):
16559 * longlines.el (longlines-mode):
16560 * master.el (master-mode):
16561 * mb-depth.el (minibuffer-depth-indicate-mode):
16562 * menu-bar.el (menu-bar-mode):
16563 * minibuf-eldef.el (minibuffer-electric-default-mode):
16564 * mouse-sel.el (mouse-sel-mode):
16565 * msb.el (msb-mode):
16566 * mwheel.el (mouse-wheel-mode):
16567 * outline.el (outline-minor-mode):
16568 * paren.el (show-paren-mode):
16569 * recentf.el (recentf-mode):
16570 * reveal.el (reveal-mode, global-reveal-mode):
16571 * rfn-eshadow.el (file-name-shadow-mode):
16572 * ruler-mode.el (ruler-mode):
16573 * savehist.el (savehist-mode):
16574 * scroll-all.el (scroll-all-mode):
16575 * scroll-bar.el (scroll-bar-mode):
16576 * server.el (server-mode):
16577 * shell.el (shell-dirtrack-mode):
16578 * simple.el (auto-fill-mode, transient-mark-mode)
16579 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16580 (line-number-mode, column-number-mode, size-indication-mode)
16581 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16582 * strokes.el (strokes-mode):
16583 * time.el (display-time-mode):
16584 * t-mouse.el (gpm-mouse-mode):
16585 * tool-bar.el (tool-bar-mode):
16586 * tooltip.el (tooltip-mode):
16587 * type-break.el (type-break-mode-line-message-mode)
16588 (type-break-query-mode):
16589 * view.el (view-mode):
16590 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16591 (global-whitespace-mode, global-whitespace-newline-mode):
16592 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16594 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16595 Fix autogenerated docstring.
16597 2011-10-19 Juri Linkov <juri@jurta.org>
16599 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16600 by checking environment variables "DESKTOP_SESSION" and
16601 "XDG_CURRENT_DESKTOP". (Bug#9779)
16603 2011-10-19 Juri Linkov <juri@jurta.org>
16605 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16606 (browse-url-chromium-program, browse-url-chromium-arguments):
16608 (browse-url-default-browser): Check for `browse-url-chromium' and
16609 call `browse-url-chromium-program'.
16610 (browse-url-chromium): New command. (Bug#9779)
16612 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16614 * facemenu.el (list-colors-duplicates): On Windows, detect more
16615 duplicates by assuming that only colors matching "^System" are
16616 special "system colors". (Bug#9722)
16618 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16620 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16621 to distinguish the author from the committer.
16623 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16625 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16627 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16629 * international/mule.el (sgml-html-meta-auto-coding-function):
16630 Add support for detecting encoding in HTML5 specified only as
16631 <meta charset="UTF-8">. Implementation just makes http-equiv and
16632 content-type parts from HTML4 encoding string optional. (Bug#9716)
16634 2011-10-18 Glenn Morris <rgm@gnu.org>
16636 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16638 2011-10-18 Chong Yidong <cyd@gnu.org>
16640 * faces.el (cursor): Doc fix.
16642 2011-10-17 Chong Yidong <cyd@gnu.org>
16644 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16646 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16648 * dirtrack.el (dirtrack): Support shell buffers with path
16649 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16651 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16653 * json.el: Bump version to 1.3 and note change in History.
16654 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16656 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16658 * comint.el (comint-insert-input, comint-send-input)
16659 (comint-get-old-input-default, comint-backward-matching-input)
16660 (comint-next-prompt): Use nil instead of `input' for field property of
16661 past user input (bug#114).
16663 * minibuffer.el (completion--replace): Inherit surrounding properties
16665 (minibuffer-complete-and-exit): Use it.
16667 * comint.el (comint--table-subvert): Quote the all-completions output
16670 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16672 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16674 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16675 window on right of selected. (Bug#9350) Reword other window
16676 entries and separate them from frame entries.
16678 2011-10-15 Glenn Morris <rgm@gnu.org>
16680 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16683 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16685 * net/network-stream.el (network-stream-open-starttls):
16686 Improve detection of failure due to lack of TLS support.
16688 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16689 putting the input text in front and in bold.
16691 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16693 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16695 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16698 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16699 unread-command-events rather than pushing yet-another event.
16701 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16703 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16704 the explanation of the possible choices. Make the options passed
16705 to completing-read shorter.
16707 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16709 * textmodes/flyspell.el (flyspell-large-region): Make sure
16710 extended character mode is used if defined (Bug#1339).
16712 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16714 * simple.el (what-cursor-position): Fix the display of the
16715 character info for LRE, LRO, RLE, and RLO characters by appending
16718 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16721 even in case of error; add debug spec; simplify data flow.
16722 (with-timeout-handler): Remove.
16724 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16726 Fix Bug#6019, Bug#9315.
16728 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16729 complete `buffer-file-name', the local file name part could look
16730 remotely (for example on VMS).
16732 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16733 `tramp-run-real-handler'.
16734 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16735 already quoted by '"'.
16737 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16738 Let `file-name-handler-alist' be nil, the local file name part
16739 could look remotely (for example on VMS).
16741 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16743 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16745 (flyspell-post-command-hook): ...to here.
16747 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16749 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16751 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16752 using completion. Protect against "slow" callers.
16753 Remove the "message hack".
16755 2011-10-11 Juri Linkov <juri@jurta.org>
16757 * isearch.el (isearch-lazy-highlight-word): New variable.
16758 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16761 2011-10-11 Glenn Morris <rgm@gnu.org>
16763 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16764 like f90-previous-statement does.
16766 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16768 * eshell/eshell.el (eshell-command): History should be saved
16769 only in interactive use, to avoid error.
16771 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16773 * minibuffer.el (completion-file-name-table): Fix last change,
16774 i.e. ignore normal errors but not the other ones.
16776 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16778 * window.el (special-display-buffer-names)
16779 (special-display-regexps): Remove some remnants of earlier
16780 changes from doc-strings.
16781 (quit-windows-on): New function.
16783 * vc/vc.el (vc-revert, vc-rollback):
16784 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16785 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16786 (Bug#6183) (Bug#7074) (Bug#7447)
16788 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16790 * window.el (frame-auto-hide-function): Add version tag.
16793 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16795 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16798 2011-10-09 Leo Liu <sdl.web@gmail.com>
16800 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16803 2011-10-08 Glenn Morris <rgm@gnu.org>
16805 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16806 before the first code statement zero indent. (Bug#9690)
16808 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16810 * simple.el (count-words-region): Always count in the region.
16811 Report the number of lines and characters too.
16812 (count-words): New command, which counts in the buffer if the
16813 region is inactive, as count-words-region used to.
16814 (count-words--message): New function. Handle plurals.
16815 (count-lines-region): Make it an alias for count-words-region.
16817 * bindings.el (esc-map): Replace count-lines-region with
16818 count-words-region.
16820 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16822 * window.el (window--delete): Delete dedicated frame
16823 unconditionally when argument KILL is non-nil. (Bug#9699)
16824 (switch-to-buffer): Fix doc-string typo.
16826 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16828 * eshell/eshell.el (eshell-command): Avoid using hooks.
16830 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16832 * bindings.el ([M-left],[M-right]): Bind to left-word and
16833 right-word respectively.
16835 2011-10-07 Glenn Morris <rgm@gnu.org>
16837 * cus-start.el (debug-on-quit): Fix custom type.
16839 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841 * subr.el (define-key-after): Clarify that the function is not
16842 useful for non-menu keymaps.
16844 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16846 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16848 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16849 in current minibuffer (Fix bug with recursive minibuffers).
16851 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16853 * progmodes/gdb-mi.el (gdb): Doc fix.
16855 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16857 * window.el (frame-auto-hide-function): New option replacing
16858 frame-auto-delete. Suggested by Stefan Monnier.
16859 (window--delete): Call frame-auto-hide-function instead of
16860 investigating frame-auto-delete.
16861 (window-point-1, set-window-point-1): New functions.
16862 (window-in-direction, record-window-buffer, window-state-get-1)
16863 (display-buffer-record-window): Use window-point-1 instead of
16865 (set-window-buffer-start-and-point): Use set-window-point-1.
16867 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16869 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16871 2011-10-05 Glenn Morris <rgm@gnu.org>
16873 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16874 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16876 2011-10-05 Leo Liu <sdl.web@gmail.com>
16878 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16879 works with buffer object.
16881 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16883 * mpc.el (mpc-tool-bar-map): Add labels.
16885 2011-10-04 Glenn Morris <rgm@gnu.org>
16887 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16889 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16891 * window.el (window--delete): New function.
16892 (frame-auto-delete): Resuscitate option.
16893 (bury-buffer, replace-buffer-in-windows)
16894 (quit-window): Rewrite using window--delete.
16895 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16896 Pass display-buffer-mark-dedicated to window--display-buffer-2
16899 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16901 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16902 returns a list (bug#9554). Add remote file name completion.
16903 * comint.el (comint--table-subvert): Curry and get quote&unquote
16904 functions as arguments.
16905 (comint--complete-file-name-data): Adjust call accordingly.
16906 * pcomplete.el (pcomplete--table-subvert): Remove.
16907 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16909 * minibuffer.el (completion-table-case-fold): Use currying.
16910 (completion--styles-type, completion--cycling-threshold-type):
16912 (completion-styles, completion-category-overrides)
16913 (completion-cycle-threshold): Use them.
16914 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16915 completion-table-case-fold.
16917 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16919 * minibuffer.el (completion-category-overrides): Fix type of styles
16920 and add more user friendly tags (bug#9660).
16922 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16924 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16925 (mule-input-method-string): New widget.
16926 (default-input-method, language-info-custom-alist): Use it.
16928 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16930 * pcomplete.el: Require comint.
16931 (pcomplete--common-suffix): Remove.
16932 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16933 (pcomplete--table-subvert): Sync with comint--table-subvert.
16934 (pcomplete--entries): Use comint-completion-file-name-table.
16935 * comint.el (comint-unquote-filename): Simplify.
16936 (comint-completion-file-name-table): New function (bug#9616).
16937 (comint--complete-file-name-data): Use it.
16939 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16940 (pcmpl-gnu-tar-buffer): Remove.
16941 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16942 around. Make sure pcomplete-suffix-list is only changed temporarily.
16943 Don't look inside the tar's file if it's too large.
16945 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16947 * cus-edit.el (custom-mode-map):
16948 * epa.el (epa-key-list-mode-map):
16949 * man.el (Man-mode-map):
16950 * startup.el (splash-screen-keymap):
16951 * simple.el (special-mode-map): Use scroll-up-command and
16952 scroll-down-command.
16954 * progmodes/idlw-help.el (idlwave-help-mode-map):
16955 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16956 * net/newst-plainview.el (newsticker-mode-map):
16957 * emulation/ws-mode.el (wordstar-mode-map):
16958 * emulation/vi.el (vi-com-map):
16959 * calc/calc-graph.el (calc-graph-show-dumb):
16960 * term/sun.el (terminal-init-sun):
16961 * term/ns-win.el (global-map):
16962 * progmodes/grep.el (grep-mode-map):
16963 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16964 * mail/rmail.el (rmail-mode-map):
16965 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16967 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16968 custom-safe-themes as special.
16970 2011-10-01 Julien Danjou <julien@danjou.info>
16972 * notifications.el (notifications-notify): Fix docstring.
16974 2011-10-01 Per Starbäck <per@starback.se>
16976 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16978 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16980 * startup.el (command-line-1): Fix last fix by inserting
16981 initial-scratch-message into *scratch* before displaying it.
16982 (Bug#9605) and (Bug#9636)
16984 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16986 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16987 window is hscrolled, move by logical lines. (Bug#9607)
16988 (line-move-visual): Update the doc string to the above effect.
16990 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16992 * window.el (display-buffer-record-window): When WINDOW is the
16993 selected window use `point' instead of `window-point'. (Bug#9626)
16995 * startup.el (command-line-1): Use insert-before-markers when
16996 inserting initial-scratch-message. (Bug#9605)
16998 * help.el (help-window): Remove variable.
17000 2011-09-29 Glenn Morris <rgm@gnu.org>
17002 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17004 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17006 * descr-text.el (describe-char-categories): Accept category
17007 descriptions more than one line long.
17009 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17011 * simple.el (delete-trailing-whitespace): Fix last change.
17013 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17014 Don't confuse "y => 3" as the beginning of a `y' operation.
17016 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17017 object has more than 4 slots (bug#9613).
17019 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17021 * subr.el (with-output-to-temp-buffer):
17022 * net/quickurl.el (quickurl, quickurl-browse-url):
17023 Fix typos in docstrings.
17025 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17027 * minibuffer.el (completion-styles)
17028 (completion-category-overrides): Cross reference each other in doc
17031 2011-09-27 Glenn Morris <rgm@gnu.org>
17033 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17034 to split-string. (Bug#9606)
17036 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17038 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17041 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17043 * emacs-lisp/package.el (list-packages): Fix echo area message.
17045 2011-09-27 Leo Liu <sdl.web@gmail.com>
17047 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17049 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17051 * net/dbus.el (dbus-unregister-object): Don't release services for
17052 registered signals. (Bug#9581)
17054 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17056 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17057 function that picks between cfengine 2 and 3 support
17058 automatically. Update docs accordingly.
17060 2011-09-22 Kenichi Handa <handa@m17n.org>
17062 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17064 (indian-itrans-v5-table-for-tamil): New variable.
17065 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17067 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17069 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17070 that's true if the current command involved collapsing of text.
17071 It's reset to false at the beginning of the next command.
17072 (allout-post-command-business): Move the cursor to the beginning
17073 of entry if the cursor is hidden and collapsing activity just
17076 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17078 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17079 tracking (Bug#9541).
17081 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17083 * net/newst-reader.el (newsticker-html-renderer)
17084 (newsticker-show-news): Automatically load html rendering package
17085 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17086 because w3m-fill-column is let-bound" and the error "Symbol's value
17087 as variable is void: w3m-fill-column".
17089 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17091 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17092 Release services only if they are defined. (Bug#9581)
17094 2011-09-23 Richard Stallman <rms@gnu.org>
17096 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17097 distinguish start of paragraph from start of its text.
17099 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17101 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17102 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17103 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17105 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17107 * international/mule-diag.el (mule-diag): Insert a newline after
17108 each fontset description.
17110 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17112 * simple.el (delete-trailing-whitespace):
17113 Document last change; simplify.
17115 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17117 * simple.el (delete-trailing-whitespace): Also delete
17118 extra newlines at the end of the buffer.
17120 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17121 (picture-newline): Use forward-line so as to ignore fields.
17123 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17125 * subr.el (with-wrapper-hook): Fix edebug spec.
17127 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17129 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17132 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17134 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17135 Fix nasty bug using wrong cached values.
17137 2011-09-23 Alan Mackenzie <acm@muc.de>
17139 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17141 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17143 * window.el (pop-to-buffer): Ensure right window is selected if we
17144 chose another frame.
17146 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17148 * simple.el (what-cursor-position): Use get-char-property-change
17149 and next-single-char-property-change, to be able to show display
17150 properties that come from overlays as well as text properties.
17152 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17154 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17156 * cmuscheme.el (run-scheme, switch-to-scheme):
17157 * cus-edit.el (customize-group, custom-buffer-create)
17158 (customize-browse):
17160 * shell.el (shell):
17161 * mail/sendmail.el (mail):
17162 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17164 2011-09-22 Richard Stallman <rms@gnu.org>
17166 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17167 move back only to line beg, don't move back over blank lines.
17169 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17171 * files.el (copy-directory): Set directory attributes only in case
17172 they could be retrieved from the source directory. (Bug#9565)
17174 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17176 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17177 (hs-find-block-beginning, hs-hide-level-recursive):
17178 Ignore strings as well as comments. (Bug#9502)
17180 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17182 * progmodes/sql.el (sql-comint-postgres):
17183 Convert port number to a string. (Bug#9566)
17185 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17187 * window.el (quit-window): Undedicate window when switching to
17188 previous buffer. Reported by Thierry Volpiatto
17189 <thierry.volpiatto@gmail.com>.
17190 (special-display-popup-frame): When popping up a new frame reset
17191 its previous buffers to nil. Simplify code.
17193 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17195 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17196 and process filter, as done also in `shell-command'.
17198 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17200 * window.el (set-window-buffer-start-and-point):
17201 Call set-window-start with NOFORCE argument t.
17202 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17203 (quit-window): Reword doc-string. Handle new format of
17204 quit-restore parameter. Don't delete window if it has a
17205 previous buffer we can show instead of the present one.
17206 (display-buffer-record-window): Rewrite using a new format for
17207 the quit-restore window parameter
17208 (special-display-popup-frame, display-buffer-same-window)
17209 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17210 (display-buffer-pop-up-window, display-buffer-use-some-window):
17211 Adapt symbol passed to display-buffer-record-window.
17212 * help.el (help-window-setup): Handle new format of quit-restore
17215 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17217 * faces.el (face-list): Fix docstring (bug#9564).
17219 * window.el (display-buffer--action-function-custom-type):
17220 Don't include internal functions in the Custom interface.
17222 2011-09-20 Juri Linkov <juri@jurta.org>
17224 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17225 (Info-forward-node, Info-backward-node, Info-next-preorder)
17226 (Info-last-preorder): Use it. (Bug#9528)
17228 2011-09-20 Juri Linkov <juri@jurta.org>
17230 * info.el (Info-last-preorder): Visit last menu item only when
17231 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17233 2011-09-20 Julien Danjou <julien@danjou.info>
17235 * password-cache.el (password-cache-remove): Remove entries even if the
17236 value is nil, so that password with a nil value (negative caching) is
17237 possible to invalidate.
17239 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17241 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17242 all whitespace around breakpoint. (Bug#9553)
17243 (f90-find-breakpoint): Only break at whitespace inside a comment.
17245 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17247 * minibuffer.el (completion-file-name-table): Keep track of errors.
17248 (completion-table-with-predicate): Handle the case where pred1 is nil.
17249 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17251 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17253 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17254 (debugger-return-value): Signal an error if the debugging context does
17255 not await any return value.
17257 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17258 * image-mode.el (image-toggle-display-text)
17259 (image-toggle-display-image): Stay away from evil `intangible'.
17261 2011-09-19 Leo Liu <sdl.web@gmail.com>
17263 * replace.el (occur-revert-arguments): Make it permanent-local.
17264 (occur-mode): Don't call font-lock-defontify.
17266 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17268 * net/ldap.el (ldap-search-internal): Don't push empty search
17271 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17275 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17277 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17278 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17280 2011-09-18 Juri Linkov <juri@jurta.org>
17282 * buff-menu.el (Buffer-menu-mode-map):
17283 * dired.el (dired-mode-map):
17284 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17285 (lisp-interaction-mode-map):
17286 * emacs-lisp/package.el (package-menu-mode-map):
17287 * epa.el (epa-key-list-mode-map):
17288 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17289 (menu-bar-options-menu):
17290 * outline.el (outline-mode-menu-bar-map):
17291 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17292 * vc/vc-dir.el (vc-dir-menu-map):
17293 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17294 Capitalize non-function content words in menu item strings.
17296 * dired.el (dired-mode-map): Add menu item for
17297 `image-dired-dired-toggle-marked-thumbs'.
17299 2011-09-18 Juri Linkov <juri@jurta.org>
17301 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17302 to `isearch-case-fold-search' and restore its original value
17303 after the `isearch-mode' call.
17305 2011-09-18 Juri Linkov <juri@jurta.org>
17307 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17308 because `zgrep' returns 1 for successful matches (bug#9226).
17310 2011-09-18 Juri Linkov <juri@jurta.org>
17312 * info.el (Info-extract-menu-node-name): Check the second match
17313 for empty string (second test-case of bug#9528).
17314 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17315 intermediate nodes to the history (first test-case of bug#9528).
17317 2011-09-18 Juri Linkov <juri@jurta.org>
17319 * info.el (Info-mode-syntax-table): New variable.
17320 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17322 2011-09-18 Juri Linkov <juri@jurta.org>
17324 * info.el (Info-file-supports-index-cookies):
17325 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17326 outputs one more line for long file names (bug#4142).
17328 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17330 * newcomment.el (comment-normalize-vars): If prompting for
17331 comment-start, set comment-start-skip too (Bug#8424).
17333 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17335 * icomplete.el: Fix previous fix of Bug#5849.
17336 (icomplete-mode): Don't set completion-show-inline-help.
17337 (icomplete-minibuffer-setup): Set completion-show-inline-help
17338 locally during icompletion.
17340 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17342 * woman.el (woman2-process-escapes): Don't delete unrecognized
17343 escapes (Bug#7843).
17345 * files.el (inhibit-first-line-modes-regexps): Add image files.
17346 (hack-local-variables-prop-line): Return nil for malformed
17347 prop-lines (Bug#9044).
17349 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17351 * net/tramp.el (top): Don't require 'shell.
17352 (tramp-methods): Fix docstring.
17353 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17354 Return complete remote file name. Handle "smb" case.
17355 Use `tramp-tmpdir', if defined for the respective method.
17356 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17358 * net/tramp-compat.el (top): Require 'shell.
17360 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17361 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17362 `tramp-current-host'.
17363 (tramp-get-remote-tmpdir): Remove.
17365 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17366 `tramp-tmpdir' entries.
17367 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17368 (tramp-smb-handle-file-attributes): Ignore errors.
17369 (tramp-smb-wait-for-output): Check also for process end.
17371 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17373 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17374 when sending QUIT (bug#9312).
17376 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17378 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17379 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17380 occur-mode-display-occurrence.
17381 (occur-edit-mode): Add usage message.
17382 (occur-cease-edit): New command.
17383 (occur-after-change-function): Use text properties to find the
17384 position of the prefix text.
17385 (occur-engine): Set stickiness of prefix text properties.
17387 2011-09-17 Glenn Morris <rgm@gnu.org>
17389 * progmodes/etags.el (complete-tag):
17390 Fix call to completion-in-region. (Bug#9526)
17392 2011-09-17 Juri Linkov <juri@jurta.org>
17394 * textmodes/ispell.el (ispell-word): Add to the error message
17395 the word, ispell program name and current dictionary (bug#9121).
17396 (ispell-tex-arg-end): Capitalize "error" in the error message.
17398 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17400 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17403 2011-09-17 Juri Linkov <juri@jurta.org>
17405 * window.el (window-safe-min-height, window-safe-min-width):
17406 Fix typos (followup to bug#9522).
17408 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17410 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17412 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17414 * simple.el (line-move): If goal-column is set, move by logical
17415 lines, not by display lines. (Bug#971)
17416 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17417 to reflect the above change.
17419 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17421 * image.el (imagemagick-register-types): Use regexp-opt.
17423 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17425 * window.el (display-buffer-base-action): Rename from
17426 display-buffer-default-action. Make default value empty.
17427 (display-buffer-overriding-action): Convert to defvar.
17428 (display-buffer-fallback-action): New var.
17430 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17432 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17434 (package--add-to-archive-contents): If there is a duplicate entry
17435 with an older version, remove it.
17436 (package-menu-mark-delete, package-menu-mark-install)
17437 (package-menu-mark-unmark): Make unused args optional.
17438 (package-menu-mark-obsolete-for-deletion):
17439 Use package-menu-get-status instead of a regexp search.
17440 (package-menu-get-status): Use tabulated-list-entry.
17441 (package-menu-mark-upgrades): New command.
17442 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17443 (package-menu-execute): Do installation before deletion.
17444 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17445 instead of checking major-mode.
17446 (package-menu--find-upgrades): New function.
17448 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17450 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17451 passwords in the log buffer.
17452 (smtpmail-process-filter): Update the process marker so that the
17453 "broken by peer" status message is inserted in the right place.
17455 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17457 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17458 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17459 bibtex-completion-at-point-function.
17460 (bibtex-completion-at-point-function): Use them.
17462 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17464 * mpc.el (mpc-constraints-tag-lookup): New function.
17465 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17466 also to browser "album|playlist".
17468 2011-09-14 Juri Linkov <juri@jurta.org>
17470 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17471 (isearch-edit-string): Use length of `isearch-string' when
17472 `isearch-fail-pos' returns nil.
17473 (isearch-message): Remove duplicate code and call
17474 `isearch-fail-pos' with arg `t'.
17476 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17478 * replace.el (occur-mode-goto-occurrence): Don't force using other
17481 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17483 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17485 * window.el (display-buffer-window): Remove.
17486 (display-buffer-record-window): Use help-setup window parameter
17487 instead of variable display-buffer-window.
17488 (display-buffer-function, special-display-buffer-names)
17489 (special-display-function): Mention help-setup parameter instead
17490 of display-buffer-window in doc-string.
17491 * help.el (help-window-setup): New argument help-window.
17492 Use help-window-setup parameter instead of display-buffer-window.
17493 Reword some messages.
17494 (with-help-window): Pass window used for displaying the buffer
17495 to help-window-setup. Don't set display-buffer-window.
17497 2011-09-13 Glenn Morris <rgm@gnu.org>
17499 * emacs-lisp/debug.el (debugger-make-xrefs):
17500 Preserve point. (Bug#9462)
17502 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17504 * window.el (window-deletable-p): Use next-frame.
17506 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17508 * window.el (window-auto-delete): Remove.
17509 (window-deletable-p): Remove argument FORCE. Don't deal with
17510 dedication and previous buffers.
17511 (switch-to-prev-buffer): Don't delete window.
17512 (delete-windows-on): Delete a window's frame if and only if the
17513 window is dedicated.
17514 (replace-buffer-in-windows): Delete buffer's window or frame if
17515 and only if window is dedicated.
17516 (quit-window): Handle quit-restore as before last change.
17517 (bury-buffer): Delete window only if window-deletable-p returns t.
17519 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17521 * window.el (window-deletable-p): Never delete the last frame on a
17524 2011-09-13 Glenn Morris <rgm@gnu.org>
17526 * help.el (describe-key-briefly): Copy previous standard-output change.
17528 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17530 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17532 2011-09-13 Glenn Morris <rgm@gnu.org>
17534 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17535 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17537 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17539 * dired-aux.el (dired-mark-read-string): Don't return default
17540 value on empty input (Bug#9361).
17541 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17542 Omit initial minibuffer contents.
17543 (dired-do-chmod): Signal an error on empty input.
17544 (dired-mark-read-string): Don't return default on empty input.
17546 * files.el (file-modes-symbolic-to-number): Doc fix.
17548 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17550 * international/mule-cmds.el (ucs-completions): Remove.
17551 (read-char-by-name): Use complete-with-action instead; add metadata.
17553 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17555 * window.el (display-buffer--action-function-custom-type)
17556 (display-buffer--action-custom-type): New vars.
17557 (display-buffer-alist, display-buffer-default-action)
17558 (display-buffer-overriding-action): Add defcustom types.
17560 * frame.el (delete-other-frames): Doc fix (Bug#276).
17562 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17564 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17566 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17568 Change modes that used same-window-* vars to use switch-to-buffer.
17570 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17571 Use switch-to-buffer.
17573 * cus-edit.el (customize-group, custom-buffer-create)
17574 (customize-browse, custom-buffer-create-other-window):
17575 Use switch-to-buffer or switch-to-buffer-other-window.
17577 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17578 (Info-prev, Info-up, Info-speedbar-goto-node)
17579 (info-display-manual): Use switch-to-buffer.
17580 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17582 * mail/sendmail.el (mail): Use switch-to-buffer.
17583 (mail-recover): Use switch-to-buffer-other-window.
17585 * cmuscheme.el (run-scheme, switch-to-scheme):
17587 * shell.el (shell):
17588 * net/rlogin.el (rlogin):
17589 * net/telnet.el (telnet, rsh):
17590 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17592 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17594 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17596 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17598 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17599 so don't mention it (bug#9301).
17600 (dired-sort-toggle-or-edit): Clarify string further.
17602 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17603 match `x', `w32' and `ns', like the manual says (bug#9029).
17605 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17606 (process-kill-buffer-query-function): Mention the buffer name in
17609 * image-mode.el (image-next-line): The line parameter is mandatory
17612 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17613 which can be useful (bug#9301).
17615 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17617 * subr.el (match-string): Mention that the current buffer should
17618 be the same as the search was done in (bug#9282).
17620 * facemenu.el: Disable the remove-* commands if the mark isn't
17623 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17625 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17627 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17629 * replace.el (occur-mode-goto-occurrence)
17630 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17631 and display-buffer.
17633 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17636 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17637 special-display and same-window variables.
17638 (mail-other-window): Use switch-to-buffer-other-window.
17639 (mail-other-frame): USe switch-to-buffer-other-frame.
17641 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17642 Use display-buffer-other-frame.
17643 (gdb-display-gdb-buffer): Use pop-to-buffer.
17645 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17647 * progmodes/python.el: Don't set same-window-buffer-names.
17649 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17651 * window.el (display-buffer-alist): Add *Python*.
17653 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17655 * window.el (display-buffer-alist): Add entry for buffers
17656 previously handled same-window-*.
17657 (display-buffer-alist, display-buffer-default-action)
17658 (display-buffer-overriding-action): Mark as risky.
17659 (display-buffer-alist): Document action function changes.
17660 (display-buffer--same-window-action)
17661 (display-buffer--other-frame-action): New variables.
17662 (switch-to-buffer, display-buffer-other-frame): Use them.
17663 (display-buffer): Rename reuse-frame entry to reusable-frames.
17664 (display-buffer-reuse-selected-window): Function deleted.
17665 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17666 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17667 (display-buffer-special): New function.
17668 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17669 display-buffer-reuse-or-pop-window. Split off special-display
17670 part into display-buffer-special.
17671 (display-buffer-use-some-window): Don't perform any special
17672 pop-up-frames handling.
17673 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17674 (display-buffer--maybe-same-window): Rename from
17675 display-buffer-maybe-same-window.
17677 * info.el: Don't set same-window-regexps.
17678 (info-setup): New function.
17679 (info-other-window, info): Call it.
17681 * cus-edit.el: Don't set same-window-regexps.
17682 (customize-group): New argument.
17683 (customize-group-other-window): Use it.
17684 (customize-face, customize-face-other-window): Likewise.
17685 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17689 * progmodes/gud.el: Don't set same-window-regexps.
17694 * mail/sendmail.el:
17695 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17697 2011-09-10 Juri Linkov <juri@jurta.org>
17699 * isearch.el (isearch-edit-string): Remove obsolete mention of
17700 `C-w' (`isearch-yank-word-or-char') from docstring.
17701 (isearch-query-replace): Fix typo in docstring (bug#9466).
17703 2011-09-10 Juri Linkov <juri@jurta.org>
17705 * paren.el (show-paren-function): Don't show escaped parens.
17706 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17708 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17710 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17711 (mm-default-file-encoding): Remove autoload forms, they are
17712 replaced with autoload cookies in mml.el and mm-encode.el.
17713 (mail-add-attachment): New command.
17714 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17715 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17717 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17719 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17721 * simple.el (count-words-region): Use buffer if there's no region
17724 2011-09-09 Juri Linkov <juri@jurta.org>
17726 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17727 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17728 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17730 2011-09-09 Alan Mackenzie <acm@muc.de>
17732 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17733 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17735 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17737 Fix for Savannah bug#9392.
17738 * simple.el (mail-encode-mml): New defvar.
17740 * mail/rmail.el (mail-encode-mml): Add a defvar.
17741 (rmail-enable-mime-composing): Default to t.
17742 (rmail-forward): Use MIME method of forwarding only if both
17743 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17744 Set mail-encode-mml non-nil if the MIME method was used.
17746 * mail/sendmail.el (mml-to-mime): Add autoload form.
17747 (mail-encode-mml): Add a defvar.
17748 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17750 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17751 message through mml-to-mime, and reset mail-encode-mml to nil.
17753 2011-09-09 Glenn Morris <rgm@gnu.org>
17755 * woman.el (woman-if-body): When processing an .el block,
17756 do not delete the next .el block as well. (Bug#9447)
17757 (woman-special-characters): Add oq, cq, and hy characters.
17759 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17761 * window.el (window-deletable-p): Make sure window is live before
17762 invoking window-prev-buffers.
17764 2011-09-08 Leo Liu <sdl.web@gmail.com>
17766 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17768 2011-09-08 Juri Linkov <juri@jurta.org>
17770 * progmodes/compile.el (compilation-environment): Make it
17771 a defcustom (bug#8340).
17773 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17775 * window.el (frame-auto-delete): Rename to window-auto-delete.
17776 Make it control auto-deletion of windows and/or frames.
17777 (window-deletable-p): New argument FORCE. Rewrite conditions
17778 for deleting window/frame. (Bug#9419)
17779 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17780 Rewrite handling of case when window/frame can be deleted.
17781 (delete-windows-on): Call window-deletable-p with new FORCE
17782 argument t. (Bug#9456)
17784 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17786 * help-mode.el (help-mode): Restore autoload.
17788 2011-09-07 Juri Linkov <juri@jurta.org>
17790 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17791 `compilation-environment'. Set buffer-local
17792 `compilation-environment' to `thisenv' later after (funcall mode).
17795 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17796 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17797 instead of replacing its value. (Bug#8340)
17799 2011-09-07 Juri Linkov <juri@jurta.org>
17801 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17802 based on text properties put by `grep-filter' instead of matching
17804 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17805 to the value of `grep-error-screen-columns' (bug#9438).
17807 2011-09-07 Juri Linkov <juri@jurta.org>
17809 * simple.el (next-error-highlight, next-error-highlight-no-select):
17810 Doc fix (bug#9432).
17812 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17814 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17815 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17817 2011-09-07 Leo Liu <sdl.web@gmail.com>
17819 * net/rcirc.el (rcirc-mode): Conditionally initialize
17822 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17824 * emacs-lisp/find-func.el (find-function-C-source): Only set
17825 find-function-C-source-directory after checking that we found a source
17826 file there (bug#9440).
17828 2011-09-06 Alan Mackenzie <acm@muc.de>
17830 * isearch.el (isearch-other-meta-char): Wherever a key list is
17831 unread, "unread" the prefix arg, too. This fixes bug #8901.
17833 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17835 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17837 2011-09-05 Juri Linkov <juri@jurta.org>
17839 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17841 2011-09-05 Juri Linkov <juri@jurta.org>
17843 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17844 keeping point where processing of grep matches begins, and
17845 continue to delete remaining escape sequences from the same point.
17846 (grep-filter): Make leading zero optional in "0?1;31m" because
17847 git-grep emits "\033[1;31m" escape sequences unlike expected
17848 "\033[01;31m" as GNU Grep does (bug#9408).
17849 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17851 2011-09-05 Juri Linkov <juri@jurta.org>
17853 * subr.el (y-or-n-p): Capitalize "yes".
17855 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17857 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17858 `tramp-cache-unload-hook' where appropriate.
17859 (tramp-methods): Rename `tramp-remote-sh' to
17860 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17861 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17863 * net/tramp-sh.el (top): Don't require 'shell.
17864 (tramp-methods): Add `tramp-remote-shell' and
17865 `tramp-remote-shell-args' entries.
17866 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17867 (tramp-sh-handle-shell-command): Remove.
17868 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17869 Use `tramp-remote-shell'.
17871 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17873 * mail/sendmail.el (sendmail-query-once-function): Delete.
17874 (sendmail-query-once): Save directly to send-mail-function.
17875 Update message-send-mail-function too.
17877 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17879 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17881 * progmodes/python.el (python-mode-map): Use correct function to
17882 start python interpreter from menu-bar (as reported by Geert
17884 (inferior-python-mode-map): Fix typo.
17885 (python-shell-map): Remove.
17887 2011-09-03 Deniz Dogan <deniz@dogan.se>
17889 * net/rcirc.el (rcirc-print): Simplify code for
17890 rcirc-scroll-show-maximum-output. There is no need to walk
17891 through all windows to find the right one.
17893 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17895 * help.el (help-return-method): Doc fix.
17897 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17899 * window.el (window-deletable-p): Don't return a non-nil value
17900 when there's a buffer that was shown in the window before.
17902 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17903 Set window's previous buffers to nil.
17905 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17907 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17908 newline before and after the tag line, so it doesn't interfere
17909 with determining the paragraph direction of bidirectional text.
17911 2011-09-03 Leo Liu <sdl.web@gmail.com>
17913 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17915 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17917 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17918 (pop-to-buffer): Change interactive spec. Pass second argument
17919 directly to display-buffer.
17920 (display-buffer): Fix interactive spec. Use functionp to
17921 distinguish between a function and a list of functions.
17923 * abbrev.el (edit-abbrevs):
17924 * arc-mode.el (archive-extract):
17925 * autoinsert.el (auto-insert):
17926 * bookmark.el (bookmark-bmenu-list):
17927 * files.el (find-file):
17928 * view.el (view-buffer):
17929 * progmodes/compile.el (compilation-goto-locus):
17930 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17932 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17934 * window.el (display-buffer-alist): Doc fix.
17935 (display-buffer): Add docstring. Don't treat
17936 display-buffer-default specially.
17937 (display-buffer-reuse-selected-window)
17938 (display-buffer-same-window, display-buffer-maybe-same-window)
17939 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17940 (display-buffer-pop-up-window)
17941 (display-buffer-reuse-or-pop-window)
17942 (display-buffer-use-some-window): New functions.
17943 (display-buffer-default-action): Use them.
17944 (display-buffer-default): Delete.
17945 (pop-to-buffer-1): Fix choice of actions.
17947 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17949 * minibuffer.el (completion--insert-strings): Don't get confused by
17950 completion entries that end with an LF char.
17952 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17954 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17956 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17958 * window.el (display-buffer): Restore interactive spec.
17959 (display-buffer-same-window, display-buffer-other-window):
17961 (pop-to-buffer-1): New function. Use the above.
17962 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17963 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17965 * view.el (view-buffer-other-window, view-buffer-other-frame):
17966 Just use pop-to-buffer.
17968 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17970 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17972 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17974 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17976 2011-08-31 Richard Stallman <rms@gnu.org>
17978 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17979 of the separation of rmail-view-buffer from rmail-buffer.
17980 If you say no to "replace original", the decrypt is in the
17981 view buffer. If you say yes, the decrypt goes into the
17984 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17986 * window.el (display-buffer-window): Rewrite doc-string.
17987 (display-buffer-record-window): New function.
17988 (display-buffer-macro-specifiers)
17989 (display-buffer-even-window-sizes, display-buffer-set-height)
17990 (display-buffer-set-width, display-buffer-in-window)
17991 (display-buffer-reuse-window, display-buffer-split-specifiers)
17992 (display-buffer-side-specifiers, display-buffer-split-window-1)
17993 (display-buffer-split-window, display-buffer-split-atom-window)
17994 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17995 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17996 (display-buffer-other-window-means-other-frame)
17997 (display-buffer-normalize-special)
17998 (display-buffer-normalize-default)
17999 (display-buffer-normalize-argument)
18000 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18001 (display-buffer-normalize-specifiers, display-buffer-frame)
18002 (display-buffer-same-window, display-buffer-same-frame)
18003 (display-buffer-other-window)
18004 (display-buffer-same-frame-other-window)
18005 (display-buffer-other-frame, pop-to-buffer-same-window)
18006 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18007 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18008 (switch-to-buffer-same-frame)
18009 (switch-to-buffer-other-window-same-frame)
18010 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18011 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18012 (display-buffer-alist-set): Remove.
18013 (display-buffer-function, special-display-buffer-names)
18014 (special-display-regexps, special-display-function):
18015 In doc-string refer to display-buffer-window and quit-restore
18017 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18018 (special-display-frame-alist, special-display-popup-frame)
18019 (same-window-buffer-names, same-window-regexps, same-window-p)
18020 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18021 (split-window-preferred-function, split-height-threshold)
18022 (split-width-threshold, window-splittable-p)
18023 (split-window-sensibly, window--try-to-split-window)
18024 (window--frame-usable-p, even-window-heights)
18025 (window--even-window-heights, window--display-buffer-1)
18026 (window--display-buffer-2, display-buffer-other-frame):
18027 Restore old Emacs 23 code, order and doc-strings where applicable.
18028 (display-buffer-default, display-buffer-assq-regexp): New functions.
18029 (display-buffer-alist): Rewrite doc-string.
18030 (display-buffer-default-action)
18031 (display-buffer-overriding-action): New variables.
18032 (display-buffer, switch-to-buffer): Rewrite.
18033 (pop-to-buffer): Restore Emacs 23 behavior but use
18034 window-normalize-buffer-to-display.
18035 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18036 Restore Emacs 23 behavior but use
18037 window-normalize-buffer-to-switch-to.
18038 (pop-to-buffer-same-window): Rewrite.
18039 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18040 Rewrite using Emacs 23 options.
18042 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18044 * net/tramp.el (tramp-root-regexp): Remove.
18045 (tramp-completion-file-name-regexp-unified)
18046 (tramp-completion-file-name-regexp-separate)
18047 (tramp-completion-file-name-regexp-url): Don't use leading volume
18048 letter on w32 systems. (Bug#5303, Bug#9311)
18049 (tramp-drop-volume-letter): Simplify definition.
18050 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18052 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18054 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18057 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18059 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18061 2011-08-29 Juri Linkov <juri@jurta.org>
18063 * isearch.el (isearch-done): Don't display message "Mark saved"
18064 when arg `edit' is non-nil to prevent its flicker in the echo area.
18066 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18068 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18069 obsolete packages for deletion.
18071 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18073 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18074 (help-mode): Derive help-mode from special-mode. Don't invoke
18075 view-mode from help-mode.
18076 (help-xref-override-view-map): Remove.
18077 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18078 view-mode is not used anymore.
18080 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18082 * server.el (server-port): Doc fix.
18084 * cus-theme.el (custom-theme-choose-mode): Inherit from
18085 special-mode (Bug#9124).
18086 (custom-theme-choose-mode-map): Add special-mode to parent.
18088 2011-08-28 Alan Mackenzie <acm@muc.de>
18090 * progmodes/cc-fonts.el
18091 (c-make-font-lock-BO-decl-search-function): New function.
18092 (c-basic-matchers-after - "Fontify the clauses after various
18093 keywords"): Extract the three keyword lists for the 3 erroneous
18094 constructs from the list of four, and use the new function above
18095 in place of an old one.
18097 2011-08-28 Deniz Dogan <deniz@dogan.se>
18099 * net/rcirc.el (rcirc-insert-prev-input)
18100 (rcirc-insert-next-input): Remove unused argument.
18102 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18104 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18106 2011-08-27 Alan Mackenzie <acm@muc.de>
18108 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18109 handle function pointer parameters properly.
18111 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18113 * window.el (display-buffer-reuse-window): Fix case where
18114 selected window was reused with non-nil OTHER-WINDOW argument.
18117 2011-08-27 Deniz Dogan <deniz@dogan.se>
18119 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18120 oftc's NickServ messages.
18122 2011-08-27 Glenn Morris <rgm@gnu.org>
18124 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18126 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18128 * emacs-lisp/package.el (package-install): Call package-initialize
18129 if called interactively.
18131 2011-08-26 Leo Liu <sdl.web@gmail.com>
18133 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18135 2011-08-25 Juri Linkov <juri@jurta.org>
18137 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18138 `search-whitespace-regexp' (bug#9364).
18140 2011-08-25 Juri Linkov <juri@jurta.org>
18142 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18143 `regexp-search-ring' to their global values to protect from
18144 updating by `read-from-minibuffer' (bug#9185).
18146 2011-08-25 Juri Linkov <juri@jurta.org>
18148 * textmodes/ispell.el (ispell-command-loop): Add newline
18149 at the end of the "Use option `i'..." line.
18151 2011-08-25 Juri Linkov <juri@jurta.org>
18153 * battery.el (display-battery-mode): If `battery-status-function'
18154 or `battery-mode-line-format' is nil, display the message and set
18155 `display-battery-mode' to nil (bug#9363).
18157 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18159 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18160 bidi-string-mark-left-to-right; they are unnecessary now.
18162 2011-08-25 Deniz Dogan <deniz@dogan.se>
18164 * net/quickurl.el: Documentation typo fixes.
18166 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18168 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18170 2011-08-25 Glenn Morris <rgm@gnu.org>
18172 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18174 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18175 (smtpmail-via-smtp): Handle nil response from smtp.
18177 2011-08-24 Juri Linkov <juri@jurta.org>
18179 * proced.el (proced-marked): Inherit from `error' instead of
18180 `font-lock-warning-face'.
18182 * ibuffer.el (ibuffer-marked-face): Change default face from
18183 `font-lock-warning-face' to `warning'.
18184 (ibuffer-deletion-face): Change default face from
18185 `font-lock-type-face' to `error'.
18187 * battery.el (battery-update): Use the face `error' instead of
18188 `font-lock-warning-face' (bug#6117).
18190 2011-08-24 Juri Linkov <juri@jurta.org>
18192 * faces.el (success): Change face color from "Green3" to
18193 "ForestGreen" on light background (bug#9353).
18195 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18197 * window.el (quit-window): Rename from quit-restore-window.
18198 Use same arglist as old quit-window.
18199 (frame-auto-delete): Doc fix.
18201 * view.el (view-mode-exit): Use quit-window.
18203 2011-08-24 Juri Linkov <juri@jurta.org>
18205 * isearch.el (isearch-ring-adjust1): Start visiting previous
18206 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18207 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18208 for empty search string (when the last search string is reused
18209 automatically) to adjust the isearch ring to the last element and
18210 prepare the correct index for further M-p commands (bug#9185).
18212 2011-08-24 Kenichi Handa <handa@m17n.org>
18214 * international/ucs-normalize.el: If decomposition property of
18215 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18217 (nfd, nfkd): Likewise.
18219 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18221 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18222 from process filters aren't reliably transmitted to the surrounding
18223 accept-process-output.
18224 (mpc-proc-check): New function.
18225 (mpc-proc-sync): Use it (bug#8293)
18227 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18229 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18230 Add compatibility functions (bug#9313).
18232 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18234 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18236 * international/uni-bidi.el: Regenerate.
18238 2011-08-23 Kenichi Handa <handa@m17n.org>
18240 * international/charprop.el:
18241 * international/uni-bidi.el:
18242 * international/uni-category.el:
18243 * international/uni-combining.el:
18244 * international/uni-comment.el:
18245 * international/uni-decimal.el:
18246 * international/uni-decomposition.el:
18247 * international/uni-digit.el:
18248 * international/uni-lowercase.el:
18249 * international/uni-mirrored.el:
18250 * international/uni-name.el:
18251 * international/uni-numeric.el:
18252 * international/uni-old-name.el:
18253 * international/uni-titlecase.el:
18254 * international/uni-uppercase.el: Regenerate.
18256 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18258 * help.el (help-window-setup): Fix message displayed when other
18259 window is reused. (Bug#9341)
18261 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18263 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18264 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18266 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18268 * shell.el (shell-parse-pcomplete-arguments): New function.
18269 (shell-completion-vars): Use it instead (bug#9160).
18271 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18273 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18274 strings and comments (bug#9333).
18276 * emacs-lisp/debug.el (debug-arglist): New function.
18277 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18278 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18280 2011-08-22 Juri Linkov <juri@jurta.org>
18282 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18283 Revert regexp that highlights output switches to its old
18284 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18286 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18287 to check for empty output (bug#9226).
18289 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18291 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18292 symbol-constituent as the default, as that stops font-lock from
18293 working properly (Bug#8843).
18295 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18297 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18298 `coding-system-for-*' around the process open call to avoid
18299 auth-source side effects.
18300 (smtpmail-try-auth-methods): Expand the secret password.
18301 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18304 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18306 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18308 * emacs-lisp/find-func.el (find-function-noselect): New arg
18311 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18312 signal an error for built-in functions (Bug#6664).
18314 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18316 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18317 (smtpmail-try-auth-methods): Use it.
18319 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18321 * font-lock.el (font-lock-fontify-region)
18322 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18323 (font-lock-default-unfontify-buffer)
18324 (font-lock-default-fontify-region)
18325 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18327 * progmodes/compile.el (compilation-error-properties):
18328 Fix confusion between file struct and message struct (Bug#9319).
18329 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18332 * net/browse-url.el (browse-url-firefox): Don't call
18333 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18335 2011-08-20 Glenn Morris <rgm@gnu.org>
18337 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18339 * tutorial.el (tutorial--default-keys): Update some default bindings.
18341 * files.el (hack-local-variables): Fully ignore case for "mode:".
18343 2011-08-20 Alan Mackenzie <acm@muc.de>
18345 Resolve invalid use of a regexp in regexp-opt.
18347 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18348 detection for a java annotation.
18350 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18351 detection for a java annotation.
18353 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18355 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18357 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18359 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18362 2011-08-20 Alan Mackenzie <acm@muc.de>
18364 Fontify CPP expressions correctly when starting in the middle of
18365 such a construct. Mainly for when jit-lock etc. starts a chunk
18368 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18370 (c-make-font-lock-search-form): New function, extracted from
18371 c-make-font-lock-search-function.
18372 (c-make-font-lock-search-function): Use the above function.
18373 (c-make-font-lock-context-search-function): New function.
18374 (c-cpp-matchers): Enhance the preprocessor expression case with
18376 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18377 which takes an expression.
18379 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18381 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18383 * window.el (display-buffer-reuse-window)
18384 (display-buffer-pop-up-window): Don't reuse or split a side
18387 2011-08-19 Glenn Morris <rgm@gnu.org>
18389 * files.el (hack-local-variables-prop-line, hack-local-variables):
18390 Downcase "Mode:". (Bug#9331)
18392 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18394 * international/characters.el: Add L and R categories.
18396 * subr.el (bidi-string-mark-left-to-right): Rename from
18397 string-mark-left-to-right. Use category search.
18399 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18401 2011-08-18 Juri Linkov <juri@jurta.org>
18403 * faces.el (error, warning, success): New faces with definitions
18404 copied from old default values of `font-lock-warning-face',
18405 `compilation-warning', `compilation-info' (bug#6117).
18407 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18409 * progmodes/compile.el (compilation-error): Inherit from `error'.
18410 (compilation-warning): Inherit from `warning'.
18411 (compilation-info): Inherit from `success'.
18413 * dired.el (dired-marked): Inherit from `warning'.
18414 (dired-flagged): Inherit from `error'.
18416 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18418 * mail/smtpmail.el (auth-source): Require to avoid problems with
18419 binding variables (bug#9298). Also clean up some unused
18422 * net/network-stream.el (network-stream-open-starttls):
18423 Support using starttls.el without using gnutls-cli.
18425 2011-08-17 Juri Linkov <juri@jurta.org>
18427 * progmodes/grep.el (rgrep): Handle the case when
18428 `grep-find-command' is a cons cell (bug#9278).
18430 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18432 * window.el (display-buffer-pop-up-frame): Run frame creation
18433 function with BUFFER current (as special-display-popup-frame
18434 does). Reported by Drew Adams.
18436 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18438 * epa-mail.el: Simplify GnuPG group expansion using
18440 (epa-mail-group-alist, epa-mail-group-modtime)
18441 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18442 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18443 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18446 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18448 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18450 2011-08-16 Alan Mackenzie <acm@muc.de>
18452 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18453 Correct, to avoid the inside of macros.
18455 2011-08-16 Richard Stallman <rms@gnu.org>
18457 * epa-mail.el: Handle GnuPG group definitions.
18458 (epa-mail-group-alist, epa-mail-group-modtime)
18459 (epa-mail-gnupg-conf-file): New variables.
18460 (epa-mail-parse-groups, epa-mail-sync-groups)
18461 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18462 (epa-mail-expand-recipients): New functions.
18463 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18465 * mail/rmail.el (rmail-epa-decrypt): New command.
18467 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18468 Don't bind buffer-read-only, just inhibit-read-only.
18469 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18470 (epa-decrypt-armor-in-region): Make error message clearer.
18472 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18474 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18475 and "a2b" to "ab" for `prefix'.
18477 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18479 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18481 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18482 Fourquet (Bug#8804).
18484 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18486 * startup.el (argi): Declare as global variable (bug#9275).
18488 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18490 * subr.el (string-mark-left-to-right): Search the entire string
18491 for RTL script, not just the terminating character. Doc fix.
18493 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18495 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18497 (js--regexp-literal, js-syntax-propertize-function): Remove.
18498 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18499 (js-mode-map): Don't rebind electric keys.
18500 (js-insert-and-indent): Remove.
18501 (js-mode): Setup electric-layout and electric-indent instead.
18503 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18505 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18507 * epa.el (epa-progress-callback-function): Fix the logic of
18508 displaying progress.
18509 * epa-file.el (epa-file-insert-file-contents): Make progress
18510 display more user-friendly.
18511 (epa-file-write-region): Ditto.
18513 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18515 * subr.el (string-mark-left-to-right): New function.
18517 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18518 Use string-mark-left-to-right.
18519 (list-buffers-noselect): Caller changed.
18521 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18522 Use string-mark-left-to-right.
18523 (tabulated-list-print): Recenter after moving point.
18525 2011-08-10 Juri Linkov <juri@jurta.org>
18527 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18528 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18529 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18531 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18533 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18536 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18538 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18539 character. (Bug#6594)
18541 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18543 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18544 (image-dired--with-db-file): New macro.
18545 (image-dired-write-tags, image-dired-remove-tag)
18546 (image-dired-create-gallery-lists, image-dired-write-comments)
18547 (image-dired-get-comment, image-dired-mark-tagged-files)
18548 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18549 (image-dired-gallery-generate): Use insert-file-contents.
18551 * time.el (display-time-world-list, display-time-world-display):
18552 * time-stamp.el (time-stamp-string):
18553 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18554 set-time-zone-rule (Bug#7337).
18556 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18558 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18559 (epg-error-to-string, epg-errors-to-string): New function.
18560 (epg-wait-for-completion): Reverse errors list.
18561 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18562 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18563 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18564 (epg-sign-keys, epg-generate-key-from-file)
18565 (epg-generate-key-from-string): Format errors by using
18566 epg-errors-to-string (bug#9255).
18567 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18569 2011-08-07 Juri Linkov <juri@jurta.org>
18571 * faces.el (list-faces-display): Remove extra angle bracket
18572 from `help-mode-map'.
18574 * info.el (Info-history-toc-nodes): Doc fix.
18576 * longlines.el (longlines-mode): Doc fix.
18578 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18581 of statements and in a few more cases (bug#9183).
18583 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18585 (cl-transform-lambda): Use them (bug#9239).
18587 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18589 * window.el (display-buffer-same-window)
18590 (display-buffer-same-frame, display-buffer-other-window)
18591 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18592 (pop-to-buffer-other-window)
18593 (pop-to-buffer-same-frame-other-window)
18594 (pop-to-buffer-other-frame): Make them defuns.
18595 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18597 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18599 * subr.el (make-composed-keymap): Move from C. Change calling
18600 convention, and improve docstring to bring attention to a subtle point.
18601 * minibuffer.el (completing-read-default): Adjust accordingly.
18603 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18605 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18606 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18608 * net/trampver.el: Update release number.
18610 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18612 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18615 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18617 * mail/sendmail.el (sendmail-query-once): Restore the current
18618 buffer after querying (bug#9074).
18620 * dired.el (dired-flagged): Use different faces for marked and
18621 flagged files (bug#6117).
18623 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18626 * ido.el (ido-mode): Switch off the message if called
18629 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18630 before 587, since it appears that that's more likely to work for
18633 * cus-edit.el (custom-file): When running under emacs -q, always
18634 refuse to save the customizations, even if the .emacs file doesn't
18637 * info.el: Remove the `Info-beginning-of-buffer' function
18640 * net/network-stream.el (network-stream-open-starttls):
18641 Use `starttls-available-p' to see whether starttls.el can be used.
18643 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18645 * window.el (display-buffer-in-window): Don't set dedicated status
18646 of window here (Bug#9215).
18647 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18648 (display-buffer-pop-up-side-window)
18649 (display-buffer-in-side-window): Set dedicated status of window here.
18651 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18653 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18654 before binding generated-autoload-file.
18656 2011-08-01 Deniz Dogan <deniz@dogan.se>
18658 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18660 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18662 Sync with Tramp 2.2.2.
18664 * net/trampver.el: Update release number.
18666 2011-07-30 Juri Linkov <juri@jurta.org>
18668 * dired-aux.el (dired-touch-initial): Remove function.
18669 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18670 current time, and `default' to the last modification time of the
18671 current marked file (bug#6887).
18673 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18675 * simple.el (goto-line): Use string-to-number to provide a
18676 numeric argument to read-number (bug#9163).
18678 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18680 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18681 connection process, it could be nil.
18683 2011-07-27 Leo Liu <sdl.web@gmail.com>
18685 Simplify url handling in rcirc-mode.
18687 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18688 (rcirc-browse-url-at-mouse): Remove.
18689 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18691 2011-07-26 Alan Mackenzie <acm@muc.de>
18693 Fontify bitfield declarations properly.
18695 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18696 (c-symbol-chars): Now exported as a lang variable.
18697 (c-not-primitive-type-keywords): New lang variable.
18699 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18700 QT keyword "more" to prevent "more slots: ...." being spuriously
18701 parsed as a bitfield declaration.
18703 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18704 Refactor and enhance to handle bitfield declarations.
18705 (c-punctuation-in): New function.
18706 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18707 declarations properly.
18709 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18711 * calendar/icalendar.el (icalendar--all-events): Take care of
18712 multiple vcalendars in a single file.
18713 (icalendar--convert-float-to-ical): Checkdoc fixes.
18715 2011-07-25 Deniz Dogan <deniz@dogan.se>
18717 * image.el (insert-image): Clarifying docstring.
18719 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18721 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18722 `tramp-send-command-and-check' if there is no error.
18723 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18725 2011-07-22 Alan Mackenzie <acm@muc.de>
18727 Prevent cc-langs.elc being loaded at run time.
18729 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18732 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18733 "(require 'cc-langs)". Quote a form so it will evaluate at
18734 (cc-mode's) compilation time.
18736 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18738 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18739 loading. (Bug#9114)
18741 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18743 * window.el (display-buffer-pop-up-window)
18744 (display-buffer-pop-up-side-window)
18745 (display-buffer-in-side-window): Call display-buffer-set-height
18746 and display-buffer-set-width after setting the new window's
18747 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18749 2011-07-20 Sam Steingold <sds@gnu.org>
18751 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18752 (etags-tags-included-tables): Call `convert-standard-filename' on
18753 the file names contained in TAGS so that windows Emacs can handle
18754 TAGS files created by cygwin ctags.
18756 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18758 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18759 which apparently didn't work.
18761 2011-07-19 Roland Winkler <winkler@gnu.org>
18763 * proced.el (proced-send-signal): For *Marked Processes* buffer
18764 put point at beginning of buffer.
18766 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18768 * proced.el (proced-format): Make header lines align with the text
18771 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18773 * view.el (view-buffer): Allow running in `special' modes if we're
18774 visiting a file (bug#8615).
18776 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18778 * window.el (display-buffer-alist-of-strings-p)
18779 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18781 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18784 2011-07-18 Alan Mackenzie <acm@muc.de>
18786 Fontify declarators properly when, e.g., a jit-lock chunk begins
18787 inside a declaration.
18789 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18791 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18793 (c-complex-decl-matchers): Insert reference to
18794 c-font-lock-enclosing-decls.
18796 * progmodes/cc-engine.el (c-backward-single-comment):
18797 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18798 to nil around calls to (forward-comment -1).
18800 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18802 * image.el (put-image): Doc typo fix.
18804 * progmodes/etags.el (tags-search): Doc typo fix.
18806 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18807 password if we get errors 550 to 554.
18809 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18811 * net/gnutls.el (gnutls-log-level): Remove.
18813 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18814 indentation character (bug#6380).
18816 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18818 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18819 to clarify what the problem is (bug#4291).
18821 * simple.el (current-kill): Clarify what
18822 `interprogram-paste-function' does (bug#7500).
18823 (auto-fill-mode): Document `auto-fill-function' in relation to
18824 `auto-fill-mode' (bug#2470).
18826 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18828 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18829 method if slot is read-only (bug#9035).
18831 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18833 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18834 * window.el (pop-to-buffer): Select window used even if it was
18835 selected before, see discussion of (Bug#8615), (Bug#6954).
18836 Pass argument NORECORD on to select-frame-set-input-focus.
18838 2011-07-15 Glenn Morris <rgm@gnu.org>
18840 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18843 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18845 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18846 (gnutls-negotiate): Use it.
18848 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18850 * net/gnutls.el (gnutls-negotiate):
18851 Upcase `gnutls-algorithm-priority'.
18853 2011-07-15 Glenn Morris <rgm@gnu.org>
18855 * jka-compr.el (jka-compr-verbose): Move from here...
18856 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18857 Add missing :version tag.
18858 * info.el: No need to require jka-compr when compiling.
18860 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18862 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18863 (gnutls-negotiate): Use it.
18865 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18867 * info.el (Info-beginning-of-buffer): New command.
18868 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18869 announcing `b' as the key (bug#8325).
18870 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18872 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18874 * international/mule-cmds.el
18875 (describe-specified-language-support): Make the error message
18876 clearer (bug#8905).
18878 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18880 * isearch.el (isearch-barrier): Add a doc string, since it's
18881 mentioned in a function doc string (bug#8678).
18883 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18885 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18886 buffer argument (Bug#9083) and self-identifying label argument.
18888 2011-07-15 Glenn Morris <rgm@gnu.org>
18890 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18892 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18894 * man.el (Man-fontify-manpage): Fix message when formatting the
18895 man page (bug#7929).
18897 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18899 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18900 argument LRM; if non-nil, append an invisible LRM character to the
18902 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18903 last argument non-nil, when formatting buffer names.
18904 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18905 paragraph direction.
18907 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18909 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18910 the man page name (bug#7929).
18912 * image.el (put-image): Mention the `put-image' overlay property
18915 * scroll-bar.el (set-scroll-bar-mode): Mention that
18916 `scroll-bar-mode' lists the values (bug#7772).
18918 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18919 command (bug#7729).
18921 * rect.el (apply-on-rectangle): Return the point after the last
18923 (string-rectangle): Go to the point after the last operation
18926 * printing.el (pr-toggle-region): Clarify the documentation
18927 slightly (bug#7493).
18929 * time.el (display-time-update):
18930 Allow `display-time-mail-function' to return nil (bug#7158).
18931 Fix suggested by Detlev Zundel.
18933 * vc/diff.el (diff): Clarify the order the file names are read
18936 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18937 the doc string (bug#7015).
18939 * font-lock.el (font-lock-maximum-decoration): Mention what
18940 numeric levels mean (bug#6935).
18942 * startup.el (initial-buffer-choice): Don't mention the `none'
18943 selection, which is against policy.
18945 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18947 * window.el (display-buffer-normalize-special):
18948 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18950 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18952 * subr.el (version<, version<=, version=): Mention "-CVS" and
18953 "-12345" alpha version numbers.
18955 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18957 * bindings.el: Add advertised binding for set-mark-command
18960 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18962 * bindings.el (mode-line-other-buffer):
18963 * bookmark.el (bookmark-bmenu-2-window):
18964 * bs.el (bs-cycle-next, bs-cycle-previous):
18965 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18968 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18971 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18973 * follow.el (follow-debug-message, follow-redisplay):
18974 * jka-cmpr-hook.el (with-auto-compression-mode):
18975 Fix typos in docstrings.
18977 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18979 * subr.el (with-silent-modifications): Clarify somewhat what the
18980 macro inhibits (bug#6525).
18982 * simple.el (eval-expression): Note what it does if called
18983 interactively (bug#6495).
18985 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18987 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18988 Use pop-to-buffer buffer-or-name if it is nil.
18990 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18991 Remove switch-to-buffer.
18993 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18995 * files.el (make-directory): Clarify that an error will be raised
18996 if there's an error (bug#6397).
18998 * startup.el (initial-buffer-choice): Add `none' as a choice
19001 * subr.el (add-hook): Clarify section about buffer-local hooks
19004 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19006 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19008 * tabify.el (untabify): Preserve the current column so that point
19009 doesn't move (bug#6032).
19011 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19013 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19014 Rewrite to avoid awkward possessive "s" (bug#5986).
19016 2011-07-13 Glenn Morris <rgm@gnu.org>
19018 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19019 (dired-insert-directory): Give a message the first time
19020 if ls is found not to support --dired.
19022 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19024 * simple.el (toggle-truncate-lines): Clarify what is toggled
19025 (bug#5580). Text by Drew Adams.
19027 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19029 * simple.el (blink-matching-open): Make the error message from the
19030 last change less verbose.
19032 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19034 * font-lock.el (font-lock-comment-face): Use the high contrast
19035 "yellow" color for font-lock-comment-face on low color terminals
19036 using a dark background color (bug#4221).
19038 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19040 * dired.el (dired-insert-set-properties): Make the doc string
19041 reflect what it does now (bug#5325).
19043 * simple.el (blink-matching-open): Say that we were unable to find
19044 the match within the limit, if we're limited (bug#5122).
19046 * international/mule-cmds.el (prefer-coding-system): Add an
19047 example (bug#4869).
19049 * progmodes/etags.el (tags-search): Document `file-list-form'
19052 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19054 * net/browse-url.el (browse-url-default-browser)
19055 (browse-url-browser-function): Make the default browser choice a
19056 bit more logical (bug#4300). Also clean up the doc string.
19058 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19060 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19061 binary endings (bug#4440).
19063 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19065 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19066 which can be pretty annoying (bug#8971).
19068 * jka-compr.el (jka-compr-verbose): New variable, and use
19069 throughout (bug#8971).
19071 * info.el (Info-find-file): Fall back on the installation
19072 directory if we can't find the info node anywhere else.
19074 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19076 * vc/vc.el (vc-revert-file):
19077 Don't set file time-stamp in the past. (Bug#5181)
19079 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19081 * files.el (after-find-file): Give a better error message when
19082 trying to find a symlink that points to a file that doesn't exist
19085 * progmodes/cc-vars.el: Remove (probably) misleading comment
19088 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19090 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19092 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19094 * mouse-sel.el: Hack restoring functionality, while keeping
19095 compatibility with 2010-07-03 changes to mouse selection.
19096 (mouse-sel-primary-overlay): New var.
19097 (mouse-sel-selection-alist): Use it.
19098 (mouse-sel-mode): Doc fix; remove points that are default features
19101 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19103 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19104 Fix previous fix (bug#2490).
19106 2011-07-12 Roland Winkler <winkler@gnu.org>
19108 * textmodes/bibtex.el (bibtex-initialize):
19109 Use pop-to-buffer-same-window.
19110 (bibtex-search-entries): Fix interactive call.
19112 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19114 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19115 Fontise bytecomp Error lines more correctly (bug#2490).
19116 Fix suggested by Johan Bockgård.
19118 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19120 * dired-x.el (dired-guess-default): Use `delete-dups'.
19122 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19124 * dired.el (dired-mark-prompt):
19125 * dired-aux.el (dired-read-shell-command): Doc fix.
19127 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19129 * mail/sendmail.el (sendmail-query-once):
19130 Use `customize-save-variable' unconditionally, now that it works under
19133 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19135 * cus-edit.el (custom-file): Take an optional no-error variable.
19136 (customize-save-variable): Set the variable, and give a warning if
19137 running under "emacs -q".
19139 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19141 * loadhist.el (unload-feature-special-hooks):
19142 Add `auto-coding-functions', `fill-nobreak-predicate' and
19143 `find-directory-functions' (bug#5327).
19145 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19147 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19149 * cus-edit.el (custom-guess-name-alist): -alist variables should
19150 use the `alist' type (bug#3120). Suggested by Drew Adams.
19152 * printing.el: Add documentation to all the `pr-toggle-' commands.
19154 2011-07-11 Leo Liu <sdl.web@gmail.com>
19156 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19157 backends where it makes sense (bug#2623).
19159 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19161 * dired-x.el (dired-guess-default): Remove duplicate shell command
19162 entries (bug#2028).
19163 (dired-guess-default): Fix grammar in doc string (bug#2028).
19164 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19166 * subr.el (remove-duplicates): New conveniency function.
19168 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19170 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19173 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19175 * window.el (display-buffer-normalize-default): Don't invert
19176 meaning of even-window-heights. Reported by Eli Zaretskii
19179 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19181 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19183 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19185 * window.el (display-buffer): Fix arguments to
19186 display-buffer-reuse-window in last change.
19188 * faces.el (link): Use a less saturated blue on light backgrounds.
19190 * startup.el (fancy-startup-text, fancy-about-text)
19191 (fancy-startup-tail): Use font-lock faces, for background safety.
19193 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19195 * emulation/viper-cmd.el (viper-change-state-to-vi):
19196 Limit triggering of abbrev expansion (Bug#9038).
19198 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19200 * window.el (display-buffer-default-specifiers): Remove.
19201 (display-buffer-macro-specifiers): Remove default specifiers.
19202 (display-buffer-alist): Default to nil.
19203 (display-buffer-reuse-window): New optional argument other-window.
19204 (display-buffer-pop-up-window): Allow splitting internal
19205 windows. Check whether a live window was created.
19206 (display-buffer-other-window-means-other-frame)
19207 (display-buffer-normalize-arguments): Rename to
19208 display-buffer-normalize-argument and rewrite. Set the
19209 other-window specifier.
19210 (display-buffer-normalize-special): New function.
19211 (display-buffer-normalize-options): Rename to
19212 display-buffer-normalize-default and rewrite.
19213 (display-buffer-normalize-options-inhibit): Remove.
19214 (display-buffer-normalize-specifiers): Rewrite.
19215 (display-buffer): Process other-window specifier and call
19216 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19218 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19219 (display-buffer-alist-set): Don't handle 'unset default values.
19220 (display-buffer-in-window, display-buffer-alist-set):
19221 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19222 <tassilo@member.fsf.org>.
19224 2011-07-09 Leo Liu <sdl.web@gmail.com>
19226 * register.el (insert-register): Restore accidental change on
19227 2011-06-26. (Bug#9028)
19229 2011-07-09 Glenn Morris <rgm@gnu.org>
19231 * subr.el (remq): Handle the empty list. (Bug#9024)
19233 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19235 * mail/sendmail.el (send-mail-function): No longer delay custom
19237 * custom.el (custom-initialize-delay): Doc fix.
19239 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19243 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19245 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19246 human-friendly prompt.
19248 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19250 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19251 provided by a particular plugin.
19253 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19255 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19256 save customizations (with "emacs -Q"), just set the variable
19257 instead of erroring out.
19259 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19261 2011-07-08 Juri Linkov <juri@jurta.org>
19263 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19264 (archive-zip-update-case): Use 7z if found by `executable-find'.
19265 The order of searching the available programs is the same as in
19266 `archive-zip-extract' (bug#8968).
19268 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19270 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19271 (menu-bar-options-menu): Tweak descriptions.
19273 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19275 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19276 menu items into verb phrases (bug#1421). Also refill to fit under
19279 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19281 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19282 (Info-read-node-name): Doc fix (Bug#1084).
19284 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19285 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19286 (end-of-sexp, beginning-of-sexp)
19287 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19288 (forward-symbol, forward-same-syntax, word-at-point)
19289 (sentence-at-point): Doc fix (Bug#1144).
19291 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19293 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19294 should cover it (bug#1281).
19296 * cus-edit.el (custom-show): Mark as obsolete.
19298 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19299 negotiation fails, then possibly try again with a non-encrypted
19300 connection (bug#9017).
19302 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19305 2011-07-07 Richard Stallman <rms@gnu.org>
19307 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19308 property, and handle its changed format.
19309 Look for the correct line number.
19310 Use file's line contents (but not past first =) to find
19311 correct line in message.
19313 2011-07-07 Kenichi Handa <handa@m17n.org>
19315 * international/characters.el (build-unicode-category-table):
19317 (unicode-category-table): Set it by unicode-property-table-internal.
19319 * international/mule-cmds.el (char-code-property-alist): Move to
19321 (get-char-code-property): Call unicode-property-table-internal to
19322 load a file. Call get-unicode-property-internal where necessary.
19323 (put-char-code-property): Call unicode-property-table-internal to
19324 load a file. Call put-unicode-property-internal where necessary.
19325 put-unicode-property-internal where necessary.
19326 (char-code-property-description):
19327 Call unicode-property-table-internal to load a file.
19329 * international/charprop.el:
19330 * international/uni-bidi.el:
19331 * international/uni-category.el:
19332 * international/uni-combining.el:
19333 * international/uni-comment.el:
19334 * international/uni-decimal.el:
19335 * international/uni-decomposition.el:
19336 * international/uni-digit.el:
19337 * international/uni-lowercase.el:
19338 * international/uni-mirrored.el:
19339 * international/uni-name.el:
19340 * international/uni-numeric.el:
19341 * international/uni-old-name.el:
19342 * international/uni-titlecase.el:
19343 * international/uni-uppercase.el: Regenerate.
19345 * loadup.el: Load international/charprop.el before
19346 international/characters.
19348 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19350 * window.el (next-buffer, previous-buffer): Signal an error if
19351 called from a minibuffer window.
19353 * bindings.el: Revert 2011-07-04 change.
19355 2011-07-06 Richard Stallman <rms@gnu.org>
19357 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19358 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19359 Treat markers like ints.
19360 (rmail-mime-entity): Doc fix.
19362 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19364 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19365 defcustom again for backwards compatibility.
19367 * simple.el (shell-command-on-region): Fill.
19369 * dired-aux.el (dired-kill-line): Add a doc string.
19371 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19372 to "\\sw\\|\\s_" (bug#358).
19374 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19375 (dired-unmark-backward): Ditto.
19376 (dired-flag-backup-files): Ditto.
19378 * dired-x.el (dired-mark-sexp): Ditto.
19380 2011-07-06 Richard Stallman <rms@gnu.org>
19382 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19383 (rmail-mime-entity): New arg TRUNCATED.
19384 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19386 (rmail-mime-save): Warn if entity is truncated.
19387 (rmail-mime-toggle-hidden): Likewise, for showing.
19388 (rmail-mime-process-multipart): Record when an entity is truncated.
19390 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19391 if ENTITY is a string.
19393 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19395 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19396 of faces when `M-C-x'-ing their definitions (bug#8378).
19397 Also clean up the code slightly.
19399 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19400 because that makes the colors go away.
19402 * mail/sendmail.el (send-mail-function): Change the default to
19403 `sendmail-query-once'.
19404 (sendmail-query-once): Add an autoload cookie.
19406 * net/network-stream.el (network-stream-open-starttls): Try using
19407 a plain connection even if the server offered STARTTLS, and we
19408 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19409 capability. This should make smtpmail.el work in slightly more
19412 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19414 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19416 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19418 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19420 * progmodes/sql.el: Version 3.0
19421 (sql-product-alist): Add product :completion-object,
19422 :completion-column, and :statement attributes.
19423 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19424 (sql-mode-syntax-table): Mark all punctuation.
19425 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19427 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19428 (sql-mode-oracle-font-lock-keywords): Improve.
19429 (sql-oracle-show-reserved-words): New function for development.
19430 (sql-product-font-lock): Simplify for source code buffers.
19431 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19433 (sql-highlight-product): Set product specific syntax table.
19434 (sql-mode-map): Add statement movement functions.
19435 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19437 (sql-statement-regexp, sql-beginning-of-statement)
19438 (sql-end-of-statement, sql-signum): New functions.
19439 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19440 (sql-show-sqli-buffer): Bug fix.
19441 (sql-interactive-mode): Store connection data as buffer local.
19442 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19443 with sql-interactive-mode.
19444 (sql-save-connection): Save buffer local settings.
19445 (sql-connection-menu-filter): Change menu entry name.
19446 (sql-product-interactive): Bug fix.
19447 (sql-preoutput-hold): New variable.
19448 (sql-interactive-remove-continuation-prompt): Bug fixes.
19449 (sql-debug-redirect): New variable.
19450 (sql-str-literal): New function.
19451 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19453 (sql-oracle-save-settings, sql-oracle-restore-settings)
19454 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19455 (sql-completion-object, sql-completion-column)
19456 (sql-completion-sqlbuf): New variables.
19457 (sql-build-completions-1, sql-build-completions)
19458 (sql-try-completion): New functions.
19459 (sql-read-table-name): Use them.
19460 (sql-contains-names): New buffer local variable.
19461 (sql-list-all, sql-list-table): Use it.
19462 (sql-oracle-completion-types): New variable.
19463 (sql-oracle-completion-object, sql-sqlite-completion-object)
19464 (sql-postgres-completion-object): New functions.
19466 2011-07-06 Glenn Morris <rgm@gnu.org>
19468 * window.el (pop-to-buffer): Doc fix.
19470 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19472 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19474 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19476 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19478 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19480 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19482 * button.el (button): Inherit from link face. Suggested by Dan
19485 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19487 * progmodes/gdb-mi.el: Fit in 80 columns.
19488 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19491 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19492 if imenu is simply not configured (bug#8941).
19494 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19496 * allout.el (allout-post-undo-hook): New allout outline-change
19497 event hook to signal undo activity.
19498 (allout-post-command-business): Run allout-post-undo-hook if an
19499 undo just occurred.
19500 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19501 * allout-widgets.el (allout-widgets-after-undo-function):
19502 Ensure the integrity of the current item's decoration after it has been
19503 in the vicinity of an undo.
19504 (allout-widgets-mode): Include allout-widgets-after-undo-function
19505 on the new allout-post-undo-hook.
19507 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19509 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19510 Let define-derived-mode define it.
19511 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19512 cycles of abbrev-table inheritance (bug#8998).
19514 2011-07-05 Roland Winkler <winkler@gnu.org>
19516 * textmodes/bibtex.el: Add support for biblatex.
19517 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19518 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19519 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19520 (bibtex-entry-alist, bibtex-field-alist): New variables.
19521 (bibtex-entry-field-alist): Obsolete alias for
19522 bibtex-BibTeX-entry-alist.
19523 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19524 (bibtex-set-dialect): New command.
19525 (bibtex-entry-type, bibtex-entry-head)
19526 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19527 Bind via bibtex-set-dialect.
19528 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19529 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19530 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19531 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19532 Define via bibtex-set-dialect.
19533 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19534 Obey bibtex-no-opt-remove-re.
19535 (bibtex-vec-push, bibtex-vec-incr): New functions.
19536 (bibtex-format-entry, bibtex-field-list)
19537 (bibtex-print-help-message, bibtex-validate)
19538 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19540 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19542 * progmodes/compile.el (compilation-goto-locus):
19543 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19544 * bs.el (bs-cycle-next, bs-cycle-previous):
19545 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19546 * bindings.el (mode-line-other-buffer):
19547 * autoinsert.el (auto-insert):
19548 * arc-mode.el (archive-extract):
19549 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19551 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19553 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19554 Fix check of `emacs-lock-unlockable-modes'.
19555 Coerce true values of `emacs-lock--try-unlocking' to t.
19557 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19559 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19560 * emacs-lock.el: New file.
19562 2011-07-05 Julien Danjou <julien@danjou.info>
19564 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19565 than `boundp' to check if face is set.
19567 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19569 * register.el (registerv-make):
19570 * window.el (window-min-height): Fix typos in docstrings.
19572 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19574 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19577 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19579 * server.el (server-execute): Catch quit and call
19580 `server-return-error' to pass the error back to emacsclient and
19581 close the connection (bug#8942).
19583 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19585 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19586 insecure exception for current topic. Also note that auto-saves
19587 are handled differently.
19589 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19590 State variables for tracking auto-save inhibition situation.
19592 (allout-write-contents-hook-handler): Rename from
19593 'allout-write-file-hook-handler', and describe how it depends on
19594 write-contents-functions sensitivity to non-nil value to prevent
19597 (allout-auto-save-hook-handler): Remove. auto-save does not check
19598 this in individual buffers, only in the starting buffer, so this
19599 is not the right way for us to inhibit auto-save in a buffer
19600 according to its condition.
19602 (allout-mode): Use new allout-write-contents-hook-handler, and
19603 only with write-contents-functions. Remove auto-save provisions -
19604 they're implemented elsewhere.
19606 (allout-before-change-handler): If undo is in progress, note that
19607 for attention of allout-post-command-business.
19609 (allout-post-command-business): If the command we're following was
19610 an undo, check for change in the status of encrypted items and
19611 adjust auto-save inhibitions accordingly.
19613 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19614 according to whether there are or aren't any plain-text topics
19615 pending encryption.
19617 (allout-inhibit-auto-save-info-for-decryption):
19618 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19619 if there are plain-text topics pending encryption.
19621 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19622 buffer-saved-size and some allout state to not inhibit auto-saves
19623 if there are no longer any plain-text topics pending encryption.
19625 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19626 No longer provide for exemption of the current topic.
19628 2011-07-04 Juri Linkov <juri@jurta.org>
19630 Add 7z operations to delete and save changed members (bug#8968).
19631 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19633 (archive-7z-write-file-member): New function.
19634 (archive-7z-summarize): Fix the number of dashes in the
19637 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19639 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19642 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19644 * bindings.el: Ignore next-buffer and previous-buffer in
19645 minibuffer-local-map.
19647 * font-lock.el (font-lock-builtin-face): Change light background
19648 color to dark slate blue (Bug#6693).
19650 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19652 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19654 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19656 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19657 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19658 Add switch-to-buffer.
19660 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19662 * isearch.el (isearch-search-fun-function): Clarify further the
19663 meaning of the function returned.
19665 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19667 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19669 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19670 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19672 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19673 `tramp-default-remote-path' does not exist.
19674 (tramp-send-command-and-read): New optional argument NOERROR.
19675 (tramp-open-connection-setup-interactive-shell)
19676 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19677 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19678 (tramp-process-sentinel): Flush also process' connection property.
19679 (tramp-sh-handle-start-file-process): Do not set process
19680 sentinel. It is done now ...
19681 (tramp-maybe-open-connection): ... here. (Bug#8929)
19683 2011-07-04 MON KEY <monkey@sandpframing.com>
19685 * play/animate.el (animate-string): Doc fixes and allow changing
19686 the buffer name (bug#5417).
19688 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19690 * play/animate.el (animation-buffer-name): Rename from *animate*.
19692 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19694 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19695 This is simpler and helps future-proof the code.
19696 (timer-until): Use time-subtract and float-time.
19697 (timer--time-less-p): Use time-less-p.
19699 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19701 * type-break.el (timep): Use the value of `float-time' to avoid a
19702 byte-compiler warning.
19704 * server.el (server-eval-and-print): Return any result, even nil.
19706 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19708 * type-break.el: Accept time formats that the builtins accept.
19709 (timep, type-break-time-difference): Accept any format that
19710 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19711 This is simpler and helps future-proof the code.
19712 (type-break-time-difference): Round rather than ignoring
19713 subseconds components.
19715 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19717 * info.el (Info-apropos-matches): Make non-interactive, since it
19718 doesn't seem to do anything useful as a command (bug#8829).
19720 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19722 * frame.el (frame-background-mode, frame-set-background-mode):
19723 Move from faces.el.
19724 (frame-default-terminal-background): New function.
19726 * custom.el (custom-push-theme): Don't record faces in `changed'
19727 theme; this doesn't work correctly for per-frame face settings.
19728 (disable-theme): Use face-set-after-frame-default to reset faces.
19729 (custom--frame-color-default): New function.
19731 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19733 * dired.el (dired-flagging-regexp): Remove unused variable
19736 2011-03-29 Kevin Ryde <user42@zip.com.au>
19738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19739 `perl-Test2' extend to match possible "fail #N" rep count
19742 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19744 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19745 `smtpmail-via-smtp' now returns the error instead of nil.
19747 * isearch.el (isearch-search-fun-function): Clarify the doc string
19750 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19752 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19753 unnecessary spaces (bug#8987).
19755 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19757 * net/network-stream.el (open-network-stream): Use the
19758 :end-of-capability command thoughout.
19760 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19762 * net/network-stream.el (open-network-stream): Add the
19763 :end-of-capability command parameter, used by pop3.el.
19765 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19767 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19769 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19770 for list)" (bug#6475).
19772 * files.el (file-expand-wildcards): Ignore non-readable
19773 sub-directories while trying to find matches instead of signaling
19774 an error (bug#6297).
19776 * man.el (Man-reference-regexp): Allow matching possible
19777 word-wrapped references (bug#6289).
19779 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19780 for consistency with the other vc buffers (bug#6197).
19781 (vc-checkin): Ditto.
19783 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19785 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19787 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19789 * custom.el (defcustom): Clarify that :set is only used in the
19790 Customize user interface (bug#6089).
19792 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19793 associated with a file, refuse to run instead of erroring out
19796 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19797 the doc string, since it appears that using `fill-column' always
19798 controls the width (bug#7845).
19800 * simple.el (shell-command-on-region): Say where the error output
19801 went if `shell-command-default-error-buffer' is set (bug#6857).
19803 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19805 * allout.el (allout-yank-processing): Adjust cursor position for
19806 backwards-deleted space.
19808 (allout-rebullet-heading): Register changes with
19809 allout-exposure-changed-hook, so the modified topic is properly
19812 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19814 * minibuffer.el (completion-in-region): Document PREDICATE
19817 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19818 of keyword/argument pairs (bug#6904).
19820 * replace.el (multi-occur):
19821 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19823 2011-07-02 Drew Adams <drew.adams@oracle.com>
19825 * dired.el (dired-mark-if): Make the message about whether it's
19826 marking or unmarking clearer (bug#8523).
19828 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19830 * disp-table.el (display-table-print-array): New function.
19831 (describe-display-table): Use it to print the vectors more pretty
19834 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19836 * window.el (window-state-get-1): Don't assign clone numbers.
19837 Add clone-of item to list of window parameters.
19838 (window-state-put-2): Don't process clone numbers.
19839 (display-buffer-alist): Fix doc-string.
19841 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19843 * subr.el (remq): Don't allocate if it's not needed.
19844 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19845 (keymap--merge-bindings): New functions.
19846 (keymap-canonicalize): Use them to refine the canonicalization.
19847 * minibuffer.el (minibuffer-local-completion-map)
19848 (minibuffer-local-must-match-map): Move initialization from C.
19849 (minibuffer-local-filename-completion-map): Move initialization from C;
19850 don't inherit from anything here.
19851 (minibuffer-local-filename-must-match-map): Make obsolete.
19852 (completing-read-default): Use make-composed-keymap to combine
19853 minibuffer-local-filename-completion-map with either
19854 minibuffer-local-must-match-map or
19855 minibuffer-local-filename-completion-map.
19857 2011-07-01 Glenn Morris <rgm@gnu.org>
19859 * type-break.el (type-break-time-sum): Use dolist.
19861 * textmodes/flyspell.el (flyspell-word-search-backward):
19862 Replace CL function.
19864 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19866 * mouse.el (mouse--strip-first-event): New function.
19867 (function-key-map): Use it to map fringe clicks to normal clicks
19870 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19871 (vc-bzr-revision-completion-table): Add support for annotate and date.
19873 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19874 inherit from parent.
19876 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19878 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19879 (dired-show-file-type): Doc fixup (bug#8818).
19881 * dired.el (dired-mode): Fix up the doc string as suggested by
19882 Drew Adams (bug#8817).
19884 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19885 cookie, since the manual says that it should be possible to add
19886 this function to `find-file-hook' (bug#8709).
19888 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19890 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19891 here. Noted Ted Zlatanov as the maintainer.
19892 (cfengine-common-settings, cfengine-common-syntax): New functions
19893 to set up common things between `cfengine-mode' and
19895 (cfengine3-mode): New mode.
19896 (cfengine3-defuns cfengine3-defuns-regex
19897 (cfengine3-class-selector-regex cfengine3-category-regex)
19898 (cfengine3-vartypes cfengine3-font-lock-keywords)
19899 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19900 (cfengine3-indent-line): Add from cfengine3.el.
19902 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19904 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19906 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19908 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19910 * window.el (same-window-buffer-names, same-window-regexps)
19911 (same-window-p, special-display-frame-alist)
19912 (special-display-popup-frame, special-display-function)
19913 (special-display-buffer-names, special-display-regexps)
19914 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19915 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19916 (split-window-preferred-function, split-height-threshold)
19917 (split-width-threshold, even-window-heights)
19918 (display-buffer-mark-dedicated, window-splittable-p)
19919 (split-window-sensibly, window-safely-shrinkable-p):
19921 (display-buffer): Don't spread args with function specifier
19922 because special-display-popup-frame won't like it.
19924 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19926 Time-stamp simplifications and fixes.
19927 These improve accuracy slightly, and future-proof the code
19928 against some potential changes to current-time format.
19930 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19931 by using time-since and float-time.
19933 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19934 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19935 + NNN microseconds".
19937 * type-break.el (type-break-time-sum): Rewrite using time-add.
19939 * play/hanoi.el (hanoi-current-time-float): Remove.
19940 All uses replaced by float-time.
19942 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19943 This yields a more-accurate answer.
19944 (rng-time-to-float): Remove; no longer needed.
19946 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19948 * calendar/timeclock.el (timeclock-seconds-to-time):
19949 Defalias to seconds-to-time, since they're the same thing.
19951 * emacs-lisp/elp.el (elp-elapsed-time):
19952 * emacs-lisp/benchmark.el (benchmark-elapse):
19953 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19955 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19957 * window.el (bury-buffer): Don't iconify the only frame.
19958 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19959 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19961 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19963 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19964 Add mouse-yank-primary.
19966 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19968 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19970 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19972 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19973 (find-library-name): Use it to find relative load names when provided
19974 absolute file name (bug#8803).
19976 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19978 * textmodes/flyspell.el (flyspell-word): Consider words that
19979 differ only in case as potential doublons (bug#5687).
19981 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19982 Remove two rather uninteresting debugging-like messages to make
19983 debbugs.el more silent.
19985 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19986 a password-like phrase.
19988 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19990 * progmodes/cc-guess.el: New file.
19992 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19994 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19995 derived from `c-basic-common-init'.
19997 * progmodes/cc-mode.el (top-level): Require cc-guess.
19998 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20000 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20002 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20004 2011-06-30 Alan Mackenzie <acm@muc.de>
20006 * progmodes/cc-engine.el (c-guess-continued-construct):
20007 Correct the handling of template-args-cont, particularly for when font
20008 lock is disabled. Name this case as "CASE G".
20010 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20012 * allout.el (allout-yank-processing): Fix injection of extra space
20013 between bullet and non-whitespace character in first topic when
20014 pasting, ensuring that the actual spacing in the pasted topic
20015 following the bullet char is preserved. This extra space was
20016 causing pasted encrypted topics to get a decrypted status even
20017 when the content was actually still encrypted. Now the decryption
20018 status from before the paste is preserved.
20020 (allout-flag-region): Set all allout overlays so they evaporate
20021 when reduced to zero length (evanescent), to prevent overlay
20024 2011-06-30 Glenn Morris <rgm@gnu.org>
20026 * w32-fns.el (w32-charset-info-alist): Declare.
20028 * find-dired.el (find-grep-options): Simplify.
20030 * term/ns-win.el (ns-set-resource): Declare.
20032 * ses.el (row, col): Declare dynamic variables honestly.
20034 * textmodes/reftex-parse.el (index-tags): Declare.
20036 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20038 * cus-edit.el (customize-push-and-save): New function.
20040 * files.el (hack-local-variables-confirm): Use it.
20042 * custom.el (load-theme): New arg NO-CONFIRM.
20043 Use customize-push-and-save (Bug#8720).
20044 (custom-enabled-themes): Doc fix.
20046 * cus-theme.el (customize-create-theme)
20047 (custom-theme-merge-theme): Callers to load-theme changed.
20049 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20051 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20052 short URLs have at least one dot in them (bug #7614).
20054 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20055 nil, because using a pty is apparently too slow (bug #895).
20057 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20059 * mail/sendmail.el (sendmail-query-once): New function.
20060 (sendmail-query-once-function): New variable.
20062 2011-06-29 Glenn Morris <rgm@gnu.org>
20064 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20066 * ses.el (top-level): Require cl when compiling.
20067 (ses-set-localvars): Fix error statement.
20068 Call it at compile time to silence a storm of warnings.
20070 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20072 * window.el (normalize-live-buffer): Rename to
20073 window-normalize-buffer.
20074 (normalize-live-frame): Rename to window-normalize-frame.
20075 (normalize-any-window): Rename to window-normalize-any-window.
20076 (normalize-live-window): Rename to window-normalize-live-window.
20077 (make-window-atom): Rename to window-make-atom.
20078 (window-resize-reset): Rename to window--resize-reset.
20079 (window-resize-reset-1): Rename to window--resize-reset-1.
20080 (resize-mini-window): Rename to window--resize-mini-window.
20081 (resize-subwindows-skip-p): Rename to
20082 window--resize-subwindows-skip-p.
20083 (resize-subwindows-normal): Rename to
20084 window--resize-subwindows-normal.
20085 (resize-subwindows): Rename to window--resize-subwindows.
20086 (resize-other-windows): Rename to window--resize-siblings.
20087 (resize-this-window): Rename to window--resize-this-window.
20088 (resize-root-window): Rename to window--resize-root-window.
20089 (resize-root-window-vertically): Rename to
20090 window--resize-root-window-vertically.
20091 (normalize-buffer-to-display): Rename to
20092 window-normalize-buffer-to-display.
20093 (normalize-buffer-to-switch-to): Rename to
20094 window-normalize-buffer-to-switch-to.
20095 Correspondingly update all callers of the functions listed
20097 (display-buffer-alist, display-buffer-normalize-arguments)
20098 (display-buffer-normalize-options, display-buffer)
20099 (display-buffer-alist-set): Use "function" instead of
20102 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20104 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20105 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20106 debbugs.gnu.org. Mention acknowledgment email.
20108 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20110 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20111 buffer multibyteness, since it shouldn't matter.
20113 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20115 * window.el (display-buffer-in-side-window): Handle dedicated
20116 windows as in display-buffer-reuse-window.
20117 (display-buffer-normalize-alist): Use value of override
20119 (display-buffer-normalize-specifiers): Use value of
20120 other-window-means-other-frame specifier.
20121 (display-buffer-alist): Rewrite some texts in widgets.
20122 (display-buffer): Spread arguments when calling function
20123 specified by fun-with-args.
20125 2011-06-28 Deniz Dogan <deniz@dogan.se>
20127 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20130 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20131 selectors (Bug#5732).
20132 (css-proprietary-nmstart-re): Use `regexp-opt'.
20134 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20136 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20137 (eshell-ls-date-format): New defcustom.
20138 (eshell-ls-file): Use it.
20140 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20142 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20144 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20146 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20147 (ange-ftp-make-tmp-name): New arg.
20148 (ange-ftp-file-local-copy): Use it.
20150 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20152 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20153 no-conversion (Bug#8870).
20155 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20157 * window.el (window-right, window-left, window-child)
20158 (window-child-count, window-last-child)
20159 (window-iso-combination-p, walk-window-tree-1)
20160 (window-atom-check-1, window-tree-1, delete-window)
20161 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20162 new naming conventions - window-vchild, window-hchild,
20163 window-next and window-prev are now called window-top-child,
20164 window-left-child, window-next-sibling and window-prev-sibling
20166 (resize-window-reset): Rename to window-resize-reset.
20167 (resize-window-reset-1): Rename to window-resize-reset-1.
20168 (resize-window): Rename to window-resize.
20169 (window-min-height, window-min-width)
20170 (resize-mini-window, resize-this-window, resize-root-window)
20171 (resize-root-window-vertically, adjust-window-trailing-edge)
20172 (enlarge-window, shrink-window, maximize-window)
20173 (minimize-window, delete-window, quit-restore-window)
20174 (split-window, balance-windows, balance-windows-area-adjust)
20175 (balance-windows-area, window-state-put-2)
20176 (display-buffer-even-window-sizes, display-buffer-set-height)
20177 (display-buffer-set-width, set-window-text-height)
20178 (fit-window-to-buffer): Rename all "resize-window" prefixed
20179 calls to use the "window-resize" prefix convention.
20180 (display-buffer-alist): Fix symbol for label specifier.
20181 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20182 corresponding specifier.
20183 Reported by Juanma Barranquero <lekktu@gmail.com>.
20185 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20187 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20189 (ses-call-printer): Does not pass an empty string to formatter when the
20190 cell is empty to keep from barking printer Calc math-format-value.
20192 2011-06-27 Richard Stallman <rms@gnu.org>
20194 * battery.el (battery-mode-line-limit): New variable.
20195 (battery-update): Handle it.
20197 * mail/rmailmm.el (rmail-mime-process-multipart):
20198 Handle truncated messages.
20200 2011-06-27 Glenn Morris <rgm@gnu.org>
20202 * progmodes/flymake.el (flymake-err-line-patterns):
20203 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20205 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20207 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20208 (ses--clean-!, ses--clean-_): New functions.
20209 (ses-range): Add configurability of readout order, and conversion
20212 * ses.el (ses-repair-cell-reference-all): New function.
20213 (ses-cell-symbol): Set macro as safe, so that it can be used in
20216 * ses.el: Update cycle detection algorithm.
20217 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20218 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20219 (ses-set-localvars): New function.
20220 (ses-make-cell): Add property-list as a cell element.
20221 (ses-cell-property-get-fun, ses-cell-property-get)
20222 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20223 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20225 (ses-cell-property-set, ses-cell-property-pop)
20226 (ses-cell-property-get-handle): New macro.
20227 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20228 New aliases, used for code readability.
20229 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20231 (ses-self-reference-early-detection): New defcustom.
20232 (ses-formula-references): Robustify against self-referring cells.
20233 (ses-mode): Use ses-set-localvars.
20234 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20235 before lauching the update processing.
20236 (ses-initialize-Dijkstra-attempt): New function.
20237 (ses-recalculate-cell): Update for cycle detection based on
20238 Dijkstra algorithm.
20240 * ses.el: Fix commenting and indenting convention.
20242 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20244 * bs.el (bs-cycle-next): Complete last change.
20246 2011-06-27 Drew Adams <drew.adams@oracle.com>
20248 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20250 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20252 * net/network-stream.el (network-stream-open-starttls):
20253 Don't re-get capabilities unless we've reestablished connection.
20254 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20256 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20257 to binary to possibly avoid line encoding issues on Windows (among
20260 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20262 * net/network-stream.el (open-network-stream): Return an :error
20263 saying what the problem was, if possible.
20265 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20268 * net/network-stream.el (network-stream-open-starttls): If we
20269 wanted to use STARTTLS, and the server offered it, but we weren't
20270 able to because we had no STARTTLS support, then close the connection.
20271 (open-network-stream): Return an :error element, if present.
20273 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20275 * hl-line.el (hl-line-sticky-flag): Doc fix.
20276 (global-hl-line-sticky-flag): New option (Bug#8323).
20277 (global-hl-line-highlight): Obey it.
20279 * vc/vc.el (vc-revert-show-diff): Default to t.
20281 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20283 * allout-widgets.el (allout-widgets-post-command-business):
20284 Stop decorating intermediate isearch matches. They're not being
20285 undecorated when an isearch is continued past, and isearch
20286 automatically collapses them. This leads to "widget leaks", where
20287 decorated items accumulate in collapsed areas. Lines with lots of
20288 hidden widgets can slow down cursor travel, substantially.
20289 Too much complicated machinery would be needed to ensure undecoration,
20290 so we're doing without this nicety.
20292 (allout-widgets-tally-string): Don't try to do a hash-table-count
20293 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20294 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20295 *Messages* when allout-widgets-maintain-tally is t.
20297 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20299 * window.el (display-buffer-normalize-argument): Rename to
20300 display-buffer-normalize-arguments. Handle special meaning of
20301 LABEL argument. Respect special-display-function when popping up
20302 a new frame. Fix code searching for a window showing the buffer
20304 (display-buffer-normalize-specifiers):
20305 Call display-buffer-normalize-arguments.
20306 (display-buffer-in-window): Don't undedicate the window if its
20307 buffer remains the same.
20308 Reported by Drew Adams <drew.adams@oracle.com>.
20309 (display-buffer-alist): Add choice for same-window macro
20311 (display-buffer): Mention special meaning of LABEL argument in
20312 doc-string. Fix quoting. Don't pop up a new frame even as
20315 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20317 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20318 avoid deleting the current window in some cases (bug#8911).
20320 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20322 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20325 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20327 * net/network-stream.el (network-stream-open-starttls):
20328 Use built-in TLS support if `gnutls-available-p' is true.
20329 (network-stream-open-tls): Ditto.
20331 2011-06-26 Leo Liu <sdl.web@gmail.com>
20333 * register.el (registerv): New struct.
20334 (registerv-make): New function.
20335 (jump-to-register, describe-register-1, insert-register):
20336 Support the jump-func, print-func and insert-func slot of a registerv
20339 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20341 * vc/vc.el (vc-revert-show-diff): New defcustom.
20342 (vc-diff-internal): New arg specifying diff buffer.
20343 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20344 reuse an existing *vc-diff* buffer (Bug#8927).
20346 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20348 2011-06-26 Glenn Morris <rgm@gnu.org>
20350 * progmodes/f90.el (f90-critical-indent): New option.
20351 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20352 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20353 (f90-mode): Doc fix.
20354 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20355 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20356 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20357 (f90-match-end): Handle block, critical.
20359 2011-06-25 Glenn Morris <rgm@gnu.org>
20361 * calendar/diary-lib.el (diary-included-files): Doc fix.
20362 (diary-include-files): New function, extracted from
20363 diary-include-other-diary-files and diary-mark-included-diary-files.
20364 (diary-include-other-diary-files, diary-mark-included-diary-files):
20365 Just call diary-include-files.
20366 (diary-mark-entries): Reset diary-included-files on first call.
20368 * calendar/diary-lib.el (diary-mark-entries)
20369 (diary-mark-included-diary-files):
20370 Visit included diary-files in temp buffers.
20372 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20373 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20374 (f90-start-block-re, f90-imenu-generic-expression)
20375 (f90-looking-at-program-block-start, f90-no-block-limit):
20376 Add support for submodules.
20378 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20379 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20381 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20383 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20384 buffer-file-type before setting its value, to avoid disastrous
20385 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20387 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20389 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20391 * ses.el (ses-unload-function):
20392 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20394 * proced.el (proced-unload-function):
20395 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20397 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20399 * server.el (server-create-window-system-frame): Add parameters arg.
20400 (server-process-filter): Doc fix. Handle frame-parameters.
20402 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20404 Fix bug#8730, bug#8781.
20406 * loadhist.el (unload--set-major-mode): New function.
20407 (unload-feature): Use it.
20409 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20410 (python-unload-function): New function.
20412 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20414 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20416 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20418 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20419 the candidates list.
20421 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20423 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20425 2011-06-23 Richard Stallman <rms@gnu.org>
20427 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20428 (rmail-variables): Set next-error-move-function.
20429 (rmail-what-message): Take argument POS.
20430 (rmail-next-error-move): New function.
20432 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20434 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20435 messages for adjacent non-terminals.
20437 2011-06-23 Richard Stallman <rms@gnu.org>
20439 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20440 (rmail-show-message-1): Preserve buffer modified flag.
20441 (rmail-start-mail): Don't specify use of rmail-mail-return;
20442 that's done by mail-bury now.
20443 (rmail-mail-return): Handle arg NEWBUF.
20445 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20447 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20450 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20452 * window.el (get-lru-window, get-mru-window)
20453 (get-largest-window): Never return a minibuffer window.
20454 (display-buffer-pop-up-window): Fix a bug that could lead to
20455 reusing the minibuffer window.
20456 (display-buffer): Pass original specifier argument to
20457 display-buffer-function instead of the normalized one.
20458 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20460 2011-06-22 Leo Liu <sdl.web@gmail.com>
20462 * minibuffer.el (completing-read-function)
20463 (completing-read-default): Move from minibuf.c.
20465 2011-06-22 Richard Stallman <rms@gnu.org>
20467 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20468 to Rmail even if not started by a special Rmail command.
20470 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20471 Copy the buffer currently showing just one message.
20473 2011-06-22 Roland Winkler <winkler@gnu.org>
20475 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20476 (bibtex-clean-entry): First delete the old key so that a
20477 customized algorithm for generating the new key does not get
20478 confused by the old key.
20479 (bibtex-url): Obey regexp of first step.
20480 (bibtex-search-entries): Do not use add-to-list with local
20483 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20485 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20486 stored a user name, then query for the password first, instead of
20487 waiting for SMTP to give an error message and the trying again.
20489 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20491 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20492 BUFFER in call-process.
20494 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20496 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20498 (smtpmail-try-auth-methods): Require user name and password from
20501 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20503 * window.el (display-buffer-default-specifiers)
20504 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20505 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20506 (split-window): Normalize SIDE argument (Bug#8916).
20508 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20509 (special-display-frame-alist, special-display-popup-frame):
20510 Remove duplicate declarations. These are now in window.el.
20512 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20514 * mail/smtpmail.el (smtpmail-via-smtp):
20515 Set :use-starttls-if-possible so that we always use STARTTLS if the
20516 server supports it. SMTP servers that support STARTTLS commonly
20519 * net/network-stream.el (network-stream-open-starttls): Support
20520 upgrading to STARTTLS always, even if we don't have built-in support.
20521 (open-network-stream): Add the :always-query-capabilities keyword.
20523 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20524 upgrades with `open-network-stream', and rely solely on
20525 auth-source for all credentials. Big changes throughout the file,
20527 (smtpmail-auth-credentials): Remove.
20528 (smtpmail-starttls-credentials): Remove.
20529 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20532 * net/network-stream.el (network-stream-open-starttls):
20533 Provide support for client certificates both for external and built-in
20535 (auth-source): Require.
20536 (open-network-stream): Document the :client-certificate keyword.
20537 (network-stream-certificate): Change cert-cert to cert and
20540 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20542 * net/tramp-cache.el (top): Don't load the persistency file when
20543 "emacs -Q" has been called.
20545 2011-06-21 Tim Harper <timcharper@gmail.com>
20547 * term/ns-win.el (ns-initialize-window-system):
20548 Set application-specific `ApplePressAndHoldEnabled' system
20549 resource to NO as it is not yet supported by the NS port.
20551 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20553 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20554 (list-dynamic-libraries): ...not here.
20556 2011-06-21 Leo Liu <sdl.web@gmail.com>
20558 * subr.el (sha1): Implement sha1 using secure-hash.
20560 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20562 * window.el (display-buffer-alist): In default value do not
20563 enforce searching a window on any but the selected frame.
20564 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20565 (display-buffer-select-window): Remove function.
20566 (display-buffer-in-window): When a window on another frame gets
20567 reused, do not select it any more but just raise its frame if
20568 necessary (Bug#8851) and (Bug#8856).
20569 (display-buffer-normalize-options): Handle pop-up-frames related
20570 options more faithfully.
20571 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20572 window if it is on another frame.
20573 (display-buffer-alist, display-buffer-default-specifiers):
20574 Don't make new frame unsplittable by default.
20575 (display-buffer-normalize-argument): Fix doc-string typo and use
20576 'same-frame-other-window instead of 'other-window when associating
20577 with display-buffer-macro-specifiers.
20579 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20581 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20583 (5x5-mode-map, 5x5-mode-menu): Bind them.
20584 (5x5-draw-grid): Tweak the solver's rendering.
20586 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20588 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20589 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20591 2011-06-21 Drew Adams <drew.adams@oracle.com>
20593 * menu-bar.el: Use function variable instead of switch-to-buffer.
20594 (menu-bar-select-buffer-function): New variable.
20595 (menu-bar-update-buffers): Use it (bug#8876).
20597 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20599 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20602 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20604 * x-dnd.el (x-dnd-version-from-flags)
20605 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20606 and long as number (Bug#8899).
20607 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20609 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20611 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20612 (completion-try-completion, completion-all-completions): Compute the
20613 metadata argument if it's missing; make it optional (bug#8795).
20615 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20616 (widget-complete): Use new :completion-function property.
20617 (widget-completions-at-point): New function.
20618 (default): Use :completion-function instead of :complete.
20619 (widget-default-completions): Rename from widget-default-complete;
20621 (widget-string-complete, widget-file-complete, widget-color-complete):
20623 (file, symbol, function, variable, coding-system, color):
20624 * international/mule-cmds.el (default-input-method, charset)
20625 (language-info-custom-alist):
20626 * cus-edit.el (face): Use new property :completions.
20628 * progmodes/pascal.el (pascal-completions-at-point): New function.
20629 (pascal-mode): Use it.
20630 (pascal-mode-map): Use completion-at-point.
20631 (pascal-toggle-completions): Make obsolete.
20632 (pascal-complete-word, pascal-show-completions):
20633 * progmodes/octave-mod.el (octave-complete-symbol):
20634 Redefine as obsolete alias.
20635 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20636 Signal absence of completion info for old Octave,
20637 (inferior-octave-complete): Redefine as obsolete alias.
20638 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20639 (meta-completions-at-point): Rename from meta-complete-symbol and
20640 adapt it for use on completion-at-point-functions.
20641 (meta-common-mode): Use it.
20642 (meta-looking-at-backward, meta-match-buffer): Remove.
20643 (meta-complete-symbol): Redefine as obsolete alias.
20644 (meta-common-mode-map): Use completion-at-point.
20645 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20646 (makefile-mode-map): Use completion-at-point.
20647 (makefile-completions-at-point): Rename from makefile-complete and
20648 adapt it for use on completion-at-point-functions.
20649 (makefile-mode): Use it.
20650 (makefile-complete): Redefine as obsolete alias.
20652 2011-06-20 Deniz Dogan <deniz@dogan.se>
20654 * net/rcirc.el: Delete trailing whitespaces once and for all.
20656 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20658 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20660 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20662 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20664 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20666 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20668 * window.el (display-buffer-other-window-means-other-frame):
20669 Call display-buffer-normalize-alist.
20670 (display-buffer-normalize-specifiers-1): Rename to
20671 display-buffer-normalize-argument. New argument other-frame.
20673 (display-buffer-normalize-specifiers-2): Rename to
20674 display-buffer-normalize-options.
20675 (display-buffer-normalize-alist-1): New function.
20676 (display-buffer-normalize-specifiers-3): Rename to
20677 display-buffer-normalize-alist.
20678 Call display-buffer-normalize-alist-1.
20679 (display-buffer-normalize-options-inhibit): New variable.
20680 (display-buffer-normalize-specifiers): Rewrite calling
20681 display-buffer-normalize-alist,
20682 display-buffer-normalize-argument, and
20683 display-buffer-normalize-options. Don't call the latter if
20684 display-buffer-normalize-options-inhibit is non-nil.
20685 (frame-auto-delete): New option.
20686 (window-deletable-p): Use frame-auto-delete.
20687 (window-list-no-nils, window-state-ignored-parameters)
20688 (window-state-get-1, window-state-get, window-state-put-list)
20689 (window-state-put-1, window-state-put-2, window-state-put):
20691 (display-buffer-normalize-options): Move special-display-p group
20692 after pop-up-frame group (Bug#8851) and (Bug#8856).
20694 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20696 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20698 (rx-submatch-n): New function.
20701 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20704 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20706 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20708 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20709 anytime existing face settings are present (Bug#8889).
20711 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20712 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20713 Remove unused argument.
20715 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20717 * window.el (display-buffer-default-specifiers):
20718 Remove pop-up-frame. Add pop-up-window-min-height,
20719 pop-up-window-min-width, and another reuse-window specifier
20720 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20721 (display-buffer-normalize-specifiers-2):
20722 Handle split-height-threshold and split-width-threshold also when
20723 pop-up-windows is unset. Add a reuse-window specifier for the
20724 case popping up a new window fails.
20725 (special-display-popup-frame): Remove double quoting.
20726 (display-buffer-normalize-specifiers-1): Fix thinko.
20728 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20730 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20731 according to comint-completion-addsuffix.
20733 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20734 (pcomplete-suffix-list): Mark as obsolete.
20735 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20736 pcomplete-seen in the closure.
20737 (pcomplete-comint-setup): Setup completion-at-point as well.
20738 (pcomplete--entries): New function.
20739 (pcomplete--env-regexp): New var.
20740 (pcomplete-entries): Rewrite to work with partial-completion and
20741 without relying on pcomplete-suffix-list.
20742 (pcomplete-pare-list): Remove, unused.
20744 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20746 * window.el (display-buffer-alist): Set pop-up-window-min-height
20747 and pop-up-window-min-width in default value. Reported by
20748 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20749 other-window-means-other-frame.
20750 (display-buffer-macro-specifiers): Comment out entry for
20751 other-window specifier.
20752 (display-buffer-other-window-means-other-frame): New function.
20753 (display-buffer-normalize-specifiers-1): New arguments
20754 buffer-name and label. Treat other-window case specially.
20755 (display-buffer-normalize-specifiers-2): Treat other-window case
20757 (display-buffer-normalize-specifiers-3): New function.
20758 (display-buffer-normalize-specifiers):
20759 Call display-buffer-normalize-specifiers-3.
20761 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20763 * window.el (same-window-p): Fix two typos introduced when
20764 adding with-no-warnings.
20765 (display-buffer-normalize-specifiers-1): Don't check
20766 pop-up-frames for 'unset initialization.
20767 (display-buffer-normalize-specifiers-2): Major rewrite using
20768 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20769 (pop-up-frames, display-buffer-reuse-frames)
20770 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20771 Suggested by David Engster <deng@randomsample.de>.
20772 (even-window-heights): Initialize to 'unset.
20773 (display-buffer-alist-set): Handle new 'unset initializations.
20774 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20777 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20779 * window.el (display-buffer-normalize-specifiers-1):
20780 Respect current value of pop-up-frames for most reasonable values of
20781 second argument of display-buffer (Bug#8865).
20782 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20783 (switch-to-buffer-other-window-same-frame)
20784 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20786 (display-buffer): Don't check noninteractive when calling
20787 display-buffer-pop-up-frame.
20788 (display-buffer-pop-up-frame): Never pop up a frame in
20789 noninteractive mode (Bug#8857).
20790 (enlarge-window, shrink-window): Don't report an error when the
20791 window can't be resized as requested (Bug#8862).
20793 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20795 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20797 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20799 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20801 2011-06-15 Alan Mackenzie <acm@muc.de>
20803 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20804 for declarators, disable knr checking to speed up for normal files.
20805 2: Refactor, replacing a sequence of nested if forms by a cond form.
20807 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20809 * net/network-stream.el (open-network-stream): Add the keyword
20810 :always-query-capabilities for the case where you want to force a
20811 `plain' network connection, but the protocol still requires the
20812 capabilitiy command (i.e., SMTP and EHLO).
20814 * subr.el (process-live-p): Rename from `process-alive-p' for
20815 consistency with other `-live-p' functions.
20817 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20819 * window.el (same-window-buffer-names, same-window-regexps)
20820 (special-display-frame-alist, special-display-popup-frame)
20821 (special-display-function, special-display-buffer-names)
20822 (special-display-regexps, pop-up-frame-alist)
20823 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20824 (pop-up-windows, split-window-preferred-function)
20825 (split-height-threshold, split-width-threshold, even-window-heights)
20826 (display-buffer-mark-dedicated): Don't encourage the use of
20827 display-buffer-alist from Elisp code.
20829 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20831 * progmodes/python.el (python-mode): Derive from prog-mode.
20832 * progmodes/ps-mode.el (ps-mode):
20833 * progmodes/mixal-mode.el (mixal-mode):
20834 * progmodes/cfengine.el (cfengine-mode):
20835 * progmodes/ld-script.el (ld-script-mode): Likewise.
20837 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20839 * window.el (display-buffer-alist): Trim default value to avoid
20840 popping up a new frame (Bug#8857) or reusing an arbitrary window
20842 (display-buffer): Do not fall back on popping up a new frame in
20843 batch mode (Bug#8857).
20845 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20847 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20848 (custom-theme-summary): New function.
20849 (customize-themes): Use it.
20851 2011-06-13 Glenn Morris <rgm@gnu.org>
20853 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20855 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20857 * help.el (help-window): Remove variable.
20858 (help-window-point-marker, temp-buffer-max-height)
20859 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20860 (help-print-return-message): Don't set help-window.
20861 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20862 (help-window-setup-finish): Remove.
20863 (help-window-display-message, help-window-setup)
20864 (with-help-window): Major rewrite based on new
20865 display-buffer-window variable.
20867 * help-mode.el (help-mode-finish): Remove help-window related
20870 * view.el (view-exits-all-viewing-windows): Remove reference to
20871 view-return-to-alist in doc-string.
20872 (view-return-to-alist): Make obsolete.
20873 (view-buffer): Call pop-to-buffer-same-window and remove
20875 (view-buffer-other-window): Call pop-to-buffer-other-window and
20876 simplify code. Ignore second argument.
20877 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20878 simplify code. Ignore second argument.
20879 (view-return-to-alist-update): Make obsolete.
20880 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20881 Rewrite using quit-restore window parameters.
20882 (view-mode-exit): Rename second argument to EXIT-ONLY.
20883 Rewrite using quit-restore-window.
20884 (View-exit, View-exit-and-edit, View-leave, View-quit)
20885 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20886 appropriate arguments.
20887 (view-end-message): Use quit-restore window parameter.
20889 * window.el (display-buffer-function): Rewrite doc-string.
20890 (display-buffer-window, display-buffer-alist): New variables.
20891 (display-buffer-split-specifiers)
20892 (display-buffer-side-specifiers)
20893 (display-buffer-macro-specifiers): New constants.
20894 (display-buffer-even-window-sizes, display-buffer-set-height)
20895 (display-buffer-set-width, display-buffer-select-window)
20896 (display-buffer-in-window, display-buffer-reuse-window)
20897 (display-buffer-split-window-1, display-buffer-split-window)
20898 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20899 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20900 (display-buffer-in-side-window, normalize-buffer-to-display)
20901 (display-buffer-normalize-specifiers-1)
20902 (display-buffer-normalize-specifiers-2)
20903 (display-buffer-normalize-specifiers, display-buffer-frame):
20905 (display-buffer): Major rewrite.
20906 (display-buffer-other-window, display-buffer-other-frame)
20907 (pop-to-buffer, switch-to-buffer-other-window)
20908 (switch-to-buffer-other-frame): Rewrite.
20909 (display-buffer-same-window, display-buffer-same-frame)
20910 (display-buffer-same-frame-other-window)
20911 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20912 (pop-to-buffer-other-window)
20913 (pop-to-buffer-same-frame-other-window)
20914 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20915 (switch-to-buffer-other-window-same-frame): New functions.
20916 (same-window-p, special-display-p): Rewrite disabling warnings.
20918 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20919 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20921 (same-window-buffer-names, same-window-regexps)
20922 (special-display-frame-alist, special-display-popup-frame)
20923 (special-display-function, special-display-buffer-names)
20924 (special-display-regexps, pop-up-frame-alist)
20925 (pop-up-frame-function, split-window-preferred-function)
20926 (split-height-threshold, split-width-threshold)
20927 (even-window-heights): Make obsolete.
20929 2011-06-12 Glenn Morris <rgm@gnu.org>
20931 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20932 Misc simplifications.
20934 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20936 * window.el (window-safely-shrinkable-p): Restore function which
20937 was inadvertently removed in change from 2011-06-11. Declare as
20940 * calendar/calendar.el (calendar-generate-window):
20941 Use window-iso-combined-p instead of combination of one-window-p and
20942 window-safely-shrinkable-p.
20944 2011-06-12 Glenn Morris <rgm@gnu.org>
20946 * progmodes/fortran.el (fortran-mode-syntax-table):
20947 * progmodes/f90.el (f90-mode-syntax-table):
20948 Set % to punctuation. (Bug#8820)
20949 (f90-find-tag-default): Remove, no longer needed.
20951 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20953 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20955 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20957 * image.el (image-animated-p): Return animation delay in seconds.
20958 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20959 (image-animate-timeout): Remove DELAY argument. Don't assume
20960 every subimage has the same delay; get it from image-animated-p.
20961 (image-animate): Caller changed.
20963 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20965 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20966 to ignored backtrace functions.
20968 2011-06-11 Glenn Morris <rgm@gnu.org>
20970 * calendar/appt.el (appt-disp-window-function): Doc fix.
20971 (appt-check): Handle overlapping appointments. (Bug#8337)
20973 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20975 * window.el (window-tree-1, window-tree): New functions, moving
20976 the latter to window.el.
20977 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20978 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20979 (bw-refresh-edges): Remove.
20980 (balance-windows-1, balance-windows-2): New functions.
20981 (balance-windows): Rewrite in terms of window tree functions,
20982 balance-windows-1 and balance-windows-2.
20983 (bw-adjust-window): Remove.
20984 (balance-windows-area-adjust): New function with functionality of
20985 bw-adjust-window but using resize-window.
20986 (set-window-text-height): Rewrite doc-string.
20987 Use normalize-live-window and resize-window.
20988 (enlarge-window-horizontally, shrink-window-horizontally):
20989 Rename argument to DELTA.
20990 (window-buffer-height): New function.
20991 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20992 Rewrite using new window resize routines.
20993 (kill-buffer-and-window, mouse-autoselect-window-select):
20994 Use ignore-errors instead of condition-case.
20995 (quit-window): Call delete-frame instead of delete-windows-on
20996 for the only buffer on frame.
20998 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21000 * loadup.el (top-level): Load window before files for the sake
21001 of replace-buffer-in-windows.
21003 * files.el (read-buffer-to-switch)
21004 (switch-to-buffer-other-window)
21005 (switch-to-buffer-other-frame, display-buffer-other-frame):
21008 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21009 (previous-buffer): Move to window.el.
21011 * bindings.el (unbury-buffer): Move to window.el.
21013 * window.el (delete-other-windows-vertically): Move after
21014 definition of delete-other-windows.
21015 (other-window, delete-windows-on, replace-buffer-in-windows):
21016 Move here from window.c.
21017 (record-window-buffer, unrecord-window-buffer)
21018 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21019 (switch-to-next-buffer): New functions.
21020 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21021 from simple.el. Call switch-to-next-buffer.
21022 (previous-buffer): Move here from simple.el.
21023 Call switch-to-prev-buffer.
21024 (bury-buffer): Move here from buffer.c. Switch to previous
21025 buffer when window cannot be deleted.
21026 (unbury-buffer): Move here from bindings.el.
21027 (ctl-x-map): Move binding for other-window from window.c to
21029 (read-buffer-to-switch, switch-to-buffer-other-window)
21030 (switch-to-buffer-other-frame): Move here from files.el.
21031 (normalize-buffer-to-switch-to): New functions.
21032 (switch-to-buffer): Move here from buffer.c.
21033 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21035 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21037 * window.el (window-min-height, window-min-width): Move here
21038 from window.c. Add defcustoms and rewrite doc-strings.
21039 (resize-mini-window, resize-window): New functions.
21040 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21041 Move here from window.c.
21042 (maximize-window, minimize-window): New functions.
21043 (delete-window, delete-other-windows, split-window): Move here
21045 (window-split-min-size): New function.
21046 (split-window-keep-point): Mention split-window-above-each-other
21047 instead of split-window-vertically.
21048 (split-window-above-each-other, split-window-vertically):
21049 Rename split-window-vertically to split-window-above-each-other
21050 and provide defalias for old definition.
21051 (split-window-side-by-side, split-window-horizontally):
21052 Rename split-window-horizontally to split-window-side-by-side
21053 and provide defalias for the old definition.
21054 (ctl-x-map): Move bindings for delete-window,
21055 delete-other-windows and enlarge-window here from window.c.
21056 Replace bindings for split-window-vertically and
21057 split-window-horizontally by bindings for
21058 split-window-above-each-other and split-window-side-by-side.
21060 * cus-start.el (all): Remove entries for window-min-height and
21061 window-min-width. Add entries for window-splits and
21064 2011-06-09 Glenn Morris <rgm@gnu.org>
21066 * calendar/appt.el (appt-mode-line): New function.
21067 (appt-check, appt-disp-window): Use it.
21069 * files.el (hack-one-local-variable-eval-safep):
21070 Allow minor-modes with explicit +/-1 arguments.
21072 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21074 * term/xterm.el (xterm): Add defgroup.
21075 (xterm-extra-capabilities): Add defcustom to supply known xterm
21076 capabilities, skip querying them, or query them (default).
21077 (terminal-init-xterm): Use it.
21078 (terminal-init-xterm-modify-other-keys): New function to set up
21079 modifyOtherKeys support to simplify `terminal-init-xterm'.
21081 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21083 * window.el (resize-window-reset, resize-window-reset-1)
21084 (resize-subwindows-skip-p, resize-subwindows-normal)
21085 (resize-subwindows, resize-other-windows, resize-this-window)
21086 (resize-root-window, resize-root-window-vertically)
21087 (window-deletable-p, window-or-subwindow-p)
21088 (frame-root-window-p): New functions.
21090 2011-06-09 Glenn Morris <rgm@gnu.org>
21092 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21093 (ange-ftp-get-files): Use it.
21095 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21097 * mail/sendmail.el (mail-recover-1, mail-recover):
21098 * files.el (recover-file, recover-session):
21099 Handle dired-listing-switches not being just a single short option.
21101 2011-06-09 Glenn Morris <rgm@gnu.org>
21103 * calendar/appt.el (appt-display-message, appt-disp-window):
21104 Handle lists of appointments.
21106 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21108 * window.el (one-window-p): Move down in code.
21109 Rewrite doc-string.
21110 (window-current-scroll-bars): Rewrite doc-string.
21111 Normalize live window argument.
21112 (walk-windows, get-window-with-predicate, count-windows):
21113 Rewrite doc-string. Use window-list-1.
21114 (window-in-direction-2, window-in-direction, get-mru-window):
21117 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21119 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21120 Doc fix (Bug#8713).
21122 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21124 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21126 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21128 * loadhist.el (unload-feature-special-hooks):
21129 Add `comint-output-filter-functions'.
21131 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21133 * calendar/appt.el (appt-check): Move some initializations into the let.
21135 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21137 * window.el (window-height): Defalias to window-total-height.
21138 (window-width): Defalias to window-body-width.
21140 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21142 * image-mode.el (image-toggle-animation): New command.
21143 (image-mode-map): Bind it to RET.
21144 (image-mode): Update message.
21145 (image-toggle-display-image): Avoid a spurious cache flush.
21146 (image-transform-rotation): Doc fix.
21147 (image-transform-properties): Return quickly in the normal case.
21148 (image-animate-loop): Rename from image-animate-max-time.
21150 * image.el (image-animate-max-time): Move to image-mode.el.
21151 (create-animated-image): Remove unnecessary function.
21152 (image-animate): Rename from image-animate-start. New arg.
21153 (image-animate-stop): Remove; just use image-animate-timer.
21154 (image-animate-timer): Use car-safe.
21155 (image-animate-timeout): Rename argument.
21157 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21159 * window.el (get-lru-window, get-largest-window): Move here from
21160 window.c. Rename first argument to ALL-FRAMES.
21161 Rephrase doc-strings.
21162 (get-buffer-window-list): Rewrite using window-list-1.
21163 Rephrase doc-string.
21164 (window-safe-min-height, window-safe-min-width): New constants.
21165 (window-size-ignore, window-min-size, window-min-size-1)
21166 (window-sizable, window-sizable-p, window-size-fixed-1)
21167 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21168 (window-max-delta-1, window-max-delta, window-resizable)
21169 (window-resizable-p, window-total-height, window-total-width)
21170 (window-body-width): New functions.
21171 (window-full-height-p, window-full-width-p): Rewrite using
21173 (window-body-height): Rewrite using window-body-size.
21175 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21177 * window.el (window-right, window-left, window-child)
21178 (window-child-count, window-last-child, window-any-p)
21179 (normalize-live-buffer, normalize-live-frame)
21180 (normalize-any-window, normalize-live-window)
21181 (window-iso-combination-p, window-iso-combined-p)
21182 (window-iso-combinations)
21183 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21184 (windows-with-parameter, window-with-parameter)
21185 (window-atom-root, make-window-atom, window-atom-check-1)
21186 (window-atom-check, window-side-check, window-check):
21188 (ignore-window-parameters, window-sides, window-sides-vertical)
21189 (window-sides-slots): New variables.
21190 (window-size-fixed): Move down in code. Minor doc-string fix.
21192 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21194 * comint.el (comint-dynamic-complete-as-filename)
21195 (comint-dynamic-complete-filename): Correctly call
21196 completion-in-region.
21198 2011-06-05 Deniz Dogan <deniz@dogan.se>
21200 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21203 2011-06-05 Deniz Dogan <deniz@dogan.se>
21205 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21206 (rcirc): Use it to prompt for encryption.
21208 2011-06-05 Roland Winkler <winkler@gnu.org>
21210 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21211 (bibtex-search-entries): New command bound to C-c C-a.
21212 (bibtex-display-entries): New function.
21214 2011-06-05 Roland Winkler <winkler@gnu.org>
21216 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21217 (bibtex-insert-kill): After yanking insert newline if necessary.
21218 (bibtex-initialize): Call bibtex-string-files-init only once.
21219 (bibtex-mode): Do not call easy-menu-add.
21220 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21221 (bibtex-yank): Set arg properly if nil.
21223 2011-06-05 Roland Winkler <winkler@gnu.org>
21225 * textmodes/bibtex.el (bibtex-search-entry-globally):
21227 (bibtex-search-entry): Use it.
21229 2011-06-05 Roland Winkler <winkler@gnu.org>
21231 * textmodes/bibtex.el (bibtex-entry-format): New option
21233 (bibtex-format-entry, bibtex-reformat): Honor this option.
21234 (bibtex-parse-entry): Return fields in proper order.
21236 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21238 * doc-view.el (doc-view-remove-if): Move computation of result out
21239 of `dolist' to silence misleading lexical-binding warning.
21241 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21243 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21244 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21246 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21248 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21251 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21253 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21254 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21255 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21256 (tramp-parse-putty):
21257 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21258 (tramp-completion-function-alist-ssh)
21259 (tramp-completion-function-alist-telnet)
21260 (tramp-completion-function-alist-su)
21261 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21264 * net/tramp-ftp.el:
21266 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21267 load "tramp.el" `tramp-set-completion-function'.
21269 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21271 * shell.el: Require and use pcomplete.
21272 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21273 (shell-completion-vars): Set pcomplete-default-completion-function.
21275 2011-06-04 Deniz Dogan <deniz@dogan.se>
21277 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21280 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21282 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21284 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21286 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21287 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21288 * vc/log-view.el (log-view-beginning-of-defun):
21289 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21290 (smerge-refine-forward, smerge-refine-chopup-region):
21291 Silence warning for unused `dotimes' counter variables.
21293 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21295 * net/tramp.el (tramp-with-progress-reporter): Rename from
21296 with-progress-reporter. Use `declare'.
21297 * net/tramp-smb.el:
21299 * net/tramp-gvfs.el: Update all uses.
21301 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21303 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21304 buffer isn't killed before making it current.
21306 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21308 Silence various byte-compiler warnings.
21309 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21310 `access-type' and new obsolescence format.
21311 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21313 (byte-compile-check-variable): New `access-type' argument.
21314 Only warn if the access-type is obsolete.
21315 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21316 (byte-compile-variable-set): Adjust callers.
21317 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21318 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21319 setting it as obsolete.
21320 * simple.el (minibuffer-completing-symbol):
21321 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21322 access as obsolete.
21323 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21325 * international/quail.el (quail-mouse-choose-completion): Remove unused
21326 code referring to obsolete var.
21327 (quail-choose-completion-string): Remove.
21328 * server.el (server-clients-with, server-kill-buffer-query-function)
21329 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21330 * proced.el (proced-send-signal):
21331 * emacs-lisp/lisp.el (lisp-complete-symbol):
21332 Replace completion-annotate-function with completion-extra-properties.
21334 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21336 * simple.el (goto-line): Use read-number.
21337 (overriding-map-is-bound): Remove.
21338 (saved-overriding-map): Change default.
21339 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21340 Take the map as argument.
21341 (universal-argument, negative-argument, digit-argument): Use it.
21342 (restore-overriding-map): Adjust.
21343 (do-auto-fill): Use fill-forward-paragraph.
21344 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21346 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21347 (minibuffer-inactive-mode): New major mode.
21348 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21349 the *Messages* buffer" hack.
21350 (mouse-popup-menubar): Don't burp if the event is a normal key.
21352 Miscellaneous tweaks.
21353 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21354 lexical scoping as in subr.el's dolist and dotimes.
21355 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21356 Silence compiler warning.
21357 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21358 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21359 * international/ccl.el (ccl-compile): Trivial simplification.
21360 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21361 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21362 `printflag' argument.
21363 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21364 Purecopy the whole obsolescence data.
21366 2011-06-01 Leo Liu <sdl.web@gmail.com>
21368 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21369 improve doc-string as suggested by Marco Pessotto
21370 <melmothx@gmail.com>.
21371 (rcirc-print): Fix last change.
21373 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21375 * minibuffer.el (complete-with-action): Return nil for the metadata and
21376 boundaries of non-functional tables.
21377 (completion-table-dynamic): Return nil for the metadata.
21378 (completion-table-with-terminator): Add default case, using
21379 complete-with-action.
21380 (completion--metadata): New function.
21381 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21382 to try and avoid pathological performance problems.
21383 (completion--embedded-envvar-table): Return `category' metadata.
21385 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21387 * subr.el (process-alive-p): New tiny convenience function.
21389 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21391 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21392 content but also its previous major mode.
21394 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21396 * emacs-lisp/debug.el (debug): Restore the previous content of the
21397 *Backtrace* buffer when we exit with C-M-c.
21399 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21401 * minibuffer.el: Add metadata method to completion tables.
21402 (completion-category-overrides): New defcustom.
21403 (completion-metadata, completion--field-metadata)
21404 (completion-metadata-get, completion--styles)
21405 (completion--cycle-threshold): New functions.
21406 (completion-try-completion, completion-all-completions):
21407 Add `metadata' argument to choose completion-styles.
21408 (completion--do-completion): Use metadata to choose cycling.
21409 (completion-all-sorted-completions): Use metadata for sorting.
21410 Remove :completion-cycle-penalty which is not needed any more.
21411 (completion--try-word-completion): Add `metadata' argument.
21412 (minibuffer-completion-help): Check metadata for annotation function
21414 (completion-file-name-table): Return `category' metadata.
21415 (minibuffer-completing-file-name): Make obsolete.
21416 * simple.el (minibuffer-completing-symbol): Make obsolete.
21417 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21418 completion-try-completion.
21420 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21422 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21424 2011-05-30 Leo Liu <sdl.web@gmail.com>
21426 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21427 (rcirc-print): Decode all incoming messages (bug#8744).
21428 (rcirc-decode-coding-system): Allow value nil for automatic coding
21431 2011-06-01 Glenn Morris <rgm@gnu.org>
21433 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21435 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21437 * image.el (image-animate-max-time): Allow nil and t values.
21439 (create-animated-image): Doc fix.
21440 (image-animate-start): Remove second arg; just use
21441 image-animate-max-time.
21442 (image-animate-timeout): Doc fix. Args changed.
21444 * image-mode.el (image-toggle-display-image): Ensure that the
21445 image spec passed to the animate timer is the same object as in
21446 the buffer's display property (Bug#6981).
21447 (image-transform-properties): Doc fix.
21449 * image.el (image-animate-max-time): Default to nil.
21451 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21453 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21454 entire buffer list (Bug#8184).
21456 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21458 * image.el (imagemagick-types-inhibit)
21459 (imagemagick-register-types): Doc fix.
21461 2011-05-29 Deniz Dogan <deniz@dogan.se>
21463 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21466 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21468 * select.el: Don't perform clipboard-manager saving in hooks;
21469 leave the hooks empty.
21471 2011-05-28 Leo Liu <sdl.web@gmail.com>
21473 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21474 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21475 (occur-edit-mode): New major mode (Bug#8463).
21476 (occur-after-change-function): New function.
21477 (occur-engine): Give Occur tags a read-only property.
21479 2011-05-28 Kevin Ryde <user42@zip.com.au>
21481 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21483 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21485 * bindings.el (help-echo): Make the initial non-indicator dash
21486 empty on graphical terminals (Bug#7295).
21488 * files.el (auto-mode-alist): Move config rule after the
21489 in-stripping one (Bug#8547).
21491 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21493 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21494 setting (Bug#8740).
21496 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21498 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21499 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21502 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21504 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21506 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21508 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21509 (hs-hide-block-at-point, hs-find-block-beginning)
21510 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21513 2011-05-28 Glenn Morris <rgm@gnu.org>
21515 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21517 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21519 * help-fns.el (describe-function-1): If the function is a derived
21520 major mode, print the parent mode.
21522 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21523 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21525 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21527 * minibuffer.el (completion--capf-wrapper): Check applicability before
21528 returning non-nil for non-exclusive completion data.
21529 * progmodes/etags.el (tags-completion-at-point-function):
21530 * info-look.el (info-lookup-completions-at-point): Mark as
21532 (info-complete): Adjust accordingly.
21534 * info-look.el: Convert to lexical-binding and completion-at-point.
21535 (info-lookup-completions-at-point): New function.
21536 (info-complete): Use it and completion-in-region.
21538 2011-05-28 Drew Adams <drew.adams@oracle.com>
21540 * isearch.el: Let M-e start with point at the first mismatched char.
21541 (isearch-fail-pos): New function.
21542 (isearch-edit-string): Use it.
21544 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21546 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21548 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21550 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21551 traversal functions for avl-trees.
21552 (avl-tree--stack): New struct.
21553 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21554 (avl-tree-enter): Add optional `updatefun' arg.
21555 (avl-tree--do-enter): Add optional `updatefun' arg.
21556 Change return value.
21557 (avl-tree-delete): Add optional `test' and `nilflag' args.
21558 (avl-tree--do-delete): Add `test' and `nilflag' args.
21559 Change return value.
21560 (avl-tree-member): Add optional `nilflag'
21561 (avl-tree-member-p): New function.
21562 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21563 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21564 (avl-tree-stack-empty-p): New functions.
21566 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21567 avl-tree--del-balance1 and make it work both ways.
21568 (avl-tree--del-balance2): Remove.
21569 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21570 make it work both ways.
21571 (avl-tree--enter-balance2): Remove.
21572 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21574 (avl-tree--mapc, avl-tree-map): Add direction argument.
21576 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21578 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21580 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21582 * select.el: Support clipboard managers with built-in function
21583 x-clipboard-manager-save, via delete-frame-functions and
21585 (xselect-convert-to-targets): Add MULTIPLE target to list.
21586 (xselect-convert-to-save-targets): New function.
21588 2011-05-27 Kenichi Handa <handa@m17n.org>
21590 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21591 let-binding rfc2047-encode-encoded-words to nil.
21593 2011-05-27 Glenn Morris <rgm@gnu.org>
21595 * mail/emacsbug.el: Don't require url-util.
21597 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21599 * files.el (set-auto-mode):
21600 Also respect mode: entries at the end of the file. (Bug#8586)
21602 2011-05-26 Glenn Morris <rgm@gnu.org>
21604 * files.el (hack-local-variables-prop-line, hack-local-variables):
21605 Downcase mode names, as seems to be traditional.
21606 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21608 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21609 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21611 2011-05-25 Julien Danjou <julien@danjou.info>
21613 * textmodes/rst.el (rst-define-level-faces): Do not define face
21614 symbol if it is already defined.
21616 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21618 * play/5x5.el (5x5-new-game, 5x5-randomize):
21619 Reset 5x5-solver-output to nil when a new grid is cast.
21620 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21621 these debugging traces, as defmacro breaks the compiled code.
21623 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21625 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21627 2011-05-24 Leo Liu <sdl.web@gmail.com>
21629 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21630 (vc-bzr-sha1): Adapt.
21632 * sha1.el: Remove. Function `sha1' is now builtin.
21634 * bindings.el: Provide sha1 feature.
21636 2011-05-24 Kenichi Handa <handa@m17n.org>
21638 * mail/sendmail.el: Require `rfc2047'.
21639 (mail-insert-from-field): Do not perform RFC2047 encoding.
21640 (mail-encode-header): New function.
21641 (sendmail-send-it): Set buffer-file-coding-system of the work
21642 buffer to the return value of select-message-coding-system.
21643 Call mail-encode-header.
21645 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21647 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21649 * mail/supercite.el (sc-default-cite-frame):
21650 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21652 2011-05-24 Glenn Morris <rgm@gnu.org>
21654 * progmodes/python.el (brm-menu): Declare.
21656 * emulation/viper.el (viper-set-hooks): Declare.
21658 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21659 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21660 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21661 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21662 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21663 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21665 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21667 Add an :exit-function for completion-at-point.
21669 * minibuffer.el (completion--done): New fun.
21670 (completion--do-completion): Use it. New arg `expect-exact'.
21671 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21672 since completion--do-completion does it for us now.
21673 (minibuffer-force-complete): Use completion--done and
21674 completion--replace. Handle sole-completion case with more care.
21675 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21676 (completion-extra-properties): New var.
21677 (completion-annotate-function): Make obsolete.
21678 (minibuffer-completion-help): Adjust accordingly.
21679 Use completion-list-insert-choice-function.
21680 (completion-at-point, completion-help-at-point):
21681 Bind completion-extra-properties.
21682 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21683 * simple.el (completion-list-insert-choice-function): New var.
21684 (completion-setup-function): Preserve it.
21685 (choose-completion): Pay attention to it, shuffle the code a bit.
21686 (choose-completion-string): New arg `insert-function'.
21688 * textmodes/bibtex.el: Convert to lexical binding.
21689 (bibtex-mode-map): Use completion-at-point.
21690 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21691 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21692 (bibtex-complete): Define as obsolete alias.
21693 (bibtex-complete-internal): Remove.
21694 (bibtex-format-entry): Remove unused sub-group in regexp.
21695 * shell.el (shell--command-completion-data)
21696 (shell-environment-variable-completion):
21697 * pcomplete.el (pcomplete-completions-at-point):
21698 * comint.el (comint--complete-file-name-data): Use :exit-function
21699 instead of completion-table-with-terminator so it also works for
21702 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21704 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21706 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21709 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21711 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21713 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21714 customization variable and implement: If non-nil, auto-fill will
21715 be inhibited while on topic's header line.
21717 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21719 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21720 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21721 always have a solution in grid size = 5 cases.
21722 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21723 (5x5-solver-output, 5x5-log-buffer): New vars.
21724 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21725 Make these variables buffer local to achieve 5x5 multi-session-ness.
21726 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21727 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21728 (5x5-solve-suggest): New funs.
21729 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21730 randomize a grid so that we ensure that there is always a solution.
21731 (5x5-make-random-grid): Allow other movement than flipping.
21733 2011-05-23 Kevin Ryde <user42@zip.com.au>
21735 * emacs-lisp/advice.el (ad-read-advised-function):
21736 Use `function-called-at-point' as the default, if it has
21737 advice and passes PREDICATE.
21739 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21741 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21742 byte-compile-lambda if it's actually a lambda.
21744 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21745 Fix function quoting. Use backquote better.
21747 2011-05-22 Yuanle Song <sylecn@gmail.com>
21749 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21750 matching (Bug#8516).
21752 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21754 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21755 different face (Bug#8178).
21757 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21759 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21760 defface (Bug#8144).
21762 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21764 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21765 funcall as well (bug#8712). Warn when performing those conversions.
21766 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21768 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21770 2011-05-22 Glenn Morris <rgm@gnu.org>
21772 * files.el (hack-local-variables-prop-line): Small simplifications.
21773 (hack-local-variables, hack-local-variables-prop-line):
21774 If MODE-ONLY, return the mode, rather than just `t'.
21776 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21778 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21780 2011-05-21 Glenn Morris <rgm@gnu.org>
21782 * files.el (hack-local-variables-prop-line, hack-local-variables):
21783 If only interested in the mode, don't bother doing the other stuff.
21785 * image-mode.el (image-after-revert-hook):
21786 Redraw all frames on which the image is visible. (Bug#8567)
21788 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21790 * wid-edit.el (widget-checklist-match-inline):
21791 Fix 2011-04-19 change. (Bug#8649)
21793 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21795 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21796 Also allow singlespace after single-letter capitals followed by a dot.
21798 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21799 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21801 2011-05-20 Nix <nix@esperi.org.uk>
21803 * files.el (basic-save-buffer-2):
21804 Fix handling of break-hardlink-on-save with non-existent files.
21806 2011-05-19 Deniz Dogan <deniz@dogan.se>
21808 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21809 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21811 2011-05-19 Glenn Morris <rgm@gnu.org>
21813 * progmodes/f90.el (f90-type-def-re):
21814 Handle "type, bind(c)". (Bug#8691)
21816 * emacs-lisp/autoload.el (batch-update-autoloads):
21817 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21819 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21821 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21822 property for the correct connection in case of multihops.
21824 2011-05-18 Glenn Morris <rgm@gnu.org>
21826 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21827 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21829 Rationalize calendar handling of day and month abbrev-arrays.
21830 * calendar/calendar.el (calendar-customized-p): New function.
21831 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21832 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21834 (calendar-abbrev-length, calendar-day-abbrev-array)
21835 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21836 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21837 Elements may no longer be nil.
21838 (calendar-day-name, calendar-month-name):
21839 Update for changed nature of abbrev arrays.
21840 * calendar/diary-lib.el (diary-name-pattern):
21841 Update for changed nature of abbrev arrays.
21842 (diary-mark-entries-1): Update calendar-make-alist calls.
21843 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21844 * calendar/cal-html.el (cal-html-day-abbrev-array):
21845 Simply inherit from calendar-day-abbrev-array.
21847 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21849 * progmodes/grep.el (grep-mode): Disable default
21850 compilation-directory-matcher setting (bug#8684).
21852 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21854 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21855 instead of "head" and "tail". There were problems with SunOS 5.9,
21856 and it performs better.
21858 2011-05-17 Glenn Morris <rgm@gnu.org>
21860 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21862 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21863 Replace obsolete function.
21865 * shell.el (pcomplete-parse-arguments-function): Declare.
21867 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21868 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21869 (appt-check): Doc fixes.
21870 (appt-disp-window-function, appt-delete-window-function):
21871 Remove needless special case in custom :type.
21872 (appt-display-count): Default to 0, not nil.
21873 (appt-check): Reset appt-display-count to 0, not nil.
21875 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21877 * progmodes/python.el (python-font-lock-keywords):
21878 Add the Python 3.X keyword "nonlocal" (bug#8639).
21880 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21882 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21884 2011-05-16 Kevin Ryde <user42@zip.com.au>
21886 * info-look.el (makefile-automake-mode): New setups, looking in
21887 automake manual, then makefile-mode.
21888 (makefile-mode): Remove automake manual, have it just in
21889 makefile-automake-mode since there's various things different or
21890 not relevant to plain make.
21891 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21892 believe a hypothetical automake-mode would go to makefile-mode,
21893 not the other way around.
21895 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21897 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21898 hunk-end tags (Bug#8672).
21900 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21901 vc-annotate-show-diff-revision-at-line (Bug#8671).
21903 2011-05-14 Glenn Morris <rgm@gnu.org>
21905 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21906 in the middle of an existing one with multiple authors. (Bug#8645)
21907 (change-log-font-lock-keywords): Also handle multiple author lines
21908 with leading tabs. (Bug#8644)
21910 * calendar/appt.el (appt-check): Rename some local variables.
21911 Some simplification/reordering.
21913 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21914 (feedmail-sendmail-f-doesnt-sell-me-out)
21915 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21916 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21917 (feedmail-queue-runner-message-sender): Set :version.
21918 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21919 (bbdb-dwim-net-address, vm-mail): Declare.
21920 (feedmail-binmail-gnulinuxish-template):
21921 Rename from feedmail-binmail-linuxish-template.
21922 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21923 Use insert-buffer-substring.
21925 2011-05-14 Bill Carpenter <bill@carpenter.org>
21927 * mail/feedmail.el (feedmail-patch-level): Increase.
21928 (feedmail-debug): New custom group.
21929 (feedmail-confirm-outgoing-timeout)
21930 (feedmail-sendmail-f-doesnt-sell-me-out)
21931 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21932 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21933 (feedmail-sender-line, feedmail-from-line)
21934 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21935 (feedmail-spray-this-address)
21936 (feedmail-spray-address-fiddle-plex-list)
21937 (feedmail-queue-use-send-time-for-date)
21938 (feedmail-queue-use-send-time-for-message-id)
21939 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21940 (feedmail-buffer-eating-function):
21942 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21943 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21944 (feedmail-message-action-scroll-down): New functions.
21945 (feedmail-queue-directory, feedmail-queue-draft-directory):
21946 Use expand-file-name.
21947 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21948 Remove C-v help entry.
21949 (feedmail-queue-buffer-file-name): New variable.
21950 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21951 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21952 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21953 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21954 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21955 (feedmail-message-action-toggle-spray)
21956 (feedmail-run-the-queue-no-prompts)
21957 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21958 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21959 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21960 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21961 (feedmail-envelope-deducer, feedmail-fiddle-from)
21962 (feedmail-fiddle-sender, feedmail-default-date-generator)
21963 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21964 (feedmail-fiddle-spray-address)
21965 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21966 (feedmail-fiddle-list-of-fiddle-plexes)
21967 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21968 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21969 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21970 Change default. Doc fix.
21971 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21972 (feedmail-binmail-linuxish-template): New constant.
21973 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21974 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21975 (feedmail-send-it): Add debug call.
21976 Use feedmail-queue-buffer-file-name, and
21977 feedmail-send-it-immediately-wrapper.
21978 (feedmail-message-action-send): Add debug call.
21979 Use feedmail-send-it-immediately-wrapper.
21980 (feedmail-queue-express-to-queue): Add debug call.
21981 Run feedmail-queue-express-hook.
21982 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21983 (feedmail-message-action-help-blat):
21984 Rename from feedmail-queue-send-edit-prompt-help-first.
21985 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21986 Check line-endings. Handle errors better.
21987 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21988 Doc fix. Add debug call.
21989 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21990 Use feedmail-queue-send-edit-prompt-inner.
21991 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21992 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21993 from feedmail-queue-send-edit-prompt.
21994 (feedmail-queue-send-edit-prompt-help)
21995 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21996 (feedmail-tidy-up-slug): Add debug call.
21997 Respect feedmail-queue-slug-suspect-regexp.
21998 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21999 (feedmail-dump-message-to-queue): Add debug call.
22000 Expand queue-directory.
22001 (feedmail-dump-message-to-queue): Change message slightly.
22002 Use feedmail-say-chatter.
22003 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22004 (feedmail-send-it-immediately-wrapper): New function.
22005 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22006 Insert empty string rather than newline. Handle full-frame case.
22007 Use catch/throw. Use feedmail-say-chatter.
22008 (feedmail-fiddle-from): Try mail-host-address.
22009 (feedmail-default-message-id-generator): Doc fix.
22010 Bind system-time-locale. Handle missing end.
22011 (feedmail-fiddle-x-mailer): Add debug call.
22012 Handle feedmail-x-mailer-line being nil.
22013 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22014 Add debug call. Use buffer-substring-no-properties.
22015 (feedmail-say-debug, feedmail-say-chatter): New functions.
22016 (feedmail-find-eoh): Give an explicit error.
22018 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22020 * net/newst-treeview.el (newsticker-treeview-face): Change default
22021 family from helvetica to sans.
22022 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22023 etc/images/newsticker.
22025 * net/newst-reader.el (newsticker-feed-face): Change default
22026 family from helvetica to sans.
22028 * net/newst-plainview.el (newsticker-new-item-face)
22029 (newsticker-old-item-face, newsticker-immortal-item-face)
22030 (newsticker-obsolete-item-face, newsticker-date-face)
22031 (newsticker-statistics-face): Change default family from
22033 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22034 etc/images/newsticker.
22036 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22037 (newsticker--process-auto-mark-filter-match): Tell user about
22040 2011-05-13 Didier Verna <didier@xemacs.org>
22042 Common Lisp indentation improvements on defmethod and lambda-lists.
22043 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22045 (lisp-lambda-list-keyword-parameter-indentation)
22046 (lisp-lambda-list-keyword-parameter-alignment)
22047 (lisp-lambda-list-keyword-alignment): New customizable user options.
22048 (lisp-indent-defun-method): Improve docstring.
22049 (extended-loop-p): Fix comment.
22050 (lisp-indent-lambda-list-keywords-regexp): New variable.
22051 (lisp-indent-lambda-list): New function.
22052 (lisp-indent-259): Use it.
22053 (lisp-indent-defmethod): Support for more than one
22054 method qualifier and properly indent methods lambda-lists.
22055 (defgeneric): Provide a missing common-lisp-indent-function property.
22057 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22059 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22060 bounds for the empty string (bug#8667).
22062 2011-05-13 Glenn Morris <rgm@gnu.org>
22064 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22066 * mail/sendmail.el (sendmail-program): Try executable-find first.
22067 (sendmail-send-it): `sendmail-program' cannot be unbound.
22069 * calendar/appt.el (appt-make-list): Simplify.
22070 (appt-time-msg-list): Doc fix.
22071 (appt-check): Change mode-line message at the time of the appointment.
22073 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22075 * progmodes/ld-script.el (ld-script-keywords)
22076 (ld-script-builtins): Update keywords list.
22078 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22080 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22082 * shell.el (shell-completion-vars): New function.
22084 * simple.el (read-shell-command): Use it.
22085 (blink-matching-open): No need for " [...]" in minibuffer-message.
22087 2011-05-12 Glenn Morris <rgm@gnu.org>
22089 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22090 (appt-check): Simplify.
22092 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22094 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22095 literal "/dev/null".
22097 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22099 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22102 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22104 * progmodes/which-func.el (which-function):
22105 Use add-log-current-defun instead of add-log-current-defun-function,
22106 which might not be defined (Bug#8260).
22108 2011-05-12 Glenn Morris <rgm@gnu.org>
22110 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22111 Let byte-compile-initial-macro-environment always take precedence.
22113 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22115 * net/rcirc.el: Add support for SSL/TLS connections.
22116 (rcirc-server-alist): New field `encryption'.
22117 (rcirc): Check `encryption' settings.
22118 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22119 Merge make-local-variable into `set'.
22120 (rcirc--connection-open-p): New function.
22121 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22122 the process is not a network process (e.g. running gnutls-cli).
22123 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22124 Make rcirc-(en|de)code-coding-system local here.
22125 (rcirc-mode): Merge make-local-variable into `set'.
22126 (rcirc-parent-buffer): Make permanent buffer-local.
22127 (rcirc-multiline-minor-mode): Don't do it here.
22128 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22129 there's no server buffer.
22131 2011-05-11 Glenn Morris <rgm@gnu.org>
22133 * newcomment.el (comment-kill): Prefix "unused" local.
22135 * term/w32console.el (get-screen-color): Declare.
22137 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22138 Handle symbol elements of byte-compile-initial-macro-environment.
22140 2011-05-10 Leo Liu <sdl.web@gmail.com>
22142 * bookmark.el (bookmark-bmenu-mode-map):
22143 Bind bookmark-bmenu-search to `/'.
22145 * mail/footnote.el: Convert to utf-8 encoding.
22146 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22147 (Footnote-unicode): New function.
22148 (footnote-style-alist): Add unicode style to the list.
22149 (footnote-style): Doc fix.
22151 2011-05-10 Jim Meyering <meyering@redhat.com>
22153 Fix doubled-word typos.
22154 * international/quail.el (quail-insert-kbd-layout): and and -> and
22155 * kermit.el: and and -> and
22156 * net/ldap.el (ldap-search-internal): to to -> to
22157 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22158 * progmodes/js.el (js-mode): and and -> and
22159 * textmodes/artist.el (artist-move-to-xy): at at -> at
22160 (artist-draw-region-trim-line-endings): if if -> if
22161 And Safetyc -> Safety.
22162 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22164 2011-05-10 Glenn Morris <rgm@gnu.org>
22165 Stefan Monnier <monnier@iro.umontreal.ca>
22167 * files.el (hack-one-local-variable-eval-safep):
22168 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22170 2011-05-10 Glenn Morris <rgm@gnu.org>
22172 * calendar/diary-lib.el (diary-list-entries-hook)
22173 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22174 (diary-nongregorian-marking-hook, diary-list-entries)
22175 (diary-include-other-diary-files, diary-mark-entries)
22176 (diary-mark-included-diary-files): Doc fixes.
22178 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22180 * misc.el: Require tabulated-list.el during compilation.
22182 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22184 * progmodes/compile.el (compilation-start):
22185 Run compilation-filter-hook for the async case too.
22186 (compilation-filter-hook): Doc fix.
22188 2011-05-09 Deniz Dogan <deniz@dogan.se>
22190 * wdired.el: Remove outdated installation comment. Fix usage
22193 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22195 * misc.el: Implement new command `list-dynamic-libraries'.
22196 (list-dynamic-libraries--loaded-only-p): New variable.
22197 (list-dynamic-libraries--refresh): New function.
22198 (list-dynamic-libraries): New command.
22200 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22202 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22203 Fix the ant regexp to handle end-line and end-column info from jikes.
22204 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22205 higher priority to avoid clobbering by gnu.
22207 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22209 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22210 if the face has existing theme settings (Bug#8454).
22212 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22214 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22215 Only match variables declared via `my' or `our' (Bug#8261).
22217 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22218 special file names `.' and `..' (Bug#8259).
22220 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22222 * progmodes/grep.el (grep-mode-font-lock-keywords):
22223 Remove buffer-changing entries.
22224 (grep-filter): New function.
22225 (grep-mode): Add it to compilation-filter-hook.
22227 * progmodes/compile.el (compilation-filter-hook)
22228 (compilation-filter-start): New defvars.
22229 (compilation-filter): Call compilation-filter-hook prior to
22230 updating the process mark.
22232 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22234 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22236 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22238 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22239 mailclient-send-it even if window-system is nil. (Bug#8595)
22241 * term/w32console.el (terminal-init-w32console):
22242 Call get-screen-color and use its output to set the frame
22243 background-mode. (Bug#8597)
22245 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22247 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22248 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22250 (defgeneric, eieio--defmethod): Use them.
22251 (eieio-defgeneric): Remove.
22252 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22254 2011-05-07 Glenn Morris <rgm@gnu.org>
22256 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22257 Use let rather than let*.
22258 (timeclock-find-discrep): Remove unused local.
22260 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22262 * calendar/appt.el (appt-time-msg-list): Doc fix.
22264 2011-05-06 Noah Friedman <friedman@splode.com>
22266 * apropos.el (apropos-print-doc): Only use
22267 emacs-lisp-docstring-fill-column when it is bound to an integer,
22268 per that variable's documentation.
22270 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22272 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22273 and warnings are not silently discarded (e.g. use -d instead of -P).
22275 2011-05-06 Glenn Morris <rgm@gnu.org>
22277 * calendar/appt.el (appt-message-warning-time): Doc fix.
22278 (appt-warning-time-regexp): New option.
22279 (appt-make-list): Respect appt-message-warning-time.
22281 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22283 (diary-add-to-list): Strip comments from the displayed string.
22284 (diary-mode): Set comment-start and comment-end.
22286 * vc/diff-mode.el (smerge-refine-subst): Declare.
22287 (diff-refine-hunk): Don't require smerge-mode when compiling.
22289 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22291 * simple.el (list-processes): Return nil as the docstring says.
22293 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22295 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22297 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22298 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22299 determining of binary transfer. (Bug#7383)
22301 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22303 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22304 Fix port computation bug. (Bug#8618)
22306 2011-05-05 Glenn Morris <rgm@gnu.org>
22308 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22310 * simple.el (shell-dynamic-complete-functions)
22311 (comint-dynamic-complete-functions): Declare.
22313 * net/network-stream.el (gnutls-negotiate):
22314 * simple.el (tabulated-list-print): Fix declarations.
22316 * progmodes/gud.el (syntax-symbol, syntax-point):
22317 Remove unnecessary and incorrect declarations.
22319 * emacs-lisp/check-declare.el (check-declare-scan):
22320 Handle byte-compile-initial-macro-environment in bytecomp.el.
22322 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22324 Fix earlier half-done eieio-defmethod change (bug#8338).
22325 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22326 Streamline and change calling convention.
22327 (defmethod): Adjust accordingly and simplify.
22328 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22329 new eieio--defmethod.
22330 (slot-boundp): Minor CSE simplification.
22332 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22334 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22335 (glasses-make-readable): Use glasses-separate-capital-groups.
22337 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22339 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22340 (warning-series): Doc fix.
22341 (display-warning): Don't try to create the buffer if we just found it.
22343 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22345 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22346 (autoload-find-generated-file): New function.
22347 (generate-file-autoloads): Bind generated-autoload-file to
22349 (update-file-autoloads, update-directory-autoloads):
22350 Use autoload-find-generated-file. If called interactively, prompt for
22351 output file (Bug#7989).
22352 (batch-update-autoloads): Doc fix.
22354 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22356 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22358 2011-05-04 Glenn Morris <rgm@gnu.org>
22360 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22361 function, so it follows changes in calendar-date-style.
22362 (diary-fancy-date-matcher): New function.
22363 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22364 (diary-fancy-font-lock-fontify-region-function):
22365 Use diary-fancy-date-pattern as a function.
22367 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22368 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22370 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22372 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22373 instead of positional arguments. Allow :keylist and :crlfiles
22375 (open-gnutls-stream): Call it.
22377 * net/network-stream.el (network-stream-open-starttls): Adjust to
22378 call `gnutls-negotiate' with :process and :hostname arguments.
22380 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22382 * minibuffer.el (completion--message): New function.
22383 (completion--do-completion, minibuffer-complete)
22384 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22385 (completion--do-completion): Don't ignore completion-auto-help when in
22388 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22389 internal encoding (e.g. tibetan zero is not whitespace).
22390 (global-whitespace-mode): Prefer save-current-buffer.
22391 (whitespace-trailing-regexp): Remove useless save-match-data.
22392 (whitespace-empty-at-bob-regexp): Minor simplification.
22394 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22396 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22398 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22400 * textmodes/ispell.el (ispell-add-per-file-word-list):
22401 Use `concat' to create string for insertion.
22403 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22405 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22406 Avoid open-line which runs post-self-insert-hook.
22407 (bibtex-fill-entry): Remove unused `end' var.
22409 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22411 * textmodes/ispell.el (ispell-add-per-file-word-list):
22412 Protect against `nil' value of `comment-start' (Bug#8579).
22414 2011-05-03 Leo Liu <sdl.web@gmail.com>
22416 * isearch.el (isearch-yank-pop): New command.
22417 (isearch-mode-map): Bind it to `M-y'.
22418 (isearch-forward): Mention it.
22420 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22422 * simple.el (minibuffer-complete-shell-command): Remove.
22423 (minibuffer-local-shell-command-map): Use completion-at-point.
22424 (read-shell-command): Setup completion vars here instead.
22425 (read-expression-map): Bind TAB to symbol completion.
22427 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22428 error directly rather via storing it into `results'.
22430 2011-05-02 Leo Liu <sdl.web@gmail.com>
22432 * vc/diff.el: Fix description.
22434 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22436 * server.el (server-eval-at): New function.
22438 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22440 * net/network-stream.el (open-network-stream): Take a :nowait
22441 parameter and pass it on to `make-network-process'.
22442 (network-stream-open-plain): Ditto.
22444 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22446 * faces.el (face-spec-set-match-display): Don't match toolkit
22447 options on terminal frames.
22449 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22451 * progmodes/pascal.el: Use lexical binding.
22452 (pascal-mode-map): Remove author preferences.
22454 * pcomplete.el (pcomplete-std-complete): Don't abuse
22455 completion-at-point.
22457 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22459 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22460 removing code that has been dead since 1991 or so.
22462 * startup.el (command-line): When warning about "_emacs", use a
22463 delayed warning to allow the user to filter it out.
22465 2011-04-28 Deniz Dogan <deniz@dogan.se>
22467 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22468 user has not joined.
22470 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22472 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22473 aren't any completions at point.
22475 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22477 * subr.el (display-delayed-warnings): New function.
22478 (delayed-warnings-hook): New variable.
22480 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22482 * minibuffer.el (completion-at-point, completion-help-at-point):
22483 Don't presume that a given completion-at-point-function will always
22484 use the same calling convention.
22486 * pcomplete.el (pcomplete-completions-at-point):
22487 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22488 pcomplete-seen is non-nil.
22489 (pcomplete-comint-setup): Also recognize the new comint/shell
22490 completion functions.
22491 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22492 pcomplete-seen is non-nil.
22494 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22496 * calendar/icalendar.el (diary-lib): Add require statement.
22497 (icalendar--create-uid): Read out a uid from a text-property on
22498 the first character in the entry. This allows for code to add its
22499 own uid to the entry.
22500 (icalendar--convert-float-to-ical): Add export of
22501 `diary-float'-entries save for those with the optional DAY
22504 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22506 * subr.el (shell-quote-argument): Use alternate escaping strategy
22507 when we spot a variable reference in a string.
22509 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22511 * cus-start.el (all): Define customization for debug-on-event.
22513 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22515 * subr.el (shell-quote-argument): Escape correctly under Windows.
22517 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22519 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22521 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22523 * net/tramp.el (tramp-process-actions): Add POS argument.
22524 Delete region between POS and (pos).
22526 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22527 Use `nil' position in `tramp-process-actions' call.
22528 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22530 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22531 position in `tramp-process-actions' call.
22533 * net/trampver.el: Update release number.
22535 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22537 * custom.el (defcustom): Obey lexical-binding.
22539 Fix octave-inf completion problems reported by Alexander Klimov.
22540 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22541 Inherit from octave-mode-syntax-table.
22542 (inferior-octave-mode): Set info-lookup-mode.
22543 (inferior-octave-completion-at-point): New function.
22544 (inferior-octave-complete): Use it and completion-in-region.
22545 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22546 comint-filename-completion.
22547 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22548 symbol elements which shouldn't be word elements.
22549 (octave-font-lock-keywords, octave-beginning-of-defun)
22550 (octave-function-header-regexp): Adjust regexps accordingly.
22551 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22553 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22555 * net/gnutls.el (gnutls-errorp): Declare before first use.
22557 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22559 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22560 verify-error, and verify-hostname-error parameters. Check whether
22561 default trustfile exists before going to use it. Add missing
22562 argument to gnutls-message-maybe call. Return value.
22563 Reported by Claudio Bley <claudio.bley@gmail.com>.
22564 (open-gnutls-stream): Add usage example.
22566 * net/network-stream.el (network-stream-open-starttls): Give host
22567 parameter to `gnutls-negotiate'.
22568 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22569 * subr.el (shell-quote-argument): Escape correctly under Windows.
22571 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22573 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22574 Use correct match group (bug#8438).
22576 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22578 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22579 (package-menu--generate): New arg specifying packages to show.
22580 (package-menu-refresh, package-menu-execute, list-packages):
22582 (package-show-package-list): New function, replacing deleted
22583 package--list-packages (renamed because it is non-internal).
22585 * finder.el (finder-list-matches): Use package-show-package-list
22586 instead of deleted package--list-packages.
22588 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22589 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22590 (vc-annotate-mode-map): Bind it to RET.
22592 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22594 * progmodes/etags.el (next-file): Don't use set-buffer to change
22595 buffers (Bug#8478).
22597 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22599 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22601 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22602 (apropos-accumulator): Doc fix.
22603 (apropos-function, apropos-macro, apropos-command)
22604 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22605 (apropos-plist): Add face property.
22606 (apropos-symbols-internal): Fix indentation.
22607 (apropos-print): Simplify help, and recognize apropos-multi-type.
22608 (apropos-print-doc): Use button-type-get to extract the button's
22609 face property. Fill docstring (Bug#8352).
22611 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22613 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22615 * play/mpuz.el (mpuz-silent): Doc fix.
22616 (mpuz-mode-map): Use mapc.
22617 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22618 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22619 Fix typos in docstrings.
22621 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22622 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22624 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22626 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22628 * minibuffer.el (completion--do-completion): Avoid the "Next char
22629 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22631 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22632 mouse-2 into unread-command-events, it is interpreted correctly.
22634 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22635 (image-toggle-display): Doc fix.
22637 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22639 * textmodes/page.el (what-page): Use line-number-at-pos to
22640 calculate line number (Bug#6825).
22642 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22644 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22645 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22646 Pass argument NO-DEFAULT to `find-tag-interactive'.
22648 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22650 Lexical-binding cleanup.
22652 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22653 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22654 * progmodes/ada-prj.el (ada-prj-initialize-values)
22655 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22656 (ada-prj-show-value):
22657 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22658 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22659 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22660 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22661 * progmodes/bug-reference.el (bug-reference-push-button):
22662 * progmodes/fortran.el (fortran-line-length):
22663 * progmodes/glasses.el (glasses-change):
22664 * progmodes/octave-mod.el (octave-fill-paragraph):
22665 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22666 (python-pdbtrack-grub-for-buffer, python-sentinel):
22667 * progmodes/sql.el (sql-save-connection):
22668 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22669 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22670 Mark unused parameters.
22672 * progmodes/compile.el (compilation--flush-directory-cache)
22673 (compilation--flush-parse, compile-internal): Mark unused parameters.
22674 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22675 (compilation-next-error-function): Remove unused variable `timestamp'.
22677 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22678 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22680 * progmodes/dcl-mode.el (dcl-end-of-command):
22681 Remove unused variable `start'.
22682 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22683 (dcl-option-value-basic, dcl-option-value-offset)
22684 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22685 Mark unused parameters.
22686 (dcl-save-local-variable): Remove unused variable `val'.
22689 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22690 Mark unused parameters.
22691 (delphi-ignore-changes): Move before first use.
22692 (delphi-charset-token-at): Remove unused variable `start'.
22693 (delphi-else-start): Remove unused variable `if-count'.
22694 (delphi-comment-block-start, delphi-comment-block-end):
22695 Remove unused variable `kind'.
22696 (delphi-indent-line): Remove unused variable `new-point'.
22698 * progmodes/ebrowse.el (ebrowse-files-list)
22699 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22700 Mark unused parameters. Don't quote `lambda'.
22701 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22702 Don't quote `lambda'.
22703 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22704 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22705 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22706 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22707 Use `ignore-errors'.
22708 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22709 (ebrowse-view/find-file-and-search-pattern)
22710 (ebrowse-view/find-member-declaration/definition):
22711 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22712 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22713 Rename parameter PREFIX-ARG to PREFIX.
22714 (ebrowse-tags-read-name): Remove unused variables `start' and
22716 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22719 * progmodes/etags.el (local-find-tag-hook): Declare.
22720 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22721 Mark unused parameters.
22723 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22724 (executable-interpret): Mark unused parameter.
22726 * progmodes/flymake.el (flymake-process-sentinel)
22727 (flymake-after-change-function)
22728 (flymake-create-temp-with-folder-structure)
22729 (flymake-get-include-dirs-dot): Mark unused parameters.
22730 (flymake-safe-delete-directory): Remove unused variable `err'.
22732 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22733 (speedbar-timer-fn, speedbar-line-text)
22734 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22735 (speedbar-center-buffer-smartly): Declare functions.
22736 (gdb-find-watch-expression): Remove unused variable `array'.
22737 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22738 (gdb-starting): Mark unused parameters.
22739 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22740 (gdb-table-string): Remove unused variable `res'.
22741 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22742 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22743 (gdb-display-buffer): Remove unused variable `cur-size'.
22745 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22746 allow lexical-binding compilation.
22747 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22748 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22749 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22750 Mark unused parameters.
22751 (gud-gdb-marker-filter): Remove unused variable `match'.
22752 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22753 lambda expressions and funcall them, instead of using `fset'.
22755 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22756 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22758 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22759 variable `header-beg'; use `let'.
22761 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22762 `restart', `last-sexp' and `at-do'.
22764 * progmodes/js.el (js--debug): Mark unused parameter.
22765 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22766 (js--splice-into-items): Remove unused variable `item'.
22767 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22769 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22770 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22771 (makefile-complete): Remove unused variable `try'.
22772 (makefile-fill-paragraph, makefile-match-function-end):
22773 Mark unused parameters.
22775 * progmodes/octave-inf.el (inferior-octave-complete):
22776 Remove unused variable `proc'.
22777 (inferior-octave-output-digest): Mark unused parameter.
22779 * progmodes/perl-mode.el (perl-calculate-indent):
22780 Remove unused variable `err'.
22782 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22783 (prolog-indent-line): Mark unused parameters.
22784 (prolog-indent-line): Remove unused variable `beg'.
22786 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22787 (reporter-dont-compact-list): Declare.
22789 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22790 Remove unused variable `char'.
22791 (sh-debug): Mark unused parameter.
22792 (sh-get-indent-info): Remove unused variable `start'.
22793 (sh-calculate-indent): Remove unused variable `var'.
22795 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22796 (simula-electric-keyword): Remove unused variable `null'.
22797 (simula-search-backward, simula-search-forward): Remove unused
22798 variables `begin' and `end'.
22800 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22801 Remove unused variable `pos'.
22802 (vera-electric-tab, vera-comment-uncomment-region):
22803 Mark unused parameters.
22804 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22806 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22808 * emacs-lisp/package.el (package--builtins, package-alist)
22809 (package-load-descriptor, package-built-in-p, package-activate)
22810 (define-package, package-installed-p)
22811 (package-compute-transaction, package-buffer-info)
22812 (package--push): Doc fix. Distinguish more clearly between
22813 version strings and version lists.
22815 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22817 Lexical-binding cleanup.
22819 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22820 (5x5-make-mutate-best):
22821 * play/fortune.el (fortune-in-buffer):
22822 * play/gomoku.el (gomoku-init-display):
22823 * play/solitaire.el (solitaire, solitaire-do-check):
22824 * play/tetris.el (tetris-default-update-speed-function):
22825 Mark unused parameters.
22827 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22828 (bubbles--shift): Remove unused variable `char-org'.
22829 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22830 (bubbles--show-images): Remove unused variable `char'.
22832 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22833 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22834 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22835 (decipher-analyze-buffer): Use ?\s.
22836 (decipher-make-checkpoint): Remove unused variable `mapping'.
22838 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22840 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22841 Remove unused variable `result'; use `let'.
22843 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22844 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22845 (gametree-children-shown-p, gametree-compute-reduced-score):
22846 Use `ignore-errors'.
22848 * play/handwrite.el (ps-lpr-switches): Declare.
22849 (handwrite): Remove unused variables `pmin' and `lastp'.
22851 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22853 * play/landmark.el (landmark-init-display)
22854 (landmark-update-naught-weights): Mark unused parameters.
22855 (landmark-y): Remove unused variable `noise'. Simplify.
22856 (landmark-human-plays): Remove unused variable `score'.
22858 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22859 (mpuz-try-proposal): Remove unused variable `game'.
22861 * play/zone.el (life-patterns): Declare.
22863 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22865 * vc/vc.el (ediff-vc-internal): Declare function.
22867 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22869 * shell.el: Use lexical-binding and std completion UI.
22870 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22871 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22872 comint-preoutput-filter-functions rather than on
22873 comint-output-filter-functions.
22874 (shell-command-completion, shell--command-completion-data)
22875 (shell-filename-completion, shell-environment-variable-completion)
22876 (shell-c-a-p-replace-by-expanded-directory): New functions.
22877 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22878 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22879 (shell-dynamic-complete-environment-variable): Use them.
22880 (shell-dynamic-complete-as-environment-variable)
22881 (shell-dynamic-complete-as-command): Remove.
22882 (shell-match-partial-variable): Match past point.
22883 * comint.el: Clean up use of completion-at-point-functions.
22884 (comint-completion-at-point): New function.
22885 (comint-mode): Use it completion-at-point-functions.
22886 (comint-dynamic-complete): Make it obsolete.
22887 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22888 (comint-c-a-p-replace-by-expanded-history): New function.
22889 (comint-dynamic-complete-functions)
22890 (comint-replace-by-expanded-history): Use it.
22891 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22892 termination strings. Try harder to avoid second try-completion.
22893 (completion-in-region-mode-map): Disable bindings that don't work yet.
22895 * comint.el: Use lexical-binding. Require CL.
22896 (comint-dynamic-complete-functions): Use comint-filename-completion.
22897 (comint-completion-addsuffix): Tweak custom type.
22898 (comint-filename-completion, comint--common-suffix)
22899 (comint--common-quoted-suffix, comint--table-subvert)
22900 (comint--complete-file-name-data): New functions.
22901 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22902 (comint-dynamic-list-filename-completions): Use them.
22903 (comint-dynamic-simple-complete): Make obsolete.
22905 * minibuffer.el (completion-in-region-mode):
22906 Keep completion-in-region-mode--predicate global.
22907 (completion-in-region--postch):
22908 Assume completion-in-region-mode--predicate is not null.
22910 * progmodes/flymake.el (flymake-start-syntax-check-process):
22911 Obey `dir'. Simplify.
22913 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22914 we're in VC after all.
22916 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22918 * vc/vc.el (vc-diff-build-argument-list-internal)
22919 (vc-version-ediff, vc-ediff): New commands.
22920 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22922 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22924 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22927 * obsolete/erc-hecomplete.el: Make obsolete.
22928 * obsolete/: Standardize obsolescence info in the header.
22930 2011-04-20 Glenn Morris <rgm@gnu.org>
22932 * calendar/solar.el (solar-horizontal-coordinates):
22933 Use the longitude argument rather than `calendar-longitude'.
22934 (solar-date-next-longitude): Remove unused locals.
22936 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22938 * whitespace.el: New version 13.2.1.
22940 2011-04-20 felix <EmacsWiki> (tiny change)
22942 * whitespace.el (global-whitespace-mode): Keep highlight when
22943 switching between major modes on a file.
22945 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22947 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22948 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22949 multi-line comments as well.
22951 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22953 Lexical-binding cleanup.
22955 * arc-mode.el (archive-mode-revert):
22956 * cmuscheme.el (scheme-interactively-start-process):
22957 * custom.el (custom-initialize-delay):
22958 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22959 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22960 * emacs-lock.el (emacs-lock-clear-sentinel):
22961 * ezimage.el (defezimage):
22962 * follow.el (follow-avoid-tail-recenter):
22963 * fringe.el (set-fringe-mode-1):
22964 * generic-x.el (bat-generic-mode-compile):
22965 * help-mode.el (help-info-variable, help-do-xref)
22966 (help-mode-revert-buffer):
22967 * help.el (view-emacs-todo):
22968 * iswitchb.el (iswitchb-completion-help):
22969 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22970 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22971 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22972 * locate.el (locate-update):
22973 * longlines.el (longlines-encode-region)
22974 (longlines-after-change-function):
22975 * outline.el (outline-isearch-open-invisible):
22976 * ps-def.el (declare-function, charset-dimension, char-width)
22978 * ps-mule.el (ps-mule-plot-string):
22979 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22980 (recentf-edit-list-select, recentf-edit-list-validate)
22981 (recentf-open-files-action):
22982 * rect.el (delete-whitespace-rectangle-line)
22983 (rectangle-number-line-callback):
22984 * register.el (window-configuration-to-register)
22985 (frame-configuration-to-register):
22986 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22987 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22988 (xselect-convert-to-targets, xselect-convert-to-delete)
22989 (xselect-convert-to-filename, xselect-convert-to-charpos)
22990 (xselect-convert-to-lineno, xselect-convert-to-colno)
22991 (xselect-convert-to-os, xselect-convert-to-host)
22992 (xselect-convert-to-user, xselect-convert-to-class)
22993 (xselect-convert-to-name, xselect-convert-to-integer)
22994 (xselect-convert-to-atom, xselect-convert-to-identity):
22995 * subr.el (declare, ignore, process-kill-without-query)
22996 (text-clone-maintain):
22997 * terminal.el (te-get-char, te-tic-sentinel):
22998 * tool-bar.el (tool-bar-make-keymap):
22999 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23000 * type-break.el (type-break-mode, type-break-noninteractive-query):
23001 * view.el (View-back-to-mark):
23002 * wid-browse.el (widget-browse-action, widget-browse-widget)
23003 (widget-browse-widgets, widget-browse-sexp):
23004 * widget.el (define-widget-keywords):
23005 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23006 Mark unused parameters.
23008 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23009 (align-areas): Remove unused variable `look'.
23010 (align-region): Remove unused variables `real-end' and `pos-list'.
23012 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23014 * bindings.el (mode-line-modified, mode-line-remote):
23015 Mark unused parameters.
23016 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23018 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23019 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23021 * comint.el (comint-history-isearch-pop-state)
23022 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23023 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23024 (comint-substitute-in-file-name): Doc fix.
23026 * completion.el (cmpl-statistics-block): Mark unused parameter.
23027 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23028 (save-completions-to-file, load-completions-from-file):
23029 Remove unused local variable `e'.
23031 * composite.el (compose-chars): Remove unused variable `len'.
23032 (lgstring-insert-glyph): Remove unused variable `g'.
23033 (compose-glyph-string): Remove unused variables `ascent',
23034 `descent', `lbearing' and `rbearing'.
23035 (compose-glyph-string-relative): Remove unused variables
23036 `lbearing', `rbearing' and `wadjust'.
23037 (compose-gstring-for-graphic): Remove unused variables `header',
23038 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23039 (compose-gstring-for-terminal): Remove unused variables `header'
23040 and `nchars'. Use `let', not `let*'.
23042 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23043 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23044 (Custom-buffer-done, custom-buffer-create-internal)
23045 (custom-browse-visibility-action, custom-browse-group-tag-action)
23046 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23047 (widget-magic-mouse-down-action, custom-toggle-parent)
23048 (custom-add-parent-links, custom-toggle-hide-variable)
23049 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23050 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23051 (custom-face-menu-create, custom-variable-menu-create, get)
23052 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23053 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23054 (customize-apropos): Remove unused variable `tests'.
23055 (custom-group-value-create): Remove unused variable `hidden-p'.
23056 (sort-fold-case): Declare.
23058 * cus-theme.el (custom-reset-standard-faces-list)
23059 (custom-reset-standard-variables-list): Declare.
23060 (customize-create-theme, custom-theme-revert, custom-theme-write)
23061 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23062 Mark unused parameters.
23064 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23066 * delim-col.el (delimit-columns-max): Move defvar before first use.
23068 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23069 (describe-char): Don't quote `lambda'. Mark unused parameter.
23071 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23072 (auto-insert): Declare.
23073 (desktop-restore-file-buffer): Rename desktop-* parameters;
23075 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23076 (desktop-buffer): Rename desktop-* parameters.
23078 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23079 (dframe-reposition-frame-xemacs, dframe-help-echo)
23080 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23081 Mark unused parameters.
23083 * dired-aux.el (backup-extract-version-start, overwrite-query)
23084 (overwrite-backup-query, rename-regexp-query)
23085 (rename-non-directory-query): Declare.
23086 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23087 (dired-add-entry): Remove unused variable `orig-file-name'.
23088 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23089 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23090 `dired-copy-preserve-time' directly.
23091 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23092 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23094 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23095 (dired-virtual-revert, dired-make-relative-symlink):
23096 Mark unused parameters.
23097 (manual-program): Declare.
23098 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23099 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23100 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23102 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23104 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23106 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23109 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23111 * electric.el (Electric-command-loop): Rename parameter
23112 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23114 * expand.el (expand-in-literal): Remove unused variable `here'.
23116 * facemenu.el (facemenu-add-new-color):
23117 Remove unused variable `docstring'.
23119 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23120 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23121 (face-attr-construct): Mark unused parameter. Doc fix.
23122 (read-color): Remove unused variable `hex-string'.
23124 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23125 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23126 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23127 (display-buffer-other-frame): Remove unused variable `old-window'.
23128 (kill-buffer-hook): Declare.
23129 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23130 Mark unused parameters.
23131 (after-find-file): Pass 1 to `auto-save-mode', not t.
23133 * files-x.el (auto-insert): Declare.
23134 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23136 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23137 variable `buf'. Mark unused parameter.
23138 (find-lisp-insert-directory): Mark unused parameter.
23140 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23141 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23142 (format-common-tail): Remove, unused.
23143 (format-deannotate-region): Remove unused variable `loc'.
23144 (format-annotate-region): Remove unused variable `p'.
23145 (format-annotate-single-property-change): Remove unused variables
23146 `default' and `tail'.
23148 * forms.el (read-file-filter): Declare.
23149 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23151 * frame.el (frame-creation-function-alist): Mark unused parameter.
23152 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23154 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23155 Remove unused parameters.
23156 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23157 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23159 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23160 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23161 (hfy-prepare-tag-map): Mark unused parameters.
23162 (htmlfontify-buffer): Use `called-interactively-p'.
23164 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23165 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23166 (ibuffer-do-occur): Mark unused parameters.
23167 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23168 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23170 * ibuffer.el: Don't quote `lambda'.
23171 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23172 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23173 Mark unused parameters.
23175 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23176 (ido-completing-read): Mark unused parameters.
23177 (ido-copy-current-word): Mark unused parameters;
23178 remove unused variable `name'.
23179 (ido-sort-merged-list): Remove unused parameter `dirs'.
23181 * ielm.el (ielm-input-sender): Mark unused parameter.
23182 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23183 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23184 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23185 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23186 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23188 * image-dired.el (image-dired-display-thumbs): Remove unused
23189 variables `curr-file' and `count'.
23190 (image-dired-remove-tag): Remove unused variable `start'.
23191 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23192 variable `curr-file'
23193 (image-dired-rotate-original): Remove unused variable `temp-file'.
23194 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23195 Remove unused variable `file'.
23196 (image-dired-gallery-generate): Remove unused variable `curr'.
23197 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23199 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23201 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23203 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23205 * isearch.el (minibuffer-history-symbol): Declare.
23206 (isearch-edit-string): Remove unused variable `err'.
23207 (isearch-message-prefix, isearch-message-suffix):
23208 Mark unused parameters.
23210 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23212 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23214 * makesum.el (double-column): Remove unused variable `cnt'.
23216 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23217 (ido-ignore-item-temp-list): Declare.
23219 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23220 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23221 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23222 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23225 * mouse-sel.el (mouse-extend-internal):
23226 Remove unused variable `orig-window-frame'.
23228 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23229 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23230 Move declarations before first use.
23231 (pcomplete-opt): Mark unused parameters; doc fix.
23233 * proced.el (proced-revert): Mark unused parameter.
23234 (proced-send-signal): Remove unused variable `err'.
23236 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23237 Rename parameter PREFIX-ARG to ARG.
23238 (ps-basic-plot-string, ps-basic-plot-whitespace):
23239 Mark unused parameters.
23241 * replace.el (replace-count): Define.
23242 (occur-revert-function): Mark unused parameters.
23243 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23244 (isearch-case-fold-search, isearch-string): Declare.
23245 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23246 bind `case-fold-search'. Remove unused variables `beg' and `end',
23248 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23249 COUNT and bind `replace-count'.
23250 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23253 * savehist.el (print-readably, print-string-length): Declare.
23255 * shadowfile.el (shadow-expand-cluster-in-file-name):
23256 Remove unused variable `cluster'.
23257 (shadow-copy-file): Remove unused variable `i'.
23258 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23259 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23260 (shadow-define-literal-group, shadow-define-regexp-group)
23261 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23263 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23264 (shell): Use `called-interactively-p'.
23265 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23267 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23268 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23269 (delete-backward-char): Remove unused variable `ocol'.
23270 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23271 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23272 (event-apply-hyper-modifier, event-apply-shift-modifier)
23273 (event-apply-control-modifier, event-apply-meta-modifier):
23274 Mark unused parameters.
23275 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23276 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23278 * speedbar.el (speedbar-ignored-directory-expressions)
23279 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23280 (speedbar-find-file, speedbar-dir-follow)
23281 (speedbar-directory-buttons-follow, speedbar-tag-find)
23282 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23283 (speedbar-buffers-line-directory, speedbar-buffer-click):
23284 Mark unused parameters.
23285 (speedbar-tag-file): Remove unused variable `mode'.
23286 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23288 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23290 * talk.el (talk): Remove unused variable `display'.
23292 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23293 (tar-write-region-annotate): Mark unused parameter.
23295 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23296 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23297 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23298 warning by another.
23300 * time-stamp.el (time-stamp-string-preprocess):
23301 Remove unused variable `require-padding'.
23303 * tree-widget.el (widget-glyph-enable): Declare.
23304 (tree-widget-action): Mark unused parameter.
23306 * w32-fns.el (x-get-selection): Mark unused parameter.
23307 (autoload-make-program, generated-autoload-file): Declare.
23309 * wdired.el (wdired-revert): Mark unused parameters.
23310 (wdired-xcase-word): Remove unused variable `err'.
23312 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23313 (whitespace-help-scroll): Remove unused variable `data-help'.
23315 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23316 (widget-image-insert, widget-after-change, default)
23317 (widget-default-format-handler, widget-default-notify)
23318 (widget-default-prompt-value, widget-info-link-action)
23319 (widget-url-link-action, widget-function-link-action)
23320 (widget-variable-link-action, widget-file-link-action)
23321 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23322 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23323 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23324 (widget-insert-button-action, widget-delete-button-action, visibility)
23325 (widget-documentation-link-action, widget-documentation-string-action)
23326 (widget-const-prompt-value, widget-regexp-match, symbol)
23327 (widget-coding-system-prompt-value)
23328 (widget-key-sequence-value-to-external, sexp)
23329 (widget-sexp-value-to-internal, character, vector, cons)
23330 (widget-choice-prompt-value, widget-boolean-prompt-value)
23331 (widget-color--choose-action): Mark unused parameters.
23332 (widget-item-match-inline, widget-choice-match-inline)
23333 (widget-checklist-match, widget-checklist-match-inline)
23334 (widget-group-match): Rename parameter VALUES to VALS.
23335 (widget-field-value-set): Remove unused variable `size'.
23336 (widget-color-action): Remove unused variables `value' and `start'.
23338 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23339 variable `dir'. Doc fix.
23340 (windmove-find-other-window): Don't pass it.
23342 * window.el (count-windows): Mark unused parameter.
23343 (bw-adjust-window): Remove unused variable `err'.
23345 * woman.el (woman-file-name): Remove unused variable `default'.
23346 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23347 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23348 (global-font-lock-mode): Declare.
23349 (woman-decode-region): Mark unused parameter.
23350 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23352 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23353 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23354 (x-dnd-handle-moz-url): Remove unused variable `title'.
23355 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23357 * xml.el (xml-parse-tag, xml-parse-attlist):
23358 Remove unused variable `pos'.
23360 2011-04-19 Glenn Morris <rgm@gnu.org>
23362 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23363 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23364 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23365 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23366 * calendar/cal-html.el (cal-html-insert-minical):
23367 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23368 (calendar-mark-date-pattern):
23369 Prefix "unused" locals.
23371 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23372 optional argument `style'.
23374 * calendar/appt.el (appt-make-list):
23375 * calendar/cal-china.el (calendar-chinese-date-string):
23376 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23377 (diary-hebrew-yahrzeit):
23378 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23379 * calendar/calendar.el (calendar-generate-window):
23380 * calendar/time-date.el (time-to-days):
23381 Remove unused local variables.
23383 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23385 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23386 glyphless-char-display table.
23387 (tabulated-list-glyphless-char-display): New var.
23389 2011-04-18 Sam Steingold <sds@gnu.org>
23391 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23392 to acknowledgments.
23394 2011-04-17 Glenn Morris <rgm@gnu.org>
23396 * calendar/diary-lib.el (diary-sexp-entry):
23397 * calendar/holidays.el (holiday-sexp):
23398 Set debug-on-error rather than the removed stack-trace-on-error.
23400 2011-04-16 Glenn Morris <rgm@gnu.org>
23402 * progmodes/f90.el: Use lexical-binding.
23403 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23405 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23407 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23408 (mail-mode): Setup mailalias completion here instead.
23409 * mail/mailalias.el: Use lexical-binding.
23410 (pattern, mailalias-done): Declare dynamic.
23411 (mail-completion-at-point-function): New function, from mail-complete.
23412 (mail-complete): Use it.
23413 (mail-completion-expand): New function.
23414 (mail-get-names): Use it.
23415 (mail-directory, mail-directory-process, mail-directory-stream):
23416 Don't use `pattern' for lexically bound arg.
23418 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23420 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23421 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23422 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23424 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23425 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23426 (byte-interactive-p): Define them again, for use when inlining
23429 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23431 * loadup.el: Use `string-to-number', not `string-to-int'.
23433 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23435 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23436 gud-gdb-complete-command.
23437 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23438 (gud-gdb-completion-at-point): New function.
23439 (gud-gdb-completions): Remove.
23441 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23443 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23444 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23445 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23446 whether `executable-find' is bound.
23448 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23450 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23452 * minibuffer.el (completion-in-region-mode-predicate)
23453 (completion-in-region-mode--predicate): New vars.
23454 (completion-in-region, completion-in-region--postch)
23455 (completion-in-region-mode): Use them.
23456 (completion--capf-wrapper): Also return the hook function.
23457 (completion-at-point, completion-help-at-point):
23458 Adjust and provide a predicate.
23460 Preserve arg names for advice of subr and lexical functions (bug#8457).
23461 * help-fns.el (help-function-arglist): Consolidate the subr and
23462 new-byte-code cases. Add argument `preserve-names' to extract names
23463 from the docstring when needed.
23464 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23465 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23466 (ad-arglist): Use help-function-arglist's new arg.
23467 (ad-definition-type): Use cond.
23469 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23471 * autorevert.el (auto-revert-handler):
23472 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23473 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23474 Don't quote lambda.
23476 * image-mode.el (image-transform-set-scale):
23477 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23479 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23481 * net/network-stream.el (network-stream-open-starttls): Only do
23482 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23483 Upgrades via gnutls-cli are too slow to be done opportunistically.
23485 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23487 * dframe.el (dframe-current-frame): Remove spurious quote.
23489 2011-04-12 Glenn Morris <rgm@gnu.org>
23491 * calendar/cal-tex.el (cal-tex-end-document):
23492 Try to automatically use latin1 input if needed.
23494 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23495 Don't try to cons a mark onto an empty element.
23497 2011-04-11 Leo Liu <sdl.web@gmail.com>
23499 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23501 (ido-kill-buffer-at-head): Support killing virtual buffers.
23503 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23505 * minibuffer.el (completion-show-inline-help): New var.
23506 (completion--do-completion, minibuffer-complete)
23507 (minibuffer-force-complete, minibuffer-complete-word):
23508 Inhibit minibuffer messages if completion-show-inline-help is nil.
23510 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23511 to avoid interference from inline help (Bug#5849).
23513 2011-04-10 Leo Liu <sdl.web@gmail.com>
23515 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23518 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23520 * image-mode.el (image-toggle-display-image): Signal an error if
23522 (image-transform-mode, image-transform-resize)
23523 (image-transform-set-rotation): Doc fix.
23524 (image-transform-set-resize): Delete.
23525 (image-transform-set-scale, image-transform-fit-to-height)
23526 (image-transform-fit-to-width): Handle image-toggle-display-image
23527 and image-transform-resize directly.
23529 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23531 * doc-view.el (doc-view-fit-width-to-window)
23532 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23533 New functions for fitting the shown image to the Emacs window size.
23534 (doc-view-mode-map): Add bindings for the new functions.
23536 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23538 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23539 Fix typo in docstring.
23541 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23543 * files.el (file-size-human-readable): Produce one digit after
23544 decimal, like "ls -lh" does.
23546 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23547 the file size representation.
23549 * simple.el (list-processes): If async subprocesses are not
23550 available, error out with a clear error message.
23552 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23554 * help.el (help-form-show): New function, to be called from C.
23555 Put help-form output in a buffer named differently than *Help*.
23557 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23559 * files.el (file-size-human-readable): New function.
23561 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23562 computing the representation inline. Don't require `cl'.
23564 2011-04-08 Glenn Morris <rgm@gnu.org>
23566 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23568 * net/browse-url.el (browse-url-firefox):
23569 Test system-type, not system-configuration.
23571 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23572 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23573 Use log-edit-empty-buffer-p. (Bug#7598)
23575 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23576 (rlogin-mode-map): Initialize in the defvar.
23577 (rlogin): Use ignore-errors.
23579 * replace.el (occur-mode-map): Some fixes for menu items.
23581 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23583 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23585 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23587 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23588 issuing unused warnings.
23590 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23593 * simple.el: Lisp reimplement of list-processes. Based on an
23594 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23595 (process-menu-mode): New major mode.
23596 (list-processes--refresh, list-processes):
23597 (process-menu-visit-buffer): New functions.
23599 * files.el (save-buffers-kill-emacs): Don't assume any return
23600 value of list-processes, which is undocumented anyway.
23602 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23604 * emacs-lisp/tabulated-list.el: New file.
23606 * emacs-lisp/package.el: Use Tabulated List mode.
23607 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23608 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23609 table format using Tabulated List mode variables.
23610 (package--push): New macro, replacing package-list-maybe-add.
23611 (package-menu--generate): Use package--push. Renamed from
23612 package--generate-package-list.
23613 (package-menu-refresh, list-packages): Use it.
23614 (package-menu--print-info): Rename from package-print-package.
23615 Return insertion data instead of inserting it directly.
23616 (package-menu-describe-package, package-menu-execute):
23617 Use tabulated-list-get-id.
23618 (package-menu-mark-delete, package-menu-mark-install)
23619 (package-menu-mark-unmark, package-menu-backup-unmark)
23620 (package-menu-mark-obsolete-for-deletion):
23621 Use tabulated-list-put-tag.
23622 (package--list-packages, package-menu-revert)
23623 (package-menu-get-package, package-menu-get-version)
23624 (package-menu-sort-by-column): Functions deleted.
23625 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23626 (package-menu--status-predicate, package-menu--version-predicate)
23627 (package-menu--name-predicate)
23628 (package-menu--description-predicate): Handle arguments in the
23629 Tabulated List format.
23630 (package-list-packages-no-fetch): Call list-packages.
23632 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23634 * files.el (after-find-file-from-revert-buffer): Remove variable.
23635 (after-find-file): Don't bind it.
23636 (revert-buffer-in-progress-p): New variable.
23637 (revert-buffer): Bind it.
23638 Pass nil for `after-find-file-from-revert-buffer'.
23640 * saveplace.el (save-place-find-file-hook): Use new variable
23641 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23643 2011-04-06 Glenn Morris <rgm@gnu.org>
23645 * Makefile.in (AUTOGEN_VCS): New variable.
23646 (autoloads): Use $AUTOGEN_VCS.
23648 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23649 * calendar/calendar.el (calendar-mode-map):
23650 Check for toolkit scroll bars. (Bug#8305)
23652 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23654 * minibuffer.el (completion-in-region--postch)
23655 (completion-in-region-mode): Remove unnecessary messages.
23657 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23659 * font-lock.el (font-lock-refresh-defaults):
23660 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23661 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23663 * info.el (Info-directory-list, Info-read-node-name-2)
23664 (Info-split-parameter-string): Doc fixes.
23665 (Info-virtual-nodes): Reflow docstring.
23666 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23667 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23668 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23669 Fix typos in docstrings.
23670 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23671 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23672 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23673 (Info-restore-desktop-buffer): Mark unused parameters.
23674 (Info-directory-find-file, Info-directory-find-node)
23675 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23676 (Info-virtual-index-find-node, Info-apropos-find-file)
23677 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23678 Mark unused parameters; fix typos in docstrings.
23679 (Info-virtual-index): Remove unused local variable `nodename'.
23681 2011-04-05 Deniz Dogan <deniz@dogan.se>
23683 * net/rcirc.el: Update my e-mail address.
23684 (rcirc-mode-map): Remove M-o binding.
23686 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23688 * startup.el (command-line): Save the cursor's theme-face
23689 directly, instead of using face-override-spec.
23691 * custom.el (load-theme): Minor optimization in assigning faces.
23693 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23695 * help-fns.el (describe-variable): Complete all variables having
23696 documentation, including keywords.
23697 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23699 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23701 Convert to lexical-binding.
23703 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23704 (bs--get-marked-string, bs--get-modified-string)
23705 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23706 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23707 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23709 * ehelp.el (electric-help-execute-extended)
23710 (electric-help-ctrl-x-prefix):
23711 * hexl.el (hexl-revert-buffer-function):
23712 * linum.el (linum-after-change, linum-after-scroll):
23713 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23715 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23717 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23724 * epg.el: Use lexical binding.
23726 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23728 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23730 * textmodes/flyspell.el (flyspell-word): Recognize default
23731 dictionary case for flyspell-mark-duplications-exceptions.
23732 Use regexp matching for languages.
23733 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23734 default dictionary (Bug#7926).
23736 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23738 * emacs-lisp/package.el (package--with-work-buffer):
23739 Recognize https URLs.
23741 * net/network-stream.el: Move from gnus/proto-stream.el.
23742 Change prefix to network-stream throughout.
23743 (open-protocol-stream): Merge into open-network-stream, leaving
23744 open-protocol-stream as an alias. Handle nil BUFFER args.
23746 * subr.el (open-network-stream): Move to net/network-stream.el.
23748 2011-04-02 Glenn Morris <rgm@gnu.org>
23750 * find-dired.el (find-exec-terminator): New option.
23751 (find-ls-option): Test for -ls support.
23752 (find-ls-subdir-switches): Test for -b in find-ls-option.
23753 (find-dired, find-grep-dired): Doc fixes.
23754 (find-dired): Use find-exec-terminator.
23756 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23757 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23758 (find-name-arg): Remove purecopy.
23760 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23761 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23762 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23763 accordingly. Don't add the null-device if not needed.
23765 * files.el (save-some-buffers): Doc fix.
23767 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23769 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23771 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23773 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23774 Use `dolist' rather than `mapcar'.
23776 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23778 Add lexical binding.
23780 * subr.el (apply-partially): Use new closures rather than CL.
23781 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23782 (dolist, dotimes): Use slightly different expansion for lexical code.
23783 (functionp): Move to C.
23784 (letrec): New macro.
23785 (with-wrapper-hook): Use it and apply-partially instead of CL.
23786 (eval-after-load): Preserve lexical-binding.
23787 (save-window-excursion, with-output-to-temp-buffer): Turn them
23790 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23792 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23794 (help-add-fundoc-usage): Don't add `Not documented'.
23795 (help-function-arglist): Handle closures, subroutines, and new
23796 byte-code-functions.
23797 (help-make-usage): Remove leading underscores.
23798 (describe-function-1): Handle closures.
23799 (describe-variable): Use special-variable-p for completion.
23801 * files.el (lexical-binding): Declare safe.
23803 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23804 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23805 (pcase): Add `let' pattern.
23806 Change memoization so it actually works.
23807 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23808 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23811 * emacs-lisp/macroexp.el: Use lexical binding.
23812 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23813 Don't convert ' to #' without checking that it's indeed quoting
23816 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23817 Use eval-sexp-add-defvars.
23818 (eval-sexp-add-defvars): New fun.
23820 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23822 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23824 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23825 than the internal `byte-compile-lambda'.
23826 (defmethod): Don't hide code under quotes.
23827 (eieio-defmethod): New `code' argument.
23829 * emacs-lisp/eieio-comp.el: Remove.
23831 * emacs-lisp/edebug.el (edebug-eval-defun)
23832 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23833 (edebug-toggle): Avoid `eval'.
23835 * emacs-lisp/disass.el (disassemble-internal): Handle new
23837 (disassemble-1): Handle new byte codes.
23839 * emacs-lisp/cl.el (pushnew): Silence warning.
23841 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23842 (cl-byte-compile-throw): Remove.
23843 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23845 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23848 * emacs-lisp/cconv.el: New file.
23850 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23851 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23852 (byte-compile-initial-macro-environment):
23853 Handle declare-function here.
23854 (byte-compile--lexical-environment): New var.
23855 (byte-stack-ref, byte-stack-set, byte-discardN)
23856 (byte-discardN-preserve-tos): New lap codes.
23857 (byte-interactive-p): Don't use any more.
23858 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23860 (byte-compile-lapcode): Use them and handle new lap codes.
23861 (byte-compile-obsolete): Remove.
23862 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23863 (byte-compile-arglist-warn): Check late def of inlinable funs.
23864 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23865 since they should have been expanded by now.
23866 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23867 (byte-compile-from-buffer): Remove unused second arg.
23868 (byte-compile-preprocess): New function.
23869 (byte-compile-toplevel-file-form): New function to distinguish
23870 file-form calls from outside from file-form calls from hunk-handlers.
23871 (byte-compile-file-form): Simplify.
23872 (byte-compile-file-form-defsubst): Remove.
23873 (byte-compile-file-form-defmumble): Simplify now that
23874 byte-compile-lambda always returns a byte-code-function.
23875 (byte-compile): Preprocess.
23876 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23877 Remove, not used any more.
23878 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23879 (byte-compile-make-args-desc): New funs.
23880 (byte-compile-lambda): Handle lexical functions. Always return
23881 a byte-code-function.
23882 (byte-compile-reserved-constants): New var, to make up room for
23883 closed-over variables.
23884 (byte-compile-constants-vector): Obey it.
23885 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23886 (byte-compile-macroexpand-declare-function): New function.
23887 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23888 byte-code-functions.
23889 (byte-compile-form): Check obsolescence here.
23890 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23891 (byte-compile-variable-ref): Remove.
23892 (byte-compile-dynamic-variable-op): New fun.
23893 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23894 (byte-compile-variable-set): New funs.
23895 (byte-compile-discard): Add 2 args.
23896 (byte-compile-stack-ref, byte-compile-stack-set)
23897 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23898 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23899 macroexpand-all instead.
23900 (byte-compile-quote-form): Remove.
23901 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23902 (byte-compile-bind, byte-compile-unbind): New funs.
23903 (byte-compile-let): Handle let* and lexical binding.
23904 (byte-compile-let*): Remove.
23905 (byte-compile-catch, byte-compile-unwind-protect)
23906 (byte-compile-track-mouse, byte-compile-condition-case):
23907 Handle a new :fun-body form, used for lexical scoping.
23908 (byte-compile-save-window-excursion)
23909 (byte-compile-with-output-to-temp-buffer): Remove.
23910 (byte-compile-defun): Simplify.
23911 (byte-compile-stack-adjustment): New fun.
23912 (byte-compile-out): Use it.
23913 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23915 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23918 * emacs-lisp/byte-opt.el: Use lexical binding.
23919 (byte-inline-lapcode): Remove (to bytecomp).
23920 (byte-compile-inline-expand): Pay attention to inlining to/from
23921 lexically bound code.
23922 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23924 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23925 any more and don't call compiler-macros.
23926 (byte-compile-splice-in-already-compiled-code): Remove.
23927 (byte-code): Don't inline any more.
23928 (disassemble-offset): Receive `bytes' as argument rather than via
23930 (byte-compile-tag-number): Declare before first use.
23931 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23932 `return' even if make-spliceable.
23933 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23934 obsolete interactive-p.
23935 (byte-optimize-lapcode): Optimize new lap-codes.
23936 Don't trip up on new form of `byte-constant' lap code.
23938 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23940 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23942 * custom.el (custom-initialize-default, custom-declare-variable):
23945 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23947 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23948 (COMPILE_FIRST): Add macroexp and cconv.
23949 * makefile.w32-in: Mirror changes in Makefile.in.
23951 * vc/cvs-status.el:
23955 * vc/smerge-mode.el:
23956 * textmodes/bibtex-style.el:
23957 * textmodes/css-mode.el:
23965 * emacs-lisp/smie.el:
23968 * abbrev.el: Use lexical binding.
23970 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23972 * info.el (info-display-manual): New function.
23974 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23976 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23978 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23980 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23981 an entry for that server in rcirc-authinfo. (Bug#8385)
23983 2011-03-31 Glenn Morris <rgm@gnu.org>
23985 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23987 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23989 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23991 * progmodes/python.el (python-default-interpreter)
23992 (python-python-command-args, python-jython-command-args)
23993 (python-which-shell, python-which-args, python-which-bufname)
23994 (python-file-queue, python-comint-output-filter-function)
23995 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23996 variables and functions.
23998 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24000 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24001 (completion-in-region-mode): New minor mode.
24002 (completion-in-region): Use it.
24003 (completion-in-region--data, completion-in-region-mode-map): New vars.
24004 (completion-in-region--postch): New function.
24005 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24007 (completion--capf-wrapper): New function.
24008 (completion-at-point): Use it to track well-behavedness of
24010 (completion-help-at-point): New command.
24012 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24014 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24015 syntax class to search for whitespace on a single line
24016 (Message-ID: <4D938140.4030905@redhat.com>).
24018 2011-03-30 Leo Liu <sdl.web@gmail.com>
24020 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24022 (edit-abbrevs-map): Bind them here.
24023 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24025 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24027 * allout.el (allout-hide-by-annotation, allout-flag-region):
24028 Reduce possibility of overlay leakage by making them volatile.
24030 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24031 hash is not shared between buffers. Mode initialization is
24032 responsible for giving it a useful starting value.
24033 (allout-item-span): Reduce possibility of overlay leakage by
24034 making them volatile.
24035 (allout-widgets-count-buttons-in-region): Add diagnostic function
24036 for tracking down button overlay leaks.
24038 2011-03-29 Leo Liu <sdl.web@gmail.com>
24040 * ido.el (ido-read-internal): Use the default history var
24041 minibuffer-history if no HISTORY is specified.
24043 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24045 * net/imap.el (imap-shell-open, imap-process-connection-type):
24046 Use imap-process-connection-type for 'shell' streams as well as
24047 Kerberos, SSL, other subprocesses.
24049 2011-03-28 Leo Liu <sdl.web@gmail.com>
24051 * abbrev.el (abbrev-table-empty-p): New function.
24052 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24053 nonempty ones. (Bug#5937)
24055 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24057 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24059 2011-03-27 Leo Liu <sdl.web@gmail.com>
24061 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24062 for foreground and background colors.
24063 (ansi-color-make-color-map): Adapt.
24065 2011-03-25 Leo Liu <sdl.web@gmail.com>
24067 * midnight.el (midnight-time-float): Remove. Note it calculates
24068 the microsecond component incorrectly and seconds-to-time does the
24070 Remove redundant (require 'timer).
24072 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24073 (ido-completions): Remove unused arguments. (Bug#8329)
24075 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24077 * minibuffer.el (completion--flush-all-sorted-completions):
24078 Remove itself from hook.
24079 (completion-at-point): Let the functions perform the completion
24080 immediately and return nil or t.
24081 * comint.el (comint-dynamic-complete-functions): Now identical to
24082 completion-at-point-functions.
24083 (comint-dynamic-list-input-ring): Remove unused var `index'.
24084 (comint--match-partial-filename, comint--unquote&expand-filename):
24085 New funs, split from comint-match-partial-filename.
24086 (comint-dynamic-complete): Use completion-at-point.
24087 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24089 2011-03-24 Drew Adams <drew.adams@oracle.com>
24091 * thingatpt.el: Support `defun'.
24093 2011-03-23 Leo Liu <sdl.web@gmail.com>
24095 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24097 * help-mode.el (help-mode-finish): Tweak regexp.
24099 2011-03-23 Glenn Morris <rgm@gnu.org>
24101 * eshell/esh-opt.el (eshell-eval-using-options):
24102 Do not bind unused local variable `eshell-option-stub'.
24104 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24106 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24108 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24109 keymap variable in `with-no-warnings' to avoid a warning when the
24110 keymap has been already `defconst'ed.
24112 2011-03-22 Leo Liu <sdl.web@gmail.com>
24114 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24115 encode all chars in abbrevs; otherwise use emacs-mule or
24116 utf-8-emacs. (Bug#8308)
24118 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24120 * simple.el (backward-delete-char-untabify):
24121 Avoid warning about using `delete-backward-char'.
24123 * image.el (image-type-file-name-regexps): Make it variable.
24124 `imagemagick-register-types' modifies it, and the user may want
24125 to add new extensions for known image types.
24126 (imagemagick-register-types): Throw error if not using ImageMagick.
24128 2011-03-22 Leo Liu <sdl.web@gmail.com>
24130 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24131 located before rcirc-prompt-end-marker.
24132 (rcirc-complete): Error if point is not after rcirc prompt.
24133 Handle the case when table is nil.
24134 (rcirc-user-authenticated): Define to fix compiler warning.
24136 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24138 * custom.el (custom--inhibit-theme-enable): Make it affect only
24139 custom-theme-set-variables and custom-theme-set-faces.
24140 (provide-theme): Ignore custom--inhibit-theme-enable.
24141 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24142 (custom-enabling-themes): Delete variable.
24143 (enable-theme): Accept only loaded themes as arguments.
24144 Ignore the special custom-enabled-themes variable.
24145 (custom-enabled-themes): Forbid themes from setting this.
24146 Eliminate use of custom-enabling-themes.
24147 (custom-push-theme): Quote "changed" custom var entry.
24149 2011-03-21 Leo Liu <sdl.web@gmail.com>
24151 * ido.el (ido-read-internal): Add ido-selected to history instead
24154 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24156 * subr.el (deferred-action-list, deferred-action-function):
24159 2011-03-21 Leo Liu <sdl.web@gmail.com>
24161 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24162 change on 2011-02-13 (bug#8309).
24164 * minibuffer.el (read-file-name-function): Change default value.
24165 (read-file-name--defaults): Rename from read-file-name-defaults.
24166 (read-file-name-default): Rename from read-file-name.
24167 (read-file-name): Call read-file-name-function.
24169 2011-03-21 Glenn Morris <rgm@gnu.org>
24171 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24174 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24176 * cus-theme.el: Add missing provide statement.
24177 (customize-create-theme): Extract theme value correctly.
24178 (custom-theme-visit-theme): Autoload.
24179 (customize-create-theme): Prompt before inserting default faces.
24181 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24183 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24184 units and musical notes.
24186 2011-03-20 Leo Liu <sdl.web@gmail.com>
24188 * ido.el (ido-read-internal): Use completing-read-default.
24189 (ido-completing-read): Fix compatibility with completing-read.
24191 2011-03-20 Christian Ohler <ohler@gnu.org>
24193 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24194 (ert-delete-all-tests): Use `called-interactively-p' rather than
24196 (ert--make-xrefs-region): Respect END.
24198 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24200 * dired-aux.el (dired-create-directory): Signal an error if the
24201 directory already exists (Bug#8246).
24203 * facemenu.el (list-colors-display): Call list-faces-display
24204 inside with-help-window.
24205 (list-colors-print): Use display property to align the final
24206 column, instead of checking window-width.
24208 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24210 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24211 windows-nt systems.
24212 (emerge-protect-metachars): Quote correctly for ms-dos and
24213 windows-nt systems.
24215 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24217 * info.el (info-initialize): Replace all uses of `:' with
24218 path-separator for compatibility with non-Unix systems.
24219 Cache quoting of path-separator. (Bug#8258)
24221 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24223 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24224 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24225 (mouse-avoidance-mode): Fix typos in docstrings.
24227 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24229 * startup.el (package-subdirectory-regexp): Move from package.el.
24230 Omit \\` and \\', and let callers add them.
24232 * emacs-lisp/package.el (package-strip-version)
24233 (package-load-all-descriptors): Add \\` and \\' to
24234 package-subdirectory-regexp before using it.
24235 (package-untar-buffer): New arg DIR; ensure that file untars only
24236 into this expected directory. Remove superfluous delete-region.
24237 (package-unpack): Caller changed.
24238 (package-tar-file-info): Use package-subdirectory-regexp.
24240 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24242 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24243 diff-mode-shared-map (bug#8284).
24244 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24246 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24248 * calendar/time-date.el (format-seconds): Use assoc instead of
24249 assoc-string, since assoc-string doesn't exist in XEmacs.
24251 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24253 * custom.el (custom-known-themes): Reflow docstring.
24254 (custom-theme-load-path): Fix typo in docstring.
24255 (load-theme): Fix typo in error message.
24256 (custom-available-themes, custom-variable-theme-value):
24257 Use `let', not `let*'.
24259 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24261 * calc/README: Mention inclusion of musical notes.
24263 * calc/calc-units.el (calc-lu-quant): Rename from
24264 `calc-logunits-quantity'.
24265 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24266 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24267 (calc-db): Rename from `calc-dblevel'.
24268 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24269 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24270 (calc-np): Rename from `calc-nplevel'.
24271 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24272 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24273 (calc-lu-plus): Rename from `calc-logunits-add'.
24274 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24275 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24276 (calc-lu-minus): Rename from `calc-logunits-sub'.
24277 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24278 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24279 (calc-lu-times): Rename from `calc-logunits-mul'.
24280 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24281 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24282 (calc-lu-divide): Rename from `calc-logunits-div'.
24283 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24284 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24286 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24287 functions being autoloaded.
24289 * calc/calc.el (calc-lu-power-reference): Rename from
24290 `calc-logunits-power-reference'.
24291 (calc-lu-field-reference): Rename from
24292 `calc-logunits-field-reference'.
24294 * calc/calc-help.el (calc-l-prefix-help):
24295 Mention musical note functions.
24297 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24299 * minibuffer.el (completion-all-sorted-completions):
24300 Use :completion-cycle-penalty text property if present.
24302 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24304 * allout.el (allout-yank-processing): Adjust for new rebulleting
24305 regime so bullet being yanked is used without prompting the user
24308 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24310 * startup.el (command-line): Warn the user that _emacs is deprecated.
24312 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24314 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24315 (delphi-verbose, delphi-comment-face, delphi-string-face)
24316 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24317 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24318 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24319 (delphi-new-comment-line, delphi-font-lock-defaults)
24320 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24321 Fix typos in docstrings.
24323 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24325 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24326 Invert the roles of character and string values for INSTEAD, so a
24327 string is used for the more common case of a defaulting prompt.
24329 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24331 * progmodes/ruby-mode.el (ruby-backward-sexp):
24332 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24333 * play/gamegrid.el (gamegrid-make-face):
24334 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24335 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24336 * notifications.el (notifications-notify):
24337 * net/xesam.el (xesam-search-engines):
24338 * net/quickurl.el (quickurl-list-insert):
24339 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24341 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24343 * startup.el (command-line): Update package subdirectory regexp.
24345 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24347 * allout.el (allout-abbreviate-flattened-numbering)
24348 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24350 * subr.el (read-char-choice): Only show the cursor after the prompt,
24351 not after the answer.
24353 2011-03-15 Kevin Ryde <user42@zip.com.au>
24355 * help-fns.el (variable-at-point): Skip leading quotes, if any
24358 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24360 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24363 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24365 * shell.el (shell): When called interactively, offer to change the
24366 shell file name on remote hosts.
24368 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24370 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24371 integration for LDAP parameters. The host, base, user or binddn,
24372 and secret tokens can be specified in a netrc file, for instance.
24373 This is optional because an `auth-source' parameter must be
24374 specified in the search attributes.
24376 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24378 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24380 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24382 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24383 into declaration. Remove redundant and harmful binding.
24385 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24387 * files.el (file-ownership-preserved-p): Pass `integer' as an
24388 explicit 2nd argument to `file-attributes'. If the file's owner
24389 is the Administrators group on Windows, and the current user is
24390 Administrator, consider that a match.
24392 * server.el (server-ensure-safe-dir): Consider server directory
24393 safe on MS-Windows if its owner is the Administrators group while
24394 the current Emacs user is Administrator. Use `=' to compare
24395 numerical UIDs, since they could be integers or floats.
24397 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24399 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24401 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24403 Sync with Tramp 2.2.1.
24405 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24407 * net/trampver.el: Update release number.
24409 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24411 * progmodes/compile.el (compilation--previous-directory): Fix up
24412 various nil/dead-marker mismatches (bug#8014).
24413 (compilation-directory-properties, compilation-error-properties):
24414 Don't call it at a position past the one we're about to change.
24416 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24417 Disable obsolescence warnings in the file that declares it.
24419 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24421 * allout-widgets.el (allout-widgets-tally):
24422 Initialize allout-widgets-tally as a hash table rather than nil to
24423 prevent mode-line redisplay warnings. Also, clarify the module
24424 description and fix a comment typo.
24426 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24428 * help-fns.el (describe-variable): Don't complete keywords.
24429 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24431 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24433 * emacs-lisp/package.el (package-version-join): Impose a standard
24434 string representation for pre/alpha/beta version lists.
24435 (package-unpack-single): Standardize the directory name by passing
24436 it through package-version-join.
24437 (package-strip-rcs-id): Accept any version string that does not
24438 signal an error in version-to-list.
24440 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24442 * simple.el (delete-trailing-whitespace): Return nil for the
24443 benefit of `write-file-functions'.
24445 2011-03-10 Glenn Morris <rgm@gnu.org>
24447 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24449 * vc/vc-git.el (vc-git-program): New option.
24450 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24451 (vc-git--call): Use it.
24453 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24455 * cus-edit.el (Custom-newline): If no button at point, look
24456 for a subgroup button at start-of-line. (Bug#2298)
24458 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24460 2011-03-10 Julien Danjou <julien@danjou.info>
24462 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24463 `cursor-type' is nil.
24465 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24467 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24469 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24471 * allout.el: Change so yank of distinctive-bullet items
24472 preserves the existing header prefix, rebulleting it if necessary,
24473 rather than replacing it. This is necessary for proper operation
24474 of cooperative addons like allout-widgets.
24475 (allout-make-topic-prefix, allout-rebullet-heading):
24476 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24477 value as alternate bullet to be used, instead of prompting the user
24478 for a bullet character.
24480 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24483 Do not use `tramp-file-name-port', because this returns also
24484 `tramp-default-port'.
24486 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24488 * net/rcirc.el (rcirc-handler-001): Remove useless
24489 with-rcirc-process-buffer.
24490 (rcirc-check-auth-status): Swap arguments to string-match.
24492 2011-03-09 Glenn Morris <rgm@gnu.org>
24494 * shell.el (shell-mode):
24495 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24497 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24498 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24500 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24502 * emacs-lisp/package.el (package-refresh-contents)
24503 (package-menu-execute): Use condition-case-no-debug.
24505 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24507 * simple.el (shell-command-to-string): Use `process-file'.
24509 * emacs-lisp/package.el (package-tar-file-info): Handle also
24512 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24513 Use `equal' for upload base check.
24515 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24517 * textmodes/texinfo.el (texinfo-environments):
24518 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24520 2011-03-08 Glenn Morris <rgm@gnu.org>
24522 * cus-start.el (cursor-in-non-selected-windows):
24523 Fix :set quoting oddness. (Bug#8192)
24525 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24526 in some setf expressions. (Bug#2159)
24528 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24530 * custom.el (custom-available-themes): Return themes in
24531 alphabetical order.
24533 See ChangeLog.15 for earlier changes.
24535 ;; Local Variables:
24539 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24541 This file is part of GNU Emacs.
24543 GNU Emacs is free software: you can redistribute it and/or modify
24544 it under the terms of the GNU General Public License as published by
24545 the Free Software Foundation, either version 3 of the License, or
24546 (at your option) any later version.
24548 GNU Emacs is distributed in the hope that it will be useful,
24549 but WITHOUT ANY WARRANTY; without even the implied warranty of
24550 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24551 GNU General Public License for more details.
24553 You should have received a copy of the GNU General Public License
24554 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.