1 2012-09-06 Chong Yidong <cyd@gnu.org>
3 * progmodes/vhdl-mode.el
5 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
7 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8 obsolete alias speedbar-key-map.
9 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10 (vhdl-index-menu-init): Don't use obsolete variable
11 font-lock-maximum-size.
13 2012-09-06 Chong Yidong <cyd@gnu.org>
15 * frame.el (window-system-version): Mark as obsolete.
17 2012-09-06 Juri Linkov <juri@jurta.org>
19 * replace.el (replace-lax-whitespace): New defcustom.
20 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21 (replace-string, replace-regexp): Mention it in docstrings.
22 (perform-replace, replace-highlight): Let-bind
23 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
24 to the values of replace-lax-whitespace and regexp-flag.
25 Don't let-bind search-whitespace-regexp. (Bug#10885)
27 * isearch.el (isearch-query-replace): Let-bind
28 replace-lax-whitespace instead of let-binding
29 replace-search-function and replace-re-search-function.
30 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
31 and isearch-regexp-lax-whitespace to lazy-highlight variables.
32 (isearch-toggle-symbol): Set isearch-regexp to nil
33 in isearch-word mode (like in isearch-toggle-word).
35 2012-09-06 Juri Linkov <juri@jurta.org>
37 * replace.el (replace-search-function)
38 (replace-re-search-function): Set default values to nil.
39 (perform-replace): Let-bind isearch-related variables based on
40 replace-related values, call `isearch-search-fun' and let-bind
41 the result to `search-function'. Remove code that sets
42 `search-function' and `search-string' separately for
44 (replace-highlight): Add new argument `delimited-flag' and
45 rename other arguments to the names used in `perform-replace'.
46 Let-bind `isearch-word' to the argument `delimited-flag'.
47 (Bug#10885, bug#10887)
49 2012-09-05 Martin Rudalics <rudalics@gmx.at>
51 * help.el (temp-buffer-max-height): New default value.
52 (temp-buffer-resize-frames): New option.
53 (resize-temp-buffer-window): Optionally resize frame.
55 * window.el (fit-frame-to-buffer-bottom-margin): New option.
56 (fit-frame-to-buffer): New function.
58 2012-09-05 Glenn Morris <rgm@gnu.org>
60 * emulation/cua-rect.el (cua--init-rectangles):
61 * textmodes/picture.el (picture-mode-map):
62 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
63 like forward-char and backward-char. (Bug#12317)
65 2012-09-05 Leo Liu <sdl.web@gmail.com>
67 * progmodes/flymake.el (flymake-warning-re): New variable.
68 (flymake-parse-line): Use it.
70 2012-09-05 Glenn Morris <rgm@gnu.org>
72 * calendar/holidays.el (holiday-christian-holidays):
73 Rename an entry. (Bug#12289)
75 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
77 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
80 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
82 * loadup.el: Load macroexp. Remove hack.
83 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
84 (macroexp--expand-all): Use it to get better warnings.
85 (macroexp--backtrace, macroexp--trim-backtrace-frame)
86 (internal-macroexpand-for-load): New functions.
87 (macroexp--pending-eager-loads): New var.
88 (emacs-startup-hook): New hack to replace one in loadup.el.
89 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
90 (cl--compiler-macro-cXXr): Move to top, before they can be used.
92 (cl-defstruct): Add indent rule.
94 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
96 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
97 over `user-mail-address' for the SMTP MAIL FROM envelope.
98 (smtpmail-via-smtp): Ditto.
100 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
102 * progmodes/ruby-mode.el: Clean up keybindings.
103 (ruby-mode-map): Don't bind ruby-electric-brace,
104 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
105 backward-kill-word, reindent-then-newline-and-indent.
106 (ruby-mark-defun): Remove.
107 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
108 (ruby-mode): Set local beginning-of-defun-function and
109 end-of-defun-function values.
111 2012-09-03 Martin Rudalics <rudalics@gmx.at>
113 * window.el (temp-buffer-window-setup-hook)
114 (temp-buffer-window-show-hook): New hooks.
115 (temp-buffer-window-setup, temp-buffer-window-show)
116 (with-temp-buffer-window): New functions.
117 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
118 (special-display-popup-frame): Make sure the window used shows BUFFER.
120 * help.el (temp-buffer-resize-mode): Fix doc-string.
121 (resize-temp-buffer-window): New optional argument WINDOW.
123 * files.el (recover-file, save-buffers-kill-emacs):
124 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
126 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
128 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
129 remote definition of `default-directory', ensure we can connect.
131 2012-09-02 Juri Linkov <juri@jurta.org>
133 Toggle whitespace matching mode with M-s SPC.
134 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
136 * isearch.el (search-whitespace-regexp): Doc fix.
137 Remove cons cell customization.
138 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
139 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
141 (isearch-forward, isearch-forward-regexp): Doc fix.
142 (isearch-toggle-lax-whitespace): New command.
143 (search-forward-lax-whitespace, search-backward-lax-whitespace)
144 (re-search-forward-lax-whitespace)
145 (re-search-backward-lax-whitespace): New functions.
146 (isearch-whitespace-regexp): Remove function.
147 (isearch-query-replace): Let-bind replace-search-function and
148 replace-re-search-function.
149 (isearch-occur): Let-bind search-spaces-regexp according to the
150 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
151 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
152 condition for C-q SPC.
153 (isearch-search-fun-default): Use new functions mentioned above.
154 (isearch-search-forward, isearch-search-backward): Remove functions.
155 (isearch-search): Don't let-bind search-spaces-regexp.
156 (isearch-lazy-highlight-space-regexp): Remove variable.
157 (isearch-lazy-highlight-lax-whitespace)
158 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
159 (isearch-lazy-highlight-new-loop): Use them.
160 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
162 2012-09-02 Chong Yidong <cyd@gnu.org>
164 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
166 2012-09-02 Glenn Morris <rgm@gnu.org>
168 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
170 2012-09-01 Glenn Morris <rgm@gnu.org>
172 * term.el: Tidy up menu definitions.
173 (term-mode-map): Use easymenu for In/Out, Complete menus.
174 (term-pager-break-map): Initialize in the defvar.
175 (term-terminal-menu, term-signals-menu): Define with easymenu.
176 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
177 (term-pager-menu): New, extracted from term-process-pager.
178 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
179 (term-update-mode-line): Propertize line/char and page items.
180 (term-process-pager): Move keymap initialization elsewhere.
182 2012-09-01 Martin Rudalics <rudalics@gmx.at>
184 * window.el (switch-to-prev-buffer): Handle additional values of
185 BURY-OR-KILL argument. Don't switch in minibuffer window.
186 (switch-to-next-buffer): Don't switch in minibuffer window.
187 (quit-restore-window): New function based on quit-window.
188 Handle additional values of former KILL argument.
189 (quit-window): Call quit-restore-window with appropriate
190 interpretation of KILL argument.
191 (display-buffer-below-selected): New buffer display action
194 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
196 * minibuffer.el (completion-at-point-functions): Complete docstring
199 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
201 Better seed support for (random).
202 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
203 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
204 * play/mpuz.el, play/tetris.el, play/zone.el:
205 * calc/calc-comb.el (math-init-random-base):
206 * play/blackbox.el (bb-init-board):
207 * play/life.el (life):
208 * server.el (server-use-tcp):
209 * type-break.el (type-break):
210 Remove unnecessary call to (random t).
211 * net/sasl.el (sasl-unique-id-function):
212 Change (random t) to (random), now that the latter is more random.
213 * play/life.el (life-initialized): Remove no-longer-needed var.
215 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
217 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
218 Consider frame's buffer predicate when choosing the buffer.
221 2012-08-30 Richard Stallman <rms@gnu.org>
223 * simple.el (special-mode-map): Delete binding for `z'.
225 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
227 * progmodes/compile.el (compilation-always-kill): Doc fix.
229 2012-08-30 Chong Yidong <cyd@gnu.org>
231 * window.el (display-buffer-reuse-frames): Make the obsolescence
232 message more informative.
234 2012-08-30 Glenn Morris <rgm@gnu.org>
236 * paren.el (show-paren-delay):
237 Add a :set function. Doc fix. (Bug#12297)
239 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
241 * progmodes/compile.el (compilation-always-kill): New var.
242 (compilation-start): Use it.
244 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
246 * simple.el (read-only-mode): Move from files.el for bootstrapping.
247 * files.el (read-only-mode): Move to simple.el.
249 * files.el (read-only-mode): New minor mode.
250 (toggle-read-only): Use it and mark obsolete.
251 (find-file--read-only):
252 * vc/vc.el (vc-next-action, vc-checkout):
253 * vc/vc-cvs.el (vc-cvs-checkout):
254 * obsolete/vc-mcvs.el (vc-mcvs-update):
255 * ffap.el (ffap--toggle-read-only): Update callers.
257 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
259 * eshell/esh-ext.el (eshell-external-command): Do not examine
260 remote shell scripts.
261 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
263 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
266 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
268 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
270 2012-08-28 Leo Liu <sdl.web@gmail.com>
272 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
273 completion-at-point. (Bug#12220)
275 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
277 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
279 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
281 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
282 be buffer-local; add delete-trailing-whitespace (bug#12259).
284 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
286 * progmodes/hideif.el (hif-compress-define-list):
287 Fix typo. (Bug#11951)
289 2012-08-28 Dan Nicolaescu <dann@gnu.org>
291 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
292 buffer local setting.
294 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
295 rcirc-encode-coding-system.
297 2012-08-28 Leo Liu <sdl.web@gmail.com>
299 * net/rcirc.el (rcirc-split-message): New function.
300 (rcirc-send-message): Use it. (Bug#12051)
302 2012-08-28 Juri Linkov <juri@jurta.org>
304 * info.el (Info-fontify-node): Hide empty lines at the end of
305 the node. (Bug#12272)
307 2012-08-27 Drew Adams <drew.adams@oracle.com>
309 * dired.el (dired-pop-to-buffer): Make window start at beginning
310 of buffer (Bug#12281).
312 2012-08-26 Chong Yidong <cyd@gnu.org>
314 * window.el (special-display-regexps, special-display-frame-alist)
315 (special-display-buffer-names, special-display-function)
316 (display-buffer-reuse-frames): Mark as obsolete.
318 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
320 * help.el (help-print-return-message): Don't treat
321 display-buffer-reuse-frames specially.
323 2012-08-26 Chong Yidong <cyd@gnu.org>
325 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
326 New variable, replacing gdb-frame-parameters.
327 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
328 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
329 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
330 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
331 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
332 the functions directly with gdb-display-buffer-other-frame-action.
333 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
334 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
335 (gdb-display-stack-buffer, gdb-display-locals-buffer)
336 (gdb-display-registers-buffer): Define directly.
337 (def-gdb-display-buffer): Macro deleted.
338 (gdb-display-buffer): Remove second and third args, callers don't
339 use them. Defer to the default display-buffer behavior, apart
340 from making windows dedicated.
341 (gdb-setup-windows): Don't call display-buffer unnecessarily.
343 * progmodes/gud.el (gud-display-line): Just use display-buffer.
345 * window.el (display-buffer-pop-up-frame): Handle a
346 pop-up-frame-parameters alist entry.
347 (display-buffer): Document it.
349 2012-08-26 Chong Yidong <cyd@gnu.org>
351 * isearch.el (search-whitespace-regexp): Make string and nil
352 values apply to both ordinary and regexp search. Allow a cons
353 cell value to distinguish between the two.
354 (isearch-whitespace-regexp, isearch-search-forward)
355 (isearch-search-backward): New functions.
356 (isearch-occur, isearch-search-fun-default, isearch-search)
357 (isearch-lazy-highlight-new-loop): Use them.
358 (isearch-forward, isearch-forward-regexp): Doc fix.
360 2012-08-26 Chong Yidong <cyd@gnu.org>
362 * faces.el (help-argument-name): Always inherit from italic
365 2012-08-25 Martin Rudalics <rudalics@gmx.at>
367 * window.el (window--even-window-heights): Even heights when
368 WINDOW and the selected window form a vertical combination.
369 (display-buffer-use-some-window): Provide that window used gets
370 sized back by quit-window. (Bug#11880) and (Bug#12091)
372 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
374 Fix file time stamp problem with bzr and CVS (Bug#12001).
375 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
376 in the file's time stamp, since the version control system loses
379 2012-08-22 Juri Linkov <juri@jurta.org>
381 * info.el (Info-fontify-node): Hide the suffix of the
382 Info file name in the header line. (Bug#12187)
384 2012-08-22 Glenn Morris <rgm@gnu.org>
386 * calendar/cal-tex.el (cal-tex-weekly-common):
387 Restore leading blank page.
389 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
391 * misc.el (forward-to-word, backward-to-word): Activate or extend
392 the region under `shift-select-mode'. (Bug#12231)
394 2012-08-22 Bastien Guerry <bzg@gnu.org>
396 * progmodes/executable.el (executable-prefix): Set to "#!" instead
397 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
398 gives details on why the space is never needed.
400 2012-08-22 Martin Rudalics <rudalics@gmx.at>
402 * window.el (walk-window-tree, window-with-parameter):
403 New optional argument MINIBUF to control whether these functions
404 should run on the minibuffer window.
405 (window-at-side-list): Don't operate on minibuffer window.
406 (window-in-direction): Simplify and rewrite doc-string.
407 (window--size-ignore): Rename to window--size-ignore-p.
409 (display-buffer-in-atom-window, window--major-non-side-window)
410 (window--major-side-window, display-buffer-in-major-side-window)
411 (delete-side-window, display-buffer-in-side-window):
413 (window--side-check, window-deletable-p, delete-window)
414 (delete-other-windows, split-window): Handle side windows and
415 atomic windows appropriately.
416 (window--display-buffer): Call display-buffer-record-window also
417 when the window buffer did not change.
419 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
421 * help-fns.el (help-fns--key-bindings):
422 Abbreviate non-symbol remap targets. (Bug#12174)
424 2012-08-22 Martin Rudalics <rudalics@gmx.at>
426 * dired.el (dired-mark-remembered): Don't clobber point.
429 2012-08-22 Glenn Morris <rgm@gnu.org>
431 * progmodes/bug-reference.el (bug-reference): New custom group.
432 (bug-reference-bug-regexp): Make it a defcustom.
434 2012-08-22 Daiki Ueno <ueno@unixuser.org>
436 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
437 (js-paren-indent-offset, js-square-indent-offset)
438 (js-curly-indent-offset): Add :safe (Bug#12257).
440 2012-08-22 Edward O'Connor <hober0@gmail.com>
442 * json.el (json-key-format): Add error properties.
443 (json-encode-key): New function.
444 (json-encode-hash-table, json-encode-alist, json-encode-plist):
447 2012-08-22 Glenn Morris <rgm@gnu.org>
449 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
450 (cal-tex-leftday, cal-tex-rightday): Remove functions.
451 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
452 Update for above change.
454 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
456 * cus-face.el (custom-face-attributes): Fix customize type for the
457 :underline attribute. (Bug#11805)
459 2012-08-21 Martin Rudalics <rudalics@gmx.at>
461 * window.el (window-point-1, set-window-point-1): Remove.
462 (window-in-direction, record-window-buffer)
463 (set-window-buffer-start-and-point, split-window-below)
464 (window--state-get-1, display-buffer-record-window):
465 Replace calls to window-point-1 and set-window-point-1 by calls to
466 window-point and set-window-point respectively.
468 2012-08-21 Glenn Morris <rgm@gnu.org>
470 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
471 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
474 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
475 (cal-tex-shortday): New function.
476 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
477 (cal-tex-cursor-filofax-daily): Use the above.
479 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
481 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
482 (cal-tex-cursor-filofax-week): Use them.
484 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
486 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
487 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
489 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
490 (cal-tex-end-document): Don't rely on buffer name.
492 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
494 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
495 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
496 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
499 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
500 (cal-tex-cursor-week, cal-tex-cursor-week2)
501 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
502 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
503 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
504 (cal-tex-insert-preamble, cal-tex-b-document)
505 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
506 Improve cal-tex-cmd usage.
508 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
509 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
510 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
511 (cal-tex-weekly-paper): New function.
512 (cal-tex-cursor-week, cal-tex-cursor-week2)
513 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
514 (cal-tex-cursor-day): Use it.
516 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
517 (cal-tex-cursor-filofax-week): Remove leading blank page.
519 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
520 Add autoload cookie. For now at least, don't use color, since
521 no other cal-tex function does.
523 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
524 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
525 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
527 2012-08-21 Juri Linkov <juri@jurta.org>
529 * info.el (Info-file-attributes): New variable.
530 (info-insert-file-contents): Add file attributes to
531 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
532 `Info-toc-nodes' when previous modtime of the Info file is less
534 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
535 of info.el. (Bug#12230)
537 2012-08-20 Glenn Morris <rgm@gnu.org>
539 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
540 * calendar/holidays.el (calendar-holiday-list):
541 Report errors with display-warning rather than beep'n'sleep.
543 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
545 * net/tramp.el (tramp-accept-process-output): Accept only output
546 from PROC. Otherwise, process filters and sentinels might be
547 confused. (Bug#12145)
549 2012-08-20 Chong Yidong <cyd@gnu.org>
551 * descr-text.el (describe-text-properties-1): Use overlays-in to
552 report on empty overlays (Bug#3322).
554 2012-08-20 Glenn Morris <rgm@gnu.org>
556 * mail/rmailout.el (rmail-output-read-file-name):
557 Trap and report errors in rmail-output-file-alist elements.
559 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
560 since most non-font-lock faces are not also variables).
562 2012-08-20 Edward Reingold <reingold@iit.edu>
564 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
565 New function. (Bug12160)
567 2012-08-19 Glenn Morris <rgm@gnu.org>
569 * mail/rmailout.el (rmail-output-read-file-name):
570 Fix previous change (when the alist is nil or does not match).
572 2012-08-19 Chong Yidong <cyd@gnu.org>
574 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
577 2012-08-18 Chong Yidong <cyd@gnu.org>
579 * simple.el (yank-handled-properties): New defcustom.
580 (yank-excluded-properties): Add font-lock-face and category.
583 * subr.el (remove-yank-excluded-properties):
584 Obey yank-handled-properties. The special handling of font-lock-face
585 and category is now done this way, instead of being hard-coded.
586 (insert-for-yank-1): Remove font-lock-face handling.
587 (yank-handle-font-lock-face-property)
588 (yank-handle-category-property): New function.
590 2012-08-17 Glenn Morris <rgm@gnu.org>
592 * mail/rmailout.el (rmail-output-read-file-name):
593 Check rmail-output-file-alist against the full message body
594 in the correct rmail buffer. (Bug#12214)
596 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
598 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
599 Eliminate superfluous prompt. (Bug#12203)
601 2012-08-17 Chong Yidong <cyd@gnu.org>
603 * mouse.el (mouse-appearance-menu): If x-select-font returns a
604 font spec, set the font directly (Bug#3228).
606 2012-08-17 Martin Rudalics <rudalics@gmx.at>
608 * window.el (delete-window): Fix last fix.
610 2012-08-16 Martin Rudalics <rudalics@gmx.at>
612 * window.el (window-valid-p): Move to window.c.
613 (window-child, window-child-count, window-last-child)
614 (window-normalize-window, window-combined-p)
615 (window-combinations, window-atom-root, window-min-size)
616 (window-sizable, window-sizable-p, window-size-fixed-p)
617 (window-min-delta, window-max-delta, window--resizable)
618 (window--resizable-p, window-resizable, window-total-size)
619 (window-full-height-p, window-full-width-p, window-body-size)
620 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
621 (minimize-window, window-deletable-p, delete-window)
622 (delete-other-windows, set-window-buffer-start-and-point)
623 (next-buffer, previous-buffer, split-window, balance-windows-2)
624 (set-window-text-height, window-buffer-height)
625 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
626 (truncated-partial-width-window-p): Minor code adjustments.
627 In doc-strings state whether the argument window has to denote a
628 live, valid or any window.
630 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
632 * progmodes/subword.el (subword-forward-function)
633 (subword-backward-function, subword-forward-regexp)
634 (subword-backward-regexp): New variables.
635 (subword-forward, subword-forward-internal, subword-backward-internal):
636 Use new variables, eg so that different "word" definitions
637 can be easily used. (Bug#11411)
639 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
641 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
642 for composite selectors.
643 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
644 operation just because we can't find a previous revision.
646 2012-08-15 Chong Yidong <cyd@gnu.org>
648 * frame.el (set-frame-font): Accept font objects.
650 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
652 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
654 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
656 * man.el (Man-overstrike-face, Man-underline-face)
657 (Man-reverse-face): Remove variables.
658 (Man-overstrike, Man-underline, Man-reverse): New faces.
659 (Man-fontify-manpage): Use them instead of the variables.
660 (Man-cleanup-manpage): Comment change.
661 (Man-ansi-color-map): New variable.
662 (Man-fontify-manpage): Use it.
663 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
665 Implement ANSI SGR parameters 22-27 (bug#12146).
666 * ansi-color.el (ansi-colors): Doc fix.
667 (ansi-color-context, ansi-color-context-region): Doc fix.
668 (ansi-color--find-face): New function.
669 (ansi-color-apply, ansi-color-apply-on-region): Use it.
670 Rename the local variable `face' to `codes' since it is now a list of
672 (ansi-color-get-face): Remove.
673 (ansi-color-parse-sequence): New function, derived from
675 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
678 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
680 * subr.el (read-passwd): Allow use from a minibuffer.
682 2012-08-14 Eli Zaretskii <eliz@gnu.org>
684 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
685 inside comments and strings as identifiers.
687 * progmodes/gud.el (gud-tooltip-print-command): Quote the
688 expression to evaluate. This allows to evaluate expressions with
690 (gud-tooltip-tips): Add a blank before the newline in the
691 message-box text, for the benefit of message-box emulation on
694 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
695 messages from GDB, pop them up in a tooltip to give feedback to
697 (gdb-tooltip-print-1): Quote the expression to evaluate.
698 This allows to evaluate expressions with embedded whitespace.
699 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
700 if the TTY name is nil or empty (which happens when communicating
701 with the inferior via pipes, e.g. on MS-Windows).
702 (gdb-internals): If GDB sends a "&\n" empty debugging message,
703 don't send that to the GUD buffer.
705 2012-08-14 Glenn Morris <rgm@gnu.org>
707 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
708 Optimize away setq-default with no args, as for setq. (Bug#12195)
710 2012-08-14 Chong Yidong <cyd@gnu.org>
712 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
714 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
717 2012-08-14 Glenn Morris <rgm@gnu.org>
719 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
721 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
723 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
724 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
725 Use cached shell name.
727 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
729 * progmodes/python.el (python-shell-send-string):
730 (python-shell-send-setup-code): Do not use `format' with `message'.
732 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
734 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
735 (ruby-percent-literal-beg-re): New constant.
736 (ruby-syntax-general-delimiters-goto-beg): Rename to
737 `ruby-syntax-enclosing-percent-literal', improve literal type check.
738 (ruby-syntax-propertize-general-delimiters): Rename to
739 `ruby-syntax-propertize-percent-literal', it's a shorter and more
740 popular term. Adjust comments everywhere.
741 (ruby-syntax-propertize-percent-literal): Only propertize when not
742 inside a simple string or comment. When the literal is unclosed,
743 leave the text after it unpropertized.
744 (ruby-syntax-methods-before-regexp): New constant.
745 (ruby-syntax-propertize-function): Use it to recognize regexps.
746 Don't look at the text after regexp, just use the whitelist.
748 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
750 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
751 non-nil always load the compiled file if it exists. (Bug#12197)
753 2012-08-14 Chong Yidong <cyd@gnu.org>
755 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
756 (hi-lock-set-pattern): When deciding whether to use font lock or
757 overlays, look at font-lock-mode instead of font-lock-fontified
759 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
760 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
762 2012-08-14 Daiki Ueno <ueno@unixuser.org>
764 * subr.el (internal--after-with-selected-window): Fix typo
767 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
769 Use `completion-table-dynamic' for completion functions.
770 * progmodes/python.el
771 (python-shell-completion--do-completion-at-point)
772 (python-shell-completion--get-completions):
774 (python-shell-completion-complete-at-point): New function.
775 (python-completion-complete-at-point): Use it.
777 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
779 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
780 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
782 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
784 * subr.el (function-get): Refine `autoload' arg so it can also
785 autoload functions for gv.el (bug#12191).
786 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
789 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
790 Prefer pcase-let over destructuring-bind.
791 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
792 Also, remove whitespace as we go, rather than after accumulating the
795 * subr.el (internal--before-with-selected-window)
796 (internal--after-with-selected-window): Fix typo seleted->selected.
797 (with-selected-window): Adjust callers.
798 Reported by Dmitry Gutov <dgutov@yandex.ru>.
800 2012-08-13 Bastien Guerry <bzg@gnu.org>
802 * window.el (special-display-popup-frame): Minor docstring
803 enhancement. (Bug#12172)
805 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
807 * tar-mode.el (tar-header-data-end): Only ignore size for files of
809 (tar-header-block-summarize, tar-get-descriptor): Handle pax
812 * files.el (hack-local-variables-filter): Remove useless eval.
814 2012-08-13 Martin Rudalics <rudalics@gmx.at>
816 * subr.el (with-selected-window): Fix last change.
818 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
820 * subr.el (internal--before-with-seleted-window)
821 (internal--after-with-seleted-window): New functions.
822 (with-selected-window): Use them, to replace dependency on
825 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
827 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
828 binding for `newline'.
829 (ruby-move-to-block): When moving backward, stop at block opening,
831 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
832 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
833 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
836 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
838 * ibuffer.el (ibuffer-do-toggle-read-only):
839 * dired.el (dired-toggle-read-only):
840 * buff-menu.el (Buffer-menu-toggle-read-only):
841 * bindings.el (mode-line-toggle-read-only):
842 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
844 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
846 * descr-text.el (describe-char): Put the overlays over the
847 "displayed as" character.
849 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
851 * calc/calc-units.el (math-default-units-table): Give an
853 (math-put-default-units): Add options to put composite units and
854 unit systems in the default units table.
855 (calc-convert-units): Send composite units to
856 `math-put-default-units' when appropriate.
858 2012-08-11 Glenn Morris <rgm@gnu.org>
860 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
862 * tutorial.el (help-with-tutorial):
863 * emacs-lisp/copyright.el (copyright-update-directory):
864 * emacs-lisp/autoload.el (autoload-find-generated-file)
865 (autoload-find-file): Disable local eval: (for insurance).
867 * files.el (hack-local-variables-filter): If an eval: form is not
868 known to be safe, and enable-local-variables is :safe, then ignore
869 the form totally, as is done for non-eval forms. (Bug#12155)
870 This is CVE-2012-3479.
872 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
874 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
877 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
879 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
880 ?, _, and : are symbol constituents, ! is not (but kinda should be).
881 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
882 (ruby-syntax-propertize-function): Adjust for changes in
883 `ruby-syntax-propertize-heredoc'.
885 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
887 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
888 binding (use `M-;' instead).
889 (ruby-singleton-class-p): New function.
890 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
892 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
894 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
896 2012-08-10 Chong Yidong <cyd@gnu.org>
898 * progmodes/python.el (python-shell-get-process-name): Don't mess
899 with same-window-buffer-names.
901 * eshell/eshell.el (eshell-add-to-window-buffer-names)
902 (eshell-remove-from-window-buffer-names): Make obsolete.
903 (eshell-buffer-name, eshell-unload-hook): Don't use them.
904 (eshell): Just use pop-to-buffer-same-window instead.
906 2012-08-10 Chong Yidong <cyd@gnu.org>
908 * bindings.el: Bind M-= back to count-words-region.
910 * simple.el (count-words-region): Accept a prefix arg for acting
911 on the entire buffer.
912 (count-words--buffer-message): New helper function.
914 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
916 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
917 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
918 (event-start, event-end): Use posn-at-point to return a more
920 (posnp): New function.
921 * mouse.el (popup-menu-normalize-position): Use it.
923 2012-08-10 Masatake YAMATO <yamato@redhat.com>
925 * mouse.el (popup-menu-normalize-position): New function.
926 (popup-menu): Use `popup-menu-normalize-position' to normalize
927 the form for POSITION argument.
929 * term/x-win.el (x-menu-bar-open):
930 Use the value returend from (posn-at-point) as position
931 passed to `popup-menu'.
933 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
935 * calc/calccomp.el (math-compose-expr): Add extra argument
936 indicating that parentheses should be put around products in
937 denominators. Give multiplication precedence over division during
940 2012-08-09 Chong Yidong <cyd@gnu.org>
942 * man.el (Man-switches, Man-sed-command, Man-awk-command)
943 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
944 (Man-untabify-command, manual-program): Convert to defcustom
947 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
949 * descr-text.el (describe-char): Don't insert extra newlines
952 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
953 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
955 * align.el (align-region): Delete temporary markers (Bug#10047).
956 Plus some code cleanups.
958 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
960 * progmodes/python.el (python-pdbtrack-tracked-buffer)
961 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
962 (python-shell-internal-last-output): Use make-local-variable
963 instead of make-variable-buffer-local.
965 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
967 * progmodes/python.el: Enhancements to forward-sexp.
968 (python-nav-forward-sexp): Rename from
969 python-nav-forward-sexp-function.
970 (python-nav--forward-sexp, python-nav--backward-sexp):
973 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
975 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
976 modes and simplification modes.
978 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
980 * delsel.el (delete-selection-pre-hook): Don't propagate the
981 file-supersession signals (bug#12161).
983 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
985 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
986 (cl-map-extents): Add compatibility aliases (bug#12135).
988 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
991 tests by `ignore-error'.
992 (tramp-find-shell): Open also a new shell, when cache is already
993 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
995 2012-08-08 Juri Linkov <juri@jurta.org>
997 * bookmark.el: Add `defaults' property to the bookmark record.
998 (bookmark-current-buffer): Doc fix.
999 (bookmark-make-record): Add `defaults' property with default values
1000 to the bookmark record.
1001 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1002 with `bookmark-insert-current-bookmark'.
1003 (bookmark-set): Get `defaults' property from the bookmark record
1004 and use it in `read-from-minibuffer'.
1005 (bookmark-insert-current-bookmark): Remove function.
1007 * info.el (Info-bookmark-make-record): Add `defaults' property
1008 with values of canonical Info node name, the current Info file
1009 name and the current Info node name. (Bug#12107)
1011 2012-08-08 Juri Linkov <juri@jurta.org>
1013 * files.el (basic-save-buffer): Use `buffer-name' as the default
1014 of `read-file-name' when buffer is not visiting a file (bug#12128).
1016 2012-08-08 Juri Linkov <juri@jurta.org>
1018 * info.el (Info-isearch-search): Doc fix.
1019 (Info-search): Change search-failed message from "initial node" to
1020 "end of node" (bug#12078).
1021 (Info-isearch-search): Change `isearch-string-state' to
1022 `isearch--state-string'.
1024 2012-08-08 Glenn Morris <rgm@gnu.org>
1026 * language/persian.el: Remove file.
1027 * language/misc-lang.el: Move unique part of persian.el here.
1028 * loadup.el: Remove language/persian.
1030 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1032 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1034 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1036 * progmodes/python.el Fixed defsubst warning.
1037 (python-syntax-context) Rename from python-info-ppss-context.
1038 (python-syntax-context-type): Rename from
1039 python-info-ppss-context-type.
1040 (python-syntax-comment-or-string-p): Rename from
1041 python-info-ppss-comment-or-string-p.
1043 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1045 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1047 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1049 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1050 a defcustom that is quoted with backquote.
1052 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1053 Fix handling of interactive spec when the body uses return.
1054 (math-do-arg-check, math-define-function-body): Use backquote forms.
1055 * calc/calc-ext.el (math-defcache): Likewise.
1056 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1057 * allout.el (allout-new-exposure): Likewise.
1058 * calc/calcalg2.el (math-tracing-integral): Likewise.
1059 * info.el (Info-last-menu-item): Likewise.
1060 * emulation/vip.el (vip-loop): Likewise.
1061 * textmodes/artist.el (artist-funcall): Likewise.
1062 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1063 Construct menu-item directly.
1065 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1068 2012-08-07 Chong Yidong <cyd@gnu.org>
1070 * simple.el (deactivate-mark): Preserve text properties when
1071 saving the primary selection (Bug#8384).
1073 2012-08-07 Kevin Ryde <user42@zip.com.au>
1075 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1076 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1077 and continue processing (Bug#12110).
1079 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1082 syntax-propertize-function (bug#10095).
1084 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1087 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1088 describe-function-1.
1089 (describe-function-1): Use them. Move compiler macro after sig.
1090 (help-fns--compiler-macro): Use function-get. Assume we're already in
1091 standard-output. Adjust layout to new call order.
1093 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1094 re-binding a symbol that has a symbol-macro (bug#12119).
1096 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1098 * language/persian.el: New file. (Bug#11812)
1099 * loadup.el: Add language/persian.el.
1101 2012-08-06 Chong Yidong <cyd@gnu.org>
1103 * window.el (window--maybe-raise-frame): New function.
1104 (window--display-buffer): Split off from here.
1105 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1106 (display-buffer-pop-up-window, display-buffer-use-some-window):
1107 Obey an inhibit-switch-frame action alist entry.
1108 (display-buffer): Update doc.
1110 * replace.el (occur-after-change-function): Avoid losing focus by
1111 using the inhibit-switch-frame display parameter (Bug#12139).
1113 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1115 Make internal shell process buffer names start with space.
1116 * progmodes/python.el (python-shell-make-comint): Add optional
1118 (run-python-internal): Use it.
1119 (python-shell-internal-get-or-create-process): Check for new
1120 internal buffer names.
1122 2012-08-06 Glenn Morris <rgm@gnu.org>
1124 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1125 Do less getting and setting of environment variables.
1127 2012-08-05 Chong Yidong <cyd@gnu.org>
1129 * proced.el (proced): Add substitution string to docstring to
1130 trigger autoloading of the proced library on C-h f (Bug#1768).
1132 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1133 Don't show defvars which have no second argument (Bug#8638).
1135 * imenu.el (imenu-generic-expression): Move documentation here
1136 from imenu--generic-function.
1137 (imenu--generic-function): Refer to imenu-generic-expression.
1139 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
1141 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1142 indentation declaration.
1143 (viper-loop): Add indentation declaration (Bug#7025).
1145 2012-08-05 Chong Yidong <cyd@gnu.org>
1147 * help-fns.el (describe-variable): Add hyperlink for
1148 directory-local variables files. Improve buffer-local and
1149 permanent-local reporting; suggested by MON KEY (Bug#6644).
1151 * help-mode.el (help-dir-local-var-def): New button type.
1153 * files.el (kill-buffer-hook): Provide a defvar.
1155 2012-08-05 Glenn Morris <rgm@gnu.org>
1157 * eshell/esh-ext.el (eshell/addpath):
1158 Also update eshell-path-env. (Bug#12013)
1160 2012-08-05 Chong Yidong <cyd@gnu.org>
1162 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1164 * fringe.el (fringe-styles): Add docstring.
1165 (fringe--check-mode): New function.
1166 (set-fringe-mode, set-fringe-style): Use it.
1167 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1169 * files.el (set-auto-mode): Fix invalid setq call.
1171 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * isearch.el: Misc simplification; use defstruct.
1174 (isearch-mode-map): Dense maps now work like sparse ones.
1175 (isearch--state): New defstruct.
1176 (isearch-string-state, isearch-message-state, isearch-point-state)
1177 (isearch-success-state, isearch-forward-state)
1178 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1179 (isearch-wrapped-state, isearch-barrier-state)
1180 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1181 replaced by defstruct's accessors.
1182 (isearch--set-state): Rename from isearch-top-state and change
1184 (isearch-push-state): Use new isearch--get-state.
1185 (isearch-toggle-word): Disable regexp when enabling word.
1186 (isearch-message-prefix): Remove unused arg _c-q-hack.
1187 (isearch-message-suffix): Remove unused arg _ellipsis.
1189 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1191 * simple.el (list-processes--refresh): For a server use :host or
1192 :local as the address.
1193 (list-processes): Doc fix.
1195 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1197 * lisp/mpc.el: Support password in host argument.
1198 (mpc--proc-connect): Parse and use new password element.
1199 Set mpc-proc variable instead of returning process.
1200 (mpc-proc): Adjust accordingly.
1202 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1204 * whitespace.el (whitespace-display-mappings): Use Unicode
1205 codepoints, instead of emacs-mule codepoints. See
1206 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1209 * files.el (file-truename): Don't skip symlink-chasing part on
1210 windows-nt. Incorporate the resolution of 8+3 short aliases on
1211 Windows into the loop that recursively chases symlinks.
1212 Compare directory and its parent case-insensitively on MS-Windows and
1215 2012-08-03 Chong Yidong <cyd@gnu.org>
1217 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1219 * sort.el (sort-regexp-fields): Doc fix.
1221 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1223 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1224 labels regex position point at the expected place.
1226 2012-08-03 MON KEY <monkey@sandpframing.com>
1228 * net/imap.el (imap-interactive-login, imap-authenticate)
1229 (imap-mailbox-lsub, imap-mailbox-list)
1230 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1231 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1232 (imap-parse-response): Doc fix.
1234 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1236 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1237 if sexp scanning does not move point (Bug#5734).
1239 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1241 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1242 Add listings, minted, and ctable packages.
1243 (reftex-label-alist-builtin): Move listings, minted, and ctable
1244 entries before LaTeX.
1245 (reftex-label-alist): Docfix.
1247 2012-08-02 Bastien Guerry <bzg@gnu.org>
1249 * replace.el (occur): Fix docstring (bug#12122).
1251 2012-08-02 Glenn Morris <rgm@gnu.org>
1253 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1255 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1257 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1258 * international/mule-cmds.el: Create
1259 inactivate-current-input-method-function as an obsolete alias for
1260 deactivate-current-input-method-function. See Katsumi Yamaoka in
1261 <http://bugs.gnu.org/10150#46>.
1263 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1265 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1268 2012-08-01 Glenn Morris <rgm@gnu.org>
1270 * progmodes/autoconf.el (autoconf-definition-regexp):
1271 Add AH_TEMPLATE, adjust submatch numbering.
1272 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1273 (autoconf-current-defun-function): Update for above change.
1274 (autoconf-current-defun-function): First skip to end of current word.
1276 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1278 * calendar/cal-html.el (cal-html-insert-agenda-days):
1279 Fix typo. (Bug#12018)
1281 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1283 Shell processes: enhancements to startup and CEDET compatibility.
1284 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1285 (python-shell-make-comint): accept-process-output at startup.
1286 (run-python-internal): Set inferior-python-mode-hook to nil.
1287 (python-shell-internal-get-or-create-process): call sit-for.
1288 (python-preoutput-result): Add obsolete alias.
1289 (python-shell-internal-send-string): Use it.
1290 (python-shell-send-setup-code): Remove call to
1291 accept-process-output.
1293 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1295 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1298 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1300 * calc-mode.el (calc-basic-simplification-mode): Rename from
1301 `calc-limited-simplification-mode'.
1302 (calc-alg-simplification-mode): New function.
1303 (calc-set-simplify-mode): Adjust message.
1305 * calc.el (calc-set-mode-line): Adjust mode line display for
1306 basic simplification mode.
1308 * calc-help.el (calc-m-prefix-help): Update help message.
1310 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1311 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1313 2012-07-31 Bastien Guerry <bzg@gnu.org>
1315 * man.el (man): Fix comment. (bug#12101)
1317 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1319 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1320 Don't return a non-nil value when no suitable buffer was found.
1322 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1324 * progmodes/python.el (run-python-internal): Disable font lock for
1327 2012-07-30 Stefan Merten <smerten@oekonux.de>
1329 * rst.el: Silence `checkdoc-ispell'.
1330 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1331 (rst-official-version, rst-official-cvs-rev)
1332 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1333 (rst-mode-map): New key binding.
1335 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1337 Update .PHONY listings in makefiles.
1338 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1339 autoloads, update-subdirs, updates, bzr-update, update-authors,
1340 compile-onefile, compile-calc, backup-compiled-files,
1341 compile-after-backup, compile-one-process, mh-autoloads,
1342 bootstrap-clean, distclean, maintainer-clean.
1344 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1346 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1347 (calc-set-mode-line): Don't display "AlgSimp ".
1349 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1350 (calc-lim-simplify-mode): New function.
1351 (calc-set-simplify-mode): Default to 'alg.
1352 (calc-default-simplify-mode): Make algebraic simplifications
1355 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1356 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1358 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1359 indicate new simplification modes.
1361 * calc/README: Mention new default simplification mode.
1363 * calc/calc.el (math-normalize-error): New variable.
1364 (math-normalize): Set `math-normalize-error' to t
1365 when there's an error.
1367 * calc/calc-alg.el (math-simplify): Don't simplify when
1368 `math-normalize' returns an error.
1370 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1372 * international/mule-cmds.el (set-locale-environment): Revert last
1373 change, since display-graphic-p returns nil when this function is
1374 called during startup. Instead...
1376 * term/w32console.el (terminal-init-w32console): ...setup the
1377 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1379 2012-07-29 Juri Linkov <juri@jurta.org>
1381 * simple.el (goto-line): Don't display default line number in the
1382 prompt because it should be displayed by `read-number' (bug#9952).
1383 Add the current line number to the defaults of `goto-line' to
1384 allow its easier modification by users with `M-n' (bug#9201).
1386 * subr.el (read-number): Support multiple default values like in
1387 other minibuffer reading functions. Replace `read' with
1388 `string-to-number' for consistency with `number-to-string'.
1390 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1392 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1393 * emulation/viper-init.el (viper-deactivate-input-method-action):
1394 Rename from viper-inactivate-input-method-action.
1395 (viper-deactivate-input-method):
1396 Rename from viper-inactivate-input-method.
1397 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1398 * international/mule-cmds.el (deactivate-input-method):
1399 Rename from inactivate-input-method.
1400 Also run input-method-deactivate-hook.
1401 (deactivate-current-input-method-function):
1402 Rename from inactivate-current-input-method-function.
1403 (input-method-deactivate-hook): New hook.
1404 (input-method-inactivate-hook): Mark obsolete.
1405 (inactivate-input-method): Mark obsolete.
1407 * international/quail.el (quail-activate):
1408 Also run quail-deactivate-hook.
1409 (quail-deactivate): Rename from quail-inactivate.
1410 * international/robin.el (robin-activate):
1411 Also run robin-deactivate-hook.
1412 (robin-deactivate): Rename from robin-inactivate.
1414 2012-07-29 Chong Yidong <cyd@gnu.org>
1416 * simple.el (indicate-copied-region): New function.
1417 (kill-ring-save): Split off from here.
1419 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1420 (kill-rectangle): Set deactivate-mark to t on read-only error.
1422 * register.el (copy-to-register, copy-rectangle-to-register):
1423 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1424 (append-to-register, prepend-to-register):
1425 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1427 * simple.el (async-shell-command-buffer): New defcustom.
1428 (shell-command): Use it. (Bug#4719)
1430 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1432 * international/mule-cmds.el (set-locale-environment): In a
1433 console session on MS-Windows, set up keyboard and terminal
1434 encoding from the OEM codepage, not the ANSI codepage.
1437 2012-07-28 Chong Yidong <cyd@gnu.org>
1439 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1442 2012-07-28 Leo Liu <sdl.web@gmail.com>
1444 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1445 the alist (bug#12029).
1447 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1449 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1450 (compile-always, compile-first)
1451 ($(lisp)/calendar/cal-loaddefs.el)
1452 ($(lisp)/calendar/diary-loaddefs.el)
1453 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1454 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1455 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1456 instead of on update-subdirs.
1457 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1459 2012-07-28 Chong Yidong <cyd@gnu.org>
1461 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1462 directory if vc-deduce-backend returns nil (Bug#7350).
1464 * simple.el (delete-trailing-lines): New option.
1465 (delete-trailing-whitespace): Obey it (Bug#11879).
1467 2012-07-28 David Engster <deng@randomsample.de>
1469 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1470 Explanation of new 'symbol-qnames feature in doc-strings.
1471 (xml-maybe-do-ns): Return expanded names as plain symbols if
1472 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1473 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1475 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1477 Consistent completion in inferior python with emacs -nw.
1478 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1479 binding in inferior-python-mode-map with "\t".
1480 (python-shell-completion-complete-at-point)
1481 (python-completion-complete-at-point): Remove interactive spec.
1483 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1485 * calc/calccomp.el (math-compose-expr): Undo previous change.
1487 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1489 * progmodes/python.el (python-mode-map): Add keybinding for
1491 (python-shell-make-comint): Fix pop-to-buffer call.
1492 (run-python): Autoload. New arg SHOW.
1493 (python-shell-get-or-create-process): Do not pop python process
1496 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1498 * notifications.el (notifications-on-action-signal)
1499 (notifications-on-closed-signal): Use also the bus address for the map.
1500 (notifications-notify, notifications-close-notification)
1501 (notifications-get-capabilities): Add optional argument BUS.
1503 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1505 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1506 Add support for the lstlisting and minted environments, and for the
1508 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1509 labels written in keyvals syntax.
1511 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1513 * calc/calccomp.el (math-compose-expr): Use parentheses when
1514 there is a product in the denominator of a fraction.
1516 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1518 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1519 ($(lisp)/calendar/diary-loaddefs.el)
1520 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1521 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1522 Fixes failures in parallel bootstrap because subdirs.el is being
1523 rewritten while the autoload files are built at the same time,
1524 which needs to load subdirs.el.
1526 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1528 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1529 (mouse-drag-line): Don't exit tracking when a switch-frame or
1530 switch-window event occurs (Bug#12006).
1532 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * mouse.el (popup-menu): Fix last change.
1536 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1538 Autoload from Lisp with more care. Follow aliases when looking for
1539 function properties.
1540 * subr.el (autoloadp): New function.
1541 (symbol-file): Use it.
1542 (function-get): New function.
1543 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1545 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1546 (lisp-indent-function):
1547 * emacs-lisp/gv.el (gv-get):
1548 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1549 * emacs-lisp/byte-opt.el (byte-optimize-form):
1550 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1551 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1553 * emacs-lisp/cl.el: Don't propagate function properties any more.
1555 * speedbar.el (speedbar-add-localized-speedbar-support):
1556 * emacs-lisp/disass.el (disassemble-internal):
1557 * desktop.el (desktop-load-file):
1558 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1559 (describe-function-1):
1560 * emacs-lisp/find-func.el (find-function-noselect):
1561 * emacs-lisp/elp.el (elp-instrument-function):
1562 * emacs-lisp/advice.el (ad-has-proper-definition):
1563 * apropos.el (apropos-safe-documentation, apropos-macrop):
1564 * emacs-lisp/debug.el (debug-on-entry):
1565 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1566 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1567 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1569 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1571 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1572 function, not an obsolete variable (Bug#12046).
1574 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1576 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1578 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1580 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1581 window only if it is still live (Bug#12034).
1583 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1585 * subr.el (redirect-frame-focus): Add advertised calling
1586 convention (Bug#12030).
1588 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1590 Prefer typical American spelling for "acknowledgment".
1591 * vc/add-log.el (change-log-acknowledgment): Rename from
1592 change-log-acknowledgement, with an alias for the old name.
1594 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1596 * calc-alg.el (math-simplify-divide): Don't cross multiply
1597 in an equation when the lhs is a variable.
1599 2012-07-24 Julien Danjou <julien@danjou.info>
1601 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1604 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1606 * startup.el (command-line): Don't display an empty user name in
1607 the error message about non-existent home directory, when
1608 init-file-user was set to an empty string. See
1609 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1610 for the details and context.
1612 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1614 * ses.el (ses-cell-formula-aset): New macro.
1615 (ses-cell-references-aset): New macro.
1616 (ses-cell-p): New function.
1617 (ses-rename-cell): Do no longer rely on complex operations like
1618 ses-cell-set-formula or ses-set-cell to change the cell and handle
1619 the undo at the same time, but rather use lower level new macros
1620 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1621 the undo directly. Refresh the mode line.
1623 2012-07-21 Leo Liu <sdl.web@gmail.com>
1625 * progmodes/cc-cmds.el (c-defun-name):
1626 Use match-string-no-properties instead for consistency.
1628 2012-07-20 Leo Liu <sdl.web@gmail.com>
1630 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1633 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1635 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1638 * progmodes/bug-reference.el, misearch.el: Provide themselves
1641 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1642 of narrowed buffer (bug#11966).
1644 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1646 * ses.el (ses-rename-cell): Set new name also in reference list of
1647 cells of which the renamed cell depends.
1649 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1651 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1652 to check whether menu-bar is shown or not. If not shown,
1653 show the menu-bar as a popup menu instead of using tmm.
1654 * mouse.el (popup-menu): Accept `point' as `position' argument.
1656 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1658 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1659 up inside string symbol literal (bug#11923).
1661 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1663 * startup.el (fancy-startup-text): Read the whole tutorial, not
1664 just its first 256 bytes. Prevents gibberish in display of the
1667 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1669 Drop idle buffer compaction due to an absence of the
1671 * compact.el: Remove.
1673 2012-07-19 Sam Steingold <sds@gnu.org>
1675 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1676 vc-bzr-pull & vc-bzr-merge-branch.
1677 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1678 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1679 for consistency with compilation-error-regexp-alist.
1680 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1681 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1682 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1683 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1685 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * emacs-lisp/chart.el: Use lexical-binding.
1688 (chart-emacs-storage): Don't hardcode the list of entries.
1690 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1692 Next round of tweaks caused by Fgarbage_collect changes.
1693 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1695 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1697 Compact buffers when idle.
1698 * compact.el: New file.
1700 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1702 * subr.el (eventp): Presume that if it looks vaguely like an event,
1703 it's an event (bug#10190).
1705 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1707 Enhancements to ppss related code (thanks Stefan).
1708 * progmodes/python.el (python-indent-context)
1709 (python-indent-calculate-indentation, python-indent-dedent-line)
1710 (python-indent-electric-colon, python-nav-forward-block)
1711 (python-mode-abbrev-table)
1712 (python-info-assignment-continuation-line-p): Simplify checks
1714 (python-info-continuation-line-p): Cleanup.
1715 (python-info-ppss-context): Do not catch 'quote.
1716 (python-info-ppss-context-type)
1717 (python-info-ppss-comment-or-string-p): Simplify.
1719 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1721 * progmodes/python.el: Enhancements to eldoc support.
1722 (python-info-current-symbol): New function.
1723 (python-eldoc-at-point): Use python-info-current-symbol.
1724 (python-info-current-defun): Fix cornercase on first defun scan.
1725 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1726 and signal error when no inferior python process is available.
1728 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1730 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1731 assume it's always t.
1732 (vc-git-registered): Remove caching, the function is only called
1734 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1736 2012-07-18 Chong Yidong <cyd@gnu.org>
1738 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1740 * simple.el (count-words): Report on narrowing (Bug#9959).
1742 * bindings.el: Bind M-= to count-words.
1744 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1746 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1748 * progmodes/sh-script.el (sh-imenu-generic-expression):
1749 Capture a function with `function' keyword and without parentheses
1750 like "function FOO" (bug#11856).
1752 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1754 * window.el (split-window-sensibly): Make WINDOW argument
1757 2012-07-18 Chong Yidong <cyd@gnu.org>
1759 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1761 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1762 and make C-x 8 RET exit isearch (Bug#11439).
1764 * international/iso-transl.el: Move isearch-mode-map key
1765 definitions to isearch.el.
1767 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1770 (eieio-defclass): Use gv-define-setter when possible.
1772 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1774 Reflect recent changes in Fgarbage_collect.
1775 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1776 reflect new format of data returned by Fgarbage_collect.
1778 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1780 New utility functions + python-info-ppss-context fix (Bug#11910).
1781 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1782 (python-info-ppss-comment-or-string-p): New functions.
1783 (python-info-ppss-context): Small fix for string check.
1785 2012-07-17 Juri Linkov <juri@jurta.org>
1787 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1788 (dired-do-async-shell-command): Don't add `*' at the end of the
1789 command (Bug#11815).
1790 (dired-do-shell-command): Doc fix.
1791 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1792 Join the individual commands using either "&" or ";" as the
1793 separator depending on the values of these trailing characters.
1794 At the end re-add the trailing "&". (Bug#10598)
1796 * simple.el (async-shell-command): Sync the interactive spec with
1797 `shell-command'. Doc fix.
1798 (shell-command): Doc fix.
1800 2012-07-17 Juri Linkov <juri@jurta.org>
1802 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1804 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1806 Final renames and doc fixes for movement commands (bug#11899).
1807 * progmodes/python.el (python-nav-beginning-of-statement):
1808 Rename from python-nav-statement-start.
1809 (python-nav-end-of-statement): Rename from
1810 python-nav-statement-end.
1811 (python-nav-beginning-of-block): Rename from
1812 python-nav-block-start.
1813 (python-nav-end-of-block): Rename from python-nav-block-end.
1815 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1817 * progmodes/python.el (python-shell-send-string-no-output):
1818 Allow accept-process-output to quit, keeping shell process ready for
1819 future interactions (Bug#11868).
1821 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1825 * emacs-lisp/elint.el (elint-find-args-in-code):
1826 Use help-function-arglist, so as to handle lexical byte-code.
1828 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1831 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1834 Avoid spuriously marking the buffer as modified because of c-is-sws.
1836 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1837 as not-a-comment (bug#11946).
1839 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1840 for uninterned vars.
1842 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1843 Use read-event since we don't really want to read chars but bytes.
1845 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1846 $$..$$ but also $..$ using regexps (bug#11953).
1847 Use tex-verbatim for \url and \path.
1848 (tex-font-lock-keywords): Define as defconst like the others.
1849 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1851 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1853 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1854 alias for insert-char.
1856 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1858 * progmodes/python.el: Simplified imenu implementation.
1859 (python-nav-jump-to-defun): Remove command.
1860 (python-mode-map): Use `imenu' instead.
1861 (python-nav-list-defun-positions-cache)
1862 (python-imenu-include-defun-type, python-imenu-make-tree)
1863 (python-imenu-subtree-root-label, python-imenu-index-alist):
1865 (python-nav-list-defun-positions, python-nav-read-defun)
1866 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1867 (python-imenu-make-tree, python-imenu-create-index):
1869 (python-mode): Update to interact with imenu by setting
1870 `imenu-extract-index-name-function' only.
1872 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1874 * progmodes/python.el: Enhancements to navigation commands.
1875 (python-nav-backward-sentence)
1876 (python-nav-forward-sentence): Remove.
1877 (python-nav-backward-statement, python-nav-forward-statement)
1878 (python-nav-statement-start, python-nav-statement-end)
1879 (python-nav-backward-block, python-nav-forward-block)
1880 (python-nav-block-start, python-nav-block-end)
1881 (python-nav-forward-sexp-function)
1882 (python-info-current-line-comment-p)
1883 (python-info-current-line-empty-p): New functions.
1884 (python-indent-context): Use `python-nav-statement-start'.
1886 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1888 * eshell/em-ls.el (eshell/ls): Use `apply'.
1890 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1891 multi-hops, instead of Tramp internals.
1893 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1895 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1896 when F1 and F2 are located on different hosts.
1898 2012-07-14 Chong Yidong <cyd@gnu.org>
1900 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1901 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1902 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1903 (xterm-mouse--read-event-sequence-1000)
1904 (xterm-mouse--read-event-sequence-1006): New functions. For old
1905 mouse protocol, handle M-mouse-X events correctly.
1906 (xterm-mouse-event): New arg specifying mouse protocol.
1907 (turn-on-xterm-mouse-tracking-on-terminal)
1908 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1909 sequence to toggle extended coordinates on newer XTerms.
1910 This appears to be harmless on terminals which do not support this.
1912 2012-07-14 Leo Liu <sdl.web@gmail.com>
1914 Add fringe bitmap indicators for flymake. (Bug#11253)
1915 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1916 (flymake-make-overlay): New arg BITMAP.
1917 (flymake-error-bitmap, flymake-warning-bitmap)
1918 (flymake-fringe-indicator-position): New user variables.
1920 * fringe.el: New bitmap exclamation-mark.
1922 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1924 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1927 2012-07-14 Chong Yidong <cyd@gnu.org>
1929 * electric.el (electric-pair-post-self-insert-function): Fix pair
1930 insertion in empty-region case (Bug#11520).
1932 2012-07-14 Chong Yidong <cyd@gnu.org>
1934 * bindings.el: Consolidate ctl-x-r-map bindings.
1935 Bind copy-rectangle-as-kill to C-x r w.
1937 * rect.el, register.el: Move bindings to bindings.el.
1939 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1941 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1943 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1945 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1947 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1949 * bindings.el (top): Use `mapc' instead of `mapcar'.
1951 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1953 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1955 * progmodes/sql.el (sql-comint): Suppress the check for program on
1956 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1959 2012-07-13 Chong Yidong <cyd@gnu.org>
1961 * bindings.el: Assign a non-nil permanent-local property to
1962 per-buffer variables which lack a default value (Bug#11930).
1964 * help-fns.el (describe-variable): In the "automatically becomes
1965 local" notice, take note of permanent-local variables.
1967 2012-07-13 Chong Yidong <cyd@gnu.org>
1969 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1970 to allow printing the message when called from Lisp.
1972 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1973 Remove toggle-read-only.
1975 * bs.el (bs-toggle-readonly):
1976 * buff-menu.el (Buffer-menu-toggle-read-only):
1977 Remove with-no-warnings around toggle-read-only.
1979 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1980 Remove with-no-warnings around toggle-read-only.
1981 (ffap-read-only, ffap-read-only-other-window)
1982 (ffap-read-only-other-frame): Callers changed.
1984 * help-mode.el: Don't require view package.
1985 (help-mode-finish): Set buffer-read-only instead of calling
1988 * bindings.el (mode-line-toggle-read-only):
1989 * dired.el (dired-toggle-read-only):
1990 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1991 with non-nil second arg.
1993 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1994 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1997 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1999 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2002 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2004 More CL cleanups and reduction of use of cl.el.
2005 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2006 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2007 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2008 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2009 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2010 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2011 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2012 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2013 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2014 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2015 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2016 * eshell/em-cmpl.el, eshell/em-banner.el:
2017 * calendar/parse-time.el: Use cl-lib.
2018 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2019 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2020 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2021 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2022 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2023 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2024 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2025 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2026 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2027 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2028 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2029 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2030 `lambda' rather than with `quote'.
2031 (eshell-do-opt): Adjust accordingly.
2032 (eshell-process-option): Simplify.
2033 * eshell/esh-var.el:
2034 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2035 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2036 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2037 to `pcase--dontcare'.
2038 * emacs-lisp/cl.el (labels): Mark obsolete.
2039 (cl--letf, letf): Move to cl-lib.
2040 (cl--letf*, letf*): Remove.
2041 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2042 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2043 (cl-progv): Rewrite.
2044 (cl--letf, cl-letf): Move from cl.el.
2045 (cl-letf*): New macro.
2046 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2048 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2050 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2052 2012-07-11 Chong Yidong <cyd@gnu.org>
2054 * vc/log-edit.el (log-edit-vc-backend): New variable.
2055 (log-edit): Doc fix.
2057 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2058 argument of log-edit to set up all local variables.
2059 (vc-start-logentry): New optional arg specifying VC backend.
2061 * vc/vc.el (vc-checkin): Use it.
2062 (vc-deduce-fileset): Handle Log Edit buffers.
2063 (vc-diff): Make first argument optional too.
2065 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2067 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2069 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2070 command, just in case. The function is not needed anymore.
2071 (eshell-external-command): Do not call `eshell-remote-command'.
2073 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2075 Reduce use of (require 'cl).
2076 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2077 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2078 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2079 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2080 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2081 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2082 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2083 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2084 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2085 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2086 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2087 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2088 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2089 (byte-compile-unfold-bcf, byte-compile-check-variable):
2090 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2091 (byte-compile-nilconstp):
2092 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2093 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2095 * emacs-lisp/gv.el (cond): Make it a valid place.
2096 (if): Simplify slightly.
2098 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2099 (pcase--self-quoting-p): New function.
2100 (pcase--u1): Use it.
2102 2012-07-10 Glenn Morris <rgm@gnu.org>
2104 * emacs-lisp/authors.el (authors-fixed-entries):
2105 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2107 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2109 Rename configure.in to configure.ac (Bug#11603).
2110 * emacs-lisp/authors.el (authors-canonical-file-name):
2111 * progmodes/autoconf.el (autoconf-mode):
2112 Prefer configure.ac to configure.in.
2114 2012-07-08 Chong Yidong <cyd@gnu.org>
2116 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2117 Implement the mouse-1-click-follows-link handling properly.
2119 * info.el (Info-link-keymap): Use follow-link mechanism for
2120 header-line links (Bug#374).
2122 * simple.el (deactivate-mark): Do not set the primary selection
2123 if another program has acquired it (Bug#11772).
2125 2012-07-07 Kevin Ryde <user42@zip.com.au>
2127 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2128 (woman-decode-region): Replace escaped-escapes without destroying
2129 bold or underline (Bug#11552).
2130 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2132 2012-07-07 Chong Yidong <cyd@gnu.org>
2134 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2135 (interprogram-cut-function, interprogram-paste-function):
2136 Mention that we typically mean the clipboard.
2138 2012-07-06 Glenn Morris <rgm@gnu.org>
2140 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2142 * files.el (toggle-read-only): Restrict message to interactive use.
2144 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2146 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2148 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2150 2012-07-06 Glenn Morris <rgm@gnu.org>
2152 * Makefile.in (compile-one-process): Rename from "recompile".
2154 * Makefile.in (bzr-update): "compile" is the same as "recompile
2155 autoloads", but parallelizable, so use that instead.
2157 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2159 * window.el (quit-window): Always restore window height when
2160 it's saved in quit-restore parameter (Bug#11810).
2162 2012-07-06 Glenn Morris <rgm@gnu.org>
2164 * simple.el (kill-whole-line): Doc tweak.
2166 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2168 * files.el (file-relative-name): Compare file names
2169 case-insensitively if on MS-Windows or MS-DOS, or if
2170 read-file-name-completion-ignore-case is non-nil. Don't use
2171 case-fold-search for this purpose. (Bug#11827)
2173 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2175 * calendar/cal-dst.el (calendar-current-time-zone):
2176 Return calendar-current-time-zone-cache if non-nil.
2178 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2179 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2181 * calendar/cal-dst.el (calendar-current-time-zone):
2182 Return calendar-current-time-zone-cache if non-nil.
2184 2012-07-06 Glenn Morris <rgm@gnu.org>
2186 * Makefile.in (cvs-update): Remove old alias.
2188 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2190 Sync with Tramp 2.2.6-pre.
2192 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2193 compatible declaration.
2195 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2196 Protect `list-load-path-shadows' call.
2198 * net/tramp-compat.el (top): Require packages, which aren't
2199 autoloaded anymore for XEmacs. Protect call of
2200 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2201 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2202 it hurts at least for SXEmacs.
2203 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2204 standard-value for `temporary-file-directory'.
2206 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2207 Redirect stderr to /dev/null.
2208 (tramp-sh-handle-write-region): uid and gid can be floats.
2209 Reported by Russell Sim <russell.sim@gmail.com>.
2210 (tramp-sh-handle-vc-registered): Hide errors.
2211 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2212 and `start-file-process'.
2213 (tramp-maybe-open-connection): Check also whether `non-essential'
2216 2012-07-04 Chong Yidong <cyd@gnu.org>
2218 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2219 (xml-parse-tag): Likewise, and avoid changing entity tables.
2220 (xml-syntax-table): Define from scratch, making sure not to give
2221 x2000 and other Unicode spaces whitespace syntax, since those are
2223 (xml-parse-fragment): Delete unused function.
2224 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2225 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2226 (xml-entity-ref, xml-pe-reference-re)
2227 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2228 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2229 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2230 (xml-entity-value-re): Use syntax references in regexps where
2231 possible; no need to define inside a let-binding.
2232 (xml-parse-dtd): Use xml-pe-reference-re.
2233 (xml-entity-or-char-ref-re): New defconst.
2234 (xml-parse-string, xml-substitute-special): Use it.
2236 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2238 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2239 (find-file--read-only): New function.
2240 (find-file-read-only, find-file-read-only-other-window)
2241 (find-file-read-only-other-frame): Use it.
2242 (insert-file-contents-literally): Don't `fset'.
2243 (get-free-disk-space): Use locate-dominating-file.
2245 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2246 function is already compiled.
2248 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2250 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2252 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2253 files on the same host.
2255 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2257 * help-fns.el (describe-function-1): Only call
2258 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2260 2012-07-03 Chong Yidong <cyd@gnu.org>
2262 * xml.el: Protect parser against XML bombs.
2263 (xml-entity-expansion-limit): New variable.
2264 (xml-parse-string, xml-substitute-special): Use it.
2265 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2267 2012-07-03 Glenn Morris <rgm@gnu.org>
2269 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2270 Allow linking to specific messages in debbugs reports (eg 123#5).
2272 2012-07-02 Chong Yidong <cyd@gnu.org>
2274 * xml.el: Fix entity and character reference expansion, allowing
2275 them to expand into markup as per XML spec.
2276 (xml-default-ns): New variable.
2277 (xml-entity-alist): Use XML spec definitions for lt and amp.
2278 (xml-parse-region): Make first two arguments optional.
2279 Discard text properties.
2280 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2281 All callers changed.
2282 (xml-parse-tag): Call xml-parse-tag-1. For backward
2283 compatibility, this function should not modify buffer contents.
2284 (xml-parse-tag-1): Fix opening-tag regexp.
2285 (xml-parse-string): Rewrite, handling entity and character
2286 references properly.
2287 (xml--entity-replacement-text): Signal an error if a parameter
2288 entity is undefined.
2290 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * comint.el (comint-output-filter): Filter out repeated prompts.
2294 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2295 and file-name-absolute-p.
2296 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2299 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2302 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2303 Rename from byte-compile--refiy-function. All uses changed.
2305 2012-07-01 Chong Yidong <cyd@gnu.org>
2307 * xml.el (xml--parse-buffer): New function. Move most of
2308 xml-parse-region here.
2309 (xml-parse-region): Copy region into a temporary buffer, since
2310 parameter entity substitution requires changing buffer contents.
2311 Use xml--parse-buffer.
2312 (xml-parse-file): Use xml--parse-buffer.
2313 (xml-parse-dtd): Make parameter entity substitution work right.
2314 Use proper regexps for ELEMENT declarations (Bug#7172).
2316 2012-06-30 Glenn Morris <rgm@gnu.org>
2318 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2320 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2321 Remove outdated and unnecessary dbus declarations.
2323 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2325 * emacs-lisp/timer.el (timer-until): Subtract results of
2326 float-time, instead of taking float-time of the result of
2327 time-subtract, since float-time signals an error for negative time
2330 2012-06-30 Chong Yidong <cyd@gnu.org>
2332 * xml.el (xml-*-re): Convert defvars into defconsts, and
2333 eval-and-compile them so eval-and-compile works on derivatives.
2334 (xml--entity-replacement-text): Use eval-and-comple.
2336 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2338 * vc/vc-git.el (vc-git-registered): Use cache property
2340 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2341 `vc-git-working-revision' in order to benefit from the cache.
2342 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2344 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2346 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2347 removed (likely outside Emacs). (Bug#11757)
2349 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * emacs-lisp/cl-lib.el: Require macroexp.
2353 2012-06-30 Chong Yidong <cyd@gnu.org>
2355 * xml.el: Implement XML parameter entities.
2356 (xml-parameter-entity-alist): New variable.
2357 (xml-parse-region, xml-parse-fragment): Preserve previous values
2358 of xml-entity-alist and xml-parameter-entity-alist, so that
2359 repeated calls on different documents do not change them.
2360 (xml-parse-tag): Fix doctype regexp.
2361 (xml--entity-replacement-text): New function.
2362 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2363 properly requires url retrieval which is unimplemented.
2364 (xml-escape-string): Doc fix.
2366 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2370 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2372 * fringe.el (fringe-mode): Doc fix.
2374 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2376 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2378 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2379 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2381 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2383 * calendar/cal-dst.el (calendar-current-time-zone):
2384 Return calendar-current-time-zone-cache if non-nil.
2386 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2388 * progmodes/which-func.el (which-func-format):
2389 Add mouse-face. (Bug#11698)
2391 2012-06-29 Leo Liu <sdl.web@gmail.com>
2393 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2395 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2397 * minibuffer.el (minibuffer-confirm-exit-commands):
2398 Add completion-at-point (bug#11725).
2400 2012-06-29 Glenn Morris <rgm@gnu.org>
2402 * progmodes/f90.el (f90-font-lock-keywords-2):
2403 Add some preprocessor elements. (Bug#10499)
2405 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2408 Use syntax-propertize (bug#11739).
2410 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2412 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2414 2012-06-28 Julien Danjou <julien@danjou.info>
2416 * term.el (term-handle-colors-array): Use a set of new faces to
2417 color the terminal. Also uses :inverse-video property.
2418 (term-default-fg-color): Set to nil by default, deprecate in favor
2420 (term-default-bg-color): Set to nil by default, deprecate in favor
2422 (term-current-face): Use `term-face' by default.
2423 (term-bold-attribute): Variable deleted.
2425 2012-06-28 Glenn Morris <rgm@gnu.org>
2427 * simple.el (completion-list-mode-finish):
2428 Don't use toggle-read-only. (Since completion-list-mode has
2429 a special mode-class, it wasn't doing anything extra anyway.)
2431 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2433 Make inlining of other-mode interpreted functions work (bug#11799).
2434 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2435 (byte-compile): Use it to fix compilation of lexical-binding closures.
2436 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2437 function, if needed.
2439 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * help-mode.el (help-make-xrefs): Don't just withstand
2442 cyclic-variable-indirection but any error in documentation-property.
2444 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2446 * bindings.el (bindings--define-key): New function.
2447 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2448 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2449 * bindings.el: Use it to purecopy define-key bindings.
2451 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2453 * emacs-lisp/cl.el (flet): Mark obsolete.
2454 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2455 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2456 * progmodes/js.el (js-c-fill-paragraph):
2457 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2458 (ebrowse-switch-member-buffer-to-derived-class):
2459 * play/5x5.el (5x5-solver): Use cl-flet.
2461 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2462 (cl--symbol-function): New macro.
2463 (cl--letf, cl--letf*): Use it.
2465 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2466 Strip "toggle-" if any.
2468 2012-06-27 Glenn Morris <rgm@gnu.org>
2470 * info.el (Info-default-directory-list): Move here from paths.el.
2471 * paths.el: Remove file, which is now empty.
2472 * loadup.el: No longer load "paths".
2474 * custom.el (custom-initialize-delay): Doc fix.
2476 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2477 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2478 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2479 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2480 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2481 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2482 * eshell/eshell.el (eshell-defgroup): Remove alias.
2484 2012-06-27 Chong Yidong <cyd@gnu.org>
2486 * help.el (help-enable-auto-load): New variable.
2488 * help-fns.el (help-fns--autoloaded-p): New function.
2489 (describe-function-1): Refer to a function as "autoloaded" if it
2490 was autoloaded at any time in the past. Perform autoloading if
2491 help-enable-auto-load is non-nil.
2493 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2495 * makefile.w32-in (compile, compile-always): Depend on
2496 update-subdirs, not on subdirs.el. Otherwise, several different
2497 sub-targets of 'bootstrap' running in parallel could
2498 simultaneously write to subdirs.el, producing a garbled file.
2500 2012-06-26 Sam Steingold <sds@gnu.org>
2502 * files.el (file-name-base): New convenience function.
2503 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2504 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2505 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2506 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2507 * textmodes/ispell.el, textmodes/reftex-ref.el:
2508 * textmodes/tex-mode.el: Use it.
2509 Did not touch cedet and org because they are maintained elsewhere.
2511 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2513 * calendar/calendar.el (calendar-exit): Don't try to delete or
2514 iconify last frame. See:
2515 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2517 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2519 * server.el (server-process-filter): Remember dir in the
2520 process's `server-client-directory' properties.
2522 2012-06-24 Chong Yidong <cyd@gnu.org>
2524 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2527 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2529 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2531 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * help-fns.el (describe-variable): Don't croak when doc is not found.
2534 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2535 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2536 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2537 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2538 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2540 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2542 2012-06-23 Chong Yidong <cyd@gnu.org>
2544 * info.el (Info-mouse-follow-link): Accept symbol values of
2545 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2546 (Info-fontify-node): Use Info-link-keymap for all navigation
2547 buttons, with link-args property to perform the desired action.
2548 (Info-link-keymap): Doc fix.
2549 (Info-next-link-keymap, Info-prev-link-keymap)
2550 (Info-up-link-keymap): Delete now-unused keymaps.
2552 2012-06-23 Chong Yidong <cyd@gnu.org>
2554 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2556 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2559 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2561 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2566 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2567 the requote function doesn't work properly (bug#11714).
2569 2012-06-23 Glenn Morris <rgm@gnu.org>
2571 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2573 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2575 Further GV/CL cleanups.
2576 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2578 (gv--defun-declaration): New function.
2579 (defun-declarations-alist): Use it.
2580 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2581 (gv-place): Autoload.
2582 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2583 original definition of dotimes and dolist.
2584 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2585 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2586 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2587 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2588 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2589 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2590 to the function's definition.
2591 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2595 * env.el: Don't use CL.
2597 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2599 Support higher-resolution time stamps (Bug#9000).
2601 * calendar/time-date.el (with-decoded-time-value): New arg
2602 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2603 (encode-time-value): New optional arg PICO. New type 3.
2604 (time-to-seconds) [!float-time]: Support the new picoseconds
2605 component if it's used.
2606 (seconds-to-time, time-subtract, time-add):
2607 Support ps-resolution time stamps as well.
2609 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2610 (timerp): Timer vectors now have length 9, not 8.
2611 (timer--time): Support new-style (4-part) time stamps.
2612 (timer-next-integral-multiple-of-time): Time stamps now have
2613 picosecond resolution, so take a bit more care about rounding.
2614 (timer-relative-time, timer-inc-time): New optional arg psecs.
2615 (timer-set-time-with-usecs): Set psecs to 0.
2616 (timer--activate): Check psecs component, too.
2618 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2620 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2622 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2623 Move the non-essential binding to the post/pre-command-hook where it is
2624 more obviously correct.
2626 * subr.el (read-passwd): Don't use a history at all.
2627 * savehist.el (savehist-save): Remove password saved accidentally
2628 because of the above bug.
2630 2012-06-22 Bastien Guerry <bzg@gnu.org>
2632 * files.el (toggle-read-only): Display a message telling whether
2633 the buffer is read-only or not (bug#11726).
2635 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * emacs-lisp/gv.el: New file.
2638 * subr.el (push, pop): Extend to generalized variables.
2639 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2640 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2641 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2642 gv-define-simple-setter, and gv-define-expander.
2643 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2644 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2645 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2646 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2647 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2649 (cl-defstruct): Don't define setf-method any more.
2650 * emacs-lisp/cl.el (flet): Don't autoload.
2651 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2652 (define-setf-expander, defsetf, define-modify-macro)
2653 (cl-struct-setf-expander): Move from cl-lib.el.
2654 * emacs-lisp/syntax.el:
2655 * emacs-lisp/ewoc.el:
2656 * emacs-lisp/smie.el:
2657 * emacs-lisp/cconv.el:
2658 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2659 (timer--time): Use gv-define-simple-setter.
2660 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2661 to avoid coding-system problems in subr.el. Adjust all users.
2662 (macroexp--maxsize, macroexp-small-p): New functions.
2663 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2664 * scroll-bar.el (scroll-bar-mode):
2665 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2666 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2667 * winner.el (winner-configuration, winner-make-point-alist)
2668 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2669 * files.el (locate-file-completion-table): Avoid list*.
2671 2012-06-22 Chong Yidong <cyd@gnu.org>
2673 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2674 (dired-create-files): Doc fix (Bug#11329).
2675 (dired-do-copy): Doc fix (Bug#11334).
2676 (dired-mark-read-string): Doc fix (Bug#11553).
2678 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2679 Doc fix (Bug#11326).
2680 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2681 (dired-dwim-target): Doc fix.
2683 * wdired.el (wdired-mode): Doc fix.
2685 2012-06-22 Glenn Morris <rgm@gnu.org>
2687 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2688 (pcmpl-rpm-cache-stamp-file): New constant.
2689 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2690 (pcmpl-rpm-packages): Optionally cache list of packages.
2692 * pcmpl-rpm.el (pcmpl-rpm): New group.
2693 (pcmpl-rpm-query-options): New option.
2694 (pcmpl-rpm-packages): No need to inline it.
2695 Use pcmpl-rpm-query-options.
2697 * calendar/calendar.el (calendar-in-read-only-buffer):
2698 Avoid some needless mode changes.
2700 2012-06-21 Chong Yidong <cyd@gnu.org>
2702 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2703 (desktop-path): Remove . from the default value (Bug#10977).
2704 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2706 2012-06-20 Chong Yidong <cyd@gnu.org>
2708 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2710 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2712 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2715 2012-06-20 Chong Yidong <cyd@gnu.org>
2717 * term.el (term-window-width): Handle the case of a missing right
2719 (term-check-size): Use window-text-height (Bug#5445).
2720 (term-mode): Use define-derived-mode. Minor cleanups.
2721 Set font-lock-defaults (Bug#7692).
2722 (term-move-columns, term-insert-char, term-emulate-terminal)
2723 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2725 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2727 * net/ange-ftp.el (ange-ftp-get-passwd):
2728 Bind `enable-recursive-minibuffers'.
2729 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2731 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2733 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2735 2012-06-19 Glenn Morris <rgm@gnu.org>
2737 * progmodes/python.el (python-mode): Derive from prog-mode.
2739 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2741 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2742 (edt-user-menu-bar-update-buffers): New functions.
2743 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2745 2012-06-19 Chong Yidong <cyd@gnu.org>
2747 * subr.el (with-selected-window): Preserve the selected window's
2748 terminal's top-frame (Bug#4702).
2750 * window.el (save-selected-window): Likewise.
2752 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * progmodes/python.el (python-rx-constituents): Move backquote.
2755 (python-skeleton-define, python-define-auxiliary-skeleton):
2758 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2760 * minibuffer.el (read-file-name-default): Revert the patch from
2763 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2766 (pcase--u1, pcase--q1): Don't use apply-partially.
2768 2012-06-18 Glenn Morris <rgm@gnu.org>
2770 * progmodes/python.el (python-proc, python-buffer)
2771 (python-send-receive, python-send-string): Fix obsolete versions.
2773 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2775 * window.el (special-display-p): Completely remove stringp
2776 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2778 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2780 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2782 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2784 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2785 * net/tramp-sh.el (tramp-maybe-open-connection):
2786 Throw if `non-essential' is non-nil.
2788 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2790 * window.el (special-display-p): Signal an error if BUFFER-NAME
2791 is not a string (Bug#11713).
2793 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2795 * progmodes/python.el (python-info-beginning-of-backslash):
2796 Rename from python-info-beginning-of-backlash, as a spelling fix.
2798 2012-06-17 Chong Yidong <cyd@gnu.org>
2800 * term.el (term-emulate-terminal): If term-check-size is called,
2801 move point to the process mark without resetting point (Bug#4635).
2803 2012-06-17 Glenn Morris <rgm@gnu.org>
2805 * international/mule-cmds.el (mule-menu-keymap)
2806 (set-language-environment, set-locale-environment): Doc tweaks.
2808 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2810 * cus-face.el (custom-face-attributes): Add wave-style underline
2812 * faces.el (set-face-attribute): Update docstring to describe
2813 wave-style underline attribute.
2815 2012-06-16 Chong Yidong <cyd@gnu.org>
2817 * term/xterm.el (terminal-init-xterm): Discard input before
2818 querying background mode (Bug#10959).
2820 2012-06-16 Stefan Merten <smerten@oekonux.de>
2822 * textmodes/rst.el: Added and corrected some comments.
2823 (rst-re-alist-def): Improve symbol syntax.
2824 (rst-mode-syntax-table): Correct syntax entries.
2825 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2826 (rst-official-version, rst-official-cvs-rev): Update version
2829 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2831 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2832 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2834 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2836 * progmodes/python.el: New python.el merge.
2837 (python-guess-indent): Obsolete var.
2838 (python-indent-guess-indent-offset): New defcustom.
2839 (python-indent): Obsolete var.
2840 (python-indent-offset): New defcustom.
2841 (python-python-command, python-jython-command): Delete var.
2842 (python-shell-interpreter): New defcustom.
2843 (python-pdbtrack-do-tracking-p): Delete var.
2844 (python-pdbtrack-activate): New defcustom.
2845 (python-use-skeletons): Obsolete var.
2846 (python-skeleton-autoinsert): New defcustom.
2847 (inferior-python-filter-regexp, python-continuation-offset)
2848 (python-honour-comment-indentation, python-indent-string-contents)
2849 (python-jython-packages, python-mode-hook)
2850 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2851 (python-shell-prompt-alist)
2852 (python-source-modes): Delete defcustoms.
2853 (python-check-buffer-name, python-eldoc-setup-code)
2854 (python-eldoc-string-code, python-ffap-setup-code)
2855 (python-ffap-string-code, python-fill-comment-function)
2856 (python-fill-decorator-function, python-fill-paren-function)
2857 (python-fill-string-function, python-imenu-include-defun-type)
2858 (python-imenu-make-tree, python-imenu-subtree-root-label)
2859 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2860 (python-shell-compilation-regexp-alist)
2861 (python-shell-completion-module-string-code)
2862 (python-shell-completion-pdb-string-code)
2863 (python-shell-completion-setup-code)
2864 (python-shell-completion-string-code)
2865 (python-shell-enable-font-lock, python-shell-exec-path)
2866 (python-shell-extra-pythonpaths)
2867 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2868 (python-shell-process-environment)
2869 (python-shell-prompt-block-regexp)
2870 (python-shell-prompt-output-regexp)
2871 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2872 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2873 (python-shell-virtualenv-path): New defcustoms.
2874 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2875 (inferior-python-mode-syntax-table, python--prompt-regexp)
2876 (python-buffer, python-command python-python-command)
2877 (python-default-template, python-imports, python-indent-index)
2878 (python-indent-list, python-indent-list-length)
2879 (python-mode-running, python-pdbtrack-is-tracking-p)
2880 (python-preoutput-continuation, python-preoutput-leftover)
2881 (python-preoutput-result, python-preoutput-skip-next-prompt)
2882 (python-prev-dir/file, python-recursing)
2883 (python-saved-check-command, python-version-checked)
2884 (python-which-func-length-limit)
2885 (view-return-to-alist): Delete vars.
2886 (python-check-custom-command, python-dotty-syntax-table)
2887 (python-imenu-index-alist, python-indent-current-level)
2888 (python-indent-dedenters, python-indent-levels)
2889 (python-nav-beginning-of-defun-regexp)
2890 (python-nav-list-defun-positions-cache)
2891 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2892 (python-shell-internal-buffer)
2893 (python-skeleton-available): New vars.
2894 (def-python-skeleton): Delete macro.
2895 (python-skeleton-define): New macro.
2896 (python-define-auxiliary-skeleton, python-rx): New macros.
2897 (python-insert-class): Delete command.
2898 (python-skeleton-class): New command.
2899 (python-insert-def): Delete command.
2900 (python-skeleton-def): New command.
2901 (python-insert-for): Delete command.
2902 (python-skeleton-for): New command.
2903 (python-insert-if): Delete command.
2904 (python-skeleton-if): New command.
2905 (python-insert-try/except, python-insert-try/finally): Delete commands.
2906 (python-skeleton-try): New command.
2907 (python-insert-while): Delete command.
2908 (python-skeleton-while): New command.
2909 (python-backspace): Delete command.
2910 (python-indent-dedent-line-backspace): New command.
2911 (python-electric-colon): Delete command.
2912 (python-indent-electric-colon): New command.
2913 (python-guess-indent): Delete command.
2914 (python-indent-guess-indent-offset): New command.
2915 (python-shift-left): Delete command.
2916 (python-indent-shift-left): New command.
2917 (python-shift-right): Delete command.
2918 (python-indent-shift-right): New command.
2919 (python-find-function): Delete command.
2920 (python-nav-jump-to-defun): New command.
2921 (python-next-statement): Delete command.
2922 (python-nav-forward-sentence): New command.
2923 (python-previous-statement): Delete command.
2924 (python-nav-backward-sentence): New command.
2925 (python-fill-paragraph): Delete command.
2926 (python-fill-paragraph-function): New command.
2927 (python-send-buffer): Delete command.
2928 (python-shell-send-buffer): New command.
2929 (python-send-defun): Delete command.
2930 (python-shell-send-defun): New command.
2931 (python-send-region, python-send-region-and-go): Delete commands.
2932 (python-shell-send-region)
2933 (python-shell-switch-to-shell): New commands.
2934 (python-send-string): Delete command.
2935 (python-shell-send-string): New command.
2936 (python-switch-to-python): Delete command.
2937 (python-shell-switch-to-shell): New command.
2938 (python-describe-symbol): Delete command.
2939 (python-eldoc-at-point): New command.
2940 (python--set-prompt-regexp, python-args-to-list)
2941 (python-after-info-look, python-check-version)
2942 (python-check-comint-prompt, python-find-imports)
2943 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2944 (python-unload-function, python-expand-template)
2945 (python-maybe-jython, python-preoutput-filter)
2946 (python-pdbtrack-get-source-buffer)
2947 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2948 (python-pdbtrack-toggle-stack-tracking)
2949 (python-pdbtrack-track-stack-file, python-initial-text)
2950 (python-first-word, python-comment-line-p, python-send-command)
2951 (python-setup-brm, python-sentinel, python-set-proc)
2952 (python-skip-out, python-input-filter, python-outdent-p)
2953 (python-outline-level, python-backslash-continuation-line-p)
2954 (python-end-of-block, python-end-of-statement, python-mark-block)
2955 (python-beginning-of-block, python-beginning-of-statement)
2956 (python-blank-line-p, python-beginning-of-string)
2957 (python-open-block-statement-p): Delete functions.
2958 (python-indent-line, python-indent-line-1): Delete functions.
2959 (python-indent-line): New function.
2960 (python-indentation-levels): Delete function.
2961 (python-indent-calculate-levels): New function.
2962 (python-proc): Delete function.
2963 (python-shell-get-process): New function.
2964 (python-send-receive): Delete function.
2965 (python-shell-send-string-no-output): New function.
2966 (python-module-path): Delete function.
2967 (python-ffap-module-path): New function.
2968 (python-completion-at-point)
2969 (python-symbol-completions): Delete functions.
2970 (python-completion-complete-at-point): New function.
2971 (python-load-file): Delete function.
2972 (python-shell-send-file): New function.
2973 (python-calculate-indentation): Delete function.
2974 (python-indent-calculate-indentation): New function.
2975 (python-skip-comments/blanks): Delete function.
2976 (python-util-forward-comment): New function.
2977 (python-continuation-line-p): Delete function.
2978 (python-info-continuation-line-p): New function.
2979 (python-which-func, python-current-defun): Delete function.
2980 (python-info-current-defun): New function.
2981 (python-beginning-of-defun): Delete function.
2982 (python-nav-beginning-of-defun): New function.
2983 (python-close-block-statement-p)
2984 (python-block-end-p): Delete function.
2985 (python-info-closing-block): New function.
2986 (python-comint-output-filter-function)
2987 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2988 (python-fill-comment, python-fill-decorator, python-fill-paren)
2989 (python-fill-string, python-imenu-make-element-tree)
2990 (python-imenu-make-tree, python-imenu-tree-assoc)
2991 (python-indent-context, python-indent-dedent-line)
2992 (python-indent-line-function)
2993 (python-indent-post-self-insert-function)
2994 (python-indent-toggle-levels)
2995 (python-info-assignment-continuation-line-p)
2996 (python-info-beginning-of-backlash)
2997 (python-info-block-continuation-line-p)
2998 (python-info-closing-block-message)
2999 (python-info-line-ends-backslash-p)
3000 (python-info-looking-at-beginning-of-defun)
3001 (python-info-ppss-context, python-info-ppss-context-type)
3002 (python-nav-list-defun-positions, python-nav-read-defun)
3003 (python-nav-sentence-end, python-nav-sentence-start)
3004 (python-pdbtrack-comint-output-filter-function)
3005 (python-pdbtrack-set-tracked-buffer)
3006 (python-shell-calculate-exec-path)
3007 (python-shell-calculate-process-environment)
3008 (python-shell-completion--do-completion-at-point)
3009 (python-shell-completion--get-completions)
3010 (python-shell-completion-complete-at-point)
3011 (python-shell-completion-complete-or-indent)
3012 (python-shell-get-or-create-process)
3013 (python-shell-get-process-name)
3014 (python-shell-internal-get-or-create-process)
3015 (python-shell-internal-get-process-name)
3016 (python-shell-internal-send-string, python-shell-make-comint)
3017 (python-shell-parse-command, python-shell-send-setup-code)
3018 (python-skeleton-add-menu-items)
3019 (python-util-clone-local-variables, python-util-position)
3020 (run-python-internal, python-indentation-levels)
3021 (python-nav-beginning-of-defun)
3022 (python-completion-complete-at-point): New functions.
3023 (run-python): Change arguments. New API requirements.
3025 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3030 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3031 (macroexp--expand-all): Use it.
3033 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3034 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3035 Use `cl-function' instead.
3037 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3039 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3040 Suggested by Stefan Monnier while discussing bug#11657.
3042 2012-06-14 Sam Steingold <sds@gnu.org>
3044 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3046 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3048 * play/doctor.el (doctor-doc): Remove parameter and use
3049 doctor-sent instead of sent.
3050 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3052 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3054 * files.el: Require cl-lib.
3055 (file-name-non-special): Replace case -> cl-case.
3057 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3059 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3060 mapping from #' to function*.
3062 2012-06-13 Chong Yidong <cyd@gnu.org>
3064 * mouse.el (mouse-drag-track): Do not set the mark if the user
3065 releases the mouse without selecting anything (Bug#11588).
3067 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3070 as well (bug#11646).
3072 * loadup.el: Count byte-code functions as well.
3074 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3075 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3077 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3078 (bug#11649). Add cl-defun and cl-defmacro.
3080 2012-06-13 Drew Adams <drew.adams@oracle.com>
3082 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3085 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3087 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3088 Otherwise, it blocks in batch mode.
3090 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3092 * help-mode.el (bookmark-make-record-default): Declare.
3094 2012-06-13 Chong Yidong <cyd@gnu.org>
3096 * emacs-lisp/package.el (list-packages): Compute a list of
3097 packages that are newly-available since the last list-packages
3099 (package-menu--new-package-list): New var.
3100 (package-menu--generate, package-menu--print-info)
3101 (package-menu--status-predicate, package-menu-mark-install):
3102 Handle new status label "new".
3104 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3107 conversion to backquotes.
3109 2012-06-12 Chong Yidong <cyd@gnu.org>
3111 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3112 Rename from gud-inhibit-global-bindings.
3114 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3116 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3117 hook from nxml-glyph-set-hook.
3119 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3122 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3124 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3125 Convert to defcustom.
3127 2012-06-12 Drew Adams <drew.adams@oracle.com>
3129 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3131 (help-mode): Use them.
3133 2012-06-11 Glenn Morris <rgm@gnu.org>
3135 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3136 Use preprocessor face for directives.
3137 (fortran-directive-re): Doc fix.
3139 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3142 conversion to backquotes (bug#11652).
3144 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3145 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3146 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3147 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3148 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3149 (cl-ninth, cl-tenth): Mark them as inlinable.
3150 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3151 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3152 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3153 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3154 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3155 (cl-list*, cl-adjoin): Don't put an autoload manually.
3156 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3157 (cl--compiler-macro-list*): Add autoload cookie.
3158 (cl--compiler-macro-cXXr): New function.
3160 * help-fns.el (help-fns--compiler-macro): New function extracted from
3161 describe-function-1; follow aliases and use `compiler-macro' property.
3162 (describe-function-1): Use it.
3164 2012-06-11 Chong Yidong <cyd@gnu.org>
3166 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3167 is uninstalled, if imagemagick is installed.
3169 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * emacs-lisp/cl-lib.el: Use lexical-binding.
3172 (cl-map-extents, cl-maclisp-member): Remove.
3173 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3174 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3175 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3176 * emacs-lisp/cl-extra.el: Use lexical-binding.
3177 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3178 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3179 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3180 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3181 * emacs-lisp/cl-seq.el: Use lexical-binding.
3182 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3183 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3184 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3185 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3186 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3189 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3191 Sync with Tramp 2.2.6-pre.
3193 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3194 `print-length' and `print-level' to nil, in order to avoid
3195 truncation. Reported by Christopher Schmidt
3196 <christopher@ristopher.com>.
3198 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3200 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3202 (tramp-compat-copy-directory): Add optional argument
3203 COPY-CONTENTS. It is not handled yet.
3205 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3206 (tramp-ftp-file-name-p): Simplify.
3208 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3209 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3212 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3213 (tramp-methods): Do not use `tramp-password-end-of-line'.
3214 (tramp-completion-function-alist-putty): Handle UNIX case.
3215 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3216 (tramp-do-file-attributes-with-stat)
3217 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3218 gid as real numbers. They could run out of integer range on cygwin.
3219 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3220 (tramp-sh-handle-expand-file-name): Handle hops.
3221 (tramp-open-connection-setup-interactive-shell):
3222 Use `tramp-cleanup'. Move check for busyboxes ...
3223 (tramp-find-shell): ... here. Simplify implementation.
3224 Set "remote-shell" property also for alternative shells.
3225 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3226 If failing, a regular file would be written otherwise.
3227 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3228 (tramp-find-inline-encoding): Cache the coding commands in the
3229 process cache. Apply test command on the remote side, if defined.
3230 (tramp-find-inline-compress): Cache the compress commands in the
3232 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3233 when requested. Handle hops.
3234 (tramp-current-connection): New defvar.
3235 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3236 Throw `suppress', if there was a failed connection shortly before.
3237 Handle user interrupt. (Bug#10187)
3238 (tramp-get-inline-compress, tramp-get-inline-coding):
3239 Read connection properties from the process cache.
3241 * net/tramp-smb.el (tramp-smb-server-version)
3242 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3244 (tramp-smb-prompt): Extend for powershell prompt.
3245 (tramp-smb-file-name-handler-alist): Add handlers for
3246 `process-file', `shell-command' and `start-file-process'.
3247 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3248 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3249 (tramp-smb-file-name-p): Simplify.
3250 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3251 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3252 (tramp-smb-shell-quote-argument): New defuns.
3253 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3254 Implement using "tar". By this, time-stamps are preserved.
3255 (tramp-smb-handle-copy-file): Handle also the case of directories.
3256 (tramp-smb-do-file-attributes-with-stat)
3257 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3258 Use `tramp-get-connection-buffer').
3259 (tramp-smb-handle-rename-file): Use "rename", when source and
3260 target are on the same share.
3261 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3262 Use `tramp-smb-server-version'.
3263 (tramp-smb-wait-for-output): Remove prompt.
3265 * net/tramp.el (top): Require 'cl.
3266 (tramp-methods, tramp-rsh-end-of-line):
3267 Remove `tramp-password-end-of-line' from docstring.
3268 (tramp-save-ad-hoc-proxies): New defcustom.
3269 (tramp-completion-function-alist): Adapt docstring.
3270 (tramp-default-password-end-of-line): Remove defcustom.
3271 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3272 (tramp-user-regexp, tramp-file-name-regexp-unified)
3273 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3274 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3275 (tramp-remote-file-name-spec-regexp): New defconst.
3276 (tramp-file-name-structure): Extend structure for hops.
3277 (tramp-get-method-parameter): Move up.
3278 (tramp-file-name-p, tramp-dissect-file-name)
3279 (with-parsed-tramp-file-name): Handle hops.
3280 (tramp-file-name-hop): New defun.
3281 (tramp-make-tramp-file-name): New optional arg HOP.
3282 (tramp-message-show-progress-reporter-message): New defvar.
3283 (tramp-with-progress-reporter): Use it. We cannot use
3284 `tramp-message-show-message' here, because this suppresses also
3286 (tramp-error-with-buffer): Suppress buffer view, if
3287 `tramp-message-show-message' is nil.
3288 Use `tramp-get-connection-buffer'.
3289 (tramp-cleanup): New defun.
3290 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3291 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3293 (tramp-completion-handle-file-name-all-completions): Handle hops.
3294 Fix an error when called from ido.
3295 (tramp-completion-dissect-file-name): Use better local variable
3296 name. Add hop to the vector.
3297 (tramp-handle-insert-file-contents): Use progress-reporter for the
3299 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3301 (tramp-check-for-regexp): Simplify search.
3302 (tramp-enter-password): Remove it. Move implementation ...
3303 (tramp-action-password): ... here.
3304 (tramp-mode-string-to-int, tramp-local-host-p)
3305 (tramp-make-tramp-temp-file, tramp-read-passwd)
3306 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3307 Set tramp-autoload cookie.
3309 * net/trampver.el: Update release number.
3311 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3312 Michael Albinus <michael.albinus@gmx.de>
3314 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3315 (tramp-parse-group, tramp-parse-file)
3316 (tramp-parse-shostkeys-sknownhosts): New defuns.
3317 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3318 (tramp-parse-shosts-group, tramp-parse-sconfig)
3319 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3320 (tramp-parse-sknownhosts, tramp-parse-hosts)
3321 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3323 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3324 (tramp-parse-putty-group): Don't narrow.
3325 (tramp-parse-putty): Make a loop.
3326 (tramp-file-name-handler): Catch the `suppress' signal.
3328 2012-06-11 Chong Yidong <cyd@gnu.org>
3330 * image.el (imagemagick-register-types): Put the ImageMagick entry
3331 at the end of image-type-file-name-regexps.
3333 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3335 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3336 (pcase, pcase-let*, pcase-dolist): Use them.
3338 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * emacs-lisp/pcase.el (pcase--let*): New function.
3341 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3342 (pcase--expand): Use macroexp-let².
3344 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3346 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3347 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3348 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3349 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3350 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3351 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3353 2012-06-10 Glenn Morris <rgm@gnu.org>
3355 * mail/rmail.el (rmail-yank-current-message): Leave point at
3356 correct position. (Bug#11660)
3358 2012-06-10 Chong Yidong <cyd@gnu.org>
3360 * allout-widgets.el: Fix code header.
3362 2012-06-10 Chong Yidong <cyd@gnu.org>
3364 * cus-edit.el (customize-changed-options-previous-release):
3367 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3369 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3371 2012-06-09 Chong Yidong <cyd@gnu.org>
3373 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3375 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3377 * window.el (special-display-popup-frame): Don't use
3378 window--display-buffer (Bug#11651).
3380 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3382 Fix parallel builds: make sure loaddefs.el is not being written
3383 while Lisp files are compiled.
3384 (compile): Don't depend on 'mh-autoloads'.
3385 (compile-CMD, compile-SH): Depend on 'autoloads'.
3386 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3388 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3390 2012-06-09 Chong Yidong <cyd@gnu.org>
3392 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3393 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3394 Doc fixes (Bug#11225).
3396 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3399 a function if there's a clear indication that it has a compiler-macro.
3400 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3401 (macro-declarations-alist): Add arglist to declaration functions.
3402 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3403 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3404 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3405 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3406 Also add autoload to find the compiler macro.
3407 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3408 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3409 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3410 (cl--compiler-macro-get): New functions, replacing calls to
3411 cl-define-compiler-macro.
3412 (cl-typep) [compiler-macro]: Use macroexp-let².
3414 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3416 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3417 string properly, fixes Bug#11473.
3419 2012-06-08 Chong Yidong <cyd@gnu.org>
3421 * faces.el (set-face-attribute): Doc fix.
3422 (modify-face): Don't use :bold and :italic.
3423 (error, warning, success): Tweak definitions.
3425 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3426 (custom-modified, custom-set, custom-changed, custom-themed)
3427 (custom-saved, custom-button, custom-button-mouse)
3428 (custom-button-pressed, custom-state, custom-comment-tag)
3429 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3430 (custom-group-subtitle): Use new-style face specs.
3431 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3432 (custom-set-face, custom-changed-face, custom-saved-face)
3433 (custom-button-face, custom-button-pressed-face)
3434 (custom-documentation-face, custom-state-face)
3435 (custom-comment-face, custom-comment-tag-face)
3436 (custom-variable-tag-face, custom-variable-button-face)
3437 (custom-face-tag-face, custom-group-tag-face-1)
3438 (custom-group-tag-face): Remove obsolete face alias.
3440 * epa.el (epa-validity-high, epa-validity-medium)
3441 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3442 (epa-field-name, epa-field-body):
3443 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3444 (font-lock-keyword-face, font-lock-builtin-face)
3445 (font-lock-function-name-face, font-lock-variable-name-face)
3446 (font-lock-type-face, font-lock-constant-face):
3447 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3448 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3449 * speedbar.el (speedbar-button-face, speedbar-file-face)
3450 (speedbar-directory-face, speedbar-tag-face)
3451 (speedbar-selected-face, speedbar-highlight-face)
3452 (speedbar-separator-face):
3453 * whitespace.el (whitespace-newline, whitespace-space)
3454 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3455 (whitespace-line, whitespace-space-before-tab)
3456 (whitespace-space-after-tab, whitespace-indentation)
3458 * emulation/cua-base.el (cua-global-mark):
3459 * eshell/em-prompt.el (eshell-prompt):
3460 * net/newst-plainview.el (newsticker-new-item-face)
3461 (newsticker-old-item-face, newsticker-immortal-item-face)
3462 (newsticker-obsolete-item-face, newsticker-date-face)
3463 (newsticker-statistics-face, newsticker-default-face):
3464 * net/newst-reader.el (newsticker-feed-face)
3465 (newsticker-extra-face, newsticker-enclosure-face):
3466 * net/newst-treeview.el (newsticker-treeview-face)
3467 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3468 (newsticker-treeview-immortal-face)
3469 (newsticker-treeview-obsolete-face)
3470 (newsticker-treeview-selection-face):
3471 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3472 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3473 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3474 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3475 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3476 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3477 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3479 * progmodes/vera-mode.el (vera-font-lock-number)
3480 (vera-font-lock-function, vera-font-lock-interface):
3481 * textmodes/table.el (table-cell): Use new-style face specs, and
3482 don't use the old :bold and :italic attributes.
3484 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3485 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3486 (ebrowse-member-class, ebrowse-progress): Likewise.
3487 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3488 (ebrowse-file-name-face, ebrowse-default-face)
3489 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3490 (ebrowse-progress-face): Remove obsolete faces.
3492 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3493 Inherit from error and warning faces respectively.
3495 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3497 (flyspell-incorrect-face, flyspell-duplicate-face):
3498 Remove obsolete aliases.
3500 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3502 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3505 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * startup.el (argv, argi): Make lexically scoped.
3508 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3509 * emacs-lisp/cl-macs.el: Use lexical-binding.
3510 Rename cl-bind-* to cl--bind-*.
3511 * files.el: Don't require `cl' since it doesn't use it.
3512 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3514 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3516 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3517 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3518 instead of calling external sort utility.
3519 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3521 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3523 * descr-text.el (describe-char): Mention how to insert the
3524 character, if the current input method doesn't support it.
3525 See the discussion in this thread for the details:
3526 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3528 2012-06-08 Sam Steingold <sds@gnu.org>
3530 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3531 XF86Back to previous-buffer.
3532 (minibuffer-local-map): Bind them to next-history-element and
3533 previous-history-element respectively.
3534 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3535 help-go-back respectively.
3536 * info.el (Info-mode-map): Bind them to Info-history-forward and
3537 Info-history-back respectively.
3538 These are the keys next to Up on the ThinkPad keyboard.
3540 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3542 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3543 * emacs-lisp/cl-macs.el: Provide itself.
3544 (cl--labels-convert-cache): New var.
3545 (cl--labels-convert): New function.
3546 (cl-flet, cl-labels): New implementation with new semantics, relying on
3548 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3549 (cl-closure-vars, cl--function-convert-cache)
3550 (cl--function-convert): Move from cl-macs.el.
3551 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3552 rename by removing the "cl-" prefix.
3553 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3555 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3558 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3559 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3560 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3561 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3562 (cl-hash-table-count): Add old compatibility aliases.
3564 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3565 Use macroexpand-all-environment instead.
3566 (cl--old-macroexpand): New var.
3567 (cl--sm-macroexpand): New function.
3568 (cl-symbol-macrolet): Use it during macro expansion.
3569 (cl--function-convert-cache): New var.
3570 (cl--function-convert): New function, extracted from
3572 (cl-lexical-let): Use it.
3574 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3575 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3576 (cl-member): Remove old alias.
3578 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3579 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3580 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3581 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3582 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3583 (cl-macroexpand-cmacs): Remove var.
3584 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3585 Use macroexpand-all instead.
3587 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3590 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3591 (macroexp-copyable-p): New functions and macros.
3592 * emacs-lisp/edebug.el (edebug-unwrap):
3593 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3594 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3595 (pcase--let*): Remove.
3596 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3597 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3598 macroexp-const-p instead.
3599 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3601 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3602 instead of "cl-" for internal definitions. Use macroexp-const-p.
3603 (cl-old-bc-file-form): Remove var.
3604 (cl-const-exprs-p): Remove fun.
3605 (cl-labels, cl-macrolet): Use backquote.
3606 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3607 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3608 (cl-define-setf-expander): Rename from cl-define-setf-method.
3609 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3611 * international/mule-cmds.el: Don't require CL.
3612 (view-hello-file): Don't use `letf'.
3614 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3616 * tmm.el (tmm-prompt): Use string-prefix-p.
3617 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3618 (tmm-add-prompt): Use minibuffer-completion-help.
3619 (tmm-delete-map): Remove.
3621 * subr.el (kbd): Make it its own function.
3623 2012-06-07 Stefan Merten <smerten@oekonux.de>
3625 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3626 Silence compiler warnings. Fix versions.
3627 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3628 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3629 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3630 (rst-package-emacs-version-alist): Correct Emacs version to
3631 represent major merge with upstream.
3632 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3634 2012-06-06 Glenn Morris <rgm@gnu.org>
3636 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3637 Only print environment variables if set.
3639 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3641 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3642 (macroexp--cons): Rename from maybe-cons.
3643 (macroexp--accumulate): Rename from macroexp-accumulate.
3644 (macroexp--all-forms): Rename from macroexpand-all-forms.
3645 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3646 (macroexp--expand-all): Rename from macroexpand-all-1.
3648 2012-06-06 Sam Steingold <sds@gnu.org>
3650 * calendar/calendar.el (calendar-in-read-only-buffer):
3651 Call `special-mode' to enable the standard read-only keybindings.
3653 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3656 with "loading" messages (bug#11635).
3658 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3660 * files.el (enable-remote-dir-locals): New option.
3661 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3663 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3664 Ensure, that the temp directory is local.
3666 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3667 `temporary-file-directory'.
3669 * progmodes/python.el (python-send-region): Ensure, that the
3670 temporary file is created also in the remote case.
3672 2012-06-06 Glenn Morris <rgm@gnu.org>
3674 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3675 (vc-rcs-update-changelog): Use it.
3677 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3679 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3680 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3681 (vc-sccs-diff): Replace use of the external vcdiff script.
3683 2012-06-05 Glenn Morris <rgm@gnu.org>
3685 * ledit.el: Move to obsolete/.
3687 2012-06-05 Sam Steingold <sds@gnu.org>
3689 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3692 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * emacs-lisp/cust-print.el: Move to obsolete.
3696 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3697 compiler-macro expansion.
3699 Add native compiler-macro support.
3700 * emacs-lisp/macroexp.el (macroexpand-all-1):
3701 Support compiler-macros directly. Properly follow aliases and apply
3702 the compiler macros more thoroughly.
3703 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3704 macroexpand now properly follows aliases.
3705 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3706 (cl-compiler-macroexpand): Use new prop.
3707 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3709 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3711 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3713 * window.el (get-lru-window, get-mru-window, get-largest-window):
3714 New argument NOT-SELECTED to avoid picking the selected window.
3715 (window--display-buffer-1, window--display-buffer-2): Replace by
3716 new function window--display-buffer
3717 (display-buffer-same-window, display-buffer-reuse-window)
3718 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3719 Use window--display-buffer.
3720 (display-buffer-use-some-window): Remove temporary dedication
3721 hack by calling get-lru-window and get-largest-window with
3722 NOT-SELECTED argument non-nil. Call window--display-buffer.
3724 2012-06-05 Glenn Morris <rgm@gnu.org>
3726 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3727 Replace external vcdiff script.
3729 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3733 2012-06-04 Chong Yidong <cyd@gnu.org>
3735 * image.el (imagemagick-types-inhibit): Revert last change.
3737 (imagemagick-enabled-types): Remove CIN and EPS*.
3739 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * emacs-lisp/cl-lib.el: Rename from cl.el.
3742 * emacs-lisp/cl.el: New compatibility file.
3743 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3744 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3745 to obey the "cl-" prefix.
3746 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3748 2012-06-03 Glenn Morris <rgm@gnu.org>
3750 * emacs-lisp/authors.el (authors-aliases): Addition.
3752 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3755 2012-06-03 Stefan Merten <smerten@oekonux.de>
3757 * textmodes/rst.el: Add comments.
3758 (rst-transition, rst-adornment): New faces.
3759 (rst-adornment-faces-alist): Make default safe to reevaluate.
3761 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3762 Improve customization tags.
3763 (rst-define-level-faces): Clarify meaning.
3765 2012-06-03 Chong Yidong <cyd@gnu.org>
3767 * progmodes/compile.el (compilation-mode-line-fail)
3768 (compilation-mode-line-run, compilation-mode-line-exit):
3770 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3772 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3774 * progmodes/which-func.el (which-func-update-ediff-windows):
3775 New function. Use it in ediff-select-hook (Bug#11478).
3777 2012-06-03 Chong Yidong <cyd@gnu.org>
3779 * bindings.el: Remove explicit help text from format-mode-line.
3780 It is now supplied by mode-line-default-help-echo.
3781 (mode-line-front-space, mode-line-end-spaces)
3782 (mode-line-misc-info): New variables.
3783 (mode-line-modes, mode-line-position): Move the default value to
3784 the variable definition.
3785 (mode-line-default-help-echo): New defcustom.
3786 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3787 (mode-line-modified-help-echo): New functions.
3788 (mode-line-mule-info, mode-line-modified): Use them.
3789 (mode-line-eol-desc, propertized-buffer-identification):
3790 Consistency fixes for help text.
3791 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3792 set-buffer-file-coding-system (Bug#289).
3793 (mode-line-mule-info-help-echo): Update help text.
3795 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * simple.el (execute-extended-command): Set real-this-command
3800 2012-06-02 Chong Yidong <cyd@gnu.org>
3802 Remove incorrect uses of "modeline" in comments, docstrings, and
3803 function/variable names (Bug#10329).
3805 * cus-edit.el (mode-line):
3806 * dframe.el (dframe-mouse-hscroll):
3807 * emacs-lisp/re-builder.el:
3808 * emacs-lisp/easy-mmode.el (define-minor-mode):
3809 * frame.el (set-frame-name):
3810 * help.el (lookup-minor-mode-from-indicator):
3811 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3812 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3813 (c-toggle-hungry-state):
3814 * progmodes/antlr-mode.el (antlr-language-alist):
3815 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3816 * progmodes/vhdl-mode.el (vhdl-mode):
3817 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3818 * term/ns-win.el (ns-face-at-pos):
3819 * term/sup-mouse.el (sup-mouse-report):
3820 * textmodes/flyspell.el (flyspell-mode-line-string):
3821 * textmodes/ispell.el (ispell-highlight-face):
3822 * textmodes/reftex-global.el:
3823 * vc/vc-arch.el (vc-arch-mode-line-string):
3824 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3825 * vc/vc-git.el (vc-git-mode-line-string):
3826 * vc/vc-hooks.el (vc-display-status)
3827 (vc-default-mode-line-string):
3828 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3830 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3832 * dired.el (dired-sort-set-mode-line): Rename from
3833 dired-sort-set-modeline. All callers changed.
3835 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3836 eshell-status-in-modeline.
3838 * foldout.el (foldout-mode-line-string): Rename from
3839 foldout-modeline-string. All callers changed.
3840 (foldout-update-mode-line): Rename from foldout-update-modeline.
3842 * subr.el (redraw-modeline): Make into obsolete alias.
3844 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3845 timeclock-modeline-display. Make old name an alias.
3846 (timeclock-update-mode-line): Likewise. All callers changed.
3847 (timeclock-mode-line-display): No need to check before using
3849 (timeclock-relative, timeclock-day-over-hook)
3850 (timeclock-use-elapsed, timeclock-mode-string)
3851 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3853 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3854 crisp-mode-modeline-string.
3856 * play/solitaire.el (solitaire-build-mode-line): Rename from
3857 solitaire-build-modeline. All callers changed.
3859 * play/zone.el (zone-hiding-mode-line): Rename from
3860 zone-hiding-modeline. All callers changed.
3861 (zone): Remove unusued `modeline-hidden-level' property.
3863 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3864 xscheme-modeline-initialize. All callers changed.
3866 * strokes.el (strokes-lighter): Rename from
3867 strokes-modeline-string.
3869 * textmodes/sgml-mode.el (html-face-tag-alist)
3870 (html-tag-face-alist): Use mode-line face instead of obsolete
3873 2012-06-02 Stefan Merten <smerten@oekonux.de>
3875 * textmodes/rst.el: Always require `cl'.
3876 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3878 2012-06-02 Chong Yidong <cyd@gnu.org>
3880 * image.el (imagemagick-enabled-types): Rename from
3881 imagemagick-types-enable. Add many more types.
3882 (imagemagick-types-inhibit): Change default to nil.
3883 (imagemagick-filter-types): Caller changed.
3885 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * emacs-lisp/cl-macs.el: Use backquotes.
3888 (cl-transform-function-property): Use eval-and-compile rather than
3890 (defstruct): Use declare-function instead of with-no-warnings.
3892 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3893 (byte-compile-output-docform): Re-add the print-circle bindings.
3894 (byte-compile-fix-header): Use #$ just because it's shorter.
3895 (byte-compile-output-file-form): Remove defun/defmacro.
3897 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3899 * simple.el (choose-completion): Remove now obsolete binding for
3902 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3904 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3905 in order to avoid "Stack overflow in regexp matcher".
3907 2012-05-31 Glenn Morris <rgm@gnu.org>
3909 * image.el: For clarity, call imagemagick-register-types at
3910 top-level, rather than relying on a custom :initialize.
3911 (imagemagick-types-enable): New option. (Bug#11557)
3912 (imagemagick-filter-types): New function. (Bug#7406)
3913 (imagemagick-register-types): Use imagemagick-filter-types.
3914 If disabling support, remove elements altogether rather
3915 than using an impossible regexp.
3916 (imagemagick-types-inhibit): Give it the default init function.
3918 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3921 Handle arbitrary file name lengths (Bug#11585).
3923 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3925 * desktop.el (desktop-read): Clear previous and next buffers for
3926 all windows and bury *Messages* buffer (bug#11556).
3928 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3930 Add `declare' for `defun'. Align `defmacro's with it.
3931 * emacs-lisp/easy-mmode.el (define-minor-mode)
3932 (define-globalized-minor-mode): Don't autoload the var definitions.
3933 * emacs-lisp/byte-run.el: Use lexical-binding.
3934 (defun-declarations-alist, macro-declarations-alist): New vars.
3935 (defmacro, defun): Use them.
3936 (make-obsolete, define-obsolete-function-alias)
3937 (make-obsolete-variable, define-obsolete-variable-alias):
3939 (macro-declaration-function): Mark obsolete.
3940 * emacs-lisp/autoload.el: Use lexical-binding.
3941 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3943 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3945 * textmodes/ispell.el (ispell-with-no-warnings):
3947 (ispell-kill-ispell, ispell-change-dictionary):
3948 Use `called-interactively-p' for Emacs instead of obsolete
3951 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3954 (macro-declaration-function): Move var from C code.
3955 (macro-declaration-function): Define function with defalias.
3956 * emacs-lisp/macroexp.el (macroexpand-all-1):
3957 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3958 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3959 defun/defmacro any more.
3960 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3961 Provide fallback for unknown arglist.
3962 (byte-compile-arglist-warn): Change calling convention.
3963 (byte-compile-output-file-form): Move print-vars binding.
3964 (byte-compile-output-docform): Simplify accordingly.
3965 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3966 (byte-compile-defmacro-declaration): Remove.
3967 (byte-compile-file-form-defmumble): Generalize to defalias.
3968 (byte-compile-output-as-comment): Return byte-positions.
3969 Simplify callers accordingly.
3970 (byte-compile-lambda): Use `assert'.
3971 (byte-compile-defun, byte-compile-defmacro): Remove.
3972 (byte-compile-file-form-defalias):
3973 Use byte-compile-file-form-defmumble.
3974 (byte-compile-defalias-warn): Remove.
3976 2012-05-29 Stefan Merten <smerten@oekonux.de>
3978 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3979 possible. Fix authors. Improve comments. Improve loading of `cl'.
3981 (rst-mode-abbrev-table): Merge definition.
3982 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3983 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3985 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3987 * calendar/icalendar.el
3988 (icalendar-export-region): Export UID properly.
3990 2012-05-29 Leo Liu <sdl.web@gmail.com>
3991 * calendar/icalendar.el (icalendar-import-format):
3992 Add `icalendar-import-format-uid' (Bug#11525).
3993 (icalendar-import-format-uid): New.
3994 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3997 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4000 different alternative patterns.
4001 (pcase-codegen): Be more careful to preserve identity.
4002 (pcase--u1): Don't forget to mark vars as used.
4004 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4005 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4006 (byte-compile-from-buffer): ...rather than here.
4008 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4009 functions from byte-compile-function-environment.
4011 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4013 * window.el (window-deletable-p): Avoid deleting the root window
4014 of a frame with an active minibuffer.
4016 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4018 * simple.el (choose-completion): Use quit-window (Bug#11567).
4020 2012-05-29 Chong Yidong <cyd@gnu.org>
4022 * whitespace.el (whitespace-cleanup): Fix usage of
4023 whitespace-empty-at-bob-regexp (Bug#11492).
4025 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4027 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4030 2012-05-29 Juri Linkov <juri@jurta.org>
4032 * isearch.el (isearch-mode-map): Bind `M-s _' to
4033 `isearch-toggle-symbol'. Bind `M-s c' to
4034 `isearch-toggle-case-fold'.
4035 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4036 (isearch-forward): Add `M-s _' to the docstring.
4037 (isearch-forward-symbol, isearch-toggle-case-fold)
4038 (isearch-symbol-regexp): New functions. (Bug#11381)
4040 2012-05-29 Juri Linkov <juri@jurta.org>
4042 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4043 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4044 a function, call it to get the regexp.
4045 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4046 property `isearch-message-prefix' instead of the string "word ".
4047 (isearch-search-fun-default): For the case of `isearch-word',
4048 return a lambda that calls re-search-forward/re-search-backward
4049 with a regexp returned by `word-search-regexp' or by the function
4052 2012-05-29 Juri Linkov <juri@jurta.org>
4054 * isearch.el (isearch-search-fun-default): New function.
4055 (isearch-search-fun): Move default part to the new function
4056 `isearch-search-fun-default'.
4057 (isearch-search-fun-function): Set the default value to
4058 `isearch-search-fun-default'. (Bug#11381)
4060 * comint.el (comint-history-isearch-end):
4061 Use `isearch-search-fun-default'.
4062 (comint-history-isearch-search): Use `isearch-search-fun-default'
4063 and remove spacial case for `isearch-word'.
4064 (comint-history-isearch-wrap): Remove spacial case for
4067 * hexl.el (hexl-isearch-search-function):
4068 Use `isearch-search-fun-default'.
4070 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4071 Use `word-search-regexp' for `isearch-word'.
4073 * misearch.el (multi-isearch-search-fun):
4074 Use `isearch-search-fun-default'.
4076 * simple.el (minibuffer-history-isearch-search):
4077 Use `isearch-search-fun-default' and remove spacial case for
4079 (minibuffer-history-isearch-wrap): Remove spacial case for
4082 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4083 Remove spacial case for `isearch-word'.
4084 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4086 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4088 Decrease XEmacs incompatibilities.
4089 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4091 (flyspell-delete-region-overlays): Use alternative definition for
4093 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4094 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4095 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4096 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4097 `define-obsolete-face-alias' under XEmacs, but old method.
4099 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4100 `with-no-warnings' definition or Emacs alias.
4101 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4102 (ispell-word): Do not use `region-p' if XEmacs.
4104 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4106 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4107 Check for `ispell-dictionary-base-alist' instead of full
4108 `ispell-dictionary-alist'.
4109 (ispell-init-process): Show spellchecker when starting new Ispell
4112 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4114 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4115 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4117 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4119 * version.el (motif-version-string, gtk-version-string)
4120 (ns-version-string): Declare.
4122 2012-05-27 Juri Linkov <juri@jurta.org>
4124 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4125 after the `eval-defun-1' specialcaseing
4126 like in `edebug-eval-defun' (bug#10181).
4128 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4129 like in `eval-defun-1'.
4131 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4133 * mail/sendmail.el (mail-yank-region):
4134 Recognize rmail-yank-current-message in addition to insert-buffer.
4135 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4136 a *mail* buffer created through rmail-start-mail with sendmail as
4139 2012-05-27 Chong Yidong <cyd@gnu.org>
4141 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4142 Default to 256 (Bug#11267).
4144 * help.el (describe-mode): Doc fix.
4146 2012-05-26 Glenn Morris <rgm@gnu.org>
4148 * w32-fns.el (w32-init-info): Remove.
4149 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4151 * info.el (info-initialize): For self-contained NS builds, put the
4152 included info/ directory at the front. (Bug#2791)
4154 * paths.el (Info-default-directory-list): Make it a defcustom,
4155 mainly so that we can use custom-initialize-delay.
4157 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4159 * subr.el (buffer-has-markers-at): Mark obsolete.
4161 * subr.el (lambda): Use declare.
4163 * emacs-lisp/lisp-mode.el (lambda):
4164 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4166 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4168 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4170 2012-05-26 Glenn Morris <rgm@gnu.org>
4172 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4174 2012-05-25 Glenn Morris <rgm@gnu.org>
4176 * paths.el: Remove no-byte-compile.
4177 * loadup.el: No need to load paths.el uncompiled.
4179 * image.el (imagemagick-types-inhibit): Doc fix.
4181 * version.el: Remove no-byte-compile and associated formatting.
4182 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4183 is ancient code from when there was an "inc-vers.el".
4185 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * progmodes/gdb-mi.el: Minor style changes.
4188 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4189 Turn into minor modes.
4190 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4191 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4192 (gdb-shell): Remove unneeded let-binding.
4193 (gdb-get-many-fields): Eliminate O(n²) behavior.
4195 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4197 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4198 platforms that don't link in fontset.c.
4200 2012-05-25 Juri Linkov <juri@jurta.org>
4202 Use the same diff color scheme as in modern VCSes (bug#10181).
4204 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4205 to avoid confusion with `diff-added' that now uses green colors.
4206 (diff-removed): Use shades of red.
4207 (diff-added): Use shades of green.
4208 (diff-changed): Leave just the yellow color.
4209 (diff-use-changed-face): New variable.
4210 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4211 how to highlight context diff changes.
4212 (diff-refine-change): Use shades of yellow.
4213 (diff-refine-removed): New face that uses shades of red.
4214 (diff-refine-added): New face that uses shades of green.
4215 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4216 `diff-refine-removed' in the call to `smerge-refine-subst'
4217 depending on the value of `diff-use-changed-face'.
4219 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4220 (smerge-other): Use shades of green.
4221 (smerge-base): Use shades of yellow.
4222 (smerge-refined-change): Empty face.
4223 (smerge-refined-removed): New face that uses shades of red.
4224 (smerge-refined-added): New face that uses shades of green.
4225 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4226 args `props-r' and `props-a', and use them. Doc fix.
4227 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4228 on its value use different faces `smerge-refined-change',
4229 `smerge-refined-removed', `smerge-refined-added' in the call to
4230 `smerge-refine-subst'.
4232 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4233 Add face condition `min-colors 88' with shades of red.
4234 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4235 `min-colors 88' with shades of green.
4236 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4237 `min-colors 88' with shades of yellow.
4239 2012-05-24 Glenn Morris <rgm@gnu.org>
4241 * paths.el (prune-directory-list, remote-shell-program): Move to...
4242 * files.el (prune-directory-list, remote-shell-program): ...here.
4243 For the latter, delay initialization, prefer ssh, just search PATH.
4245 * paths.el (term-file-prefix): Move to faces.el (the only user).
4246 * faces.el (term-file-prefix): Move here, make it a defcustom.
4248 * paths.el (news-directory, news-path, news-inews-program):
4249 Move to gnus/nnspool.el.
4251 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4253 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4254 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4255 Make the latter a defcustom, with a delayed initialization.
4257 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4258 These were deleted from Gnus itself late 2010.
4260 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4262 * progmodes/which-func.el (which-func-ff-hook):
4263 Check against user-error, not error.
4265 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4266 cl-specs.el, which no longer exists.
4268 2012-05-22 Glenn Morris <rgm@gnu.org>
4270 * info.el (info-emacs-bug): New command.
4271 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4272 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4274 2012-05-21 Glenn Morris <rgm@gnu.org>
4276 * makefile.w32-in (update-subdirs-SH):
4277 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4279 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4284 Simplify Maven regexp, and make sure the file can't start with a space
4287 2012-05-21 Glenn Morris <rgm@gnu.org>
4289 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4290 Scrap superfluous subshells.
4292 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4294 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4295 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4297 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4299 * calc/calc.el (calc-ensure-consistent-units): New variable.
4301 * calc/calc-units.el (math-consistent-units-p)
4302 (math-check-unit-consistency): New functions.
4303 (calc-quick-units, calc-convert-units):
4304 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4306 (calc-extract-units): Fix typo.
4308 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4312 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4313 (flyspell-default-deplacement-commands): Don't spell check after
4314 repeated window/frame switches (e.g. triggered by mouse-movement).
4315 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4316 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4317 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4318 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4320 (flyspell-get-casechars, flyspell-get-not-casechars):
4321 Simplify; Don't bother removing a ] just to add it back.
4322 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4324 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4326 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4328 (math-function-table): Add support for more C functions.
4330 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4332 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4333 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4334 Protect delay handling for otherchars against empty otherchars.
4336 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4339 their respective macro declarations.
4340 * skeleton.el (define-skeleton):
4341 * progmodes/compile.el (define-compilation-mode):
4342 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4343 (define-ibuffer-filter):
4344 * emacs-lisp/generic.el (define-generic-mode):
4345 * emacs-lisp/easy-mmode.el (define-minor-mode)
4346 (define-globalized-minor-mode):
4347 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4348 * emacs-lisp/byte-run.el (defsubst):
4349 * custom.el (deftheme): Add doc-string metadata.
4351 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4355 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4359 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4360 * emacs-lisp/cl-macs.el: Idem.
4361 * emacs-lisp/cl-specs.el: Remove.
4363 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4365 Minor renaming of internal CL functions and variables.
4366 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4367 (cl--position): Rename from cl-position.
4368 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4369 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4370 (cl--random-state): Rename from *random-state*.
4372 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4374 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4375 parens around the arg list (bug#11499).
4377 2012-05-17 Juri Linkov <juri@jurta.org>
4379 * isearch.el (word-search-regexp, word-search-backward)
4380 (word-search-forward, word-search-backward-lax)
4381 (word-search-forward-lax): Move functions from search.c
4382 (bug#10145, bug#11381).
4384 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4386 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4387 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4388 Delay for otherchars as for normal word components.
4390 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * minibuffer.el (completion--sifn-requote): Fix last change.
4393 (minibuffer-local-must-match-filename-map):
4394 Move define-obsolete-variable-alias before its var.
4396 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4400 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4402 (completion--string-equal-p): New function.
4403 (completion--twq-all): Use it to get better assertion failure data.
4405 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4406 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4407 (shell--requote-argument): New functions.
4408 (shell-completion-vars): Use them.
4409 (shell--parse-pcomplete-arguments): Rename from
4410 shell-parse-pcomplete-arguments.
4411 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4412 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4413 Obey comint-file-name-quote-list.
4415 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4416 (smie-indent-keyword): Use it.
4418 2012-05-14 Stefan Merten <smerten@oekonux.de>
4420 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4422 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4424 * net/rlogin.el (rlogin-mode-map): Fix last change.
4426 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4428 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4429 the following \r\n using a single `process-send-string', since the
4430 Lotus SMTP server refuses to accept any commands if they are sent
4431 with two `process-send-string's (Bug#11444).
4433 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * shell.el (shell-parse-pcomplete-arguments):
4436 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4438 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4440 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4441 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4442 (image-transform-width, image-transform-fit-width): New functions.
4443 (image-transform-properties): Use them.
4444 (image-transform-check-size): New function.
4445 (image-toggle-display-image): Use it (for testing).
4446 (image-transform-set-rotation): Reduce angle mod 360.
4447 Delete obsolete comment.
4449 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4451 * image-mode.el: Fix scaling (bug#11399).
4452 (image-transform-resize): Doc fix.
4453 (image-transform-properties): Default scale is 1 and height should
4456 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4458 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4459 than hard-coding `car', to fix misbehavior when moving forward.
4461 2012-05-13 Chong Yidong <cyd@gnu.org>
4463 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4464 (tabulated-list-entries, tabulated-list-padding)
4465 (tabulated-list-sort-key): Make permanent-local.
4467 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4468 (electric-buffer-list): Put electric buffer menu
4469 command descriptions in this docstring, instead of the docstring
4470 of electric-buffer-menu-mode. Code cleanups.
4471 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4472 Electric-buffer-menu-mode.
4473 (electric-buffer-update-highlight): Minor code cleanup.
4475 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4477 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4480 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4482 Move define-obsolete-variable-alias before the var's definition.
4483 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4484 * tooltip.el (tooltip-hook):
4485 * textmodes/reftex-toc.el (reftex-toc-map):
4486 * textmodes/reftex-sel.el (reftex-select-label-map)
4487 (reftex-select-bib-map):
4488 * textmodes/reftex-index.el (reftex-index-map)
4489 (reftex-index-phrases-map):
4490 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4491 * progmodes/meta-mode.el (meta-mode-map):
4492 * novice.el (disabled-command-hook):
4493 * loadhist.el (unload-hook-features-list):
4494 * frame.el (blink-cursor):
4495 * files.el (find-file-not-found-hooks, write-file-hooks)
4496 (write-contents-hooks):
4497 * emulation/tpu-edt.el (GOLD-map):
4498 * emacs-lock.el (emacs-lock-from-exiting):
4499 * emacs-lisp/generic.el (generic-font-lock-defaults):
4500 * emacs-lisp/chart.el (chart-map):
4501 * dos-fns.el (register-name-alist):
4502 * dired-x.el (dired-omit-files-p):
4503 * desktop.el (desktop-enable):
4504 * cus-edit.el (custom-mode-hook):
4505 * buff-menu.el (buffer-menu-mode-hook):
4506 * bookmark.el (bookmark-read-annotation-text-func)
4507 (bookmark-exit-hooks):
4508 * allout.el (allout-mode-deactivate-hook)
4509 (allout-exposure-change-hook, allout-structure-added-hook)
4510 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4511 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4512 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4513 comes before the corresponding variable's definition.
4515 2012-05-12 Chong Yidong <cyd@gnu.org>
4517 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4518 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4519 (Buffer-menu-mode-map): Bind it.
4520 (Buffer-menu--pretty-name): Add a mouse-face property.
4522 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4525 (prolog-upper-case-string, prolog-lower-case-string)
4526 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4527 (prolog-use-smie, prolog-smie-grammar): New vars.
4528 (prolog-smie-forward-token, prolog-smie-backward-token)
4529 (prolog-smie-rules): New funs.
4530 (prolog-comment-indent): Remove.
4531 (prolog-mode-variables): Use default comment indentation instead.
4533 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4534 (prolog-mode): Don't call them any more.
4535 (prolog-electric-colon, prolog-electric-dash)
4536 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4538 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4540 * minibuffer.el (completion--twq-all): Again, allow case differences.
4542 * term.el: Move keymap initialization code to be more idiomatic.
4543 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4544 (term-terminal-menu): Move initialization into declaration.
4545 (term-escape-char): Let the user set it in her .emacs.
4547 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4548 Provide SMIE-based indentation (not enabled by default yet).
4549 (sh-mode-map): Don't bind electric keys.
4550 Use electric-pair-mode instead of skeleton-pair.
4551 (sh-assignment-regexp): Fit within 80 columns.
4552 (sh-indent-supported): Specify actual shell name instead of boolean.
4553 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4554 (sh-maybe-here-document): Use it. Make obsolete.
4555 (sh-electric-here-document-mode) New minor mode.
4556 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4557 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4558 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4559 (sh-smie-rc-grammar, sh-use-smie): New vars.
4560 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4561 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4562 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4563 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4564 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4565 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4566 (sh-set-shell): Use smie-setup if requested.
4568 * term.el (term-set-escape-char): Properly set term-escape-char.
4569 See http://stackoverflow.com/questions/10524656.
4571 2012-05-10 Chong Yidong <cyd@gnu.org>
4573 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4574 Use url-generic-parse-url, and handle host names and Windows
4576 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4577 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4578 URL schemes to work on.
4579 (ffap--toggle-read-only): New function.
4580 (ffap-read-only, ffap-read-only-other-window)
4581 (ffap-read-only-other-frame): Use it.
4582 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4583 necessary for ffap-url-unwrap-remote.
4585 2012-05-10 Dave Abrahams <dave@boostpro.com>
4587 * cus-start.el (create-lockfiles): Add it.
4589 2012-05-09 Chong Yidong <cyd@gnu.org>
4591 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4592 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4594 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4598 2012-05-09 Chong Yidong <cyd@gnu.org>
4600 * ansi-color.el (ansi-color-process-output): Check for validity of
4601 comint-last-output-start before using it. This avoids a bad
4602 interaction with gdb-mi's input/output buffer.
4604 2012-05-09 Glenn Morris <rgm@gnu.org>
4606 * files.el (dir-locals-read-from-file):
4607 Mention dir-locals in any error message.
4609 2012-05-09 Chong Yidong <cyd@gnu.org>
4611 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4612 package (Bug#11410).
4614 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4615 variables into description.
4617 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4620 shell-delimiter-argument-list (bug#11348).
4621 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4623 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4625 * textmodes/rst.el: Silence byte-compiler warnings.
4626 (rst-re-alist, rst-reset-section-caches): Move around.
4627 (rst-re): Use `characterp', not `char-valid-p'.
4628 (font-lock-beg, font-lock-end): Declare.
4630 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4631 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4633 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4635 2012-05-08 Glenn Morris <rgm@gnu.org>
4637 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4639 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4641 * vc/log-edit.el: Add GNU coding standards highlighting.
4642 (log-edit-font-lock-gnu-style)
4643 (log-edit-font-lock-gnu-keywords): New vars.
4644 (log-edit-font-lock-keywords): New fun.
4645 (log-edit-mode): Don't fold case in font-lock.
4646 (log-edit-font-lock-keywords): Do not assume case-folding.
4648 * imenu.el: Misc cleanup. Make docstrings out of comments.
4649 Use lexical-binding.
4650 (imenu--index-alist, imenu--last-menubar-index-alist)
4651 (imenu-menubar-modified-tick): Use defvar-local.
4652 (imenu--split-menu): Remove unused var.
4653 (imenu--cleanup-seen): Declare as global.
4654 (imenu--cleanup): Use dolist.
4656 * subr.el (defvar-local): Add debug spec and doc-string position.
4658 2012-05-08 Glenn Morris <rgm@gnu.org>
4660 * language/burmese.el, language/cham.el, language/czech.el:
4661 * language/english.el, language/georgian.el, language/greek.el:
4662 * language/japanese.el, language/khmer.el, language/korean.el:
4663 * language/lao.el, language/misc-lang.el, language/romanian.el:
4664 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4665 * language/thai.el, language/utf-8-lang.el:
4666 Remove no-byte-compile setting.
4668 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4670 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4672 * progmodes/make-mode.el (makefile-browse):
4673 Remove unnecessary interactive. (Bug#11324)
4675 2012-05-07 Glenn Morris <rgm@gnu.org>
4677 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4679 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4681 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4683 * loadup.el: Preload newcomment.el.
4684 * newcomment.el: Move autoload-only code to toplevel.
4686 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4687 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4688 Handle new :right-align column property.
4689 (tabulated-list-print-col): Idem, plus use `display' text-property to
4690 try and preserve alignment for variable pitch fonts.
4692 2012-05-07 Chong Yidong <cyd@gnu.org>
4694 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4695 (tabulated-list-use-header-line): New var.
4696 (tabulated-list-init-header): Use it.
4697 (tabulated-list-print-fake-header): New function.
4698 (tabulated-list-print): Use it.
4699 (tabulated-list-sort-button-map): Add non-header-line commands.
4700 (tabulated-list-init-header): Add column name property to basic
4702 (tabulated-list-col-sort): Handle non-header-line button case.
4703 (tabulated-list--sort-by-column-name): Fix a corner case.
4705 * buff-menu.el (list-buffers--refresh):
4706 Handle Buffer-menu-use-header-line.
4708 2012-05-06 Chong Yidong <cyd@gnu.org>
4710 * buff-menu.el: Convert to Tabulated List mode.
4711 (Buffer-menu-buffer+size-width): Make obsolete.
4712 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4713 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4714 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4715 documentation into docstring of buffer-menu.
4716 (Buffer-menu-toggle-files-only): Add an informative message.
4717 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4718 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4719 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4720 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4721 (Buffer-menu-execute, Buffer-menu-select)
4722 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4723 (Buffer-menu-bury): Use Tabulated List machinery.
4724 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4725 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4727 (list-buffers--refresh): New function.
4728 (list-buffers-noselect): Use it.
4729 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4730 (Buffer-menu--pretty-file-name): New helper functions.
4732 * loadup.el: Preload tabulated-list.
4734 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4735 tabulated-list-sort-column.
4736 (tabulated-list-init-header): Add the initial aligning space even
4737 if tabulated-list-padding is zero.
4739 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4741 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4742 whose cdr is not a cons cell correctly (bug#11038).
4744 2012-05-06 Chong Yidong <cyd@gnu.org>
4746 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4747 Accept additional plist in column descriptors.
4748 (tabulated-list-init-header): Obey it.
4749 (tabulated-list-get-entry): New function.
4750 (tabulated-list-put-tag): Use it. Use string-width instead of
4752 (tabulated-list--column-number): New function.
4753 (tabulated-list-print): Use it.
4754 (tabulated-list-print-col): New function.
4755 Set `tabulated-list-column-name' property on each column's text.
4756 (tabulated-list-print-entry): Use it.
4757 (tabulated-list-delete-entry, tabulated-list-set-col):
4759 (tabulated-list-sort-column): New command (Bug#11337).
4761 * buff-menu.el (list-buffers): Move C-x C-b binding from
4762 buff-menu.el to bindings.el.
4764 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4765 :advertised-binding feature.
4767 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4769 * progmodes/compile.el (compilation-internal-error-properties):
4770 Calculate start position correctly when end-col is set but
4771 end-line is not (Bug#11382).
4773 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4775 * man.el (Man-unindent): Use text-property-default-nonsticky to
4776 prevent untabify from inheriting face properties (Bug#11408).
4778 2012-05-05 Stefan Merten <smerten@oekonux.de>
4780 * textmodes/rst.el: Major merge with upstream development up to
4781 Docutils SVN r7399 / rst.el V1.2.1.
4783 Clarify maintainership and authors.
4785 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4786 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4787 (rst-official-version, rst-official-cvs-rev, rst-version)
4788 (rst-package-emacs-version-alist): New functions and variables
4789 for version information.
4791 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4792 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4793 (rst-mode-syntax-table, rst-mode): New and corrected functions
4794 and variables representing reStructuredText features.
4796 (rst-re): New function for reStructuredText regexes. Use in
4799 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4800 (rst-mode-map): Rebind keys.
4802 (rst-mode-lazy, rst-font-lock-keywords)
4803 (rst-font-lock-extend-region)
4804 (rst-font-lock-extend-region-internal)
4805 (rst-font-lock-extend-region-extend)
4806 (rst-font-lock-find-unindented-line-limit)
4807 (rst-font-lock-find-unindented-line-match)
4808 (rst-adornment-level, rst-font-lock-adornment-level)
4809 (rst-font-lock-adornment-match)
4810 (rst-font-lock-handle-adornment-pre-match-form)
4811 (rst-font-lock-handle-adornment-matcher): Major revision of
4812 font-locking. Integrate with other code. Use `jit-lock-mode'.
4814 (rst-preferred-adornments, rst-adjust-hook)
4815 (rst-new-adornment-down, rst-preferred-bullets)
4816 (rst-preferred-bullets, rst-indent, rst-indent-width)
4817 (rst-indent-field, rst-indent-literal-normal)
4818 (rst-indent-literal-minimized, rst-indent-comment): Change,
4819 extend and improve customization.
4821 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4822 (rst-normalize-cursor-position, rst-get-decoration)
4823 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4824 (rst-rstrip, rst-toc-insert-find-delete-contents)
4825 (rst-shift-fill-region, rst-compute-bullet-tabs)
4826 (rst-debug-print-tabs, rst-debug-mark-found)
4827 (rst-shift-region-guts, rst-shift-region-right)
4828 (rst-shift-region-left, rst-use-char-classes)
4829 (rst-font-lock-keywords-function)
4830 (rst-font-lock-indentation-point)
4831 (rst-font-lock-find-unindented-line-begin)
4832 (rst-font-lock-find-unindented-line-end)
4833 (rst-font-lock-find-unindented-line)
4834 (rst-font-lock-adornment-point, rst-font-lock-level)
4835 (rst-adornment-level-alist): Remove functions and variables.
4837 (rst-compare-adornments, rst-get-adornment-match)
4838 (rst-suggest-new-adornment, rst-get-adornments-around)
4839 (rst-adornment-complete-p, rst-get-next-adornment)
4840 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4841 (rst-straighten-adornments): Standardize function names to
4842 use "adornment" instead of "decoration". Correct callers.
4843 Similar standardizing in many places.
4845 (rst-update-section, rst-adjust, rst-promote-region)
4846 (rst-enumerate-region, rst-bullet-list-region)
4847 (rst-repeat-last-character): Correct use of `interactive'.
4849 (rst-classify-adornment, rst-find-all-adornments)
4850 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4851 (rst-find-leftmost-column, rst-repeat-last-character):
4854 (rst-find-title-line, rst-reset-section-caches)
4855 (rst-get-adornments-around, rst-adjust-adornment-work)
4856 (rst-arabic-to-roman, rst-roman-to-arabic)
4857 (rst-insert-list-pos, rst-insert-list-new-item)
4858 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4861 (rst-all-sections, rst-section-hierarchy)
4862 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4865 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4866 configuration instead of only buffer. Change where necessary.
4868 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4869 (rst-shift-region, rst-adaptive-fill): New functions for
4870 indentation and filling.
4872 (rst-comment-line-break, rst-comment-indent)
4873 (rst-comment-insert-comment, rst-comment-region)
4874 (rst-uncomment-region): New functions for handling comments.
4876 (rst-compile): Quote shell arguments.
4878 (rst-compile-pdf-preview, rst-compile-slides-preview):
4879 Delete temporary files after use.
4881 2012-05-05 Glenn Morris <rgm@gnu.org>
4883 * calendar/cal-html.el: Optionally include holidays in the output.
4884 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4885 (cal-html-holidays): New option.
4886 (cal-html-css-default): Add holiday entry.
4887 (holiday-in-range): Autoload it.
4888 (cal-html-htmlify-entry): Add optional class argument.
4889 (cal-html-htmlify-list): Add optional holidays argument.
4890 (cal-html-insert-agenda-days): Include holidays in the output.
4891 (cal-html-one-month): Maybe include holidays.
4893 * calendar/holidays.el (holiday-in-range):
4894 Move here from cal-tex-list-holidays.
4895 * calendar/cal-tex.el (cal-tex-list-holidays):
4896 Make it an obsolete alias for holiday-in-range. Update all callers.
4898 2012-05-05 Chong Yidong <cyd@gnu.org>
4900 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4903 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4905 * files.el (file-auto-mode-skip): New var.
4906 (set-auto-mode-1): Use it.
4908 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4910 * repeat.el: Use lexical-binding.
4911 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4912 (repeat-undo-count): Remove.
4914 * progmodes/octave-mod.el (octave-abbrev-start):
4915 * progmodes/f90.el (f90-abbrev-start):
4916 * face-remap.el (text-scale-adjust):
4917 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4919 * emacs-lisp/pcase.el (pcase--let*): New function.
4920 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4922 (pcase--split-pred): Be more clever about ruling out overlap between
4923 a predicate and some constant pattern.
4924 (pcase--q1): Use `null' instead of (eq foo nil).
4926 * subr.el (setq-local, defvar-local): New macros.
4927 (kbd): Redefine as an alias.
4928 (with-selected-window): Leave unrelated frames alone.
4929 (set-temporary-overlay-map): New function.
4931 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * subr.el (user-error): New function.
4934 * window.el (switch-to-buffer):
4935 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4936 (smerge-match-conflict):
4937 * simple.el (previous-matching-history-element)
4938 (next-matching-history-element, goto-history-element, undo-more)
4940 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4941 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4942 (next-file, tags-loop-scan, list-tags, complete-tag):
4943 * progmodes/compile.el (compilation-loop):
4944 * mouse.el (mouse-minibuffer-check):
4945 * man.el (Man-bgproc-sentinel, Man-goto-page):
4946 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4947 (Info-history-forward, Info-follow-reference, Info-menu)
4948 (Info-extract-menu-item, Info-extract-menu-counting)
4949 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4950 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4951 (Info-next-reference, Info-prev-reference, Info-index)
4952 (Info-index-next, Info-follow-nearest-node)
4953 (Info-copy-current-node-name):
4954 * imenu.el (imenu--make-index-alist)
4955 (imenu-default-create-index-function, imenu-add-to-menubar):
4956 * files.el (basic-save-buffer, recover-file):
4957 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4958 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4959 (checkdoc-message-text, checkdoc-defun):
4960 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4961 * cus-edit.el (customize-changed-options, customize-rogue)
4962 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4963 (custom-variable-mark-to-reset-standard)
4964 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4966 * completion.el (check-completion-length):
4967 * comint.el (comint-search-arg)
4968 (comint-previous-matching-input-string-position)
4969 (comint-previous-matching-input)
4970 (comint-replace-by-expanded-history-before-point, comint-send-input)
4971 (comint-copy-old-input, comint-backward-matching-input)
4972 (comint-goto-process-mark, comint-set-process-mark):
4973 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4974 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4976 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * dabbrev.el (dabbrev--ignore-case-p): New function.
4979 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4982 * files.el (automount-dir-prefix): Mark as obsolete.
4984 2012-05-04 Glenn Morris <rgm@gnu.org>
4986 * patcomp.el, play/bruce.el: Move to obsolete/.
4988 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4990 Fix minor Y10k bugs.
4991 * arc-mode.el (archive-unixdate):
4992 * autoinsert.el (auto-insert-alist):
4993 * calc/calc-forms.el (math-this-year):
4994 * emacs-lisp/copyright.el (copyright-current-year)
4995 (copyright-update-year, copyright):
4996 * tar-mode.el (tar-clip-time-string):
4997 * time.el (display-time-update):
4998 Don't assume years have 4 digits.
5000 2012-05-04 Chong Yidong <cyd@gnu.org>
5002 * dos-w32.el (file-name-buffer-file-type-alist)
5003 (direct-print-region-use-command-dot-com):
5004 * ffap.el (ffap-menu-regexp):
5005 * find-file.el (ff-special-constructs):
5006 * follow.el (follow-debug):
5007 * forms.el (forms--debug):
5008 * iswitchb.el (iswitchb-all-frames):
5009 * ido.el (ido-all-frames):
5010 * emacs-lisp/timer.el (timer-max-repeats):
5011 * mail/feedmail.el (feedmail-mail-send-hook)
5012 (feedmail-mail-send-hook-queued):
5013 * mail/footnote.el (footnote-signature-separator):
5014 * mail/mailabbrev.el (mail-alias-separator-string)
5015 (mail-abbrev-mode-regexp):
5016 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5017 * progmodes/idlwave.el (idlwave-libinfo-file)
5018 (idlwave-default-completion-case-is-down)
5019 (idlwave-library-routines): Convert defvars to defcustoms.
5021 * mail/rmail.el (rmail-decode-mime-charset):
5022 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5023 (idlwave-shell-fix-inserted-breaks)
5024 (idlwave-shell-activate-alt-keybindings)
5025 (idlwave-shell-use-breakpoint-glyph):
5026 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5028 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5032 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5034 * progmodes/verilog-mode.el (font-lock-keywords):
5035 Fix mis-highligting auto. Reported by Craig Barner.
5036 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5037 defines from global name space. Reported by Dan Dever.
5038 (verilog-auto-reset, verilog-auto-reset-widths)
5039 (verilog-auto-tieoff): Support using unbased numbers for
5040 AUTORESET and AUTOTIEOFF.
5041 (verilog-submit-bug-report): Update variable list.
5042 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5043 parenthesis from not matching. Reported by Michael Rytting.
5044 (verilog-auto-template-lint): Fix hash error when linting modules
5045 with no used templates.
5046 (verilog-warn, verilog-warn-error)
5047 (verilog-warn-fatal): When non-interactive report multiple
5048 warnings before exiting. Suggested by Brad Dobbie.
5049 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5050 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5051 to report unused template errors. Reported by Brad Dobbie.
5052 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5053 nets, bug438. Reported by Vns Blore.
5054 (verilog-auto-inout-module, verilog-auto-reg)
5055 (verilog-read-decls, verilog-read-sub-decls-sig)
5056 (verilog-signals-edit-wire-reg, verilog-signals-with):
5057 Fix passing of Verilog data types in ANSI input/output ports
5058 such as "output logic" into the AUTOs. Special case "wire" and
5059 "reg" for backwards compatibility presuming Verilog 2001.
5060 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5061 (verilog-preprocess): Fix replication of preprocess output.
5062 Reported by Brad Dobbie.
5063 (verilog-auto-inst-interfaced-ports):
5064 Create verilog-auto-inst-interfaced-ports, bug429.
5065 Reported by Julian Gorfajn.
5066 (verilog-after-save-font-hook)
5067 (verilog-before-save-font-hook): New variable.
5068 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5069 (verilog-save-font-mods): Wrap disabling fontification, reported
5071 (verilog-do-indent, verilog-pretty-declarations-auto)
5072 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5073 Reported by Pierre-David Pfister.
5074 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5075 of class declarations, bug292. Reported by Kevin Heilman.
5076 (verilog-read-decls): Fix 'parameter type' not appearing in
5077 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5078 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5079 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5080 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5081 Reported by David Kravitz.
5083 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5085 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5086 assignment with tests in ifs and for loops.
5087 (verilog-extended-complete-re, verilog-complete-reg): Change so
5088 that DPI inport functions don't look like fuction declarations.
5089 (verilog-pretty-expr): Don't line up assignment
5090 operations to the test and increment in if and for loops
5091 (verilog-extended-complete-re, verilog-complete-reg): Change so
5092 that DPI inport functions don't look like fuction declarations.
5094 2012-05-03 Kenichi Handa <handa@m17n.org>
5096 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5097 decoding, and show a warning message without signaling an error
5100 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5102 * emacs-lisp/bytecomp.el
5103 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5104 since cconv.el might have introduced :fun-body, internal-make-closure,
5105 and friends for bytecomp to handle (bug#11391).
5106 * custom.el (defcustom): Avoid ((λ ..) ..).
5108 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5112 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5114 * notifications.el (dbus-debug):
5115 * term/linux.el (gpm-mouse-enable):
5116 * term/screen.el (xterm-register-default-colors): Declare.
5118 2012-05-02 Chong Yidong <cyd@gnu.org>
5120 * cus-start.el (gc-cons-percentage, exec-suffixes)
5121 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5122 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5123 (make-cursor-line-fully-visible, void-text-area-pointer)
5124 (font-list-limit): Add customization data.
5126 * allout.el (allout-exposure-change-functions)
5127 (allout-structure-added-functions)
5128 (allout-structure-deleted-functions)
5129 (allout-structure-shifted-functions): Rename abnormal hooks from
5130 *-hook, and convert to defcustoms.
5131 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5132 Convert to defcustoms.
5133 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5135 * allout-widgets.el: Hook callers changed.
5137 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5139 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5140 the yanked message in preference to the default value of
5141 buffer-file-coding-system.
5143 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5145 * window.el (display-buffer--action-function-custom-type):
5148 2012-05-02 Alan Mackenzie <acm@muc.de>
5150 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5152 2012-05-01 Glenn Morris <rgm@gnu.org>
5154 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5156 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5158 * cus-edit.el (custom-variable-documentation): Simplify with format.
5160 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5161 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * simple.el (suggest-key-bindings, execute-extended-command):
5164 Move from keyboard.c.
5166 2012-05-01 Chong Yidong <cyd@gnu.org>
5168 * follow.el: Eliminate advice.
5169 (set-process-filter, process-filter, sit-for): Advice deleted.
5170 (follow-mode-off-hook): Obsolete hook removed.
5171 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5173 (follow-auto): Use a :set function.
5174 (follow-mode): Rewritten. Don't advise process filters.
5175 (follow-switch-to-current-buffer-all, follow-scroll-up)
5176 (follow-scroll-down): Assume follow-mode is bound.
5177 (follow-comint-scroll-to-bottom)
5178 (follow-align-compilation-windows): New functions.
5179 (follow--window-sorter): New function.
5180 (follow-all-followers): Use it to explicitly sort windows by their
5181 positions; don't make assumptions about next-window order.
5182 (follow-windows-start-end, follow-delete-other-windows-and-split)
5183 (follow-calc-win-start): Doc fix.
5184 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5185 vertical-motion unnecessarily.
5186 (follow-adjust-window): New function.
5187 (follow-post-command-hook): Use it.
5188 (follow-call-set-process-filter, follow-call-process-filter)
5189 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5190 (follow-stop-intercept-process-output, follow-generic-filter):
5192 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5193 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5194 New functions, replacing advice on scroll-bar-* commands.
5195 (follow-mwheel-scroll): New function (Bug#4112).
5197 * comint.el (comint-adjust-point): New function.
5198 (comint-postoutput-scroll-to-bottom): Use it.
5199 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5201 2012-05-01 Glenn Morris <rgm@gnu.org>
5203 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5204 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5205 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5206 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5207 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5208 Remove no-byte-compile setting.
5210 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5213 all-completions code to not return a number in the last cdr.
5215 2012-04-30 Leo Liu <sdl.web@gmail.com>
5217 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5220 2012-04-29 Chong Yidong <cyd@gnu.org>
5222 * follow.el (follow-calc-win-end): Rewrite to handle partial
5223 screen lines correctly (Bug#8390).
5224 (follow-avoid-tail-recenter): Minor cleanup.
5226 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5228 Avoid the obsolete `assoc' package.
5229 * speedbar.el (speedbar-refresh): Avoid adelete.
5230 (speedbar-file-lists): Simplify and avoid aput.
5231 * man.el (Man--sections, Man--refpages): New vars, replacing
5232 Man-sections-alist and Man-refpages-alist.
5233 (Man-build-section-alist, Man-build-references-alist):
5234 Use them; avoid aput.
5235 (Man--last-section, Man--last-refpage): New vars.
5236 (Man-follow-manual-reference): Use them.
5237 Use the `default' arg of completing-read.
5238 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5240 2012-04-27 Chong Yidong <cyd@gnu.org>
5242 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5244 * startup.el (x-apply-session-resources): New function.
5246 * term/ns-win.el (ns-initialize-window-system):
5247 * term/w32-win.el (w32-initialize-window-system):
5248 * term/x-win.el (x-initialize-window-system): Use it to properly
5249 set menu-bar-mode and other vars from X resources, even if the
5250 initial frame is not a window-system frame (Bug#2299).
5252 * subr.el (read-key): Avoid running filter function when setting
5253 up temporary tool bar entries (Bug#9922).
5255 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5257 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5260 2012-04-27 Chong Yidong <cyd@gnu.org>
5262 * select.el (xselect--encode-string): New function, split from
5263 xselect-convert-to-string.
5264 (xselect-convert-to-string): Use it.
5265 (xselect-convert-to-filename, xselect-convert-to-os)
5266 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5267 returned strings are properly encoded (Bug#11315).
5269 2012-04-27 Chong Yidong <cyd@gnu.org>
5271 * simple.el (delete-active-region): Move to killing custom group.
5273 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5275 * progmodes/which-func.el (which-func-current): Quote %
5276 characters for mode-line processing.
5278 2012-04-27 Chong Yidong <cyd@gnu.org>
5280 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5281 reaching eob (Bug#11286).
5283 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5285 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5286 (gdb): Make it buffer-local and init to zero.
5287 (gdb-control-commands-regexp): New variable.
5288 (gdb-send): Don't wrap in "-interpreter-exec console" if
5289 gdb-control-level is positive. Increment gdb-control-level
5290 whenever the command matches gdb-control-commands-regexp, and
5291 decrement it each time the command is "end". (Bug#11279)
5293 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5295 * window.el (adjust-window-trailing-edge, enlarge-window)
5296 (shrink-window, window-resize):
5297 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5298 windows (Bug#11276).
5300 2012-04-27 Chong Yidong <cyd@gnu.org>
5302 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5303 fix "missing prefix" warning. All callers changed.
5305 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5307 * emacs-lisp/assoc.el: Move to obsolete/.
5309 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5313 * term/ns-win.el (ns-define-service):
5314 * progmodes/pascal.el (pascal-goto-defun):
5315 * progmodes/js.el (js--read-tab):
5316 * progmodes/etags.el (tags-lazy-completion-table):
5317 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5318 * emacs-lisp/ewoc.el (ewoc--wrap):
5319 * emacs-lisp/assoc.el (aput, adelete, amake):
5320 * doc-view.el (doc-view-convert-current-doc):
5321 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5323 2012-04-26 Chong Yidong <cyd@gnu.org>
5325 * image.el (image-type-from-buffer): Only return supported image
5328 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5329 value, for symmetry with diff-end-of-hunk.
5330 (diff-split-hunk, diff-find-source-location)
5331 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5332 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5333 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5334 compute the relevant hunk or file properly (Bug#6005).
5335 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5337 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * vc/vc.el: Replace lexical-let by lexical-binding.
5347 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5348 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5349 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5351 2012-04-26 Chong Yidong <cyd@gnu.org>
5353 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5354 (diff-mode-shared-map): Bind it to / and [remap undo].
5356 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5357 (ediff-window-setup-function): Use it as the default, to set up
5358 windows based on whether the current frame is graphical (Bug#2138).
5359 (ediff-choose-window-setup-function-automatically): Make obsolete.
5361 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5363 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5365 * ffap.el: Remove old code for obsolete package.
5366 (ffap-complete-as-file-p): Remove.
5368 Use completion-table-with-quoting for comint and pcomplete.
5369 * comint.el (comint--unquote&requote-argument)
5370 (comint--unquote-argument, comint--requote-argument): New functions.
5371 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5372 (comint-quote-filename): Use regexp-opt-charset.
5373 (comint--common-suffix, comint--common-quoted-suffix)
5374 (comint--table-subvert): Remove.
5375 (comint-unquote-function, comint-requote-function): New vars.
5376 (comint--complete-file-name-data): Use them with
5377 completion-table-with-quoting.
5378 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5379 * pcomplete.el (pcomplete-arg-quote-list)
5380 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5381 (pcomplete-unquote-argument-function): Default to non-nil.
5382 (pcomplete-unquote-argument): Simplify.
5383 (pcomplete--common-quoted-suffix): Remove.
5384 (pcomplete-requote-argument-function): New var.
5385 (pcomplete--common-suffix): New function.
5386 (pcomplete-completions-at-point): Use completion-table-with-quoting
5387 and completion-table-subvert.
5389 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5390 (minibuffer--double-dollars): Preserve properties.
5391 (completion--sifn-requote): New function.
5392 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5394 * minibuffer.el: Add support for completion of quoted/escaped data.
5395 (completion-table-with-quoting, completion-table-subvert): New funs.
5396 (completion--twq-try, completion--twq-all): New functions.
5397 (completion--nth-completion): New function.
5398 (completion-try-completion, completion-all-completions): Use it.
5400 2012-04-25 Leo Liu <sdl.web@gmail.com>
5402 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5403 Use compilation-message if available to find real filename.
5405 2012-04-25 Chong Yidong <cyd@gnu.org>
5407 * vc/diff-mode.el (diff-setup-whitespace): New function.
5408 (diff-mode): Use it.
5410 * vc/diff.el (diff-sentinel):
5411 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5412 Whitespace mode variables based on diff style (Bug#8612).
5414 2012-04-25 Leo Liu <sdl.web@gmail.com>
5416 * progmodes/python.el (python-send-region): Add suffix .py to the
5419 * files.el (auto-mode-alist): Use javascript-mode instead.
5421 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5423 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5425 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5426 (soap-resolve-references-for-array-type): Hack to prevent self
5427 references, see Bug#9.
5428 (soap-parse-envelope): Report the contents of the 'detail' node
5429 when receiving a fault reply.
5430 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5432 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5433 (soap-inspect-simple-type): New function.
5435 * net/soap-client.el (soap-simple-type): New struct.
5436 (soap-default-xsd-types, soap-default-soapenc-types)
5437 (soap-decode-basic-type, soap-encode-basic-type):
5438 support unsignedInt and double basic types.
5439 (soap-resolve-references-for-simple-type)
5440 (soap-parse-simple-type, soap-encode-simple-type): New function.
5441 (soap-parse-schema): Parse xsd:simpleType declarations.
5443 * net/soap-client.el (soap-default-xsd-types)
5444 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5445 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5446 the local name of "soapenc:Array".
5447 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5448 decoding integer, byte and anyURI xsd types.
5450 2012-04-25 Chong Yidong <cyd@gnu.org>
5452 * cus-edit.el (custom-buffer-create-internal): Update header text.
5454 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5456 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5457 settings on 'system-type', not on 'window-system'. On MS-Windows,
5458 set interactive-mode on in GDB.
5460 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5462 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5463 (ruby-syntax-propertize-regexp): Remove.
5464 (ruby-syntax-propertize-function): Split regexp into chunks.
5465 Match following code directly.
5467 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5469 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5470 (ruby-syntax-propertize-regexp): New function.
5471 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5472 by a special keyword.
5474 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5475 (ruby-syntax-general-delimiters-goto-beg)
5476 (ruby-syntax-propertize-general-delimiters): New functions.
5477 (ruby-syntax-propertize-function): Use them to handle GDL.
5478 (ruby-font-lock-keywords): Move old handling of GDL...
5479 (ruby-font-lock-syntactic-keywords): .. to here.
5480 (ruby-calculate-indent): Adjust indentation for GDL.
5482 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5484 * notifications.el (top): Remove unneeded declarations.
5485 (notifications-specification-version): Change to "1.2".
5486 (notifications-interface, notifications-notify-method)
5487 (notifications-close-notification-method): Fix docstring.
5488 (notifications-get-capabilities-method): New defconst.
5489 (notifications-notify): Add :action-items, :resident and
5490 :transient hints. Change "image_data" to "image-data" and
5491 "image_path" to "image-path".
5492 (notifications-get-capabilities): New defun.
5494 2012-04-24 Leo Liu <sdl.web@gmail.com>
5496 * progmodes/python.el: Move hideshow setup to the end.
5498 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5500 * window.el (handle-select-window): Clear echo area since this is
5501 no more done by read_char (Bug#11304).
5503 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5506 and `/ M' to filter-derived-mode.
5507 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5508 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5509 (ibuffer-mark-by-mode): Use default rather than initial-input.
5510 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5512 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5514 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5515 (ibuffer-filter-by-derived-mode): New filter.
5516 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5518 2012-04-23 Andreas Politz <politza@fh-trier.de>
5520 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5522 2012-04-23 Chong Yidong <cyd@gnu.org>
5524 * cus-edit.el (customize-apropos, customize-apropos-options):
5525 Disable matching of non-option variables (Bug#11176).
5526 (customize-option, customize-option-other-window)
5527 (customize-changed-options): Doc fix.
5528 (customize-apropos-options, customize-apropos-faces)
5529 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5531 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5532 Fix word list splitting (Bug#11132).
5533 (apropos-symbol, apropos-keybinding, apropos-label)
5534 (apropos-property, apropos-function-button)
5535 (apropos-variable-button, apropos-misc-button): New faces.
5536 (apropos-symbol-face, apropos-keybinding-face)
5537 (apropos-label-face, apropos-property-face, apropos-match-face):
5538 Variables removed (Bug#8396).
5539 (apropos-library-button, apropos-format-plist, apropos-print)
5540 (apropos-print-doc, apropos-describe-plist): Callers changed.
5542 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5544 * net/xesam.el (xesam-mode-map): Use let-bound map in
5545 initialization. (Bug#11292)
5547 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5549 Preserve ispell session localwords when switching back to
5552 * textmodes/ispell.el (ispell-buffer-session-localwords):
5553 New buffer-local variable to hold buffer session localwords.
5554 (ispell-kill-ispell): Add option 'clear to delete session
5556 (ispell-command-loop, ispell-change-dictionary)
5557 (ispell-buffer-local-words): Preserve session localwords when
5560 * textmodes/flyspell.el (flyspell-process-localwords)
5561 (flyspell-do-correct): Preserve session localwords when needed.
5563 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5565 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5566 using obsolete `translation-table-for-input'.
5567 (ispell-word, ispell-process-line, ispell-complete-word):
5568 Use plain `insert' instead of removed `ispell-insert-word'.
5570 2012-04-22 Chong Yidong <cyd@gnu.org>
5572 * cus-edit.el (custom-variable-menu)
5573 (custom-variable-reset-saved, custom-face-menu)
5574 (custom-face-reset-saved): If there is no saved value, make the
5575 "reset-saved" operation bring back the default (Bug#9509).
5576 (custom-face-state): Properly detect themed faces.
5578 * faces.el (face-spec-set): Stop supporting deprecated form of
5581 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5583 Move functions from C to Lisp. Make non-blocking method calls
5584 the default. Implement further D-Bus standard interfaces.
5586 * net/dbus.el (dbus-message-internal): Declare function.
5587 Remove unneeded function declarations.
5588 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5589 (dbus-message-type-method-return, dbus-message-type-error)
5590 (dbus-message-type-signal): Declare variables. Remove local
5592 (dbus-interface-dbus, dbus-interface-peer)
5593 (dbus-interface-introspectable, dbus-interface-properties)
5594 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5596 (dbus-interface-objectmanager): New defconst.
5597 (dbus-call-method, dbus-call-method-asynchronously)
5598 (dbus-send-signal, dbus-method-return-internal)
5599 (dbus-method-error-internal, dbus-register-service)
5600 (dbus-register-signal, dbus-register-method): New defuns, moved
5602 (dbus-call-method-handler, dbus-setenv)
5603 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5605 (dbus-call-method-non-blocking): Make it an obsolete function.
5606 (dbus-unregister-object, dbus-unregister-service)
5607 (dbus-handle-event, dbus-register-property)
5608 (dbus-property-handler): Obey the new structure of
5609 `bus-registered-objects'.
5610 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5611 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5612 Use `dbus-call-method'.
5614 2012-04-22 Chong Yidong <cyd@gnu.org>
5616 * cus-edit.el (custom-commands, custom-reset-menu)
5617 (Custom-reset-standard): Tweak labels.
5618 (custom-reset-button-menu): Change default to t.
5619 (custom-buffer-create-internal): For the custom-reset-button-menu
5620 case, put the revert button first.
5621 (custom-group-subtitle): New face.
5622 (custom-group-value-create): Align docstring to a specific column.
5624 * wid-edit.el (widget-documentation-link-add): Don't handle
5625 indentation in this function.
5626 (widget-documentation-string-indent-to): New function.
5627 (widget-documentation-string-value-create): Use it.
5629 * autorevert.el (auto-revert):
5630 * epg-config.el (epg):
5631 * ibuffer.el (ibuffer):
5634 * eshell/eshell.el (eshell):
5635 * net/ange-ftp.el (ange-ftp):
5636 * progmodes/ebnf2ps.el (postscript):
5637 * progmodes/flymake.el (flymake):
5638 * progmodes/prolog.el (prolog):
5639 * progmodes/verilog-mode.el (verilog-mode):
5640 * progmodes/which-func.el (which-func):
5641 * term/xterm.el (xterm):
5642 * textmodes/picture.el (picture):
5643 * textmodes/tildify.el (tildify):
5644 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5645 customization buffers.
5647 2012-04-22 Alan Mackenzie <acm@muc.de>
5649 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5650 Adding a ) can hide the resulting (..) from searches. Fix it.
5651 Bound the backward search to the position of the existing (.
5653 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5655 * progmodes/verilog-mode.el (verilog-mode): Check whether
5656 which-func-modes is t before adding verilog-mode.
5657 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5659 2012-04-21 Leo Liu <sdl.web@gmail.com>
5661 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5663 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5665 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5666 filling of the last column of a table (Bug#5635).
5667 (woman-find-next-control-line): New arg, specifying an additional
5668 regexp component for the control line.
5669 (woman2-roff-buffer): Use it.
5670 (woman-break-table): New function.
5671 (woman2-TS): Use it.
5673 2012-04-21 Chong Yidong <cyd@gnu.org>
5675 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5676 (woman-horizontal-escapes, woman-negative-vertical-space)
5677 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5678 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5680 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * minibuffer.el (completion-file-name-table): Complete user names.
5684 2012-04-20 Leo Liu <sdl.web@gmail.com>
5686 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5689 2012-04-20 Chong Yidong <cyd@gnu.org>
5691 * server.el (server-execute): Respect initial-buffer-choice if it
5692 is a string and there are no files to open (Bug#2825).
5693 (server-create-window-system-frame, server-create-tty-frame):
5694 Don't switch buffers here.
5695 (server-process-filter): Only try to open a window system frame if
5696 compiled with graphical support (Bug#8314).
5698 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5700 * battery.el (battery-echo-area-format): Display remaining time
5701 for sysfs backend too (Bug#11269).
5702 (battery-linux-sysfs): Fix conditional for the charge.
5704 2012-04-20 Chong Yidong <cyd@gnu.org>
5706 * progmodes/gdb-mi.el (gdb): Revert previous change.
5707 (gdb-inferior-io--init-proc): New function.
5708 (gdb-init-1): Use it.
5709 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5710 responsible for allocating a new pty and hooking it to gdb when
5711 the old pty gets an EIO due to process exit.
5712 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5713 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5714 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5716 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5718 * window.el (window-min-size, window-sizable, window-min-delta)
5719 (window-max-delta, window--resizable, window-resizable)
5720 (window-total-size, window-full-height-p, window-full-width-p)
5721 (window-in-direction, window--resize-mini-window, window-resize)
5722 (window--resize-child-windows-normal)
5723 (window--resize-child-windows, window--resize-siblings)
5724 (window--resize-this-window, adjust-window-trailing-edge)
5725 (enlarge-window, shrink-window): Doc fixes.
5727 2012-04-20 Chong Yidong <cyd@gnu.org>
5729 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5730 New function to call delete-process on the gdb-inferior buffer's pty.
5731 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5732 pty process (Bug#11273).
5733 (gdb-update): New arg to suppress talking to the gdb process.
5734 (gdb-done-or-error): Use it.
5735 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5736 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5737 sentinel not being called.
5739 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5741 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5743 2012-04-20 Glenn Morris <rgm@gnu.org>
5745 * net/network-stream.el (open-network-stream): Doc fix.
5747 2012-04-20 Chong Yidong <cyd@gnu.org>
5749 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5751 2012-04-20 Alan Mackenzie <acm@muc.de>
5753 Ensure searching for keywords is case sensitive.
5755 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5756 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5757 (c-defun-name, c-mark-function, c-cpp-define-name)
5758 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5759 (c-context-line-break): Bind case-fold-search to nil.
5761 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5762 Bind case-fold-search to nil.
5764 2012-04-20 Chong Yidong <cyd@gnu.org>
5766 * mail/sendmail.el (mail-bury): Call return action with the right
5767 Rmail buffer (Bug#11242).
5769 * server.el (server-process-filter): Handle corner case where both
5770 tty and nowait options are present (Bug#11102).
5772 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5774 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5775 (top level): Put into the executable the ident-style '$Id:' tag on
5778 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * electric.el (electric-indent-post-self-insert-function): Check that
5781 electric-indent-mode is enabled in current buffer.
5783 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5785 * imenu.el (imenu-progress-message): Restore; it is "used" in
5786 erc/erc-imenu.el and net/snmp-mode.el.
5788 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5790 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5791 (mouse-avoidance-nudge-mouse): Remove unused binding.
5793 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5795 * descr-text.el (describe-char):
5796 * progmodes/python.el (python-describe-symbol):
5797 Don't call `toggle-read-only', set `buffer-read-only'.
5799 * imenu.el (imenu-default-goto-function): Mark unused args.
5800 (imenu-progress-message): Remove obsolete macro; all callers changed.
5802 * subr.el (keymap-canonicalize): Remove unused binding.
5803 (read-passwd): Mark unused arg.
5805 * tutorial.el (tutorial--display-changes): Remove unused binding.
5806 (tutorial--save-tutorial-to): Remove unused variable.
5808 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5809 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5810 (package-generate-autoloads, package-menu--generate)
5811 (package-menu--find-upgrades): Remove unused bindings.
5813 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5814 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5815 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5816 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5817 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5818 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5819 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5820 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5821 (cua-delete-char-rectangle): Mark unused args.
5822 (cua-align-rectangle): Remove unused binding.
5824 * mail/rmail.el (compilation--message->loc)
5825 (epa--find-coding-system-for-mime-charset): Declare.
5827 * net/dbus.el (dbus-register-service): Declare.
5828 (dbus-name-owner-changed-handler): Remove unused binding.
5830 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5831 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5832 (nxml-scan-backward-within): Mark unused arg.
5833 (nxml-dynamic-markup-word): Remove unused binding.
5835 * mouse.el (mouse-menu-major-mode-map):
5836 * emacs-lisp/authors.el (authors-scan-change-log)
5837 (authors-add-to-author-list):
5838 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5839 * emacs-lisp/smie.el (smie-auto-fill):
5840 * mail/sendmail.el (mail-bury):
5841 * mail/unrmail.el (unrmail):
5842 * net/tls.el (open-tls-stream):
5843 * textmodes/picture.el (picture-mouse-set-point):
5844 Remove unused bindings.
5846 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5848 * net/tramp.el (tramp-action-password): Let-bind
5849 `enable-recursive-minibuffers' to t.
5851 2012-04-18 Sam Steingold <sds@gnu.org>
5853 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5854 instead of 'string to accommodate values like [f11].
5855 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5856 * progmodes/gdb-mi.el: Likewise.
5858 2012-04-18 Leo Liu <sdl.web@gmail.com>
5860 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5862 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5865 2012-04-18 Chong Yidong <cyd@gnu.org>
5867 * simple.el (line-move): Use forward-line if in batch mode
5870 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5872 * files.el (after-find-file): Do not try to add a final newline if
5873 the buffer is read-only (Bug#11156).
5875 2012-04-17 Richard Stallman <rms@gnu.org>
5877 * mail/rmail.el (rmail-start-mail):
5878 Pass (rmail-mail-return...) for the return-action.
5879 Pass (rmail-yank-current-message...) for the yank-action.
5880 (rmail-yank-current-message): New function.
5881 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5882 (rmail-reply): Likewise.
5883 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5885 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5886 buffer, not the last. Reject temp buffers. Use the rmail-mode
5889 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5891 * server.el (server-ensure-safe-dir): Simplify.
5893 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5895 * emacs-lisp/smie.el: Provide smarter auto-filling.
5896 (smie-auto-fill): New function.
5897 (smie-setup): Use it.
5899 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5901 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5903 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5904 (comment-indent): Use it.
5906 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5908 * ses.el: The overall change is to add cell renaming, that is
5909 setting fancy names for cell symbols other than name matching
5910 "\\`[A-Z]+[0-9]+\\'" regexp .
5911 (ses-localvars): Add ses--renamed-cell-symb-list.
5912 (ses-create-cell-variable): New defun.
5913 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5914 (ses-relocate-formula): Relocate formulas only for cells the
5915 symbols of which are not renamed, i.e. symbols whose names do not
5916 match regexp "\\`[A-Z]+[0-9]+\\'".
5917 (ses-relocate-all): Relocate values only for cells the symbols of
5918 which are not renamed.
5919 (ses-load): Create cells variables as the (ses-cell ...) are read,
5920 in order to check row col consistency with cell symbol name only
5921 for cells that are not renamed.
5922 (ses-replace-name-in-formula): New defun.
5923 (ses-rename-cell): New defun.
5925 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5927 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5928 New option (bug#11118).
5929 (perl-calculate-indent): Respect it.
5931 2012-04-17 Glenn Morris <rgm@gnu.org>
5933 * dired-aux.el (dired-mark-read-string): Doc fix.
5935 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5937 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5938 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5940 2012-04-17 Glenn Morris <rgm@gnu.org>
5942 * mouse.el (mouse-drag-track):
5943 * speedbar.el (speedbar-frame-mode):
5944 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5946 2012-04-16 Leo Liu <sdl.web@gmail.com>
5948 * progmodes/python.el: Trivial cleanup.
5950 2012-04-16 Glenn Morris <rgm@gnu.org>
5952 * vc/vc.el (vc-string-prefix-p):
5953 * vc/pcvs-util.el (cvs-string-prefix-p):
5954 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5955 * mpc.el (mpc-string-prefix-p):
5956 Make all of these into obsolete aliases for string-prefix-p.
5958 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5960 * textmodes/two-column.el: Move custom options to the start.
5961 (frame-width): Remove compat definition.
5962 (2C-associate-buffer, 2C-dissociate):
5963 Use with-current-buffer rather than save-excursion.
5964 (2C-dissociate): Force a mode-line update.
5965 (2C-autoscroll): Use ignore-errors.
5967 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5970 * emacs-lisp/cl-extra.el (*random-state*):
5971 Remove unnecessary declaration.
5973 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5975 * play/cookie1.el (cookie-snarf):
5976 Give an explicit error if input file cannot be read.
5978 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5980 * progmodes/perl-mode.el (c-macro-expand):
5981 Remove unnecessary autoload (it is in loaddefs.el).
5983 * textmodes/picture.el (picture-desired-column)
5984 (picture-update-desired-column): Convert comments to doc-strings.
5985 (picture-substitute): Remove function.
5986 (picture-mode-map): Initialize in the defvar.
5988 * woman.el: Remove eval-after-load for tar-mode.
5989 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5990 (woman-tar-extract-file): Autoload it.
5992 * frame.el (automatic-hscrolling): Make this alias obsolete.
5994 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5996 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5997 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5998 (ispell-dictionary-base-alist): Revert to original XEmacs
5999 friendly version for default. [:alpha:] will be added in
6000 `ispell-set-spellchecker-params' if needed.
6002 2012-04-16 Chong Yidong <cyd@gnu.org>
6004 * image.el (imagemagick--file-regexp): New variable.
6005 (imagemagick-register-types): Use it.
6006 (imagemagick-types-inhibit): Add :set function. Allow new value
6007 of t to inhibit all types.
6009 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6010 so we can preload it.
6012 * loadup.el (fboundp): Preload regexp-opt, needed by
6013 imagemagick-register-types.
6015 2012-04-15 Chong Yidong <cyd@gnu.org>
6017 * frame.el (scrolling): Remove nearly unused customization group.
6019 * scroll-all.el (scroll-all-mode): Move to windows group.
6021 2012-04-15 Chong Yidong <cyd@gnu.org>
6023 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6025 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6027 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6028 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6030 2012-04-15 Glenn Morris <rgm@gnu.org>
6032 * simple.el (process-file-side-effects): Doc fix.
6034 2012-04-15 Glenn Morris <rgm@gnu.org>
6036 * international/mule-cmds.el (set-language-environment): Doc fix.
6038 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6040 * server.el (server-auth-key, server-generate-key): Doc fixes.
6041 (server-get-auth-key): Doc fix. Use `string-match-p'.
6042 (server-start): Reflow docstring.
6044 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6046 * server.el (server-generate-key): `called-interactively-p'
6047 requires a parameter.
6049 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6051 * server.el (server-auth-key): New variable.
6052 (server-generate-key, server-get-auth-key): New function.
6053 (server-start): Use the new variable and functions to allow
6054 setting a permanent server key (bug#9423).
6056 2012-04-14 Leo Liu <sdl.web@gmail.com>
6058 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6060 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6063 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6064 Emacs uses American spelling.
6066 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6068 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6069 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6070 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6071 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6073 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6075 * progmodes/which-func.el (which-func-modes): Change default.
6077 2012-04-14 Kim F. Storm <storm@cua.dk>
6079 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6080 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6082 2012-04-14 Chong Yidong <cyd@gnu.org>
6084 * custom.el (custom-theme-set-variables): Doc fix.
6086 2012-04-14 Glenn Morris <rgm@gnu.org>
6088 * international/mule.el (set-auto-coding-for-load): Doc fix.
6090 2012-04-14 Alan Mackenzie <acm@muc.de>
6092 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6093 imenu work again for Objective C Mode. Correct the *-index values,
6094 these having been disturbed by a previous change in 2011-08.
6096 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6097 Correct two search limits.
6099 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6103 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6105 * international/characters.el: Fix sorting.
6107 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6109 * international/characters.el: Add more missing Latin case pairs.
6111 2012-04-14 Glenn Morris <rgm@gnu.org>
6113 * files.el (dir-locals-set-class-variables): Doc fix.
6115 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6117 * international/characters.el: Add set-case-syntax-pair call for
6118 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6119 counterpart. (Bug#11209)
6121 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6123 2012-04-14 Glenn Morris <rgm@gnu.org>
6125 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6127 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6129 * textmodes/ispell.el (ispell-dictionary-base-alist):
6130 Add data for Hebrew.
6132 2012-04-14 Chong Yidong <cyd@gnu.org>
6134 * net/rcirc.el (rcirc-cmd-quit):
6135 Revert 2012-03-18 change (Bug#11192).
6137 2012-04-14 Glenn Morris <rgm@gnu.org>
6139 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6141 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6143 * minibuffer.el (completion-in-region-mode-map):
6144 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6146 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6148 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6150 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6152 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6153 to allow `C-M-f' and `C-M-b' to move to the nearest path
6154 separator (bug#9511).
6156 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6158 * avoid.el: Require cl when compiling. And also move the
6159 `provide' to the end.
6161 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6163 * avoid.el (mouse-avoidance-banish-position): New variable.
6164 (mouse-avoidance-banish-destination): Use it (bug#10165).
6166 2012-04-13 Leo Liu <sdl.web@gmail.com>
6168 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6170 2012-04-13 Ken Brown <kbrown@cornell.edu>
6172 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6173 this is no longer needed now that cygstart understands file:// URLs.
6174 (browse-url-filename-alist): For the same reason, don't modify
6175 file:// URLs on Cygwin.
6177 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6180 the region on shift if the binding is already shifted (bug#11221).
6182 2012-04-12 Glenn Morris <rgm@gnu.org>
6184 * mail/mailpost.el: Move to obsolete/.
6186 2012-04-12 Drew Adams <drew.adams@oracle.com>
6188 * imenu.el (imenu--generic-function): Ignore invisible definitions
6191 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6193 * hexl.el (hexl-bits): New variable.
6194 (hexl-options): Mention the variable in the doc string.
6195 (hexl-rulerise, hexl-line-displen): New functions.
6196 (hexl-mode): Mention the new variable.
6197 (hexl-mode, hexl-current-address, hexl-current-address):
6199 (hexl-ascii-start-column): New function.
6200 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6201 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6203 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6205 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6206 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6207 the encoding, as expected by hunspell.
6209 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * battery.el (battery--linux-sysfs-regexp): New const.
6212 (battery-status-function): Use it. Remove yeeloong special case.
6213 (battery-yeeloong-sysfs): Remove.
6214 (battery-echo-area-format): Remove yeeloong special case.
6216 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6219 Reported by Noah Friedman.
6221 * subr.el (read-passwd): Use read-string.
6223 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225 * vcursor.el (vcursor-move): Increase the priority of the overlay
6228 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6230 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6231 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6233 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6235 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6236 define-minor-mode (bug#10760).
6238 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6240 * progmodes/grep.el (rgrep): Tweak the find command line so
6241 that directories matching `grep-find-ignored-files' won't be
6244 2012-04-11 Chong Yidong <cyd@gnu.org>
6246 * startup.el (command-line): Remove support for long-obsolete
6247 variable font-lock-face-attributes.
6249 2012-04-11 Glenn Morris <rgm@gnu.org>
6251 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6253 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * window.el (window--state-get-1): Obey window-point-insertion-type.
6257 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6259 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6260 to previous function when point is on the first character of a
6261 function. Take care of that in `narrow-to-defun' (bug#6157).
6263 2012-04-11 Glenn Morris <rgm@gnu.org>
6265 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6266 not just file-errors.
6268 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6269 (vc-bzr-sha1): Use internal sha1.
6271 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6275 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6277 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6278 that start in the middle of the line (bug#10496).
6280 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6282 * battery.el (battery-linux-proc-acpi): Only one battery is
6283 discharged at a time, but that seems to confuse battery.el when
6284 computing `rate-type' for the battery not being discharged
6287 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6291 * international/quail.el: Use dolist and simplify.
6292 (quail-define-package, quail-update-keyboard-layout)
6293 (quail-define-rules): Use dolist.
6294 (quail-insert-kbd-layout, quail-get-translation): CSE.
6296 * tmm.el: Use dolist, remove left over hook.
6297 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6299 (calendar-load-hook): Don't mess with it.
6301 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6302 Use derived-mode-p. Run the diff asynchronously.
6304 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6308 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6310 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6311 (list-dynamic-libraries--loaded): New function.
6312 (list-dynamic-libraries--refresh): Use it.
6314 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6316 * progmodes/python.el (python-fill-paragraph):
6317 Make python-fill-region in a multiline string work when font-lock is
6318 disabled (bug#7018).
6320 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6322 * language/european.el (cp775): Add oem/legacy (en)coding on
6323 DOS/MS Windows for the Baltic languages. There are still plenty
6324 of texts written in this encoding/codepage (bug#6519).
6326 2012-04-10 Glenn Morris <rgm@gnu.org>
6328 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6329 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6331 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6333 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6334 next-line "n" and previous-line "p" in order to make recentf more
6335 consistent with ibuffer, dired or org-mode (bug#9387).
6337 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6339 * image.el (put-image): Return the overlay created instead of the
6340 optional input string (bug#7834). Note that this may break code
6341 that is (for some reason or other) depending on `put-image'
6342 returning the string.
6344 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6346 * simple.el (zap-to-char): Allow zapping using input methods
6349 * textmodes/fill.el (fill-region): Leave point and mark where they
6350 were before filling (bug#5399).
6352 2012-04-09 Glenn Morris <rgm@gnu.org>
6354 * version.el (emacs-bzr-get-version):
6355 Handle lightweight checkouts of local branches.
6357 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6359 * international/characters.el: Recover lost case pairs. (Bug#11209)
6361 2012-04-09 Chong Yidong <cyd@gnu.org>
6363 * custom.el (custom-variable-p): Return nil for non-symbol
6364 arguments instead of signaling an error.
6365 (user-variable-p): Obsolete alias for custom-variable-p.
6367 * apropos.el (apropos-variable):
6368 * files-x.el (read-file-local-variable):
6369 * simple.el (set-variable):
6370 * woman.el (woman-mini-help):
6371 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6373 2012-04-09 Glenn Morris <rgm@gnu.org>
6375 * startup.el (normal-top-level): Don't look for leim-list.el
6376 in places where it will not be found. (Bug#910)
6378 * international/mule-cmds.el (set-default-coding-systems):
6379 * files.el (normal-mode):
6380 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6381 This function was removed with ucs-tables.el in 2008.
6383 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6385 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6386 ispell-encoding8-command to "-i", without a trailing space.
6387 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6388 separate command-line arguments, to specify the encoding, since
6389 that's how hunspell expects it.
6391 2012-04-08 Glenn Morris <rgm@gnu.org>
6393 * loadup.el: Load bindings before cus-start.
6394 This reduces somewhat the number of "rogue" settings in emacs -Q.
6396 2012-04-07 Glenn Morris <rgm@gnu.org>
6398 * version.el (emacs-bzr-get-version): New function.
6399 (emacs-bzr-version): New variable.
6400 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6401 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6403 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6405 * international/uni-bidi.el, international/uni-category.el:
6406 * international/uni-combining.el, international/uni-decimal.el:
6407 * international/uni-decomposition.el, international/uni-digit.el:
6408 * international/uni-lowercase.el, international/uni-mirrored.el:
6409 * international/uni-name.el, international/uni-numeric.el:
6410 * international/uni-titlecase.el, international/uni-uppercase.el:
6411 Update for Unicode 6.1.
6413 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6415 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6417 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6419 * window.el (shrink-window): Mention the `window-min-height'
6420 variable in the doc string.
6422 2012-04-05 Bastien Guerry <bzg@altern.org>
6424 * color.el (color-lighten-name): Fix typo.
6426 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6428 * server.el (server--on-display-p): New function.
6429 (server--on-display-p): Use it.
6431 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6433 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6436 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6438 * comint.el (comint--common-quoted-suffix): Check string boundary
6439 before comparing (bug#11158).
6440 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6442 2012-04-04 Chong Yidong <cyd@gnu.org>
6444 * minibuffer.el (completion-extra-properties): Doc fix.
6446 * subr.el (delayed-warnings-hook): Doc fix.
6448 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6450 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6451 selection (Bug#11159).
6452 (epa-insert-keys): Inform that the default public key will be
6453 exported if no key is selected.
6455 2012-04-04 Richard Stallman <rms@gnu.org>
6457 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6459 2012-04-03 Chong Yidong <cyd@gnu.org>
6461 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6462 mail-insert-file, not its obsolete alias mail-attach-file.
6464 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6466 * notifications.el (notifications-notify): Fix docstring.
6468 2012-04-02 Glenn Morris <rgm@gnu.org>
6470 * emacs-lisp/authors.el (authors-aliases): Another addition.
6472 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6474 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6475 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6476 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6478 2012-04-01 Chong Yidong <cyd@gnu.org>
6480 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6481 Handle root directory properly.
6482 (copy-directory): Caller changed.
6484 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6485 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6487 2012-03-31 Glenn Morris <rgm@gnu.org>
6489 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6491 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6493 * calendar/calendar.el (calendar-window-list)
6494 (calendar-hide-window): Restore. (Bug#11140)
6495 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6497 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6499 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6501 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6502 Check if file is a symlink (Bug#10489).
6504 * files.el (copy-directory): Likewise.
6506 2012-03-30 Chong Yidong <cyd@gnu.org>
6508 * image.el (imagemagick-types-inhibit)
6509 (imagemagick-register-types): Doc fix.
6511 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6513 * textmodes/ispell.el (ispell-get-extended-character-mode):
6514 Disable extended-char-mode for hunspell. hunspell does not support it
6515 and treats ~word as ordinary words in pipe mode.
6517 2012-03-30 Glenn Morris <rgm@gnu.org>
6519 * tutorial.el (help-with-tutorial): Ensure local variables don't
6520 happen to make the buffer read-only. (Bug#11127)
6522 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6524 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6525 (perl-calculate-indent): Return `noindent' in strings.
6527 2012-03-28 Sam Steingold <sds@gnu.org>
6529 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6530 instead of the broken adhockery which does not prevent calendar
6531 buffers from being displayed at random after exit.
6532 (calendar-window-list, calendar-hide-window): Remove the broken
6535 2012-03-28 Glenn Morris <rgm@gnu.org>
6537 * replace.el (query-replace-map): Doc fix.
6539 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6541 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6542 contents. (Bug#11109)
6544 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6548 (avl-tree--check, avl-tree--check-node): New funs.
6550 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6552 * window.el (switch-to-visible-buffer): New option.
6553 (switch-to-prev-buffer, switch-to-next-buffer):
6554 Observe switch-to-visible-buffer. Make sure that checking for a window
6555 showing a buffer already is done on the same frame.
6557 2012-03-27 Glenn Morris <rgm@gnu.org>
6559 * startup.el (mail-host-address): Doc fix.
6561 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6566 2012-03-26 Ami Fischman <ami@fischman.org>
6568 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6570 2012-03-26 Glenn Morris <rgm@gnu.org>
6572 * files.el (save-buffers-kill-emacs): Doc fix.
6574 * startup.el (normal-top-level, command-line, command-line-1):
6575 Give them doc strings.
6577 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6579 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6580 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6582 2012-03-25 Chong Yidong <cyd@gnu.org>
6584 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6585 theme if it was previously enabled before (Bug#11031).
6587 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6588 spec with custom-face-get-current-spec if its :shown-value is not
6589 determined yet (Bug#9337).
6590 (customize-create-theme, custom-theme-revert): Doc fixes.
6592 * button.el (button-at): Minor addition to docstring.
6594 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6596 * vc/vc.el (vc-merge): Fix a prompt.
6598 2012-03-24 Chong Yidong <cyd@gnu.org>
6600 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6603 * button.el (button-at): Minor addition to docstring.
6605 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6607 * newcomment.el (comment-choose-indent): No space after BOL.
6609 2012-03-22 Sam Steingold <sds@gnu.org>
6611 * window.el (switch-to-prev-buffer): Revert last patch because the
6612 bug turned out to be an advertised feature (Elisp manual 28.14).
6614 2012-03-22 Glenn Morris <rgm@gnu.org>
6616 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6617 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6619 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6621 * net/network-stream.el (network-stream-open-starttls): Make error
6622 message under Windows be less misleading.
6624 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6626 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6627 understands (bug#9942).
6629 2012-03-22 Chong Yidong <cyd@gnu.org>
6631 * simple.el (end-of-visible-line): Handle return value of
6632 next-single-property-change properly (Bug#9371).
6634 2012-03-22 Kenichi Handa <handa@m17n.org>
6636 * international/quail.el (quail-insert-kbd-layout): Fix previous
6637 change. To avoid unwanted bidi reordering, use
6638 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6640 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6643 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6644 (ruby-beginning-of-indent): Be more careful with the difference
6645 between word-boundary and symbol boundary.
6646 (ruby-mode-syntax-table): Make : a symbol constituent.
6648 2012-03-21 Andreas Politz <politza@fh-trier.de>
6650 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6652 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6654 * progmodes/etags.el (tags-completion-at-point-function):
6657 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6659 2012-03-21 Sam Steingold <sds@gnu.org>
6661 * progmodes/etags.el (tags-completion-at-point-function):
6662 Avoid the error when point is inside the pattern.
6664 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6666 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6669 2012-03-21 Drew Adams <drew.adams@oracle.com>
6671 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6673 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6675 * ido.el (ido-set-current-directory, ido-read-internal)
6676 (ido-choose-completion-string, ido-completion-help): Handle nil
6677 value of ido-completion-buffer (Bug#11008).
6679 2012-03-21 Sam Steingold <sds@gnu.org>
6681 * window.el (switch-to-prev-buffer): Do not switch to a visible
6682 window previous buffer, just like with the frame previous buffers.
6684 2012-03-21 Chong Yidong <cyd@gnu.org>
6686 * faces.el (make-face, make-empty-face, copy-face):
6687 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6690 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6692 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6693 (widget-complete): Remove broken use of it.
6695 2012-03-20 Chong Yidong <cyd@gnu.org>
6697 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6698 Use string-width and truncate-string-width to handle arbitrary
6701 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6703 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6704 to draw rectangles, not squares. (Regression introduced by revno
6705 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6707 2012-03-18 Chong Yidong <cyd@gnu.org>
6709 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6710 it is not yet defined (for temacs).
6712 2012-03-18 Leo Liu <sdl.web@gmail.com>
6714 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6716 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6718 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6719 (ispell-choices-win-default-height, ispell-silently-savep)
6720 (ispell-dictionary-alist, ispell-encoding8-command)
6721 (ispell-check-version, ispell-aspell-find-dictionary)
6722 (ispell-valid-dictionary-list, ispell-words-keyword)
6723 (ispell-get-word, ispell-internal-change-dictionary)
6724 (ispell-region, ispell-skip-region-list)
6725 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6726 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6727 (ispell-message-text-end, ispell-message)
6728 (ispell-buffer-local-parsing): Doc fix.
6730 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6732 * htmlfontify.el: Add support for code block fontification for ODT
6734 (hfy-optimisations): Define new option
6736 (hfy-fontify-buffer): Honor above setting.
6737 (hfy-begin-span, hfy-end-span): New routines factored out form
6738 `hfy-fontify-buffer'.
6739 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6740 that permit insertion of custom tags.
6741 (hfy-fontify-buffer): Use above handlers.
6742 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6743 (hfy-face-to-css): Re-defined to be a variable.
6744 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6745 over multiple runs. This is made possible by having the caller let
6746 bind a special variable `hfy-user-sheet-assoc'.
6747 (htmlfontify-string): New defun.
6748 (hfy-compile-face-map): Make sure that the last char in the
6749 buffer is correctly fontified.
6750 (hfy-face-resolve-face): Whitespace only change.
6752 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6754 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6757 2012-03-16 Leo Liu <sdl.web@gmail.com>
6759 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6761 2012-03-16 Alan Mackenzie <acm@muc.de>
6763 Further optimise the handling of large macros.
6765 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6766 limit to a call of `c-literal-limits'.
6767 (c-determine-+ve-limit): New function.
6768 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6769 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6770 In CASE 5B, restrict a search limit to 500.
6771 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6773 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6774 Restrict macro bounds to +-500 from after-change's BEG END.
6776 2012-03-16 Leo Liu <sdl.web@gmail.com>
6778 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6780 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6782 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6783 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6785 2012-03-16 Glenn Morris <rgm@gnu.org>
6787 * view.el (view-buffer, view-buffer-other-window)
6788 (view-buffer-other-frame): Doc fixes re special mode-class.
6790 * subr.el (eval-after-load): If named feature is provided not from
6791 a file, run after-load forms. (Bug#10946)
6793 * calendar/calendar.el (calendar-insert-at-column):
6794 Handle non-unit-width characters a bit better. (Bug#10978)
6796 2012-03-15 Chong Yidong <cyd@gnu.org>
6798 * emacs-lisp/ring.el (ring-extend): New function.
6799 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6801 * comint.el (comint-read-input-ring)
6802 (comint-add-to-input-history): Grow comint-input-ring lazily.
6804 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6807 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6809 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6810 (imenu-add-to-menubar): Don't add a redundant index.
6811 (imenu-update-menubar): Handle a dynamically composed keymap.
6813 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6815 * mail/sendmail.el (mail-encode-header):
6816 Bind rfc2047-encode-encoded-words to nil.
6818 2012-03-13 Glenn Morris <rgm@gnu.org>
6820 * calendar/calendar.el (calendar-string-spread):
6821 Handle non-unit-width characters a bit better. (Bug#10978)
6823 2012-03-13 Leo Liu <sdl.web@gmail.com>
6825 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6826 directory and file as argument (Bug#10822).
6828 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6830 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6831 For dynamically generated code, follow $PC.
6832 (gdb-disassembly-handler-custom): Handle no function name case.
6834 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6836 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6837 * emulation/ws-mode.el (ws-query-replace):
6838 * sort.el (sort-regexp-fields):
6839 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6841 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * dabbrev.el: Fix cycle completion order (bug#10963).
6844 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6845 (dabbrev-completion): Don't use an obarray; provide
6846 a cycle-sort-function.
6848 2012-03-12 Leo Liu <sdl.web@gmail.com>
6850 * simple.el (kill-new): Use equal-including-properties for comparison.
6851 (kill-do-not-save-duplicates): Doc fix.
6853 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * dabbrev.el: Fix cycle completion (bug#10963).
6856 Use lexical binding and wrap to 80 columns.
6857 (dabbrev-completion): Delay computing the list of completions.
6859 2012-03-12 Kenichi Handa <handa@m17n.org>
6861 * international/quail.el (quail-insert-kbd-layout): Surround each
6862 row by LRO and PDF instead of inserting many LRMs. Pad the left
6863 and right of each non-spacing marks. Insert invisible space
6864 between lower and upper characters to prevent composition.
6866 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * minibuffer.el (minibuffer-complete): Don't get confused when the
6869 function is run twice via different commands (bug#10958).
6870 (complete-with-action): Fix docstring.
6872 2012-03-12 Chong Yidong <cyd@gnu.org>
6874 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6875 (nxml-completion-at-point-function): New function.
6876 (nxml-mode): Use it.
6877 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6879 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6880 Load generated autoloads file before byte compiling (Bug#10970).
6881 (package--make-autoloads-and-compile): New helper fun.
6883 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6885 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6887 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6889 * autorevert.el (auto-revert-handler): Ensure, that
6890 file-readable-p is applied only for local files or in
6891 auto-revert-tail-mode.
6893 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6895 * server.el (server-eval-at): Handle non-tcp connections.
6896 Decode result string.
6898 * server.el (server-msg-size): New constant.
6899 (server-reply-print): New function.
6900 (server-eval-and-print): Use it.
6901 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6904 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6906 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6909 2012-03-11 Chong Yidong <cyd@gnu.org>
6911 * simple.el (goto-line): Doc fix (Bug#9938).
6913 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6915 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6916 when finished (Bug#10963).
6918 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6920 * window.el (split-window-below): Fix bug in case where
6921 split-window-keep-point is nil (Bug#10971).
6923 2012-03-11 Juri Linkov <juri@jurta.org>
6925 * replace.el (replace-highlight): Set isearch-word to nil
6926 unconditionally. (Bug#10887)
6928 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6930 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6931 mairix-replace-illegal-chars; all callers changed. Don't remove
6932 ^, ~, and = characters: they are meaningful in mairix search specs.
6933 (mairix-widget-create-query): Add usage information about mairix
6934 search forms: negating words, searching for substrings, etc.
6936 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6938 * international/fontset.el (font-encoding-alist): Add an entry for
6941 2012-03-10 Richard Stallman <rms@gnu.org>
6943 * mail/sendmail.el (mail-encode-header):
6944 Set rfc2047-encode-encoded-words.
6946 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6948 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6949 view buffer means not swapped.
6950 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6951 (rmail-write-region-annotate): Error if real text has disappeared.
6953 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6955 2012-03-10 Chong Yidong <cyd@gnu.org>
6957 * emulation/cua-rect.el (cua--init-rectangles):
6958 * emulation/cua-base.el (cua--init-keymaps):
6959 Add delete-forward-char to remappings (Bug#9666).
6961 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6963 * speedbar.el (speedbar-unhighlight-one-tag-line):
6964 Avoid unhighlighting due to frame switching (Bug#10275).
6966 2012-03-10 Chong Yidong <cyd@gnu.org>
6968 * minibuffer.el (completion-in-region, completion-help-at-point):
6969 Give the completion field overlay a high priority (Bug#6830).
6971 * dired.el (dired-goto-file): Recognize absolute file name
6972 listings (Bug#7126).
6973 (dired-goto-file-1): New helper function.
6974 (dired-toggle-read-only): Inhibit warnings.
6976 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6978 * net/dbus.el (dbus-property-handler): Return empty array if
6979 there are no properties.
6981 2012-03-09 Leo Liu <sdl.web@gmail.com>
6983 * savehist.el (savehist-printable): Stricter check for string
6986 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6988 * mail/smtpmail.el (smtpmail-send-it):
6989 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6992 2012-03-09 Glenn Morris <rgm@gnu.org>
6994 * files.el (dir-locals-find-file):
6995 Don't check result is regular, readable.
6996 (dir-locals-read-from-file): Demote errors.
6998 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7000 * international/quail.el (quail-insert-kbd-layout):
7001 Insert invisible LRM characters before each character in a keyboard
7002 layout cell, to prevent their reordering by bidi display engine.
7003 For details, see the discussion in
7004 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7006 2012-03-08 Alan Mackenzie <acm@muc.de>
7008 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7009 the starting position; make it extend the marked region when
7010 invoked repeatedly - all under appropriate circumstances.
7011 Fixes bugs #5525, #10906.
7013 2012-03-08 Glenn Morris <rgm@gnu.org>
7015 * files.el (locate-dominating-file, dir-locals-find-file):
7016 Undo 2012-03-06 change.
7018 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7020 * international/quail.el (quail-help):
7021 Force bidi-paragraph-direction be left-to-right. See discussion in
7022 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7025 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7027 Avoid superfluous registering of signals. (Bug#10807)
7029 * notifications.el (notifications-on-action-object)
7030 (notifications-on-close-object): New defvars.
7031 (notifications-on-action-signal, notifications-on-closed-signal):
7032 Unregister the signal if not needed any longer.
7033 (notifications-notify): Register `notifications-action-signal' or
7034 `notifications-closed-signal', if :on-action or :on-close has been
7037 2012-03-07 Chong Yidong <cyd@gnu.org>
7039 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7042 2012-03-06 Glenn Morris <rgm@gnu.org>
7044 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7045 (x-disown-selection-internal, x-get-selection-internal):
7046 Doc fix (add arglist signatures). (Bug#10783)
7048 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7050 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7051 Handle breakpoints with no "type".
7053 2012-03-06 Glenn Morris <rgm@gnu.org>
7055 * files.el (locate-dominating-file): Add optional predicate argument.
7056 (dir-locals-find-file): Make use of above change.
7058 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7060 * info.el (Info-insert-dir): Also try "dir.gz".
7062 2012-03-06 Glenn Morris <rgm@gnu.org>
7064 * files.el (dir-locals-find-file):
7065 Ignore non-readable or non-regular files. (Bug#10928)
7067 * files.el (locate-dominating-file): Doc fix.
7069 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7071 * calendar/calendar.el (calendar-set-mode-line):
7072 `getenv' returns a string. (Bug#10951)
7074 2012-03-05 Leo Liu <sdl.web@gmail.com>
7076 * simple.el (backward-delete-char-untabify): Constrain point to
7079 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7081 2012-03-05 Chong Yidong <cyd@gnu.org>
7083 * simple.el (count-words): If called from Lisp, return the word
7084 count, for symmetry with `count-lines'. Arglist changed.
7085 (count-words--message): Args changed. Consolidate counting code
7086 from count-words and count-words-region.
7087 (count-words-region): Caller changed.
7088 (count-lines-region): Make it an obsolete alias.
7090 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7092 * saveplace.el (save-place-to-alist)
7093 (save-place-ignore-files-regexp): Allow value nil to disable this
7096 2012-03-04 Chong Yidong <cyd@gnu.org>
7098 * faces.el (face-spec-reset-face): For the default face, reset the
7099 attributes to default values (Bug#10748).
7101 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7104 previous patch: Check `message-send-mail-function', and not the
7105 default function (bug#10897).
7107 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7109 * notifications.el (notifications-on-action-signal)
7110 (notifications-on-closed-signal): Check for unique service name of
7111 incoming event. Fix error in removing entry.
7112 (top): Register for signals with wildcard service name.
7113 (notifications-notify): Use daemon unique service name for map entries.
7115 2012-03-04 Chong Yidong <cyd@gnu.org>
7117 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7119 2012-03-04 Glenn Morris <rgm@gnu.org>
7121 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7122 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7123 (expand-abbrev, define-abbrev-table): Doc fixes.
7125 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7127 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7128 `message-default-send-mail-function' and not `send-mail-function'
7129 when doing the prompting for `sendmail-query-once' before sending
7130 in Message buffers (bug#10897).
7132 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7133 This is inconsistent with all the other stream functions, which leave
7134 the setting up to the higher levels (if so wanted) (bug#10931).
7136 2012-03-02 Alan Mackenzie <acm@muc.de>
7138 Depessimize the handling of very large macros.
7140 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7141 (c-macro-cache-syntactic): New variables to implement a one
7142 element macro cache.
7143 (c-invalidate-macro-cache): New function.
7144 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7145 Adapt to use the new cache.
7146 (c-state-safe-place): Use better the cache of safe positions.
7147 (c-state-semi-nonlit-pos-cache)
7148 (c-state-semi-nonlit-pos-cache-limit):
7149 New variables for...
7150 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7151 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7152 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7153 Use c-state-semi-safe-place.
7155 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7156 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7158 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7160 * jka-compr.el (jka-compr-call-process):
7161 Apply `file-accessible-directory-p' only when the default directory is
7164 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7166 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7167 access of FILE2, if FILE1 does not exist.
7169 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7170 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7172 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7173 Add "PAGER=" to `process-environment'.
7175 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7177 * progmodes/sql.el: Bug fix
7178 (sql-get-login-ext): Save login values in globals.
7179 (sql-get-login): Use new version of `sql-get-login-ext'.
7180 (sql-interactive-mode): Set global `sql-connection' to nil.
7181 (sql-connect): Set global values for connection.
7182 (sql-product-interactive): Save global values as buffer local.
7184 2012-02-29 Leo Liu <sdl.web@gmail.com>
7186 * abbrev.el (define-abbrevs): Reset sys to nil.
7188 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7190 * files.el (file-equal-p): Rename from `files-equal-p'.
7191 Return nil when one or both files don't exist.
7192 (file-subdir-of-p): Now only top directory must exists,
7193 return nil if it doesn't.
7194 (copy-directory): No need to test with `file-subdir-of-p' after
7196 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7199 2012-02-28 Glenn Morris <rgm@gnu.org>
7201 * shell.el (shell-mode):
7202 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7203 * play/landmark.el (landmark-font-lock-face-O):
7204 * play/handwrite.el (handwrite):
7205 * play/gomoku.el (gomoku-O):
7206 * net/browse-url.el (browse-url-browser-display):
7207 * international/mule.el (define-charset):
7208 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7209 * filesets.el (filesets-find-file-delay):
7210 * eshell/em-xtra.el (eshell-xtra):
7211 * eshell/em-unix.el (eshell-grep):
7212 * emulation/viper.el (viper-mode):
7213 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7214 * emacs-lisp/easymenu.el (easy-menu-define):
7215 * calendar/timeclock.el (timeclock-use-display-time):
7217 * bookmark.el (bookmark-save-flag):
7218 Doc fix (standardize possessive apostrophe usage).
7220 2012-02-27 Chong Yidong <cyd@gnu.org>
7222 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7223 Fix key-binding lookup for ESC key (Bug#9146).
7225 * font-lock.el (font-lock-specified-p): Rename from
7226 font-lock-spec-present. Callers changed.
7228 2012-02-27 Daniel Hackney <dan@haxney.org>
7230 * emacs-lisp/package.el (package-compute-transaction):
7231 Handle holding a package version to t in package-load-list.
7233 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7235 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7236 (tramp-get-inode, tramp-get-device): Use cached values.
7238 2012-02-26 Alan Mackenzie <acm@muc.de>
7240 Check there is a font-lock specification before doing initial
7243 * font-core.el (font-lock-mode): Move the conditional from
7244 :after-hook to font-lock-initial-fontify.
7245 (font-lock-default-function): Move the check for a specification
7246 to font-lock-spec-present.
7248 * font-lock.el (font-lock-initial-fontify): Call ...
7249 (font-lock-spec-present): New function.
7251 2012-02-26 Jim Blandy <jimb@red-bean.com>
7253 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7254 (gdb-send): Apply it to the operand of the '-interpreter-exec
7255 console' command, so that we can pass arguments with (say) quotes
7256 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7258 2012-02-26 Chong Yidong <cyd@gnu.org>
7260 * help-fns.el (describe-function-1): Clarify description of
7261 remapping (Bug#10844).
7263 * files.el (files-equal-p): Doc fix.
7264 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7265 and quit the loop once a mismatch is found.
7267 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7269 * bs.el (bs--show-with-configuration): Don't throw an error
7270 if the window cannot be split; otherwise, subsequent calls to
7271 bs-show fail, restoring a stale window config. (Bug#10882)
7273 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7275 * term/ns-win.el (global-map): Bind ns-drag-file to
7276 ns-find-file (Bug#5855, Bug#10050).
7278 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7280 * calendar/parse-time.el (parse-time-string): Allow extractor to
7283 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7285 * net/tramp.el (tramp-file-name-for-operation):
7286 Add `files-equal-p' and `file-subdir-of-p'.
7288 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7289 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7290 Add COPY-CONTENTS argument.
7292 2012-02-25 Chong Yidong <cyd@gnu.org>
7294 Add custom groups for VC backends, for consistency with vc-bzr.
7296 * vc/vc-arch.el (vc-arch):
7297 * vc/vc-cvs.el (vc-cvs):
7298 * vc/vc-git.el (vc-git):
7299 * vc/vc-hg.el (vc-hg):
7300 * vc/vc-mtn.el (vc-mtn):
7301 * vc/vc-rcs.el (vc-rcs):
7302 * vc/vc-sccs.el (vc-sccs):
7303 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7304 All relevant defcustoms reassigned.
7306 2012-02-25 Chong Yidong <cyd@gnu.org>
7308 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7310 * term/x-win.el (x-initialize-window-system): Reduce default for
7311 x-selection-timeout to 5 seconds (Bug#8869).
7313 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7315 * files.el (files-equal-p, file-subdir-of-p): New functions.
7316 (copy-directory): Error when trying to copy a directory on itself.
7317 Add missing copy-contents arg to tramp handler.
7318 * dired-aux.el (dired-copy-file-recursive): Same.
7319 (dired-create-files): Modify destination when source is equal to
7320 dest when copying files.
7321 Return also when dest is a subdir of source. (Bug#10489)
7323 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7325 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7328 2012-02-23 Alan Mackenzie <acm@muc.de>
7330 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7331 parameter "after-hook:" to allow the expansion to run code after
7332 the execution of the mode hooks.
7334 * font-lock.el (font-lock-initial-fontify): New function extracted
7335 from font-lock-mode-internal.
7337 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7340 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7342 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7343 (completion--cache-all-sorted-completions): New function.
7344 (completion-all-sorted-completions): Use it.
7345 (completion--do-completion, minibuffer-force-complete):
7346 Use it to re-instate the flush hook.
7348 * icomplete.el (icomplete-completions): Replace last fix with a better
7351 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7353 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7354 when it might call us back infinitely (bug#10797).
7356 2012-02-23 Glenn Morris <rgm@gnu.org>
7358 * minibuffer.el (completion-category-overrides): Doc fix.
7360 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7363 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7365 2012-02-23 Glenn Morris <rgm@gnu.org>
7367 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7368 (authors-obsolete-files-regexps, authors-ignored-files)
7369 (authors-ambiguous-files, authors-renamed-files-alist):
7372 2012-02-23 Juri Linkov <juri@jurta.org>
7374 * isearch.el (isearch-occur): Sync interactive spec with occur's
7375 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7377 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7379 2012-02-22 Juri Linkov <juri@jurta.org>
7381 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7382 (ucs-insert): Doc fix. Check for hex digits in the string.
7383 Don't display `nil' in the error message. (Bug#10857)
7385 2012-02-22 Alan Mackenzie <acm@muc.de>
7387 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7389 2012-02-22 Glenn Morris <rgm@gnu.org>
7391 * ffap.el (ffap-c-path):
7392 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7394 2012-02-22 Chong Yidong <cyd@gnu.org>
7396 * custom.el (load-theme): Doc fix.
7398 2012-02-22 Glenn Morris <rgm@gnu.org>
7400 * dired-x.el (dired-guess-shell-alist-default):
7401 Remove escape sequences from nroff output. (Bug#172)
7403 2012-02-21 Glenn Morris <rgm@gnu.org>
7405 * vc/emerge.el (emerge-defvar-local):
7406 Set `permanent-local' property rather than unused `preserved'.
7408 * textmodes/picture.el (picture-delete-char): New alias.
7409 (picture-mode-map): Use it. (Bug#10860)
7410 (picture-mode): Doc fix.
7412 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7414 * newcomment.el (uncomment-region-default): Remove unused binding.
7416 2012-02-21 Glenn Morris <rgm@gnu.org>
7418 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7419 (picture-self-insert, picture-tab-chars): Doc fix.
7420 (picture-mode-map): Fix C-a, C-e.
7422 2012-02-20 Glenn Morris <rgm@gnu.org>
7424 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7426 2012-02-20 Leo Liu <sdl.web@gmail.com>
7428 * icomplete.el (icomplete-completions): Check FROM arg before
7429 passing to substring (Bug#10850).
7431 2012-02-19 Chong Yidong <cyd@gnu.org>
7433 * comint.el: Require ansi-color.
7434 (comint-output-filter-functions): Add ansi-color-process-output.
7436 * ansi-color.el: Don't set comint-output-filter-functions; it is
7437 now in the initial value defined in comint.el.
7438 (ansi-color-apply-face-function): New variable.
7439 (ansi-color-apply-on-region): Use it.
7440 (ansi-color-apply-overlay-face): New function.
7442 * shell.el (shell): No need to require ansi-color.
7443 (shell-mode): Use ansi-color-apply-face-function to highlight
7444 color escapes using font-lock-face property (Bug#10835).
7446 2012-02-19 Chong Yidong <cyd@gnu.org>
7448 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7449 mode-line formats (Bug#10839).
7451 2012-02-18 Glenn Morris <rgm@gnu.org>
7453 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7455 * mail/undigest.el (unforward-rmail-message): Doc fix.
7457 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7459 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7461 * international/characters.el (script-list): Sync with the latest
7462 Unicode Character Database.
7464 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7466 * international/titdic-cnv.el: Remove duplicate coding tag.
7467 * language/cham.el: Likewise.
7468 * language/tai-viet.el: Likewise.
7470 2012-02-18 Glenn Morris <rgm@gnu.org>
7472 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7473 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7474 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7475 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7476 * calendar/holidays.el (holiday-bahai-holidays)
7477 (calendar-holidays, list-holidays):
7478 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
7480 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7482 * saveplace.el (save-place-ignore-files-regexp): New variable
7483 allowing for excluding files from saving their location of point.
7484 The default value matches the temporary commit message editing
7485 files from Git, SVN, Bazaar, and Mercurial.
7486 (save-place-to-alist): Use it.
7488 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7489 Stefan Monnier <monnier@iro.umontreal.ca>
7491 * newcomment.el (uncomment-region-default): Don't leave extra space
7492 when an arg is provided (bug#8150).
7494 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7496 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7498 2012-02-17 Glenn Morris <rgm@gnu.org>
7500 * net/socks.el: Require network-stream. (Bug#10599)
7502 2012-02-17 Kenichi Handa <handa@m17n.org>
7504 * international/charprop.el:
7505 * international/uni-name.el:
7506 * international/uni-old-name.el:
7507 * international/uni-comment.el: Regenerate.
7509 2012-02-16 Glenn Morris <rgm@gnu.org>
7511 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7512 Interactively in calendar buffer, give an error if not on a date.
7514 2012-02-15 Glenn Morris <rgm@gnu.org>
7516 * shell.el (shell-delimiter-argument-list):
7517 Revert 2011-02-17 change. (Bug#8027)
7519 2012-02-15 Chong Yidong <cyd@gnu.org>
7521 * minibuffer.el (completion-at-point-functions): Doc fix.
7523 * custom.el (defcustom): Doc fix; note use of defvar.
7525 2012-02-15 Glenn Morris <rgm@gnu.org>
7527 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7530 2012-02-14 Glenn Morris <rgm@gnu.org>
7532 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7534 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7536 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7537 way the ports list is computed.
7538 (smtpmail-query-smtp-server): Prompt the user for a port number if
7539 we can't connect to any of the standard ports (bug#10810).
7541 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7543 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7545 2012-02-13 Glenn Morris <rgm@gnu.org>
7547 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7549 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7551 * net/gnutls.el (gnutls-trustfiles): New variable.
7552 (gnutls-negotiate): Use it.
7554 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7556 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7557 does its stuff if Gnus is running.
7559 2012-02-13 Alan Mackenzie <acm@muc.de>
7561 Fix a loop in c-set-fl-decl-start.
7563 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7564 c-backward-syntactic-ws actually moves backwards.
7566 2012-02-13 Leo Liu <sdl.web@gmail.com>
7568 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7569 beginning so that all \C-o chars are removed.
7571 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7573 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7575 2012-02-12 Alan Mackenzie <acm@muc.de>
7577 Fix infinite loop with long macros.
7578 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7580 2012-02-12 Chong Yidong <cyd@gnu.org>
7582 * window.el (display-buffer): Doc fix (Bug#10785).
7584 2012-02-12 Glenn Morris <rgm@gnu.org>
7586 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7587 (x-disown-selection-internal, x-get-selection-internal):
7588 Sync docs with the xselect.c versions.
7590 * allout-widgets.el: Add missing license notice.
7592 2012-02-11 Glenn Morris <rgm@gnu.org>
7594 * select.el (x-get-selection-internal, x-own-selection-internal)
7595 (x-disown-selection-internal):
7596 * x-dnd.el (x-get-selection-internal): Update declarations.
7598 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7600 * window.el (window-sides-slots):
7601 * tool-bar.el (tool-bar-position):
7602 * term/xterm.el (xterm-extra-capabilities):
7603 * ses.el (ses-self-reference-early-detection):
7604 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7605 (verilog-auto-wire-type)
7606 (verilog-auto-delete-trailing-whitespace)
7607 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7608 (verilog-auto-tieoff-declaration):
7609 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7610 (sql-oracle-statement-starters, sql-oracle-scan-on):
7611 * progmodes/prolog.el (prolog-align-comments-flag)
7612 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7613 (prolog-left-indent-regexp, prolog-paren-indent-p)
7614 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7615 (prolog-types, prolog-mode-specificators)
7616 (prolog-determinism-specificators, prolog-directives)
7617 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7618 (prolog-electric-dot-flag)
7619 (prolog-electric-dot-full-predicate-template)
7620 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7621 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7622 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7623 (prolog-program-switches, prolog-prompt-regexp)
7624 (prolog-debug-on-string, prolog-debug-off-string)
7625 (prolog-trace-on-string, prolog-trace-off-string)
7626 (prolog-zip-on-string, prolog-zip-off-string)
7627 (prolog-use-standard-consult-compile-method-flag)
7628 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7629 (prolog-imenu-max-lines, prolog-info-predicate-index)
7630 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7631 (prolog-char-quote-workaround):
7632 * progmodes/cc-vars.el (c-defun-tactic):
7633 * net/tramp.el (tramp-encoding-command-interactive)
7634 (tramp-local-end-of-line):
7635 * net/soap-client.el (soap-client):
7636 * net/netrc.el (netrc-file):
7637 * net/gnutls.el (gnutls):
7638 * minibuffer.el (completion-category-overrides)
7639 (completion-cycle-threshold)
7640 (completion-pcm-complete-word-inserts-delimiters):
7641 * man.el (Man-name-local-regexp):
7642 * mail/feedmail.el (feedmail-display-full-frame):
7643 * international/characters.el (glyphless-char-display-control):
7644 * eshell/em-ls.el (eshell-ls-date-format):
7645 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7646 (lisp-lambda-list-keyword-parameter-indentation)
7647 (lisp-lambda-list-keyword-parameter-alignment):
7648 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7649 * dired-x.el (dired-omit-verbose):
7650 * cus-theme.el (custom-theme-allow-multiple-selections):
7651 * calc/calc.el (calc-highlight-selections-with-faces)
7652 (calc-lu-field-reference, calc-lu-power-reference)
7653 (calc-note-threshold):
7654 * battery.el (battery-mode-line-limit):
7655 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7656 (archive-7z-update):
7657 * allout.el (allout-prefixed-keybindings)
7658 (allout-unprefixed-keybindings)
7659 (allout-inhibit-auto-fill-on-headline)
7660 (allout-flattened-numbering-abbreviation):
7661 * allout-widgets.el (allout-widgets-auto-activation)
7662 (allout-widgets-icons-dark-subdir)
7663 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7664 (allout-widgets-theme-dark-background)
7665 (allout-widgets-theme-light-background)
7666 (allout-widgets-item-image-properties-emacs)
7667 (allout-widgets-item-image-properties-xemacs)
7668 (allout-widgets-run-unit-tests-on-load)
7669 (allout-widgets-time-decoration-activity)
7670 (allout-widgets-hook-error-post-time)
7671 (allout-widgets-track-decoration):
7672 Add missing :version tags to new defcustoms and defgroups.
7674 * progmodes/sql.el (sql-ansi-statement-starters)
7675 (sql-oracle-statement-starters): Add custom type.
7677 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7678 (prolog-system-version): Give it a type.
7680 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7682 * term/pc-win.el (x-select-text, x-selection-owner-p)
7683 (x-own-selection-internal, x-disown-selection-internal)
7684 (x-get-selection-internal): Sync doc strings and argument lists
7685 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7687 2012-02-11 Leo Liu <sdl.web@gmail.com>
7689 * progmodes/python.el (python-end-of-statement): Fix infinite
7692 2012-02-10 Glenn Morris <rgm@gnu.org>
7694 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7695 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7697 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7699 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7700 about SMTP before checking the From header.
7702 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7703 into own function for reuse by emacsbug.el.
7705 2012-02-10 Leo Liu <sdl.web@gmail.com>
7707 * subr.el (condition-case-unless-debug): Rename from
7708 condition-case-no-debug. All callers changed.
7709 (with-demoted-errors): Fix caller.
7711 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7712 * nxml/rng-valid.el (rng-do-some-validation):
7713 * emacs-lisp/package.el (package-refresh-contents)
7714 (package-menu-execute):
7715 * desktop.el (desktop-create-buffer):
7716 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7718 2012-02-10 Glenn Morris <rgm@gnu.org>
7720 * textmodes/bibtex.el:
7721 Add missing :version tags for new/changed defcustoms.
7723 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7725 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7727 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7728 (smtpmail-via-smtp): Use it, or fall back on the From address.
7729 (smtpmail-send-it): Ditto.
7731 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7734 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7735 (byte-compile-tmp-var): New const.
7736 (byte-compile-defvar): Use it to minimize .elc size.
7737 Just use `defvar' rather than simulate it (bug#10761).
7739 2012-02-09 Glenn Morris <rgm@gnu.org>
7741 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7743 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7746 * progmodes/compile.el (compilation-error-screen-columns)
7747 (compilation-first-column, compilation-filter-start): Doc fixes.
7749 * vc/log-view.el (log-view-toggle-entry-display):
7750 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7752 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7753 (report-emacs-bug-can-use-xdg-email):
7754 (report-emacs-bug-insert-to-mailer): Doc fixes.
7755 (report-emacs-bug): Message fix.
7757 * net/browse-url.el (browse-url-can-use-xdg-open)
7758 (browse-url-xdg-open): Doc fixes.
7760 * electric.el (electric-indent-mode, electric-pair-mode)
7761 (electric-layout-rules, electric-layout-mode): Doc fixes.
7762 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7764 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7766 * server.el (server-unselect-display): Don't inadvertently kill
7767 the current buffer. (Bug#10729)
7769 2012-02-08 Glenn Morris <rgm@gnu.org>
7771 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7772 (sql-list-table): Doc fixes.
7774 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7775 Comment out (does nothing).
7777 * completion.el (dynamic-completion-mode):
7778 * dirtrack.el (dirtrack-debug-mode):
7779 * electric.el (electric-layout-mode):
7780 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7781 * face-remap.el (text-scale-mode, buffer-face-mode):
7782 * iimage.el (iimage-mode):
7783 * image-mode.el (image-transform-mode):
7784 * minibuffer.el (completion-in-region-mode):
7785 * scroll-lock.el (scroll-lock-mode):
7786 * simple.el (next-error-follow-minor-mode):
7787 * tar-mode.el (tar-subfile-mode):
7788 * tooltip.el (tooltip-mode):
7789 * vcursor.el (vcursor-use-vcursor-map):
7790 * wid-browse.el (widget-minor-mode):
7791 * emulation/tpu-edt.el (tpu-edt-mode):
7792 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7793 * international/iso-ascii.el (iso-ascii-mode):
7794 * language/thai-util.el (thai-word-mode):
7795 * mail/supercite.el (sc-minor-mode):
7796 * net/goto-addr.el (goto-address-mode):
7797 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7798 * progmodes/cwarn.el (cwarn-mode):
7799 * progmodes/flymake.el (flymake-mode):
7800 * progmodes/glasses.el (glasses-mode):
7801 * progmodes/hideshow.el (hs-minor-mode):
7802 * progmodes/pascal.el (pascal-outline-mode):
7803 * textmodes/enriched.el (enriched-mode):
7804 * vc/smerge-mode.el (smerge-mode):
7805 Doc fixes (minor mode argument).
7807 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7809 * ls-lisp.el (ls-lisp-sanitize): New function.
7810 (ls-lisp-insert-directory): Use it to fix or remove any elements
7811 in file-alist with missing attributes. (Bug#4673)
7813 2012-02-07 Alan Mackenzie <acm@muc.de>
7815 Fix spurious recognition of c-in-knr-argdecl.
7817 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7818 putative K&R region.
7820 2012-02-07 Alan Mackenzie <acm@muc.de>
7822 * progmodes/cc-engine.el (c-forward-objc-directive):
7823 Prevent looping in "#pragma mark @implementation".
7825 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7827 * notifications.el (notifications-on-closed-signal): Make `reason'
7828 optional. (Bug#10744)
7830 2012-02-07 Glenn Morris <rgm@gnu.org>
7832 * emacs-lisp/easy-mmode.el (define-minor-mode):
7833 Doc fixes for the macro and the mode it defines.
7835 * image.el (imagemagick-types-inhibit): Doc fix.
7837 * cus-start.el (imagemagick-render-type): Add it.
7839 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7841 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7842 Set the default at load time, too, so that `font-lock-fontify-buffer'
7843 can be called without setting up the entire mode first. This fixes
7844 a bug in `mm-inline-text' with C MIME parts.
7846 2012-02-06 Chong Yidong <cyd@gnu.org>
7848 * simple.el (list-processes--refresh): Delete exited processes
7851 * comint.el (comint-next-prompt): next-single-char-property-change
7852 and prev-single-char-property-change never return nil (Bug#8657).
7854 * custom.el (defcustom): Doc fix (Bug#9711).
7856 2012-02-05 Chong Yidong <cyd@gnu.org>
7858 * cus-edit.el (custom-variable-reset-backup): Quote the value
7859 before storing it in the customized-value property (Bug#6712).
7860 (custom-display): Add a customization type tag.
7861 (custom-buffer-create-internal): Improve tooltip message.
7863 * wid-edit.el (widget-field-value-get): New optional arg to
7864 suppress trailing whitespace truncation.
7865 (character): Use it (Bug#2689).
7867 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7869 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7870 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7872 2012-02-05 Chong Yidong <cyd@gnu.org>
7874 * cus-edit.el (custom-variable-value-create): For mismatched
7875 types, show the current value (Bug#7600).
7877 * custom.el (defcustom): Doc fix.
7879 2012-02-05 Glenn Morris <rgm@gnu.org>
7881 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7883 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7885 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7886 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7887 (pp-last-sexp): Use `looking-at-p'.
7889 2012-02-04 Glenn Morris <rgm@gnu.org>
7891 * files.el (revert-buffer):
7892 Doc fix (mention revert-buffer-in-progress-p).
7894 * emacs-lisp/ert-x.el (ert-simulate-command):
7895 Check deferred-action-list (which is obsolete) is bound.
7897 * subr.el (with-wrapper-hook): Doc fixes.
7899 * simple.el (filter-buffer-substring-functions)
7900 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7902 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7904 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7905 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7907 2012-02-04 Leo Liu <sdl.web@gmail.com>
7909 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7911 2012-02-04 Glenn Morris <rgm@gnu.org>
7913 * image.el (image-extension-data): Add obsolete alias.
7915 * isearch.el (isearch-update): Doc fix.
7917 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7919 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7921 2012-02-03 Glenn Morris <rgm@gnu.org>
7923 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7924 (image-animate-timeout): Doc fix.
7926 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7928 2012-02-02 Glenn Morris <rgm@gnu.org>
7930 * server.el (server-auth-dir): Doc fix.
7931 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7933 * subr.el (run-mode-hooks): Doc fix.
7935 2012-02-02 Juri Linkov <juri@jurta.org>
7937 * image-mode.el (image-toggle-display-image): Remove tautological
7938 `major-mode' from the `derived-mode-p' test.
7940 2012-02-02 Kenichi Handa <handa@m17n.org>
7942 * composite.el (compose-region): Cancel previous change.
7944 2012-02-02 Kenichi Handa <handa@m17n.org>
7946 * composite.el (compose-region, compose-string): Signal error for
7947 a null string component (Bug#6988).
7949 2012-02-01 Chong Yidong <cyd@gnu.org>
7951 * view.el (view-buffer-other-window, view-buffer-other-frame):
7952 Handle special modes like view-buffer (Bug#10650).
7953 (view-buffer): Simplify.
7955 * frame.el (set-frame-font): Tweak meaning of third argument.
7957 * dynamic-setting.el (font-setting-change-default-font):
7958 Use set-frame-font (Bug#9982).
7960 2012-02-01 Glenn Morris <rgm@gnu.org>
7962 * progmodes/compile.el (compilation-internal-error-properties):
7963 Respect compilation-first-column in the "*compilation*" buffer.
7965 * emacs-lisp/easy-mmode.el (define-minor-mode):
7966 Relax :variable's test for a named function.
7968 2012-01-31 Alan Mackenzie <acm@muc.de>
7970 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7973 2012-01-31 Chong Yidong <cyd@gnu.org>
7975 * frame.el (set-frame-font): New arg ALL-FRAMES.
7977 * menu-bar.el (menu-set-font): Use set-frame-font.
7979 * faces.el (face-spec-reset-face): Don't apply unspecified
7980 attribute values to the default face.
7982 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7984 * progmodes/cwarn.el (cwarn): Remove dead link.
7985 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7986 Remove * from defcustom docstrings.
7987 (turn-on-cwarn-mode): Make obsolete.
7988 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7989 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7991 2012-01-31 Glenn Morris <rgm@gnu.org>
7993 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7994 Fix :variable handling of mode a symbol not equal to modefun.
7995 Allow named functions to be used as the cdr of :variable.
7997 2012-01-30 Glenn Morris <rgm@gnu.org>
7999 * emacs-lisp/authors.el (authors-fixed-entries):
8000 Remove reference to deleted file rnewspost.el.
8002 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8004 * window.el (window-with-parameter): Remove unused variable `windows'.
8005 (window--side-check): Remove unused variable `code'.
8006 (window--resize-siblings): Remove unused variable `first'.
8007 (adjust-window-trailing-edge): Remove unused variable `failed'.
8008 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8009 Use `let', not `let*'.
8010 (balance-windows-2): Remove unused variable `found'.
8011 (window--state-put-2): Remove unused variable `splits'.
8012 (window-state-put): Remove unused variable `selected'.
8013 (same-window-p): Use `string-match-p'.
8014 (display-buffer-assq-regexp): Remove unused variable `value'.
8015 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8016 Mark argument ALIST as ignored.
8017 (pop-to-buffer): Remove unused variable `old-window'.
8019 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8021 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8022 and .lzma compressed files.
8024 2012-01-29 Chong Yidong <cyd@gnu.org>
8026 * frame.el (window-system-default-frame-alist): Doc fix.
8028 * dynamic-setting.el (font-setting-change-default-font): Don't
8029 change the default face if SET-FONT argument is non-nil (Bug#9982).
8031 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8033 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8035 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8037 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8038 breakpoints in files outside current directory (Bug#6098).
8040 2012-01-29 Chong Yidong <cyd@gnu.org>
8042 * progmodes/python.el: Require ansi-color at top-level.
8044 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8045 Define and use in Emacs Lisp mode (Bug#9360).
8046 (lisp-mode-abbrev-table): Add doc.
8047 (lisp-mode-variables): Don't set local-abbrev-table.
8048 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8050 2012-01-28 Roland Winkler <winkler@gnu.org>
8052 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8054 2012-01-28 Roland Winkler <winkler@gnu.org>
8056 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8057 (bibtex-set-dialect): Use it. Either set global values of
8058 dialect-dependent variables or bind these variables buffer-locally
8060 (bibtex-mode): Call bibtex-set-dialect via
8061 hack-local-variables-hook.
8062 (bibtex-dialect): Update docstring.
8063 Add safe-local-variable predicate.
8064 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8066 (bibtex-mode-map): Define menu for each dialect.
8067 (bibtex-entry): Fix docstring.
8069 2012-01-28 Chong Yidong <cyd@gnu.org>
8071 * eshell/esh-arg.el (eshell-quote-argument): New function.
8073 * eshell/esh-ext.el (eshell-invoke-batch-file):
8074 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8075 first arg to eshell-parse-command (Bug#10523).
8077 2012-01-28 Drew Adams <drew.adams@oracle.com>
8079 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8080 `default-directory' is non-nil.
8082 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8084 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8085 line that displays system-configuration-options. (Bug#9924)
8087 2012-01-28 Drew Adams <drew.adams@oracle.com>
8089 * descr-text.el (describe-char): Show information about POS, in
8090 addition to information about the character at POS. Improve and
8091 update the doc string. Change "code point" to "code point in
8092 charset", to avoid confusion with the character's Unicode code
8093 point shown above that. (Bug#10129)
8095 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8097 * descr-text.el (describe-char): Show the raw character, not only
8098 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8099 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8102 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8104 * emacs-lisp/package.el (package-install):
8105 Run package-refresh-contents if there is no archive yet (Bug#9798).
8107 2012-01-28 Chong Yidong <cyd@gnu.org>
8109 * emacs-lisp/package.el (package-maybe-load-descriptor):
8110 New function, split from package-maybe-load-descriptor.
8111 (package-maybe-load-descriptor): Use it.
8112 (package-download-transaction): Fully load required packages
8113 inside the loop, so that `require' calls work (Bug#10593).
8114 (package-install): No need to call package-initialize now.
8116 2012-01-28 Chong Yidong <cyd@gnu.org>
8118 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8120 * tooltip.el (tooltip-mode): Doc fix.
8121 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8123 * frame.el (set-cursor-color): Doc fix (Bug#352).
8125 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8126 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8128 * cus-edit.el (custom-buffer-create-internal): Fix search button
8130 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8132 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8134 * dired.el (dired-mark-files-regexp):
8135 Include any subdirectory components. (Bug#10445)
8137 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8139 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8140 Handle [host]:port syntax. (Bug#10533)
8142 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8144 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8146 2012-01-26 Glenn Morris <rgm@gnu.org>
8148 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8149 * term.el (term-raw-escape-map): Use Control-X-prefix.
8150 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8152 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8154 * window.el (window-state-get, window--state-get-1): Don't deal
8155 with fixed-sizeness of windows. Simplify code.
8157 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8159 * window.el (window--state-get-1, window--state-put-2):
8160 Don't save and restore the mark.
8162 2012-01-25 Chong Yidong <cyd@gnu.org>
8164 * custom.el (custom-variable-p): Doc fix.
8166 2012-01-25 Glenn Morris <rgm@gnu.org>
8168 * dired.el (dired-goto-file): Handle some of the more common
8169 characters that `ls -b' escapes. (Bug#10596)
8171 * progmodes/compile.el (compilation-next-error-function):
8172 Respect compilation-first-column in the "*compilation*" buffer.
8173 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8175 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8177 2012-01-24 Glenn Morris <rgm@gnu.org>
8179 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8181 2012-01-24 Julien Danjou <julien@danjou.info>
8183 * color.el (color-rgb-to-hsl): Fix value computing.
8184 (color-hue-to-rgb): New function.
8185 (color-hsl-to-rgb): New function.
8186 (color-clamp, color-saturate-hsl, color-saturate-name)
8187 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8188 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8190 2012-01-24 Glenn Morris <rgm@gnu.org>
8192 * vc/vc-rcs.el (vc-rcs-create-tag):
8193 * vc/vc-sccs.el (vc-sccs-create-tag):
8194 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8196 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8198 * eshell/esh-util.el (eshell-read-hosts-file):
8199 Skip comment lines. (Bug#10549)
8201 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8203 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8205 * subr.el (display-delayed-warnings): Doc fix.
8206 (collapse-delayed-warnings): New function to collapse identical
8208 (delayed-warnings-hook): Add it.
8210 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8212 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8214 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8215 (tramp-default-user-alist): Don't add "pscp".
8216 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8217 property "login-as", if set. (Bug#10530)
8219 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8221 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8222 "plink1" and "psftp". (Bug#10530)
8224 2012-01-21 Kenichi Handa <handa@m17n.org>
8226 * international/mule-cmds.el (prefer-coding-system): Show a
8227 warning message if the default value of file-name-coding-system
8230 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8232 * windmove.el (windmove-reference-loc):
8233 Fix windmove-reference-loc miscalculation.
8235 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8237 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8240 2012-01-21 Glenn Morris <rgm@gnu.org>
8242 * international/mule.el (auto-coding-alist): Add .tbz.
8244 * files.el (local-enable-local-variables): Doc fix.
8245 (inhibit-local-variables-regexps): Rename from
8246 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8247 Doc fix. Add some extensions from auto-coding-alist.
8248 (inhibit-local-variables-suffixes):
8249 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8250 (inhibit-local-variables-p):
8251 New function, extracted from set-auto-mode-1.
8252 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8253 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8254 (hack-local-variables): Doc fix. Make the mode-only case
8255 respect enable-local-variables and friends.
8256 Respect inhibit-local-variables-regexps for file-locals, but
8257 not for directory-locals.
8258 (set-visited-file-name):
8259 Take account of inhibit-local-variables-regexps.
8260 Whether it applies may change as the file name is changed.
8261 * jka-cmpr-hook.el (jka-compr-install):
8262 * jka-compr.el (jka-compr-uninstall):
8263 Update for inhibit-first-line-modes-suffixes name change.
8265 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8267 * help-macro.el (make-help-screen): Temporarily restore original
8268 binding for minor-mode-map-alist (Bug#10454).
8270 2012-01-19 Julien Danjou <julien@danjou.info>
8272 * color.el (color-name-to-rgb): Use the white color to find the max
8273 color component value and return correctly computed values.
8274 (color-name-to-rgb): Add missing float conversion for max value.
8276 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8278 * window.el (window--state-get-1, window-state-get): Do not use
8279 special state value for window-persistent-parameters.
8280 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8281 (window--state-put-2): Reset all window parameters to nil before
8282 assigning values of persistent parameters.
8284 2012-01-18 Alan Mackenzie <acm@muc.de>
8286 Eliminate sluggishness and hangs in fontification of "semicolon
8289 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8290 Change value 10000 -> 3000.
8291 (c-state-safe-place): Reformulate so it doesn't stack up an
8292 infinite number of wrong entries in c-state-nonlit-pos-cache.
8293 (c-determine-limit-get-base, c-determine-limit): New functions to
8294 determine backward search limits disregarding literals.
8295 (c-find-decl-spots): Amend commenting.
8296 (c-cheap-inside-bracelist-p): New function which detects "={".
8298 * progmodes/cc-fonts.el
8299 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8301 (c-font-lock-declarations): Fix an occurrence of point being
8302 undefined. Check additionally for point being in a bracelist or
8303 near a macro invocation without a semicolon so as to avoid a
8304 fruitless time consuming search for a declarator. Give a more
8305 precise search limit for declarators using the new
8308 2012-01-18 Glenn Morris <rgm@gnu.org>
8310 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8311 (set-auto-mode): Doc fixes.
8313 2012-01-17 Glenn Morris <rgm@gnu.org>
8315 * isearch.el (search-nonincremental-instead): Fix doc typo.
8317 * dired.el (dired-insert-directory): Handle newlines in directory name.
8318 (dired-build-subdir-alist): Unescape newlines in directory name.
8320 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8322 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8323 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8324 (tramp-action-terminal): Use it. (Bug#10530)
8326 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8330 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8332 * window.el (window-state-ignored-parameters): Remove variable.
8333 (window--state-get-1): Rename argument MARKERS to IGNORE.
8334 Handle persistent window parameters. Make copy of clone-of
8335 parameter only if requested. (Bug#10348)
8336 (window--state-put-2): Install a window parameter only if it has
8337 a non-nil value or an existing parameter shall be overwritten.
8339 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8341 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8343 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8345 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8346 don't pass the (nil) value of `upnode' to string-match.
8348 2012-01-14 Chong Yidong <cyd@gnu.org>
8350 * startup.el (command-line): Fix X resource class for cursorColor.
8351 Fix values recognized by the cursorBlink resource.
8353 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8355 * epg.el (epg--make-temp-file): Avoid permission race condition
8356 when running on old Emacs versions (bug#10403).
8358 2012-01-14 Glenn Morris <rgm@gnu.org>
8360 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8362 2012-01-13 Alan Mackenzie <acm@muc.de>
8364 Fix filling for when filladapt mode is enabled.
8366 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8367 c-mask-paragraph, pass in `fill-paragraph' rather than
8368 `fill-region-as-paragraph'. (This is a reversion of a previous
8370 * progmodes/cc-mode.el (c-basic-common-init):
8371 Make fill-paragraph-handle-comment buffer local and set it to nil.
8373 2012-01-13 Glenn Morris <rgm@gnu.org>
8375 * dired.el (dired-switches-escape-p): New function.
8376 (dired-insert-directory): Use dired-switches-escape-p.
8377 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8379 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8381 2012-01-12 Glenn Morris <rgm@gnu.org>
8383 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8384 changes in adaptive-fill-regexp. (Bug#10276)
8386 2012-01-11 Alan Mackenzie <acm@muc.de>
8388 Fix Emacs bug #10463 - put `widen's around the critical spots.
8390 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8391 widen around each invocation of c-state-pp-to-literal. Remove an
8392 unused let variable.
8394 2012-01-11 Glenn Morris <rgm@gnu.org>
8396 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8399 2012-01-10 Chong Yidong <cyd@gnu.org>
8401 * net/network-stream.el (network-stream-open-starttls):
8402 Avoid emitting a confusing error message when the server gives a bad
8403 response to the capability command.
8405 2012-01-10 Glenn Morris <rgm@gnu.org>
8407 * mail/unrmail.el (unrmail): Tweak previous change.
8409 2012-01-09 Chong Yidong <cyd@gnu.org>
8411 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8413 2012-01-08 Alan Mackenzie <acm@muc.de>
8415 Optimise font locking in long enum definitions.
8417 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8418 arm to a cond form to handle enums.
8419 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8420 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8422 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8424 * files.el (move-file-to-trash): Preserve default file modes on error.
8427 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429 * faces.el (set-face-attribute): Clarify the meaning of the nil
8432 * subr.el (with-selected-frame): Mention that the selected frame
8433 is restored (bug#9980).
8435 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8438 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8439 (password-read): Don't autoload unused function.
8441 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8443 * progmodes/which-func.el (which-func-mode): Turn into a
8444 non-interactive function and mark as obsolete (bug#10428).
8446 2012-01-06 Chong Yidong <cyd@gnu.org>
8448 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8449 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8450 functions, along with 1 and -1.
8452 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8454 * time.el (display-time-load-average)
8455 (display-time-default-load-average): Doc fixes. See the thread
8457 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8460 2012-01-06 Glenn Morris <rgm@gnu.org>
8462 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8463 has no messages. (Bug#10377)
8465 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8466 than Info-edit. (Bug#10385)
8468 * time.el (display-time-load-average, display-time-next-load-average):
8471 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8472 local setting of buffer-read-only to the input buffer. (Bug#10419)
8474 * calendar/calendar.el (calendar-mode):
8475 Locally set scroll-margin to 0. (Bug#10379)
8477 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8479 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8481 2012-01-05 Glenn Morris <rgm@gnu.org>
8483 * eshell/em-unix.el (diff-no-select): Autoload it.
8484 (eshell/diff): Use diff-no-select. (Bug#10420)
8486 2012-01-05 Chong Yidong <cyd@gnu.org>
8488 * shell.el (shell-dynamic-complete-functions): Revert last change.
8489 (shell-command-completion-function): New function.
8490 (shell-completion-vars): Use it to implement
8491 shell-completion-execonly (Bug#10417).
8493 * custom.el (enable-theme): Don't set custom-safe-themes.
8495 * cus-theme.el (custom-theme-merge-theme):
8496 Ignore custom-enabled-themes and custom-safe-themes.
8498 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8500 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8501 first prompt in `sql-interacive-mode'.
8502 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8504 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8505 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8506 context of original buffer. Invoke `sql-login-hook'.
8508 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8510 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8511 letters in cite-prefix.
8513 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8515 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8517 2012-01-03 Chong Yidong <cyd@gnu.org>
8519 * shell.el (shell-dynamic-complete-functions):
8520 Put pcomplete-completions-at-point, so as to try
8521 comint-filename-completion first (Bug#10417).
8523 2012-01-02 Richard Stallman <rms@gnu.org>
8525 * battery.el (battery-status-function):
8526 Detect when to use battery-yeeloong-sysfs.
8527 (battery-echo-area-format): Add string for Yeeloong.
8528 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8529 (battery-yeeloong-sysfs): New function.
8531 2012-01-02 Chong Yidong <cyd@gnu.org>
8533 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8534 (dirtrack): Merge code for handling relative filenames in prompt
8535 from shell-dir-cookie-watcher.
8536 (dirtrack-debug-message): New arg to avoid excess format calls.
8538 * shell.el (shell-dir-cookie-re): Variable deleted.
8539 (shell-dir-cookie-watcher): Function deleted.
8540 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8543 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8545 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8546 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8549 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8551 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8553 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8555 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8556 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8558 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8560 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8561 also for alternative shells.
8562 (tramp-open-connection-setup-interactive-shell): Check, whether
8563 the shell is a busybox.
8564 (tramp-send-command): Don't suppress multiple prompts for
8565 busyboxes, it hurts.
8567 2011-12-28 Chong Yidong <cyd@gnu.org>
8569 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8570 (gdb-get-source-file): Move mode line update to
8571 gdb-get-source-file (Bug#10087).
8573 2011-12-25 Chong Yidong <cyd@gnu.org>
8575 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8576 gud-gdb-marker-filter without taking it as an argument.
8577 (gud-gdb-run-command-fetch-lines): Caller changed.
8578 (gud-gdb-completion-function): New variable.
8579 (gud-gdb-completion-at-point): Use it.
8580 (gud-gdb-completions-1): Split from gud-gdb-completions.
8582 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8583 function as separate arguments.
8584 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8585 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8586 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8587 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8588 (gdb-stopped, def-gdb-auto-update-trigger)
8589 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8590 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8592 (gud-gdbmi-completions): New function.
8593 (gdb): Use it for generating the completion table.
8595 2011-12-24 Alan Mackenzie <acm@muc.de>
8597 Introduce a mechanism to widen the region used in context font
8598 locking. Use this to protect declarations from losing their contexts.
8600 * progmodes/cc-langs.el (c-before-font-lock-functions):
8601 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8602 (c-before-context-fontification-functions): New defvar, a list of
8603 functions to be run just before context (etc.) font locking.
8605 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8606 New, functionality extracted from
8607 c-neutralize-syntax-in-and-mark-CPP.
8608 (c-in-after-change-fontification): New variable.
8609 (c-after-change): Set c-in-after-change-fontification.
8610 (c-set-fl-decl-start): Rejig its interface, so it can be called
8611 from both after-change and context fontifying.
8612 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8614 (c-standard-font-lock-fontify-region-function): New variable.
8615 (c-font-lock-fontify-region): New function.
8617 2011-12-24 Juri Linkov <juri@jurta.org>
8619 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8622 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8624 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8625 existence of source file. (Bug#10325)
8627 2011-12-23 Alan Mackenzie <acm@muc.de>
8629 Fix unstable fontification inside templates.
8631 * progmodes/cc-langs.el (c-before-font-lock-functions):
8632 Newly created from the singular version. The (c c++ objc) entry now
8633 additionally has c-set-fl-decl-start. The other languages (apart
8634 from AWK) have that as a single entry.
8636 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8637 The functionality for "local" declarations has been extracted to
8638 c-set-fl-decl-start.
8640 * progmodes/cc-mode.el (c-common-init, c-after-change):
8641 Changes due to pluralisation of c-before-font-lock-functions.
8642 (c-set-fl-decl-start): New function, extracted from
8643 c-font-lock-enclosing-decls and enhanced.
8645 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8647 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8649 2011-12-22 Juri Linkov <juri@jurta.org>
8651 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8653 2011-12-22 Chong Yidong <cyd@gnu.org>
8655 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8657 2011-12-21 Drew Adams <drew.adams@oracle.com>
8659 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8661 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8663 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8665 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8667 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8668 highlighting and support. Fix up comments for capitalization.
8669 (cfengine-mode-debug): New var.
8670 (cfengine3-mode): Change the modeline indicator to "CFE3".
8671 (cfengine3-font-lock-keywords): Improve defun highlighting.
8672 (cfengine2-actions): Rename from `cfengine-actions'.
8673 (cfengine2-font-lock-keywords): Rename from
8674 `cfengine-font-lock-keywords'.
8675 (cfengine2-imenu-expression): Rename from
8676 `cfengine-imenu-expression'.
8677 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8678 (cfengine2-beginning-of-defun): Rename from
8679 `cfengine-beginning-of-defun'.
8680 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8681 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8682 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8683 modeline indicator to "CFE2".
8684 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8685 (cfengine-mode-abbrevs): Mark obsolete.
8687 2011-12-21 Chong Yidong <cyd@gnu.org>
8689 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8692 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8694 * window.el (window-normalize-buffer-to-display): Remove.
8695 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8697 2011-12-19 Chong Yidong <cyd@gnu.org>
8699 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8700 Don't signal an error in a predicate function; return non-nil.
8701 (vc-dir-mark-file): Move the error here.
8702 (vc-dir-mark-unmark): If acting on the region, keep going if one
8703 of the entries cannot be marked/unmarked.
8704 (vc-dir-mark-all-files): If current entry is a directory, mark
8705 only child files, as documented.
8707 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8709 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8710 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8713 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8715 * term/ns-win.el (ns-get-selection-internal)
8716 (ns-store-selection-internal): Declare.
8717 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8718 Declare as obsolete.
8719 (ns-get-pasteboard, ns-paste-secondary):
8720 Use ns-get-selection-internal.
8721 (ns-set-pasteboard, ns-copy-including-secondary):
8722 Use ns-store-selection-internal.
8724 2011-12-17 Chong Yidong <cyd@gnu.org>
8726 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8727 (vc-deduce-fileset): Doc fix.
8729 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8731 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8733 2011-12-13 Sam Steingold <sds@gnu.org>
8735 * man.el (Man-getpage-in-background): When running under a
8736 window-system, ignore $MANWIDTH and $COLUMNS.
8738 2011-12-15 Kenichi Handa <handa@m17n.org>
8740 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8741 (setup-ethiopic-environment-internal): Comment out key-binding for
8742 ethio-toggle-punctuation.
8744 2011-12-13 Alan Mackenzie <acm@muc.de>
8746 Add the switch statement to AWK Mode.
8748 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8749 "default" to the keywords regexp.
8751 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8752 expression as the rest.
8753 (c-nonlabel-token-key): Allow string literals for AWK.
8754 Refactor for the other modes.
8756 Large brace-block initialisation makes CC Mode slow: Fix.
8757 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8758 routines. Limit backward searching in c-font-lock-enclosing.decl.
8760 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8761 pp-state and literal type in addition to the limits.
8762 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8763 (c-state-literal-at): Use the above new defun.
8764 (c-slow-in-literal, c-fast-in-literal): Remove.
8765 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8767 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8768 being in a literal. Add a limit for backward searching.
8770 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8773 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8775 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8777 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8779 * window.el (delete-other-windows): Use correct frame in call to
8780 window-with-parameter.
8782 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8784 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8785 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8786 (makefile-gmake-statements, makefile-makepp-statements):
8787 Use it and add new makepp keywords.
8788 (makefile-makepp-font-lock-keywords): Add new patterns.
8789 (makefile-match-function-end): Match new [...] and [[...]].
8791 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8793 * ses.el (ses-call-printer-return, ses-cell-property-get)
8794 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8795 (ses-create-cell-variable, ses-reset-header-string)
8796 (ses-cell-set-formula, ses-repair-cell-reference-all)
8797 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8798 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8799 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8800 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8801 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8802 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8803 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8804 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8805 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8806 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8807 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8808 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8810 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8812 * ses.el: The overall change is to add cell renaming, that is
8813 setting fancy names for cell symbols other than name matching
8814 "\\`[A-Z]+[0-9]+\\'" regexp .
8815 (ses-create-cell-variable): New defun.
8816 (ses-relocate-formula): Relocate formulas only for cells the
8817 symbols of which are not renamed, i.e. symbols whose names do not
8818 match regexp "\\`[A-Z]+[0-9]+\\'".
8819 (ses-relocate-all): Relocate values only for cells the symbols of
8820 which are not renamed.
8821 (ses-load): Create cells variables as the (ses-cell ...) are read,
8822 in order to check row col consistency with cell symbol name only
8823 for cells that are not renamed.
8824 (ses-replace-name-in-formula): New defun.
8825 (ses-rename-cell): New defun.
8827 2011-12-11 Chong Yidong <cyd@gnu.org>
8829 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8830 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8832 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8834 * window.el (other-window): Fix docstring.
8836 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8838 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8839 `from' or `to' address before taking its substring.
8840 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8841 encoded name is chopped in the middle of the encoded string, and
8842 thus displayed encoded.
8844 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8846 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8848 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8850 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8851 to use texinfo-update-node and commands that call it if the
8852 Texinfo file uses @node lines without next/prev/up pointers.
8853 Correct outdated description about texinfo-master-menu.
8854 (texinfo-all-menus-update, texinfo-master-menu)
8855 (texinfo-update-node, texinfo-every-node-update)
8856 (texinfo-multiple-files-update): Doc fix. Warn against updating
8857 all the @node lines.
8858 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8859 argument is numeric. Explain better in the doc string what the
8860 function really does.
8861 (texinfo-insert-master-menu-list): Improve the error message
8862 displayed if there's no menu in the Top node.
8863 (Bug#2975) See also this thread:
8864 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8866 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
8868 * speedbar.el (speedbar-supported-extension-expressions):
8869 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8871 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8873 * printing.el (pr-mode-alist):
8874 * simple.el (filter-buffer-substring-functions)
8875 (completion-list-insert-choice-function):
8876 * window.el (window-with-parameter, window-atom-root)
8877 (window-sides-slots, window-size-fixed, window-min-delta)
8878 (window-max-delta, window--resize-mini-window)
8879 (window--resize-child-windows-normal, window-tree)
8880 (delete-other-windows, quit-window, split-window)
8881 (display-buffer-record-window, special-display-buffer-names)
8882 (special-display-regexps, special-display-popup-frame)
8883 (same-window-p, split-window-sensibly)
8884 (display-buffer-overriding-action, display-buffer-alist)
8885 (display-buffer-base-action, display-buffer, switch-to-buffer)
8886 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8887 (fit-window-to-buffer, recenter-positions)
8888 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8889 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8890 and remove unneeded backslashes in docstrings.
8892 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8896 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8897 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8899 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8900 when reading the makefile (bug#10116).
8902 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8904 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8907 2011-12-06 Glenn Morris <rgm@gnu.org>
8909 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8911 2011-12-06 Chong Yidong <cyd@gnu.org>
8913 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8915 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8917 * textmodes/table.el (table-shorten-cell): Fix typo.
8919 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8921 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8923 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8925 * descr-text.el (describe-char): Fix display of strong
8926 right-to-left characters and directional embeddings and overrides.
8928 * simple.el (what-cursor-position): Fix display of codepoints of
8929 strong right-to-left characters.
8931 2011-12-05 Chong Yidong <cyd@gnu.org>
8933 * faces.el (read-color): Doc fix.
8935 2011-12-05 Glenn Morris <rgm@gnu.org>
8937 * align.el (align--set-marker): Add doc-string.
8938 Don't try to move something that is not a marker. (Bug#10216)
8940 2011-12-04 Glenn Morris <rgm@gnu.org>
8942 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8943 overly zealous deletion of trailing whitespace.
8945 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8947 * server.el (server-delete-client): On Windows, do not try to delete
8949 (server-process-filter): On Windows, treat requests for a tty frame as
8950 if they were for a GUI frame if the running server is in GUI mode.
8952 2011-12-03 Glenn Morris <rgm@gnu.org>
8954 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8956 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * electric.el: Streamline electric-indent's hook.
8959 (electric-indent-chars): Revert to simple list.
8960 (electric-indent-functions): New var.
8961 (electric-indent-post-self-insert-function): Use it.
8963 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8964 there's no inferior buffer (bug#10196).
8965 (prolog-consult-compile): Don't use toggle-read-only.
8967 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8969 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8970 interrupt. (Bug#10187)
8972 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8977 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8980 2011-12-02 Juri Linkov <juri@jurta.org>
8982 * info.el (Info-search): Display "end of manual" when Isearch
8983 reaches the end of single-file Info manual. (Bug#9918)
8985 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8987 * isearch.el (isearch-message-prefix): Run the input method part
8988 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8990 2011-12-02 Juri Linkov <juri@jurta.org>
8992 * isearch.el (isearch-occur): Use `word-search-regexp' for
8994 (isearch-search-and-update): Add condition for `isearch-word' and
8995 call `word-search-regexp'. (Bug#10145)
8997 2011-12-01 Glenn Morris <rgm@gnu.org>
8999 * eshell/em-hist.el (eshell-hist-initialize):
9000 Handle eshell-history-size nil and HISTSIZE set or unset.
9001 (eshell-history-file-name, eshell-history-size): Fix custom type.
9003 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9005 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9007 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9009 * progmodes/verilog-mode.el (verilog-pretty-expr):
9010 Rework verilog-pretty-expr to handle new assignment operators in system
9011 verilog, such as += *= and the like.
9012 (verilog-assignment-operator-re): Regular expression to find the
9013 assigment operator in a verilog assignment.
9014 (verilog-assignment-operation-re): Regular expression to find an
9015 assignment statement for pretty-expr.
9016 (verilog-in-attribute-p): Query returns true if point is in an
9017 attribute context; used to skip these for expression line up from
9019 (verilog-in-parameter-p): Query returns true if point is in an
9020 parameter definition context; used to skip these for expression
9021 line up from pretty-expr.
9022 (verilog-in-parenthesis-p): Query returns true if point is in a
9023 parenthetical expression, specifically ( ) but not [ ] or { };
9024 used by pretty-expr.
9025 (verilog-just-one-space): If there is no space, don't add one.
9026 (verilog-get-lineup-indent-2): Specifically skip just attribute
9027 contexts for expression lineup, rather than skipping all
9028 parenthetical expressions.
9029 (verilog-calculate-indent): Fix comment, and fix indent.
9030 (verilog-do-indent): Indent declarations in lists (suggested by
9032 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9034 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9037 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9039 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9040 parameters with embedded comments. Reported by Ray Stevens.
9041 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9042 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9043 Reported by Tim Holt.
9044 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9045 instantiated by upper module causing wrong expansion until AUTOed a
9046 second time. Reported by K C Buckenmaier.
9047 (verilog-diff-auto): Fix showing .* as a difference when
9048 `verilog-auto-star-save' off. Reported by Dan Dever.
9049 (verilog-auto-reset, verilog-read-always-signals)
9050 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9051 temporary signals in reset list if
9052 verilog-auto-reset-blocking-in-non is nil, and match assignment
9053 style to each signal's assignment type, bug381.
9054 Reported by Thomas Esposito.
9055 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9056 (verilog-uvm-statement-re): Support UVM indentation and
9057 highlighting, with old OVM keywords only.
9058 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9059 Support AUTOTIEOFF creating non-wire data types.
9060 Suggested by Jonathan Greenlaw.
9061 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9062 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9063 (verilog-inject-sense, verilog-read-inst-pins)
9064 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9065 Fix mismatching parenthesis inside commented out code when deleting
9066 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9067 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9068 non-numeric vector width. Reported by Alex Reed.
9069 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9070 detecting signals with parameter widths. Reported by Alex Reed.
9071 (verilog-auto-delete-trailing-whitespace):
9072 With `verilog-auto-delete-trailing-whitespace' remove trailing
9073 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9074 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9075 Fix verilog-scan-cache corruption when running user AUTO expansion
9076 hooks that call indentation routines.
9077 (verilog-simplify-range-expression): Fix typo ignoring lower case
9079 (verilog-delete-auto): Fix delete-autos to also remove user created
9080 automatics, as long as they start with AUTO.
9081 (verilog-batch-diff-auto, verilog-diff-auto)
9082 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9083 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9084 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9085 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9086 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9087 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9088 is disabled and its cache will get corrupt, causing AUTOS not to
9089 expand. Instead use only -quick functions.
9090 (verilog-scan-region): Fix scanning over escaped quotes.
9091 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9092 (verilog-re-search-backward-quick)
9093 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9094 related functions now ignore strings, to fix misparsing of strings
9095 with magic comments embedded in them.
9096 (verilog-read-auto-template):
9097 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9098 Reported by Brad Dobbie.
9099 (verilog-read-auto-template):
9100 Fix 'verilog-auto-inst-template-numbers' with comments.
9101 Reported by Brad Dobbie.
9102 (verilog-auto-inst, verilog-auto-inst-param)
9103 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9104 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9105 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9106 debugging templates without merge conflicts, bug357.
9107 Reported by Brad Dobbie.
9108 (verilog-read-auto-template):
9109 Fix verilog-auto-inst-template-numbers with multiple templates.
9110 Reported by Brad Dobbie.
9111 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9112 abbrevs so user won't be asked to save.
9113 (verilog-read-auto-lisp-present): Fix to start at beginning of
9114 buffer in case called outside of verilog-auto.
9115 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9116 to "X-2". Reported by Matthew Myers.
9117 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9118 all inputs from module templates. Reported by Leith Johnson.
9119 (verilog-module-inside-filename-p): Fix locating programs as with
9121 (verilog-auto-inst-port): Fix vl-width expressions when using
9122 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9123 (verilog-decls-get-regs, verilog-decls-get-signals,
9124 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9125 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9126 verilog-read-decls): Combine reg and wire structures into one var
9127 structure to represent SystemVerilog concepts.
9128 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9129 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9130 (verilog-auto-wire-type, verilog-insert-definition):
9131 Add verilog-auto-wire-type and AUTOLOGIC to support using
9132 SystemVerilog "logic" keyword instead of "wire"/"reg".
9133 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9134 to declares outputs that also have assignments (presumably in an
9135 ifdef or generate if so there's not a driver conflict).
9136 Reported by Matthew Myers.
9137 (verilog-auto-declare-nettype, verilog-insert-definition):
9138 Add verilog-auto-declare-nettype to fix declarations using
9139 `default_nettype none. Reported by Julian Gorfajn.
9140 (verilog-read-always-signals-recurse, verilog-read-decls)
9141 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9142 malformed end statement, bug325. Reported by Joshua Wise and
9144 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9145 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9146 when expanding .* in interfaces, bug320.
9147 Reported by Pierre-David Pfister.
9148 (verilog-read-module-name): Fix import statements between module
9149 name and open parenthesis, bug317.
9150 Reported by Pierre-David Pfister.
9151 (verilog-simplify-range-expression): Fix simplification of
9152 multiplications inside AUTOWIRE connections, bug303.
9153 (verilog-auto-inst-port): Support parameter expansion in
9154 multidimensional arrays.
9155 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9156 after "assert property". Reported by Julian Gorfajn.
9157 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9158 with multiplication, bug303.
9159 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9160 Reported by Jan Frode Lonnum.
9162 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9164 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9165 (hfy-shell-file-name, hfy-shell):
9166 * international/fontset.el (x-decompose-font-name): Fix typos.
9168 2011-11-29 Ken Brown <kbrown@cornell.edu>
9170 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9171 (gdb-version): Remove defvar.
9172 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9173 (gdb-gud-context-command, gdb-non-stop-handler)
9174 (gdb-current-context-command, gdb-stopped): Use it.
9175 (gdb-init-1): Enable pretty printing here.
9176 (gdb-non-stop-handler): Don't enable pretty-printing here.
9177 Check to see if the target supports non-stop mode; if not, turn off
9178 non-stop mode. Use the following.
9179 (gdb-check-target-async): New defun.
9180 (gud-watch, gdb-stopped): Fix whitespace.
9181 (gdb-get-source-file): Don't try to display the source file if
9182 `gdb-main-file' is nil.
9184 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * align.el: Try to generate fewer markers (bug#10047).
9187 (align--set-marker): New macro.
9188 (align-region): Use it.
9190 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9192 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9194 2011-11-29 Chong Yidong <cyd@gnu.org>
9196 * indent.el (indent-for-tab-command, indent-according-to-mode):
9198 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9200 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9202 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9203 aware of remote file names. (Bug#10124)
9205 2011-11-29 Chong Yidong <cyd@gnu.org>
9207 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9209 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9211 * files.el (find-file): Don't use force-same-window (bug#10144).
9212 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9213 use pop-to-buffer if the selected window can't be used.
9214 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9216 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9218 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9221 2011-11-28 Chong Yidong <cyd@gnu.org>
9223 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9225 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9227 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9228 gdb-get-source-file-list on gdb-create-source-file-list.
9230 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9232 * whitespace.el (whitespace-newline): Use a different foreground
9233 color for 16-color light-background displays.
9235 2011-11-24 Chong Yidong <cyd@gnu.org>
9237 * window.el (display-buffer--special-action): Doc fix.
9239 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9241 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9242 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9243 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9244 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9245 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9246 (avl-tree-stack-first):
9247 * emacs-lisp/cconv.el (cconv--analyse-use):
9248 * net/gnutls.el (gnutls-negotiate): Fix typos.
9250 2011-11-24 Glenn Morris <rgm@gnu.org>
9252 * lpr.el (lpr-windows-system, lpr-lp-system):
9253 * mail/binhex.el (binhex-begin-line):
9254 * progmodes/grep.el (grep-history, grep-find-history):
9255 * textmodes/flyspell.el:
9256 * vc/pcvs-defs.el (cvs-global-menu):
9257 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9258 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9259 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9261 * net/tls.el: Fix case of "GnuTLS".
9263 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9265 * version.el (emacs-build-system): Give it a doc-string.
9267 2011-11-24 Juri Linkov <juri@jurta.org>
9269 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9271 2011-11-24 Glenn Morris <rgm@gnu.org>
9273 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9274 if called on a non-mime message just toggle the headers. (Bug#8006)
9276 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9278 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9279 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9280 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9281 (allout-rebullet-heading, allout-open-sibtopic)
9282 (allout-toggle-current-subtree-encryption)
9283 (allout-toggle-subtree-encryption, allout-encrypt-string)
9284 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9285 (allout-distinctive-bullets-string, allout-auto-activation):
9286 * window.el (window-normalize-buffer-to-display):
9287 * progmodes/verilog-mode.el (verilog-batch-indent):
9288 * textmodes/bibtex.el (bibtex-field-braces-opt)
9289 (bibtex-field-strings-opt):
9290 * vc/cvs-status.el (cvs-tree-merge):
9293 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9295 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9296 `non-essential' to t, in order to avoid remote connections.
9298 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9300 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9301 On MS-DOS and MS-Windows, compare with loaddefs.el
9304 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9306 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9308 2011-11-23 Glenn Morris <rgm@gnu.org>
9310 * paths.el (rmail-file-name): Reformat the doc-string so that it
9313 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9314 (rmail-auto-file): Ignore case in the "special" field names,
9315 as mail-fetch-field does for all others.
9317 * mail/rmail.el (rmail-forward):
9318 * mail/rmailkwd.el (rmail-set-label):
9319 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9320 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9322 * mail/rmail.el (rmail-current-message): Doc fix.
9324 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9326 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9330 2011-11-22 Glenn Morris <rgm@gnu.org>
9332 * mail/rmailmm.el (test-rmail-mime-handler)
9333 (test-rmail-mime-bulk-handler)
9334 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9336 2011-11-21 Juri Linkov <juri@jurta.org>
9338 * calc/calc.el (calc-read-key-sequence):
9339 Let-bind `input-method-function' to nil. (Bug#10018)
9341 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9343 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9344 Tell the caller that the next line needs recomputation, even
9345 though it doesn't start a sexp (bug#10094).
9347 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9349 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9351 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9354 Use force-same-window.
9356 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9358 * descr-text.el (describe-char-unicode-data):
9359 * json.el (json-string-escape):
9360 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9361 (Footnote-unicode, Footnote-style-p):
9362 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9364 2011-11-20 Chong Yidong <cyd@gnu.org>
9366 * window.el (replace-buffer-in-windows): Restore interactive spec.
9368 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9370 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9372 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9373 (byte-compile-global-not-obsolete-vars): New var.
9374 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9376 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9378 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9380 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9381 * progmodes/pascal.el (electric-pascal-equal):
9382 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9383 * xml.el (xml-substitute-special): Fix typos.
9385 2011-11-20 Glenn Morris <rgm@gnu.org>
9387 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9388 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9390 (rmail-decode-mime-charset): Mark as obsolete.
9392 * mail/rmailsum.el (rmail-message-regexp-p-1):
9393 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9394 Before using mime functions, check they are set. (Bug#10077)
9396 2011-11-19 Juri Linkov <juri@jurta.org>
9398 * info.el (Info-finder-find-node): Use `package--builtins' instead
9399 of `package-alist'. Use node names formed by the pattern "Keyword "
9400 and the keyword name.
9402 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9404 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9406 2011-11-19 Juri Linkov <juri@jurta.org>
9408 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9409 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9410 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9411 `old-history', `old-history-forward'. Add let-binding
9412 `window-selected'. Remove calls to `kill-buffer',
9413 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9414 before calling `Info-find-node', so `Info-find-node-2' will reread
9415 the Info file. Restore window positions only when `window-selected'
9418 2011-11-19 Juri Linkov <juri@jurta.org>
9420 * isearch.el (isearch-lazy-highlight-new-loop):
9421 Remove condition `(not isearch-error)'. (Bug#9918)
9423 * misearch.el (multi-isearch-search-fun): Add condition
9424 `(not bound)' to ignore lazy-highlighting search.
9425 Add the search-failed message "end of multi" when the end of
9426 multi-sequence is reached. Uncapitalize the search-failed
9427 message "Repeat for next buffer".
9429 * info.el (Info-search): Add the search-failed message
9430 "end of the manual" when the end of the manual is reached
9433 2011-11-19 Juri Linkov <juri@jurta.org>
9435 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9436 Use non-destructive `remove' instead of `delete' because
9437 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9438 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9440 2011-11-19 Juri Linkov <juri@jurta.org>
9442 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9443 to nil instead of binding `search-ring' and `regexp-search-ring'.
9446 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9448 * simple.el (line-move): Force movement by logical lines for any
9449 hscrolled window, not only when auto-hscroll-mode is on.
9450 (line-move-visual): Update doc string to that effect. (Bug#10076)
9452 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9454 * language/european.el (macintosh): Define as alias for mac-roman.
9456 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9458 * mail/rmailmm.el (rmail-mime-display-header)
9459 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9460 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9461 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9462 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9463 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9465 (rmail-mime-entity-segment): To get past the tagline, move forward
9466 2 more lines, to account for the 2 empty lines that precede and
9467 follow the line with the buttons.
9468 (rmail-mime-update-tagline): Move one more line, to get past the
9469 empty line that follows the buttons in the tagline. (Bug#9520)
9471 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9473 * window.el (window-max-delta-1, window-min-delta-1)
9474 (window-min-size-1, window-state-get-1, window-state-put-1)
9475 (window-state-put-2): Use "window--" prefix.
9477 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9480 (smie-warning-count): New var.
9481 (smie-set-prec2tab): Use it.
9482 (smie-bnf->prec2): Improve warnings. Add docstring.
9483 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9484 (smie-bnf--set-class): New function.
9485 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9488 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9489 (compilation-error-properties, compilation-move-to-column):
9490 Handle compilation-first-column while in the target buffer.
9492 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9493 Don't hardcode point-min==1.
9495 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9496 (eshell-rewrite-for-command): Remove workaround.
9497 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9498 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9499 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9501 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9503 2011-11-17 Glenn Morris <rgm@gnu.org>
9505 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9506 Ignore buffer-local generated-autoload-file if it is the same
9507 as the global value. (Bug#10049)
9509 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9511 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9512 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9513 (reftex-toc-previous-heading, reftex-toc-max-level)
9514 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9515 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9516 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9517 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9518 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9519 (reftex-toc-rename-label, reftex-toc-visit-location)
9520 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9521 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9522 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9523 leaving "*toc*" only for references to the buffer.
9525 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9527 * window.el (window-resize, delete-window, split-window):
9528 Replace window-splits by window-combination-resize.
9529 * cus-start.el (window-splits): Replace by window-combination-resize.
9531 2011-11-17 Glenn Morris <rgm@gnu.org>
9533 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9534 Make bash entry derive from sh entry, not shell entry.
9536 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9538 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9541 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9543 * menu-bar.el (menu-bar-file-menu):
9544 * printing.el (pr-ps-utility):
9545 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9546 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9547 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9548 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9549 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9550 (icalendar--convert-cyclic-to-ical)
9551 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9552 (icalendar--convert-ical-to-diary)
9553 (icalendar--convert-recurring-to-diary)
9554 (icalendar--convert-non-recurring-all-day-to-diary)
9555 (icalendar-import-format-sample):
9556 * progmodes/idlw-shell.el (idlwave-shell-mode):
9557 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9558 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9559 (vhdl-ps-print-init): Fix typos.
9561 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9563 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9564 FSF and collapse date sequence, obscure author/maintainer email address
9565 better, remove extra version line, track relocation of author's webpage.
9567 * progmodes/python.el (python-pdbtrack-input-prompt)
9568 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9569 regular python pdb prompts. Adjustments shamelessly taken exactly as
9570 suggested in EmacsWiki page (tiny change):
9571 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9573 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9575 * expand.el (expand-pos, expand-index, expand-point):
9576 Remove redundant info from docstring.
9577 (expand-add-abbrevs): Doc fix.
9578 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9579 (expand-sample-perl-mode-expand-list): Fix typos.
9581 * net/dbus.el (dbus-event-member-name):
9582 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9583 * term/pc-win.el (msdos-create-frame-with-faces):
9584 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9586 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9588 * window.el (split-window, window-state-get-1)
9589 (window-state-put-1, window-state-put-2): Rename occurrences of
9590 window-nest to window-combination-limit.
9591 * cus-start.el (window-nest): Rename to window-combination-limit.
9593 2011-11-16 Chong Yidong <cyd@gnu.org>
9595 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9598 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9601 `completing-read' will remove *Completions* and will preserve
9602 current-buffer for us.
9603 (tmm-add-prompt): Users of *Completions* will always (re)set its
9605 (tmm-old-comp-map): Remove.
9607 2011-11-16 Glenn Morris <rgm@gnu.org>
9609 * mail/rmailedit.el: Require rmailmm when compiling.
9610 (rmail-old-mime-state): New declaration.
9611 (rmail-edit-current-message): If editing a mime message,
9612 edit the "raw" message from the mbox buffer.
9613 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9615 2011-11-15 Glenn Morris <rgm@gnu.org>
9617 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9618 which wasn't being used. Add optional arg to force given state.
9619 (rmail-mime): Add optional arg to force given state.
9621 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9623 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9624 * frame.el (display-mm-dimensions-alist):
9625 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9626 (outline-move-subtree-down):
9627 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9628 (newsticker--treeview-do-get-node):
9629 * net/quickurl.el (quickurl-list-buffer-name):
9630 * progmodes/dcl-mode.el (dcl-mode):
9631 * progmodes/gdb-mi.el (gdb-mapcar*):
9632 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9634 2011-11-15 Glenn Morris <rgm@gnu.org>
9636 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9637 in a boolean sense, so just make it a boolean, and fix the doc.
9638 (rmail-show-mime-function, rmail-mime-feature)
9639 (rmail-require-mime-maybe): Doc fixes.
9640 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9642 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9644 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9646 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9647 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9648 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9649 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9651 2011-11-15 Glenn Morris <rgm@gnu.org>
9653 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9654 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9655 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9656 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9657 (rmail-mime, rmail-show-mime): Doc fixes.
9659 * term/ns-win.el (mode-line-frame-identification):
9660 Leave it alone. (Bug#10051)
9662 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9664 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9665 Handle empty buffers. (Bug#9978)
9667 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9669 * international/mule.el (define-charset):
9670 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9671 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9672 * progmodes/verilog-mode.el (verilog-backward-token):
9673 * textmodes/ispell.el (lookup-words):
9674 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9676 2011-11-14 Glenn Morris <rgm@gnu.org>
9678 * progmodes/executable.el
9679 (executable-make-buffer-file-executable-if-script-p):
9680 Handle file-modes returning nil.
9682 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9683 message - not necessary, and causes problems. (Bug#9831)
9685 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9687 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9689 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9690 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9691 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9693 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9695 * window.el (window-resize, delete-window): Use window-splits
9696 variable instead of function.
9697 (window-state-get-1, window-state-put-2, window-state-put):
9698 Don't deal with windows' splits status.
9700 2011-11-12 Glenn Morris <rgm@gnu.org>
9702 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9703 (apropos-documentation): Doc fixes.
9705 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9707 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9708 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9710 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * electric.el (electric-indent-post-self-insert-function): Make it
9713 possible for a char to only indent in some circumstances.
9714 (electric-indent-mode): Simplify.
9716 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9718 * window.el (windows-with-parameter): Remove unused function.
9719 (windows-at-side): Rename to window-at-side-list.
9720 (window-check, window-atom-check, window-atom-check-1)
9721 (window-side-check, window-size-ignore, window-size-fixed-1)
9722 (window-in-direction-2): Prefix with "window--".
9723 (window-tree-1): Rename to window--subtree, fix doc-string.
9725 2011-11-11 Glenn Morris <rgm@gnu.org>
9727 * subr.el (eval-after-load): If FILE is already loaded,
9728 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9730 2011-11-10 Glenn Morris <rgm@gnu.org>
9732 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9733 Call svn via vc-svn-command rather than vc-do-command.
9734 (vc-svn-command): Add --non-interactive. (Bug#9993)
9735 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9737 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9738 Add toggle-read-only. (Bug#7292)
9739 * files.el (toggle-read-only): Mention that it should only
9740 be used interactively. (Bug#10006)
9742 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9745 Adjust regexp for OCaml warnings.
9747 * electric.el (electric-pair-post-self-insert-function): Let user
9748 turn it off buffer-locally (bug#9932).
9750 * progmodes/python.el (python-beginning-of-statement):
9753 * progmodes/compile.el: Better handle TABs (bug#9749).
9754 (compilation-internal-error-properties)
9755 (compilation-next-error-function): Obey the target buffer's
9756 compilation-error-screen-columns.
9758 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9760 * progmodes/meta-mode.el: Remove obsolete comments.
9761 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9762 Fix typos in docstrings.
9764 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9766 * window.el (window-size-fixed-p): Rewrite doc-string.
9767 (window-resizable-p): Rename to window--resizable-p. Update callers.
9768 (window--resizable): New function. Make all callers of
9769 window-resizable call window--resizable instead.
9770 (window-resizable): Rewrite in terms of window--resizable.
9772 2011-11-08 Glenn Morris <rgm@gnu.org>
9774 * progmodes/delphi.el (delphi-mode-syntax-table):
9775 Let define-derived-mode define a proper syntax table. (Bug#9994)
9777 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * window.el: Stay away from defsubst.
9780 (window-list-no-nils): Remove.
9781 (window-state-get-1, window-state-get): Use backquote instead.
9783 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9785 * emacs-lisp/find-func.el (find-function-read):
9786 Fix incorrect use of default argument in `completing-read'.
9788 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9790 * window.el (display-buffer-function, special-display-function):
9791 Mention display-buffer-record-window but do not mention
9792 help-setup parameter in doc-strings.
9793 (window-min-delta): Fix doc-string typo.
9795 2011-11-08 Chong Yidong <cyd@gnu.org>
9797 * window.el (window-total-height, window-total-width): Doc fix.
9798 (window-body-size): Move from C.
9799 (window-body-height, window-body-width): Move to C.
9801 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9803 * window.el: Make special-display like display-buffer-alist (bug#9532).
9804 (display-buffer--special-action): New function, morphed
9805 from display-buffer--special.
9806 (display-buffer): Use it to handle special-display-buffers at higher
9807 priority (just after display-buffer-alist).
9808 (display-buffer-fallback-action, display-buffer--other-frame-action)
9809 (pop-to-buffer-same-window): Remove display-buffer--special.
9811 2011-11-07 Glenn Morris <rgm@gnu.org>
9813 * calendar/cal-menu.el (cal-menu-set-date-title):
9814 Do nothing if not in a calendar. (Bug#9976)
9816 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * files.el (find-file): Always use selected-window.
9820 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9822 * window.el (window-combinations): Make WINDOW argument
9823 mandatory. Rewrite doc-string.
9824 (walk-window-subtree, window-atom-check, window-min-delta)
9825 (window-max-delta, window--resize-this-window)
9826 (window--resize-root-window-vertically, window-tree)
9827 (balance-windows, window-state-put): Rewrite doc-strings as to
9828 not mention the term "subwindow".
9829 (window--resize-subwindows-skip-p): Rename to
9830 window--resize-child-windows-skip-p.
9831 (window--resize-subwindows-normal): Rename to
9832 window--resize-child-windows-normal.
9833 (window--resize-subwindows): Rename to
9834 window--resize-child-windows.
9835 (window-or-subwindow-p): Rename to window--in-subtree-p.
9837 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9839 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9840 Ensure that mbox format messages end in two newlines (Bug#9974).
9842 2011-11-06 Chong Yidong <cyd@gnu.org>
9844 * window.el (window-combination-p): Function deleted; its
9845 side-effect is not used in any existing code.
9846 (window-combinations, window-combined-p): Call window-*-child
9849 2011-11-05 Chong Yidong <cyd@gnu.org>
9851 * window.el (window-valid-p): Rename from window-any-p.
9852 (window-size-ignore, window-state-get): Callers changed.
9853 (window-normalize-window): Rename from window-normalize-any-window.
9854 New arg LIVE-ONLY, replacing window-normalize-live-window.
9855 (window-normalize-live-window): Delete.
9856 (window-combination-p, window-combined-p, window-combinations)
9857 (walk-window-subtree, window-atom-root, window-min-size)
9858 (window-sizable, window-sizable-p, window-size-fixed-p)
9859 (window-min-delta, window-max-delta, window-resizable)
9860 (window-resizable-p, window-full-height-p, window-full-width-p)
9861 (window-current-scroll-bars, window-point-1, set-window-point-1)
9862 (window-at-side-p, window-in-direction, window-resize)
9863 (adjust-window-trailing-edge, maximize-window, minimize-window)
9864 (window-deletable-p, delete-window, delete-other-windows)
9865 (record-window-buffer, unrecord-window-buffer)
9866 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9867 (quit-window, split-window, window-state-put)
9868 (set-window-text-height, fit-window-to-buffer)
9869 (shrink-window-if-larger-than-buffer): Callers changed.
9871 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9873 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9874 rfc2047-decode-string.
9875 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9878 * window.el (window-body-height, window-body-width): Mention in
9879 the doc string that the return values are in frame's canonical
9882 2011-11-03 Alan Mackenzie <acm@muc.de>
9884 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9885 change in cc-engine.el.
9887 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9891 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9893 * window.el (quit-window): Call unrecord-window-buffer after
9894 showing another buffer in the window. (Bug#9937)
9895 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9897 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9899 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9900 Accept status with more than 9 shelves. (Bug#9935)
9901 Reported by Colin D Bennett <colin@gibibit.com>.
9903 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9905 * help.el (with-help-window): Don't reference
9906 temp-buffer-show-specifiers in doc-string.
9908 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9910 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9913 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9915 * whitespace.el: New version 13.2.2.
9916 (whitespace-newline-mode): Disable properly. Reported by Sarah
9919 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9921 * net/newst-treeview.el: Remove "Time-stamp".
9922 (newsticker--group-manage-orphan-feeds): Do not call
9923 newsticker--treeview-tree-update.
9924 (newsticker-treeview-update, newsticker-treeview):
9925 Call newsticker--treeview-tree-update if necessary.
9927 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9929 * window.el (window-iso-combination-p, window-iso-combined-p)
9930 (window-iso-combinations): Remove "iso-" infix.
9931 Suggested by Chong Yidong.
9932 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9933 (window-max-delta-1, window-resize, window--resize-siblings)
9934 (window--resize-this-window, adjust-window-trailing-edge)
9935 (split-window, balance-windows-1)
9936 (shrink-window-if-larger-than-buffer):
9937 * calendar/calendar.el (calendar-generate-window):
9938 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9940 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9943 in place (bug#9907).
9944 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9945 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9946 (eshell-structure-basic-command, eshell-rewrite-while-command)
9947 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9948 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9949 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9950 (eshell-do-pipelines-synchronously, eshell-eval-command):
9951 Use backquotes and prefer setq to set.
9952 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9953 (eshell-macrop): Use functionp.
9954 (eshell-do-eval): Handle multiple expressions in `while' body.
9956 2011-10-30 Chong Yidong <cyd@gnu.org>
9958 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9959 instead of set-mark (Bug#9810).
9961 2011-10-30 Chong Yidong <cyd@gnu.org>
9963 * window.el (split-window-below, split-window-right): Rename from
9964 split-window-above-each-other and split-window-side-by-side
9965 respectively. All callers changed.
9966 (split-window-sensibly, split-window-sensibly): Use them.
9967 (split-window-keep-point): Doc fix.
9969 * isearch.el: Add isearch-scroll property to split-window-below
9970 and split-window-right.
9972 * follow.el (follow-mode):
9973 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9974 * progmodes/ada-xref.el (ada-gdb-application):
9975 * emulation/vip.el (vip-buffer-in-two-windows):
9976 * image-dired.el (image-dired-dired-with-window-configuration):
9977 * dired-x.el (dired-do-find-marked-files):
9978 * dired.el (dired-pop-to-buffer):
9979 * bs.el (bs--show-with-configuration):
9980 * vc/emerge.el (emerge-setup-windows):
9981 * textmodes/two-column.el (2C-two-columns):
9982 * textmodes/reftex-toc.el (reftex-toc):
9983 * progmodes/gdb-mi.el (gdb-setup-windows):
9984 * progmodes/fortran.el (fortran-window-create):
9985 * net/newst-treeview.el (newsticker--treeview-window-init):
9986 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9987 * emulation/tpu-edt.el (tpu-gold-map):
9988 * emulation/crisp.el (crisp-mode-map):
9989 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9991 2011-10-29 Chong Yidong <cyd@gnu.org>
9993 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9995 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9997 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9998 forged Ispell output (Bug#7904).
10000 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10002 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10004 * doc-view.el: Avoid ugly errors about not finding nil.
10005 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10006 (doc-view-dvipdf-program, doc-view-unoconv-program)
10007 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10008 Avoid nil or absolute file name as default value.
10009 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10011 2011-10-28 Alan Mackenzie <acm@muc.de>
10013 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10015 2011-10-28 Alan Mackenzie <acm@muc.de>
10017 Amend the handling of c-beginning/end-of-defun in nested declaration
10020 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10021 cc-langs.el. Change it to a defcustom.
10023 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10026 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10027 Prevent "class foo : bar" being spuriously recognized as a label.
10029 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10030 Add parameter `inclusive' (to include enclosing braces in the region).
10031 (c-widen-to-enclosing-decl-scope): New function.
10032 (c-while-widening-to-decl-block): New macro.
10033 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10034 outward for defun boundaries, and correspondingly change symbol
10035 `respect-enclosure' to `go-outward'.
10036 (c-declaration-limits): Change algorithm to report only the "innermost"
10037 defun's boundaries.
10039 2011-10-28 Deniz Dogan <deniz@dogan.se>
10041 * net/rcirc.el (rcirc-mode): Use hard newlines.
10043 2011-10-28 Alan Mackenzie <acm@muc.de>
10045 Amend to indent and fontify macros "which include their own semicolon"
10046 correctly, using the "virtual semicolon" mechanism.
10048 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10050 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10051 Recode to scan one line at a time rather than having \n and \r
10052 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10053 (c-forward-label): Amend for virtual semicolons.
10054 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10056 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10057 of the new C macros.
10059 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10060 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10061 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10062 (c-opt-cpp-macro-define): Make into a full language variable.
10063 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10064 AWK Mode (including \n, \r) removed, no longer needed.
10066 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10067 Invoke c-make-macro-with-semi-re.
10069 * progmodes/cc-vars.el (c-macro-with-semi-re):
10070 (c-macro-names-with-semicolon): New variables.
10071 (c-make-macro-with-semi-re): New function.
10073 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10075 * vc/log-edit.el: Fill empty field rather than adding new one.
10076 (log-edit-add-field): New function.
10077 (log-edit-insert-changelog): Use it.
10079 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10081 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10083 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10086 (gdb--check-interpreter): New function.
10089 2011-10-27 Glenn Morris <rgm@gnu.org>
10091 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10092 (least-positive-float, least-negative-float)
10093 (least-positive-normalized-float, least-negative-normalized-float)
10094 (float-epsilon, float-negative-epsilon):
10095 Remove unnecessary declarations.
10097 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10098 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10099 (least-positive-float, least-negative-float)
10100 (least-positive-normalized-float, least-negative-normalized-float)
10101 (float-epsilon, float-negative-epsilon): Add doc-strings,
10102 based on those in cl.texi.
10104 * files.el (set-visited-file-name): If the major-mode changed,
10105 reload the local variables. (Bug#9796)
10107 2011-10-27 Chong Yidong <cyd@gnu.org>
10109 * subr.el (change-major-mode-after-body-hook): New hook.
10110 (run-mode-hooks): Run it.
10112 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10113 Use change-major-mode-before-body-hook.
10115 * simple.el (fundamental-mode):
10116 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10117 change introducing fundamental-mode-hook.
10119 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10121 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10123 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10125 * ido.el (ido-file-name-all-completions-1): Do not require
10126 tramp.el explicitly. (Bug#7583)
10128 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10130 * progmodes/octave-mod.el:
10131 * progmodes/octave-inf.el: Update maintainer.
10133 2011-10-26 Chong Yidong <cyd@gnu.org>
10135 * subr.el (with-wrapper-hook): Rewrite doc.
10137 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10139 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10140 filenames "/method:foo:". (Bug#9793)
10142 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10147 2011-10-24 Glenn Morris <rgm@gnu.org>
10149 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10151 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10153 * notifications.el: Add the requirement of a running D-Bus session
10154 bus to the Commentary.
10156 2011-10-24 Juri Linkov <juri@jurta.org>
10158 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10159 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10162 2011-10-24 Juri Linkov <juri@jurta.org>
10164 * info.el (Info-following-node-name-re): Add newline to the list
10165 of allowed characters for leading space. (Bug#9824)
10167 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10169 * progmodes/octave-inf.el (inferior-octave-mode-map):
10170 Fix C-c C-h binding.
10171 * progmodes/octave-mod.el (octave-help): Remove.
10173 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10175 Sync with Tramp 2.2.3.
10177 * net/tramp-cache.el (top): Pacify byte-compiler using
10178 `init-file-user' and `site-run-file'.
10180 * net/trampver.el: Update release number.
10182 2011-10-23 Chong Yidong <cyd@gnu.org>
10184 * files.el (toggle-read-only): Remove obsolete comment about
10187 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10188 for toggle-read-only. Note that this hasn't called vc-next-action
10189 since 2008-05-02, though it wasn't documented at the time.
10191 * vc/ediff-init.el (ediff-toggle-read-only-function):
10192 Use toggle-read-only.
10194 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10196 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10199 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10200 correct faulty logical expression.
10201 (c-parse-state-state, c-record-parse-state-state):
10202 (c-replay-parse-state-state): New defvar/defuns.
10203 (c-debug-parse-state): Use new functions.
10205 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10207 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10208 last fix. Use window-in-direction correctly.
10210 2011-10-21 Chong Yidong <cyd@gnu.org>
10212 * progmodes/idlwave.el (idlwave-mode):
10213 * progmodes/vera-mode.el (vera-mode): No need to set
10214 require-final-newline; that's done in prog-mode.
10215 Suggested by Stefan Monnier.
10217 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10219 * mouse.el (mouse-drag-window-above)
10220 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10221 (mouse-drag-mode-line-1, mouse-drag-header-line)
10222 (mouse-drag-vertical-line-rightward-window): Remove.
10223 (mouse-drag-line): New function.
10224 (mouse-drag-mode-line, mouse-drag-header-line)
10225 (mouse-drag-vertical-line): Call mouse-drag-line.
10226 * window.el (window-at-side-p, windows-at-side): New functions.
10228 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10230 * tar-mode.el (tar-grind-file-mode):
10231 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10233 2011-10-21 Chong Yidong <cyd@gnu.org>
10235 * progmodes/idlwave.el (idlwave-mode):
10236 * progmodes/vera-mode.el (vera-mode):
10237 Use mode-require-final-newline.
10239 2011-10-20 Glenn Morris <rgm@gnu.org>
10241 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10243 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10245 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10247 2011-10-20 Chong Yidong <cyd@gnu.org>
10249 * emulation/cua-base.el (cua-mode):
10250 * mail/footnote.el (footnote-mode):
10251 * mail/mailabbrev.el (mail-abbrevs-mode):
10252 * net/xesam.el (xesam-minor-mode):
10253 * progmodes/bug-reference.el (bug-reference-mode):
10254 * progmodes/cap-words.el (capitalized-words-mode):
10255 * progmodes/compile.el (compilation-minor-mode)
10256 (compilation-shell-minor-mode):
10257 * progmodes/gud.el (gud-tooltip-mode):
10258 * progmodes/hideif.el (hide-ifdef-mode):
10259 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10260 * progmodes/subword.el (subword-mode):
10261 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10262 * progmodes/which-func.el (which-function-mode):
10263 * term/tvi970.el (tvi970-set-keypad-mode):
10264 * term/vt100.el (vt100-wide-mode):
10265 * textmodes/flyspell.el (flyspell-mode):
10266 * textmodes/ispell.el (ispell-minor-mode):
10267 * textmodes/nroff-mode.el (nroff-electric-mode):
10268 * textmodes/paragraphs.el (use-hard-newlines):
10269 * textmodes/refill.el (refill-mode):
10270 * textmodes/reftex.el (reftex-mode):
10271 * textmodes/rst.el (rst-minor-mode):
10272 * textmodes/sgml-mode.el (html-autoview-mode)
10273 (sgml-electric-tag-pair-mode):
10274 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10275 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10276 * emulation/crisp.el (crisp-mode):
10277 * emacs-lisp/eldoc.el (eldoc-mode):
10278 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10279 minor mode behavior.
10281 2011-10-19 Juri Linkov <juri@jurta.org>
10283 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10284 the list of hard-coded chars with escape-glyph face.
10286 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10288 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10290 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10292 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10295 2011-10-19 Glenn Morris <rgm@gnu.org>
10297 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10298 Ignore ignored files. (Bug#9726)
10300 2011-10-19 Chong Yidong <cyd@gnu.org>
10302 Doc fix for minor modes, stating that an omitted argument enables
10303 the mode unconditionally when called from Lisp.
10305 * abbrev.el (abbrev-mode):
10306 * allout.el (allout-mode):
10307 * autoinsert.el (auto-insert-mode):
10308 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10309 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10310 (global-auto-revert-mode):
10311 * battery.el (display-battery-mode):
10312 * composite.el (global-auto-composition-mode)
10313 (auto-composition-mode):
10314 * delsel.el (delete-selection-mode):
10315 * desktop.el (desktop-save-mode):
10316 * dired-x.el (dired-omit-mode):
10317 * dirtrack.el (dirtrack-mode):
10318 * doc-view.el (doc-view-minor-mode):
10319 * double.el (double-mode):
10320 * electric.el (electric-indent-mode, electric-pair-mode):
10321 * emacs-lock.el (emacs-lock-mode):
10322 * epa-hook.el (auto-encryption-mode):
10323 * follow.el (follow-mode):
10324 * font-core.el (font-lock-mode):
10325 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10326 * help.el (temp-buffer-resize-mode):
10327 * hilit-chg.el (highlight-changes-mode)
10328 (highlight-changes-visible-mode):
10329 * hi-lock.el (hi-lock-mode):
10330 * hl-line.el (hl-line-mode, global-hl-line-mode):
10331 * icomplete.el (icomplete-mode):
10332 * ido.el (ido-everywhere):
10333 * image-file.el (auto-image-file-mode):
10334 * image-mode.el (image-minor-mode):
10335 * iswitchb.el (iswitchb-mode):
10336 * jka-cmpr-hook.el (auto-compression-mode):
10337 * linum.el (linum-mode):
10338 * longlines.el (longlines-mode):
10339 * master.el (master-mode):
10340 * mb-depth.el (minibuffer-depth-indicate-mode):
10341 * menu-bar.el (menu-bar-mode):
10342 * minibuf-eldef.el (minibuffer-electric-default-mode):
10343 * mouse-sel.el (mouse-sel-mode):
10344 * msb.el (msb-mode):
10345 * mwheel.el (mouse-wheel-mode):
10346 * outline.el (outline-minor-mode):
10347 * paren.el (show-paren-mode):
10348 * recentf.el (recentf-mode):
10349 * reveal.el (reveal-mode, global-reveal-mode):
10350 * rfn-eshadow.el (file-name-shadow-mode):
10351 * ruler-mode.el (ruler-mode):
10352 * savehist.el (savehist-mode):
10353 * scroll-all.el (scroll-all-mode):
10354 * scroll-bar.el (scroll-bar-mode):
10355 * server.el (server-mode):
10356 * shell.el (shell-dirtrack-mode):
10357 * simple.el (auto-fill-mode, transient-mark-mode)
10358 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10359 (line-number-mode, column-number-mode, size-indication-mode)
10360 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10361 * strokes.el (strokes-mode):
10362 * time.el (display-time-mode):
10363 * t-mouse.el (gpm-mouse-mode):
10364 * tool-bar.el (tool-bar-mode):
10365 * tooltip.el (tooltip-mode):
10366 * type-break.el (type-break-mode-line-message-mode)
10367 (type-break-query-mode):
10368 * view.el (view-mode):
10369 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10370 (global-whitespace-mode, global-whitespace-newline-mode):
10371 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10373 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10374 Fix autogenerated docstring.
10376 2011-10-19 Juri Linkov <juri@jurta.org>
10378 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10379 by checking environment variables "DESKTOP_SESSION" and
10380 "XDG_CURRENT_DESKTOP". (Bug#9779)
10382 2011-10-19 Juri Linkov <juri@jurta.org>
10384 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10385 (browse-url-chromium-program, browse-url-chromium-arguments):
10387 (browse-url-default-browser): Check for `browse-url-chromium' and
10388 call `browse-url-chromium-program'.
10389 (browse-url-chromium): New command. (Bug#9779)
10391 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10393 * facemenu.el (list-colors-duplicates): On Windows, detect more
10394 duplicates by assuming that only colors matching "^System" are
10395 special "system colors". (Bug#9722)
10397 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10400 to distinguish the author from the committer.
10402 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10404 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10406 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10408 * international/mule.el (sgml-html-meta-auto-coding-function):
10409 Add support for detecting encoding in HTML5 specified only as
10410 <meta charset="UTF-8">. Implementation just makes http-equiv and
10411 content-type parts from HTML4 encoding string optional. (Bug#9716)
10413 2011-10-18 Glenn Morris <rgm@gnu.org>
10415 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10417 2011-10-18 Chong Yidong <cyd@gnu.org>
10419 * faces.el (cursor): Doc fix.
10421 2011-10-17 Chong Yidong <cyd@gnu.org>
10423 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10425 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10427 * dirtrack.el (dirtrack): Support shell buffers with path
10428 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10430 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10432 * json.el: Bump version to 1.3 and note change in History.
10433 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10435 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * comint.el (comint-insert-input, comint-send-input)
10438 (comint-get-old-input-default, comint-backward-matching-input)
10439 (comint-next-prompt): Use nil instead of `input' for field property of
10440 past user input (bug#114).
10442 * minibuffer.el (completion--replace): Inherit surrounding properties
10444 (minibuffer-complete-and-exit): Use it.
10446 * comint.el (comint--table-subvert): Quote the all-completions output
10449 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10451 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10453 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10454 window on right of selected. (Bug#9350) Reword other window
10455 entries and separate them from frame entries.
10457 2011-10-15 Glenn Morris <rgm@gnu.org>
10459 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10462 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10464 * net/network-stream.el (network-stream-open-starttls):
10465 Improve detection of failure due to lack of TLS support.
10467 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10468 putting the input text in front and in bold.
10470 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10474 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10477 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10478 unread-command-events rather than pushing yet-another event.
10480 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10482 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10483 the explanation of the possible choices. Make the options passed
10484 to completing-read shorter.
10486 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
10488 * textmodes/flyspell.el (flyspell-large-region): Make sure
10489 extended character mode is used if defined (Bug#1339).
10491 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10493 * simple.el (what-cursor-position): Fix the display of the
10494 character info for LRE, LRO, RLE, and RLO characters by appending
10497 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10500 even in case of error; add debug spec; simplify data flow.
10501 (with-timeout-handler): Remove.
10503 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10505 Fix Bug#6019, Bug#9315.
10507 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10508 complete `buffer-file-name', the local file name part could look
10509 remotely (for example on VMS).
10511 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10512 `tramp-run-real-handler'.
10513 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10514 already quoted by '"'.
10516 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10517 Let `file-name-handler-alist' be nil, the local file name part
10518 could look remotely (for example on VMS).
10520 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10524 (flyspell-post-command-hook): ...to here.
10526 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10528 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10530 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10531 using completion. Protect against "slow" callers.
10532 Remove the "message hack".
10534 2011-10-11 Juri Linkov <juri@jurta.org>
10536 * isearch.el (isearch-lazy-highlight-word): New variable.
10537 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10540 2011-10-11 Glenn Morris <rgm@gnu.org>
10542 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10543 like f90-previous-statement does.
10545 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10547 * eshell/eshell.el (eshell-command): History should be saved
10548 only in interactive use, to avoid error.
10550 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10552 * minibuffer.el (completion-file-name-table): Fix last change,
10553 i.e. ignore normal errors but not the other ones.
10555 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10557 * window.el (special-display-buffer-names)
10558 (special-display-regexps): Remove some remnants of earlier
10559 changes from doc-strings.
10560 (quit-windows-on): New function.
10562 * vc/vc.el (vc-revert, vc-rollback):
10563 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10564 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10565 (Bug#6183) (Bug#7074) (Bug#7447)
10567 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10569 * window.el (frame-auto-hide-function): Add version tag.
10572 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10574 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10577 2011-10-09 Leo Liu <sdl.web@gmail.com>
10579 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10582 2011-10-08 Glenn Morris <rgm@gnu.org>
10584 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10585 before the first code statement zero indent. (Bug#9690)
10587 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10589 * simple.el (count-words-region): Always count in the region.
10590 Report the number of lines and characters too.
10591 (count-words): New command, which counts in the buffer if the
10592 region is inactive, as count-words-region used to.
10593 (count-words--message): New function. Handle plurals.
10594 (count-lines-region): Make it an alias for count-words-region.
10596 * bindings.el (esc-map): Replace count-lines-region with
10597 count-words-region.
10599 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10601 * window.el (window--delete): Delete dedicated frame
10602 unconditionally when argument KILL is non-nil. (Bug#9699)
10603 (switch-to-buffer): Fix doc-string typo.
10605 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10607 * eshell/eshell.el (eshell-command): Avoid using hooks.
10609 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10611 * bindings.el ([M-left],[M-right]): Bind to left-word and
10612 right-word respectively.
10614 2011-10-07 Glenn Morris <rgm@gnu.org>
10616 * cus-start.el (debug-on-quit): Fix custom type.
10618 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10620 * subr.el (define-key-after): Clarify that the function is not
10621 useful for non-menu keymaps.
10623 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10625 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10627 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10628 in current minibuffer (Fix bug with recursive minibuffers).
10630 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10632 * progmodes/gdb-mi.el (gdb): Doc fix.
10634 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10636 * window.el (frame-auto-hide-function): New option replacing
10637 frame-auto-delete. Suggested by Stefan Monnier.
10638 (window--delete): Call frame-auto-hide-function instead of
10639 investigating frame-auto-delete.
10640 (window-point-1, set-window-point-1): New functions.
10641 (window-in-direction, record-window-buffer, window-state-get-1)
10642 (display-buffer-record-window): Use window-point-1 instead of
10644 (set-window-buffer-start-and-point): Use set-window-point-1.
10646 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10650 2011-10-05 Glenn Morris <rgm@gnu.org>
10652 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10653 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10655 2011-10-05 Leo Liu <sdl.web@gmail.com>
10657 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10658 works with buffer object.
10660 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10662 * mpc.el (mpc-tool-bar-map): Add labels.
10664 2011-10-04 Glenn Morris <rgm@gnu.org>
10666 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10668 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10670 * window.el (window--delete): New function.
10671 (frame-auto-delete): Resuscitate option.
10672 (bury-buffer, replace-buffer-in-windows)
10673 (quit-window): Rewrite using window--delete.
10674 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10675 Pass display-buffer-mark-dedicated to window--display-buffer-2
10678 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10681 returns a list (bug#9554). Add remote file name completion.
10682 * comint.el (comint--table-subvert): Curry and get quote&unquote
10683 functions as arguments.
10684 (comint--complete-file-name-data): Adjust call accordingly.
10685 * pcomplete.el (pcomplete--table-subvert): Remove.
10686 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10688 * minibuffer.el (completion-table-case-fold): Use currying.
10689 (completion--styles-type, completion--cycling-threshold-type):
10691 (completion-styles, completion-category-overrides)
10692 (completion-cycle-threshold): Use them.
10693 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10694 completion-table-case-fold.
10696 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10698 * minibuffer.el (completion-category-overrides): Fix type of styles
10699 and add more user friendly tags (bug#9660).
10701 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10704 (mule-input-method-string): New widget.
10705 (default-input-method, language-info-custom-alist): Use it.
10707 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10709 * pcomplete.el: Require comint.
10710 (pcomplete--common-suffix): Remove.
10711 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10712 (pcomplete--table-subvert): Sync with comint--table-subvert.
10713 (pcomplete--entries): Use comint-completion-file-name-table.
10714 * comint.el (comint-unquote-filename): Simplify.
10715 (comint-completion-file-name-table): New function (bug#9616).
10716 (comint--complete-file-name-data): Use it.
10718 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10719 (pcmpl-gnu-tar-buffer): Remove.
10720 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10721 around. Make sure pcomplete-suffix-list is only changed temporarily.
10722 Don't look inside the tar's file if it's too large.
10724 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10726 * cus-edit.el (custom-mode-map):
10727 * epa.el (epa-key-list-mode-map):
10728 * man.el (Man-mode-map):
10729 * startup.el (splash-screen-keymap):
10730 * simple.el (special-mode-map): Use scroll-up-command and
10731 scroll-down-command.
10733 * progmodes/idlw-help.el (idlwave-help-mode-map):
10734 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10735 * net/newst-plainview.el (newsticker-mode-map):
10736 * emulation/ws-mode.el (wordstar-mode-map):
10737 * emulation/vi.el (vi-com-map):
10738 * calc/calc-graph.el (calc-graph-show-dumb):
10739 * term/sun.el (terminal-init-sun):
10740 * term/ns-win.el (global-map):
10741 * progmodes/grep.el (grep-mode-map):
10742 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10743 * mail/rmail.el (rmail-mode-map):
10744 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10746 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10747 custom-safe-themes as special.
10749 2011-10-01 Julien Danjou <julien@danjou.info>
10751 * notifications.el (notifications-notify): Fix docstring.
10753 2011-10-01 Per Starbäck <per@starback.se>
10755 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10757 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10759 * startup.el (command-line-1): Fix last fix by inserting
10760 initial-scratch-message into *scratch* before displaying it.
10761 (Bug#9605) and (Bug#9636)
10763 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10765 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10766 window is hscrolled, move by logical lines. (Bug#9607)
10767 (line-move-visual): Update the doc string to the above effect.
10769 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10771 * window.el (display-buffer-record-window): When WINDOW is the
10772 selected window use `point' instead of `window-point'. (Bug#9626)
10774 * startup.el (command-line-1): Use insert-before-markers when
10775 inserting initial-scratch-message. (Bug#9605)
10777 * help.el (help-window): Remove variable.
10779 2011-09-29 Glenn Morris <rgm@gnu.org>
10781 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10783 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10785 * descr-text.el (describe-char-categories): Accept category
10786 descriptions more than one line long.
10788 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10790 * simple.el (delete-trailing-whitespace): Fix last change.
10792 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10793 Don't confuse "y => 3" as the beginning of a `y' operation.
10795 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10796 object has more than 4 slots (bug#9613).
10798 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10800 * subr.el (with-output-to-temp-buffer):
10801 * net/quickurl.el (quickurl, quickurl-browse-url):
10802 Fix typos in docstrings.
10804 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10806 * minibuffer.el (completion-styles)
10807 (completion-category-overrides): Cross reference each other in doc
10810 2011-09-27 Glenn Morris <rgm@gnu.org>
10812 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10813 to split-string. (Bug#9606)
10815 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10817 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10820 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10822 * emacs-lisp/package.el (list-packages): Fix echo area message.
10824 2011-09-27 Leo Liu <sdl.web@gmail.com>
10826 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10828 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10830 * net/dbus.el (dbus-unregister-object): Don't release services for
10831 registered signals. (Bug#9581)
10833 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10835 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10836 function that picks between cfengine 2 and 3 support
10837 automatically. Update docs accordingly.
10839 2011-09-22 Kenichi Handa <handa@m17n.org>
10841 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10843 (indian-itrans-v5-table-for-tamil): New variable.
10844 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10846 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10848 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10849 that's true if the current command involved collapsing of text.
10850 It's reset to false at the beginning of the next command.
10851 (allout-post-command-business): Move the cursor to the beginning
10852 of entry if the cursor is hidden and collapsing activity just
10855 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10857 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10858 tracking (Bug#9541).
10860 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10862 * net/newst-reader.el (newsticker-html-renderer)
10863 (newsticker-show-news): Automatically load html rendering package
10864 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10865 because w3m-fill-column is let-bound" and the error "Symbol's value
10866 as variable is void: w3m-fill-column".
10868 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10870 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10871 Release services only if they are defined. (Bug#9581)
10873 2011-09-23 Richard Stallman <rms@gnu.org>
10875 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10876 distinguish start of paragraph from start of its text.
10878 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10880 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10881 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10882 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10884 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10886 * international/mule-diag.el (mule-diag): Insert a newline after
10887 each fontset description.
10889 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10891 * simple.el (delete-trailing-whitespace):
10892 Document last change; simplify.
10894 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10896 * simple.el (delete-trailing-whitespace): Also delete
10897 extra newlines at the end of the buffer.
10899 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10900 (picture-newline): Use forward-line so as to ignore fields.
10902 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10904 * subr.el (with-wrapper-hook): Fix edebug spec.
10906 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10911 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10913 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10914 Fix nasty bug using wrong cached values.
10916 2011-09-23 Alan Mackenzie <acm@muc.de>
10918 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10920 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10922 * window.el (pop-to-buffer): Ensure right window is selected if we
10923 chose another frame.
10925 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10927 * simple.el (what-cursor-position): Use get-char-property-change
10928 and next-single-char-property-change, to be able to show display
10929 properties that come from overlays as well as text properties.
10931 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10933 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10935 * cmuscheme.el (run-scheme, switch-to-scheme):
10936 * cus-edit.el (customize-group, custom-buffer-create)
10937 (customize-browse):
10939 * shell.el (shell):
10940 * mail/sendmail.el (mail):
10941 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10943 2011-09-22 Richard Stallman <rms@gnu.org>
10945 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10946 move back only to line beg, don't move back over blank lines.
10948 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10950 * files.el (copy-directory): Set directory attributes only in case
10951 they could be retrieved from the source directory. (Bug#9565)
10953 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10955 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10956 (hs-find-block-beginning, hs-hide-level-recursive):
10957 Ignore strings as well as comments. (Bug#9502)
10959 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10961 * progmodes/sql.el (sql-comint-postgres):
10962 Convert port number to a string. (Bug#9566)
10964 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10966 * window.el (quit-window): Undedicate window when switching to
10967 previous buffer. Reported by Thierry Volpiatto
10968 <thierry.volpiatto@gmail.com>.
10969 (special-display-popup-frame): When popping up a new frame reset
10970 its previous buffers to nil. Simplify code.
10972 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10974 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10975 and process filter, as done also in `shell-command'.
10977 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10979 * window.el (set-window-buffer-start-and-point):
10980 Call set-window-start with NOFORCE argument t.
10981 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10982 (quit-window): Reword doc-string. Handle new format of
10983 quit-restore parameter. Don't delete window if it has a
10984 previous buffer we can show instead of the present one.
10985 (display-buffer-record-window): Rewrite using a new format for
10986 the quit-restore window parameter
10987 (special-display-popup-frame, display-buffer-same-window)
10988 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10989 (display-buffer-pop-up-window, display-buffer-use-some-window):
10990 Adapt symbol passed to display-buffer-record-window.
10991 * help.el (help-window-setup): Handle new format of quit-restore
10994 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * faces.el (face-list): Fix docstring (bug#9564).
10998 * window.el (display-buffer--action-function-custom-type):
10999 Don't include internal functions in the Custom interface.
11001 2011-09-20 Juri Linkov <juri@jurta.org>
11003 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11004 (Info-forward-node, Info-backward-node, Info-next-preorder)
11005 (Info-last-preorder): Use it. (Bug#9528)
11007 2011-09-20 Juri Linkov <juri@jurta.org>
11009 * info.el (Info-last-preorder): Visit last menu item only when
11010 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11012 2011-09-20 Julien Danjou <julien@danjou.info>
11014 * password-cache.el (password-cache-remove): Remove entries even if the
11015 value is nil, so that password with a nil value (negative caching) is
11016 possible to invalidate.
11018 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11020 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11021 all whitespace around breakpoint. (Bug#9553)
11022 (f90-find-breakpoint): Only break at whitespace inside a comment.
11024 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * minibuffer.el (completion-file-name-table): Keep track of errors.
11027 (completion-table-with-predicate): Handle the case where pred1 is nil.
11028 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11030 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11033 (debugger-return-value): Signal an error if the debugging context does
11034 not await any return value.
11036 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11037 * image-mode.el (image-toggle-display-text)
11038 (image-toggle-display-image): Stay away from evil `intangible'.
11040 2011-09-19 Leo Liu <sdl.web@gmail.com>
11042 * replace.el (occur-revert-arguments): Make it permanent-local.
11043 (occur-mode): Don't call font-lock-defontify.
11045 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11047 * net/ldap.el (ldap-search-internal): Don't push empty search
11050 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11052 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11054 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11056 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11057 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11059 2011-09-18 Juri Linkov <juri@jurta.org>
11061 * buff-menu.el (Buffer-menu-mode-map):
11062 * dired.el (dired-mode-map):
11063 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11064 (lisp-interaction-mode-map):
11065 * emacs-lisp/package.el (package-menu-mode-map):
11066 * epa.el (epa-key-list-mode-map):
11067 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11068 (menu-bar-options-menu):
11069 * outline.el (outline-mode-menu-bar-map):
11070 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11071 * vc/vc-dir.el (vc-dir-menu-map):
11072 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11073 Capitalize non-function content words in menu item strings.
11075 * dired.el (dired-mode-map): Add menu item for
11076 `image-dired-dired-toggle-marked-thumbs'.
11078 2011-09-18 Juri Linkov <juri@jurta.org>
11080 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11081 to `isearch-case-fold-search' and restore its original value
11082 after the `isearch-mode' call.
11084 2011-09-18 Juri Linkov <juri@jurta.org>
11086 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11087 because `zgrep' returns 1 for successful matches (bug#9226).
11089 2011-09-18 Juri Linkov <juri@jurta.org>
11091 * info.el (Info-extract-menu-node-name): Check the second match
11092 for empty string (second test-case of bug#9528).
11093 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11094 intermediate nodes to the history (first test-case of bug#9528).
11096 2011-09-18 Juri Linkov <juri@jurta.org>
11098 * info.el (Info-mode-syntax-table): New variable.
11099 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11101 2011-09-18 Juri Linkov <juri@jurta.org>
11103 * info.el (Info-file-supports-index-cookies):
11104 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11105 outputs one more line for long file names (bug#4142).
11107 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11109 * newcomment.el (comment-normalize-vars): If prompting for
11110 comment-start, set comment-start-skip too (Bug#8424).
11112 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11114 * icomplete.el: Fix previous fix of Bug#5849.
11115 (icomplete-mode): Don't set completion-show-inline-help.
11116 (icomplete-minibuffer-setup): Set completion-show-inline-help
11117 locally during icompletion.
11119 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11121 * woman.el (woman2-process-escapes): Don't delete unrecognized
11122 escapes (Bug#7843).
11124 * files.el (inhibit-first-line-modes-regexps): Add image files.
11125 (hack-local-variables-prop-line): Return nil for malformed
11126 prop-lines (Bug#9044).
11128 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11130 * net/tramp.el (top): Don't require 'shell.
11131 (tramp-methods): Fix docstring.
11132 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11133 Return complete remote file name. Handle "smb" case.
11134 Use `tramp-tmpdir', if defined for the respective method.
11135 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11137 * net/tramp-compat.el (top): Require 'shell.
11139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11140 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11141 `tramp-current-host'.
11142 (tramp-get-remote-tmpdir): Remove.
11144 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11145 `tramp-tmpdir' entries.
11146 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11147 (tramp-smb-handle-file-attributes): Ignore errors.
11148 (tramp-smb-wait-for-output): Check also for process end.
11150 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11152 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11153 when sending QUIT (bug#9312).
11155 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11157 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11158 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11159 occur-mode-display-occurrence.
11160 (occur-edit-mode): Add usage message.
11161 (occur-cease-edit): New command.
11162 (occur-after-change-function): Use text properties to find the
11163 position of the prefix text.
11164 (occur-engine): Set stickiness of prefix text properties.
11166 2011-09-17 Glenn Morris <rgm@gnu.org>
11168 * progmodes/etags.el (complete-tag):
11169 Fix call to completion-in-region. (Bug#9526)
11171 2011-09-17 Juri Linkov <juri@jurta.org>
11173 * textmodes/ispell.el (ispell-word): Add to the error message
11174 the word, ispell program name and current dictionary (bug#9121).
11175 (ispell-tex-arg-end): Capitalize "error" in the error message.
11177 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11179 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11182 2011-09-17 Juri Linkov <juri@jurta.org>
11184 * window.el (window-safe-min-height, window-safe-min-width):
11185 Fix typos (followup to bug#9522).
11187 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11189 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11191 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11193 * simple.el (line-move): If goal-column is set, move by logical
11194 lines, not by display lines. (Bug#971)
11195 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11196 to reflect the above change.
11198 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11200 * image.el (imagemagick-register-types): Use regexp-opt.
11202 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11204 * window.el (display-buffer-base-action): Rename from
11205 display-buffer-default-action. Make default value empty.
11206 (display-buffer-overriding-action): Convert to defvar.
11207 (display-buffer-fallback-action): New var.
11209 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11211 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11213 (package--add-to-archive-contents): If there is a duplicate entry
11214 with an older version, remove it.
11215 (package-menu-mark-delete, package-menu-mark-install)
11216 (package-menu-mark-unmark): Make unused args optional.
11217 (package-menu-mark-obsolete-for-deletion):
11218 Use package-menu-get-status instead of a regexp search.
11219 (package-menu-get-status): Use tabulated-list-entry.
11220 (package-menu-mark-upgrades): New command.
11221 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11222 (package-menu-execute): Do installation before deletion.
11223 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11224 instead of checking major-mode.
11225 (package-menu--find-upgrades): New function.
11227 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11230 passwords in the log buffer.
11231 (smtpmail-process-filter): Update the process marker so that the
11232 "broken by peer" status message is inserted in the right place.
11234 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11236 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11237 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11238 bibtex-completion-at-point-function.
11239 (bibtex-completion-at-point-function): Use them.
11241 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11243 * mpc.el (mpc-constraints-tag-lookup): New function.
11244 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11245 also to browser "album|playlist".
11247 2011-09-14 Juri Linkov <juri@jurta.org>
11249 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11250 (isearch-edit-string): Use length of `isearch-string' when
11251 `isearch-fail-pos' returns nil.
11252 (isearch-message): Remove duplicate code and call
11253 `isearch-fail-pos' with arg `t'.
11255 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11257 * replace.el (occur-mode-goto-occurrence): Don't force using other
11260 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11262 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11264 * window.el (display-buffer-window): Remove.
11265 (display-buffer-record-window): Use help-setup window parameter
11266 instead of variable display-buffer-window.
11267 (display-buffer-function, special-display-buffer-names)
11268 (special-display-function): Mention help-setup parameter instead
11269 of display-buffer-window in doc-string.
11270 * help.el (help-window-setup): New argument help-window.
11271 Use help-window-setup parameter instead of display-buffer-window.
11272 Reword some messages.
11273 (with-help-window): Pass window used for displaying the buffer
11274 to help-window-setup. Don't set display-buffer-window.
11276 2011-09-13 Glenn Morris <rgm@gnu.org>
11278 * emacs-lisp/debug.el (debugger-make-xrefs):
11279 Preserve point. (Bug#9462)
11281 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11283 * window.el (window-deletable-p): Use next-frame.
11285 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11287 * window.el (window-auto-delete): Remove.
11288 (window-deletable-p): Remove argument FORCE. Don't deal with
11289 dedication and previous buffers.
11290 (switch-to-prev-buffer): Don't delete window.
11291 (delete-windows-on): Delete a window's frame if and only if the
11292 window is dedicated.
11293 (replace-buffer-in-windows): Delete buffer's window or frame if
11294 and only if window is dedicated.
11295 (quit-window): Handle quit-restore as before last change.
11296 (bury-buffer): Delete window only if window-deletable-p returns t.
11298 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11300 * window.el (window-deletable-p): Never delete the last frame on a
11303 2011-09-13 Glenn Morris <rgm@gnu.org>
11305 * help.el (describe-key-briefly): Copy previous standard-output change.
11307 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11309 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11311 2011-09-13 Glenn Morris <rgm@gnu.org>
11313 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11314 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11316 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11318 * dired-aux.el (dired-mark-read-string): Don't return default
11319 value on empty input (Bug#9361).
11320 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11321 Omit initial minibuffer contents.
11322 (dired-do-chmod): Signal an error on empty input.
11323 (dired-mark-read-string): Don't return default on empty input.
11325 * files.el (file-modes-symbolic-to-number): Doc fix.
11327 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * international/mule-cmds.el (ucs-completions): Remove.
11330 (read-char-by-name): Use complete-with-action instead; add metadata.
11332 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11334 * window.el (display-buffer--action-function-custom-type)
11335 (display-buffer--action-custom-type): New vars.
11336 (display-buffer-alist, display-buffer-default-action)
11337 (display-buffer-overriding-action): Add defcustom types.
11339 * frame.el (delete-other-frames): Doc fix (Bug#276).
11341 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11343 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11345 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11347 Change modes that used same-window-* vars to use switch-to-buffer.
11349 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11350 Use switch-to-buffer.
11352 * cus-edit.el (customize-group, custom-buffer-create)
11353 (customize-browse, custom-buffer-create-other-window):
11354 Use switch-to-buffer or switch-to-buffer-other-window.
11356 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11357 (Info-prev, Info-up, Info-speedbar-goto-node)
11358 (info-display-manual): Use switch-to-buffer.
11359 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11361 * mail/sendmail.el (mail): Use switch-to-buffer.
11362 (mail-recover): Use switch-to-buffer-other-window.
11364 * cmuscheme.el (run-scheme, switch-to-scheme):
11366 * shell.el (shell):
11367 * net/rlogin.el (rlogin):
11368 * net/telnet.el (telnet, rsh):
11369 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11371 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11373 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11375 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11377 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11378 so don't mention it (bug#9301).
11379 (dired-sort-toggle-or-edit): Clarify string further.
11381 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11382 match `x', `w32' and `ns', like the manual says (bug#9029).
11384 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11385 (process-kill-buffer-query-function): Mention the buffer name in
11388 * image-mode.el (image-next-line): The line parameter is mandatory
11391 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11392 which can be useful (bug#9301).
11394 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11396 * subr.el (match-string): Mention that the current buffer should
11397 be the same as the search was done in (bug#9282).
11399 * facemenu.el: Disable the remove-* commands if the mark isn't
11402 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11404 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11406 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11408 * replace.el (occur-mode-goto-occurrence)
11409 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11410 and display-buffer.
11412 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11415 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11416 special-display and same-window variables.
11417 (mail-other-window): Use switch-to-buffer-other-window.
11418 (mail-other-frame): USe switch-to-buffer-other-frame.
11420 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11421 Use display-buffer-other-frame.
11422 (gdb-display-gdb-buffer): Use pop-to-buffer.
11424 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11426 * progmodes/python.el: Don't set same-window-buffer-names.
11428 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11430 * window.el (display-buffer-alist): Add *Python*.
11432 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11434 * window.el (display-buffer-alist): Add entry for buffers
11435 previously handled same-window-*.
11436 (display-buffer-alist, display-buffer-default-action)
11437 (display-buffer-overriding-action): Mark as risky.
11438 (display-buffer-alist): Document action function changes.
11439 (display-buffer--same-window-action)
11440 (display-buffer--other-frame-action): New variables.
11441 (switch-to-buffer, display-buffer-other-frame): Use them.
11442 (display-buffer): Rename reuse-frame entry to reusable-frames.
11443 (display-buffer-reuse-selected-window): Function deleted.
11444 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11445 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11446 (display-buffer-special): New function.
11447 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11448 display-buffer-reuse-or-pop-window. Split off special-display
11449 part into display-buffer-special.
11450 (display-buffer-use-some-window): Don't perform any special
11451 pop-up-frames handling.
11452 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11453 (display-buffer--maybe-same-window): Rename from
11454 display-buffer-maybe-same-window.
11456 * info.el: Don't set same-window-regexps.
11457 (info-setup): New function.
11458 (info-other-window, info): Call it.
11460 * cus-edit.el: Don't set same-window-regexps.
11461 (customize-group): New argument.
11462 (customize-group-other-window): Use it.
11463 (customize-face, customize-face-other-window): Likewise.
11464 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11468 * progmodes/gud.el: Don't set same-window-regexps.
11473 * mail/sendmail.el:
11474 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11476 2011-09-10 Juri Linkov <juri@jurta.org>
11478 * isearch.el (isearch-edit-string): Remove obsolete mention of
11479 `C-w' (`isearch-yank-word-or-char') from docstring.
11480 (isearch-query-replace): Fix typo in docstring (bug#9466).
11482 2011-09-10 Juri Linkov <juri@jurta.org>
11484 * paren.el (show-paren-function): Don't show escaped parens.
11485 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11487 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11489 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11490 (mm-default-file-encoding): Remove autoload forms, they are
11491 replaced with autoload cookies in mml.el and mm-encode.el.
11492 (mail-add-attachment): New command.
11493 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11494 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11496 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11498 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11500 * simple.el (count-words-region): Use buffer if there's no region
11503 2011-09-09 Juri Linkov <juri@jurta.org>
11505 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11506 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11507 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11509 2011-09-09 Alan Mackenzie <acm@muc.de>
11511 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11512 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11514 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11516 Fix for Savannah bug#9392.
11517 * simple.el (mail-encode-mml): New defvar.
11519 * mail/rmail.el (mail-encode-mml): Add a defvar.
11520 (rmail-enable-mime-composing): Default to t.
11521 (rmail-forward): Use MIME method of forwarding only if both
11522 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11523 Set mail-encode-mml non-nil if the MIME method was used.
11525 * mail/sendmail.el (mml-to-mime): Add autoload form.
11526 (mail-encode-mml): Add a defvar.
11527 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11529 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11530 message through mml-to-mime, and reset mail-encode-mml to nil.
11532 2011-09-09 Glenn Morris <rgm@gnu.org>
11534 * woman.el (woman-if-body): When processing an .el block,
11535 do not delete the next .el block as well. (Bug#9447)
11536 (woman-special-characters): Add oq, cq, and hy characters.
11538 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11540 * window.el (window-deletable-p): Make sure window is live before
11541 invoking window-prev-buffers.
11543 2011-09-08 Leo Liu <sdl.web@gmail.com>
11545 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11547 2011-09-08 Juri Linkov <juri@jurta.org>
11549 * progmodes/compile.el (compilation-environment): Make it
11550 a defcustom (bug#8340).
11552 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11554 * window.el (frame-auto-delete): Rename to window-auto-delete.
11555 Make it control auto-deletion of windows and/or frames.
11556 (window-deletable-p): New argument FORCE. Rewrite conditions
11557 for deleting window/frame. (Bug#9419)
11558 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11559 Rewrite handling of case when window/frame can be deleted.
11560 (delete-windows-on): Call window-deletable-p with new FORCE
11561 argument t. (Bug#9456)
11563 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11565 * help-mode.el (help-mode): Restore autoload.
11567 2011-09-07 Juri Linkov <juri@jurta.org>
11569 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11570 `compilation-environment'. Set buffer-local
11571 `compilation-environment' to `thisenv' later after (funcall mode).
11574 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11575 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11576 instead of replacing its value. (Bug#8340)
11578 2011-09-07 Juri Linkov <juri@jurta.org>
11580 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11581 based on text properties put by `grep-filter' instead of matching
11583 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11584 to the value of `grep-error-screen-columns' (bug#9438).
11586 2011-09-07 Juri Linkov <juri@jurta.org>
11588 * simple.el (next-error-highlight, next-error-highlight-no-select):
11589 Doc fix (bug#9432).
11591 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11593 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11594 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11596 2011-09-07 Leo Liu <sdl.web@gmail.com>
11598 * net/rcirc.el (rcirc-mode): Conditionally initialize
11601 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * emacs-lisp/find-func.el (find-function-C-source): Only set
11604 find-function-C-source-directory after checking that we found a source
11605 file there (bug#9440).
11607 2011-09-06 Alan Mackenzie <acm@muc.de>
11609 * isearch.el (isearch-other-meta-char): Wherever a key list is
11610 unread, "unread" the prefix arg, too. This fixes bug #8901.
11612 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11614 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11616 2011-09-05 Juri Linkov <juri@jurta.org>
11618 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11620 2011-09-05 Juri Linkov <juri@jurta.org>
11622 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11623 keeping point where processing of grep matches begins, and
11624 continue to delete remaining escape sequences from the same point.
11625 (grep-filter): Make leading zero optional in "0?1;31m" because
11626 git-grep emits "\033[1;31m" escape sequences unlike expected
11627 "\033[01;31m" as GNU Grep does (bug#9408).
11628 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11630 2011-09-05 Juri Linkov <juri@jurta.org>
11632 * subr.el (y-or-n-p): Capitalize "yes".
11634 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11636 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11637 `tramp-cache-unload-hook' where appropriate.
11638 (tramp-methods): Rename `tramp-remote-sh' to
11639 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11640 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11642 * net/tramp-sh.el (top): Don't require 'shell.
11643 (tramp-methods): Add `tramp-remote-shell' and
11644 `tramp-remote-shell-args' entries.
11645 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11646 (tramp-sh-handle-shell-command): Remove.
11647 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11648 Use `tramp-remote-shell'.
11650 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11652 * mail/sendmail.el (sendmail-query-once-function): Delete.
11653 (sendmail-query-once): Save directly to send-mail-function.
11654 Update message-send-mail-function too.
11656 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11658 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11660 * progmodes/python.el (python-mode-map): Use correct function to
11661 start python interpreter from menu-bar (as reported by Geert
11663 (inferior-python-mode-map): Fix typo.
11664 (python-shell-map): Remove.
11666 2011-09-03 Deniz Dogan <deniz@dogan.se>
11668 * net/rcirc.el (rcirc-print): Simplify code for
11669 rcirc-scroll-show-maximum-output. There is no need to walk
11670 through all windows to find the right one.
11672 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11674 * help.el (help-return-method): Doc fix.
11676 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11678 * window.el (window-deletable-p): Don't return a non-nil value
11679 when there's a buffer that was shown in the window before.
11681 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11682 Set window's previous buffers to nil.
11684 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11686 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11687 newline before and after the tag line, so it doesn't interfere
11688 with determining the paragraph direction of bidirectional text.
11690 2011-09-03 Leo Liu <sdl.web@gmail.com>
11692 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11694 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11696 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11697 (pop-to-buffer): Change interactive spec. Pass second argument
11698 directly to display-buffer.
11699 (display-buffer): Fix interactive spec. Use functionp to
11700 distinguish between a function and a list of functions.
11702 * abbrev.el (edit-abbrevs):
11703 * arc-mode.el (archive-extract):
11704 * autoinsert.el (auto-insert):
11705 * bookmark.el (bookmark-bmenu-list):
11706 * files.el (find-file):
11707 * view.el (view-buffer):
11708 * progmodes/compile.el (compilation-goto-locus):
11709 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11711 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11713 * window.el (display-buffer-alist): Doc fix.
11714 (display-buffer): Add docstring. Don't treat
11715 display-buffer-default specially.
11716 (display-buffer-reuse-selected-window)
11717 (display-buffer-same-window, display-buffer-maybe-same-window)
11718 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11719 (display-buffer-pop-up-window)
11720 (display-buffer-reuse-or-pop-window)
11721 (display-buffer-use-some-window): New functions.
11722 (display-buffer-default-action): Use them.
11723 (display-buffer-default): Delete.
11724 (pop-to-buffer-1): Fix choice of actions.
11726 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * minibuffer.el (completion--insert-strings): Don't get confused by
11729 completion entries that end with an LF char.
11731 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11733 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11735 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11737 * window.el (display-buffer): Restore interactive spec.
11738 (display-buffer-same-window, display-buffer-other-window):
11740 (pop-to-buffer-1): New function. Use the above.
11741 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11742 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11744 * view.el (view-buffer-other-window, view-buffer-other-frame):
11745 Just use pop-to-buffer.
11747 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11749 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11751 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11753 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11755 2011-08-31 Richard Stallman <rms@gnu.org>
11757 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11758 of the separation of rmail-view-buffer from rmail-buffer.
11759 If you say no to "replace original", the decrypt is in the
11760 view buffer. If you say yes, the decrypt goes into the
11763 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11765 * window.el (display-buffer-window): Rewrite doc-string.
11766 (display-buffer-record-window): New function.
11767 (display-buffer-macro-specifiers)
11768 (display-buffer-even-window-sizes, display-buffer-set-height)
11769 (display-buffer-set-width, display-buffer-in-window)
11770 (display-buffer-reuse-window, display-buffer-split-specifiers)
11771 (display-buffer-side-specifiers, display-buffer-split-window-1)
11772 (display-buffer-split-window, display-buffer-split-atom-window)
11773 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11774 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11775 (display-buffer-other-window-means-other-frame)
11776 (display-buffer-normalize-special)
11777 (display-buffer-normalize-default)
11778 (display-buffer-normalize-argument)
11779 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11780 (display-buffer-normalize-specifiers, display-buffer-frame)
11781 (display-buffer-same-window, display-buffer-same-frame)
11782 (display-buffer-other-window)
11783 (display-buffer-same-frame-other-window)
11784 (display-buffer-other-frame, pop-to-buffer-same-window)
11785 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11786 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11787 (switch-to-buffer-same-frame)
11788 (switch-to-buffer-other-window-same-frame)
11789 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11790 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11791 (display-buffer-alist-set): Remove.
11792 (display-buffer-function, special-display-buffer-names)
11793 (special-display-regexps, special-display-function):
11794 In doc-string refer to display-buffer-window and quit-restore
11796 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11797 (special-display-frame-alist, special-display-popup-frame)
11798 (same-window-buffer-names, same-window-regexps, same-window-p)
11799 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11800 (split-window-preferred-function, split-height-threshold)
11801 (split-width-threshold, window-splittable-p)
11802 (split-window-sensibly, window--try-to-split-window)
11803 (window--frame-usable-p, even-window-heights)
11804 (window--even-window-heights, window--display-buffer-1)
11805 (window--display-buffer-2, display-buffer-other-frame):
11806 Restore old Emacs 23 code, order and doc-strings where applicable.
11807 (display-buffer-default, display-buffer-assq-regexp): New functions.
11808 (display-buffer-alist): Rewrite doc-string.
11809 (display-buffer-default-action)
11810 (display-buffer-overriding-action): New variables.
11811 (display-buffer, switch-to-buffer): Rewrite.
11812 (pop-to-buffer): Restore Emacs 23 behavior but use
11813 window-normalize-buffer-to-display.
11814 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11815 Restore Emacs 23 behavior but use
11816 window-normalize-buffer-to-switch-to.
11817 (pop-to-buffer-same-window): Rewrite.
11818 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11819 Rewrite using Emacs 23 options.
11821 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11823 * net/tramp.el (tramp-root-regexp): Remove.
11824 (tramp-completion-file-name-regexp-unified)
11825 (tramp-completion-file-name-regexp-separate)
11826 (tramp-completion-file-name-regexp-url): Don't use leading volume
11827 letter on w32 systems. (Bug#5303, Bug#9311)
11828 (tramp-drop-volume-letter): Simplify definition.
11829 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11831 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11833 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11836 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11838 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11840 2011-08-29 Juri Linkov <juri@jurta.org>
11842 * isearch.el (isearch-done): Don't display message "Mark saved"
11843 when arg `edit' is non-nil to prevent its flicker in the echo area.
11845 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11847 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11848 obsolete packages for deletion.
11850 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11852 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11853 (help-mode): Derive help-mode from special-mode. Don't invoke
11854 view-mode from help-mode.
11855 (help-xref-override-view-map): Remove.
11856 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11857 view-mode is not used anymore.
11859 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11861 * server.el (server-port): Doc fix.
11863 * cus-theme.el (custom-theme-choose-mode): Inherit from
11864 special-mode (Bug#9124).
11865 (custom-theme-choose-mode-map): Add special-mode to parent.
11867 2011-08-28 Alan Mackenzie <acm@muc.de>
11869 * progmodes/cc-fonts.el
11870 (c-make-font-lock-BO-decl-search-function): New function.
11871 (c-basic-matchers-after - "Fontify the clauses after various
11872 keywords"): Extract the three keyword lists for the 3 erroneous
11873 constructs from the list of four, and use the new function above
11874 in place of an old one.
11876 2011-08-28 Deniz Dogan <deniz@dogan.se>
11878 * net/rcirc.el (rcirc-insert-prev-input)
11879 (rcirc-insert-next-input): Remove unused argument.
11881 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11885 2011-08-27 Alan Mackenzie <acm@muc.de>
11887 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11888 handle function pointer parameters properly.
11890 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11892 * window.el (display-buffer-reuse-window): Fix case where
11893 selected window was reused with non-nil OTHER-WINDOW argument.
11896 2011-08-27 Deniz Dogan <deniz@dogan.se>
11898 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11899 oftc's NickServ messages.
11901 2011-08-27 Glenn Morris <rgm@gnu.org>
11903 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11905 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11907 * emacs-lisp/package.el (package-install): Call package-initialize
11908 if called interactively.
11910 2011-08-26 Leo Liu <sdl.web@gmail.com>
11912 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11914 2011-08-25 Juri Linkov <juri@jurta.org>
11916 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11917 `search-whitespace-regexp' (bug#9364).
11919 2011-08-25 Juri Linkov <juri@jurta.org>
11921 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11922 `regexp-search-ring' to their global values to protect from
11923 updating by `read-from-minibuffer' (bug#9185).
11925 2011-08-25 Juri Linkov <juri@jurta.org>
11927 * textmodes/ispell.el (ispell-command-loop): Add newline
11928 at the end of the "Use option `i'..." line.
11930 2011-08-25 Juri Linkov <juri@jurta.org>
11932 * battery.el (display-battery-mode): If `battery-status-function'
11933 or `battery-mode-line-format' is nil, display the message and set
11934 `display-battery-mode' to nil (bug#9363).
11936 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11938 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11939 bidi-string-mark-left-to-right; they are unnecessary now.
11941 2011-08-25 Deniz Dogan <deniz@dogan.se>
11943 * net/quickurl.el: Documentation typo fixes.
11945 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11947 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11949 2011-08-25 Glenn Morris <rgm@gnu.org>
11951 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11953 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11954 (smtpmail-via-smtp): Handle nil response from smtp.
11956 2011-08-24 Juri Linkov <juri@jurta.org>
11958 * proced.el (proced-marked): Inherit from `error' instead of
11959 `font-lock-warning-face'.
11961 * ibuffer.el (ibuffer-marked-face): Change default face from
11962 `font-lock-warning-face' to `warning'.
11963 (ibuffer-deletion-face): Change default face from
11964 `font-lock-type-face' to `error'.
11966 * battery.el (battery-update): Use the face `error' instead of
11967 `font-lock-warning-face' (bug#6117).
11969 2011-08-24 Juri Linkov <juri@jurta.org>
11971 * faces.el (success): Change face color from "Green3" to
11972 "ForestGreen" on light background (bug#9353).
11974 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11976 * window.el (quit-window): Rename from quit-restore-window.
11977 Use same arglist as old quit-window.
11978 (frame-auto-delete): Doc fix.
11980 * view.el (view-mode-exit): Use quit-window.
11982 2011-08-24 Juri Linkov <juri@jurta.org>
11984 * isearch.el (isearch-ring-adjust1): Start visiting previous
11985 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11986 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11987 for empty search string (when the last search string is reused
11988 automatically) to adjust the isearch ring to the last element and
11989 prepare the correct index for further M-p commands (bug#9185).
11991 2011-08-24 Kenichi Handa <handa@m17n.org>
11993 * international/ucs-normalize.el: If decomposition property of
11994 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11996 (nfd, nfkd): Likewise.
11998 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12000 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12001 from process filters aren't reliably transmitted to the surrounding
12002 accept-process-output.
12003 (mpc-proc-check): New function.
12004 (mpc-proc-sync): Use it (bug#8293)
12006 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12009 Add compatibility functions (bug#9313).
12011 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12013 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12015 * international/uni-bidi.el: Regenerate.
12017 2011-08-23 Kenichi Handa <handa@m17n.org>
12019 * international/charprop.el:
12020 * international/uni-bidi.el:
12021 * international/uni-category.el:
12022 * international/uni-combining.el:
12023 * international/uni-comment.el:
12024 * international/uni-decimal.el:
12025 * international/uni-decomposition.el:
12026 * international/uni-digit.el:
12027 * international/uni-lowercase.el:
12028 * international/uni-mirrored.el:
12029 * international/uni-name.el:
12030 * international/uni-numeric.el:
12031 * international/uni-old-name.el:
12032 * international/uni-titlecase.el:
12033 * international/uni-uppercase.el: Regenerate.
12035 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12037 * help.el (help-window-setup): Fix message displayed when other
12038 window is reused. (Bug#9341)
12040 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12042 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12043 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12045 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12047 * shell.el (shell-parse-pcomplete-arguments): New function.
12048 (shell-completion-vars): Use it instead (bug#9160).
12050 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12052 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12053 strings and comments (bug#9333).
12055 * emacs-lisp/debug.el (debug-arglist): New function.
12056 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12057 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12059 2011-08-22 Juri Linkov <juri@jurta.org>
12061 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12062 Revert regexp that highlights output switches to its old
12063 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12065 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12066 to check for empty output (bug#9226).
12068 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12070 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12071 symbol-constituent as the default, as that stops font-lock from
12072 working properly (Bug#8843).
12074 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12076 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12077 `coding-system-for-*' around the process open call to avoid
12078 auth-source side effects.
12079 (smtpmail-try-auth-methods): Expand the secret password.
12080 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12083 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12085 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12087 * emacs-lisp/find-func.el (find-function-noselect): New arg
12090 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12091 signal an error for built-in functions (Bug#6664).
12093 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12095 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12096 (smtpmail-try-auth-methods): Use it.
12098 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12100 * font-lock.el (font-lock-fontify-region)
12101 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12102 (font-lock-default-unfontify-buffer)
12103 (font-lock-default-fontify-region)
12104 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12106 * progmodes/compile.el (compilation-error-properties):
12107 Fix confusion between file struct and message struct (Bug#9319).
12108 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12111 * net/browse-url.el (browse-url-firefox): Don't call
12112 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12114 2011-08-20 Glenn Morris <rgm@gnu.org>
12116 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12118 * tutorial.el (tutorial--default-keys): Update some default bindings.
12120 * files.el (hack-local-variables): Fully ignore case for "mode:".
12122 2011-08-20 Alan Mackenzie <acm@muc.de>
12124 Resolve invalid use of a regexp in regexp-opt.
12126 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12127 detection for a java annotation.
12129 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12130 detection for a java annotation.
12132 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12134 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12136 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12138 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12141 2011-08-20 Alan Mackenzie <acm@muc.de>
12143 Fontify CPP expressions correctly when starting in the middle of
12144 such a construct. Mainly for when jit-lock etc. starts a chunk
12147 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12149 (c-make-font-lock-search-form): New function, extracted from
12150 c-make-font-lock-search-function.
12151 (c-make-font-lock-search-function): Use the above function.
12152 (c-make-font-lock-context-search-function): New function.
12153 (c-cpp-matchers): Enhance the preprocessor expression case with
12155 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12156 which takes an expression.
12158 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12160 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12162 * window.el (display-buffer-reuse-window)
12163 (display-buffer-pop-up-window): Don't reuse or split a side
12166 2011-08-19 Glenn Morris <rgm@gnu.org>
12168 * files.el (hack-local-variables-prop-line, hack-local-variables):
12169 Downcase "Mode:". (Bug#9331)
12171 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12173 * international/characters.el: Add L and R categories.
12175 * subr.el (bidi-string-mark-left-to-right): Rename from
12176 string-mark-left-to-right. Use category search.
12178 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12180 2011-08-18 Juri Linkov <juri@jurta.org>
12182 * faces.el (error, warning, success): New faces with definitions
12183 copied from old default values of `font-lock-warning-face',
12184 `compilation-warning', `compilation-info' (bug#6117).
12186 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12188 * progmodes/compile.el (compilation-error): Inherit from `error'.
12189 (compilation-warning): Inherit from `warning'.
12190 (compilation-info): Inherit from `success'.
12192 * dired.el (dired-marked): Inherit from `warning'.
12193 (dired-flagged): Inherit from `error'.
12195 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12197 * mail/smtpmail.el (auth-source): Require to avoid problems with
12198 binding variables (bug#9298). Also clean up some unused
12201 * net/network-stream.el (network-stream-open-starttls):
12202 Support using starttls.el without using gnutls-cli.
12204 2011-08-17 Juri Linkov <juri@jurta.org>
12206 * progmodes/grep.el (rgrep): Handle the case when
12207 `grep-find-command' is a cons cell (bug#9278).
12209 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12211 * window.el (display-buffer-pop-up-frame): Run frame creation
12212 function with BUFFER current (as special-display-popup-frame
12213 does). Reported by Drew Adams.
12215 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12217 * epa-mail.el: Simplify GnuPG group expansion using
12219 (epa-mail-group-alist, epa-mail-group-modtime)
12220 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12221 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12222 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12225 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12227 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12229 2011-08-16 Alan Mackenzie <acm@muc.de>
12231 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12232 Correct, to avoid the inside of macros.
12234 2011-08-16 Richard Stallman <rms@gnu.org>
12236 * epa-mail.el: Handle GnuPG group definitions.
12237 (epa-mail-group-alist, epa-mail-group-modtime)
12238 (epa-mail-gnupg-conf-file): New variables.
12239 (epa-mail-parse-groups, epa-mail-sync-groups)
12240 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12241 (epa-mail-expand-recipients): New functions.
12242 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12244 * mail/rmail.el (rmail-epa-decrypt): New command.
12246 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12247 Don't bind buffer-read-only, just inhibit-read-only.
12248 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12249 (epa-decrypt-armor-in-region): Make error message clearer.
12251 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12253 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12254 and "a2b" to "ab" for `prefix'.
12256 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12258 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12260 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12261 Fourquet (Bug#8804).
12263 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12265 * startup.el (argi): Declare as global variable (bug#9275).
12267 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12269 * subr.el (string-mark-left-to-right): Search the entire string
12270 for RTL script, not just the terminating character. Doc fix.
12272 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12276 (js--regexp-literal, js-syntax-propertize-function): Remove.
12277 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12278 (js-mode-map): Don't rebind electric keys.
12279 (js-insert-and-indent): Remove.
12280 (js-mode): Setup electric-layout and electric-indent instead.
12282 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12284 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12286 * epa.el (epa-progress-callback-function): Fix the logic of
12287 displaying progress.
12288 * epa-file.el (epa-file-insert-file-contents): Make progress
12289 display more user-friendly.
12290 (epa-file-write-region): Ditto.
12292 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12294 * subr.el (string-mark-left-to-right): New function.
12296 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12297 Use string-mark-left-to-right.
12298 (list-buffers-noselect): Caller changed.
12300 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12301 Use string-mark-left-to-right.
12302 (tabulated-list-print): Recenter after moving point.
12304 2011-08-10 Juri Linkov <juri@jurta.org>
12306 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12307 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12308 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12310 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12312 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12315 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12317 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12318 character. (Bug#6594)
12320 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12322 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12323 (image-dired--with-db-file): New macro.
12324 (image-dired-write-tags, image-dired-remove-tag)
12325 (image-dired-create-gallery-lists, image-dired-write-comments)
12326 (image-dired-get-comment, image-dired-mark-tagged-files)
12327 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12328 (image-dired-gallery-generate): Use insert-file-contents.
12330 * time.el (display-time-world-list, display-time-world-display):
12331 * time-stamp.el (time-stamp-string):
12332 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12333 set-time-zone-rule (Bug#7337).
12335 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12337 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12338 (epg-error-to-string, epg-errors-to-string): New function.
12339 (epg-wait-for-completion): Reverse errors list.
12340 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12341 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12342 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12343 (epg-sign-keys, epg-generate-key-from-file)
12344 (epg-generate-key-from-string): Format errors by using
12345 epg-errors-to-string (bug#9255).
12346 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12348 2011-08-07 Juri Linkov <juri@jurta.org>
12350 * faces.el (list-faces-display): Remove extra angle bracket
12351 from `help-mode-map'.
12353 * info.el (Info-history-toc-nodes): Doc fix.
12355 * longlines.el (longlines-mode): Doc fix.
12357 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12359 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12360 of statements and in a few more cases (bug#9183).
12362 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12364 (cl-transform-lambda): Use them (bug#9239).
12366 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12368 * window.el (display-buffer-same-window)
12369 (display-buffer-same-frame, display-buffer-other-window)
12370 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12371 (pop-to-buffer-other-window)
12372 (pop-to-buffer-same-frame-other-window)
12373 (pop-to-buffer-other-frame): Make them defuns.
12374 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12376 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * subr.el (make-composed-keymap): Move from C. Change calling
12379 convention, and improve docstring to bring attention to a subtle point.
12380 * minibuffer.el (completing-read-default): Adjust accordingly.
12382 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12384 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12385 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12387 * net/trampver.el: Update release number.
12389 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12391 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12394 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396 * mail/sendmail.el (sendmail-query-once): Restore the current
12397 buffer after querying (bug#9074).
12399 * dired.el (dired-flagged): Use different faces for marked and
12400 flagged files (bug#6117).
12402 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12405 * ido.el (ido-mode): Switch off the message if called
12408 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12409 before 587, since it appears that that's more likely to work for
12412 * cus-edit.el (custom-file): When running under emacs -q, always
12413 refuse to save the customizations, even if the .emacs file doesn't
12416 * info.el: Remove the `Info-beginning-of-buffer' function
12419 * net/network-stream.el (network-stream-open-starttls):
12420 Use `starttls-available-p' to see whether starttls.el can be used.
12422 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12424 * window.el (display-buffer-in-window): Don't set dedicated status
12425 of window here (Bug#9215).
12426 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12427 (display-buffer-pop-up-side-window)
12428 (display-buffer-in-side-window): Set dedicated status of window here.
12430 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12433 before binding generated-autoload-file.
12435 2011-08-01 Deniz Dogan <deniz@dogan.se>
12437 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12439 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12441 Sync with Tramp 2.2.2.
12443 * net/trampver.el: Update release number.
12445 2011-07-30 Juri Linkov <juri@jurta.org>
12447 * dired-aux.el (dired-touch-initial): Remove function.
12448 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12449 current time, and `default' to the last modification time of the
12450 current marked file (bug#6887).
12452 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12454 * simple.el (goto-line): Use string-to-number to provide a
12455 numeric argument to read-number (bug#9163).
12457 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12459 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12460 connection process, it could be nil.
12462 2011-07-27 Leo Liu <sdl.web@gmail.com>
12464 Simplify url handling in rcirc-mode.
12466 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12467 (rcirc-browse-url-at-mouse): Remove.
12468 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12470 2011-07-26 Alan Mackenzie <acm@muc.de>
12472 Fontify bitfield declarations properly.
12474 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12475 (c-symbol-chars): Now exported as a lang variable.
12476 (c-not-primitive-type-keywords): New lang variable.
12478 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12479 QT keyword "more" to prevent "more slots: ...." being spuriously
12480 parsed as a bitfield declaration.
12482 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12483 Refactor and enhance to handle bitfield declarations.
12484 (c-punctuation-in): New function.
12485 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12486 declarations properly.
12488 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12490 * calendar/icalendar.el (icalendar--all-events): Take care of
12491 multiple vcalendars in a single file.
12492 (icalendar--convert-float-to-ical): Checkdoc fixes.
12494 2011-07-25 Deniz Dogan <deniz@dogan.se>
12496 * image.el (insert-image): Clarifying docstring.
12498 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12500 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12501 `tramp-send-command-and-check' if there is no error.
12502 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12504 2011-07-22 Alan Mackenzie <acm@muc.de>
12506 Prevent cc-langs.elc being loaded at run time.
12508 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12511 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12512 "(require 'cc-langs)". Quote a form so it will evaluate at
12513 (cc-mode's) compilation time.
12515 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12517 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12518 loading. (Bug#9114)
12520 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12522 * window.el (display-buffer-pop-up-window)
12523 (display-buffer-pop-up-side-window)
12524 (display-buffer-in-side-window): Call display-buffer-set-height
12525 and display-buffer-set-width after setting the new window's
12526 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12528 2011-07-20 Sam Steingold <sds@gnu.org>
12530 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12531 (etags-tags-included-tables): Call `convert-standard-filename' on
12532 the file names contained in TAGS so that windows Emacs can handle
12533 TAGS files created by cygwin ctags.
12535 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12537 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12538 which apparently didn't work.
12540 2011-07-19 Roland Winkler <winkler@gnu.org>
12542 * proced.el (proced-send-signal): For *Marked Processes* buffer
12543 put point at beginning of buffer.
12545 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12547 * proced.el (proced-format): Make header lines align with the text
12550 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552 * view.el (view-buffer): Allow running in `special' modes if we're
12553 visiting a file (bug#8615).
12555 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12557 * window.el (display-buffer-alist-of-strings-p)
12558 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12560 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12563 2011-07-18 Alan Mackenzie <acm@muc.de>
12565 Fontify declarators properly when, e.g., a jit-lock chunk begins
12566 inside a declaration.
12568 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12570 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12572 (c-complex-decl-matchers): Insert reference to
12573 c-font-lock-enclosing-decls.
12575 * progmodes/cc-engine.el (c-backward-single-comment):
12576 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12577 to nil around calls to (forward-comment -1).
12579 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12581 * image.el (put-image): Doc typo fix.
12583 * progmodes/etags.el (tags-search): Doc typo fix.
12585 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12586 password if we get errors 550 to 554.
12588 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590 * net/gnutls.el (gnutls-log-level): Remove.
12592 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12593 indentation character (bug#6380).
12595 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12597 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12598 to clarify what the problem is (bug#4291).
12600 * simple.el (current-kill): Clarify what
12601 `interprogram-paste-function' does (bug#7500).
12602 (auto-fill-mode): Document `auto-fill-function' in relation to
12603 `auto-fill-mode' (bug#2470).
12605 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12607 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12608 method if slot is read-only (bug#9035).
12610 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12612 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12613 * window.el (pop-to-buffer): Select window used even if it was
12614 selected before, see discussion of (Bug#8615), (Bug#6954).
12615 Pass argument NORECORD on to select-frame-set-input-focus.
12617 2011-07-15 Glenn Morris <rgm@gnu.org>
12619 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12622 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12624 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12625 (gnutls-negotiate): Use it.
12627 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12629 * net/gnutls.el (gnutls-negotiate):
12630 Upcase `gnutls-algorithm-priority'.
12632 2011-07-15 Glenn Morris <rgm@gnu.org>
12634 * jka-compr.el (jka-compr-verbose): Move from here...
12635 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12636 Add missing :version tag.
12637 * info.el: No need to require jka-compr when compiling.
12639 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12642 (gnutls-negotiate): Use it.
12644 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12646 * info.el (Info-beginning-of-buffer): New command.
12647 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12648 announcing `b' as the key (bug#8325).
12649 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12651 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12653 * international/mule-cmds.el
12654 (describe-specified-language-support): Make the error message
12655 clearer (bug#8905).
12657 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12659 * isearch.el (isearch-barrier): Add a doc string, since it's
12660 mentioned in a function doc string (bug#8678).
12662 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12664 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12665 buffer argument (Bug#9083) and self-identifying label argument.
12667 2011-07-15 Glenn Morris <rgm@gnu.org>
12669 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12671 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12673 * man.el (Man-fontify-manpage): Fix message when formatting the
12674 man page (bug#7929).
12676 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12678 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12679 argument LRM; if non-nil, append an invisible LRM character to the
12681 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12682 last argument non-nil, when formatting buffer names.
12683 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12684 paragraph direction.
12686 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12688 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12689 the man page name (bug#7929).
12691 * image.el (put-image): Mention the `put-image' overlay property
12694 * scroll-bar.el (set-scroll-bar-mode): Mention that
12695 `scroll-bar-mode' lists the values (bug#7772).
12697 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12698 command (bug#7729).
12700 * rect.el (apply-on-rectangle): Return the point after the last
12702 (string-rectangle): Go to the point after the last operation
12705 * printing.el (pr-toggle-region): Clarify the documentation
12706 slightly (bug#7493).
12708 * time.el (display-time-update):
12709 Allow `display-time-mail-function' to return nil (bug#7158).
12710 Fix suggested by Detlev Zundel.
12712 * vc/diff.el (diff): Clarify the order the file names are read
12715 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12716 the doc string (bug#7015).
12718 * font-lock.el (font-lock-maximum-decoration): Mention what
12719 numeric levels mean (bug#6935).
12721 * startup.el (initial-buffer-choice): Don't mention the `none'
12722 selection, which is against policy.
12724 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12726 * window.el (display-buffer-normalize-special):
12727 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12729 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12731 * subr.el (version<, version<=, version=): Mention "-CVS" and
12732 "-12345" alpha version numbers.
12734 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12736 * bindings.el: Add advertised binding for set-mark-command
12739 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12741 * bindings.el (mode-line-other-buffer):
12742 * bookmark.el (bookmark-bmenu-2-window):
12743 * bs.el (bs-cycle-next, bs-cycle-previous):
12744 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12747 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12750 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12752 * follow.el (follow-debug-message, follow-redisplay):
12753 * jka-cmpr-hook.el (with-auto-compression-mode):
12754 Fix typos in docstrings.
12756 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12758 * subr.el (with-silent-modifications): Clarify somewhat what the
12759 macro inhibits (bug#6525).
12761 * simple.el (eval-expression): Note what it does if called
12762 interactively (bug#6495).
12764 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12766 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12767 Use pop-to-buffer buffer-or-name if it is nil.
12769 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12770 Remove switch-to-buffer.
12772 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12774 * files.el (make-directory): Clarify that an error will be raised
12775 if there's an error (bug#6397).
12777 * startup.el (initial-buffer-choice): Add `none' as a choice
12780 * subr.el (add-hook): Clarify section about buffer-local hooks
12783 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12785 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12787 * tabify.el (untabify): Preserve the current column so that point
12788 doesn't move (bug#6032).
12790 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12792 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12793 Rewrite to avoid awkward possessive "s" (bug#5986).
12795 2011-07-13 Glenn Morris <rgm@gnu.org>
12797 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12798 (dired-insert-directory): Give a message the first time
12799 if ls is found not to support --dired.
12801 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12803 * simple.el (toggle-truncate-lines): Clarify what is toggled
12804 (bug#5580). Text by Drew Adams.
12806 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12808 * simple.el (blink-matching-open): Make the error message from the
12809 last change less verbose.
12811 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12813 * font-lock.el (font-lock-comment-face): Use the high contrast
12814 "yellow" color for font-lock-comment-face on low color terminals
12815 using a dark background color (bug#4221).
12817 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12819 * dired.el (dired-insert-set-properties): Make the doc string
12820 reflect what it does now (bug#5325).
12822 * simple.el (blink-matching-open): Say that we were unable to find
12823 the match within the limit, if we're limited (bug#5122).
12825 * international/mule-cmds.el (prefer-coding-system): Add an
12826 example (bug#4869).
12828 * progmodes/etags.el (tags-search): Document `file-list-form'
12831 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12833 * net/browse-url.el (browse-url-default-browser)
12834 (browse-url-browser-function): Make the default browser choice a
12835 bit more logical (bug#4300). Also clean up the doc string.
12837 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12839 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12840 binary endings (bug#4440).
12842 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12844 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12845 which can be pretty annoying (bug#8971).
12847 * jka-compr.el (jka-compr-verbose): New variable, and use
12848 throughout (bug#8971).
12850 * info.el (Info-find-file): Fall back on the installation
12851 directory if we can't find the info node anywhere else.
12853 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12855 * vc/vc.el (vc-revert-file):
12856 Don't set file time-stamp in the past. (Bug#5181)
12858 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860 * files.el (after-find-file): Give a better error message when
12861 trying to find a symlink that points to a file that doesn't exist
12864 * progmodes/cc-vars.el: Remove (probably) misleading comment
12867 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12869 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12871 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12873 * mouse-sel.el: Hack restoring functionality, while keeping
12874 compatibility with 2010-07-03 changes to mouse selection.
12875 (mouse-sel-primary-overlay): New var.
12876 (mouse-sel-selection-alist): Use it.
12877 (mouse-sel-mode): Doc fix; remove points that are default features
12880 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12882 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12883 Fix previous fix (bug#2490).
12885 2011-07-12 Roland Winkler <winkler@gnu.org>
12887 * textmodes/bibtex.el (bibtex-initialize):
12888 Use pop-to-buffer-same-window.
12889 (bibtex-search-entries): Fix interactive call.
12891 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12894 Fontise bytecomp Error lines more correctly (bug#2490).
12895 Fix suggested by Johan BockgĂ¥rd.
12897 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12899 * dired-x.el (dired-guess-default): Use `delete-dups'.
12901 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12903 * dired.el (dired-mark-prompt):
12904 * dired-aux.el (dired-read-shell-command): Doc fix.
12906 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908 * mail/sendmail.el (sendmail-query-once):
12909 Use `customize-save-variable' unconditionally, now that it works under
12912 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12914 * cus-edit.el (custom-file): Take an optional no-error variable.
12915 (customize-save-variable): Set the variable, and give a warning if
12916 running under "emacs -q".
12918 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12920 * loadhist.el (unload-feature-special-hooks):
12921 Add `auto-coding-functions', `fill-nobreak-predicate' and
12922 `find-directory-functions' (bug#5327).
12924 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12926 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12928 * cus-edit.el (custom-guess-name-alist): -alist variables should
12929 use the `alist' type (bug#3120). Suggested by Drew Adams.
12931 * printing.el: Add documentation to all the `pr-toggle-' commands.
12933 2011-07-11 Leo Liu <sdl.web@gmail.com>
12935 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12936 backends where it makes sense (bug#2623).
12938 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12940 * dired-x.el (dired-guess-default): Remove duplicate shell command
12941 entries (bug#2028).
12942 (dired-guess-default): Fix grammar in doc string (bug#2028).
12943 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12945 * subr.el (remove-duplicates): New conveniency function.
12947 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12949 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12952 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12954 * window.el (display-buffer-normalize-default): Don't invert
12955 meaning of even-window-heights. Reported by Eli Zaretskii
12958 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12960 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12962 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12964 * window.el (display-buffer): Fix arguments to
12965 display-buffer-reuse-window in last change.
12967 * faces.el (link): Use a less saturated blue on light backgrounds.
12969 * startup.el (fancy-startup-text, fancy-about-text)
12970 (fancy-startup-tail): Use font-lock faces, for background safety.
12972 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12974 * emulation/viper-cmd.el (viper-change-state-to-vi):
12975 Limit triggering of abbrev expansion (Bug#9038).
12977 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12979 * window.el (display-buffer-default-specifiers): Remove.
12980 (display-buffer-macro-specifiers): Remove default specifiers.
12981 (display-buffer-alist): Default to nil.
12982 (display-buffer-reuse-window): New optional argument other-window.
12983 (display-buffer-pop-up-window): Allow splitting internal
12984 windows. Check whether a live window was created.
12985 (display-buffer-other-window-means-other-frame)
12986 (display-buffer-normalize-arguments): Rename to
12987 display-buffer-normalize-argument and rewrite. Set the
12988 other-window specifier.
12989 (display-buffer-normalize-special): New function.
12990 (display-buffer-normalize-options): Rename to
12991 display-buffer-normalize-default and rewrite.
12992 (display-buffer-normalize-options-inhibit): Remove.
12993 (display-buffer-normalize-specifiers): Rewrite.
12994 (display-buffer): Process other-window specifier and call
12995 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12997 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12998 (display-buffer-alist-set): Don't handle 'unset default values.
12999 (display-buffer-in-window, display-buffer-alist-set):
13000 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13001 <tassilo@member.fsf.org>.
13003 2011-07-09 Leo Liu <sdl.web@gmail.com>
13005 * register.el (insert-register): Restore accidental change on
13006 2011-06-26. (Bug#9028)
13008 2011-07-09 Glenn Morris <rgm@gnu.org>
13010 * subr.el (remq): Handle the empty list. (Bug#9024)
13012 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13014 * mail/sendmail.el (send-mail-function): No longer delay custom
13016 * custom.el (custom-initialize-delay): Doc fix.
13018 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13020 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13022 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13024 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13025 human-friendly prompt.
13027 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13029 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13030 provided by a particular plugin.
13032 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13034 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13035 save customizations (with "emacs -Q"), just set the variable
13036 instead of erroring out.
13038 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13040 2011-07-08 Juri Linkov <juri@jurta.org>
13042 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13043 (archive-zip-update-case): Use 7z if found by `executable-find'.
13044 The order of searching the available programs is the same as in
13045 `archive-zip-extract' (bug#8968).
13047 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13049 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13050 (menu-bar-options-menu): Tweak descriptions.
13052 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13054 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13055 menu items into verb phrases (bug#1421). Also refill to fit under
13058 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13060 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13061 (Info-read-node-name): Doc fix (Bug#1084).
13063 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13064 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13065 (end-of-sexp, beginning-of-sexp)
13066 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13067 (forward-symbol, forward-same-syntax, word-at-point)
13068 (sentence-at-point): Doc fix (Bug#1144).
13070 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13073 should cover it (bug#1281).
13075 * cus-edit.el (custom-show): Mark as obsolete.
13077 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13078 negotiation fails, then possibly try again with a non-encrypted
13079 connection (bug#9017).
13081 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13084 2011-07-07 Richard Stallman <rms@gnu.org>
13086 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13087 property, and handle its changed format.
13088 Look for the correct line number.
13089 Use file's line contents (but not past first =) to find
13090 correct line in message.
13092 2011-07-07 Kenichi Handa <handa@m17n.org>
13094 * international/characters.el (build-unicode-category-table):
13096 (unicode-category-table): Set it by unicode-property-table-internal.
13098 * international/mule-cmds.el (char-code-property-alist): Move to
13100 (get-char-code-property): Call unicode-property-table-internal to
13101 load a file. Call get-unicode-property-internal where necessary.
13102 (put-char-code-property): Call unicode-property-table-internal to
13103 load a file. Call put-unicode-property-internal where necessary.
13104 put-unicode-property-internal where necessary.
13105 (char-code-property-description):
13106 Call unicode-property-table-internal to load a file.
13108 * international/charprop.el:
13109 * international/uni-bidi.el:
13110 * international/uni-category.el:
13111 * international/uni-combining.el:
13112 * international/uni-comment.el:
13113 * international/uni-decimal.el:
13114 * international/uni-decomposition.el:
13115 * international/uni-digit.el:
13116 * international/uni-lowercase.el:
13117 * international/uni-mirrored.el:
13118 * international/uni-name.el:
13119 * international/uni-numeric.el:
13120 * international/uni-old-name.el:
13121 * international/uni-titlecase.el:
13122 * international/uni-uppercase.el: Regenerate.
13124 * loadup.el: Load international/charprop.el before
13125 international/characters.
13127 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13129 * window.el (next-buffer, previous-buffer): Signal an error if
13130 called from a minibuffer window.
13132 * bindings.el: Revert 2011-07-04 change.
13134 2011-07-06 Richard Stallman <rms@gnu.org>
13136 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13137 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13138 Treat markers like ints.
13139 (rmail-mime-entity): Doc fix.
13141 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13143 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13144 defcustom again for backwards compatibility.
13146 * simple.el (shell-command-on-region): Fill.
13148 * dired-aux.el (dired-kill-line): Add a doc string.
13150 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13151 to "\\sw\\|\\s_" (bug#358).
13153 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13154 (dired-unmark-backward): Ditto.
13155 (dired-flag-backup-files): Ditto.
13157 * dired-x.el (dired-mark-sexp): Ditto.
13159 2011-07-06 Richard Stallman <rms@gnu.org>
13161 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13162 (rmail-mime-entity): New arg TRUNCATED.
13163 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13165 (rmail-mime-save): Warn if entity is truncated.
13166 (rmail-mime-toggle-hidden): Likewise, for showing.
13167 (rmail-mime-process-multipart): Record when an entity is truncated.
13169 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13170 if ENTITY is a string.
13172 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13174 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13175 of faces when `M-C-x'-ing their definitions (bug#8378).
13176 Also clean up the code slightly.
13178 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13179 because that makes the colors go away.
13181 * mail/sendmail.el (send-mail-function): Change the default to
13182 `sendmail-query-once'.
13183 (sendmail-query-once): Add an autoload cookie.
13185 * net/network-stream.el (network-stream-open-starttls): Try using
13186 a plain connection even if the server offered STARTTLS, and we
13187 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13188 capability. This should make smtpmail.el work in slightly more
13191 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13193 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13195 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13197 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13199 * progmodes/sql.el: Version 3.0
13200 (sql-product-alist): Add product :completion-object,
13201 :completion-column, and :statement attributes.
13202 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13203 (sql-mode-syntax-table): Mark all punctuation.
13204 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13206 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13207 (sql-mode-oracle-font-lock-keywords): Improve.
13208 (sql-oracle-show-reserved-words): New function for development.
13209 (sql-product-font-lock): Simplify for source code buffers.
13210 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13212 (sql-highlight-product): Set product specific syntax table.
13213 (sql-mode-map): Add statement movement functions.
13214 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13216 (sql-statement-regexp, sql-beginning-of-statement)
13217 (sql-end-of-statement, sql-signum): New functions.
13218 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13219 (sql-show-sqli-buffer): Bug fix.
13220 (sql-interactive-mode): Store connection data as buffer local.
13221 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13222 with sql-interactive-mode.
13223 (sql-save-connection): Save buffer local settings.
13224 (sql-connection-menu-filter): Change menu entry name.
13225 (sql-product-interactive): Bug fix.
13226 (sql-preoutput-hold): New variable.
13227 (sql-interactive-remove-continuation-prompt): Bug fixes.
13228 (sql-debug-redirect): New variable.
13229 (sql-str-literal): New function.
13230 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13232 (sql-oracle-save-settings, sql-oracle-restore-settings)
13233 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13234 (sql-completion-object, sql-completion-column)
13235 (sql-completion-sqlbuf): New variables.
13236 (sql-build-completions-1, sql-build-completions)
13237 (sql-try-completion): New functions.
13238 (sql-read-table-name): Use them.
13239 (sql-contains-names): New buffer local variable.
13240 (sql-list-all, sql-list-table): Use it.
13241 (sql-oracle-completion-types): New variable.
13242 (sql-oracle-completion-object, sql-sqlite-completion-object)
13243 (sql-postgres-completion-object): New functions.
13245 2011-07-06 Glenn Morris <rgm@gnu.org>
13247 * window.el (pop-to-buffer): Doc fix.
13249 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13251 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13253 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13255 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13257 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13259 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13261 * button.el (button): Inherit from link face. Suggested by Dan
13264 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13266 * progmodes/gdb-mi.el: Fit in 80 columns.
13267 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13270 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13271 if imenu is simply not configured (bug#8941).
13273 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13275 * allout.el (allout-post-undo-hook): New allout outline-change
13276 event hook to signal undo activity.
13277 (allout-post-command-business): Run allout-post-undo-hook if an
13278 undo just occurred.
13279 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13280 * allout-widgets.el (allout-widgets-after-undo-function):
13281 Ensure the integrity of the current item's decoration after it has been
13282 in the vicinity of an undo.
13283 (allout-widgets-mode): Include allout-widgets-after-undo-function
13284 on the new allout-post-undo-hook.
13286 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13288 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13289 Let define-derived-mode define it.
13290 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13291 cycles of abbrev-table inheritance (bug#8998).
13293 2011-07-05 Roland Winkler <winkler@gnu.org>
13295 * textmodes/bibtex.el: Add support for biblatex.
13296 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13297 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13298 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13299 (bibtex-entry-alist, bibtex-field-alist): New variables.
13300 (bibtex-entry-field-alist): Obsolete alias for
13301 bibtex-BibTeX-entry-alist.
13302 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13303 (bibtex-set-dialect): New command.
13304 (bibtex-entry-type, bibtex-entry-head)
13305 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13306 Bind via bibtex-set-dialect.
13307 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13308 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13309 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13310 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13311 Define via bibtex-set-dialect.
13312 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13313 Obey bibtex-no-opt-remove-re.
13314 (bibtex-vec-push, bibtex-vec-incr): New functions.
13315 (bibtex-format-entry, bibtex-field-list)
13316 (bibtex-print-help-message, bibtex-validate)
13317 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13319 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * progmodes/compile.el (compilation-goto-locus):
13322 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13323 * bs.el (bs-cycle-next, bs-cycle-previous):
13324 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13325 * bindings.el (mode-line-other-buffer):
13326 * autoinsert.el (auto-insert):
13327 * arc-mode.el (archive-extract):
13328 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13330 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13332 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13333 Fix check of `emacs-lock-unlockable-modes'.
13334 Coerce true values of `emacs-lock--try-unlocking' to t.
13336 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13338 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13339 * emacs-lock.el: New file.
13341 2011-07-05 Julien Danjou <julien@danjou.info>
13343 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13344 than `boundp' to check if face is set.
13346 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13348 * register.el (registerv-make):
13349 * window.el (window-min-height): Fix typos in docstrings.
13351 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13353 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13356 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13358 * server.el (server-execute): Catch quit and call
13359 `server-return-error' to pass the error back to emacsclient and
13360 close the connection (bug#8942).
13362 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13364 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13365 insecure exception for current topic. Also note that auto-saves
13366 are handled differently.
13368 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13369 State variables for tracking auto-save inhibition situation.
13371 (allout-write-contents-hook-handler): Rename from
13372 'allout-write-file-hook-handler', and describe how it depends on
13373 write-contents-functions sensitivity to non-nil value to prevent
13376 (allout-auto-save-hook-handler): Remove. auto-save does not check
13377 this in individual buffers, only in the starting buffer, so this
13378 is not the right way for us to inhibit auto-save in a buffer
13379 according to its condition.
13381 (allout-mode): Use new allout-write-contents-hook-handler, and
13382 only with write-contents-functions. Remove auto-save provisions -
13383 they're implemented elsewhere.
13385 (allout-before-change-handler): If undo is in progress, note that
13386 for attention of allout-post-command-business.
13388 (allout-post-command-business): If the command we're following was
13389 an undo, check for change in the status of encrypted items and
13390 adjust auto-save inhibitions accordingly.
13392 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13393 according to whether there are or aren't any plain-text topics
13394 pending encryption.
13396 (allout-inhibit-auto-save-info-for-decryption):
13397 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13398 if there are plain-text topics pending encryption.
13400 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13401 buffer-saved-size and some allout state to not inhibit auto-saves
13402 if there are no longer any plain-text topics pending encryption.
13404 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13405 No longer provide for exemption of the current topic.
13407 2011-07-04 Juri Linkov <juri@jurta.org>
13409 Add 7z operations to delete and save changed members (bug#8968).
13410 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13412 (archive-7z-write-file-member): New function.
13413 (archive-7z-summarize): Fix the number of dashes in the
13416 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13418 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13421 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13423 * bindings.el: Ignore next-buffer and previous-buffer in
13424 minibuffer-local-map.
13426 * font-lock.el (font-lock-builtin-face): Change light background
13427 color to dark slate blue (Bug#6693).
13429 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13431 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13433 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13435 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13436 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13437 Add switch-to-buffer.
13439 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13441 * isearch.el (isearch-search-fun-function): Clarify further the
13442 meaning of the function returned.
13444 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13446 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13448 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13449 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13451 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13452 `tramp-default-remote-path' does not exist.
13453 (tramp-send-command-and-read): New optional argument NOERROR.
13454 (tramp-open-connection-setup-interactive-shell)
13455 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13456 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13457 (tramp-process-sentinel): Flush also process' connection property.
13458 (tramp-sh-handle-start-file-process): Do not set process
13459 sentinel. It is done now ...
13460 (tramp-maybe-open-connection): ... here. (Bug#8929)
13462 2011-07-04 MON KEY <monkey@sandpframing.com>
13464 * play/animate.el (animate-string): Doc fixes and allow changing
13465 the buffer name (bug#5417).
13467 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13469 * play/animate.el (animation-buffer-name): Rename from *animate*.
13471 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13473 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13474 This is simpler and helps future-proof the code.
13475 (timer-until): Use time-subtract and float-time.
13476 (timer--time-less-p): Use time-less-p.
13478 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13480 * type-break.el (timep): Use the value of `float-time' to avoid a
13481 byte-compiler warning.
13483 * server.el (server-eval-and-print): Return any result, even nil.
13485 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13487 * type-break.el: Accept time formats that the builtins accept.
13488 (timep, type-break-time-difference): Accept any format that
13489 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13490 This is simpler and helps future-proof the code.
13491 (type-break-time-difference): Round rather than ignoring
13492 subseconds components.
13494 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13496 * info.el (Info-apropos-matches): Make non-interactive, since it
13497 doesn't seem to do anything useful as a command (bug#8829).
13499 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13501 * frame.el (frame-background-mode, frame-set-background-mode):
13502 Move from faces.el.
13503 (frame-default-terminal-background): New function.
13505 * custom.el (custom-push-theme): Don't record faces in `changed'
13506 theme; this doesn't work correctly for per-frame face settings.
13507 (disable-theme): Use face-set-after-frame-default to reset faces.
13508 (custom--frame-color-default): New function.
13510 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13512 * dired.el (dired-flagging-regexp): Remove unused variable
13515 2011-03-29 Kevin Ryde <user42@zip.com.au>
13517 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13518 `perl-Test2' extend to match possible "fail #N" rep count
13521 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13523 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13524 `smtpmail-via-smtp' now returns the error instead of nil.
13526 * isearch.el (isearch-search-fun-function): Clarify the doc string
13529 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13531 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13532 unnecessary spaces (bug#8987).
13534 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13536 * net/network-stream.el (open-network-stream): Use the
13537 :end-of-capability command thoughout.
13539 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13541 * net/network-stream.el (open-network-stream): Add the
13542 :end-of-capability command parameter, used by pop3.el.
13544 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13548 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13549 for list)" (bug#6475).
13551 * files.el (file-expand-wildcards): Ignore non-readable
13552 sub-directories while trying to find matches instead of signaling
13553 an error (bug#6297).
13555 * man.el (Man-reference-regexp): Allow matching possible
13556 word-wrapped references (bug#6289).
13558 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13559 for consistency with the other vc buffers (bug#6197).
13560 (vc-checkin): Ditto.
13562 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13564 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13566 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13568 * custom.el (defcustom): Clarify that :set is only used in the
13569 Customize user interface (bug#6089).
13571 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13572 associated with a file, refuse to run instead of erroring out
13575 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13576 the doc string, since it appears that using `fill-column' always
13577 controls the width (bug#7845).
13579 * simple.el (shell-command-on-region): Say where the error output
13580 went if `shell-command-default-error-buffer' is set (bug#6857).
13582 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13584 * allout.el (allout-yank-processing): Adjust cursor position for
13585 backwards-deleted space.
13587 (allout-rebullet-heading): Register changes with
13588 allout-exposure-changed-hook, so the modified topic is properly
13591 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13593 * minibuffer.el (completion-in-region): Document PREDICATE
13596 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13597 of keyword/argument pairs (bug#6904).
13599 * replace.el (multi-occur):
13600 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13602 2011-07-02 Drew Adams <drew.adams@oracle.com>
13604 * dired.el (dired-mark-if): Make the message about whether it's
13605 marking or unmarking clearer (bug#8523).
13607 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13609 * disp-table.el (display-table-print-array): New function.
13610 (describe-display-table): Use it to print the vectors more pretty
13613 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13615 * window.el (window-state-get-1): Don't assign clone numbers.
13616 Add clone-of item to list of window parameters.
13617 (window-state-put-2): Don't process clone numbers.
13618 (display-buffer-alist): Fix doc-string.
13620 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13622 * subr.el (remq): Don't allocate if it's not needed.
13623 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13624 (keymap--merge-bindings): New functions.
13625 (keymap-canonicalize): Use them to refine the canonicalization.
13626 * minibuffer.el (minibuffer-local-completion-map)
13627 (minibuffer-local-must-match-map): Move initialization from C.
13628 (minibuffer-local-filename-completion-map): Move initialization from C;
13629 don't inherit from anything here.
13630 (minibuffer-local-filename-must-match-map): Make obsolete.
13631 (completing-read-default): Use make-composed-keymap to combine
13632 minibuffer-local-filename-completion-map with either
13633 minibuffer-local-must-match-map or
13634 minibuffer-local-filename-completion-map.
13636 2011-07-01 Glenn Morris <rgm@gnu.org>
13638 * type-break.el (type-break-time-sum): Use dolist.
13640 * textmodes/flyspell.el (flyspell-word-search-backward):
13641 Replace CL function.
13643 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13645 * mouse.el (mouse--strip-first-event): New function.
13646 (function-key-map): Use it to map fringe clicks to normal clicks
13649 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13650 (vc-bzr-revision-completion-table): Add support for annotate and date.
13652 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13653 inherit from parent.
13655 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13657 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13658 (dired-show-file-type): Doc fixup (bug#8818).
13660 * dired.el (dired-mode): Fix up the doc string as suggested by
13661 Drew Adams (bug#8817).
13663 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13664 cookie, since the manual says that it should be possible to add
13665 this function to `find-file-hook' (bug#8709).
13667 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13669 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13670 here. Noted Ted Zlatanov as the maintainer.
13671 (cfengine-common-settings, cfengine-common-syntax): New functions
13672 to set up common things between `cfengine-mode' and
13674 (cfengine3-mode): New mode.
13675 (cfengine3-defuns cfengine3-defuns-regex
13676 (cfengine3-class-selector-regex cfengine3-category-regex)
13677 (cfengine3-vartypes cfengine3-font-lock-keywords)
13678 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13679 (cfengine3-indent-line): Add from cfengine3.el.
13681 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13683 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13685 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13687 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13689 * window.el (same-window-buffer-names, same-window-regexps)
13690 (same-window-p, special-display-frame-alist)
13691 (special-display-popup-frame, special-display-function)
13692 (special-display-buffer-names, special-display-regexps)
13693 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13694 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13695 (split-window-preferred-function, split-height-threshold)
13696 (split-width-threshold, even-window-heights)
13697 (display-buffer-mark-dedicated, window-splittable-p)
13698 (split-window-sensibly, window-safely-shrinkable-p):
13700 (display-buffer): Don't spread args with function specifier
13701 because special-display-popup-frame won't like it.
13703 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13705 Time-stamp simplifications and fixes.
13706 These improve accuracy slightly, and future-proof the code
13707 against some potential changes to current-time format.
13709 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13710 by using time-since and float-time.
13712 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13713 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13714 + NNN microseconds".
13716 * type-break.el (type-break-time-sum): Rewrite using time-add.
13718 * play/hanoi.el (hanoi-current-time-float): Remove.
13719 All uses replaced by float-time.
13721 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13722 This yields a more-accurate answer.
13723 (rng-time-to-float): Remove; no longer needed.
13725 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13727 * calendar/timeclock.el (timeclock-seconds-to-time):
13728 Defalias to seconds-to-time, since they're the same thing.
13730 * emacs-lisp/elp.el (elp-elapsed-time):
13731 * emacs-lisp/benchmark.el (benchmark-elapse):
13732 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13734 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13736 * window.el (bury-buffer): Don't iconify the only frame.
13737 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13738 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13740 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13742 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13743 Add mouse-yank-primary.
13745 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13747 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13749 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13752 (find-library-name): Use it to find relative load names when provided
13753 absolute file name (bug#8803).
13755 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13757 * textmodes/flyspell.el (flyspell-word): Consider words that
13758 differ only in case as potential doublons (bug#5687).
13760 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13761 Remove two rather uninteresting debugging-like messages to make
13762 debbugs.el more silent.
13764 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13765 a password-like phrase.
13767 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13769 * progmodes/cc-guess.el: New file.
13771 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13773 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13774 derived from `c-basic-common-init'.
13776 * progmodes/cc-mode.el (top-level): Require cc-guess.
13777 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13779 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13781 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13783 2011-06-30 Alan Mackenzie <acm@muc.de>
13785 * progmodes/cc-engine.el (c-guess-continued-construct):
13786 Correct the handling of template-args-cont, particularly for when font
13787 lock is disabled. Name this case as "CASE G".
13789 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13791 * allout.el (allout-yank-processing): Fix injection of extra space
13792 between bullet and non-whitespace character in first topic when
13793 pasting, ensuring that the actual spacing in the pasted topic
13794 following the bullet char is preserved. This extra space was
13795 causing pasted encrypted topics to get a decrypted status even
13796 when the content was actually still encrypted. Now the decryption
13797 status from before the paste is preserved.
13799 (allout-flag-region): Set all allout overlays so they evaporate
13800 when reduced to zero length (evanescent), to prevent overlay
13803 2011-06-30 Glenn Morris <rgm@gnu.org>
13805 * w32-fns.el (w32-charset-info-alist): Declare.
13807 * find-dired.el (find-grep-options): Simplify.
13809 * term/ns-win.el (ns-set-resource): Declare.
13811 * ses.el (row, col): Declare dynamic variables honestly.
13813 * textmodes/reftex-parse.el (index-tags): Declare.
13815 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13817 * cus-edit.el (customize-push-and-save): New function.
13819 * files.el (hack-local-variables-confirm): Use it.
13821 * custom.el (load-theme): New arg NO-CONFIRM.
13822 Use customize-push-and-save (Bug#8720).
13823 (custom-enabled-themes): Doc fix.
13825 * cus-theme.el (customize-create-theme)
13826 (custom-theme-merge-theme): Callers to load-theme changed.
13828 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13830 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13831 short URLs have at least one dot in them (bug #7614).
13833 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13834 nil, because using a pty is apparently too slow (bug #895).
13836 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13838 * mail/sendmail.el (sendmail-query-once): New function.
13839 (sendmail-query-once-function): New variable.
13841 2011-06-29 Glenn Morris <rgm@gnu.org>
13843 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13845 * ses.el (top-level): Require cl when compiling.
13846 (ses-set-localvars): Fix error statement.
13847 Call it at compile time to silence a storm of warnings.
13849 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13851 * window.el (normalize-live-buffer): Rename to
13852 window-normalize-buffer.
13853 (normalize-live-frame): Rename to window-normalize-frame.
13854 (normalize-any-window): Rename to window-normalize-any-window.
13855 (normalize-live-window): Rename to window-normalize-live-window.
13856 (make-window-atom): Rename to window-make-atom.
13857 (window-resize-reset): Rename to window--resize-reset.
13858 (window-resize-reset-1): Rename to window--resize-reset-1.
13859 (resize-mini-window): Rename to window--resize-mini-window.
13860 (resize-subwindows-skip-p): Rename to
13861 window--resize-subwindows-skip-p.
13862 (resize-subwindows-normal): Rename to
13863 window--resize-subwindows-normal.
13864 (resize-subwindows): Rename to window--resize-subwindows.
13865 (resize-other-windows): Rename to window--resize-siblings.
13866 (resize-this-window): Rename to window--resize-this-window.
13867 (resize-root-window): Rename to window--resize-root-window.
13868 (resize-root-window-vertically): Rename to
13869 window--resize-root-window-vertically.
13870 (normalize-buffer-to-display): Rename to
13871 window-normalize-buffer-to-display.
13872 (normalize-buffer-to-switch-to): Rename to
13873 window-normalize-buffer-to-switch-to.
13874 Correspondingly update all callers of the functions listed
13876 (display-buffer-alist, display-buffer-normalize-arguments)
13877 (display-buffer-normalize-options, display-buffer)
13878 (display-buffer-alist-set): Use "function" instead of
13881 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13883 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13884 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13885 debbugs.gnu.org. Mention acknowledgment email.
13887 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13889 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13890 buffer multibyteness, since it shouldn't matter.
13892 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13894 * window.el (display-buffer-in-side-window): Handle dedicated
13895 windows as in display-buffer-reuse-window.
13896 (display-buffer-normalize-alist): Use value of override
13898 (display-buffer-normalize-specifiers): Use value of
13899 other-window-means-other-frame specifier.
13900 (display-buffer-alist): Rewrite some texts in widgets.
13901 (display-buffer): Spread arguments when calling function
13902 specified by fun-with-args.
13904 2011-06-28 Deniz Dogan <deniz@dogan.se>
13906 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13909 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13910 selectors (Bug#5732).
13911 (css-proprietary-nmstart-re): Use `regexp-opt'.
13913 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13915 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13916 (eshell-ls-date-format): New defcustom.
13917 (eshell-ls-file): Use it.
13919 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13921 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13923 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13925 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13926 (ange-ftp-make-tmp-name): New arg.
13927 (ange-ftp-file-local-copy): Use it.
13929 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13931 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13932 no-conversion (Bug#8870).
13934 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13936 * window.el (window-right, window-left, window-child)
13937 (window-child-count, window-last-child)
13938 (window-iso-combination-p, walk-window-tree-1)
13939 (window-atom-check-1, window-tree-1, delete-window)
13940 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13941 new naming conventions - window-vchild, window-hchild,
13942 window-next and window-prev are now called window-top-child,
13943 window-left-child, window-next-sibling and window-prev-sibling
13945 (resize-window-reset): Rename to window-resize-reset.
13946 (resize-window-reset-1): Rename to window-resize-reset-1.
13947 (resize-window): Rename to window-resize.
13948 (window-min-height, window-min-width)
13949 (resize-mini-window, resize-this-window, resize-root-window)
13950 (resize-root-window-vertically, adjust-window-trailing-edge)
13951 (enlarge-window, shrink-window, maximize-window)
13952 (minimize-window, delete-window, quit-restore-window)
13953 (split-window, balance-windows, balance-windows-area-adjust)
13954 (balance-windows-area, window-state-put-2)
13955 (display-buffer-even-window-sizes, display-buffer-set-height)
13956 (display-buffer-set-width, set-window-text-height)
13957 (fit-window-to-buffer): Rename all "resize-window" prefixed
13958 calls to use the "window-resize" prefix convention.
13959 (display-buffer-alist): Fix symbol for label specifier.
13960 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13961 corresponding specifier.
13962 Reported by Juanma Barranquero <lekktu@gmail.com>.
13964 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
13966 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13968 (ses-call-printer): Does not pass an empty string to formatter when the
13969 cell is empty to keep from barking printer Calc math-format-value.
13971 2011-06-27 Richard Stallman <rms@gnu.org>
13973 * battery.el (battery-mode-line-limit): New variable.
13974 (battery-update): Handle it.
13976 * mail/rmailmm.el (rmail-mime-process-multipart):
13977 Handle truncated messages.
13979 2011-06-27 Glenn Morris <rgm@gnu.org>
13981 * progmodes/flymake.el (flymake-err-line-patterns):
13982 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13984 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
13986 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13987 (ses--clean-!, ses--clean-_): New functions.
13988 (ses-range): Add configurability of readout order, and conversion
13991 * ses.el (ses-repair-cell-reference-all): New function.
13992 (ses-cell-symbol): Set macro as safe, so that it can be used in
13995 * ses.el: Update cycle detection algorithm.
13996 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13997 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13998 (ses-set-localvars): New function.
13999 (ses-make-cell): Add property-list as a cell element.
14000 (ses-cell-property-get-fun, ses-cell-property-get)
14001 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14002 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14004 (ses-cell-property-set, ses-cell-property-pop)
14005 (ses-cell-property-get-handle): New macro.
14006 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14007 New aliases, used for code readability.
14008 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14010 (ses-self-reference-early-detection): New defcustom.
14011 (ses-formula-references): Robustify against self-referring cells.
14012 (ses-mode): Use ses-set-localvars.
14013 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14014 before lauching the update processing.
14015 (ses-initialize-Dijkstra-attempt): New function.
14016 (ses-recalculate-cell): Update for cycle detection based on
14017 Dijkstra algorithm.
14019 * ses.el: Fix commenting and indenting convention.
14021 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14023 * bs.el (bs-cycle-next): Complete last change.
14025 2011-06-27 Drew Adams <drew.adams@oracle.com>
14027 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14029 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14031 * net/network-stream.el (network-stream-open-starttls):
14032 Don't re-get capabilities unless we've reestablished connection.
14033 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14035 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14036 to binary to possibly avoid line encoding issues on Windows (among
14039 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14041 * net/network-stream.el (open-network-stream): Return an :error
14042 saying what the problem was, if possible.
14044 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14047 * net/network-stream.el (network-stream-open-starttls): If we
14048 wanted to use STARTTLS, and the server offered it, but we weren't
14049 able to because we had no STARTTLS support, then close the connection.
14050 (open-network-stream): Return an :error element, if present.
14052 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14054 * hl-line.el (hl-line-sticky-flag): Doc fix.
14055 (global-hl-line-sticky-flag): New option (Bug#8323).
14056 (global-hl-line-highlight): Obey it.
14058 * vc/vc.el (vc-revert-show-diff): Default to t.
14060 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14062 * allout-widgets.el (allout-widgets-post-command-business):
14063 Stop decorating intermediate isearch matches. They're not being
14064 undecorated when an isearch is continued past, and isearch
14065 automatically collapses them. This leads to "widget leaks", where
14066 decorated items accumulate in collapsed areas. Lines with lots of
14067 hidden widgets can slow down cursor travel, substantially.
14068 Too much complicated machinery would be needed to ensure undecoration,
14069 so we're doing without this nicety.
14071 (allout-widgets-tally-string): Don't try to do a hash-table-count
14072 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14073 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14074 *Messages* when allout-widgets-maintain-tally is t.
14076 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14078 * window.el (display-buffer-normalize-argument): Rename to
14079 display-buffer-normalize-arguments. Handle special meaning of
14080 LABEL argument. Respect special-display-function when popping up
14081 a new frame. Fix code searching for a window showing the buffer
14083 (display-buffer-normalize-specifiers):
14084 Call display-buffer-normalize-arguments.
14085 (display-buffer-in-window): Don't undedicate the window if its
14086 buffer remains the same.
14087 Reported by Drew Adams <drew.adams@oracle.com>.
14088 (display-buffer-alist): Add choice for same-window macro
14090 (display-buffer): Mention special meaning of LABEL argument in
14091 doc-string. Fix quoting. Don't pop up a new frame even as
14094 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14096 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14097 avoid deleting the current window in some cases (bug#8911).
14099 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14101 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14104 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106 * net/network-stream.el (network-stream-open-starttls):
14107 Use built-in TLS support if `gnutls-available-p' is true.
14108 (network-stream-open-tls): Ditto.
14110 2011-06-26 Leo Liu <sdl.web@gmail.com>
14112 * register.el (registerv): New struct.
14113 (registerv-make): New function.
14114 (jump-to-register, describe-register-1, insert-register):
14115 Support the jump-func, print-func and insert-func slot of a registerv
14118 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14120 * vc/vc.el (vc-revert-show-diff): New defcustom.
14121 (vc-diff-internal): New arg specifying diff buffer.
14122 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14123 reuse an existing *vc-diff* buffer (Bug#8927).
14125 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14127 2011-06-26 Glenn Morris <rgm@gnu.org>
14129 * progmodes/f90.el (f90-critical-indent): New option.
14130 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14131 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14132 (f90-mode): Doc fix.
14133 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14134 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14135 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14136 (f90-match-end): Handle block, critical.
14138 2011-06-25 Glenn Morris <rgm@gnu.org>
14140 * calendar/diary-lib.el (diary-included-files): Doc fix.
14141 (diary-include-files): New function, extracted from
14142 diary-include-other-diary-files and diary-mark-included-diary-files.
14143 (diary-include-other-diary-files, diary-mark-included-diary-files):
14144 Just call diary-include-files.
14145 (diary-mark-entries): Reset diary-included-files on first call.
14147 * calendar/diary-lib.el (diary-mark-entries)
14148 (diary-mark-included-diary-files):
14149 Visit included diary-files in temp buffers.
14151 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14152 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14153 (f90-start-block-re, f90-imenu-generic-expression)
14154 (f90-looking-at-program-block-start, f90-no-block-limit):
14155 Add support for submodules.
14157 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14158 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14160 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14162 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14163 buffer-file-type before setting its value, to avoid disastrous
14164 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14166 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14168 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14170 * ses.el (ses-unload-function):
14171 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14173 * proced.el (proced-unload-function):
14174 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14176 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14178 * server.el (server-create-window-system-frame): Add parameters arg.
14179 (server-process-filter): Doc fix. Handle frame-parameters.
14181 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14183 Fix bug#8730, bug#8781.
14185 * loadhist.el (unload--set-major-mode): New function.
14186 (unload-feature): Use it.
14188 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14189 (python-unload-function): New function.
14191 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14193 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14195 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14197 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14198 the candidates list.
14200 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14202 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14204 2011-06-23 Richard Stallman <rms@gnu.org>
14206 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14207 (rmail-variables): Set next-error-move-function.
14208 (rmail-what-message): Take argument POS.
14209 (rmail-next-error-move): New function.
14211 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14213 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14214 messages for adjacent non-terminals.
14216 2011-06-23 Richard Stallman <rms@gnu.org>
14218 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14219 (rmail-show-message-1): Preserve buffer modified flag.
14220 (rmail-start-mail): Don't specify use of rmail-mail-return;
14221 that's done by mail-bury now.
14222 (rmail-mail-return): Handle arg NEWBUF.
14224 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14226 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14229 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14231 * window.el (get-lru-window, get-mru-window)
14232 (get-largest-window): Never return a minibuffer window.
14233 (display-buffer-pop-up-window): Fix a bug that could lead to
14234 reusing the minibuffer window.
14235 (display-buffer): Pass original specifier argument to
14236 display-buffer-function instead of the normalized one.
14237 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14239 2011-06-22 Leo Liu <sdl.web@gmail.com>
14241 * minibuffer.el (completing-read-function)
14242 (completing-read-default): Move from minibuf.c
14244 2011-06-22 Richard Stallman <rms@gnu.org>
14246 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14247 to Rmail even if not started by a special Rmail command.
14249 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14250 Copy the buffer currently showing just one message.
14252 2011-06-22 Roland Winkler <winkler@gnu.org>
14254 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14255 (bibtex-clean-entry): First delete the old key so that a
14256 customized algorithm for generating the new key does not get
14257 confused by the old key.
14258 (bibtex-url): Obey regexp of first step.
14259 (bibtex-search-entries): Do not use add-to-list with local
14262 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14264 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14265 stored a user name, then query for the password first, instead of
14266 waiting for SMTP to give an error message and the trying again.
14268 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14270 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14271 BUFFER in call-process.
14273 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14275 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14277 (smtpmail-try-auth-methods): Require user name and password from
14280 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14282 * window.el (display-buffer-default-specifiers)
14283 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14284 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14285 (split-window): Normalize SIDE argument (Bug#8916).
14287 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14288 (special-display-frame-alist, special-display-popup-frame):
14289 Remove duplicate declarations. These are now in window.el.
14291 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14293 * mail/smtpmail.el (smtpmail-via-smtp):
14294 Set :use-starttls-if-possible so that we always use STARTTLS if the
14295 server supports it. SMTP servers that support STARTTLS commonly
14298 * net/network-stream.el (network-stream-open-starttls): Support
14299 upgrading to STARTTLS always, even if we don't have built-in support.
14300 (open-network-stream): Add the :always-query-capabilities keyword.
14302 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14303 upgrades with `open-network-stream', and rely solely on
14304 auth-source for all credentials. Big changes throughout the file,
14306 (smtpmail-auth-credentials): Remove.
14307 (smtpmail-starttls-credentials): Remove.
14308 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14311 * net/network-stream.el (network-stream-open-starttls):
14312 Provide support for client certificates both for external and built-in
14314 (auth-source): Require.
14315 (open-network-stream): Document the :client-certificate keyword.
14316 (network-stream-certificate): Change cert-cert to cert and
14319 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14321 * net/tramp-cache.el (top): Don't load the persistency file when
14322 "emacs -Q" has been called.
14324 2011-06-21 Tim Harper <timcharper@gmail.com>
14326 * term/ns-win.el (ns-initialize-window-system):
14327 Set application-specific `ApplePressAndHoldEnabled' system
14328 resource to NO as it is not yet supported by the NS port.
14330 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14332 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14333 (list-dynamic-libraries): ...not here.
14335 2011-06-21 Leo Liu <sdl.web@gmail.com>
14337 * subr.el (sha1): Implement sha1 using secure-hash.
14339 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14341 * window.el (display-buffer-alist): In default value do not
14342 enforce searching a window on any but the selected frame.
14343 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14344 (display-buffer-select-window): Remove function.
14345 (display-buffer-in-window): When a window on another frame gets
14346 reused, do not select it any more but just raise its frame if
14347 necessary (Bug#8851) and (Bug#8856).
14348 (display-buffer-normalize-options): Handle pop-up-frames related
14349 options more faithfully.
14350 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14351 window if it is on another frame.
14352 (display-buffer-alist, display-buffer-default-specifiers):
14353 Don't make new frame unsplittable by default.
14354 (display-buffer-normalize-argument): Fix doc-string typo and use
14355 'same-frame-other-window instead of 'other-window when associating
14356 with display-buffer-macro-specifiers.
14358 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14360 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14362 (5x5-mode-map, 5x5-mode-menu): Bind them.
14363 (5x5-draw-grid): Tweak the solver's rendering.
14365 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14367 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14368 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14370 2011-06-21 Drew Adams <drew.adams@oracle.com>
14372 * menu-bar.el: Use function variable instead of switch-to-buffer.
14373 (menu-bar-select-buffer-function): New variable.
14374 (menu-bar-update-buffers): Use it (bug#8876).
14376 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14378 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14381 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14383 * x-dnd.el (x-dnd-version-from-flags)
14384 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14385 and long as number (Bug#8899).
14386 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14388 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14391 (completion-try-completion, completion-all-completions): Compute the
14392 metadata argument if it's missing; make it optional (bug#8795).
14394 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14395 (widget-complete): Use new :completion-function property.
14396 (widget-completions-at-point): New function.
14397 (default): Use :completion-function instead of :complete.
14398 (widget-default-completions): Rename from widget-default-complete;
14400 (widget-string-complete, widget-file-complete, widget-color-complete):
14402 (file, symbol, function, variable, coding-system, color):
14403 * international/mule-cmds.el (default-input-method, charset)
14404 (language-info-custom-alist):
14405 * cus-edit.el (face): Use new property :completions.
14407 * progmodes/pascal.el (pascal-completions-at-point): New function.
14408 (pascal-mode): Use it.
14409 (pascal-mode-map): Use completion-at-point.
14410 (pascal-toggle-completions): Make obsolete.
14411 (pascal-complete-word, pascal-show-completions):
14412 * progmodes/octave-mod.el (octave-complete-symbol):
14413 Redefine as obsolete alias.
14414 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14415 Signal absence of completion info for old Octave,
14416 (inferior-octave-complete): Redefine as obsolete alias.
14417 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14418 (meta-completions-at-point): Rename from meta-complete-symbol and
14419 adapt it for use on completion-at-point-functions.
14420 (meta-common-mode): Use it.
14421 (meta-looking-at-backward, meta-match-buffer): Remove.
14422 (meta-complete-symbol): Redefine as obsolete alias.
14423 (meta-common-mode-map): Use completion-at-point.
14424 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14425 (makefile-mode-map): Use completion-at-point.
14426 (makefile-completions-at-point): Rename from makefile-complete and
14427 adapt it for use on completion-at-point-functions.
14428 (makefile-mode): Use it.
14429 (makefile-complete): Redefine as obsolete alias.
14431 2011-06-20 Deniz Dogan <deniz@dogan.se>
14433 * net/rcirc.el: Delete trailing whitespaces once and for all.
14435 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14437 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14439 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14441 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14443 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14445 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14447 * window.el (display-buffer-other-window-means-other-frame):
14448 Call display-buffer-normalize-alist.
14449 (display-buffer-normalize-specifiers-1): Rename to
14450 display-buffer-normalize-argument. New argument other-frame.
14452 (display-buffer-normalize-specifiers-2): Rename to
14453 display-buffer-normalize-options.
14454 (display-buffer-normalize-alist-1): New function.
14455 (display-buffer-normalize-specifiers-3): Rename to
14456 display-buffer-normalize-alist.
14457 Call display-buffer-normalize-alist-1.
14458 (display-buffer-normalize-options-inhibit): New variable.
14459 (display-buffer-normalize-specifiers): Rewrite calling
14460 display-buffer-normalize-alist,
14461 display-buffer-normalize-argument, and
14462 display-buffer-normalize-options. Don't call the latter if
14463 display-buffer-normalize-options-inhibit is non-nil.
14464 (frame-auto-delete): New option.
14465 (window-deletable-p): Use frame-auto-delete.
14466 (window-list-no-nils, window-state-ignored-parameters)
14467 (window-state-get-1, window-state-get, window-state-put-list)
14468 (window-state-put-1, window-state-put-2, window-state-put):
14470 (display-buffer-normalize-options): Move special-display-p group
14471 after pop-up-frame group (Bug#8851) and (Bug#8856).
14473 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14475 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14477 (rx-submatch-n): New function.
14480 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14483 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14485 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14487 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14488 anytime existing face settings are present (Bug#8889).
14490 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14491 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14492 Remove unused argument.
14494 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14496 * window.el (display-buffer-default-specifiers):
14497 Remove pop-up-frame. Add pop-up-window-min-height,
14498 pop-up-window-min-width, and another reuse-window specifier
14499 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14500 (display-buffer-normalize-specifiers-2):
14501 Handle split-height-threshold and split-width-threshold also when
14502 pop-up-windows is unset. Add a reuse-window specifier for the
14503 case popping up a new window fails.
14504 (special-display-popup-frame): Remove double quoting.
14505 (display-buffer-normalize-specifiers-1): Fix thinko.
14507 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14509 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14510 according to comint-completion-addsuffix.
14512 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14513 (pcomplete-suffix-list): Mark as obsolete.
14514 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14515 pcomplete-seen in the closure.
14516 (pcomplete-comint-setup): Setup completion-at-point as well.
14517 (pcomplete--entries): New function.
14518 (pcomplete--env-regexp): New var.
14519 (pcomplete-entries): Rewrite to work with partial-completion and
14520 without relying on pcomplete-suffix-list.
14521 (pcomplete-pare-list): Remove, unused.
14523 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14525 * window.el (display-buffer-alist): Set pop-up-window-min-height
14526 and pop-up-window-min-width in default value. Reported by
14527 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14528 other-window-means-other-frame.
14529 (display-buffer-macro-specifiers): Comment out entry for
14530 other-window specifier.
14531 (display-buffer-other-window-means-other-frame): New function.
14532 (display-buffer-normalize-specifiers-1): New arguments
14533 buffer-name and label. Treat other-window case specially.
14534 (display-buffer-normalize-specifiers-2): Treat other-window case
14536 (display-buffer-normalize-specifiers-3): New function.
14537 (display-buffer-normalize-specifiers):
14538 Call display-buffer-normalize-specifiers-3.
14540 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14542 * window.el (same-window-p): Fix two typos introduced when
14543 adding with-no-warnings.
14544 (display-buffer-normalize-specifiers-1): Don't check
14545 pop-up-frames for 'unset initialization.
14546 (display-buffer-normalize-specifiers-2): Major rewrite using
14547 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14548 (pop-up-frames, display-buffer-reuse-frames)
14549 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14550 Suggested by David Engster <deng@randomsample.de>.
14551 (even-window-heights): Initialize to 'unset.
14552 (display-buffer-alist-set): Handle new 'unset initializations.
14553 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14556 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14558 * window.el (display-buffer-normalize-specifiers-1):
14559 Respect current value of pop-up-frames for most reasonable values of
14560 second argument of display-buffer (Bug#8865).
14561 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14562 (switch-to-buffer-other-window-same-frame)
14563 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14565 (display-buffer): Don't check noninteractive when calling
14566 display-buffer-pop-up-frame.
14567 (display-buffer-pop-up-frame): Never pop up a frame in
14568 noninteractive mode (Bug#8857).
14569 (enlarge-window, shrink-window): Don't report an error when the
14570 window can't be resized as requested (Bug#8862).
14572 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14574 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14576 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14578 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14580 2011-06-15 Alan Mackenzie <acm@muc.de>
14582 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14583 for declarators, disable knr checking to speed up for normal files.
14584 2: Refactor, replacing a sequence of nested if forms by a cond form.
14586 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14588 * net/network-stream.el (open-network-stream): Add the keyword
14589 :always-query-capabilities for the case where you want to force a
14590 `plain' network connection, but the protocol still requires the
14591 capabilitiy command (i.e., SMTP and EHLO).
14593 * subr.el (process-live-p): Rename from `process-alive-p' for
14594 consistency with other `-live-p' functions.
14596 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14598 * window.el (same-window-buffer-names, same-window-regexps)
14599 (special-display-frame-alist, special-display-popup-frame)
14600 (special-display-function, special-display-buffer-names)
14601 (special-display-regexps, pop-up-frame-alist)
14602 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14603 (pop-up-windows, split-window-preferred-function)
14604 (split-height-threshold, split-width-threshold, even-window-heights)
14605 (display-buffer-mark-dedicated): Don't encourage the use of
14606 display-buffer-alist from Elisp code.
14608 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14610 * progmodes/python.el (python-mode): Derive from prog-mode.
14611 * progmodes/ps-mode.el (ps-mode):
14612 * progmodes/mixal-mode.el (mixal-mode):
14613 * progmodes/cfengine.el (cfengine-mode):
14614 * progmodes/ld-script.el (ld-script-mode): Likewise.
14616 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14618 * window.el (display-buffer-alist): Trim default value to avoid
14619 popping up a new frame (Bug#8857) or reusing an arbitrary window
14621 (display-buffer): Do not fall back on popping up a new frame in
14622 batch mode (Bug#8857).
14624 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14626 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14627 (custom-theme-summary): New function.
14628 (customize-themes): Use it.
14630 2011-06-13 Glenn Morris <rgm@gnu.org>
14632 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14634 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14636 * help.el (help-window): Remove variable.
14637 (help-window-point-marker, temp-buffer-max-height)
14638 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14639 (help-print-return-message): Don't set help-window.
14640 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14641 (help-window-setup-finish): Remove.
14642 (help-window-display-message, help-window-setup)
14643 (with-help-window): Major rewrite based on new
14644 display-buffer-window variable.
14646 * help-mode.el (help-mode-finish): Remove help-window related
14649 * view.el (view-exits-all-viewing-windows): Remove reference to
14650 view-return-to-alist in doc-string.
14651 (view-return-to-alist): Make obsolete.
14652 (view-buffer): Call pop-to-buffer-same-window and remove
14654 (view-buffer-other-window): Call pop-to-buffer-other-window and
14655 simplify code. Ignore second argument.
14656 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14657 simplify code. Ignore second argument.
14658 (view-return-to-alist-update): Make obsolete.
14659 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14660 Rewrite using quit-restore window parameters.
14661 (view-mode-exit): Rename second argument to EXIT-ONLY.
14662 Rewrite using quit-restore-window.
14663 (View-exit, View-exit-and-edit, View-leave, View-quit)
14664 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14665 appropriate arguments.
14666 (view-end-message): Use quit-restore window parameter.
14668 * window.el (display-buffer-function): Rewrite doc-string.
14669 (display-buffer-window, display-buffer-alist): New variables.
14670 (display-buffer-split-specifiers)
14671 (display-buffer-side-specifiers)
14672 (display-buffer-macro-specifiers): New constants.
14673 (display-buffer-even-window-sizes, display-buffer-set-height)
14674 (display-buffer-set-width, display-buffer-select-window)
14675 (display-buffer-in-window, display-buffer-reuse-window)
14676 (display-buffer-split-window-1, display-buffer-split-window)
14677 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14678 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14679 (display-buffer-in-side-window, normalize-buffer-to-display)
14680 (display-buffer-normalize-specifiers-1)
14681 (display-buffer-normalize-specifiers-2)
14682 (display-buffer-normalize-specifiers, display-buffer-frame):
14684 (display-buffer): Major rewrite.
14685 (display-buffer-other-window, display-buffer-other-frame)
14686 (pop-to-buffer, switch-to-buffer-other-window)
14687 (switch-to-buffer-other-frame): Rewrite.
14688 (display-buffer-same-window, display-buffer-same-frame)
14689 (display-buffer-same-frame-other-window)
14690 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14691 (pop-to-buffer-other-window)
14692 (pop-to-buffer-same-frame-other-window)
14693 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14694 (switch-to-buffer-other-window-same-frame): New functions.
14695 (same-window-p, special-display-p): Rewrite disabling warnings.
14697 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14698 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14700 (same-window-buffer-names, same-window-regexps)
14701 (special-display-frame-alist, special-display-popup-frame)
14702 (special-display-function, special-display-buffer-names)
14703 (special-display-regexps, pop-up-frame-alist)
14704 (pop-up-frame-function, split-window-preferred-function)
14705 (split-height-threshold, split-width-threshold)
14706 (even-window-heights): Make obsolete.
14708 2011-06-12 Glenn Morris <rgm@gnu.org>
14710 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14711 Misc simplifications.
14713 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14715 * window.el (window-safely-shrinkable-p): Restore function which
14716 was inadvertently removed in change from 2011-06-11. Declare as
14719 * calendar/calendar.el (calendar-generate-window):
14720 Use window-iso-combined-p instead of combination of one-window-p and
14721 window-safely-shrinkable-p.
14723 2011-06-12 Glenn Morris <rgm@gnu.org>
14725 * progmodes/fortran.el (fortran-mode-syntax-table):
14726 * progmodes/f90.el (f90-mode-syntax-table):
14727 Set % to punctuation. (Bug#8820)
14728 (f90-find-tag-default): Remove, no longer needed.
14730 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14732 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14734 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14736 * image.el (image-animated-p): Return animation delay in seconds.
14737 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14738 (image-animate-timeout): Remove DELAY argument. Don't assume
14739 every subimage has the same delay; get it from image-animated-p.
14740 (image-animate): Caller changed.
14742 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14744 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14745 to ignored backtrace functions.
14747 2011-06-11 Glenn Morris <rgm@gnu.org>
14749 * calendar/appt.el (appt-disp-window-function): Doc fix.
14750 (appt-check): Handle overlapping appointments. (Bug#8337)
14752 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14754 * window.el (window-tree-1, window-tree): New functions, moving
14755 the latter to window.el.
14756 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14757 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14758 (bw-refresh-edges): Remove.
14759 (balance-windows-1, balance-windows-2): New functions.
14760 (balance-windows): Rewrite in terms of window tree functions,
14761 balance-windows-1 and balance-windows-2.
14762 (bw-adjust-window): Remove.
14763 (balance-windows-area-adjust): New function with functionality of
14764 bw-adjust-window but using resize-window.
14765 (set-window-text-height): Rewrite doc-string.
14766 Use normalize-live-window and resize-window.
14767 (enlarge-window-horizontally, shrink-window-horizontally):
14768 Rename argument to DELTA.
14769 (window-buffer-height): New function.
14770 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14771 Rewrite using new window resize routines.
14772 (kill-buffer-and-window, mouse-autoselect-window-select):
14773 Use ignore-errors instead of condition-case.
14774 (quit-window): Call delete-frame instead of delete-windows-on
14775 for the only buffer on frame.
14777 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14779 * loadup.el (top-level): Load window before files for the sake
14780 of replace-buffer-in-windows.
14782 * files.el (read-buffer-to-switch)
14783 (switch-to-buffer-other-window)
14784 (switch-to-buffer-other-frame, display-buffer-other-frame):
14787 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14788 (previous-buffer): Move to window.el.
14790 * bindings.el (unbury-buffer): Move to window.el.
14792 * window.el (delete-other-windows-vertically): Move after
14793 definition of delete-other-windows.
14794 (other-window, delete-windows-on, replace-buffer-in-windows):
14795 Move here from window.c.
14796 (record-window-buffer, unrecord-window-buffer)
14797 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14798 (switch-to-next-buffer): New functions.
14799 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14800 from simple.el. Call switch-to-next-buffer.
14801 (previous-buffer): Move here from simple.el.
14802 Call switch-to-prev-buffer.
14803 (bury-buffer): Move here from buffer.c. Switch to previous
14804 buffer when window cannot be deleted.
14805 (unbury-buffer): Move here from bindings.el.
14806 (ctl-x-map): Move binding for other-window from window.c to
14808 (read-buffer-to-switch, switch-to-buffer-other-window)
14809 (switch-to-buffer-other-frame): Move here from files.el.
14810 (normalize-buffer-to-switch-to): New functions.
14811 (switch-to-buffer): Move here from buffer.c.
14812 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14814 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14816 * window.el (window-min-height, window-min-width): Move here
14817 from window.c. Add defcustoms and rewrite doc-strings.
14818 (resize-mini-window, resize-window): New functions.
14819 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14820 Move here from window.c.
14821 (maximize-window, minimize-window): New functions.
14822 (delete-window, delete-other-windows, split-window): Move here
14824 (window-split-min-size): New function.
14825 (split-window-keep-point): Mention split-window-above-each-other
14826 instead of split-window-vertically.
14827 (split-window-above-each-other, split-window-vertically):
14828 Rename split-window-vertically to split-window-above-each-other
14829 and provide defalias for old definition.
14830 (split-window-side-by-side, split-window-horizontally):
14831 Rename split-window-horizontally to split-window-side-by-side
14832 and provide defalias for the old definition.
14833 (ctl-x-map): Move bindings for delete-window,
14834 delete-other-windows and enlarge-window here from window.c.
14835 Replace bindings for split-window-vertically and
14836 split-window-horizontally by bindings for
14837 split-window-above-each-other and split-window-side-by-side.
14839 * cus-start.el (all): Remove entries for window-min-height and
14840 window-min-width. Add entries for window-splits and
14843 2011-06-09 Glenn Morris <rgm@gnu.org>
14845 * calendar/appt.el (appt-mode-line): New function.
14846 (appt-check, appt-disp-window): Use it.
14848 * files.el (hack-one-local-variable-eval-safep):
14849 Allow minor-modes with explicit +/-1 arguments.
14851 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14853 * term/xterm.el (xterm): Add defgroup.
14854 (xterm-extra-capabilities): Add defcustom to supply known xterm
14855 capabilities, skip querying them, or query them (default).
14856 (terminal-init-xterm): Use it.
14857 (terminal-init-xterm-modify-other-keys): New function to set up
14858 modifyOtherKeys support to simplify `terminal-init-xterm'.
14860 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14862 * window.el (resize-window-reset, resize-window-reset-1)
14863 (resize-subwindows-skip-p, resize-subwindows-normal)
14864 (resize-subwindows, resize-other-windows, resize-this-window)
14865 (resize-root-window, resize-root-window-vertically)
14866 (window-deletable-p, window-or-subwindow-p)
14867 (frame-root-window-p): New functions.
14869 2011-06-09 Glenn Morris <rgm@gnu.org>
14871 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14872 (ange-ftp-get-files): Use it.
14874 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14876 * mail/sendmail.el (mail-recover-1, mail-recover):
14877 * files.el (recover-file, recover-session):
14878 Handle dired-listing-switches not being just a single short option.
14880 2011-06-09 Glenn Morris <rgm@gnu.org>
14882 * calendar/appt.el (appt-display-message, appt-disp-window):
14883 Handle lists of appointments.
14885 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14887 * window.el (one-window-p): Move down in code.
14888 Rewrite doc-string.
14889 (window-current-scroll-bars): Rewrite doc-string.
14890 Normalize live window argument.
14891 (walk-windows, get-window-with-predicate, count-windows):
14892 Rewrite doc-string. Use window-list-1.
14893 (window-in-direction-2, window-in-direction, get-mru-window):
14896 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14898 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14899 Doc fix (Bug#8713).
14901 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14903 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14905 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14907 * loadhist.el (unload-feature-special-hooks):
14908 Add `comint-output-filter-functions'.
14910 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14912 * calendar/appt.el (appt-check): Move some initializations into the let.
14914 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14916 * window.el (window-height): Defalias to window-total-height.
14917 (window-width): Defalias to window-body-width.
14919 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14921 * image-mode.el (image-toggle-animation): New command.
14922 (image-mode-map): Bind it to RET.
14923 (image-mode): Update message.
14924 (image-toggle-display-image): Avoid a spurious cache flush.
14925 (image-transform-rotation): Doc fix.
14926 (image-transform-properties): Return quickly in the normal case.
14927 (image-animate-loop): Rename from image-animate-max-time.
14929 * image.el (image-animate-max-time): Move to image-mode.el.
14930 (create-animated-image): Remove unnecessary function.
14931 (image-animate): Rename from image-animate-start. New arg.
14932 (image-animate-stop): Remove; just use image-animate-timer.
14933 (image-animate-timer): Use car-safe.
14934 (image-animate-timeout): Rename argument.
14936 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14938 * window.el (get-lru-window, get-largest-window): Move here from
14939 window.c. Rename first argument to ALL-FRAMES.
14940 Rephrase doc-strings.
14941 (get-buffer-window-list): Rewrite using window-list-1.
14942 Rephrase doc-string.
14943 (window-safe-min-height, window-safe-min-width): New constants.
14944 (window-size-ignore, window-min-size, window-min-size-1)
14945 (window-sizable, window-sizable-p, window-size-fixed-1)
14946 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14947 (window-max-delta-1, window-max-delta, window-resizable)
14948 (window-resizable-p, window-total-height, window-total-width)
14949 (window-body-width): New functions.
14950 (window-full-height-p, window-full-width-p): Rewrite using
14952 (window-body-height): Rewrite using window-body-size.
14954 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14956 * window.el (window-right, window-left, window-child)
14957 (window-child-count, window-last-child, window-any-p)
14958 (normalize-live-buffer, normalize-live-frame)
14959 (normalize-any-window, normalize-live-window)
14960 (window-iso-combination-p, window-iso-combined-p)
14961 (window-iso-combinations)
14962 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14963 (windows-with-parameter, window-with-parameter)
14964 (window-atom-root, make-window-atom, window-atom-check-1)
14965 (window-atom-check, window-side-check, window-check):
14967 (ignore-window-parameters, window-sides, window-sides-vertical)
14968 (window-sides-slots): New variables.
14969 (window-size-fixed): Move down in code. Minor doc-string fix.
14971 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14973 * comint.el (comint-dynamic-complete-as-filename)
14974 (comint-dynamic-complete-filename): Correctly call
14975 completion-in-region.
14977 2011-06-05 Deniz Dogan <deniz@dogan.se>
14979 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14982 2011-06-05 Deniz Dogan <deniz@dogan.se>
14984 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14985 (rcirc): Use it to prompt for encryption.
14987 2011-06-05 Roland Winkler <winkler@gnu.org>
14989 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14990 (bibtex-search-entries): New command bound to C-c C-a.
14991 (bibtex-display-entries): New function.
14993 2011-06-05 Roland Winkler <winkler@gnu.org>
14995 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14996 (bibtex-insert-kill): After yanking insert newline if necessary.
14997 (bibtex-initialize): Call bibtex-string-files-init only once.
14998 (bibtex-mode): Do not call easy-menu-add.
14999 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15000 (bibtex-yank): Set arg properly if nil.
15002 2011-06-05 Roland Winkler <winkler@gnu.org>
15004 * textmodes/bibtex.el (bibtex-search-entry-globally):
15006 (bibtex-search-entry): Use it.
15008 2011-06-05 Roland Winkler <winkler@gnu.org>
15010 * textmodes/bibtex.el (bibtex-entry-format): New option
15012 (bibtex-format-entry, bibtex-reformat): Honor this option.
15013 (bibtex-parse-entry): Return fields in proper order.
15015 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15017 * doc-view.el (doc-view-remove-if): Move computation of result out
15018 of `dolist' to silence misleading lexical-binding warning.
15020 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15022 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15023 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15025 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15027 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15030 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15032 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15033 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15034 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15035 (tramp-parse-putty):
15036 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15037 (tramp-completion-function-alist-ssh)
15038 (tramp-completion-function-alist-telnet)
15039 (tramp-completion-function-alist-su)
15040 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15043 * net/tramp-ftp.el:
15045 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15046 load "tramp.el" `tramp-set-completion-function'.
15048 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15050 * shell.el: Require and use pcomplete.
15051 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15052 (shell-completion-vars): Set pcomplete-default-completion-function.
15054 2011-06-04 Deniz Dogan <deniz@dogan.se>
15056 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15059 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15061 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15063 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15065 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15066 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15067 * vc/log-view.el (log-view-beginning-of-defun):
15068 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15069 (smerge-refine-forward, smerge-refine-chopup-region):
15070 Silence warning for unused `dotimes' counter variables.
15072 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15074 * net/tramp.el (tramp-with-progress-reporter): Rename from
15075 with-progress-reporter. Use `declare'.
15076 * net/tramp-smb.el:
15078 * net/tramp-gvfs.el: Update all uses.
15080 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15082 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15083 buffer isn't killed before making it current.
15085 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15087 Silence various byte-compiler warnings.
15088 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15089 `access-type' and new obsolescence format.
15090 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15092 (byte-compile-check-variable): New `access-type' argument.
15093 Only warn if the access-type is obsolete.
15094 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15095 (byte-compile-variable-set): Adjust callers.
15096 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15097 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15098 setting it as obsolete.
15099 * simple.el (minibuffer-completing-symbol):
15100 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15101 access as obsolete.
15102 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15104 * international/quail.el (quail-mouse-choose-completion): Remove unused
15105 code referring to obsolete var.
15106 (quail-choose-completion-string): Remove.
15107 * server.el (server-clients-with, server-kill-buffer-query-function)
15108 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15109 * proced.el (proced-send-signal):
15110 * emacs-lisp/lisp.el (lisp-complete-symbol):
15111 Replace completion-annotate-function with completion-extra-properties.
15113 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * simple.el (goto-line): Use read-number.
15116 (overriding-map-is-bound): Remove.
15117 (saved-overriding-map): Change default.
15118 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15119 Take the map as argument.
15120 (universal-argument, negative-argument, digit-argument): Use it.
15121 (restore-overriding-map): Adjust.
15122 (do-auto-fill): Use fill-forward-paragraph.
15123 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15125 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15126 (minibuffer-inactive-mode): New major mode.
15127 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15128 the *Messages* buffer" hack.
15129 (mouse-popup-menubar): Don't burp if the event is a normal key.
15131 Miscellaneous tweaks.
15132 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15133 lexical scoping as in subr.el's dolist and dotimes.
15134 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15135 Silence compiler warning.
15136 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15137 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15138 * international/ccl.el (ccl-compile): Trivial simplification.
15139 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15140 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15141 `printflag' argument.
15142 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15143 Purecopy the whole obsolescence data.
15145 2011-06-01 Leo Liu <sdl.web@gmail.com>
15147 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15148 improve doc-string as suggested by Marco Pessotto
15149 <melmothx@gmail.com>.
15150 (rcirc-print): Fix last change.
15152 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15154 * minibuffer.el (complete-with-action): Return nil for the metadata and
15155 boundaries of non-functional tables.
15156 (completion-table-dynamic): Return nil for the metadata.
15157 (completion-table-with-terminator): Add default case, using
15158 complete-with-action.
15159 (completion--metadata): New function.
15160 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15161 to try and avoid pathological performance problems.
15162 (completion--embedded-envvar-table): Return `category' metadata.
15164 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15166 * subr.el (process-alive-p): New tiny convenience function.
15168 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15170 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15171 content but also its previous major mode.
15173 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15175 * emacs-lisp/debug.el (debug): Restore the previous content of the
15176 *Backtrace* buffer when we exit with C-M-c.
15178 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * minibuffer.el: Add metadata method to completion tables.
15181 (completion-category-overrides): New defcustom.
15182 (completion-metadata, completion--field-metadata)
15183 (completion-metadata-get, completion--styles)
15184 (completion--cycle-threshold): New functions.
15185 (completion-try-completion, completion-all-completions):
15186 Add `metadata' argument to choose completion-styles.
15187 (completion--do-completion): Use metadata to choose cycling.
15188 (completion-all-sorted-completions): Use metadata for sorting.
15189 Remove :completion-cycle-penalty which is not needed any more.
15190 (completion--try-word-completion): Add `metadata' argument.
15191 (minibuffer-completion-help): Check metadata for annotation function
15193 (completion-file-name-table): Return `category' metadata.
15194 (minibuffer-completing-file-name): Make obsolete.
15195 * simple.el (minibuffer-completing-symbol): Make obsolete.
15196 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15197 completion-try-completion.
15199 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15201 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15203 2011-05-30 Leo Liu <sdl.web@gmail.com>
15205 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15206 (rcirc-print): Decode all incoming messages (bug#8744).
15207 (rcirc-decode-coding-system): Allow value nil for automatic coding
15210 2011-06-01 Glenn Morris <rgm@gnu.org>
15212 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15214 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15216 * image.el (image-animate-max-time): Allow nil and t values.
15218 (create-animated-image): Doc fix.
15219 (image-animate-start): Remove second arg; just use
15220 image-animate-max-time.
15221 (image-animate-timeout): Doc fix. Args changed.
15223 * image-mode.el (image-toggle-display-image): Ensure that the
15224 image spec passed to the animate timer is the same object as in
15225 the buffer's display property (Bug#6981).
15226 (image-transform-properties): Doc fix.
15228 * image.el (image-animate-max-time): Default to nil.
15230 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15232 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15233 entire buffer list (Bug#8184).
15235 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15237 * image.el (imagemagick-types-inhibit)
15238 (imagemagick-register-types): Doc fix.
15240 2011-05-29 Deniz Dogan <deniz@dogan.se>
15242 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15245 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15247 * select.el: Don't perform clipboard-manager saving in hooks;
15248 leave the hooks empty.
15250 2011-05-28 Leo Liu <sdl.web@gmail.com>
15252 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15253 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15254 (occur-edit-mode): New major mode (Bug#8463).
15255 (occur-after-change-function): New function.
15256 (occur-engine): Give Occur tags a read-only property.
15258 2011-05-28 Kevin Ryde <user42@zip.com.au>
15260 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15262 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15264 * bindings.el (help-echo): Make the initial non-indicator dash
15265 empty on graphical terminals (Bug#7295).
15267 * files.el (auto-mode-alist): Move config rule after the
15268 in-stripping one (Bug#8547).
15270 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15272 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15273 setting (Bug#8740).
15275 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15277 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15278 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15281 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15283 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15285 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15287 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15288 (hs-hide-block-at-point, hs-find-block-beginning)
15289 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15292 2011-05-28 Glenn Morris <rgm@gnu.org>
15294 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15296 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15298 * help-fns.el (describe-function-1): If the function is a derived
15299 major mode, print the parent mode.
15301 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15302 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15304 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15306 * minibuffer.el (completion--capf-wrapper): Check applicability before
15307 returning non-nil for non-exclusive completion data.
15308 * progmodes/etags.el (tags-completion-at-point-function):
15309 * info-look.el (info-lookup-completions-at-point): Mark as
15311 (info-complete): Adjust accordingly.
15313 * info-look.el: Convert to lexical-binding and completion-at-point.
15314 (info-lookup-completions-at-point): New function.
15315 (info-complete): Use it and completion-in-region.
15317 2011-05-28 Drew Adams <drew.adams@oracle.com>
15319 * isearch.el: Let M-e start with point at the first mismatched char.
15320 (isearch-fail-pos): New function.
15321 (isearch-edit-string): Use it.
15323 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15325 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15327 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15329 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15330 traversal functions for avl-trees.
15331 (avl-tree--stack): New struct.
15332 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15333 (avl-tree-enter): Add optional `updatefun' arg.
15334 (avl-tree--do-enter): Add optional `updatefun' arg.
15335 Change return value.
15336 (avl-tree-delete): Add optional `test' and `nilflag' args.
15337 (avl-tree--do-delete): Add `test' and `nilflag' args.
15338 Change return value.
15339 (avl-tree-member): Add optional `nilflag'
15340 (avl-tree-member-p): New function.
15341 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15342 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15343 (avl-tree-stack-empty-p): New functions.
15345 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15346 avl-tree--del-balance1 and make it work both ways.
15347 (avl-tree--del-balance2): Remove.
15348 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15349 make it work both ways.
15350 (avl-tree--enter-balance2): Remove.
15351 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15353 (avl-tree--mapc, avl-tree-map): Add direction argument.
15355 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15357 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15359 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15361 * select.el: Support clipboard managers with built-in function
15362 x-clipboard-manager-save, via delete-frame-functions and
15364 (xselect-convert-to-targets): Add MULTIPLE target to list.
15365 (xselect-convert-to-save-targets): New function.
15367 2011-05-27 Kenichi Handa <handa@m17n.org>
15369 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15370 let-binding rfc2047-encode-encoded-words to nil.
15372 2011-05-27 Glenn Morris <rgm@gnu.org>
15374 * mail/emacsbug.el: Don't require url-util.
15376 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15378 * files.el (set-auto-mode):
15379 Also respect mode: entries at the end of the file. (Bug#8586)
15381 2011-05-26 Glenn Morris <rgm@gnu.org>
15383 * files.el (hack-local-variables-prop-line, hack-local-variables):
15384 Downcase mode names, as seems to be traditional.
15385 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15387 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15388 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15390 2011-05-25 Julien Danjou <julien@danjou.info>
15392 * textmodes/rst.el (rst-define-level-faces): Do not define face
15393 symbol if it is already defined.
15395 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15397 * play/5x5.el (5x5-new-game, 5x5-randomize):
15398 Reset 5x5-solver-output to nil when a new grid is cast.
15399 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15400 these debugging traces, as defmacro breaks the compiled code.
15402 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15404 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15406 2011-05-24 Leo Liu <sdl.web@gmail.com>
15408 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15409 (vc-bzr-sha1): Adapt.
15411 * sha1.el: Remove. Function `sha1' is now builtin.
15413 * bindings.el: Provide sha1 feature.
15415 2011-05-24 Kenichi Handa <handa@m17n.org>
15417 * mail/sendmail.el: Require `rfc2047'.
15418 (mail-insert-from-field): Do not perform RFC2047 encoding.
15419 (mail-encode-header): New function.
15420 (sendmail-send-it): Set buffer-file-coding-system of the work
15421 buffer to the return value of select-message-coding-system.
15422 Call mail-encode-header.
15424 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15426 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15428 * mail/supercite.el (sc-default-cite-frame):
15429 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15431 2011-05-24 Glenn Morris <rgm@gnu.org>
15433 * progmodes/python.el (brm-menu): Declare.
15435 * emulation/viper.el (viper-set-hooks): Declare.
15437 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15438 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15439 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15440 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15441 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15442 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15444 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15446 Add an :exit-function for completion-at-point.
15448 * minibuffer.el (completion--done): New fun.
15449 (completion--do-completion): Use it. New arg `expect-exact'.
15450 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15451 since completion--do-completion does it for us now.
15452 (minibuffer-force-complete): Use completion--done and
15453 completion--replace. Handle sole-completion case with more care.
15454 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15455 (completion-extra-properties): New var.
15456 (completion-annotate-function): Make obsolete.
15457 (minibuffer-completion-help): Adjust accordingly.
15458 Use completion-list-insert-choice-function.
15459 (completion-at-point, completion-help-at-point):
15460 Bind completion-extra-properties.
15461 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15462 * simple.el (completion-list-insert-choice-function): New var.
15463 (completion-setup-function): Preserve it.
15464 (choose-completion): Pay attention to it, shuffle the code a bit.
15465 (choose-completion-string): New arg `insert-function'.
15467 * textmodes/bibtex.el: Convert to lexical binding.
15468 (bibtex-mode-map): Use completion-at-point.
15469 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15470 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15471 (bibtex-complete): Define as obsolete alias.
15472 (bibtex-complete-internal): Remove.
15473 (bibtex-format-entry): Remove unused sub-group in regexp.
15474 * shell.el (shell--command-completion-data)
15475 (shell-environment-variable-completion):
15476 * pcomplete.el (pcomplete-completions-at-point):
15477 * comint.el (comint--complete-file-name-data): Use :exit-function
15478 instead of completion-table-with-terminator so it also works for
15481 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15483 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15485 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15488 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15490 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15492 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15493 customization variable and implement: If non-nil, auto-fill will
15494 be inhibited while on topic's header line.
15496 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15498 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15499 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15500 always have a solution in grid size = 5 cases.
15501 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15502 (5x5-solver-output, 5x5-log-buffer): New vars.
15503 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15504 Make these variables buffer local to achieve 5x5 multi-session-ness.
15505 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15506 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15507 (5x5-solve-suggest): New funs.
15508 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15509 randomize a grid so that we ensure that there is always a solution.
15510 (5x5-make-random-grid): Allow other movement than flipping.
15512 2011-05-23 Kevin Ryde <user42@zip.com.au>
15514 * emacs-lisp/advice.el (ad-read-advised-function):
15515 Use `function-called-at-point' as the default, if it has
15516 advice and passes PREDICATE.
15518 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15520 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15521 byte-compile-lambda if it's actually a lambda.
15523 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15524 Fix function quoting. Use backquote better.
15526 2011-05-22 Yuanle Song <sylecn@gmail.com>
15528 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15529 matching (Bug#8516).
15531 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15533 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15534 different face (Bug#8178).
15536 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15538 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15539 defface (Bug#8144).
15541 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15543 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15544 funcall as well (bug#8712). Warn when performing those conversions.
15545 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15547 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15549 2011-05-22 Glenn Morris <rgm@gnu.org>
15551 * files.el (hack-local-variables-prop-line): Small simplifications.
15552 (hack-local-variables, hack-local-variables-prop-line):
15553 If MODE-ONLY, return the mode, rather than just `t'.
15555 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15557 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15559 2011-05-21 Glenn Morris <rgm@gnu.org>
15561 * files.el (hack-local-variables-prop-line, hack-local-variables):
15562 If only interested in the mode, don't bother doing the other stuff.
15564 * image-mode.el (image-after-revert-hook):
15565 Redraw all frames on which the image is visible. (Bug#8567)
15567 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15569 * wid-edit.el (widget-checklist-match-inline):
15570 Fix 2011-04-19 change. (Bug#8649)
15572 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15574 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15575 Also allow singlespace after single-letter capitals followed by a dot.
15577 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15578 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15580 2011-05-20 Nix <nix@esperi.org.uk>
15582 * files.el (basic-save-buffer-2):
15583 Fix handling of break-hardlink-on-save with non-existent files.
15585 2011-05-19 Deniz Dogan <deniz@dogan.se>
15587 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15588 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15590 2011-05-19 Glenn Morris <rgm@gnu.org>
15592 * progmodes/f90.el (f90-type-def-re):
15593 Handle "type, bind(c)". (Bug#8691)
15595 * emacs-lisp/autoload.el (batch-update-autoloads):
15596 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15598 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15600 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15601 property for the correct connection in case of multihops.
15603 2011-05-18 Glenn Morris <rgm@gnu.org>
15605 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15606 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15608 Rationalize calendar handling of day and month abbrev-arrays.
15609 * calendar/calendar.el (calendar-customized-p): New function.
15610 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15611 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15613 (calendar-abbrev-length, calendar-day-abbrev-array)
15614 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15615 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15616 Elements may no longer be nil.
15617 (calendar-day-name, calendar-month-name):
15618 Update for changed nature of abbrev arrays.
15619 * calendar/diary-lib.el (diary-name-pattern):
15620 Update for changed nature of abbrev arrays.
15621 (diary-mark-entries-1): Update calendar-make-alist calls.
15622 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15623 * calendar/cal-html.el (cal-html-day-abbrev-array):
15624 Simply inherit from calendar-day-abbrev-array.
15626 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * progmodes/grep.el (grep-mode): Disable default
15629 compilation-directory-matcher setting (bug#8684).
15631 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15633 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15634 instead of "head" and "tail". There were problems with SunOS 5.9,
15635 and it performs better.
15637 2011-05-17 Glenn Morris <rgm@gnu.org>
15639 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15641 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15642 Replace obsolete function.
15644 * shell.el (pcomplete-parse-arguments-function): Declare.
15646 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15647 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15648 (appt-check): Doc fixes.
15649 (appt-disp-window-function, appt-delete-window-function):
15650 Remove needless special case in custom :type.
15651 (appt-display-count): Default to 0, not nil.
15652 (appt-check): Reset appt-display-count to 0, not nil.
15654 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15656 * progmodes/python.el (python-font-lock-keywords):
15657 Add the Python 3.X keyword "nonlocal" (bug#8639).
15659 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15661 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15663 2011-05-16 Kevin Ryde <user42@zip.com.au>
15665 * info-look.el (makefile-automake-mode): New setups, looking in
15666 automake manual, then makefile-mode.
15667 (makefile-mode): Remove automake manual, have it just in
15668 makefile-automake-mode since there's various things different or
15669 not relevant to plain make.
15670 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15671 believe a hypothetical automake-mode would go to makefile-mode,
15672 not the other way around.
15674 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15676 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15677 hunk-end tags (Bug#8672).
15679 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15680 vc-annotate-show-diff-revision-at-line (Bug#8671).
15682 2011-05-14 Glenn Morris <rgm@gnu.org>
15684 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15685 in the middle of an existing one with multiple authors. (Bug#8645)
15686 (change-log-font-lock-keywords): Also handle multiple author lines
15687 with leading tabs. (Bug#8644)
15689 * calendar/appt.el (appt-check): Rename some local variables.
15690 Some simplification/reordering.
15692 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15693 (feedmail-sendmail-f-doesnt-sell-me-out)
15694 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15695 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15696 (feedmail-queue-runner-message-sender): Set :version.
15697 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15698 (bbdb-dwim-net-address, vm-mail): Declare.
15699 (feedmail-binmail-gnulinuxish-template):
15700 Rename from feedmail-binmail-linuxish-template.
15701 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15702 Use insert-buffer-substring.
15704 2011-05-14 Bill Carpenter <bill@carpenter.org>
15706 * mail/feedmail.el (feedmail-patch-level): Increase.
15707 (feedmail-debug): New custom group.
15708 (feedmail-confirm-outgoing-timeout)
15709 (feedmail-sendmail-f-doesnt-sell-me-out)
15710 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15711 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15712 (feedmail-sender-line, feedmail-from-line)
15713 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15714 (feedmail-spray-this-address)
15715 (feedmail-spray-address-fiddle-plex-list)
15716 (feedmail-queue-use-send-time-for-date)
15717 (feedmail-queue-use-send-time-for-message-id)
15718 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15719 (feedmail-buffer-eating-function):
15721 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15722 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15723 (feedmail-message-action-scroll-down): New functions.
15724 (feedmail-queue-directory, feedmail-queue-draft-directory):
15725 Use expand-file-name.
15726 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15727 Remove C-v help entry.
15728 (feedmail-queue-buffer-file-name): New variable.
15729 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15730 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15731 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15732 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15733 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15734 (feedmail-message-action-toggle-spray)
15735 (feedmail-run-the-queue-no-prompts)
15736 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15737 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15738 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15739 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15740 (feedmail-envelope-deducer, feedmail-fiddle-from)
15741 (feedmail-fiddle-sender, feedmail-default-date-generator)
15742 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15743 (feedmail-fiddle-spray-address)
15744 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15745 (feedmail-fiddle-list-of-fiddle-plexes)
15746 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15747 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15748 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15749 Change default. Doc fix.
15750 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15751 (feedmail-binmail-linuxish-template): New constant.
15752 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15753 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15754 (feedmail-send-it): Add debug call.
15755 Use feedmail-queue-buffer-file-name, and
15756 feedmail-send-it-immediately-wrapper.
15757 (feedmail-message-action-send): Add debug call.
15758 Use feedmail-send-it-immediately-wrapper.
15759 (feedmail-queue-express-to-queue): Add debug call.
15760 Run feedmail-queue-express-hook.
15761 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15762 (feedmail-message-action-help-blat):
15763 Rename from feedmail-queue-send-edit-prompt-help-first.
15764 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15765 Check line-endings. Handle errors better.
15766 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15767 Doc fix. Add debug call.
15768 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15769 Use feedmail-queue-send-edit-prompt-inner.
15770 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15771 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15772 from feedmail-queue-send-edit-prompt.
15773 (feedmail-queue-send-edit-prompt-help)
15774 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15775 (feedmail-tidy-up-slug): Add debug call.
15776 Respect feedmail-queue-slug-suspect-regexp.
15777 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15778 (feedmail-dump-message-to-queue): Add debug call.
15779 Expand queue-directory.
15780 (feedmail-dump-message-to-queue): Change message slightly.
15781 Use feedmail-say-chatter.
15782 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15783 (feedmail-send-it-immediately-wrapper): New function.
15784 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15785 Insert empty string rather than newline. Handle full-frame case.
15786 Use catch/throw. Use feedmail-say-chatter.
15787 (feedmail-fiddle-from): Try mail-host-address.
15788 (feedmail-default-message-id-generator): Doc fix.
15789 Bind system-time-locale. Handle missing end.
15790 (feedmail-fiddle-x-mailer): Add debug call.
15791 Handle feedmail-x-mailer-line being nil.
15792 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15793 Add debug call. Use buffer-substring-no-properties.
15794 (feedmail-say-debug, feedmail-say-chatter): New functions.
15795 (feedmail-find-eoh): Give an explicit error.
15797 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15799 * net/newst-treeview.el (newsticker-treeview-face): Change default
15800 family from helvetica to sans.
15801 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15802 etc/images/newsticker.
15804 * net/newst-reader.el (newsticker-feed-face): Change default
15805 family from helvetica to sans.
15807 * net/newst-plainview.el (newsticker-new-item-face)
15808 (newsticker-old-item-face, newsticker-immortal-item-face)
15809 (newsticker-obsolete-item-face, newsticker-date-face)
15810 (newsticker-statistics-face): Change default family from
15812 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15813 etc/images/newsticker.
15815 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15816 (newsticker--process-auto-mark-filter-match): Tell user about
15819 2011-05-13 Didier Verna <didier@xemacs.org>
15821 Common Lisp indentation improvements on defmethod and lambda-lists.
15822 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15824 (lisp-lambda-list-keyword-parameter-indentation)
15825 (lisp-lambda-list-keyword-parameter-alignment)
15826 (lisp-lambda-list-keyword-alignment): New customizable user options.
15827 (lisp-indent-defun-method): Improve docstring.
15828 (extended-loop-p): Fix comment.
15829 (lisp-indent-lambda-list-keywords-regexp): New variable.
15830 (lisp-indent-lambda-list): New function.
15831 (lisp-indent-259): Use it.
15832 (lisp-indent-defmethod): Support for more than one
15833 method qualifier and properly indent methods lambda-lists.
15834 (defgeneric): Provide a missing common-lisp-indent-function property.
15836 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15838 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15839 bounds for the empty string (bug#8667).
15841 2011-05-13 Glenn Morris <rgm@gnu.org>
15843 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15845 * mail/sendmail.el (sendmail-program): Try executable-find first.
15846 (sendmail-send-it): `sendmail-program' cannot be unbound.
15848 * calendar/appt.el (appt-make-list): Simplify.
15849 (appt-time-msg-list): Doc fix.
15850 (appt-check): Change mode-line message at the time of the appointment.
15852 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15854 * progmodes/ld-script.el (ld-script-keywords)
15855 (ld-script-builtins): Update keywords list.
15857 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15859 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15861 * shell.el (shell-completion-vars): New function.
15863 * simple.el (read-shell-command): Use it.
15864 (blink-matching-open): No need for " [...]" in minibuffer-message.
15866 2011-05-12 Glenn Morris <rgm@gnu.org>
15868 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15869 (appt-check): Simplify.
15871 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15873 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15874 literal "/dev/null".
15876 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15878 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15881 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15883 * progmodes/which-func.el (which-function):
15884 Use add-log-current-defun instead of add-log-current-defun-function,
15885 which might not be defined (Bug#8260).
15887 2011-05-12 Glenn Morris <rgm@gnu.org>
15889 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15890 Let byte-compile-initial-macro-environment always take precedence.
15892 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15894 * net/rcirc.el: Add support for SSL/TLS connections.
15895 (rcirc-server-alist): New field `encryption'.
15896 (rcirc): Check `encryption' settings.
15897 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15898 Merge make-local-variable into `set'.
15899 (rcirc--connection-open-p): New function.
15900 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15901 the process is not a network process (e.g. running gnutls-cli).
15902 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15903 Make rcirc-(en|de)code-coding-system local here.
15904 (rcirc-mode): Merge make-local-variable into `set'.
15905 (rcirc-parent-buffer): Make permanent buffer-local.
15906 (rcirc-multiline-minor-mode): Don't do it here.
15907 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15908 there's no server buffer.
15910 2011-05-11 Glenn Morris <rgm@gnu.org>
15912 * newcomment.el (comment-kill): Prefix "unused" local.
15914 * term/w32console.el (get-screen-color): Declare.
15916 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15917 Handle symbol elements of byte-compile-initial-macro-environment.
15919 2011-05-10 Leo Liu <sdl.web@gmail.com>
15921 * bookmark.el (bookmark-bmenu-mode-map):
15922 Bind bookmark-bmenu-search to `/'.
15924 * mail/footnote.el: Convert to utf-8 encoding.
15925 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15926 (Footnote-unicode): New function.
15927 (footnote-style-alist): Add unicode style to the list.
15928 (footnote-style): Doc fix.
15930 2011-05-10 Jim Meyering <meyering@redhat.com>
15932 Fix doubled-word typos.
15933 * international/quail.el (quail-insert-kbd-layout): and and -> and
15934 * kermit.el: and and -> and
15935 * net/ldap.el (ldap-search-internal): to to -> to
15936 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15937 * progmodes/js.el (js-mode): and and -> and
15938 * textmodes/artist.el (artist-move-to-xy): at at -> at
15939 (artist-draw-region-trim-line-endings): if if -> if
15940 And Safetyc -> Safety.
15941 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15943 2011-05-10 Glenn Morris <rgm@gnu.org>
15944 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * files.el (hack-one-local-variable-eval-safep):
15947 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15949 2011-05-10 Glenn Morris <rgm@gnu.org>
15951 * calendar/diary-lib.el (diary-list-entries-hook)
15952 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15953 (diary-nongregorian-marking-hook, diary-list-entries)
15954 (diary-include-other-diary-files, diary-mark-entries)
15955 (diary-mark-included-diary-files): Doc fixes.
15957 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15959 * misc.el: Require tabulated-list.el during compilation.
15961 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15963 * progmodes/compile.el (compilation-start):
15964 Run compilation-filter-hook for the async case too.
15965 (compilation-filter-hook): Doc fix.
15967 2011-05-09 Deniz Dogan <deniz@dogan.se>
15969 * wdired.el: Remove outdated installation comment. Fix usage
15972 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15974 * misc.el: Implement new command `list-dynamic-libraries'.
15975 (list-dynamic-libraries--loaded-only-p): New variable.
15976 (list-dynamic-libraries--refresh): New function.
15977 (list-dynamic-libraries): New command.
15979 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15981 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15982 Fix the ant regexp to handle end-line and end-column info from jikes.
15983 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15984 higher priority to avoid clobbering by gnu.
15986 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15988 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15989 if the face has existing theme settings (Bug#8454).
15991 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15993 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15994 Only match variables declared via `my' or `our' (Bug#8261).
15996 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15997 special file names `.' and `..' (Bug#8259).
15999 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16001 * progmodes/grep.el (grep-mode-font-lock-keywords):
16002 Remove buffer-changing entries.
16003 (grep-filter): New function.
16004 (grep-mode): Add it to compilation-filter-hook.
16006 * progmodes/compile.el (compilation-filter-hook)
16007 (compilation-filter-start): New defvars.
16008 (compilation-filter): Call compilation-filter-hook prior to
16009 updating the process mark.
16011 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16015 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16017 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16018 mailclient-send-it even if window-system is nil. (Bug#8595)
16020 * term/w32console.el (terminal-init-w32console):
16021 Call get-screen-color and use its output to set the frame
16022 background-mode. (Bug#8597)
16024 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16026 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16027 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16029 (defgeneric, eieio--defmethod): Use them.
16030 (eieio-defgeneric): Remove.
16031 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16033 2011-05-07 Glenn Morris <rgm@gnu.org>
16035 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16036 Use let rather than let*.
16037 (timeclock-find-discrep): Remove unused local.
16039 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16041 * calendar/appt.el (appt-time-msg-list): Doc fix.
16043 2011-05-06 Noah Friedman <friedman@splode.com>
16045 * apropos.el (apropos-print-doc): Only use
16046 emacs-lisp-docstring-fill-column when it is bound to an integer,
16047 per that variable's documentation.
16049 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16051 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16052 and warnings are not silently discarded (e.g. use -d instead of -P).
16054 2011-05-06 Glenn Morris <rgm@gnu.org>
16056 * calendar/appt.el (appt-message-warning-time): Doc fix.
16057 (appt-warning-time-regexp): New option.
16058 (appt-make-list): Respect appt-message-warning-time.
16060 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16062 (diary-add-to-list): Strip comments from the displayed string.
16063 (diary-mode): Set comment-start and comment-end.
16065 * vc/diff-mode.el (smerge-refine-subst): Declare.
16066 (diff-refine-hunk): Don't require smerge-mode when compiling.
16068 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16070 * simple.el (list-processes): Return nil as the docstring says.
16072 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16074 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16076 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16077 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16078 determining of binary transfer. (Bug#7383)
16080 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16083 Fix port computation bug. (Bug#8618)
16085 2011-05-05 Glenn Morris <rgm@gnu.org>
16087 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16089 * simple.el (shell-dynamic-complete-functions)
16090 (comint-dynamic-complete-functions): Declare.
16092 * net/network-stream.el (gnutls-negotiate):
16093 * simple.el (tabulated-list-print): Fix declarations.
16095 * progmodes/gud.el (syntax-symbol, syntax-point):
16096 Remove unnecessary and incorrect declarations.
16098 * emacs-lisp/check-declare.el (check-declare-scan):
16099 Handle byte-compile-initial-macro-environment in bytecomp.el
16101 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16103 Fix earlier half-done eieio-defmethod change (bug#8338).
16104 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16105 Streamline and change calling convention.
16106 (defmethod): Adjust accordingly and simplify.
16107 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16108 new eieio--defmethod.
16109 (slot-boundp): Minor CSE simplification.
16111 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16113 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16114 (glasses-make-readable): Use glasses-separate-capital-groups.
16116 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16118 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16119 (warning-series): Doc fix.
16120 (display-warning): Don't try to create the buffer if we just found it.
16122 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16124 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16125 (autoload-find-generated-file): New function.
16126 (generate-file-autoloads): Bind generated-autoload-file to
16128 (update-file-autoloads, update-directory-autoloads):
16129 Use autoload-find-generated-file. If called interactively, prompt for
16130 output file (Bug#7989).
16131 (batch-update-autoloads): Doc fix.
16133 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16135 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16137 2011-05-04 Glenn Morris <rgm@gnu.org>
16139 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16140 function, so it follows changes in calendar-date-style.
16141 (diary-fancy-date-matcher): New function.
16142 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16143 (diary-fancy-font-lock-fontify-region-function):
16144 Use diary-fancy-date-pattern as a function.
16146 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16147 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16149 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16151 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16152 instead of positional arguments. Allow :keylist and :crlfiles
16154 (open-gnutls-stream): Call it.
16156 * net/network-stream.el (network-stream-open-starttls): Adjust to
16157 call `gnutls-negotiate' with :process and :hostname arguments.
16159 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16161 * minibuffer.el (completion--message): New function.
16162 (completion--do-completion, minibuffer-complete)
16163 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16164 (completion--do-completion): Don't ignore completion-auto-help when in
16167 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16168 internal encoding (e.g. tibetan zero is not whitespace).
16169 (global-whitespace-mode): Prefer save-current-buffer.
16170 (whitespace-trailing-regexp): Remove useless save-match-data.
16171 (whitespace-empty-at-bob-regexp): Minor simplification.
16173 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16175 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16177 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
16179 * textmodes/ispell.el (ispell-add-per-file-word-list):
16180 Use `concat' to create string for insertion.
16182 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16184 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16185 Avoid open-line which runs post-self-insert-hook.
16186 (bibtex-fill-entry): Remove unused `end' var.
16188 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16190 * textmodes/ispell.el (ispell-add-per-file-word-list):
16191 Protect against `nil' value of `comment-start' (Bug#8579).
16193 2011-05-03 Leo Liu <sdl.web@gmail.com>
16195 * isearch.el (isearch-yank-pop): New command.
16196 (isearch-mode-map): Bind it to `M-y'.
16197 (isearch-forward): Mention it.
16199 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16201 * simple.el (minibuffer-complete-shell-command): Remove.
16202 (minibuffer-local-shell-command-map): Use completion-at-point.
16203 (read-shell-command): Setup completion vars here instead.
16204 (read-expression-map): Bind TAB to symbol completion.
16206 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16207 error directly rather via storing it into `results'.
16209 2011-05-02 Leo Liu <sdl.web@gmail.com>
16211 * vc/diff.el: Fix description.
16213 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16215 * server.el (server-eval-at): New function.
16217 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16219 * net/network-stream.el (open-network-stream): Take a :nowait
16220 parameter and pass it on to `make-network-process'.
16221 (network-stream-open-plain): Ditto.
16223 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16225 * faces.el (face-spec-set-match-display): Don't match toolkit
16226 options on terminal frames.
16228 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * progmodes/pascal.el: Use lexical binding.
16231 (pascal-mode-map): Remove author preferences.
16233 * pcomplete.el (pcomplete-std-complete): Don't abuse
16234 completion-at-point.
16236 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16238 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16239 removing code that has been dead since 1991 or so.
16241 * startup.el (command-line): When warning about "_emacs", use a
16242 delayed warning to allow the user to filter it out.
16244 2011-04-28 Deniz Dogan <deniz@dogan.se>
16246 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16247 user has not joined.
16249 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16251 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16252 aren't any completions at point.
16254 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16256 * subr.el (display-delayed-warnings): New function.
16257 (delayed-warnings-hook): New variable.
16259 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16261 * minibuffer.el (completion-at-point, completion-help-at-point):
16262 Don't presume that a given completion-at-point-function will always
16263 use the same calling convention.
16265 * pcomplete.el (pcomplete-completions-at-point):
16266 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16267 pcomplete-seen is non-nil.
16268 (pcomplete-comint-setup): Also recognize the new comint/shell
16269 completion functions.
16270 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16271 pcomplete-seen is non-nil.
16273 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16275 * calendar/icalendar.el (diary-lib): Add require statement.
16276 (icalendar--create-uid): Read out a uid from a text-property on
16277 the first character in the entry. This allows for code to add its
16278 own uid to the entry.
16279 (icalendar--convert-float-to-ical): Add export of
16280 `diary-float'-entries save for those with the optional DAY
16283 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16285 * subr.el (shell-quote-argument): Use alternate escaping strategy
16286 when we spot a variable reference in a string.
16288 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16290 * cus-start.el (all): Define customization for debug-on-event.
16292 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16294 * subr.el (shell-quote-argument): Escape correctly under Windows.
16296 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16300 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16302 * net/tramp.el (tramp-process-actions): Add POS argument.
16303 Delete region between POS and (pos).
16305 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16306 Use `nil' position in `tramp-process-actions' call.
16307 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16309 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16310 position in `tramp-process-actions' call.
16312 * net/trampver.el: Update release number.
16314 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16316 * custom.el (defcustom): Obey lexical-binding.
16318 Fix octave-inf completion problems reported by Alexander Klimov.
16319 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16320 Inherit from octave-mode-syntax-table.
16321 (inferior-octave-mode): Set info-lookup-mode.
16322 (inferior-octave-completion-at-point): New function.
16323 (inferior-octave-complete): Use it and completion-in-region.
16324 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16325 comint-filename-completion.
16326 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16327 symbol elements which shouldn't be word elements.
16328 (octave-font-lock-keywords, octave-beginning-of-defun)
16329 (octave-function-header-regexp): Adjust regexps accordingly.
16330 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16332 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16334 * net/gnutls.el (gnutls-errorp): Declare before first use.
16336 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16338 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16339 verify-error, and verify-hostname-error parameters. Check whether
16340 default trustfile exists before going to use it. Add missing
16341 argument to gnutls-message-maybe call. Return value.
16342 Reported by Claudio Bley <claudio.bley@gmail.com>.
16343 (open-gnutls-stream): Add usage example.
16345 * net/network-stream.el (network-stream-open-starttls): Give host
16346 parameter to `gnutls-negotiate'.
16347 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16348 * subr.el (shell-quote-argument): Escape correctly under Windows.
16350 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16352 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16353 Use correct match group (bug#8438).
16355 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16357 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16358 (package-menu--generate): New arg specifying packages to show.
16359 (package-menu-refresh, package-menu-execute, list-packages):
16361 (package-show-package-list): New function, replacing deleted
16362 package--list-packages (renamed because it is non-internal).
16364 * finder.el (finder-list-matches): Use package-show-package-list
16365 instead of deleted package--list-packages.
16367 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16368 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16369 (vc-annotate-mode-map): Bind it to RET.
16371 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16373 * progmodes/etags.el (next-file): Don't use set-buffer to change
16374 buffers (Bug#8478).
16376 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16378 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16380 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16381 (apropos-accumulator): Doc fix.
16382 (apropos-function, apropos-macro, apropos-command)
16383 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16384 (apropos-plist): Add face property.
16385 (apropos-symbols-internal): Fix indentation.
16386 (apropos-print): Simplify help, and recognize apropos-multi-type.
16387 (apropos-print-doc): Use button-type-get to extract the button's
16388 face property. Fill docstring (Bug#8352).
16390 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16392 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16394 * play/mpuz.el (mpuz-silent): Doc fix.
16395 (mpuz-mode-map): Use mapc.
16396 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16397 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16398 Fix typos in docstrings.
16400 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16401 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16403 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16405 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16407 * minibuffer.el (completion--do-completion): Avoid the "Next char
16408 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16410 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16411 mouse-2 into unread-command-events, it is interpreted correctly.
16413 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16414 (image-toggle-display): Doc fix.
16416 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16418 * textmodes/page.el (what-page): Use line-number-at-pos to
16419 calculate line number (Bug#6825).
16421 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16423 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16424 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16425 Pass argument NO-DEFAULT to `find-tag-interactive'.
16427 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16429 Lexical-binding cleanup.
16431 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16432 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16433 * progmodes/ada-prj.el (ada-prj-initialize-values)
16434 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16435 (ada-prj-show-value):
16436 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16437 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16438 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16439 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16440 * progmodes/bug-reference.el (bug-reference-push-button):
16441 * progmodes/fortran.el (fortran-line-length):
16442 * progmodes/glasses.el (glasses-change):
16443 * progmodes/octave-mod.el (octave-fill-paragraph):
16444 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16445 (python-pdbtrack-grub-for-buffer, python-sentinel):
16446 * progmodes/sql.el (sql-save-connection):
16447 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16448 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16449 Mark unused parameters.
16451 * progmodes/compile.el (compilation--flush-directory-cache)
16452 (compilation--flush-parse, compile-internal): Mark unused parameters.
16453 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16454 (compilation-next-error-function): Remove unused variable `timestamp'.
16456 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16457 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16459 * progmodes/dcl-mode.el (dcl-end-of-command):
16460 Remove unused variable `start'.
16461 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16462 (dcl-option-value-basic, dcl-option-value-offset)
16463 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16464 Mark unused parameters.
16465 (dcl-save-local-variable): Remove unused variable `val'.
16468 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16469 Mark unused parameters.
16470 (delphi-ignore-changes): Move before first use.
16471 (delphi-charset-token-at): Remove unused variable `start'.
16472 (delphi-else-start): Remove unused variable `if-count'.
16473 (delphi-comment-block-start, delphi-comment-block-end):
16474 Remove unused variable `kind'.
16475 (delphi-indent-line): Remove unused variable `new-point'.
16477 * progmodes/ebrowse.el (ebrowse-files-list)
16478 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16479 Mark unused parameters. Don't quote `lambda'.
16480 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16481 Don't quote `lambda'.
16482 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16483 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16484 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16485 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16486 Use `ignore-errors'.
16487 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16488 (ebrowse-view/find-file-and-search-pattern)
16489 (ebrowse-view/find-member-declaration/definition):
16490 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16491 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16492 Rename parameter PREFIX-ARG to PREFIX.
16493 (ebrowse-tags-read-name): Remove unused variables `start' and
16495 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16498 * progmodes/etags.el (local-find-tag-hook): Declare.
16499 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16500 Mark unused parameters.
16502 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16503 (executable-interpret): Mark unused parameter.
16505 * progmodes/flymake.el (flymake-process-sentinel)
16506 (flymake-after-change-function)
16507 (flymake-create-temp-with-folder-structure)
16508 (flymake-get-include-dirs-dot): Mark unused parameters.
16509 (flymake-safe-delete-directory): Remove unused variable `err'.
16511 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16512 (speedbar-timer-fn, speedbar-line-text)
16513 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16514 (speedbar-center-buffer-smartly): Declare functions.
16515 (gdb-find-watch-expression): Remove unused variable `array'.
16516 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16517 (gdb-starting): Mark unused parameters.
16518 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16519 (gdb-table-string): Remove unused variable `res'.
16520 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16521 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16522 (gdb-display-buffer): Remove unused variable `cur-size'.
16524 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16525 allow lexical-binding compilation.
16526 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16527 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16528 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16529 Mark unused parameters.
16530 (gud-gdb-marker-filter): Remove unused variable `match'.
16531 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16532 lambda expressions and funcall them, instead of using `fset'.
16534 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16535 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16537 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16538 variable `header-beg'; use `let'.
16540 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16541 `restart', `last-sexp' and `at-do'.
16543 * progmodes/js.el (js--debug): Mark unused parameter.
16544 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16545 (js--splice-into-items): Remove unused variable `item'.
16546 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16548 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16549 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16550 (makefile-complete): Remove unused variable `try'.
16551 (makefile-fill-paragraph, makefile-match-function-end):
16552 Mark unused parameters.
16554 * progmodes/octave-inf.el (inferior-octave-complete):
16555 Remove unused variable `proc'.
16556 (inferior-octave-output-digest): Mark unused parameter.
16558 * progmodes/perl-mode.el (perl-calculate-indent):
16559 Remove unused variable `err'.
16561 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16562 (prolog-indent-line): Mark unused parameters.
16563 (prolog-indent-line): Remove unused variable `beg'.
16565 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16566 (reporter-dont-compact-list): Declare.
16568 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16569 Remove unused variable `char'.
16570 (sh-debug): Mark unused parameter.
16571 (sh-get-indent-info): Remove unused variable `start'.
16572 (sh-calculate-indent): Remove unused variable `var'.
16574 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16575 (simula-electric-keyword): Remove unused variable `null'.
16576 (simula-search-backward, simula-search-forward): Remove unused
16577 variables `begin' and `end'.
16579 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16580 Remove unused variable `pos'.
16581 (vera-electric-tab, vera-comment-uncomment-region):
16582 Mark unused parameters.
16583 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16585 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16587 * emacs-lisp/package.el (package--builtins, package-alist)
16588 (package-load-descriptor, package-built-in-p, package-activate)
16589 (define-package, package-installed-p)
16590 (package-compute-transaction, package-buffer-info)
16591 (package--push): Doc fix. Distinguish more clearly between
16592 version strings and version lists.
16594 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16596 Lexical-binding cleanup.
16598 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16599 (5x5-make-mutate-best):
16600 * play/fortune.el (fortune-in-buffer):
16601 * play/gomoku.el (gomoku-init-display):
16602 * play/solitaire.el (solitaire, solitaire-do-check):
16603 * play/tetris.el (tetris-default-update-speed-function):
16604 Mark unused parameters.
16606 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16607 (bubbles--shift): Remove unused variable `char-org'.
16608 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16609 (bubbles--show-images): Remove unused variable `char'.
16611 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16612 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16613 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16614 (decipher-analyze-buffer): Use ?\s.
16615 (decipher-make-checkpoint): Remove unused variable `mapping'.
16617 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16619 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16620 Remove unused variable `result'; use `let'.
16622 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16623 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16624 (gametree-children-shown-p, gametree-compute-reduced-score):
16625 Use `ignore-errors'.
16627 * play/handwrite.el (ps-lpr-switches): Declare.
16628 (handwrite): Remove unused variables `pmin' and `lastp'.
16630 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16632 * play/landmark.el (landmark-init-display)
16633 (landmark-update-naught-weights): Mark unused parameters.
16634 (landmark-y): Remove unused variable `noise'. Simplify.
16635 (landmark-human-plays): Remove unused variable `score'.
16637 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16638 (mpuz-try-proposal): Remove unused variable `game'.
16640 * play/zone.el (life-patterns): Declare.
16642 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16644 * vc/vc.el (ediff-vc-internal): Declare function.
16646 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16648 * shell.el: Use lexical-binding and std completion UI.
16649 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16650 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16651 comint-preoutput-filter-functions rather than on
16652 comint-output-filter-functions.
16653 (shell-command-completion, shell--command-completion-data)
16654 (shell-filename-completion, shell-environment-variable-completion)
16655 (shell-c-a-p-replace-by-expanded-directory): New functions.
16656 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16657 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16658 (shell-dynamic-complete-environment-variable): Use them.
16659 (shell-dynamic-complete-as-environment-variable)
16660 (shell-dynamic-complete-as-command): Remove.
16661 (shell-match-partial-variable): Match past point.
16662 * comint.el: Clean up use of completion-at-point-functions.
16663 (comint-completion-at-point): New function.
16664 (comint-mode): Use it completion-at-point-functions.
16665 (comint-dynamic-complete): Make it obsolete.
16666 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16667 (comint-c-a-p-replace-by-expanded-history): New function.
16668 (comint-dynamic-complete-functions)
16669 (comint-replace-by-expanded-history): Use it.
16670 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16671 termination strings. Try harder to avoid second try-completion.
16672 (completion-in-region-mode-map): Disable bindings that don't work yet.
16674 * comint.el: Use lexical-binding. Require CL.
16675 (comint-dynamic-complete-functions): Use comint-filename-completion.
16676 (comint-completion-addsuffix): Tweak custom type.
16677 (comint-filename-completion, comint--common-suffix)
16678 (comint--common-quoted-suffix, comint--table-subvert)
16679 (comint--complete-file-name-data): New functions.
16680 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16681 (comint-dynamic-list-filename-completions): Use them.
16682 (comint-dynamic-simple-complete): Make obsolete.
16684 * minibuffer.el (completion-in-region-mode):
16685 Keep completion-in-region-mode--predicate global.
16686 (completion-in-region--postch):
16687 Assume completion-in-region-mode--predicate is not null.
16689 * progmodes/flymake.el (flymake-start-syntax-check-process):
16690 Obey `dir'. Simplify.
16692 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16693 we're in VC after all.
16695 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16697 * vc/vc.el (vc-diff-build-argument-list-internal)
16698 (vc-version-ediff, vc-ediff): New commands.
16699 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16701 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16706 * obsolete/erc-hecomplete.el: Make obsolete.
16707 * obsolete/: Standardize obsolescence info in the header.
16709 2011-04-20 Glenn Morris <rgm@gnu.org>
16711 * calendar/solar.el (solar-horizontal-coordinates):
16712 Use the longitude argument rather than `calendar-longitude'.
16713 (solar-date-next-longitude): Remove unused locals.
16715 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16717 * whitespace.el: New version 13.2.1.
16719 2011-04-20 felix <EmacsWiki> (tiny change)
16721 * whitespace.el (global-whitespace-mode): Keep highlight when
16722 switching between major modes on a file.
16724 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16726 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16727 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16728 multi-line comments as well.
16730 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16732 Lexical-binding cleanup.
16734 * arc-mode.el (archive-mode-revert):
16735 * cmuscheme.el (scheme-interactively-start-process):
16736 * custom.el (custom-initialize-delay):
16737 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16738 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16739 * emacs-lock.el (emacs-lock-clear-sentinel):
16740 * ezimage.el (defezimage):
16741 * follow.el (follow-avoid-tail-recenter):
16742 * fringe.el (set-fringe-mode-1):
16743 * generic-x.el (bat-generic-mode-compile):
16744 * help-mode.el (help-info-variable, help-do-xref)
16745 (help-mode-revert-buffer):
16746 * help.el (view-emacs-todo):
16747 * iswitchb.el (iswitchb-completion-help):
16748 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16749 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16750 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16751 * locate.el (locate-update):
16752 * longlines.el (longlines-encode-region)
16753 (longlines-after-change-function):
16754 * outline.el (outline-isearch-open-invisible):
16755 * ps-def.el (declare-function, charset-dimension, char-width)
16757 * ps-mule.el (ps-mule-plot-string):
16758 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16759 (recentf-edit-list-select, recentf-edit-list-validate)
16760 (recentf-open-files-action):
16761 * rect.el (delete-whitespace-rectangle-line)
16762 (rectangle-number-line-callback):
16763 * register.el (window-configuration-to-register)
16764 (frame-configuration-to-register):
16765 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16766 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16767 (xselect-convert-to-targets, xselect-convert-to-delete)
16768 (xselect-convert-to-filename, xselect-convert-to-charpos)
16769 (xselect-convert-to-lineno, xselect-convert-to-colno)
16770 (xselect-convert-to-os, xselect-convert-to-host)
16771 (xselect-convert-to-user, xselect-convert-to-class)
16772 (xselect-convert-to-name, xselect-convert-to-integer)
16773 (xselect-convert-to-atom, xselect-convert-to-identity):
16774 * subr.el (declare, ignore, process-kill-without-query)
16775 (text-clone-maintain):
16776 * terminal.el (te-get-char, te-tic-sentinel):
16777 * tool-bar.el (tool-bar-make-keymap):
16778 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16779 * type-break.el (type-break-mode, type-break-noninteractive-query):
16780 * view.el (View-back-to-mark):
16781 * wid-browse.el (widget-browse-action, widget-browse-widget)
16782 (widget-browse-widgets, widget-browse-sexp):
16783 * widget.el (define-widget-keywords):
16784 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16785 Mark unused parameters.
16787 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16788 (align-areas): Remove unused variable `look'.
16789 (align-region): Remove unused variables `real-end' and `pos-list'.
16791 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16793 * bindings.el (mode-line-modified, mode-line-remote):
16794 Mark unused parameters.
16795 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16797 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16798 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16800 * comint.el (comint-history-isearch-pop-state)
16801 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16802 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16803 (comint-substitute-in-file-name): Doc fix.
16805 * completion.el (cmpl-statistics-block): Mark unused parameter.
16806 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16807 (save-completions-to-file, load-completions-from-file):
16808 Remove unused local variable `e'.
16810 * composite.el (compose-chars): Remove unused variable `len'.
16811 (lgstring-insert-glyph): Remove unused variable `g'.
16812 (compose-glyph-string): Remove unused variables `ascent',
16813 `descent', `lbearing' and `rbearing'.
16814 (compose-glyph-string-relative): Remove unused variables
16815 `lbearing', `rbearing' and `wadjust'.
16816 (compose-gstring-for-graphic): Remove unused variables `header',
16817 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16818 (compose-gstring-for-terminal): Remove unused variables `header'
16819 and `nchars'. Use `let', not `let*'.
16821 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16822 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16823 (Custom-buffer-done, custom-buffer-create-internal)
16824 (custom-browse-visibility-action, custom-browse-group-tag-action)
16825 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16826 (widget-magic-mouse-down-action, custom-toggle-parent)
16827 (custom-add-parent-links, custom-toggle-hide-variable)
16828 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16829 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16830 (custom-face-menu-create, custom-variable-menu-create, get)
16831 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16832 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16833 (customize-apropos): Remove unused variable `tests'.
16834 (custom-group-value-create): Remove unused variable `hidden-p'.
16835 (sort-fold-case): Declare.
16837 * cus-theme.el (custom-reset-standard-faces-list)
16838 (custom-reset-standard-variables-list): Declare.
16839 (customize-create-theme, custom-theme-revert, custom-theme-write)
16840 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16841 Mark unused parameters.
16843 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16845 * delim-col.el (delimit-columns-max): Move defvar before first use.
16847 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16848 (describe-char): Don't quote `lambda'. Mark unused parameter.
16850 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16851 (auto-insert): Declare.
16852 (desktop-restore-file-buffer): Rename desktop-* parameters;
16854 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16855 (desktop-buffer): Rename desktop-* parameters.
16857 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16858 (dframe-reposition-frame-xemacs, dframe-help-echo)
16859 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16860 Mark unused parameters.
16862 * dired-aux.el (backup-extract-version-start, overwrite-query)
16863 (overwrite-backup-query, rename-regexp-query)
16864 (rename-non-directory-query): Declare.
16865 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16866 (dired-add-entry): Remove unused variable `orig-file-name'.
16867 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16868 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16869 `dired-copy-preserve-time' directly.
16870 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16871 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16873 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16874 (dired-virtual-revert, dired-make-relative-symlink):
16875 Mark unused parameters.
16876 (manual-program): Declare.
16877 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16878 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16879 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16881 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16883 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16885 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16888 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16890 * electric.el (Electric-command-loop): Rename parameter
16891 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16893 * expand.el (expand-in-literal): Remove unused variable `here'.
16895 * facemenu.el (facemenu-add-new-color):
16896 Remove unused variable `docstring'.
16898 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16899 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16900 (face-attr-construct): Mark unused parameter. Doc fix.
16901 (read-color): Remove unused variable `hex-string'.
16903 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16904 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16905 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16906 (display-buffer-other-frame): Remove unused variable `old-window'.
16907 (kill-buffer-hook): Declare.
16908 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16909 Mark unused parameters.
16910 (after-find-file): Pass 1 to `auto-save-mode', not t.
16912 * files-x.el (auto-insert): Declare.
16913 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16915 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16916 variable `buf'. Mark unused parameter.
16917 (find-lisp-insert-directory): Mark unused parameter.
16919 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16920 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16921 (format-common-tail): Remove, unused.
16922 (format-deannotate-region): Remove unused variable `loc'.
16923 (format-annotate-region): Remove unused variable `p'.
16924 (format-annotate-single-property-change): Remove unused variables
16925 `default' and `tail'.
16927 * forms.el (read-file-filter): Declare.
16928 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16930 * frame.el (frame-creation-function-alist): Mark unused parameter.
16931 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16933 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16934 Remove unused parameters.
16935 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16936 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16938 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16939 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16940 (hfy-prepare-tag-map): Mark unused parameters.
16941 (htmlfontify-buffer): Use `called-interactively-p'.
16943 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16944 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16945 (ibuffer-do-occur): Mark unused parameters.
16946 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16947 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16949 * ibuffer.el: Don't quote `lambda'.
16950 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16951 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16952 Mark unused parameters.
16954 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16955 (ido-completing-read): Mark unused parameters.
16956 (ido-copy-current-word): Mark unused parameters;
16957 remove unused variable `name'.
16958 (ido-sort-merged-list): Remove unused parameter `dirs'.
16960 * ielm.el (ielm-input-sender): Mark unused parameter.
16961 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16962 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16963 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16964 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16965 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16967 * image-dired.el (image-dired-display-thumbs): Remove unused
16968 variables `curr-file' and `count'.
16969 (image-dired-remove-tag): Remove unused variable `start'.
16970 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16971 variable `curr-file'
16972 (image-dired-rotate-original): Remove unused variable `temp-file'.
16973 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16974 Remove unused variable `file'.
16975 (image-dired-gallery-generate): Remove unused variable `curr'.
16976 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16978 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16980 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16982 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16984 * isearch.el (minibuffer-history-symbol): Declare.
16985 (isearch-edit-string): Remove unused variable `err'.
16986 (isearch-message-prefix, isearch-message-suffix):
16987 Mark unused parameters.
16989 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16991 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16993 * makesum.el (double-column): Remove unused variable `cnt'.
16995 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16996 (ido-ignore-item-temp-list): Declare.
16998 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16999 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17000 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17001 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17004 * mouse-sel.el (mouse-extend-internal):
17005 Remove unused variable `orig-window-frame'.
17007 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17008 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17009 Move declarations before first use.
17010 (pcomplete-opt): Mark unused parameters; doc fix.
17012 * proced.el (proced-revert): Mark unused parameter.
17013 (proced-send-signal): Remove unused variable `err'.
17015 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17016 Rename parameter PREFIX-ARG to ARG.
17017 (ps-basic-plot-string, ps-basic-plot-whitespace):
17018 Mark unused parameters.
17020 * replace.el (replace-count): Define.
17021 (occur-revert-function): Mark unused parameters.
17022 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17023 (isearch-case-fold-search, isearch-string): Declare.
17024 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17025 bind `case-fold-search'. Remove unused variables `beg' and `end',
17027 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17028 COUNT and bind `replace-count'.
17029 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17032 * savehist.el (print-readably, print-string-length): Declare.
17034 * shadowfile.el (shadow-expand-cluster-in-file-name):
17035 Remove unused variable `cluster'.
17036 (shadow-copy-file): Remove unused variable `i'.
17037 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17038 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17039 (shadow-define-literal-group, shadow-define-regexp-group)
17040 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17042 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17043 (shell): Use `called-interactively-p'.
17044 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17046 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17047 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17048 (delete-backward-char): Remove unused variable `ocol'.
17049 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17050 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17051 (event-apply-hyper-modifier, event-apply-shift-modifier)
17052 (event-apply-control-modifier, event-apply-meta-modifier):
17053 Mark unused parameters.
17054 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17055 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17057 * speedbar.el (speedbar-ignored-directory-expressions)
17058 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17059 (speedbar-find-file, speedbar-dir-follow)
17060 (speedbar-directory-buttons-follow, speedbar-tag-find)
17061 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17062 (speedbar-buffers-line-directory, speedbar-buffer-click):
17063 Mark unused parameters.
17064 (speedbar-tag-file): Remove unused variable `mode'.
17065 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17067 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17069 * talk.el (talk): Remove unused variable `display'.
17071 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17072 (tar-write-region-annotate): Mark unused parameter.
17074 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17075 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17076 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17077 warning by another.
17079 * time-stamp.el (time-stamp-string-preprocess):
17080 Remove unused variable `require-padding'.
17082 * tree-widget.el (widget-glyph-enable): Declare.
17083 (tree-widget-action): Mark unused parameter.
17085 * w32-fns.el (x-get-selection): Mark unused parameter.
17086 (autoload-make-program, generated-autoload-file): Declare.
17088 * wdired.el (wdired-revert): Mark unused parameters.
17089 (wdired-xcase-word): Remove unused variable `err'.
17091 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17092 (whitespace-help-scroll): Remove unused variable `data-help'.
17094 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17095 (widget-image-insert, widget-after-change, default)
17096 (widget-default-format-handler, widget-default-notify)
17097 (widget-default-prompt-value, widget-info-link-action)
17098 (widget-url-link-action, widget-function-link-action)
17099 (widget-variable-link-action, widget-file-link-action)
17100 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17101 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17102 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17103 (widget-insert-button-action, widget-delete-button-action, visibility)
17104 (widget-documentation-link-action, widget-documentation-string-action)
17105 (widget-const-prompt-value, widget-regexp-match, symbol)
17106 (widget-coding-system-prompt-value)
17107 (widget-key-sequence-value-to-external, sexp)
17108 (widget-sexp-value-to-internal, character, vector, cons)
17109 (widget-choice-prompt-value, widget-boolean-prompt-value)
17110 (widget-color--choose-action): Mark unused parameters.
17111 (widget-item-match-inline, widget-choice-match-inline)
17112 (widget-checklist-match, widget-checklist-match-inline)
17113 (widget-group-match): Rename parameter VALUES to VALS.
17114 (widget-field-value-set): Remove unused variable `size'.
17115 (widget-color-action): Remove unused variables `value' and `start'.
17117 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17118 variable `dir'. Doc fix.
17119 (windmove-find-other-window): Don't pass it.
17121 * window.el (count-windows): Mark unused parameter.
17122 (bw-adjust-window): Remove unused variable `err'.
17124 * woman.el (woman-file-name): Remove unused variable `default'.
17125 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17126 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17127 (global-font-lock-mode): Declare.
17128 (woman-decode-region): Mark unused parameter.
17129 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17131 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17132 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17133 (x-dnd-handle-moz-url): Remove unused variable `title'.
17134 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17136 * xml.el (xml-parse-tag, xml-parse-attlist):
17137 Remove unused variable `pos'.
17139 2011-04-19 Glenn Morris <rgm@gnu.org>
17141 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17142 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17143 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17144 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17145 * calendar/cal-html.el (cal-html-insert-minical):
17146 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17147 (calendar-mark-date-pattern):
17148 Prefix "unused" locals.
17150 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17151 optional argument `style'.
17153 * calendar/appt.el (appt-make-list):
17154 * calendar/cal-china.el (calendar-chinese-date-string):
17155 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17156 (diary-hebrew-yahrzeit):
17157 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17158 * calendar/calendar.el (calendar-generate-window):
17159 * calendar/time-date.el (time-to-days):
17160 Remove unused local variables.
17162 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17164 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17165 glyphless-char-display table.
17166 (tabulated-list-glyphless-char-display): New var.
17168 2011-04-18 Sam Steingold <sds@gnu.org>
17170 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17171 to acknowledgments.
17173 2011-04-17 Glenn Morris <rgm@gnu.org>
17175 * calendar/diary-lib.el (diary-sexp-entry):
17176 * calendar/holidays.el (holiday-sexp):
17177 Set debug-on-error rather than the removed stack-trace-on-error.
17179 2011-04-16 Glenn Morris <rgm@gnu.org>
17181 * progmodes/f90.el: Use lexical-binding.
17182 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17184 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17186 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17187 (mail-mode): Setup mailalias completion here instead.
17188 * mail/mailalias.el: Use lexical-binding.
17189 (pattern, mailalias-done): Declare dynamic.
17190 (mail-completion-at-point-function): New function, from mail-complete.
17191 (mail-complete): Use it.
17192 (mail-completion-expand): New function.
17193 (mail-get-names): Use it.
17194 (mail-directory, mail-directory-process, mail-directory-stream):
17195 Don't use `pattern' for lexically bound arg.
17197 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17199 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17200 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17201 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17203 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17204 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17205 (byte-interactive-p): Define them again, for use when inlining
17208 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17210 * loadup.el: Use `string-to-number', not `string-to-int'.
17212 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17214 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17215 gud-gdb-complete-command.
17216 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17217 (gud-gdb-completion-at-point): New function.
17218 (gud-gdb-completions): Remove.
17220 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17222 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17223 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17224 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17225 whether `executable-find' is bound.
17227 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17229 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * minibuffer.el (completion-in-region-mode-predicate)
17232 (completion-in-region-mode--predicate): New vars.
17233 (completion-in-region, completion-in-region--postch)
17234 (completion-in-region-mode): Use them.
17235 (completion--capf-wrapper): Also return the hook function.
17236 (completion-at-point, completion-help-at-point):
17237 Adjust and provide a predicate.
17239 Preserve arg names for advice of subr and lexical functions (bug#8457).
17240 * help-fns.el (help-function-arglist): Consolidate the subr and
17241 new-byte-code cases. Add argument `preserve-names' to extract names
17242 from the docstring when needed.
17243 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17244 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17245 (ad-arglist): Use help-function-arglist's new arg.
17246 (ad-definition-type): Use cond.
17248 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17250 * autorevert.el (auto-revert-handler):
17251 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17252 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17253 Don't quote lambda.
17255 * image-mode.el (image-transform-set-scale):
17256 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17258 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17260 * net/network-stream.el (network-stream-open-starttls): Only do
17261 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17262 Upgrades via gnutls-cli are too slow to be done opportunistically.
17264 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17266 * dframe.el (dframe-current-frame): Remove spurious quote.
17268 2011-04-12 Glenn Morris <rgm@gnu.org>
17270 * calendar/cal-tex.el (cal-tex-end-document):
17271 Try to automatically use latin1 input if needed.
17273 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17274 Don't try to cons a mark onto an empty element.
17276 2011-04-11 Leo Liu <sdl.web@gmail.com>
17278 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17280 (ido-kill-buffer-at-head): Support killing virtual buffers.
17282 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17284 * minibuffer.el (completion-show-inline-help): New var.
17285 (completion--do-completion, minibuffer-complete)
17286 (minibuffer-force-complete, minibuffer-complete-word):
17287 Inhibit minibuffer messages if completion-show-inline-help is nil.
17289 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17290 to avoid interference from inline help (Bug#5849).
17292 2011-04-10 Leo Liu <sdl.web@gmail.com>
17294 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17297 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17299 * image-mode.el (image-toggle-display-image): Signal an error if
17301 (image-transform-mode, image-transform-resize)
17302 (image-transform-set-rotation): Doc fix.
17303 (image-transform-set-resize): Delete.
17304 (image-transform-set-scale, image-transform-fit-to-height)
17305 (image-transform-fit-to-width): Handle image-toggle-display-image
17306 and image-transform-resize directly.
17308 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17310 * doc-view.el (doc-view-fit-width-to-window)
17311 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17312 New functions for fitting the shown image to the Emacs window size.
17313 (doc-view-mode-map): Add bindings for the new functions.
17315 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17317 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17318 Fix typo in docstring.
17320 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17322 * files.el (file-size-human-readable): Produce one digit after
17323 decimal, like "ls -lh" does.
17325 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17326 the file size representation.
17328 * simple.el (list-processes): If async subprocesses are not
17329 available, error out with a clear error message.
17331 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17333 * help.el (help-form-show): New function, to be called from C.
17334 Put help-form output in a buffer named differently than *Help*.
17336 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17338 * files.el (file-size-human-readable): New function.
17340 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17341 computing the representation inline. Don't require `cl'.
17343 2011-04-08 Glenn Morris <rgm@gnu.org>
17345 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17347 * net/browse-url.el (browse-url-firefox):
17348 Test system-type, not system-configuration.
17350 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17351 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17352 Use log-edit-empty-buffer-p. (Bug#7598)
17354 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17355 (rlogin-mode-map): Initialize in the defvar.
17356 (rlogin): Use ignore-errors.
17358 * replace.el (occur-mode-map): Some fixes for menu items.
17360 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17362 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17364 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17366 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17367 issuing unused warnings.
17369 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17372 * simple.el: Lisp reimplement of list-processes. Based on an
17373 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17374 (process-menu-mode): New major mode.
17375 (list-processes--refresh, list-processes):
17376 (process-menu-visit-buffer): New functions.
17378 * files.el (save-buffers-kill-emacs): Don't assume any return
17379 value of list-processes, which is undocumented anyway.
17381 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17383 * emacs-lisp/tabulated-list.el: New file.
17385 * emacs-lisp/package.el: Use Tabulated List mode.
17386 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17387 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17388 table format using Tabulated List mode variables.
17389 (package--push): New macro, replacing package-list-maybe-add.
17390 (package-menu--generate): Use package--push. Renamed from
17391 package--generate-package-list.
17392 (package-menu-refresh, list-packages): Use it.
17393 (package-menu--print-info): Rename from package-print-package.
17394 Return insertion data instead of inserting it directly.
17395 (package-menu-describe-package, package-menu-execute):
17396 Use tabulated-list-get-id.
17397 (package-menu-mark-delete, package-menu-mark-install)
17398 (package-menu-mark-unmark, package-menu-backup-unmark)
17399 (package-menu-mark-obsolete-for-deletion):
17400 Use tabulated-list-put-tag.
17401 (package--list-packages, package-menu-revert)
17402 (package-menu-get-package, package-menu-get-version)
17403 (package-menu-sort-by-column): Functions deleted.
17404 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17405 (package-menu--status-predicate, package-menu--version-predicate)
17406 (package-menu--name-predicate)
17407 (package-menu--description-predicate): Handle arguments in the
17408 Tabulated List format.
17409 (package-list-packages-no-fetch): Call list-packages.
17411 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17413 * files.el (after-find-file-from-revert-buffer): Remove variable.
17414 (after-find-file): Don't bind it.
17415 (revert-buffer-in-progress-p): New variable.
17416 (revert-buffer): Bind it.
17417 Pass nil for `after-find-file-from-revert-buffer'.
17419 * saveplace.el (save-place-find-file-hook): Use new variable
17420 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17422 2011-04-06 Glenn Morris <rgm@gnu.org>
17424 * Makefile.in (AUTOGEN_VCS): New variable.
17425 (autoloads): Use $AUTOGEN_VCS.
17427 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17428 * calendar/calendar.el (calendar-mode-map):
17429 Check for toolkit scroll bars. (Bug#8305)
17431 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17433 * minibuffer.el (completion-in-region--postch)
17434 (completion-in-region-mode): Remove unnecessary messages.
17436 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17438 * font-lock.el (font-lock-refresh-defaults):
17439 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17440 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17442 * info.el (Info-directory-list, Info-read-node-name-2)
17443 (Info-split-parameter-string): Doc fixes.
17444 (Info-virtual-nodes): Reflow docstring.
17445 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17446 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17447 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17448 Fix typos in docstrings.
17449 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17450 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17451 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17452 (Info-restore-desktop-buffer): Mark unused parameters.
17453 (Info-directory-find-file, Info-directory-find-node)
17454 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17455 (Info-virtual-index-find-node, Info-apropos-find-file)
17456 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17457 Mark unused parameters; fix typos in docstrings.
17458 (Info-virtual-index): Remove unused local variable `nodename'.
17460 2011-04-05 Deniz Dogan <deniz@dogan.se>
17462 * net/rcirc.el: Update my e-mail address.
17463 (rcirc-mode-map): Remove M-o binding.
17465 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17467 * startup.el (command-line): Save the cursor's theme-face
17468 directly, instead of using face-override-spec.
17470 * custom.el (load-theme): Minor optimization in assigning faces.
17472 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17474 * help-fns.el (describe-variable): Complete all variables having
17475 documentation, including keywords.
17476 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17478 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17480 Convert to lexical-binding.
17482 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17483 (bs--get-marked-string, bs--get-modified-string)
17484 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17485 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17486 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17488 * ehelp.el (electric-help-execute-extended)
17489 (electric-help-ctrl-x-prefix):
17490 * hexl.el (hexl-revert-buffer-function):
17491 * linum.el (linum-after-change, linum-after-scroll):
17492 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17494 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17496 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17503 * epg.el: Use lexical binding.
17505 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17507 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17509 * textmodes/flyspell.el (flyspell-word): Recognize default
17510 dictionary case for flyspell-mark-duplications-exceptions.
17511 Use regexp matching for languages.
17512 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17513 default dictionary (Bug#7926).
17515 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17517 * emacs-lisp/package.el (package--with-work-buffer):
17518 Recognize https URLs.
17520 * net/network-stream.el: Move from gnus/proto-stream.el.
17521 Change prefix to network-stream throughout.
17522 (open-protocol-stream): Merge into open-network-stream, leaving
17523 open-protocol-stream as an alias. Handle nil BUFFER args.
17525 * subr.el (open-network-stream): Move to net/network-stream.el.
17527 2011-04-02 Glenn Morris <rgm@gnu.org>
17529 * find-dired.el (find-exec-terminator): New option.
17530 (find-ls-option): Test for -ls support.
17531 (find-ls-subdir-switches): Test for -b in find-ls-option.
17532 (find-dired, find-grep-dired): Doc fixes.
17533 (find-dired): Use find-exec-terminator.
17535 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17536 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17537 (find-name-arg): Remove purecopy.
17539 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17540 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17541 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17542 accordingly. Don't add the null-device if not needed.
17544 * files.el (save-some-buffers): Doc fix.
17546 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17548 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17550 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17552 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17553 Use `dolist' rather than `mapcar'.
17555 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17557 Add lexical binding.
17559 * subr.el (apply-partially): Use new closures rather than CL.
17560 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17561 (dolist, dotimes): Use slightly different expansion for lexical code.
17562 (functionp): Move to C.
17563 (letrec): New macro.
17564 (with-wrapper-hook): Use it and apply-partially instead of CL.
17565 (eval-after-load): Preserve lexical-binding.
17566 (save-window-excursion, with-output-to-temp-buffer): Turn them
17569 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17571 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17573 (help-add-fundoc-usage): Don't add `Not documented'.
17574 (help-function-arglist): Handle closures, subroutines, and new
17575 byte-code-functions.
17576 (help-make-usage): Remove leading underscores.
17577 (describe-function-1): Handle closures.
17578 (describe-variable): Use special-variable-p for completion.
17580 * files.el (lexical-binding): Declare safe.
17582 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17583 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17584 (pcase): Add `let' pattern.
17585 Change memoization so it actually works.
17586 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17587 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17590 * emacs-lisp/macroexp.el: Use lexical binding.
17591 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17592 Don't convert ' to #' without checking that it's indeed quoting
17595 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17596 Use eval-sexp-add-defvars.
17597 (eval-sexp-add-defvars): New fun.
17599 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17601 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17603 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17604 than the internal `byte-compile-lambda'.
17605 (defmethod): Don't hide code under quotes.
17606 (eieio-defmethod): New `code' argument.
17608 * emacs-lisp/eieio-comp.el: Remove.
17610 * emacs-lisp/edebug.el (edebug-eval-defun)
17611 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17612 (edebug-toggle): Avoid `eval'.
17614 * emacs-lisp/disass.el (disassemble-internal): Handle new
17616 (disassemble-1): Handle new byte codes.
17618 * emacs-lisp/cl.el (pushnew): Silence warning.
17620 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17621 (cl-byte-compile-throw): Remove.
17622 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17624 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17627 * emacs-lisp/cconv.el: New file.
17629 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17630 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17631 (byte-compile-initial-macro-environment):
17632 Handle declare-function here.
17633 (byte-compile--lexical-environment): New var.
17634 (byte-stack-ref, byte-stack-set, byte-discardN)
17635 (byte-discardN-preserve-tos): New lap codes.
17636 (byte-interactive-p): Don't use any more.
17637 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17639 (byte-compile-lapcode): Use them and handle new lap codes.
17640 (byte-compile-obsolete): Remove.
17641 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17642 (byte-compile-arglist-warn): Check late def of inlinable funs.
17643 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17644 since they should have been expanded by now.
17645 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17646 (byte-compile-from-buffer): Remove unused second arg.
17647 (byte-compile-preprocess): New function.
17648 (byte-compile-toplevel-file-form): New function to distinguish
17649 file-form calls from outside from file-form calls from hunk-handlers.
17650 (byte-compile-file-form): Simplify.
17651 (byte-compile-file-form-defsubst): Remove.
17652 (byte-compile-file-form-defmumble): Simplify now that
17653 byte-compile-lambda always returns a byte-code-function.
17654 (byte-compile): Preprocess.
17655 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17656 Remove, not used any more.
17657 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17658 (byte-compile-make-args-desc): New funs.
17659 (byte-compile-lambda): Handle lexical functions. Always return
17660 a byte-code-function.
17661 (byte-compile-reserved-constants): New var, to make up room for
17662 closed-over variables.
17663 (byte-compile-constants-vector): Obey it.
17664 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17665 (byte-compile-macroexpand-declare-function): New function.
17666 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17667 byte-code-functions.
17668 (byte-compile-form): Check obsolescence here.
17669 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17670 (byte-compile-variable-ref): Remove.
17671 (byte-compile-dynamic-variable-op): New fun.
17672 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17673 (byte-compile-variable-set): New funs.
17674 (byte-compile-discard): Add 2 args.
17675 (byte-compile-stack-ref, byte-compile-stack-set)
17676 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17677 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17678 macroexpand-all instead.
17679 (byte-compile-quote-form): Remove.
17680 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17681 (byte-compile-bind, byte-compile-unbind): New funs.
17682 (byte-compile-let): Handle let* and lexical binding.
17683 (byte-compile-let*): Remove.
17684 (byte-compile-catch, byte-compile-unwind-protect)
17685 (byte-compile-track-mouse, byte-compile-condition-case):
17686 Handle a new :fun-body form, used for lexical scoping.
17687 (byte-compile-save-window-excursion)
17688 (byte-compile-with-output-to-temp-buffer): Remove.
17689 (byte-compile-defun): Simplify.
17690 (byte-compile-stack-adjustment): New fun.
17691 (byte-compile-out): Use it.
17692 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17694 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17697 * emacs-lisp/byte-opt.el: Use lexical binding.
17698 (byte-inline-lapcode): Remove (to bytecomp).
17699 (byte-compile-inline-expand): Pay attention to inlining to/from
17700 lexically bound code.
17701 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17703 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17704 any more and don't call compiler-macros.
17705 (byte-compile-splice-in-already-compiled-code): Remove.
17706 (byte-code): Don't inline any more.
17707 (disassemble-offset): Receive `bytes' as argument rather than via
17709 (byte-compile-tag-number): Declare before first use.
17710 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17711 `return' even if make-spliceable.
17712 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17713 obsolete interactive-p.
17714 (byte-optimize-lapcode): Optimize new lap-codes.
17715 Don't trip up on new form of `byte-constant' lap code.
17717 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17719 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17721 * custom.el (custom-initialize-default, custom-declare-variable):
17724 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17726 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17727 (COMPILE_FIRST): Add macroexp and cconv.
17728 * makefile.w32-in: Mirror changes in Makefile.in.
17730 * vc/cvs-status.el:
17734 * vc/smerge-mode.el:
17735 * textmodes/bibtex-style.el:
17736 * textmodes/css-mode.el:
17744 * emacs-lisp/smie.el:
17747 * abbrev.el: Use lexical binding.
17749 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17751 * info.el (info-display-manual): New function.
17753 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17755 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17757 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17759 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17760 an entry for that server in rcirc-authinfo. (Bug#8385)
17762 2011-03-31 Glenn Morris <rgm@gnu.org>
17764 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17766 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17768 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17770 * progmodes/python.el (python-default-interpreter)
17771 (python-python-command-args, python-jython-command-args)
17772 (python-which-shell, python-which-args, python-which-bufname)
17773 (python-file-queue, python-comint-output-filter-function)
17774 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17775 variables and functions.
17777 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17779 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17780 (completion-in-region-mode): New minor mode.
17781 (completion-in-region): Use it.
17782 (completion-in-region--data, completion-in-region-mode-map): New vars.
17783 (completion-in-region--postch): New function.
17784 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17786 (completion--capf-wrapper): New function.
17787 (completion-at-point): Use it to track well-behavedness of
17789 (completion-help-at-point): New command.
17791 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17793 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17794 syntax class to search for whitespace on a single line
17795 (Message-ID: <4D938140.4030905@redhat.com>).
17797 2011-03-30 Leo Liu <sdl.web@gmail.com>
17799 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17801 (edit-abbrevs-map): Bind them here.
17802 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17804 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17806 * allout.el (allout-hide-by-annotation, allout-flag-region):
17807 Reduce possibility of overlay leakage by making them volatile.
17809 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17810 hash is not shared between buffers. Mode initialization is
17811 responsible for giving it a useful starting value.
17812 (allout-item-span): Reduce possibility of overlay leakage by
17813 making them volatile.
17814 (allout-widgets-count-buttons-in-region): Add diagnostic function
17815 for tracking down button overlay leaks.
17817 2011-03-29 Leo Liu <sdl.web@gmail.com>
17819 * ido.el (ido-read-internal): Use the default history var
17820 minibuffer-history if no HISTORY is specified.
17822 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17824 * net/imap.el (imap-shell-open, imap-process-connection-type):
17825 Use imap-process-connection-type for 'shell' streams as well as
17826 Kerberos, SSL, other subprocesses.
17828 2011-03-28 Leo Liu <sdl.web@gmail.com>
17830 * abbrev.el (abbrev-table-empty-p): New function.
17831 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17832 nonempty ones. (Bug#5937)
17834 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17836 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17838 2011-03-27 Leo Liu <sdl.web@gmail.com>
17840 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17841 for foreground and background colors.
17842 (ansi-color-make-color-map): Adapt.
17844 2011-03-25 Leo Liu <sdl.web@gmail.com>
17846 * midnight.el (midnight-time-float): Remove. Note it calculates
17847 the microsecond component incorrectly and seconds-to-time does the
17849 Remove redundant (require 'timer).
17851 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17852 (ido-completions): Remove unused arguments. (Bug#8329)
17854 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17856 * minibuffer.el (completion--flush-all-sorted-completions):
17857 Remove itself from hook.
17858 (completion-at-point): Let the functions perform the completion
17859 immediately and return nil or t.
17860 * comint.el (comint-dynamic-complete-functions): Now identical to
17861 completion-at-point-functions.
17862 (comint-dynamic-list-input-ring): Remove unused var `index'.
17863 (comint--match-partial-filename, comint--unquote&expand-filename):
17864 New funs, split from comint-match-partial-filename.
17865 (comint-dynamic-complete): Use completion-at-point.
17866 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17868 2011-03-24 Drew Adams <drew.adams@oracle.com>
17870 * thingatpt.el: Support `defun'.
17872 2011-03-23 Leo Liu <sdl.web@gmail.com>
17874 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17876 * help-mode.el (help-mode-finish): Tweak regexp.
17878 2011-03-23 Glenn Morris <rgm@gnu.org>
17880 * eshell/esh-opt.el (eshell-eval-using-options):
17881 Do not bind unused local variable `eshell-option-stub'.
17883 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17885 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17887 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17888 keymap variable in `with-no-warnings' to avoid a warning when the
17889 keymap has been already `defconst'ed.
17891 2011-03-22 Leo Liu <sdl.web@gmail.com>
17893 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17894 encode all chars in abbrevs; otherwise use emacs-mule or
17895 utf-8-emacs. (Bug#8308)
17897 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17899 * simple.el (backward-delete-char-untabify):
17900 Avoid warning about using `delete-backward-char'.
17902 * image.el (image-type-file-name-regexps): Make it variable.
17903 `imagemagick-register-types' modifies it, and the user may want
17904 to add new extensions for known image types.
17905 (imagemagick-register-types): Throw error if not using ImageMagick.
17907 2011-03-22 Leo Liu <sdl.web@gmail.com>
17909 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17910 located before rcirc-prompt-end-marker.
17911 (rcirc-complete): Error if point is not after rcirc prompt.
17912 Handle the case when table is nil.
17913 (rcirc-user-authenticated): Define to fix compiler warning.
17915 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17917 * custom.el (custom--inhibit-theme-enable): Make it affect only
17918 custom-theme-set-variables and custom-theme-set-faces.
17919 (provide-theme): Ignore custom--inhibit-theme-enable.
17920 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17921 (custom-enabling-themes): Delete variable.
17922 (enable-theme): Accept only loaded themes as arguments.
17923 Ignore the special custom-enabled-themes variable.
17924 (custom-enabled-themes): Forbid themes from setting this.
17925 Eliminate use of custom-enabling-themes.
17926 (custom-push-theme): Quote "changed" custom var entry.
17928 2011-03-21 Leo Liu <sdl.web@gmail.com>
17930 * ido.el (ido-read-internal): Add ido-selected to history instead
17933 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17935 * subr.el (deferred-action-list, deferred-action-function):
17938 2011-03-21 Leo Liu <sdl.web@gmail.com>
17940 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17941 change on 2011-02-13 (bug#8309).
17943 * minibuffer.el (read-file-name-function): Change default value.
17944 (read-file-name--defaults): Rename from read-file-name-defaults.
17945 (read-file-name-default): Rename from read-file-name.
17946 (read-file-name): Call read-file-name-function.
17948 2011-03-21 Glenn Morris <rgm@gnu.org>
17950 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17953 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17955 * cus-theme.el: Add missing provide statement.
17956 (customize-create-theme): Extract theme value correctly.
17957 (custom-theme-visit-theme): Autoload.
17958 (customize-create-theme): Prompt before inserting default faces.
17960 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17962 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17963 units and musical notes.
17965 2011-03-20 Leo Liu <sdl.web@gmail.com>
17967 * ido.el (ido-read-internal): Use completing-read-default.
17968 (ido-completing-read): Fix compatibility with completing-read.
17970 2011-03-20 Christian Ohler <ohler@gnu.org>
17972 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17973 (ert-delete-all-tests): Use `called-interactively-p' rather than
17975 (ert--make-xrefs-region): Respect END.
17977 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17979 * dired-aux.el (dired-create-directory): Signal an error if the
17980 directory already exists (Bug#8246).
17982 * facemenu.el (list-colors-display): Call list-faces-display
17983 inside with-help-window.
17984 (list-colors-print): Use display property to align the final
17985 column, instead of checking window-width.
17987 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17989 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17990 windows-nt systems.
17991 (emerge-protect-metachars): Quote correctly for ms-dos and
17992 windows-nt systems.
17994 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17996 * info.el (info-initialize): Replace all uses of `:' with
17997 path-separator for compatibility with non-Unix systems.
17998 Cache quoting of path-separator. (Bug#8258)
18000 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18002 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18003 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18004 (mouse-avoidance-mode): Fix typos in docstrings.
18006 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18008 * startup.el (package-subdirectory-regexp): Move from package.el.
18009 Omit \\` and \\', and let callers add them.
18011 * emacs-lisp/package.el (package-strip-version)
18012 (package-load-all-descriptors): Add \\` and \\' to
18013 package-subdirectory-regexp before using it.
18014 (package-untar-buffer): New arg DIR; ensure that file untars only
18015 into this expected directory. Remove superfluous delete-region.
18016 (package-unpack): Caller changed.
18017 (package-tar-file-info): Use package-subdirectory-regexp.
18019 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18021 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18022 diff-mode-shared-map (bug#8284).
18023 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18025 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18027 * calendar/time-date.el (format-seconds): Use assoc instead of
18028 assoc-string, since assoc-string doesn't exist in XEmacs.
18030 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18032 * custom.el (custom-known-themes): Reflow docstring.
18033 (custom-theme-load-path): Fix typo in docstring.
18034 (load-theme): Fix typo in error message.
18035 (custom-available-themes, custom-variable-theme-value):
18036 Use `let', not `let*'.
18038 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18040 * calc/README: Mention inclusion of musical notes.
18042 * calc/calc-units.el (calc-lu-quant): Rename from
18043 `calc-logunits-quantity'.
18044 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18045 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18046 (calc-db): Rename from `calc-dblevel'.
18047 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18048 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18049 (calc-np): Rename from `calc-nplevel'.
18050 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18051 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18052 (calc-lu-plus): Rename from `calc-logunits-add'.
18053 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18054 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18055 (calc-lu-minus): Rename from `calc-logunits-sub'.
18056 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18057 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18058 (calc-lu-times): Rename from `calc-logunits-mul'.
18059 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18060 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18061 (calc-lu-divide): Rename from `calc-logunits-div'.
18062 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18063 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18065 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18066 functions being autoloaded.
18068 * calc/calc.el (calc-lu-power-reference): Rename from
18069 `calc-logunits-power-reference'.
18070 (calc-lu-field-reference): Rename from
18071 `calc-logunits-field-reference'.
18073 * calc/calc-help.el (calc-l-prefix-help):
18074 Mention musical note functions.
18076 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18078 * minibuffer.el (completion-all-sorted-completions):
18079 Use :completion-cycle-penalty text property if present.
18081 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18083 * allout.el (allout-yank-processing): Adjust for new rebulleting
18084 regime so bullet being yanked is used without prompting the user
18087 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18089 * startup.el (command-line): Warn the user that _emacs is deprecated.
18091 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18093 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18094 (delphi-verbose, delphi-comment-face, delphi-string-face)
18095 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18096 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18097 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18098 (delphi-new-comment-line, delphi-font-lock-defaults)
18099 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18100 Fix typos in docstrings.
18102 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18104 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18105 Invert the roles of character and string values for INSTEAD, so a
18106 string is used for the more common case of a defaulting prompt.
18108 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18110 * progmodes/ruby-mode.el (ruby-backward-sexp):
18111 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18112 * play/gamegrid.el (gamegrid-make-face):
18113 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18114 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18115 * notifications.el (notifications-notify):
18116 * net/xesam.el (xesam-search-engines):
18117 * net/quickurl.el (quickurl-list-insert):
18118 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18120 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18122 * startup.el (command-line): Update package subdirectory regexp.
18124 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18126 * allout.el (allout-abbreviate-flattened-numbering)
18127 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18129 * subr.el (read-char-choice): Only show the cursor after the prompt,
18130 not after the answer.
18132 2011-03-15 Kevin Ryde <user42@zip.com.au>
18134 * help-fns.el (variable-at-point): Skip leading quotes, if any
18137 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18139 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18142 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18144 * shell.el (shell): When called interactively, offer to change the
18145 shell file name on remote hosts.
18147 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18149 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18150 integration for LDAP parameters. The host, base, user or binddn,
18151 and secret tokens can be specified in a netrc file, for instance.
18152 This is optional because an `auth-source' parameter must be
18153 specified in the search attributes.
18155 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18157 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18159 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18161 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18162 into declaration. Remove redundant and harmful binding.
18164 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18166 * files.el (file-ownership-preserved-p): Pass `integer' as an
18167 explicit 2nd argument to `file-attributes'. If the file's owner
18168 is the Administrators group on Windows, and the current user is
18169 Administrator, consider that a match.
18171 * server.el (server-ensure-safe-dir): Consider server directory
18172 safe on MS-Windows if its owner is the Administrators group while
18173 the current Emacs user is Administrator. Use `=' to compare
18174 numerical UIDs, since they could be integers or floats.
18176 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18178 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18180 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18182 Sync with Tramp 2.2.1.
18184 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18186 * net/trampver.el: Update release number.
18188 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18190 * progmodes/compile.el (compilation--previous-directory): Fix up
18191 various nil/dead-marker mismatches (bug#8014).
18192 (compilation-directory-properties, compilation-error-properties):
18193 Don't call it at a position past the one we're about to change.
18195 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18196 Disable obsolescence warnings in the file that declares it.
18198 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18200 * allout-widgets.el (allout-widgets-tally):
18201 Initialize allout-widgets-tally as a hash table rather than nil to
18202 prevent mode-line redisplay warnings. Also, clarify the module
18203 description and fix a comment typo.
18205 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18207 * help-fns.el (describe-variable): Don't complete keywords.
18208 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18210 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18212 * emacs-lisp/package.el (package-version-join): Impose a standard
18213 string representation for pre/alpha/beta version lists.
18214 (package-unpack-single): Standardize the directory name by passing
18215 it through package-version-join.
18216 (package-strip-rcs-id): Accept any version string that does not
18217 signal an error in version-to-list.
18219 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18221 * simple.el (delete-trailing-whitespace): Return nil for the
18222 benefit of `write-file-functions'.
18224 2011-03-10 Glenn Morris <rgm@gnu.org>
18226 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18228 * vc/vc-git.el (vc-git-program): New option.
18229 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18230 (vc-git--call): Use it.
18232 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18234 * cus-edit.el (Custom-newline): If no button at point, look
18235 for a subgroup button at start-of-line. (Bug#2298)
18237 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18239 2011-03-10 Julien Danjou <julien@danjou.info>
18241 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18242 `cursor-type' is nil.
18244 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18246 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18248 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18250 * allout.el: Change so yank of distinctive-bullet items
18251 preserves the existing header prefix, rebulleting it if necessary,
18252 rather than replacing it. This is necessary for proper operation
18253 of cooperative addons like allout-widgets.
18254 (allout-make-topic-prefix, allout-rebullet-heading):
18255 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18256 value as alternate bullet to be used, instead of prompting the user
18257 for a bullet character.
18259 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18261 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18262 Do not use `tramp-file-name-port', because this returns also
18263 `tramp-default-port'.
18265 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18267 * net/rcirc.el (rcirc-handler-001): Remove useless
18268 with-rcirc-process-buffer.
18269 (rcirc-check-auth-status): Swap arguments to string-match.
18271 2011-03-09 Glenn Morris <rgm@gnu.org>
18273 * shell.el (shell-mode):
18274 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18276 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18277 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18279 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18281 * emacs-lisp/package.el (package-refresh-contents)
18282 (package-menu-execute): Use condition-case-no-debug.
18284 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18286 * simple.el (shell-command-to-string): Use `process-file'.
18288 * emacs-lisp/package.el (package-tar-file-info): Handle also
18291 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18292 Use `equal' for upload base check.
18294 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18296 * textmodes/texinfo.el (texinfo-environments):
18297 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18299 2011-03-08 Glenn Morris <rgm@gnu.org>
18301 * cus-start.el (cursor-in-non-selected-windows):
18302 Fix :set quoting oddness. (Bug#8192)
18304 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18305 in some setf expressions. (Bug#2159)
18307 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18309 * custom.el (custom-available-themes): Return themes in
18310 alphabetical order.
18312 See ChangeLog.15 for earlier changes.
18314 ;; Local Variables:
18318 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18320 This file is part of GNU Emacs.
18322 GNU Emacs is free software: you can redistribute it and/or modify
18323 it under the terms of the GNU General Public License as published by
18324 the Free Software Foundation, either version 3 of the License, or
18325 (at your option) any later version.
18327 GNU Emacs is distributed in the hope that it will be useful,
18328 but WITHOUT ANY WARRANTY; without even the implied warranty of
18329 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18330 GNU General Public License for more details.
18332 You should have received a copy of the GNU General Public License
18333 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.