1 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3 Fix glitches caused by addition of psec to timers (Bug#12430).
4 * image.el (image-animate-timer):
5 * time.el (display-time-world-timer):
6 Use timer--function and timer--args rather than raw access to
9 2012-09-13 Glenn Morris <rgm@gnu.org>
11 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
12 If not compiling a file, try using load-file-name.
14 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
18 (edebug-update-eval-list): Use `push'.
20 * emacs-lisp/edebug.el: Use lexical-binding.
21 Remove the "edebug-" prefix from non-dynamically-scoped variables.
22 Mark unused args with underscore.
23 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
24 (edebug-form-data): Use defvar-local.
25 (edebug-make-before-and-after-form, edebug-make-after-form):
27 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
28 Not dynamically scoped any more.
29 (edebug--enter-trace): Add arguments `function' and `args'.
30 Rename from edebug-enter-trace.
31 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
32 (edebug--update-coverage): Add `after-index' and `value' args.
33 Rename from edebug-update-coverage.
34 (edebug-slow-after): Call it accordingly.
35 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
36 edebug-recursive-edit.
37 (edebug--display): Call it accordingly. Add args `value',
38 `offset-index', and `arg-mode'. Rename from edebug-display.
39 (edebug-debugger, edebug): Call it accordingly.
40 (edebug-eval-display-list): Use dolist.
42 2012-09-12 Juri Linkov <juri@jurta.org>
44 * info.el (Info-search): Don't check for isearch-mode and
45 isearch-regexp before let-binding search-spaces-regexp to
46 Info-search-whitespace-regexp.
47 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
48 search-whitespace-regexp if isearch-lax-whitespace or
49 isearch-regexp-lax-whitespace is non-nil.
50 (Info-mode): Don't set local variable search-whitespace-regexp.
51 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
53 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
55 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
56 (debugger-env-macro): Remove support for unread-command-char.
58 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
59 the temporary map re-appearing on emulation-mode-map-alists.
61 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
64 * ehelp.el (with-electric-help): Accept functions in
65 electric-help-form-to-execute.
66 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
67 And replace unread-command-char -> unread-command-events.
69 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
71 Sync with Tramp 2.2.6.
73 * net/tramp.el (tramp-accept-process-output): Don't use
74 JUST-THIS-ONE in the XEmacs case.
76 * net/trampver.el: Update release number.
78 2012-09-12 Martin Rudalics <rudalics@gmx.at>
80 * emacs-lisp/debug.el (debugger-previous-window-height):
82 (debug): When debugger-jumping-flag is non-nil try to restore
83 height of debugger window. (Bug#8789)
85 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
87 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
88 overriding-local-map and pre/post-command-hook here.
89 (edebug-recursive-edit): Do it here instead (bug#12345).
90 (edebug-outside-unread-command-char): Remove all uses of
93 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
94 inhibit-debugger is bound instead.
96 2012-09-11 Bastien Guerry <bzg@gnu.org>
98 * subr.el (set-temporary-overlay-map): Add a docstring.
101 2012-09-11 Bastien Guerry <bzg@gnu.org>
103 * minibuffer.el (completion-table-subvert): Fix docstring.
106 2012-09-11 Bastien Guerry <bzg@gnu.org>
108 * help-fns.el (describe-variable): Fix typo. (bug#12346)
110 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
112 * progmodes/sql.el: Version 3.1
113 (sql-db2-escape-newlines): New variable.
114 (sql-escape-newlines-filter): Use it.
116 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
118 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
120 2012-09-10 Dan Nicolaescu <dann@gnu.org>
122 * vc/diff-mode.el (diff-mode-menu):
123 Bind diff-remove-trailing-whitespace.
125 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
127 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
128 (emacs-lisp-byte-code-comment)
129 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
131 (eval-sexp-add-defvars): Don't skip defvars in column >0.
132 (eval-defun-2): Remove bogus interactive spec.
133 (lisp-indent-line): Remove redundant whole-exp code, now done in
134 indent-according-to-mode.
135 (save-match-data): Remove redundant indent data.
137 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
140 2012-09-09 Juri Linkov <juri@jurta.org>
142 * replace.el (replace-regexp-lax-whitespace): New defcustom.
143 (replace-lax-whitespace, query-replace-regexp)
144 (query-replace-regexp-eval, replace-regexp): Doc fix.
145 (perform-replace, replace-highlight): Let-bind
146 isearch-lax-whitespace to replace-lax-whitespace and
147 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
149 * isearch.el (isearch-query-replace): Let-bind
150 replace-lax-whitespace to isearch-lax-whitespace and
151 replace-regexp-lax-whitespace to
152 isearch-regexp-lax-whitespace. (Bug#10885)
154 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
156 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
158 2012-09-09 Alan Mackenzie <acm@muc.de>
160 * progmodes/cc-engine.el (c-state-cache-init):
161 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
162 (c-record-parse-state-state):
163 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
165 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
167 * register.el (register-separator): Rename from
168 separator-register. All uses changed. Doc fix.
169 (register): Fix version.
171 2012-09-09 Chong Yidong <cyd@gnu.org>
173 * replace.el (query-replace-map): Bind four new symbols for
174 requesting window scrolling.
176 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
177 query-replace-map (Bug#8948).
179 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
181 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
182 since they are now in query-replace-map.
184 * window.el (scroll-other-window-down): Make the arg optional.
186 2012-09-09 Chong Yidong <cyd@gnu.org>
188 * files.el (hack-local-variables-confirm): Use quit-window to kill
189 the *Local Variables* buffer.
191 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
193 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
194 not just expect to be at its beginning. Adjust callees.
195 Succeed when do-end block has no space before the pipe character.
196 (ruby-brace-to-do-end): When the original block is one-liner,
197 convert to multiline. Reindent the result.
199 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
201 * register.el (register): New group.
202 (register-separator): New user option.
203 (increment-register): Route it to `append-to-register', if
204 register contains text. Implication is that `C-x r +' can now be
205 used for appending to a text register (bug#12217).
206 (append-to-register, prepend-to-register): Add separator based on
209 2012-09-08 Alan Mackenzie <acm@muc.de>
211 AWK Mode: make auto-newline work when there's "==" in the pattern.
212 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
214 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
215 Test more rigorously for "=" token.
217 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
219 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
220 Only fail when reached LIMIT.
222 2012-09-08 Chong Yidong <cyd@gnu.org>
224 * dired.el (dired-mode-map): Don't bind M-=.
226 * dired-aux.el (dired-diff): Use backup file as default.
228 2012-09-08 Drew Adams <drew.adams@oracle.com>
230 * subr.el (add-to-history): Fix delete usage (Bug#12314).
232 2012-09-08 Chong Yidong <cyd@gnu.org>
234 * subr.el (syntax-after, syntax-class): Doc fix.
236 2012-09-08 Martin Rudalics <rudalics@gmx.at>
238 * window.el (display-buffer-in-previous-window): New buffer
239 display action function.
241 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
242 (debugger-previous-window): New variable.
243 (debug): Rewrite using display-buffer-in-previous-window,
244 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
246 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
248 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
250 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
252 * progmodes/python.el (python-shell-send-string):
253 When default-directory is remote, create temp file on remote
255 (python-shell-send-file): When file is remote, pass local view of
256 file paths to remote Python interpreter. (Bug#12340)
258 2012-09-07 Chong Yidong <cyd@gnu.org>
260 * window.el (switch-to-buffer): Doc fix (Bug#12181).
262 * files.el (after-find-file): Don't fail on a read-only buffer if
263 require-final-newline is `visit' or `visit-save' (Bug#11156).
265 * subr.el (read-char-choice): Allow quitting via ESC ESC.
267 * userlock.el (ask-user-about-supersession-threat):
268 Use read-char-choice (Bug#12093).
270 2012-09-07 Chong Yidong <cyd@gnu.org>
272 * subr.el (buffer-narrowed-p): New function.
274 * ses.el (ses-widen):
275 * simple.el (count-words--buffer-message):
276 * net/browse-url.el (browse-url-of-buffer): Use it
278 * simple.el (count-words-region): Don't signal an error if there
279 is a non-nil prefix arg and the mark is not set.
281 * help.el (describe-key-briefly): Allow the message to be seen
282 when invoked from the minibuffer (Bug#7014).
284 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
286 * progmodes/ruby-mode.el (ruby-end-of-defun)
287 (ruby-beginning-of-defun): Simplify, allow indentation before
288 block beginning and end keywords.
289 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
290 (ruby-end-of-defun): Expect that the point is at the beginning of
293 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
295 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
297 (cl--make-usage-args): Strip _ from argument names.
299 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
301 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
302 obsolete alias speedbar-key-map.
303 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
304 (vhdl-index-menu-init): Don't use obsolete variable
305 font-lock-maximum-size.
307 2012-09-06 Chong Yidong <cyd@gnu.org>
309 * frame.el (window-system-version): Mark as obsolete.
311 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
312 of obsolete variable speedbar-key-map.
314 2012-09-06 Juri Linkov <juri@jurta.org>
316 * replace.el (replace-lax-whitespace): New defcustom.
317 (query-replace, query-replace-regexp, query-replace-regexp-eval)
318 (replace-string, replace-regexp): Mention it in docstrings.
319 (perform-replace, replace-highlight): Let-bind
320 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
321 to the values of replace-lax-whitespace and regexp-flag.
322 Don't let-bind search-whitespace-regexp. (Bug#10885)
324 * isearch.el (isearch-query-replace): Let-bind
325 replace-lax-whitespace instead of let-binding
326 replace-search-function and replace-re-search-function.
327 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
328 and isearch-regexp-lax-whitespace to lazy-highlight variables.
329 (isearch-toggle-symbol): Set isearch-regexp to nil
330 in isearch-word mode (like in isearch-toggle-word).
332 2012-09-06 Juri Linkov <juri@jurta.org>
334 * replace.el (replace-search-function)
335 (replace-re-search-function): Set default values to nil.
336 (perform-replace): Let-bind isearch-related variables based on
337 replace-related values, call `isearch-search-fun' and let-bind
338 the result to `search-function'. Remove code that sets
339 `search-function' and `search-string' separately for
341 (replace-highlight): Add new argument `delimited-flag' and
342 rename other arguments to the names used in `perform-replace'.
343 Let-bind `isearch-word' to the argument `delimited-flag'.
344 (Bug#10885, bug#10887)
346 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
348 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
349 ruby-beginning-of-indent, simplify, allow all keywords to have
350 indentation before them.
351 (ruby-beginning-of-indent): Adjust for above. Search until the
352 found point is not inside a string or comment.
353 (ruby-font-lock-keywords): Allow symbols to start with "@"
354 character, give them higher priority than variables.
355 (ruby-syntax-propertize-function)
356 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
357 matchers. Expression expansions are not comments when inside a
358 string, and there comment syntax status is irrelevant.
359 (ruby-match-expression-expansion): New function. Check that
360 expression expansion is inside a string, and it's not escaped.
361 (ruby-font-lock-keywords): Use it.
363 2012-09-05 Martin Rudalics <rudalics@gmx.at>
365 * help.el (temp-buffer-max-height): New default value.
366 (temp-buffer-resize-frames): New option.
367 (resize-temp-buffer-window): Optionally resize frame.
369 * window.el (fit-frame-to-buffer-bottom-margin): New option.
370 (fit-frame-to-buffer): New function.
372 2012-09-05 Glenn Morris <rgm@gnu.org>
374 * emulation/cua-rect.el (cua--init-rectangles):
375 * textmodes/picture.el (picture-mode-map):
376 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
377 like forward-char and backward-char. (Bug#12317)
379 2012-09-05 Leo Liu <sdl.web@gmail.com>
381 * progmodes/flymake.el (flymake-warning-re): New variable.
382 (flymake-parse-line): Use it.
384 2012-09-05 Glenn Morris <rgm@gnu.org>
386 * calendar/holidays.el (holiday-christian-holidays):
387 Rename an entry. (Bug#12289)
389 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
391 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
394 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
396 * loadup.el: Load macroexp. Remove hack.
397 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
398 (macroexp--expand-all): Use it to get better warnings.
399 (macroexp--backtrace, macroexp--trim-backtrace-frame)
400 (internal-macroexpand-for-load): New functions.
401 (macroexp--pending-eager-loads): New var.
402 (emacs-startup-hook): New hack to replace one in loadup.el.
403 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
404 (cl--compiler-macro-cXXr): Move to top, before they can be used.
405 (cl-psetf): Simplify.
406 (cl-defstruct): Add indent rule.
408 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
410 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
411 over `user-mail-address' for the SMTP MAIL FROM envelope.
412 (smtpmail-via-smtp): Ditto.
414 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
416 * progmodes/ruby-mode.el: Clean up keybindings.
417 (ruby-mode-map): Don't bind ruby-electric-brace,
418 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
419 backward-kill-word, reindent-then-newline-and-indent.
420 (ruby-mark-defun): Remove.
421 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
422 (ruby-mode): Set local beginning-of-defun-function and
423 end-of-defun-function values.
425 2012-09-03 Martin Rudalics <rudalics@gmx.at>
427 * window.el (temp-buffer-window-setup-hook)
428 (temp-buffer-window-show-hook): New hooks.
429 (temp-buffer-window-setup, temp-buffer-window-show)
430 (with-temp-buffer-window): New functions.
431 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
432 (special-display-popup-frame): Make sure the window used shows BUFFER.
434 * help.el (temp-buffer-resize-mode): Fix doc-string.
435 (resize-temp-buffer-window): New optional argument WINDOW.
437 * files.el (recover-file, save-buffers-kill-emacs):
438 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
440 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
442 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
443 remote definition of `default-directory', ensure we can connect.
445 2012-09-02 Juri Linkov <juri@jurta.org>
447 Toggle whitespace matching mode with M-s SPC.
448 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
450 * isearch.el (search-whitespace-regexp): Doc fix.
451 Remove cons cell customization.
452 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
453 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
455 (isearch-forward, isearch-forward-regexp): Doc fix.
456 (isearch-toggle-lax-whitespace): New command.
457 (search-forward-lax-whitespace, search-backward-lax-whitespace)
458 (re-search-forward-lax-whitespace)
459 (re-search-backward-lax-whitespace): New functions.
460 (isearch-whitespace-regexp): Remove function.
461 (isearch-query-replace): Let-bind replace-search-function and
462 replace-re-search-function.
463 (isearch-occur): Let-bind search-spaces-regexp according to the
464 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
465 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
466 condition for C-q SPC.
467 (isearch-search-fun-default): Use new functions mentioned above.
468 (isearch-search-forward, isearch-search-backward): Remove functions.
469 (isearch-search): Don't let-bind search-spaces-regexp.
470 (isearch-lazy-highlight-space-regexp): Remove variable.
471 (isearch-lazy-highlight-lax-whitespace)
472 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
473 (isearch-lazy-highlight-new-loop): Use them.
474 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
476 2012-09-02 Chong Yidong <cyd@gnu.org>
478 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
480 2012-09-02 Glenn Morris <rgm@gnu.org>
482 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
484 2012-09-01 Glenn Morris <rgm@gnu.org>
486 * term.el: Tidy up menu definitions.
487 (term-mode-map): Use easymenu for In/Out, Complete menus.
488 (term-pager-break-map): Initialize in the defvar.
489 (term-terminal-menu, term-signals-menu): Define with easymenu.
490 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
491 (term-pager-menu): New, extracted from term-process-pager.
492 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
493 (term-update-mode-line): Propertize line/char and page items.
494 (term-process-pager): Move keymap initialization elsewhere.
496 2012-09-01 Martin Rudalics <rudalics@gmx.at>
498 * window.el (switch-to-prev-buffer): Handle additional values of
499 BURY-OR-KILL argument. Don't switch in minibuffer window.
500 (switch-to-next-buffer): Don't switch in minibuffer window.
501 (quit-restore-window): New function based on quit-window.
502 Handle additional values of former KILL argument.
503 (quit-window): Call quit-restore-window with appropriate
504 interpretation of KILL argument.
505 (display-buffer-below-selected): New buffer display action
508 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
510 * minibuffer.el (completion-at-point-functions): Complete docstring
513 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
515 Better seed support for (random).
516 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
517 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
518 * play/mpuz.el, play/tetris.el, play/zone.el:
519 * calc/calc-comb.el (math-init-random-base):
520 * play/blackbox.el (bb-init-board):
521 * play/life.el (life):
522 * server.el (server-use-tcp):
523 * type-break.el (type-break):
524 Remove unnecessary call to (random t).
525 * net/sasl.el (sasl-unique-id-function):
526 Change (random t) to (random), now that the latter is more random.
527 * play/life.el (life-initialized): Remove no-longer-needed var.
529 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
531 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
532 Consider frame's buffer predicate when choosing the buffer.
535 2012-08-30 Richard Stallman <rms@gnu.org>
537 * simple.el (special-mode-map): Delete binding for `z'.
539 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
541 * progmodes/compile.el (compilation-always-kill): Doc fix.
543 2012-08-30 Chong Yidong <cyd@gnu.org>
545 * window.el (display-buffer-reuse-frames): Make the obsolescence
546 message more informative.
548 2012-08-30 Glenn Morris <rgm@gnu.org>
550 * paren.el (show-paren-delay):
551 Add a :set function. Doc fix. (Bug#12297)
553 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
555 * progmodes/compile.el (compilation-always-kill): New var.
556 (compilation-start): Use it.
558 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
560 * simple.el (read-only-mode): Move from files.el for bootstrapping.
561 * files.el (read-only-mode): Move to simple.el.
563 * files.el (read-only-mode): New minor mode.
564 (toggle-read-only): Use it and mark obsolete.
565 (find-file--read-only):
566 * vc/vc.el (vc-next-action, vc-checkout):
567 * vc/vc-cvs.el (vc-cvs-checkout):
568 * obsolete/vc-mcvs.el (vc-mcvs-update):
569 * ffap.el (ffap--toggle-read-only): Update callers.
571 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
573 * eshell/esh-ext.el (eshell-external-command): Do not examine
574 remote shell scripts.
575 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
577 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
580 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
582 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
584 2012-08-28 Leo Liu <sdl.web@gmail.com>
586 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
587 completion-at-point. (Bug#12220)
589 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
591 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
593 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
595 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
596 be buffer-local; add delete-trailing-whitespace (bug#12259).
598 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
600 * progmodes/hideif.el (hif-compress-define-list):
601 Fix typo. (Bug#11951)
603 2012-08-28 Dan Nicolaescu <dann@gnu.org>
605 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
606 buffer local setting.
608 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
609 rcirc-encode-coding-system.
611 2012-08-28 Leo Liu <sdl.web@gmail.com>
613 * net/rcirc.el (rcirc-split-message): New function.
614 (rcirc-send-message): Use it. (Bug#12051)
616 2012-08-28 Juri Linkov <juri@jurta.org>
618 * info.el (Info-fontify-node): Hide empty lines at the end of
619 the node. (Bug#12272)
621 2012-08-27 Drew Adams <drew.adams@oracle.com>
623 * dired.el (dired-pop-to-buffer): Make window start at beginning
624 of buffer (Bug#12281).
626 2012-08-26 Chong Yidong <cyd@gnu.org>
628 * window.el (special-display-regexps, special-display-frame-alist)
629 (special-display-buffer-names, special-display-function)
630 (display-buffer-reuse-frames): Mark as obsolete.
632 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
634 * help.el (help-print-return-message): Don't treat
635 display-buffer-reuse-frames specially.
637 2012-08-26 Chong Yidong <cyd@gnu.org>
639 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
640 New variable, replacing gdb-frame-parameters.
641 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
642 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
643 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
644 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
645 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
646 the functions directly with gdb-display-buffer-other-frame-action.
647 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
648 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
649 (gdb-display-stack-buffer, gdb-display-locals-buffer)
650 (gdb-display-registers-buffer): Define directly.
651 (def-gdb-display-buffer): Macro deleted.
652 (gdb-display-buffer): Remove second and third args, callers don't
653 use them. Defer to the default display-buffer behavior, apart
654 from making windows dedicated.
655 (gdb-setup-windows): Don't call display-buffer unnecessarily.
657 * progmodes/gud.el (gud-display-line): Just use display-buffer.
659 * window.el (display-buffer-pop-up-frame): Handle a
660 pop-up-frame-parameters alist entry.
661 (display-buffer): Document it.
663 2012-08-26 Chong Yidong <cyd@gnu.org>
665 * isearch.el (search-whitespace-regexp): Make string and nil
666 values apply to both ordinary and regexp search. Allow a cons
667 cell value to distinguish between the two.
668 (isearch-whitespace-regexp, isearch-search-forward)
669 (isearch-search-backward): New functions.
670 (isearch-occur, isearch-search-fun-default, isearch-search)
671 (isearch-lazy-highlight-new-loop): Use them.
672 (isearch-forward, isearch-forward-regexp): Doc fix.
674 2012-08-26 Chong Yidong <cyd@gnu.org>
676 * faces.el (help-argument-name): Always inherit from italic
679 2012-08-25 Martin Rudalics <rudalics@gmx.at>
681 * window.el (window--even-window-heights): Even heights when
682 WINDOW and the selected window form a vertical combination.
683 (display-buffer-use-some-window): Provide that window used gets
684 sized back by quit-window. (Bug#11880) and (Bug#12091)
686 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
688 Fix file time stamp problem with bzr and CVS (Bug#12001).
689 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
690 in the file's time stamp, since the version control system loses
693 2012-08-22 Juri Linkov <juri@jurta.org>
695 * info.el (Info-fontify-node): Hide the suffix of the
696 Info file name in the header line. (Bug#12187)
698 2012-08-22 Glenn Morris <rgm@gnu.org>
700 * calendar/cal-tex.el (cal-tex-weekly-common):
701 Restore leading blank page.
703 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
705 * misc.el (forward-to-word, backward-to-word): Activate or extend
706 the region under `shift-select-mode'. (Bug#12231)
708 2012-08-22 Bastien Guerry <bzg@gnu.org>
710 * progmodes/executable.el (executable-prefix): Set to "#!" instead
711 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
712 gives details on why the space is never needed.
714 2012-08-22 Martin Rudalics <rudalics@gmx.at>
716 * window.el (walk-window-tree, window-with-parameter):
717 New optional argument MINIBUF to control whether these functions
718 should run on the minibuffer window.
719 (window-at-side-list): Don't operate on minibuffer window.
720 (window-in-direction): Simplify and rewrite doc-string.
721 (window--size-ignore): Rename to window--size-ignore-p.
723 (display-buffer-in-atom-window, window--major-non-side-window)
724 (window--major-side-window, display-buffer-in-major-side-window)
725 (delete-side-window, display-buffer-in-side-window):
727 (window--side-check, window-deletable-p, delete-window)
728 (delete-other-windows, split-window): Handle side windows and
729 atomic windows appropriately.
730 (window--display-buffer): Call display-buffer-record-window also
731 when the window buffer did not change.
733 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
735 * help-fns.el (help-fns--key-bindings):
736 Abbreviate non-symbol remap targets. (Bug#12174)
738 2012-08-22 Martin Rudalics <rudalics@gmx.at>
740 * dired.el (dired-mark-remembered): Don't clobber point.
743 2012-08-22 Glenn Morris <rgm@gnu.org>
745 * progmodes/bug-reference.el (bug-reference): New custom group.
746 (bug-reference-bug-regexp): Make it a defcustom.
748 2012-08-22 Daiki Ueno <ueno@unixuser.org>
750 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
751 (js-paren-indent-offset, js-square-indent-offset)
752 (js-curly-indent-offset): Add :safe (Bug#12257).
754 2012-08-22 Edward O'Connor <hober0@gmail.com>
756 * json.el (json-key-format): Add error properties.
757 (json-encode-key): New function.
758 (json-encode-hash-table, json-encode-alist, json-encode-plist):
761 2012-08-22 Glenn Morris <rgm@gnu.org>
763 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
764 (cal-tex-leftday, cal-tex-rightday): Remove functions.
765 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
766 Update for above change.
768 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
770 * cus-face.el (custom-face-attributes): Fix customize type for the
771 :underline attribute. (Bug#11805)
773 2012-08-21 Martin Rudalics <rudalics@gmx.at>
775 * window.el (window-point-1, set-window-point-1): Remove.
776 (window-in-direction, record-window-buffer)
777 (set-window-buffer-start-and-point, split-window-below)
778 (window--state-get-1, display-buffer-record-window):
779 Replace calls to window-point-1 and set-window-point-1 by calls to
780 window-point and set-window-point respectively.
782 2012-08-21 Glenn Morris <rgm@gnu.org>
784 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
785 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
788 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
789 (cal-tex-shortday): New function.
790 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
791 (cal-tex-cursor-filofax-daily): Use the above.
793 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
795 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
796 (cal-tex-cursor-filofax-week): Use them.
798 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
800 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
801 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
803 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
804 (cal-tex-end-document): Don't rely on buffer name.
806 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
808 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
809 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
810 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
813 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
814 (cal-tex-cursor-week, cal-tex-cursor-week2)
815 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
816 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
817 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
818 (cal-tex-insert-preamble, cal-tex-b-document)
819 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
820 Improve cal-tex-cmd usage.
822 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
823 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
824 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
825 (cal-tex-weekly-paper): New function.
826 (cal-tex-cursor-week, cal-tex-cursor-week2)
827 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
828 (cal-tex-cursor-day): Use it.
830 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
831 (cal-tex-cursor-filofax-week): Remove leading blank page.
833 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
834 Add autoload cookie. For now at least, don't use color, since
835 no other cal-tex function does.
837 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
838 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
839 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
841 2012-08-21 Juri Linkov <juri@jurta.org>
843 * info.el (Info-file-attributes): New variable.
844 (info-insert-file-contents): Add file attributes to
845 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
846 `Info-toc-nodes' when previous modtime of the Info file is less
848 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
849 of info.el. (Bug#12230)
851 2012-08-20 Glenn Morris <rgm@gnu.org>
853 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
854 * calendar/holidays.el (calendar-holiday-list):
855 Report errors with display-warning rather than beep'n'sleep.
857 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
859 * net/tramp.el (tramp-accept-process-output): Accept only output
860 from PROC. Otherwise, process filters and sentinels might be
861 confused. (Bug#12145)
863 2012-08-20 Chong Yidong <cyd@gnu.org>
865 * descr-text.el (describe-text-properties-1): Use overlays-in to
866 report on empty overlays (Bug#3322).
868 2012-08-20 Glenn Morris <rgm@gnu.org>
870 * mail/rmailout.el (rmail-output-read-file-name):
871 Trap and report errors in rmail-output-file-alist elements.
873 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
874 since most non-font-lock faces are not also variables).
876 2012-08-20 Edward Reingold <reingold@iit.edu>
878 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
879 New function. (Bug12160)
881 2012-08-19 Glenn Morris <rgm@gnu.org>
883 * mail/rmailout.el (rmail-output-read-file-name):
884 Fix previous change (when the alist is nil or does not match).
886 2012-08-19 Chong Yidong <cyd@gnu.org>
888 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
891 2012-08-18 Chong Yidong <cyd@gnu.org>
893 * simple.el (yank-handled-properties): New defcustom.
894 (yank-excluded-properties): Add font-lock-face and category.
897 * subr.el (remove-yank-excluded-properties):
898 Obey yank-handled-properties. The special handling of font-lock-face
899 and category is now done this way, instead of being hard-coded.
900 (insert-for-yank-1): Remove font-lock-face handling.
901 (yank-handle-font-lock-face-property)
902 (yank-handle-category-property): New function.
904 2012-08-17 Glenn Morris <rgm@gnu.org>
906 * mail/rmailout.el (rmail-output-read-file-name):
907 Check rmail-output-file-alist against the full message body
908 in the correct rmail buffer. (Bug#12214)
910 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
912 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
913 Eliminate superfluous prompt. (Bug#12203)
915 2012-08-17 Chong Yidong <cyd@gnu.org>
917 * mouse.el (mouse-appearance-menu): If x-select-font returns a
918 font spec, set the font directly (Bug#3228).
920 2012-08-17 Martin Rudalics <rudalics@gmx.at>
922 * window.el (delete-window): Fix last fix.
924 2012-08-16 Martin Rudalics <rudalics@gmx.at>
926 * window.el (window-valid-p): Move to window.c.
927 (window-child, window-child-count, window-last-child)
928 (window-normalize-window, window-combined-p)
929 (window-combinations, window-atom-root, window-min-size)
930 (window-sizable, window-sizable-p, window-size-fixed-p)
931 (window-min-delta, window-max-delta, window--resizable)
932 (window--resizable-p, window-resizable, window-total-size)
933 (window-full-height-p, window-full-width-p, window-body-size)
934 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
935 (minimize-window, window-deletable-p, delete-window)
936 (delete-other-windows, set-window-buffer-start-and-point)
937 (next-buffer, previous-buffer, split-window, balance-windows-2)
938 (set-window-text-height, window-buffer-height)
939 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
940 (truncated-partial-width-window-p): Minor code adjustments.
941 In doc-strings state whether the argument window has to denote a
942 live, valid or any window.
944 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
946 * progmodes/subword.el (subword-forward-function)
947 (subword-backward-function, subword-forward-regexp)
948 (subword-backward-regexp): New variables.
949 (subword-forward, subword-forward-internal, subword-backward-internal):
950 Use new variables, eg so that different "word" definitions
951 can be easily used. (Bug#11411)
953 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
955 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
956 for composite selectors.
957 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
958 operation just because we can't find a previous revision.
960 2012-08-15 Chong Yidong <cyd@gnu.org>
962 * frame.el (set-frame-font): Accept font objects.
964 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
966 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
968 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
970 * man.el (Man-overstrike-face, Man-underline-face)
971 (Man-reverse-face): Remove variables.
972 (Man-overstrike, Man-underline, Man-reverse): New faces.
973 (Man-fontify-manpage): Use them instead of the variables.
974 (Man-cleanup-manpage): Comment change.
975 (Man-ansi-color-map): New variable.
976 (Man-fontify-manpage): Use it.
977 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
979 Implement ANSI SGR parameters 22-27 (bug#12146).
980 * ansi-color.el (ansi-colors): Doc fix.
981 (ansi-color-context, ansi-color-context-region): Doc fix.
982 (ansi-color--find-face): New function.
983 (ansi-color-apply, ansi-color-apply-on-region): Use it.
984 Rename the local variable `face' to `codes' since it is now a list of
986 (ansi-color-get-face): Remove.
987 (ansi-color-parse-sequence): New function, derived from
989 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
992 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
994 * subr.el (read-passwd): Allow use from a minibuffer.
996 2012-08-14 Eli Zaretskii <eliz@gnu.org>
998 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
999 inside comments and strings as identifiers.
1001 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1002 expression to evaluate. This allows to evaluate expressions with
1003 embedded whitespace.
1004 (gud-tooltip-tips): Add a blank before the newline in the
1005 message-box text, for the benefit of message-box emulation on
1008 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1009 messages from GDB, pop them up in a tooltip to give feedback to
1011 (gdb-tooltip-print-1): Quote the expression to evaluate.
1012 This allows to evaluate expressions with embedded whitespace.
1013 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1014 if the TTY name is nil or empty (which happens when communicating
1015 with the inferior via pipes, e.g. on MS-Windows).
1016 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1017 don't send that to the GUD buffer.
1019 2012-08-14 Glenn Morris <rgm@gnu.org>
1021 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1022 Optimize away setq-default with no args, as for setq. (Bug#12195)
1024 2012-08-14 Chong Yidong <cyd@gnu.org>
1026 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1028 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1031 2012-08-14 Glenn Morris <rgm@gnu.org>
1033 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1035 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1037 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1038 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1039 Use cached shell name.
1041 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1043 * progmodes/python.el (python-shell-send-string):
1044 (python-shell-send-setup-code): Do not use `format' with `message'.
1046 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1048 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1049 (ruby-percent-literal-beg-re): New constant.
1050 (ruby-syntax-general-delimiters-goto-beg): Rename to
1051 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1052 (ruby-syntax-propertize-general-delimiters): Rename to
1053 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1054 popular term. Adjust comments everywhere.
1055 (ruby-syntax-propertize-percent-literal): Only propertize when not
1056 inside a simple string or comment. When the literal is unclosed,
1057 leave the text after it unpropertized.
1058 (ruby-syntax-methods-before-regexp): New constant.
1059 (ruby-syntax-propertize-function): Use it to recognize regexps.
1060 Don't look at the text after regexp, just use the whitelist.
1062 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1064 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1065 non-nil always load the compiled file if it exists. (Bug#12197)
1067 2012-08-14 Chong Yidong <cyd@gnu.org>
1069 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1070 (hi-lock-set-pattern): When deciding whether to use font lock or
1071 overlays, look at font-lock-mode instead of font-lock-fontified
1073 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1074 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1076 2012-08-14 Daiki Ueno <ueno@unixuser.org>
1078 * subr.el (internal--after-with-selected-window): Fix typo
1081 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1083 Use `completion-table-dynamic' for completion functions.
1084 * progmodes/python.el
1085 (python-shell-completion--do-completion-at-point)
1086 (python-shell-completion--get-completions):
1088 (python-shell-completion-complete-at-point): New function.
1089 (python-completion-complete-at-point): Use it.
1091 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
1093 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1094 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1096 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * subr.el (function-get): Refine `autoload' arg so it can also
1099 autoload functions for gv.el (bug#12191).
1100 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1103 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1104 Prefer pcase-let over destructuring-bind.
1105 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1106 Also, remove whitespace as we go, rather than after accumulating the
1109 * subr.el (internal--before-with-selected-window)
1110 (internal--after-with-selected-window): Fix typo seleted->selected.
1111 (with-selected-window): Adjust callers.
1112 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1114 2012-08-13 Bastien Guerry <bzg@gnu.org>
1116 * window.el (special-display-popup-frame): Minor docstring
1117 enhancement. (Bug#12172)
1119 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1121 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1123 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1126 * files.el (hack-local-variables-filter): Remove useless eval.
1128 2012-08-13 Martin Rudalics <rudalics@gmx.at>
1130 * subr.el (with-selected-window): Fix last change.
1132 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * subr.el (internal--before-with-seleted-window)
1135 (internal--after-with-seleted-window): New functions.
1136 (with-selected-window): Use them, to replace dependency on
1139 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1141 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1142 binding for `newline'.
1143 (ruby-move-to-block): When moving backward, stop at block opening,
1145 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1146 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1147 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1148 `ruby-toggle-block'.
1150 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * ibuffer.el (ibuffer-do-toggle-read-only):
1153 * dired.el (dired-toggle-read-only):
1154 * buff-menu.el (Buffer-menu-toggle-read-only):
1155 * bindings.el (mode-line-toggle-read-only):
1156 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1158 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1160 * descr-text.el (describe-char): Put the overlays over the
1161 "displayed as" character.
1163 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1165 * calc/calc-units.el (math-default-units-table): Give an
1167 (math-put-default-units): Add options to put composite units and
1168 unit systems in the default units table.
1169 (calc-convert-units): Send composite units to
1170 `math-put-default-units' when appropriate.
1172 2012-08-11 Glenn Morris <rgm@gnu.org>
1174 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1176 * tutorial.el (help-with-tutorial):
1177 * emacs-lisp/copyright.el (copyright-update-directory):
1178 * emacs-lisp/autoload.el (autoload-find-generated-file)
1179 (autoload-find-file): Disable local eval: (for insurance).
1181 * files.el (hack-local-variables-filter): If an eval: form is not
1182 known to be safe, and enable-local-variables is :safe, then ignore
1183 the form totally, as is done for non-eval forms. (Bug#12155)
1184 This is CVE-2012-3479.
1186 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1189 (rx-form): Simplify.
1191 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1193 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1194 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1195 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1196 (ruby-syntax-propertize-function): Adjust for changes in
1197 `ruby-syntax-propertize-heredoc'.
1199 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1201 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1202 binding (use `M-;' instead).
1203 (ruby-singleton-class-p): New function.
1204 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1206 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1210 2012-08-10 Chong Yidong <cyd@gnu.org>
1212 * progmodes/python.el (python-shell-get-process-name): Don't mess
1213 with same-window-buffer-names.
1215 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1216 (eshell-remove-from-window-buffer-names): Make obsolete.
1217 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1218 (eshell): Just use pop-to-buffer-same-window instead.
1220 2012-08-10 Chong Yidong <cyd@gnu.org>
1222 * bindings.el: Bind M-= back to count-words-region.
1224 * simple.el (count-words-region): Accept a prefix arg for acting
1225 on the entire buffer.
1226 (count-words--buffer-message): New helper function.
1228 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1231 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1232 (event-start, event-end): Use posn-at-point to return a more
1234 (posnp): New function.
1235 * mouse.el (popup-menu-normalize-position): Use it.
1237 2012-08-10 Masatake YAMATO <yamato@redhat.com>
1239 * mouse.el (popup-menu-normalize-position): New function.
1240 (popup-menu): Use `popup-menu-normalize-position' to normalize
1241 the form for POSITION argument.
1243 * term/x-win.el (x-menu-bar-open):
1244 Use the value returend from (posn-at-point) as position
1245 passed to `popup-menu'.
1247 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1249 * calc/calccomp.el (math-compose-expr): Add extra argument
1250 indicating that parentheses should be put around products in
1251 denominators. Give multiplication precedence over division during
1254 2012-08-09 Chong Yidong <cyd@gnu.org>
1256 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1257 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1258 (Man-untabify-command, manual-program): Convert to defcustom
1261 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1263 * descr-text.el (describe-char): Don't insert extra newlines
1266 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1267 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1269 * align.el (align-region): Delete temporary markers (Bug#10047).
1270 Plus some code cleanups.
1272 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1274 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1275 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1276 (python-shell-internal-last-output): Use make-local-variable
1277 instead of make-variable-buffer-local.
1279 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1281 * progmodes/python.el: Enhancements to forward-sexp.
1282 (python-nav-forward-sexp): Rename from
1283 python-nav-forward-sexp-function.
1284 (python-nav--forward-sexp, python-nav--backward-sexp):
1287 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1289 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1290 modes and simplification modes.
1292 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * delsel.el (delete-selection-pre-hook): Don't propagate the
1295 file-supersession signals (bug#12161).
1297 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1300 (cl-map-extents): Add compatibility aliases (bug#12135).
1302 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
1304 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1305 tests by `ignore-error'.
1306 (tramp-find-shell): Open also a new shell, when cache is already
1307 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1309 2012-08-08 Juri Linkov <juri@jurta.org>
1311 * bookmark.el: Add `defaults' property to the bookmark record.
1312 (bookmark-current-buffer): Doc fix.
1313 (bookmark-make-record): Add `defaults' property with default values
1314 to the bookmark record.
1315 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1316 with `bookmark-insert-current-bookmark'.
1317 (bookmark-set): Get `defaults' property from the bookmark record
1318 and use it in `read-from-minibuffer'.
1319 (bookmark-insert-current-bookmark): Remove function.
1321 * info.el (Info-bookmark-make-record): Add `defaults' property
1322 with values of canonical Info node name, the current Info file
1323 name and the current Info node name. (Bug#12107)
1325 2012-08-08 Juri Linkov <juri@jurta.org>
1327 * files.el (basic-save-buffer): Use `buffer-name' as the default
1328 of `read-file-name' when buffer is not visiting a file (bug#12128).
1330 2012-08-08 Juri Linkov <juri@jurta.org>
1332 * info.el (Info-isearch-search): Doc fix.
1333 (Info-search): Change search-failed message from "initial node" to
1334 "end of node" (bug#12078).
1335 (Info-isearch-search): Change `isearch-string-state' to
1336 `isearch--state-string'.
1338 2012-08-08 Glenn Morris <rgm@gnu.org>
1340 * language/persian.el: Remove file.
1341 * language/misc-lang.el: Move unique part of persian.el here.
1342 * loadup.el: Remove language/persian.
1344 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1346 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1348 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1350 * progmodes/python.el Fixed defsubst warning.
1351 (python-syntax-context) Rename from python-info-ppss-context.
1352 (python-syntax-context-type): Rename from
1353 python-info-ppss-context-type.
1354 (python-syntax-comment-or-string-p): Rename from
1355 python-info-ppss-comment-or-string-p.
1357 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1359 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1361 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1363 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1364 a defcustom that is quoted with backquote.
1366 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1367 Fix handling of interactive spec when the body uses return.
1368 (math-do-arg-check, math-define-function-body): Use backquote forms.
1369 * calc/calc-ext.el (math-defcache): Likewise.
1370 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1371 * allout.el (allout-new-exposure): Likewise.
1372 * calc/calcalg2.el (math-tracing-integral): Likewise.
1373 * info.el (Info-last-menu-item): Likewise.
1374 * emulation/vip.el (vip-loop): Likewise.
1375 * textmodes/artist.el (artist-funcall): Likewise.
1376 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1377 Construct menu-item directly.
1379 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1382 2012-08-07 Chong Yidong <cyd@gnu.org>
1384 * simple.el (deactivate-mark): Preserve text properties when
1385 saving the primary selection (Bug#8384).
1387 2012-08-07 Kevin Ryde <user42@zip.com.au>
1389 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1390 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1391 and continue processing (Bug#12110).
1393 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1396 syntax-propertize-function (bug#10095).
1398 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1401 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1402 describe-function-1.
1403 (describe-function-1): Use them. Move compiler macro after sig.
1404 (help-fns--compiler-macro): Use function-get. Assume we're already in
1405 standard-output. Adjust layout to new call order.
1407 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1408 re-binding a symbol that has a symbol-macro (bug#12119).
1410 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1412 * language/persian.el: New file. (Bug#11812)
1413 * loadup.el: Add language/persian.el.
1415 2012-08-06 Chong Yidong <cyd@gnu.org>
1417 * window.el (window--maybe-raise-frame): New function.
1418 (window--display-buffer): Split off from here.
1419 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1420 (display-buffer-pop-up-window, display-buffer-use-some-window):
1421 Obey an inhibit-switch-frame action alist entry.
1422 (display-buffer): Update doc.
1424 * replace.el (occur-after-change-function): Avoid losing focus by
1425 using the inhibit-switch-frame display parameter (Bug#12139).
1427 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1429 Make internal shell process buffer names start with space.
1430 * progmodes/python.el (python-shell-make-comint): Add optional
1432 (run-python-internal): Use it.
1433 (python-shell-internal-get-or-create-process): Check for new
1434 internal buffer names.
1436 2012-08-06 Glenn Morris <rgm@gnu.org>
1438 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1439 Do less getting and setting of environment variables.
1441 2012-08-05 Chong Yidong <cyd@gnu.org>
1443 * proced.el (proced): Add substitution string to docstring to
1444 trigger autoloading of the proced library on C-h f (Bug#1768).
1446 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1447 Don't show defvars which have no second argument (Bug#8638).
1449 * imenu.el (imenu-generic-expression): Move documentation here
1450 from imenu--generic-function.
1451 (imenu--generic-function): Refer to imenu-generic-expression.
1453 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
1455 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1456 indentation declaration.
1457 (viper-loop): Add indentation declaration (Bug#7025).
1459 2012-08-05 Chong Yidong <cyd@gnu.org>
1461 * help-fns.el (describe-variable): Add hyperlink for
1462 directory-local variables files. Improve buffer-local and
1463 permanent-local reporting; suggested by MON KEY (Bug#6644).
1465 * help-mode.el (help-dir-local-var-def): New button type.
1467 * files.el (kill-buffer-hook): Provide a defvar.
1469 2012-08-05 Glenn Morris <rgm@gnu.org>
1471 * eshell/esh-ext.el (eshell/addpath):
1472 Also update eshell-path-env. (Bug#12013)
1474 2012-08-05 Chong Yidong <cyd@gnu.org>
1476 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1478 * fringe.el (fringe-styles): Add docstring.
1479 (fringe--check-mode): New function.
1480 (set-fringe-mode, set-fringe-style): Use it.
1481 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1483 * files.el (set-auto-mode): Fix invalid setq call.
1485 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * isearch.el: Misc simplification; use defstruct.
1488 (isearch-mode-map): Dense maps now work like sparse ones.
1489 (isearch--state): New defstruct.
1490 (isearch-string-state, isearch-message-state, isearch-point-state)
1491 (isearch-success-state, isearch-forward-state)
1492 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1493 (isearch-wrapped-state, isearch-barrier-state)
1494 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1495 replaced by defstruct's accessors.
1496 (isearch--set-state): Rename from isearch-top-state and change
1498 (isearch-push-state): Use new isearch--get-state.
1499 (isearch-toggle-word): Disable regexp when enabling word.
1500 (isearch-message-prefix): Remove unused arg _c-q-hack.
1501 (isearch-message-suffix): Remove unused arg _ellipsis.
1503 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1505 * simple.el (list-processes--refresh): For a server use :host or
1506 :local as the address.
1507 (list-processes): Doc fix.
1509 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1511 * lisp/mpc.el: Support password in host argument.
1512 (mpc--proc-connect): Parse and use new password element.
1513 Set mpc-proc variable instead of returning process.
1514 (mpc-proc): Adjust accordingly.
1516 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1518 * whitespace.el (whitespace-display-mappings): Use Unicode
1519 codepoints, instead of emacs-mule codepoints. See
1520 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1523 * files.el (file-truename): Don't skip symlink-chasing part on
1524 windows-nt. Incorporate the resolution of 8+3 short aliases on
1525 Windows into the loop that recursively chases symlinks.
1526 Compare directory and its parent case-insensitively on MS-Windows and
1529 2012-08-03 Chong Yidong <cyd@gnu.org>
1531 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1533 * sort.el (sort-regexp-fields): Doc fix.
1535 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1537 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1538 labels regex position point at the expected place.
1540 2012-08-03 MON KEY <monkey@sandpframing.com>
1542 * net/imap.el (imap-interactive-login, imap-authenticate)
1543 (imap-mailbox-lsub, imap-mailbox-list)
1544 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1545 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1546 (imap-parse-response): Doc fix.
1548 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1550 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1551 if sexp scanning does not move point (Bug#5734).
1553 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1555 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1556 Add listings, minted, and ctable packages.
1557 (reftex-label-alist-builtin): Move listings, minted, and ctable
1558 entries before LaTeX.
1559 (reftex-label-alist): Docfix.
1561 2012-08-02 Bastien Guerry <bzg@gnu.org>
1563 * replace.el (occur): Fix docstring (bug#12122).
1565 2012-08-02 Glenn Morris <rgm@gnu.org>
1567 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1569 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1571 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1572 * international/mule-cmds.el: Create
1573 inactivate-current-input-method-function as an obsolete alias for
1574 deactivate-current-input-method-function. See Katsumi Yamaoka in
1575 <http://bugs.gnu.org/10150#46>.
1577 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1579 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1582 2012-08-01 Glenn Morris <rgm@gnu.org>
1584 * progmodes/autoconf.el (autoconf-definition-regexp):
1585 Add AH_TEMPLATE, adjust submatch numbering.
1586 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1587 (autoconf-current-defun-function): Update for above change.
1588 (autoconf-current-defun-function): First skip to end of current word.
1590 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1592 * calendar/cal-html.el (cal-html-insert-agenda-days):
1593 Fix typo. (Bug#12018)
1595 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1597 Shell processes: enhancements to startup and CEDET compatibility.
1598 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1599 (python-shell-make-comint): accept-process-output at startup.
1600 (run-python-internal): Set inferior-python-mode-hook to nil.
1601 (python-shell-internal-get-or-create-process): call sit-for.
1602 (python-preoutput-result): Add obsolete alias.
1603 (python-shell-internal-send-string): Use it.
1604 (python-shell-send-setup-code): Remove call to
1605 accept-process-output.
1607 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1609 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1612 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1614 * calc-mode.el (calc-basic-simplification-mode): Rename from
1615 `calc-limited-simplification-mode'.
1616 (calc-alg-simplification-mode): New function.
1617 (calc-set-simplify-mode): Adjust message.
1619 * calc.el (calc-set-mode-line): Adjust mode line display for
1620 basic simplification mode.
1622 * calc-help.el (calc-m-prefix-help): Update help message.
1624 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1625 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1627 2012-07-31 Bastien Guerry <bzg@gnu.org>
1629 * man.el (man): Fix comment. (bug#12101)
1631 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1633 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1634 Don't return a non-nil value when no suitable buffer was found.
1636 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1638 * progmodes/python.el (run-python-internal): Disable font lock for
1641 2012-07-30 Stefan Merten <smerten@oekonux.de>
1643 * rst.el: Silence `checkdoc-ispell'.
1644 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1645 (rst-official-version, rst-official-cvs-rev)
1646 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1647 (rst-mode-map): New key binding.
1649 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1651 Update .PHONY listings in makefiles.
1652 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1653 autoloads, update-subdirs, updates, bzr-update, update-authors,
1654 compile-onefile, compile-calc, backup-compiled-files,
1655 compile-after-backup, compile-one-process, mh-autoloads,
1656 bootstrap-clean, distclean, maintainer-clean.
1658 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1660 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1661 (calc-set-mode-line): Don't display "AlgSimp ".
1663 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1664 (calc-lim-simplify-mode): New function.
1665 (calc-set-simplify-mode): Default to 'alg.
1666 (calc-default-simplify-mode): Make algebraic simplifications
1669 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1670 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1672 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1673 indicate new simplification modes.
1675 * calc/README: Mention new default simplification mode.
1677 * calc/calc.el (math-normalize-error): New variable.
1678 (math-normalize): Set `math-normalize-error' to t
1679 when there's an error.
1681 * calc/calc-alg.el (math-simplify): Don't simplify when
1682 `math-normalize' returns an error.
1684 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1686 * international/mule-cmds.el (set-locale-environment): Revert last
1687 change, since display-graphic-p returns nil when this function is
1688 called during startup. Instead...
1690 * term/w32console.el (terminal-init-w32console): ...setup the
1691 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1693 2012-07-29 Juri Linkov <juri@jurta.org>
1695 * simple.el (goto-line): Don't display default line number in the
1696 prompt because it should be displayed by `read-number' (bug#9952).
1697 Add the current line number to the defaults of `goto-line' to
1698 allow its easier modification by users with `M-n' (bug#9201).
1700 * subr.el (read-number): Support multiple default values like in
1701 other minibuffer reading functions. Replace `read' with
1702 `string-to-number' for consistency with `number-to-string'.
1704 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1706 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1707 * emulation/viper-init.el (viper-deactivate-input-method-action):
1708 Rename from viper-inactivate-input-method-action.
1709 (viper-deactivate-input-method):
1710 Rename from viper-inactivate-input-method.
1711 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1712 * international/mule-cmds.el (deactivate-input-method):
1713 Rename from inactivate-input-method.
1714 Also run input-method-deactivate-hook.
1715 (deactivate-current-input-method-function):
1716 Rename from inactivate-current-input-method-function.
1717 (input-method-deactivate-hook): New hook.
1718 (input-method-inactivate-hook): Mark obsolete.
1719 (inactivate-input-method): Mark obsolete.
1721 * international/quail.el (quail-activate):
1722 Also run quail-deactivate-hook.
1723 (quail-deactivate): Rename from quail-inactivate.
1724 * international/robin.el (robin-activate):
1725 Also run robin-deactivate-hook.
1726 (robin-deactivate): Rename from robin-inactivate.
1728 2012-07-29 Chong Yidong <cyd@gnu.org>
1730 * simple.el (indicate-copied-region): New function.
1731 (kill-ring-save): Split off from here.
1733 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1734 (kill-rectangle): Set deactivate-mark to t on read-only error.
1736 * register.el (copy-to-register, copy-rectangle-to-register):
1737 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1738 (append-to-register, prepend-to-register):
1739 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1741 * simple.el (async-shell-command-buffer): New defcustom.
1742 (shell-command): Use it. (Bug#4719)
1744 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1746 * international/mule-cmds.el (set-locale-environment): In a
1747 console session on MS-Windows, set up keyboard and terminal
1748 encoding from the OEM codepage, not the ANSI codepage.
1751 2012-07-28 Chong Yidong <cyd@gnu.org>
1753 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1756 2012-07-28 Leo Liu <sdl.web@gmail.com>
1758 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1759 the alist (bug#12029).
1761 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1763 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1764 (compile-always, compile-first)
1765 ($(lisp)/calendar/cal-loaddefs.el)
1766 ($(lisp)/calendar/diary-loaddefs.el)
1767 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1768 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1769 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1770 instead of on update-subdirs.
1771 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1773 2012-07-28 Chong Yidong <cyd@gnu.org>
1775 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1776 directory if vc-deduce-backend returns nil (Bug#7350).
1778 * simple.el (delete-trailing-lines): New option.
1779 (delete-trailing-whitespace): Obey it (Bug#11879).
1781 2012-07-28 David Engster <deng@randomsample.de>
1783 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1784 Explanation of new 'symbol-qnames feature in doc-strings.
1785 (xml-maybe-do-ns): Return expanded names as plain symbols if
1786 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1787 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1789 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1791 Consistent completion in inferior python with emacs -nw.
1792 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1793 binding in inferior-python-mode-map with "\t".
1794 (python-shell-completion-complete-at-point)
1795 (python-completion-complete-at-point): Remove interactive spec.
1797 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1799 * calc/calccomp.el (math-compose-expr): Undo previous change.
1801 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1803 * progmodes/python.el (python-mode-map): Add keybinding for
1805 (python-shell-make-comint): Fix pop-to-buffer call.
1806 (run-python): Autoload. New arg SHOW.
1807 (python-shell-get-or-create-process): Do not pop python process
1810 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1812 * notifications.el (notifications-on-action-signal)
1813 (notifications-on-closed-signal): Use also the bus address for the map.
1814 (notifications-notify, notifications-close-notification)
1815 (notifications-get-capabilities): Add optional argument BUS.
1817 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1819 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1820 Add support for the lstlisting and minted environments, and for the
1822 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1823 labels written in keyvals syntax.
1825 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1827 * calc/calccomp.el (math-compose-expr): Use parentheses when
1828 there is a product in the denominator of a fraction.
1830 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1832 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1833 ($(lisp)/calendar/diary-loaddefs.el)
1834 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1835 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1836 Fixes failures in parallel bootstrap because subdirs.el is being
1837 rewritten while the autoload files are built at the same time,
1838 which needs to load subdirs.el.
1840 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1842 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1843 (mouse-drag-line): Don't exit tracking when a switch-frame or
1844 switch-window event occurs (Bug#12006).
1846 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * mouse.el (popup-menu): Fix last change.
1850 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1852 Autoload from Lisp with more care. Follow aliases when looking for
1853 function properties.
1854 * subr.el (autoloadp): New function.
1855 (symbol-file): Use it.
1856 (function-get): New function.
1857 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1859 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1860 (lisp-indent-function):
1861 * emacs-lisp/gv.el (gv-get):
1862 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1863 * emacs-lisp/byte-opt.el (byte-optimize-form):
1864 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1865 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1867 * emacs-lisp/cl.el: Don't propagate function properties any more.
1869 * speedbar.el (speedbar-add-localized-speedbar-support):
1870 * emacs-lisp/disass.el (disassemble-internal):
1871 * desktop.el (desktop-load-file):
1872 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1873 (describe-function-1):
1874 * emacs-lisp/find-func.el (find-function-noselect):
1875 * emacs-lisp/elp.el (elp-instrument-function):
1876 * emacs-lisp/advice.el (ad-has-proper-definition):
1877 * apropos.el (apropos-safe-documentation, apropos-macrop):
1878 * emacs-lisp/debug.el (debug-on-entry):
1879 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1880 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1881 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1883 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1885 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1886 function, not an obsolete variable (Bug#12046).
1888 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1890 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1892 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1894 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1895 window only if it is still live (Bug#12034).
1897 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1899 * subr.el (redirect-frame-focus): Add advertised calling
1900 convention (Bug#12030).
1902 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1904 Prefer typical American spelling for "acknowledgment".
1905 * vc/add-log.el (change-log-acknowledgment): Rename from
1906 change-log-acknowledgement, with an alias for the old name.
1908 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1910 * calc-alg.el (math-simplify-divide): Don't cross multiply
1911 in an equation when the lhs is a variable.
1913 2012-07-24 Julien Danjou <julien@danjou.info>
1915 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1918 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1920 * startup.el (command-line): Don't display an empty user name in
1921 the error message about non-existent home directory, when
1922 init-file-user was set to an empty string. See
1923 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1924 for the details and context.
1926 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1928 * ses.el (ses-cell-formula-aset): New macro.
1929 (ses-cell-references-aset): New macro.
1930 (ses-cell-p): New function.
1931 (ses-rename-cell): Do no longer rely on complex operations like
1932 ses-cell-set-formula or ses-set-cell to change the cell and handle
1933 the undo at the same time, but rather use lower level new macros
1934 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1935 the undo directly. Refresh the mode line.
1937 2012-07-21 Leo Liu <sdl.web@gmail.com>
1939 * progmodes/cc-cmds.el (c-defun-name):
1940 Use match-string-no-properties instead for consistency.
1942 2012-07-20 Leo Liu <sdl.web@gmail.com>
1944 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1947 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1949 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1952 * progmodes/bug-reference.el, misearch.el: Provide themselves
1955 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1956 of narrowed buffer (bug#11966).
1958 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1960 * ses.el (ses-rename-cell): Set new name also in reference list of
1961 cells of which the renamed cell depends.
1963 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1965 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1966 to check whether menu-bar is shown or not. If not shown,
1967 show the menu-bar as a popup menu instead of using tmm.
1968 * mouse.el (popup-menu): Accept `point' as `position' argument.
1970 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1972 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1973 up inside string symbol literal (bug#11923).
1975 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1977 * startup.el (fancy-startup-text): Read the whole tutorial, not
1978 just its first 256 bytes. Prevents gibberish in display of the
1981 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1983 Drop idle buffer compaction due to an absence of the
1985 * compact.el: Remove.
1987 2012-07-19 Sam Steingold <sds@gnu.org>
1989 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1990 vc-bzr-pull & vc-bzr-merge-branch.
1991 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1992 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1993 for consistency with compilation-error-regexp-alist.
1994 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1995 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1996 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1997 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1999 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2001 * emacs-lisp/chart.el: Use lexical-binding.
2002 (chart-emacs-storage): Don't hardcode the list of entries.
2004 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2006 Next round of tweaks caused by Fgarbage_collect changes.
2007 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2009 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2011 Compact buffers when idle.
2012 * compact.el: New file.
2014 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2016 * subr.el (eventp): Presume that if it looks vaguely like an event,
2017 it's an event (bug#10190).
2019 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2021 Enhancements to ppss related code (thanks Stefan).
2022 * progmodes/python.el (python-indent-context)
2023 (python-indent-calculate-indentation, python-indent-dedent-line)
2024 (python-indent-electric-colon, python-nav-forward-block)
2025 (python-mode-abbrev-table)
2026 (python-info-assignment-continuation-line-p): Simplify checks
2028 (python-info-continuation-line-p): Cleanup.
2029 (python-info-ppss-context): Do not catch 'quote.
2030 (python-info-ppss-context-type)
2031 (python-info-ppss-comment-or-string-p): Simplify.
2033 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2035 * progmodes/python.el: Enhancements to eldoc support.
2036 (python-info-current-symbol): New function.
2037 (python-eldoc-at-point): Use python-info-current-symbol.
2038 (python-info-current-defun): Fix cornercase on first defun scan.
2039 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2040 and signal error when no inferior python process is available.
2042 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2044 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2045 assume it's always t.
2046 (vc-git-registered): Remove caching, the function is only called
2048 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2050 2012-07-18 Chong Yidong <cyd@gnu.org>
2052 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2054 * simple.el (count-words): Report on narrowing (Bug#9959).
2056 * bindings.el: Bind M-= to count-words.
2058 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2060 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2062 * progmodes/sh-script.el (sh-imenu-generic-expression):
2063 Capture a function with `function' keyword and without parentheses
2064 like "function FOO" (bug#11856).
2066 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2068 * window.el (split-window-sensibly): Make WINDOW argument
2071 2012-07-18 Chong Yidong <cyd@gnu.org>
2073 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2075 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2076 and make C-x 8 RET exit isearch (Bug#11439).
2078 * international/iso-transl.el: Move isearch-mode-map key
2079 definitions to isearch.el.
2081 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2083 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2084 (eieio-defclass): Use gv-define-setter when possible.
2086 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2088 Reflect recent changes in Fgarbage_collect.
2089 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2090 reflect new format of data returned by Fgarbage_collect.
2092 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2094 New utility functions + python-info-ppss-context fix (Bug#11910).
2095 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2096 (python-info-ppss-comment-or-string-p): New functions.
2097 (python-info-ppss-context): Small fix for string check.
2099 2012-07-17 Juri Linkov <juri@jurta.org>
2101 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2102 (dired-do-async-shell-command): Don't add `*' at the end of the
2103 command (Bug#11815).
2104 (dired-do-shell-command): Doc fix.
2105 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2106 Join the individual commands using either "&" or ";" as the
2107 separator depending on the values of these trailing characters.
2108 At the end re-add the trailing "&". (Bug#10598)
2110 * simple.el (async-shell-command): Sync the interactive spec with
2111 `shell-command'. Doc fix.
2112 (shell-command): Doc fix.
2114 2012-07-17 Juri Linkov <juri@jurta.org>
2116 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2118 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2120 Final renames and doc fixes for movement commands (bug#11899).
2121 * progmodes/python.el (python-nav-beginning-of-statement):
2122 Rename from python-nav-statement-start.
2123 (python-nav-end-of-statement): Rename from
2124 python-nav-statement-end.
2125 (python-nav-beginning-of-block): Rename from
2126 python-nav-block-start.
2127 (python-nav-end-of-block): Rename from python-nav-block-end.
2129 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2131 * progmodes/python.el (python-shell-send-string-no-output):
2132 Allow accept-process-output to quit, keeping shell process ready for
2133 future interactions (Bug#11868).
2135 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2139 * emacs-lisp/elint.el (elint-find-args-in-code):
2140 Use help-function-arglist, so as to handle lexical byte-code.
2142 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2145 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2148 Avoid spuriously marking the buffer as modified because of c-is-sws.
2150 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2151 as not-a-comment (bug#11946).
2153 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2154 for uninterned vars.
2156 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2157 Use read-event since we don't really want to read chars but bytes.
2159 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2160 $$..$$ but also $..$ using regexps (bug#11953).
2161 Use tex-verbatim for \url and \path.
2162 (tex-font-lock-keywords): Define as defconst like the others.
2163 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2165 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2167 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2168 alias for insert-char.
2170 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2172 * progmodes/python.el: Simplified imenu implementation.
2173 (python-nav-jump-to-defun): Remove command.
2174 (python-mode-map): Use `imenu' instead.
2175 (python-nav-list-defun-positions-cache)
2176 (python-imenu-include-defun-type, python-imenu-make-tree)
2177 (python-imenu-subtree-root-label, python-imenu-index-alist):
2179 (python-nav-list-defun-positions, python-nav-read-defun)
2180 (python-imenu-tree-assoc, python-imenu-make-element-tree)
2181 (python-imenu-make-tree, python-imenu-create-index):
2183 (python-mode): Update to interact with imenu by setting
2184 `imenu-extract-index-name-function' only.
2186 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2188 * progmodes/python.el: Enhancements to navigation commands.
2189 (python-nav-backward-sentence)
2190 (python-nav-forward-sentence): Remove.
2191 (python-nav-backward-statement, python-nav-forward-statement)
2192 (python-nav-statement-start, python-nav-statement-end)
2193 (python-nav-backward-block, python-nav-forward-block)
2194 (python-nav-block-start, python-nav-block-end)
2195 (python-nav-forward-sexp-function)
2196 (python-info-current-line-comment-p)
2197 (python-info-current-line-empty-p): New functions.
2198 (python-indent-context): Use `python-nav-statement-start'.
2200 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
2202 * eshell/em-ls.el (eshell/ls): Use `apply'.
2204 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2205 multi-hops, instead of Tramp internals.
2207 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2209 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2210 when F1 and F2 are located on different hosts.
2212 2012-07-14 Chong Yidong <cyd@gnu.org>
2214 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2215 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2216 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2217 (xterm-mouse--read-event-sequence-1000)
2218 (xterm-mouse--read-event-sequence-1006): New functions. For old
2219 mouse protocol, handle M-mouse-X events correctly.
2220 (xterm-mouse-event): New arg specifying mouse protocol.
2221 (turn-on-xterm-mouse-tracking-on-terminal)
2222 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2223 sequence to toggle extended coordinates on newer XTerms.
2224 This appears to be harmless on terminals which do not support this.
2226 2012-07-14 Leo Liu <sdl.web@gmail.com>
2228 Add fringe bitmap indicators for flymake. (Bug#11253)
2229 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2230 (flymake-make-overlay): New arg BITMAP.
2231 (flymake-error-bitmap, flymake-warning-bitmap)
2232 (flymake-fringe-indicator-position): New user variables.
2234 * fringe.el: New bitmap exclamation-mark.
2236 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2238 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2241 2012-07-14 Chong Yidong <cyd@gnu.org>
2243 * electric.el (electric-pair-post-self-insert-function): Fix pair
2244 insertion in empty-region case (Bug#11520).
2246 2012-07-14 Chong Yidong <cyd@gnu.org>
2248 * bindings.el: Consolidate ctl-x-r-map bindings.
2249 Bind copy-rectangle-as-kill to C-x r w.
2251 * rect.el, register.el: Move bindings to bindings.el.
2253 2012-07-14 Reuben Thomas <rrt@sc3d.org>
2255 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2257 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2259 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2261 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
2263 * bindings.el (top): Use `mapc' instead of `mapcar'.
2265 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2267 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
2269 * progmodes/sql.el (sql-comint): Suppress the check for program on
2270 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2273 2012-07-13 Chong Yidong <cyd@gnu.org>
2275 * bindings.el: Assign a non-nil permanent-local property to
2276 per-buffer variables which lack a default value (Bug#11930).
2278 * help-fns.el (describe-variable): In the "automatically becomes
2279 local" notice, take note of permanent-local variables.
2281 2012-07-13 Chong Yidong <cyd@gnu.org>
2283 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2284 to allow printing the message when called from Lisp.
2286 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2287 Remove toggle-read-only.
2289 * bs.el (bs-toggle-readonly):
2290 * buff-menu.el (Buffer-menu-toggle-read-only):
2291 Remove with-no-warnings around toggle-read-only.
2293 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2294 Remove with-no-warnings around toggle-read-only.
2295 (ffap-read-only, ffap-read-only-other-window)
2296 (ffap-read-only-other-frame): Callers changed.
2298 * help-mode.el: Don't require view package.
2299 (help-mode-finish): Set buffer-read-only instead of calling
2302 * bindings.el (mode-line-toggle-read-only):
2303 * dired.el (dired-toggle-read-only):
2304 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2305 with non-nil second arg.
2307 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2308 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2311 2012-07-12 Eli Zaretskii <eliz@gnu.org>
2313 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2316 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2318 More CL cleanups and reduction of use of cl.el.
2319 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2320 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2321 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2322 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2323 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2324 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2325 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2326 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2327 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2328 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2329 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2330 * eshell/em-cmpl.el, eshell/em-banner.el:
2331 * calendar/parse-time.el: Use cl-lib.
2332 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2333 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2334 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2335 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2336 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2337 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2338 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2339 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2340 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2341 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2342 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2343 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2344 `lambda' rather than with `quote'.
2345 (eshell-do-opt): Adjust accordingly.
2346 (eshell-process-option): Simplify.
2347 * eshell/esh-var.el:
2348 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2349 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2350 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2351 to `pcase--dontcare'.
2352 * emacs-lisp/cl.el (labels): Mark obsolete.
2353 (cl--letf, letf): Move to cl-lib.
2354 (cl--letf*, letf*): Remove.
2355 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2357 (cl-progv): Rewrite.
2358 (cl--letf, cl-letf): Move from cl.el.
2359 (cl-letf*): New macro.
2360 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2362 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2364 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2366 2012-07-11 Chong Yidong <cyd@gnu.org>
2368 * vc/log-edit.el (log-edit-vc-backend): New variable.
2369 (log-edit): Doc fix.
2371 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2372 argument of log-edit to set up all local variables.
2373 (vc-start-logentry): New optional arg specifying VC backend.
2375 * vc/vc.el (vc-checkin): Use it.
2376 (vc-deduce-fileset): Handle Log Edit buffers.
2377 (vc-diff): Make first argument optional too.
2379 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2381 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2383 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2384 command, just in case. The function is not needed anymore.
2385 (eshell-external-command): Do not call `eshell-remote-command'.
2387 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2389 Reduce use of (require 'cl).
2390 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2391 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2392 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2393 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2394 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2395 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2396 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2397 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2398 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2399 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2400 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2401 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2402 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2403 (byte-compile-unfold-bcf, byte-compile-check-variable):
2404 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2405 (byte-compile-nilconstp):
2406 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2407 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2409 * emacs-lisp/gv.el (cond): Make it a valid place.
2410 (if): Simplify slightly.
2412 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2413 (pcase--self-quoting-p): New function.
2414 (pcase--u1): Use it.
2416 2012-07-10 Glenn Morris <rgm@gnu.org>
2418 * emacs-lisp/authors.el (authors-fixed-entries):
2419 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2421 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2423 Rename configure.in to configure.ac (Bug#11603).
2424 * emacs-lisp/authors.el (authors-canonical-file-name):
2425 * progmodes/autoconf.el (autoconf-mode):
2426 Prefer configure.ac to configure.in.
2428 2012-07-08 Chong Yidong <cyd@gnu.org>
2430 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2431 Implement the mouse-1-click-follows-link handling properly.
2433 * info.el (Info-link-keymap): Use follow-link mechanism for
2434 header-line links (Bug#374).
2436 * simple.el (deactivate-mark): Do not set the primary selection
2437 if another program has acquired it (Bug#11772).
2439 2012-07-07 Kevin Ryde <user42@zip.com.au>
2441 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2442 (woman-decode-region): Replace escaped-escapes without destroying
2443 bold or underline (Bug#11552).
2444 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2446 2012-07-07 Chong Yidong <cyd@gnu.org>
2448 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2449 (interprogram-cut-function, interprogram-paste-function):
2450 Mention that we typically mean the clipboard.
2452 2012-07-06 Glenn Morris <rgm@gnu.org>
2454 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2456 * files.el (toggle-read-only): Restrict message to interactive use.
2458 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2460 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2462 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2464 2012-07-06 Glenn Morris <rgm@gnu.org>
2466 * Makefile.in (compile-one-process): Rename from "recompile".
2468 * Makefile.in (bzr-update): "compile" is the same as "recompile
2469 autoloads", but parallelizable, so use that instead.
2471 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2473 * window.el (quit-window): Always restore window height when
2474 it's saved in quit-restore parameter (Bug#11810).
2476 2012-07-06 Glenn Morris <rgm@gnu.org>
2478 * simple.el (kill-whole-line): Doc tweak.
2480 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2482 * files.el (file-relative-name): Compare file names
2483 case-insensitively if on MS-Windows or MS-DOS, or if
2484 read-file-name-completion-ignore-case is non-nil. Don't use
2485 case-fold-search for this purpose. (Bug#11827)
2487 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2489 * calendar/cal-dst.el (calendar-current-time-zone):
2490 Return calendar-current-time-zone-cache if non-nil.
2492 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2493 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2495 * calendar/cal-dst.el (calendar-current-time-zone):
2496 Return calendar-current-time-zone-cache if non-nil.
2498 2012-07-06 Glenn Morris <rgm@gnu.org>
2500 * Makefile.in (cvs-update): Remove old alias.
2502 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2504 Sync with Tramp 2.2.6-pre.
2506 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2507 compatible declaration.
2509 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2510 Protect `list-load-path-shadows' call.
2512 * net/tramp-compat.el (top): Require packages, which aren't
2513 autoloaded anymore for XEmacs. Protect call of
2514 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2515 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2516 it hurts at least for SXEmacs.
2517 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2518 standard-value for `temporary-file-directory'.
2520 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2521 Redirect stderr to /dev/null.
2522 (tramp-sh-handle-write-region): uid and gid can be floats.
2523 Reported by Russell Sim <russell.sim@gmail.com>.
2524 (tramp-sh-handle-vc-registered): Hide errors.
2525 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2526 and `start-file-process'.
2527 (tramp-maybe-open-connection): Check also whether `non-essential'
2530 2012-07-04 Chong Yidong <cyd@gnu.org>
2532 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2533 (xml-parse-tag): Likewise, and avoid changing entity tables.
2534 (xml-syntax-table): Define from scratch, making sure not to give
2535 x2000 and other Unicode spaces whitespace syntax, since those are
2537 (xml-parse-fragment): Delete unused function.
2538 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2539 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2540 (xml-entity-ref, xml-pe-reference-re)
2541 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2542 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2543 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2544 (xml-entity-value-re): Use syntax references in regexps where
2545 possible; no need to define inside a let-binding.
2546 (xml-parse-dtd): Use xml-pe-reference-re.
2547 (xml-entity-or-char-ref-re): New defconst.
2548 (xml-parse-string, xml-substitute-special): Use it.
2550 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2553 (find-file--read-only): New function.
2554 (find-file-read-only, find-file-read-only-other-window)
2555 (find-file-read-only-other-frame): Use it.
2556 (insert-file-contents-literally): Don't `fset'.
2557 (get-free-disk-space): Use locate-dominating-file.
2559 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2560 function is already compiled.
2562 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2564 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2566 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2567 files on the same host.
2569 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2571 * help-fns.el (describe-function-1): Only call
2572 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2574 2012-07-03 Chong Yidong <cyd@gnu.org>
2576 * xml.el: Protect parser against XML bombs.
2577 (xml-entity-expansion-limit): New variable.
2578 (xml-parse-string, xml-substitute-special): Use it.
2579 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2581 2012-07-03 Glenn Morris <rgm@gnu.org>
2583 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2584 Allow linking to specific messages in debbugs reports (eg 123#5).
2586 2012-07-02 Chong Yidong <cyd@gnu.org>
2588 * xml.el: Fix entity and character reference expansion, allowing
2589 them to expand into markup as per XML spec.
2590 (xml-default-ns): New variable.
2591 (xml-entity-alist): Use XML spec definitions for lt and amp.
2592 (xml-parse-region): Make first two arguments optional.
2593 Discard text properties.
2594 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2595 All callers changed.
2596 (xml-parse-tag): Call xml-parse-tag-1. For backward
2597 compatibility, this function should not modify buffer contents.
2598 (xml-parse-tag-1): Fix opening-tag regexp.
2599 (xml-parse-string): Rewrite, handling entity and character
2600 references properly.
2601 (xml--entity-replacement-text): Signal an error if a parameter
2602 entity is undefined.
2604 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * comint.el (comint-output-filter): Filter out repeated prompts.
2608 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2609 and file-name-absolute-p.
2610 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2613 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2616 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2617 Rename from byte-compile--refiy-function. All uses changed.
2619 2012-07-01 Chong Yidong <cyd@gnu.org>
2621 * xml.el (xml--parse-buffer): New function. Move most of
2622 xml-parse-region here.
2623 (xml-parse-region): Copy region into a temporary buffer, since
2624 parameter entity substitution requires changing buffer contents.
2625 Use xml--parse-buffer.
2626 (xml-parse-file): Use xml--parse-buffer.
2627 (xml-parse-dtd): Make parameter entity substitution work right.
2628 Use proper regexps for ELEMENT declarations (Bug#7172).
2630 2012-06-30 Glenn Morris <rgm@gnu.org>
2632 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2634 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2635 Remove outdated and unnecessary dbus declarations.
2637 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2639 * emacs-lisp/timer.el (timer-until): Subtract results of
2640 float-time, instead of taking float-time of the result of
2641 time-subtract, since float-time signals an error for negative time
2644 2012-06-30 Chong Yidong <cyd@gnu.org>
2646 * xml.el (xml-*-re): Convert defvars into defconsts, and
2647 eval-and-compile them so eval-and-compile works on derivatives.
2648 (xml--entity-replacement-text): Use eval-and-comple.
2650 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2652 * vc/vc-git.el (vc-git-registered): Use cache property
2654 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2655 `vc-git-working-revision' in order to benefit from the cache.
2656 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2658 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2660 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2661 removed (likely outside Emacs). (Bug#11757)
2663 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * emacs-lisp/cl-lib.el: Require macroexp.
2667 2012-06-30 Chong Yidong <cyd@gnu.org>
2669 * xml.el: Implement XML parameter entities.
2670 (xml-parameter-entity-alist): New variable.
2671 (xml-parse-region, xml-parse-fragment): Preserve previous values
2672 of xml-entity-alist and xml-parameter-entity-alist, so that
2673 repeated calls on different documents do not change them.
2674 (xml-parse-tag): Fix doctype regexp.
2675 (xml--entity-replacement-text): New function.
2676 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2677 properly requires url retrieval which is unimplemented.
2678 (xml-escape-string): Doc fix.
2680 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2684 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2686 * fringe.el (fringe-mode): Doc fix.
2688 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2690 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2692 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2693 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2695 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2697 * calendar/cal-dst.el (calendar-current-time-zone):
2698 Return calendar-current-time-zone-cache if non-nil.
2700 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2702 * progmodes/which-func.el (which-func-format):
2703 Add mouse-face. (Bug#11698)
2705 2012-06-29 Leo Liu <sdl.web@gmail.com>
2707 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2709 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * minibuffer.el (minibuffer-confirm-exit-commands):
2712 Add completion-at-point (bug#11725).
2714 2012-06-29 Glenn Morris <rgm@gnu.org>
2716 * progmodes/f90.el (f90-font-lock-keywords-2):
2717 Add some preprocessor elements. (Bug#10499)
2719 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2722 Use syntax-propertize (bug#11739).
2724 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2726 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2728 2012-06-28 Julien Danjou <julien@danjou.info>
2730 * term.el (term-handle-colors-array): Use a set of new faces to
2731 color the terminal. Also uses :inverse-video property.
2732 (term-default-fg-color): Set to nil by default, deprecate in favor
2734 (term-default-bg-color): Set to nil by default, deprecate in favor
2736 (term-current-face): Use `term-face' by default.
2737 (term-bold-attribute): Variable deleted.
2739 2012-06-28 Glenn Morris <rgm@gnu.org>
2741 * simple.el (completion-list-mode-finish):
2742 Don't use toggle-read-only. (Since completion-list-mode has
2743 a special mode-class, it wasn't doing anything extra anyway.)
2745 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2747 Make inlining of other-mode interpreted functions work (bug#11799).
2748 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2749 (byte-compile): Use it to fix compilation of lexical-binding closures.
2750 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2751 function, if needed.
2753 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2755 * help-mode.el (help-make-xrefs): Don't just withstand
2756 cyclic-variable-indirection but any error in documentation-property.
2758 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2760 * bindings.el (bindings--define-key): New function.
2761 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2762 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2763 * bindings.el: Use it to purecopy define-key bindings.
2765 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2767 * emacs-lisp/cl.el (flet): Mark obsolete.
2768 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2769 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2770 * progmodes/js.el (js-c-fill-paragraph):
2771 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2772 (ebrowse-switch-member-buffer-to-derived-class):
2773 * play/5x5.el (5x5-solver): Use cl-flet.
2775 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2776 (cl--symbol-function): New macro.
2777 (cl--letf, cl--letf*): Use it.
2779 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2780 Strip "toggle-" if any.
2782 2012-06-27 Glenn Morris <rgm@gnu.org>
2784 * info.el (Info-default-directory-list): Move here from paths.el.
2785 * paths.el: Remove file, which is now empty.
2786 * loadup.el: No longer load "paths".
2788 * custom.el (custom-initialize-delay): Doc fix.
2790 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2791 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2792 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2793 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2794 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2795 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2796 * eshell/eshell.el (eshell-defgroup): Remove alias.
2798 2012-06-27 Chong Yidong <cyd@gnu.org>
2800 * help.el (help-enable-auto-load): New variable.
2802 * help-fns.el (help-fns--autoloaded-p): New function.
2803 (describe-function-1): Refer to a function as "autoloaded" if it
2804 was autoloaded at any time in the past. Perform autoloading if
2805 help-enable-auto-load is non-nil.
2807 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2809 * makefile.w32-in (compile, compile-always): Depend on
2810 update-subdirs, not on subdirs.el. Otherwise, several different
2811 sub-targets of 'bootstrap' running in parallel could
2812 simultaneously write to subdirs.el, producing a garbled file.
2814 2012-06-26 Sam Steingold <sds@gnu.org>
2816 * files.el (file-name-base): New convenience function.
2817 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2818 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2819 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2820 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2821 * textmodes/ispell.el, textmodes/reftex-ref.el:
2822 * textmodes/tex-mode.el: Use it.
2823 Did not touch cedet and org because they are maintained elsewhere.
2825 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2827 * calendar/calendar.el (calendar-exit): Don't try to delete or
2828 iconify last frame. See:
2829 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2831 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2833 * server.el (server-process-filter): Remember dir in the
2834 process's `server-client-directory' properties.
2836 2012-06-24 Chong Yidong <cyd@gnu.org>
2838 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2841 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2843 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2845 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2847 * help-fns.el (describe-variable): Don't croak when doc is not found.
2848 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2849 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2850 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2851 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2852 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2854 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2856 2012-06-23 Chong Yidong <cyd@gnu.org>
2858 * info.el (Info-mouse-follow-link): Accept symbol values of
2859 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2860 (Info-fontify-node): Use Info-link-keymap for all navigation
2861 buttons, with link-args property to perform the desired action.
2862 (Info-link-keymap): Doc fix.
2863 (Info-next-link-keymap, Info-prev-link-keymap)
2864 (Info-up-link-keymap): Delete now-unused keymaps.
2866 2012-06-23 Chong Yidong <cyd@gnu.org>
2868 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2870 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2873 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2875 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2880 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2881 the requote function doesn't work properly (bug#11714).
2883 2012-06-23 Glenn Morris <rgm@gnu.org>
2885 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2887 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2889 Further GV/CL cleanups.
2890 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2892 (gv--defun-declaration): New function.
2893 (defun-declarations-alist): Use it.
2894 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2895 (gv-place): Autoload.
2896 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2897 original definition of dotimes and dolist.
2898 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2899 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2900 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2901 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2902 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2903 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2904 to the function's definition.
2905 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2909 * env.el: Don't use CL.
2911 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2913 Support higher-resolution time stamps (Bug#9000).
2915 * calendar/time-date.el (with-decoded-time-value): New arg
2916 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2917 (encode-time-value): New optional arg PICO. New type 3.
2918 (time-to-seconds) [!float-time]: Support the new picoseconds
2919 component if it's used.
2920 (seconds-to-time, time-subtract, time-add):
2921 Support ps-resolution time stamps as well.
2923 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2924 (timerp): Timer vectors now have length 9, not 8.
2925 (timer--time): Support new-style (4-part) time stamps.
2926 (timer-next-integral-multiple-of-time): Time stamps now have
2927 picosecond resolution, so take a bit more care about rounding.
2928 (timer-relative-time, timer-inc-time): New optional arg psecs.
2929 (timer-set-time-with-usecs): Set psecs to 0.
2930 (timer--activate): Check psecs component, too.
2932 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2934 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2937 Move the non-essential binding to the post/pre-command-hook where it is
2938 more obviously correct.
2940 * subr.el (read-passwd): Don't use a history at all.
2941 * savehist.el (savehist-save): Remove password saved accidentally
2942 because of the above bug.
2944 2012-06-22 Bastien Guerry <bzg@gnu.org>
2946 * files.el (toggle-read-only): Display a message telling whether
2947 the buffer is read-only or not (bug#11726).
2949 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2951 * emacs-lisp/gv.el: New file.
2952 * subr.el (push, pop): Extend to generalized variables.
2953 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2954 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2955 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2956 gv-define-simple-setter, and gv-define-expander.
2957 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2958 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2959 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2960 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2961 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2963 (cl-defstruct): Don't define setf-method any more.
2964 * emacs-lisp/cl.el (flet): Don't autoload.
2965 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2966 (define-setf-expander, defsetf, define-modify-macro)
2967 (cl-struct-setf-expander): Move from cl-lib.el.
2968 * emacs-lisp/syntax.el:
2969 * emacs-lisp/ewoc.el:
2970 * emacs-lisp/smie.el:
2971 * emacs-lisp/cconv.el:
2972 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2973 (timer--time): Use gv-define-simple-setter.
2974 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2975 to avoid coding-system problems in subr.el. Adjust all users.
2976 (macroexp--maxsize, macroexp-small-p): New functions.
2977 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2978 * scroll-bar.el (scroll-bar-mode):
2979 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2980 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2981 * winner.el (winner-configuration, winner-make-point-alist)
2982 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2983 * files.el (locate-file-completion-table): Avoid list*.
2985 2012-06-22 Chong Yidong <cyd@gnu.org>
2987 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2988 (dired-create-files): Doc fix (Bug#11329).
2989 (dired-do-copy): Doc fix (Bug#11334).
2990 (dired-mark-read-string): Doc fix (Bug#11553).
2992 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2993 Doc fix (Bug#11326).
2994 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2995 (dired-dwim-target): Doc fix.
2997 * wdired.el (wdired-mode): Doc fix.
2999 2012-06-22 Glenn Morris <rgm@gnu.org>
3001 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3002 (pcmpl-rpm-cache-stamp-file): New constant.
3003 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3004 (pcmpl-rpm-packages): Optionally cache list of packages.
3006 * pcmpl-rpm.el (pcmpl-rpm): New group.
3007 (pcmpl-rpm-query-options): New option.
3008 (pcmpl-rpm-packages): No need to inline it.
3009 Use pcmpl-rpm-query-options.
3011 * calendar/calendar.el (calendar-in-read-only-buffer):
3012 Avoid some needless mode changes.
3014 2012-06-21 Chong Yidong <cyd@gnu.org>
3016 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3017 (desktop-path): Remove . from the default value (Bug#10977).
3018 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3020 2012-06-20 Chong Yidong <cyd@gnu.org>
3022 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3024 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3026 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3029 2012-06-20 Chong Yidong <cyd@gnu.org>
3031 * term.el (term-window-width): Handle the case of a missing right
3033 (term-check-size): Use window-text-height (Bug#5445).
3034 (term-mode): Use define-derived-mode. Minor cleanups.
3035 Set font-lock-defaults (Bug#7692).
3036 (term-move-columns, term-insert-char, term-emulate-terminal)
3037 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3039 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3041 * net/ange-ftp.el (ange-ftp-get-passwd):
3042 Bind `enable-recursive-minibuffers'.
3043 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3045 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3047 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3049 2012-06-19 Glenn Morris <rgm@gnu.org>
3051 * progmodes/python.el (python-mode): Derive from prog-mode.
3053 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3055 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3056 (edt-user-menu-bar-update-buffers): New functions.
3057 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3059 2012-06-19 Chong Yidong <cyd@gnu.org>
3061 * subr.el (with-selected-window): Preserve the selected window's
3062 terminal's top-frame (Bug#4702).
3064 * window.el (save-selected-window): Likewise.
3066 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * progmodes/python.el (python-rx-constituents): Move backquote.
3069 (python-skeleton-define, python-define-auxiliary-skeleton):
3072 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3074 * minibuffer.el (read-file-name-default): Revert the patch from
3077 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3080 (pcase--u1, pcase--q1): Don't use apply-partially.
3082 2012-06-18 Glenn Morris <rgm@gnu.org>
3084 * progmodes/python.el (python-proc, python-buffer)
3085 (python-send-receive, python-send-string): Fix obsolete versions.
3087 2012-06-18 Martin Rudalics <rudalics@gmx.at>
3089 * window.el (special-display-p): Completely remove stringp
3090 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3092 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
3094 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3096 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3098 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3099 * net/tramp-sh.el (tramp-maybe-open-connection):
3100 Throw if `non-essential' is non-nil.
3102 2012-06-17 Martin Rudalics <rudalics@gmx.at>
3104 * window.el (special-display-p): Signal an error if BUFFER-NAME
3105 is not a string (Bug#11713).
3107 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3109 * progmodes/python.el (python-info-beginning-of-backslash):
3110 Rename from python-info-beginning-of-backlash, as a spelling fix.
3112 2012-06-17 Chong Yidong <cyd@gnu.org>
3114 * term.el (term-emulate-terminal): If term-check-size is called,
3115 move point to the process mark without resetting point (Bug#4635).
3117 2012-06-17 Glenn Morris <rgm@gnu.org>
3119 * international/mule-cmds.el (mule-menu-keymap)
3120 (set-language-environment, set-locale-environment): Doc tweaks.
3122 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3124 * cus-face.el (custom-face-attributes): Add wave-style underline
3126 * faces.el (set-face-attribute): Update docstring to describe
3127 wave-style underline attribute.
3129 2012-06-16 Chong Yidong <cyd@gnu.org>
3131 * term/xterm.el (terminal-init-xterm): Discard input before
3132 querying background mode (Bug#10959).
3134 2012-06-16 Stefan Merten <smerten@oekonux.de>
3136 * textmodes/rst.el: Added and corrected some comments.
3137 (rst-re-alist-def): Improve symbol syntax.
3138 (rst-mode-syntax-table): Correct syntax entries.
3139 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3140 (rst-official-version, rst-official-cvs-rev): Update version
3143 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
3145 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3146 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3148 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3150 * progmodes/python.el: New python.el merge.
3151 (python-guess-indent): Obsolete var.
3152 (python-indent-guess-indent-offset): New defcustom.
3153 (python-indent): Obsolete var.
3154 (python-indent-offset): New defcustom.
3155 (python-python-command, python-jython-command): Delete var.
3156 (python-shell-interpreter): New defcustom.
3157 (python-pdbtrack-do-tracking-p): Delete var.
3158 (python-pdbtrack-activate): New defcustom.
3159 (python-use-skeletons): Obsolete var.
3160 (python-skeleton-autoinsert): New defcustom.
3161 (inferior-python-filter-regexp, python-continuation-offset)
3162 (python-honour-comment-indentation, python-indent-string-contents)
3163 (python-jython-packages, python-mode-hook)
3164 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3165 (python-shell-prompt-alist)
3166 (python-source-modes): Delete defcustoms.
3167 (python-check-buffer-name, python-eldoc-setup-code)
3168 (python-eldoc-string-code, python-ffap-setup-code)
3169 (python-ffap-string-code, python-fill-comment-function)
3170 (python-fill-decorator-function, python-fill-paren-function)
3171 (python-fill-string-function, python-imenu-include-defun-type)
3172 (python-imenu-make-tree, python-imenu-subtree-root-label)
3173 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3174 (python-shell-compilation-regexp-alist)
3175 (python-shell-completion-module-string-code)
3176 (python-shell-completion-pdb-string-code)
3177 (python-shell-completion-setup-code)
3178 (python-shell-completion-string-code)
3179 (python-shell-enable-font-lock, python-shell-exec-path)
3180 (python-shell-extra-pythonpaths)
3181 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3182 (python-shell-process-environment)
3183 (python-shell-prompt-block-regexp)
3184 (python-shell-prompt-output-regexp)
3185 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3186 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3187 (python-shell-virtualenv-path): New defcustoms.
3188 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3189 (inferior-python-mode-syntax-table, python--prompt-regexp)
3190 (python-buffer, python-command python-python-command)
3191 (python-default-template, python-imports, python-indent-index)
3192 (python-indent-list, python-indent-list-length)
3193 (python-mode-running, python-pdbtrack-is-tracking-p)
3194 (python-preoutput-continuation, python-preoutput-leftover)
3195 (python-preoutput-result, python-preoutput-skip-next-prompt)
3196 (python-prev-dir/file, python-recursing)
3197 (python-saved-check-command, python-version-checked)
3198 (python-which-func-length-limit)
3199 (view-return-to-alist): Delete vars.
3200 (python-check-custom-command, python-dotty-syntax-table)
3201 (python-imenu-index-alist, python-indent-current-level)
3202 (python-indent-dedenters, python-indent-levels)
3203 (python-nav-beginning-of-defun-regexp)
3204 (python-nav-list-defun-positions-cache)
3205 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3206 (python-shell-internal-buffer)
3207 (python-skeleton-available): New vars.
3208 (def-python-skeleton): Delete macro.
3209 (python-skeleton-define): New macro.
3210 (python-define-auxiliary-skeleton, python-rx): New macros.
3211 (python-insert-class): Delete command.
3212 (python-skeleton-class): New command.
3213 (python-insert-def): Delete command.
3214 (python-skeleton-def): New command.
3215 (python-insert-for): Delete command.
3216 (python-skeleton-for): New command.
3217 (python-insert-if): Delete command.
3218 (python-skeleton-if): New command.
3219 (python-insert-try/except, python-insert-try/finally): Delete commands.
3220 (python-skeleton-try): New command.
3221 (python-insert-while): Delete command.
3222 (python-skeleton-while): New command.
3223 (python-backspace): Delete command.
3224 (python-indent-dedent-line-backspace): New command.
3225 (python-electric-colon): Delete command.
3226 (python-indent-electric-colon): New command.
3227 (python-guess-indent): Delete command.
3228 (python-indent-guess-indent-offset): New command.
3229 (python-shift-left): Delete command.
3230 (python-indent-shift-left): New command.
3231 (python-shift-right): Delete command.
3232 (python-indent-shift-right): New command.
3233 (python-find-function): Delete command.
3234 (python-nav-jump-to-defun): New command.
3235 (python-next-statement): Delete command.
3236 (python-nav-forward-sentence): New command.
3237 (python-previous-statement): Delete command.
3238 (python-nav-backward-sentence): New command.
3239 (python-fill-paragraph): Delete command.
3240 (python-fill-paragraph-function): New command.
3241 (python-send-buffer): Delete command.
3242 (python-shell-send-buffer): New command.
3243 (python-send-defun): Delete command.
3244 (python-shell-send-defun): New command.
3245 (python-send-region, python-send-region-and-go): Delete commands.
3246 (python-shell-send-region)
3247 (python-shell-switch-to-shell): New commands.
3248 (python-send-string): Delete command.
3249 (python-shell-send-string): New command.
3250 (python-switch-to-python): Delete command.
3251 (python-shell-switch-to-shell): New command.
3252 (python-describe-symbol): Delete command.
3253 (python-eldoc-at-point): New command.
3254 (python--set-prompt-regexp, python-args-to-list)
3255 (python-after-info-look, python-check-version)
3256 (python-check-comint-prompt, python-find-imports)
3257 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3258 (python-unload-function, python-expand-template)
3259 (python-maybe-jython, python-preoutput-filter)
3260 (python-pdbtrack-get-source-buffer)
3261 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3262 (python-pdbtrack-toggle-stack-tracking)
3263 (python-pdbtrack-track-stack-file, python-initial-text)
3264 (python-first-word, python-comment-line-p, python-send-command)
3265 (python-setup-brm, python-sentinel, python-set-proc)
3266 (python-skip-out, python-input-filter, python-outdent-p)
3267 (python-outline-level, python-backslash-continuation-line-p)
3268 (python-end-of-block, python-end-of-statement, python-mark-block)
3269 (python-beginning-of-block, python-beginning-of-statement)
3270 (python-blank-line-p, python-beginning-of-string)
3271 (python-open-block-statement-p): Delete functions.
3272 (python-indent-line, python-indent-line-1): Delete functions.
3273 (python-indent-line): New function.
3274 (python-indentation-levels): Delete function.
3275 (python-indent-calculate-levels): New function.
3276 (python-proc): Delete function.
3277 (python-shell-get-process): New function.
3278 (python-send-receive): Delete function.
3279 (python-shell-send-string-no-output): New function.
3280 (python-module-path): Delete function.
3281 (python-ffap-module-path): New function.
3282 (python-completion-at-point)
3283 (python-symbol-completions): Delete functions.
3284 (python-completion-complete-at-point): New function.
3285 (python-load-file): Delete function.
3286 (python-shell-send-file): New function.
3287 (python-calculate-indentation): Delete function.
3288 (python-indent-calculate-indentation): New function.
3289 (python-skip-comments/blanks): Delete function.
3290 (python-util-forward-comment): New function.
3291 (python-continuation-line-p): Delete function.
3292 (python-info-continuation-line-p): New function.
3293 (python-which-func, python-current-defun): Delete function.
3294 (python-info-current-defun): New function.
3295 (python-beginning-of-defun): Delete function.
3296 (python-nav-beginning-of-defun): New function.
3297 (python-close-block-statement-p)
3298 (python-block-end-p): Delete function.
3299 (python-info-closing-block): New function.
3300 (python-comint-output-filter-function)
3301 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3302 (python-fill-comment, python-fill-decorator, python-fill-paren)
3303 (python-fill-string, python-imenu-make-element-tree)
3304 (python-imenu-make-tree, python-imenu-tree-assoc)
3305 (python-indent-context, python-indent-dedent-line)
3306 (python-indent-line-function)
3307 (python-indent-post-self-insert-function)
3308 (python-indent-toggle-levels)
3309 (python-info-assignment-continuation-line-p)
3310 (python-info-beginning-of-backlash)
3311 (python-info-block-continuation-line-p)
3312 (python-info-closing-block-message)
3313 (python-info-line-ends-backslash-p)
3314 (python-info-looking-at-beginning-of-defun)
3315 (python-info-ppss-context, python-info-ppss-context-type)
3316 (python-nav-list-defun-positions, python-nav-read-defun)
3317 (python-nav-sentence-end, python-nav-sentence-start)
3318 (python-pdbtrack-comint-output-filter-function)
3319 (python-pdbtrack-set-tracked-buffer)
3320 (python-shell-calculate-exec-path)
3321 (python-shell-calculate-process-environment)
3322 (python-shell-completion--do-completion-at-point)
3323 (python-shell-completion--get-completions)
3324 (python-shell-completion-complete-at-point)
3325 (python-shell-completion-complete-or-indent)
3326 (python-shell-get-or-create-process)
3327 (python-shell-get-process-name)
3328 (python-shell-internal-get-or-create-process)
3329 (python-shell-internal-get-process-name)
3330 (python-shell-internal-send-string, python-shell-make-comint)
3331 (python-shell-parse-command, python-shell-send-setup-code)
3332 (python-skeleton-add-menu-items)
3333 (python-util-clone-local-variables, python-util-position)
3334 (run-python-internal, python-indentation-levels)
3335 (python-nav-beginning-of-defun)
3336 (python-completion-complete-at-point): New functions.
3337 (run-python): Change arguments. New API requirements.
3339 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3344 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3345 (macroexp--expand-all): Use it.
3347 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3348 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3349 Use `cl-function' instead.
3351 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3353 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3354 Suggested by Stefan Monnier while discussing bug#11657.
3356 2012-06-14 Sam Steingold <sds@gnu.org>
3358 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3360 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3362 * play/doctor.el (doctor-doc): Remove parameter and use
3363 doctor-sent instead of sent.
3364 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3366 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * files.el: Require cl-lib.
3369 (file-name-non-special): Replace case -> cl-case.
3371 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3373 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3374 mapping from #' to function*.
3376 2012-06-13 Chong Yidong <cyd@gnu.org>
3378 * mouse.el (mouse-drag-track): Do not set the mark if the user
3379 releases the mouse without selecting anything (Bug#11588).
3381 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3384 as well (bug#11646).
3386 * loadup.el: Count byte-code functions as well.
3388 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3389 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3391 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3392 (bug#11649). Add cl-defun and cl-defmacro.
3394 2012-06-13 Drew Adams <drew.adams@oracle.com>
3396 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3399 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3401 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3402 Otherwise, it blocks in batch mode.
3404 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3406 * help-mode.el (bookmark-make-record-default): Declare.
3408 2012-06-13 Chong Yidong <cyd@gnu.org>
3410 * emacs-lisp/package.el (list-packages): Compute a list of
3411 packages that are newly-available since the last list-packages
3413 (package-menu--new-package-list): New var.
3414 (package-menu--generate, package-menu--print-info)
3415 (package-menu--status-predicate, package-menu-mark-install):
3416 Handle new status label "new".
3418 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3421 conversion to backquotes.
3423 2012-06-12 Chong Yidong <cyd@gnu.org>
3425 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3426 Rename from gud-inhibit-global-bindings.
3428 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3430 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3431 hook from nxml-glyph-set-hook.
3433 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3436 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3438 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3439 Convert to defcustom.
3441 2012-06-12 Drew Adams <drew.adams@oracle.com>
3443 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3445 (help-mode): Use them.
3447 2012-06-11 Glenn Morris <rgm@gnu.org>
3449 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3450 Use preprocessor face for directives.
3451 (fortran-directive-re): Doc fix.
3453 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3456 conversion to backquotes (bug#11652).
3458 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3459 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3460 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3461 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3462 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3463 (cl-ninth, cl-tenth): Mark them as inlinable.
3464 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3465 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3466 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3467 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3468 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3469 (cl-list*, cl-adjoin): Don't put an autoload manually.
3470 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3471 (cl--compiler-macro-list*): Add autoload cookie.
3472 (cl--compiler-macro-cXXr): New function.
3474 * help-fns.el (help-fns--compiler-macro): New function extracted from
3475 describe-function-1; follow aliases and use `compiler-macro' property.
3476 (describe-function-1): Use it.
3478 2012-06-11 Chong Yidong <cyd@gnu.org>
3480 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3481 is uninstalled, if imagemagick is installed.
3483 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3485 * emacs-lisp/cl-lib.el: Use lexical-binding.
3486 (cl-map-extents, cl-maclisp-member): Remove.
3487 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3488 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3489 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3490 * emacs-lisp/cl-extra.el: Use lexical-binding.
3491 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3492 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3493 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3494 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3495 * emacs-lisp/cl-seq.el: Use lexical-binding.
3496 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3497 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3498 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3499 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3500 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3503 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3505 Sync with Tramp 2.2.6-pre.
3507 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3508 `print-length' and `print-level' to nil, in order to avoid
3509 truncation. Reported by Christopher Schmidt
3510 <christopher@ristopher.com>.
3512 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3514 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3516 (tramp-compat-copy-directory): Add optional argument
3517 COPY-CONTENTS. It is not handled yet.
3519 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3520 (tramp-ftp-file-name-p): Simplify.
3522 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3523 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3526 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3527 (tramp-methods): Do not use `tramp-password-end-of-line'.
3528 (tramp-completion-function-alist-putty): Handle UNIX case.
3529 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3530 (tramp-do-file-attributes-with-stat)
3531 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3532 gid as real numbers. They could run out of integer range on cygwin.
3533 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3534 (tramp-sh-handle-expand-file-name): Handle hops.
3535 (tramp-open-connection-setup-interactive-shell):
3536 Use `tramp-cleanup'. Move check for busyboxes ...
3537 (tramp-find-shell): ... here. Simplify implementation.
3538 Set "remote-shell" property also for alternative shells.
3539 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3540 If failing, a regular file would be written otherwise.
3541 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3542 (tramp-find-inline-encoding): Cache the coding commands in the
3543 process cache. Apply test command on the remote side, if defined.
3544 (tramp-find-inline-compress): Cache the compress commands in the
3546 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3547 when requested. Handle hops.
3548 (tramp-current-connection): New defvar.
3549 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3550 Throw `suppress', if there was a failed connection shortly before.
3551 Handle user interrupt. (Bug#10187)
3552 (tramp-get-inline-compress, tramp-get-inline-coding):
3553 Read connection properties from the process cache.
3555 * net/tramp-smb.el (tramp-smb-server-version)
3556 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3558 (tramp-smb-prompt): Extend for powershell prompt.
3559 (tramp-smb-file-name-handler-alist): Add handlers for
3560 `process-file', `shell-command' and `start-file-process'.
3561 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3562 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3563 (tramp-smb-file-name-p): Simplify.
3564 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3565 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3566 (tramp-smb-shell-quote-argument): New defuns.
3567 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3568 Implement using "tar". By this, time-stamps are preserved.
3569 (tramp-smb-handle-copy-file): Handle also the case of directories.
3570 (tramp-smb-do-file-attributes-with-stat)
3571 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3572 Use `tramp-get-connection-buffer').
3573 (tramp-smb-handle-rename-file): Use "rename", when source and
3574 target are on the same share.
3575 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3576 Use `tramp-smb-server-version'.
3577 (tramp-smb-wait-for-output): Remove prompt.
3579 * net/tramp.el (top): Require 'cl.
3580 (tramp-methods, tramp-rsh-end-of-line):
3581 Remove `tramp-password-end-of-line' from docstring.
3582 (tramp-save-ad-hoc-proxies): New defcustom.
3583 (tramp-completion-function-alist): Adapt docstring.
3584 (tramp-default-password-end-of-line): Remove defcustom.
3585 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3586 (tramp-user-regexp, tramp-file-name-regexp-unified)
3587 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3588 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3589 (tramp-remote-file-name-spec-regexp): New defconst.
3590 (tramp-file-name-structure): Extend structure for hops.
3591 (tramp-get-method-parameter): Move up.
3592 (tramp-file-name-p, tramp-dissect-file-name)
3593 (with-parsed-tramp-file-name): Handle hops.
3594 (tramp-file-name-hop): New defun.
3595 (tramp-make-tramp-file-name): New optional arg HOP.
3596 (tramp-message-show-progress-reporter-message): New defvar.
3597 (tramp-with-progress-reporter): Use it. We cannot use
3598 `tramp-message-show-message' here, because this suppresses also
3600 (tramp-error-with-buffer): Suppress buffer view, if
3601 `tramp-message-show-message' is nil.
3602 Use `tramp-get-connection-buffer'.
3603 (tramp-cleanup): New defun.
3604 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3605 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3607 (tramp-completion-handle-file-name-all-completions): Handle hops.
3608 Fix an error when called from ido.
3609 (tramp-completion-dissect-file-name): Use better local variable
3610 name. Add hop to the vector.
3611 (tramp-handle-insert-file-contents): Use progress-reporter for the
3613 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3615 (tramp-check-for-regexp): Simplify search.
3616 (tramp-enter-password): Remove it. Move implementation ...
3617 (tramp-action-password): ... here.
3618 (tramp-mode-string-to-int, tramp-local-host-p)
3619 (tramp-make-tramp-temp-file, tramp-read-passwd)
3620 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3621 Set tramp-autoload cookie.
3623 * net/trampver.el: Update release number.
3625 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3626 Michael Albinus <michael.albinus@gmx.de>
3628 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3629 (tramp-parse-group, tramp-parse-file)
3630 (tramp-parse-shostkeys-sknownhosts): New defuns.
3631 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3632 (tramp-parse-shosts-group, tramp-parse-sconfig)
3633 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3634 (tramp-parse-sknownhosts, tramp-parse-hosts)
3635 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3637 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3638 (tramp-parse-putty-group): Don't narrow.
3639 (tramp-parse-putty): Make a loop.
3640 (tramp-file-name-handler): Catch the `suppress' signal.
3642 2012-06-11 Chong Yidong <cyd@gnu.org>
3644 * image.el (imagemagick-register-types): Put the ImageMagick entry
3645 at the end of image-type-file-name-regexps.
3647 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3649 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3650 (pcase, pcase-let*, pcase-dolist): Use them.
3652 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * emacs-lisp/pcase.el (pcase--let*): New function.
3655 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3656 (pcase--expand): Use macroexp-let².
3658 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3661 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3662 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3663 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3664 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3665 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3667 2012-06-10 Glenn Morris <rgm@gnu.org>
3669 * mail/rmail.el (rmail-yank-current-message): Leave point at
3670 correct position. (Bug#11660)
3672 2012-06-10 Chong Yidong <cyd@gnu.org>
3674 * allout-widgets.el: Fix code header.
3676 2012-06-10 Chong Yidong <cyd@gnu.org>
3678 * cus-edit.el (customize-changed-options-previous-release):
3681 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3683 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3685 2012-06-09 Chong Yidong <cyd@gnu.org>
3687 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3689 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3691 * window.el (special-display-popup-frame): Don't use
3692 window--display-buffer (Bug#11651).
3694 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3696 Fix parallel builds: make sure loaddefs.el is not being written
3697 while Lisp files are compiled.
3698 (compile): Don't depend on 'mh-autoloads'.
3699 (compile-CMD, compile-SH): Depend on 'autoloads'.
3700 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3702 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3704 2012-06-09 Chong Yidong <cyd@gnu.org>
3706 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3707 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3708 Doc fixes (Bug#11225).
3710 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3713 a function if there's a clear indication that it has a compiler-macro.
3714 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3715 (macro-declarations-alist): Add arglist to declaration functions.
3716 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3717 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3718 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3719 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3720 Also add autoload to find the compiler macro.
3721 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3722 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3723 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3724 (cl--compiler-macro-get): New functions, replacing calls to
3725 cl-define-compiler-macro.
3726 (cl-typep) [compiler-macro]: Use macroexp-let².
3728 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3730 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3731 string properly, fixes Bug#11473.
3733 2012-06-08 Chong Yidong <cyd@gnu.org>
3735 * faces.el (set-face-attribute): Doc fix.
3736 (modify-face): Don't use :bold and :italic.
3737 (error, warning, success): Tweak definitions.
3739 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3740 (custom-modified, custom-set, custom-changed, custom-themed)
3741 (custom-saved, custom-button, custom-button-mouse)
3742 (custom-button-pressed, custom-state, custom-comment-tag)
3743 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3744 (custom-group-subtitle): Use new-style face specs.
3745 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3746 (custom-set-face, custom-changed-face, custom-saved-face)
3747 (custom-button-face, custom-button-pressed-face)
3748 (custom-documentation-face, custom-state-face)
3749 (custom-comment-face, custom-comment-tag-face)
3750 (custom-variable-tag-face, custom-variable-button-face)
3751 (custom-face-tag-face, custom-group-tag-face-1)
3752 (custom-group-tag-face): Remove obsolete face alias.
3754 * epa.el (epa-validity-high, epa-validity-medium)
3755 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3756 (epa-field-name, epa-field-body):
3757 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3758 (font-lock-keyword-face, font-lock-builtin-face)
3759 (font-lock-function-name-face, font-lock-variable-name-face)
3760 (font-lock-type-face, font-lock-constant-face):
3761 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3762 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3763 * speedbar.el (speedbar-button-face, speedbar-file-face)
3764 (speedbar-directory-face, speedbar-tag-face)
3765 (speedbar-selected-face, speedbar-highlight-face)
3766 (speedbar-separator-face):
3767 * whitespace.el (whitespace-newline, whitespace-space)
3768 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3769 (whitespace-line, whitespace-space-before-tab)
3770 (whitespace-space-after-tab, whitespace-indentation)
3772 * emulation/cua-base.el (cua-global-mark):
3773 * eshell/em-prompt.el (eshell-prompt):
3774 * net/newst-plainview.el (newsticker-new-item-face)
3775 (newsticker-old-item-face, newsticker-immortal-item-face)
3776 (newsticker-obsolete-item-face, newsticker-date-face)
3777 (newsticker-statistics-face, newsticker-default-face):
3778 * net/newst-reader.el (newsticker-feed-face)
3779 (newsticker-extra-face, newsticker-enclosure-face):
3780 * net/newst-treeview.el (newsticker-treeview-face)
3781 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3782 (newsticker-treeview-immortal-face)
3783 (newsticker-treeview-obsolete-face)
3784 (newsticker-treeview-selection-face):
3785 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3786 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3787 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3788 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3789 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3790 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3791 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3793 * progmodes/vera-mode.el (vera-font-lock-number)
3794 (vera-font-lock-function, vera-font-lock-interface):
3795 * textmodes/table.el (table-cell): Use new-style face specs, and
3796 don't use the old :bold and :italic attributes.
3798 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3799 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3800 (ebrowse-member-class, ebrowse-progress): Likewise.
3801 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3802 (ebrowse-file-name-face, ebrowse-default-face)
3803 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3804 (ebrowse-progress-face): Remove obsolete faces.
3806 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3807 Inherit from error and warning faces respectively.
3809 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3811 (flyspell-incorrect-face, flyspell-duplicate-face):
3812 Remove obsolete aliases.
3814 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3816 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3819 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * startup.el (argv, argi): Make lexically scoped.
3822 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3823 * emacs-lisp/cl-macs.el: Use lexical-binding.
3824 Rename cl-bind-* to cl--bind-*.
3825 * files.el: Don't require `cl' since it doesn't use it.
3826 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3828 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3830 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3831 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3832 instead of calling external sort utility.
3833 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3835 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3837 * descr-text.el (describe-char): Mention how to insert the
3838 character, if the current input method doesn't support it.
3839 See the discussion in this thread for the details:
3840 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3842 2012-06-08 Sam Steingold <sds@gnu.org>
3844 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3845 XF86Back to previous-buffer.
3846 (minibuffer-local-map): Bind them to next-history-element and
3847 previous-history-element respectively.
3848 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3849 help-go-back respectively.
3850 * info.el (Info-mode-map): Bind them to Info-history-forward and
3851 Info-history-back respectively.
3852 These are the keys next to Up on the ThinkPad keyboard.
3854 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3856 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3857 * emacs-lisp/cl-macs.el: Provide itself.
3858 (cl--labels-convert-cache): New var.
3859 (cl--labels-convert): New function.
3860 (cl-flet, cl-labels): New implementation with new semantics, relying on
3862 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3863 (cl-closure-vars, cl--function-convert-cache)
3864 (cl--function-convert): Move from cl-macs.el.
3865 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3866 rename by removing the "cl-" prefix.
3867 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3869 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3872 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3873 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3874 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3875 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3876 (cl-hash-table-count): Add old compatibility aliases.
3878 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3879 Use macroexpand-all-environment instead.
3880 (cl--old-macroexpand): New var.
3881 (cl--sm-macroexpand): New function.
3882 (cl-symbol-macrolet): Use it during macro expansion.
3883 (cl--function-convert-cache): New var.
3884 (cl--function-convert): New function, extracted from
3886 (cl-lexical-let): Use it.
3888 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3889 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3890 (cl-member): Remove old alias.
3892 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3893 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3894 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3895 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3896 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3897 (cl-macroexpand-cmacs): Remove var.
3898 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3899 Use macroexpand-all instead.
3901 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3904 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3905 (macroexp-copyable-p): New functions and macros.
3906 * emacs-lisp/edebug.el (edebug-unwrap):
3907 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3908 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3909 (pcase--let*): Remove.
3910 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3911 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3912 macroexp-const-p instead.
3913 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3915 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3916 instead of "cl-" for internal definitions. Use macroexp-const-p.
3917 (cl-old-bc-file-form): Remove var.
3918 (cl-const-exprs-p): Remove fun.
3919 (cl-labels, cl-macrolet): Use backquote.
3920 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3921 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3922 (cl-define-setf-expander): Rename from cl-define-setf-method.
3923 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3925 * international/mule-cmds.el: Don't require CL.
3926 (view-hello-file): Don't use `letf'.
3928 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * tmm.el (tmm-prompt): Use string-prefix-p.
3931 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3932 (tmm-add-prompt): Use minibuffer-completion-help.
3933 (tmm-delete-map): Remove.
3935 * subr.el (kbd): Make it its own function.
3937 2012-06-07 Stefan Merten <smerten@oekonux.de>
3939 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3940 Silence compiler warnings. Fix versions.
3941 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3942 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3943 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3944 (rst-package-emacs-version-alist): Correct Emacs version to
3945 represent major merge with upstream.
3946 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3948 2012-06-06 Glenn Morris <rgm@gnu.org>
3950 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3951 Only print environment variables if set.
3953 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3956 (macroexp--cons): Rename from maybe-cons.
3957 (macroexp--accumulate): Rename from macroexp-accumulate.
3958 (macroexp--all-forms): Rename from macroexpand-all-forms.
3959 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3960 (macroexp--expand-all): Rename from macroexpand-all-1.
3962 2012-06-06 Sam Steingold <sds@gnu.org>
3964 * calendar/calendar.el (calendar-in-read-only-buffer):
3965 Call `special-mode' to enable the standard read-only keybindings.
3967 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3970 with "loading" messages (bug#11635).
3972 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3974 * files.el (enable-remote-dir-locals): New option.
3975 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3977 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3978 Ensure, that the temp directory is local.
3980 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3981 `temporary-file-directory'.
3983 * progmodes/python.el (python-send-region): Ensure, that the
3984 temporary file is created also in the remote case.
3986 2012-06-06 Glenn Morris <rgm@gnu.org>
3988 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3989 (vc-rcs-update-changelog): Use it.
3991 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3993 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3994 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3995 (vc-sccs-diff): Replace use of the external vcdiff script.
3997 2012-06-05 Glenn Morris <rgm@gnu.org>
3999 * ledit.el: Move to obsolete/.
4001 2012-06-05 Sam Steingold <sds@gnu.org>
4003 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4006 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * emacs-lisp/cust-print.el: Move to obsolete.
4010 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4011 compiler-macro expansion.
4013 Add native compiler-macro support.
4014 * emacs-lisp/macroexp.el (macroexpand-all-1):
4015 Support compiler-macros directly. Properly follow aliases and apply
4016 the compiler macros more thoroughly.
4017 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4018 macroexpand now properly follows aliases.
4019 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4020 (cl-compiler-macroexpand): Use new prop.
4021 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4023 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4025 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4027 * window.el (get-lru-window, get-mru-window, get-largest-window):
4028 New argument NOT-SELECTED to avoid picking the selected window.
4029 (window--display-buffer-1, window--display-buffer-2): Replace by
4030 new function window--display-buffer
4031 (display-buffer-same-window, display-buffer-reuse-window)
4032 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4033 Use window--display-buffer.
4034 (display-buffer-use-some-window): Remove temporary dedication
4035 hack by calling get-lru-window and get-largest-window with
4036 NOT-SELECTED argument non-nil. Call window--display-buffer.
4038 2012-06-05 Glenn Morris <rgm@gnu.org>
4040 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4041 Replace external vcdiff script.
4043 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4047 2012-06-04 Chong Yidong <cyd@gnu.org>
4049 * image.el (imagemagick-types-inhibit): Revert last change.
4051 (imagemagick-enabled-types): Remove CIN and EPS*.
4053 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4055 * emacs-lisp/cl-lib.el: Rename from cl.el.
4056 * emacs-lisp/cl.el: New compatibility file.
4057 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4058 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4059 to obey the "cl-" prefix.
4060 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4062 2012-06-03 Glenn Morris <rgm@gnu.org>
4064 * emacs-lisp/authors.el (authors-aliases): Addition.
4066 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4069 2012-06-03 Stefan Merten <smerten@oekonux.de>
4071 * textmodes/rst.el: Add comments.
4072 (rst-transition, rst-adornment): New faces.
4073 (rst-adornment-faces-alist): Make default safe to reevaluate.
4075 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4076 Improve customization tags.
4077 (rst-define-level-faces): Clarify meaning.
4079 2012-06-03 Chong Yidong <cyd@gnu.org>
4081 * progmodes/compile.el (compilation-mode-line-fail)
4082 (compilation-mode-line-run, compilation-mode-line-exit):
4084 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4086 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4088 * progmodes/which-func.el (which-func-update-ediff-windows):
4089 New function. Use it in ediff-select-hook (Bug#11478).
4091 2012-06-03 Chong Yidong <cyd@gnu.org>
4093 * bindings.el: Remove explicit help text from format-mode-line.
4094 It is now supplied by mode-line-default-help-echo.
4095 (mode-line-front-space, mode-line-end-spaces)
4096 (mode-line-misc-info): New variables.
4097 (mode-line-modes, mode-line-position): Move the default value to
4098 the variable definition.
4099 (mode-line-default-help-echo): New defcustom.
4100 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4101 (mode-line-modified-help-echo): New functions.
4102 (mode-line-mule-info, mode-line-modified): Use them.
4103 (mode-line-eol-desc, propertized-buffer-identification):
4104 Consistency fixes for help text.
4105 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4106 set-buffer-file-coding-system (Bug#289).
4107 (mode-line-mule-info-help-echo): Update help text.
4109 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * simple.el (execute-extended-command): Set real-this-command
4114 2012-06-02 Chong Yidong <cyd@gnu.org>
4116 Remove incorrect uses of "modeline" in comments, docstrings, and
4117 function/variable names (Bug#10329).
4119 * cus-edit.el (mode-line):
4120 * dframe.el (dframe-mouse-hscroll):
4121 * emacs-lisp/re-builder.el:
4122 * emacs-lisp/easy-mmode.el (define-minor-mode):
4123 * frame.el (set-frame-name):
4124 * help.el (lookup-minor-mode-from-indicator):
4125 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4126 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4127 (c-toggle-hungry-state):
4128 * progmodes/antlr-mode.el (antlr-language-alist):
4129 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4130 * progmodes/vhdl-mode.el (vhdl-mode):
4131 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4132 * term/ns-win.el (ns-face-at-pos):
4133 * term/sup-mouse.el (sup-mouse-report):
4134 * textmodes/flyspell.el (flyspell-mode-line-string):
4135 * textmodes/ispell.el (ispell-highlight-face):
4136 * textmodes/reftex-global.el:
4137 * vc/vc-arch.el (vc-arch-mode-line-string):
4138 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4139 * vc/vc-git.el (vc-git-mode-line-string):
4140 * vc/vc-hooks.el (vc-display-status)
4141 (vc-default-mode-line-string):
4142 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4144 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4146 * dired.el (dired-sort-set-mode-line): Rename from
4147 dired-sort-set-modeline. All callers changed.
4149 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4150 eshell-status-in-modeline.
4152 * foldout.el (foldout-mode-line-string): Rename from
4153 foldout-modeline-string. All callers changed.
4154 (foldout-update-mode-line): Rename from foldout-update-modeline.
4156 * subr.el (redraw-modeline): Make into obsolete alias.
4158 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4159 timeclock-modeline-display. Make old name an alias.
4160 (timeclock-update-mode-line): Likewise. All callers changed.
4161 (timeclock-mode-line-display): No need to check before using
4163 (timeclock-relative, timeclock-day-over-hook)
4164 (timeclock-use-elapsed, timeclock-mode-string)
4165 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4167 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4168 crisp-mode-modeline-string.
4170 * play/solitaire.el (solitaire-build-mode-line): Rename from
4171 solitaire-build-modeline. All callers changed.
4173 * play/zone.el (zone-hiding-mode-line): Rename from
4174 zone-hiding-modeline. All callers changed.
4175 (zone): Remove unusued `modeline-hidden-level' property.
4177 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4178 xscheme-modeline-initialize. All callers changed.
4180 * strokes.el (strokes-lighter): Rename from
4181 strokes-modeline-string.
4183 * textmodes/sgml-mode.el (html-face-tag-alist)
4184 (html-tag-face-alist): Use mode-line face instead of obsolete
4187 2012-06-02 Stefan Merten <smerten@oekonux.de>
4189 * textmodes/rst.el: Always require `cl'.
4190 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4192 2012-06-02 Chong Yidong <cyd@gnu.org>
4194 * image.el (imagemagick-enabled-types): Rename from
4195 imagemagick-types-enable. Add many more types.
4196 (imagemagick-types-inhibit): Change default to nil.
4197 (imagemagick-filter-types): Caller changed.
4199 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * emacs-lisp/cl-macs.el: Use backquotes.
4202 (cl-transform-function-property): Use eval-and-compile rather than
4204 (defstruct): Use declare-function instead of with-no-warnings.
4206 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4207 (byte-compile-output-docform): Re-add the print-circle bindings.
4208 (byte-compile-fix-header): Use #$ just because it's shorter.
4209 (byte-compile-output-file-form): Remove defun/defmacro.
4211 2012-06-01 Martin Rudalics <rudalics@gmx.at>
4213 * simple.el (choose-completion): Remove now obsolete binding for
4216 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
4218 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4219 in order to avoid "Stack overflow in regexp matcher".
4221 2012-05-31 Glenn Morris <rgm@gnu.org>
4223 * image.el: For clarity, call imagemagick-register-types at
4224 top-level, rather than relying on a custom :initialize.
4225 (imagemagick-types-enable): New option. (Bug#11557)
4226 (imagemagick-filter-types): New function. (Bug#7406)
4227 (imagemagick-register-types): Use imagemagick-filter-types.
4228 If disabling support, remove elements altogether rather
4229 than using an impossible regexp.
4230 (imagemagick-types-inhibit): Give it the default init function.
4232 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4235 Handle arbitrary file name lengths (Bug#11585).
4237 2012-05-31 Martin Rudalics <rudalics@gmx.at>
4239 * desktop.el (desktop-read): Clear previous and next buffers for
4240 all windows and bury *Messages* buffer (bug#11556).
4242 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4244 Add `declare' for `defun'. Align `defmacro's with it.
4245 * emacs-lisp/easy-mmode.el (define-minor-mode)
4246 (define-globalized-minor-mode): Don't autoload the var definitions.
4247 * emacs-lisp/byte-run.el: Use lexical-binding.
4248 (defun-declarations-alist, macro-declarations-alist): New vars.
4249 (defmacro, defun): Use them.
4250 (make-obsolete, define-obsolete-function-alias)
4251 (make-obsolete-variable, define-obsolete-variable-alias):
4253 (macro-declaration-function): Mark obsolete.
4254 * emacs-lisp/autoload.el: Use lexical-binding.
4255 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4257 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4259 * textmodes/ispell.el (ispell-with-no-warnings):
4261 (ispell-kill-ispell, ispell-change-dictionary):
4262 Use `called-interactively-p' for Emacs instead of obsolete
4265 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4268 (macro-declaration-function): Move var from C code.
4269 (macro-declaration-function): Define function with defalias.
4270 * emacs-lisp/macroexp.el (macroexpand-all-1):
4271 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4272 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4273 defun/defmacro any more.
4274 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4275 Provide fallback for unknown arglist.
4276 (byte-compile-arglist-warn): Change calling convention.
4277 (byte-compile-output-file-form): Move print-vars binding.
4278 (byte-compile-output-docform): Simplify accordingly.
4279 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4280 (byte-compile-defmacro-declaration): Remove.
4281 (byte-compile-file-form-defmumble): Generalize to defalias.
4282 (byte-compile-output-as-comment): Return byte-positions.
4283 Simplify callers accordingly.
4284 (byte-compile-lambda): Use `assert'.
4285 (byte-compile-defun, byte-compile-defmacro): Remove.
4286 (byte-compile-file-form-defalias):
4287 Use byte-compile-file-form-defmumble.
4288 (byte-compile-defalias-warn): Remove.
4290 2012-05-29 Stefan Merten <smerten@oekonux.de>
4292 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4293 possible. Fix authors. Improve comments. Improve loading of `cl'.
4295 (rst-mode-abbrev-table): Merge definition.
4296 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4297 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4299 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
4301 * calendar/icalendar.el
4302 (icalendar-export-region): Export UID properly.
4304 2012-05-29 Leo Liu <sdl.web@gmail.com>
4305 * calendar/icalendar.el (icalendar-import-format):
4306 Add `icalendar-import-format-uid' (Bug#11525).
4307 (icalendar-import-format-uid): New.
4308 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4311 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4314 different alternative patterns.
4315 (pcase-codegen): Be more careful to preserve identity.
4316 (pcase--u1): Don't forget to mark vars as used.
4318 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4319 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4320 (byte-compile-from-buffer): ...rather than here.
4322 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4323 functions from byte-compile-function-environment.
4325 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4327 * window.el (window-deletable-p): Avoid deleting the root window
4328 of a frame with an active minibuffer.
4330 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4332 * simple.el (choose-completion): Use quit-window (Bug#11567).
4334 2012-05-29 Chong Yidong <cyd@gnu.org>
4336 * whitespace.el (whitespace-cleanup): Fix usage of
4337 whitespace-empty-at-bob-regexp (Bug#11492).
4339 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4341 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4344 2012-05-29 Juri Linkov <juri@jurta.org>
4346 * isearch.el (isearch-mode-map): Bind `M-s _' to
4347 `isearch-toggle-symbol'. Bind `M-s c' to
4348 `isearch-toggle-case-fold'.
4349 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4350 (isearch-forward): Add `M-s _' to the docstring.
4351 (isearch-forward-symbol, isearch-toggle-case-fold)
4352 (isearch-symbol-regexp): New functions. (Bug#11381)
4354 2012-05-29 Juri Linkov <juri@jurta.org>
4356 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4357 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4358 a function, call it to get the regexp.
4359 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4360 property `isearch-message-prefix' instead of the string "word ".
4361 (isearch-search-fun-default): For the case of `isearch-word',
4362 return a lambda that calls re-search-forward/re-search-backward
4363 with a regexp returned by `word-search-regexp' or by the function
4366 2012-05-29 Juri Linkov <juri@jurta.org>
4368 * isearch.el (isearch-search-fun-default): New function.
4369 (isearch-search-fun): Move default part to the new function
4370 `isearch-search-fun-default'.
4371 (isearch-search-fun-function): Set the default value to
4372 `isearch-search-fun-default'. (Bug#11381)
4374 * comint.el (comint-history-isearch-end):
4375 Use `isearch-search-fun-default'.
4376 (comint-history-isearch-search): Use `isearch-search-fun-default'
4377 and remove spacial case for `isearch-word'.
4378 (comint-history-isearch-wrap): Remove spacial case for
4381 * hexl.el (hexl-isearch-search-function):
4382 Use `isearch-search-fun-default'.
4384 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4385 Use `word-search-regexp' for `isearch-word'.
4387 * misearch.el (multi-isearch-search-fun):
4388 Use `isearch-search-fun-default'.
4390 * simple.el (minibuffer-history-isearch-search):
4391 Use `isearch-search-fun-default' and remove spacial case for
4393 (minibuffer-history-isearch-wrap): Remove spacial case for
4396 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4397 Remove spacial case for `isearch-word'.
4398 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4400 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4402 Decrease XEmacs incompatibilities.
4403 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4405 (flyspell-delete-region-overlays): Use alternative definition for
4407 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4408 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4409 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4410 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4411 `define-obsolete-face-alias' under XEmacs, but old method.
4413 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4414 `with-no-warnings' definition or Emacs alias.
4415 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4416 (ispell-word): Do not use `region-p' if XEmacs.
4418 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4420 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4421 Check for `ispell-dictionary-base-alist' instead of full
4422 `ispell-dictionary-alist'.
4423 (ispell-init-process): Show spellchecker when starting new Ispell
4426 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4429 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4431 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4433 * version.el (motif-version-string, gtk-version-string)
4434 (ns-version-string): Declare.
4436 2012-05-27 Juri Linkov <juri@jurta.org>
4438 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4439 after the `eval-defun-1' specialcaseing
4440 like in `edebug-eval-defun' (bug#10181).
4442 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4443 like in `eval-defun-1'.
4445 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4447 * mail/sendmail.el (mail-yank-region):
4448 Recognize rmail-yank-current-message in addition to insert-buffer.
4449 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4450 a *mail* buffer created through rmail-start-mail with sendmail as
4453 2012-05-27 Chong Yidong <cyd@gnu.org>
4455 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4456 Default to 256 (Bug#11267).
4458 * help.el (describe-mode): Doc fix.
4460 2012-05-26 Glenn Morris <rgm@gnu.org>
4462 * w32-fns.el (w32-init-info): Remove.
4463 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4465 * info.el (info-initialize): For self-contained NS builds, put the
4466 included info/ directory at the front. (Bug#2791)
4468 * paths.el (Info-default-directory-list): Make it a defcustom,
4469 mainly so that we can use custom-initialize-delay.
4471 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * subr.el (buffer-has-markers-at): Mark obsolete.
4475 * subr.el (lambda): Use declare.
4477 * emacs-lisp/lisp-mode.el (lambda):
4478 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4480 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4482 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4484 2012-05-26 Glenn Morris <rgm@gnu.org>
4486 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4488 2012-05-25 Glenn Morris <rgm@gnu.org>
4490 * paths.el: Remove no-byte-compile.
4491 * loadup.el: No need to load paths.el uncompiled.
4493 * image.el (imagemagick-types-inhibit): Doc fix.
4495 * version.el: Remove no-byte-compile and associated formatting.
4496 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4497 is ancient code from when there was an "inc-vers.el".
4499 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * progmodes/gdb-mi.el: Minor style changes.
4502 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4503 Turn into minor modes.
4504 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4505 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4506 (gdb-shell): Remove unneeded let-binding.
4507 (gdb-get-many-fields): Eliminate O(n²) behavior.
4509 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4511 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4512 platforms that don't link in fontset.c.
4514 2012-05-25 Juri Linkov <juri@jurta.org>
4516 Use the same diff color scheme as in modern VCSes (bug#10181).
4518 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4519 to avoid confusion with `diff-added' that now uses green colors.
4520 (diff-removed): Use shades of red.
4521 (diff-added): Use shades of green.
4522 (diff-changed): Leave just the yellow color.
4523 (diff-use-changed-face): New variable.
4524 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4525 how to highlight context diff changes.
4526 (diff-refine-change): Use shades of yellow.
4527 (diff-refine-removed): New face that uses shades of red.
4528 (diff-refine-added): New face that uses shades of green.
4529 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4530 `diff-refine-removed' in the call to `smerge-refine-subst'
4531 depending on the value of `diff-use-changed-face'.
4533 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4534 (smerge-other): Use shades of green.
4535 (smerge-base): Use shades of yellow.
4536 (smerge-refined-change): Empty face.
4537 (smerge-refined-removed): New face that uses shades of red.
4538 (smerge-refined-added): New face that uses shades of green.
4539 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4540 args `props-r' and `props-a', and use them. Doc fix.
4541 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4542 on its value use different faces `smerge-refined-change',
4543 `smerge-refined-removed', `smerge-refined-added' in the call to
4544 `smerge-refine-subst'.
4546 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4547 Add face condition `min-colors 88' with shades of red.
4548 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4549 `min-colors 88' with shades of green.
4550 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4551 `min-colors 88' with shades of yellow.
4553 2012-05-24 Glenn Morris <rgm@gnu.org>
4555 * paths.el (prune-directory-list, remote-shell-program): Move to...
4556 * files.el (prune-directory-list, remote-shell-program): ...here.
4557 For the latter, delay initialization, prefer ssh, just search PATH.
4559 * paths.el (term-file-prefix): Move to faces.el (the only user).
4560 * faces.el (term-file-prefix): Move here, make it a defcustom.
4562 * paths.el (news-directory, news-path, news-inews-program):
4563 Move to gnus/nnspool.el.
4565 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4567 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4568 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4569 Make the latter a defcustom, with a delayed initialization.
4571 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4572 These were deleted from Gnus itself late 2010.
4574 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4576 * progmodes/which-func.el (which-func-ff-hook):
4577 Check against user-error, not error.
4579 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4580 cl-specs.el, which no longer exists.
4582 2012-05-22 Glenn Morris <rgm@gnu.org>
4584 * info.el (info-emacs-bug): New command.
4585 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4586 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4588 2012-05-21 Glenn Morris <rgm@gnu.org>
4590 * makefile.w32-in (update-subdirs-SH):
4591 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4593 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4597 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4598 Simplify Maven regexp, and make sure the file can't start with a space
4601 2012-05-21 Glenn Morris <rgm@gnu.org>
4603 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4604 Scrap superfluous subshells.
4606 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4609 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4611 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4613 * calc/calc.el (calc-ensure-consistent-units): New variable.
4615 * calc/calc-units.el (math-consistent-units-p)
4616 (math-check-unit-consistency): New functions.
4617 (calc-quick-units, calc-convert-units):
4618 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4620 (calc-extract-units): Fix typo.
4622 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4626 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4627 (flyspell-default-deplacement-commands): Don't spell check after
4628 repeated window/frame switches (e.g. triggered by mouse-movement).
4629 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4630 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4631 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4632 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4634 (flyspell-get-casechars, flyspell-get-not-casechars):
4635 Simplify; Don't bother removing a ] just to add it back.
4636 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4638 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4640 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4642 (math-function-table): Add support for more C functions.
4644 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4646 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4647 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4648 Protect delay handling for otherchars against empty otherchars.
4650 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4653 their respective macro declarations.
4654 * skeleton.el (define-skeleton):
4655 * progmodes/compile.el (define-compilation-mode):
4656 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4657 (define-ibuffer-filter):
4658 * emacs-lisp/generic.el (define-generic-mode):
4659 * emacs-lisp/easy-mmode.el (define-minor-mode)
4660 (define-globalized-minor-mode):
4661 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4662 * emacs-lisp/byte-run.el (defsubst):
4663 * custom.el (deftheme): Add doc-string metadata.
4665 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4667 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4669 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4671 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4673 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4674 * emacs-lisp/cl-macs.el: Idem.
4675 * emacs-lisp/cl-specs.el: Remove.
4677 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4679 Minor renaming of internal CL functions and variables.
4680 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4681 (cl--position): Rename from cl-position.
4682 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4683 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4684 (cl--random-state): Rename from *random-state*.
4686 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4689 parens around the arg list (bug#11499).
4691 2012-05-17 Juri Linkov <juri@jurta.org>
4693 * isearch.el (word-search-regexp, word-search-backward)
4694 (word-search-forward, word-search-backward-lax)
4695 (word-search-forward-lax): Move functions from search.c
4696 (bug#10145, bug#11381).
4698 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4700 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4701 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4702 Delay for otherchars as for normal word components.
4704 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * minibuffer.el (completion--sifn-requote): Fix last change.
4707 (minibuffer-local-must-match-filename-map):
4708 Move define-obsolete-variable-alias before its var.
4710 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4714 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4716 (completion--string-equal-p): New function.
4717 (completion--twq-all): Use it to get better assertion failure data.
4719 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4720 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4721 (shell--requote-argument): New functions.
4722 (shell-completion-vars): Use them.
4723 (shell--parse-pcomplete-arguments): Rename from
4724 shell-parse-pcomplete-arguments.
4725 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4726 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4727 Obey comint-file-name-quote-list.
4729 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4730 (smie-indent-keyword): Use it.
4732 2012-05-14 Stefan Merten <smerten@oekonux.de>
4734 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4736 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * net/rlogin.el (rlogin-mode-map): Fix last change.
4740 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4742 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4743 the following \r\n using a single `process-send-string', since the
4744 Lotus SMTP server refuses to accept any commands if they are sent
4745 with two `process-send-string's (Bug#11444).
4747 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * shell.el (shell-parse-pcomplete-arguments):
4750 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4752 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4754 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4755 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4756 (image-transform-width, image-transform-fit-width): New functions.
4757 (image-transform-properties): Use them.
4758 (image-transform-check-size): New function.
4759 (image-toggle-display-image): Use it (for testing).
4760 (image-transform-set-rotation): Reduce angle mod 360.
4761 Delete obsolete comment.
4763 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4765 * image-mode.el: Fix scaling (bug#11399).
4766 (image-transform-resize): Doc fix.
4767 (image-transform-properties): Default scale is 1 and height should
4770 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4772 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4773 than hard-coding `car', to fix misbehavior when moving forward.
4775 2012-05-13 Chong Yidong <cyd@gnu.org>
4777 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4778 (tabulated-list-entries, tabulated-list-padding)
4779 (tabulated-list-sort-key): Make permanent-local.
4781 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4782 (electric-buffer-list): Put electric buffer menu
4783 command descriptions in this docstring, instead of the docstring
4784 of electric-buffer-menu-mode. Code cleanups.
4785 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4786 Electric-buffer-menu-mode.
4787 (electric-buffer-update-highlight): Minor code cleanup.
4789 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4791 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4794 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4796 Move define-obsolete-variable-alias before the var's definition.
4797 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4798 * tooltip.el (tooltip-hook):
4799 * textmodes/reftex-toc.el (reftex-toc-map):
4800 * textmodes/reftex-sel.el (reftex-select-label-map)
4801 (reftex-select-bib-map):
4802 * textmodes/reftex-index.el (reftex-index-map)
4803 (reftex-index-phrases-map):
4804 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4805 * progmodes/meta-mode.el (meta-mode-map):
4806 * novice.el (disabled-command-hook):
4807 * loadhist.el (unload-hook-features-list):
4808 * frame.el (blink-cursor):
4809 * files.el (find-file-not-found-hooks, write-file-hooks)
4810 (write-contents-hooks):
4811 * emulation/tpu-edt.el (GOLD-map):
4812 * emacs-lock.el (emacs-lock-from-exiting):
4813 * emacs-lisp/generic.el (generic-font-lock-defaults):
4814 * emacs-lisp/chart.el (chart-map):
4815 * dos-fns.el (register-name-alist):
4816 * dired-x.el (dired-omit-files-p):
4817 * desktop.el (desktop-enable):
4818 * cus-edit.el (custom-mode-hook):
4819 * buff-menu.el (buffer-menu-mode-hook):
4820 * bookmark.el (bookmark-read-annotation-text-func)
4821 (bookmark-exit-hooks):
4822 * allout.el (allout-mode-deactivate-hook)
4823 (allout-exposure-change-hook, allout-structure-added-hook)
4824 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4825 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4826 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4827 comes before the corresponding variable's definition.
4829 2012-05-12 Chong Yidong <cyd@gnu.org>
4831 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4832 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4833 (Buffer-menu-mode-map): Bind it.
4834 (Buffer-menu--pretty-name): Add a mouse-face property.
4836 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4839 (prolog-upper-case-string, prolog-lower-case-string)
4840 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4841 (prolog-use-smie, prolog-smie-grammar): New vars.
4842 (prolog-smie-forward-token, prolog-smie-backward-token)
4843 (prolog-smie-rules): New funs.
4844 (prolog-comment-indent): Remove.
4845 (prolog-mode-variables): Use default comment indentation instead.
4847 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4848 (prolog-mode): Don't call them any more.
4849 (prolog-electric-colon, prolog-electric-dash)
4850 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4852 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4854 * minibuffer.el (completion--twq-all): Again, allow case differences.
4856 * term.el: Move keymap initialization code to be more idiomatic.
4857 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4858 (term-terminal-menu): Move initialization into declaration.
4859 (term-escape-char): Let the user set it in her .emacs.
4861 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4862 Provide SMIE-based indentation (not enabled by default yet).
4863 (sh-mode-map): Don't bind electric keys.
4864 Use electric-pair-mode instead of skeleton-pair.
4865 (sh-assignment-regexp): Fit within 80 columns.
4866 (sh-indent-supported): Specify actual shell name instead of boolean.
4867 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4868 (sh-maybe-here-document): Use it. Make obsolete.
4869 (sh-electric-here-document-mode) New minor mode.
4870 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4871 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4872 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4873 (sh-smie-rc-grammar, sh-use-smie): New vars.
4874 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4875 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4876 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4877 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4878 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4879 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4880 (sh-set-shell): Use smie-setup if requested.
4882 * term.el (term-set-escape-char): Properly set term-escape-char.
4883 See http://stackoverflow.com/questions/10524656.
4885 2012-05-10 Chong Yidong <cyd@gnu.org>
4887 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4888 Use url-generic-parse-url, and handle host names and Windows
4890 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4891 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4892 URL schemes to work on.
4893 (ffap--toggle-read-only): New function.
4894 (ffap-read-only, ffap-read-only-other-window)
4895 (ffap-read-only-other-frame): Use it.
4896 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4897 necessary for ffap-url-unwrap-remote.
4899 2012-05-10 Dave Abrahams <dave@boostpro.com>
4901 * cus-start.el (create-lockfiles): Add it.
4903 2012-05-09 Chong Yidong <cyd@gnu.org>
4905 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4906 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4908 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4910 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4912 2012-05-09 Chong Yidong <cyd@gnu.org>
4914 * ansi-color.el (ansi-color-process-output): Check for validity of
4915 comint-last-output-start before using it. This avoids a bad
4916 interaction with gdb-mi's input/output buffer.
4918 2012-05-09 Glenn Morris <rgm@gnu.org>
4920 * files.el (dir-locals-read-from-file):
4921 Mention dir-locals in any error message.
4923 2012-05-09 Chong Yidong <cyd@gnu.org>
4925 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4926 package (Bug#11410).
4928 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4929 variables into description.
4931 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4934 shell-delimiter-argument-list (bug#11348).
4935 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4937 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4939 * textmodes/rst.el: Silence byte-compiler warnings.
4940 (rst-re-alist, rst-reset-section-caches): Move around.
4941 (rst-re): Use `characterp', not `char-valid-p'.
4942 (font-lock-beg, font-lock-end): Declare.
4944 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4945 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4947 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4949 2012-05-08 Glenn Morris <rgm@gnu.org>
4951 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4953 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * vc/log-edit.el: Add GNU coding standards highlighting.
4956 (log-edit-font-lock-gnu-style)
4957 (log-edit-font-lock-gnu-keywords): New vars.
4958 (log-edit-font-lock-keywords): New fun.
4959 (log-edit-mode): Don't fold case in font-lock.
4960 (log-edit-font-lock-keywords): Do not assume case-folding.
4962 * imenu.el: Misc cleanup. Make docstrings out of comments.
4963 Use lexical-binding.
4964 (imenu--index-alist, imenu--last-menubar-index-alist)
4965 (imenu-menubar-modified-tick): Use defvar-local.
4966 (imenu--split-menu): Remove unused var.
4967 (imenu--cleanup-seen): Declare as global.
4968 (imenu--cleanup): Use dolist.
4970 * subr.el (defvar-local): Add debug spec and doc-string position.
4972 2012-05-08 Glenn Morris <rgm@gnu.org>
4974 * language/burmese.el, language/cham.el, language/czech.el:
4975 * language/english.el, language/georgian.el, language/greek.el:
4976 * language/japanese.el, language/khmer.el, language/korean.el:
4977 * language/lao.el, language/misc-lang.el, language/romanian.el:
4978 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4979 * language/thai.el, language/utf-8-lang.el:
4980 Remove no-byte-compile setting.
4982 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4984 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4986 * progmodes/make-mode.el (makefile-browse):
4987 Remove unnecessary interactive. (Bug#11324)
4989 2012-05-07 Glenn Morris <rgm@gnu.org>
4991 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4993 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4995 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * loadup.el: Preload newcomment.el.
4998 * newcomment.el: Move autoload-only code to toplevel.
5000 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5001 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5002 Handle new :right-align column property.
5003 (tabulated-list-print-col): Idem, plus use `display' text-property to
5004 try and preserve alignment for variable pitch fonts.
5006 2012-05-07 Chong Yidong <cyd@gnu.org>
5008 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5009 (tabulated-list-use-header-line): New var.
5010 (tabulated-list-init-header): Use it.
5011 (tabulated-list-print-fake-header): New function.
5012 (tabulated-list-print): Use it.
5013 (tabulated-list-sort-button-map): Add non-header-line commands.
5014 (tabulated-list-init-header): Add column name property to basic
5016 (tabulated-list-col-sort): Handle non-header-line button case.
5017 (tabulated-list--sort-by-column-name): Fix a corner case.
5019 * buff-menu.el (list-buffers--refresh):
5020 Handle Buffer-menu-use-header-line.
5022 2012-05-06 Chong Yidong <cyd@gnu.org>
5024 * buff-menu.el: Convert to Tabulated List mode.
5025 (Buffer-menu-buffer+size-width): Make obsolete.
5026 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5027 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5028 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5029 documentation into docstring of buffer-menu.
5030 (Buffer-menu-toggle-files-only): Add an informative message.
5031 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5032 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5033 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5034 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5035 (Buffer-menu-execute, Buffer-menu-select)
5036 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5037 (Buffer-menu-bury): Use Tabulated List machinery.
5038 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5039 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5041 (list-buffers--refresh): New function.
5042 (list-buffers-noselect): Use it.
5043 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5044 (Buffer-menu--pretty-file-name): New helper functions.
5046 * loadup.el: Preload tabulated-list.
5048 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5049 tabulated-list-sort-column.
5050 (tabulated-list-init-header): Add the initial aligning space even
5051 if tabulated-list-padding is zero.
5053 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5055 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5056 whose cdr is not a cons cell correctly (bug#11038).
5058 2012-05-06 Chong Yidong <cyd@gnu.org>
5060 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5061 Accept additional plist in column descriptors.
5062 (tabulated-list-init-header): Obey it.
5063 (tabulated-list-get-entry): New function.
5064 (tabulated-list-put-tag): Use it. Use string-width instead of
5066 (tabulated-list--column-number): New function.
5067 (tabulated-list-print): Use it.
5068 (tabulated-list-print-col): New function.
5069 Set `tabulated-list-column-name' property on each column's text.
5070 (tabulated-list-print-entry): Use it.
5071 (tabulated-list-delete-entry, tabulated-list-set-col):
5073 (tabulated-list-sort-column): New command (Bug#11337).
5075 * buff-menu.el (list-buffers): Move C-x C-b binding from
5076 buff-menu.el to bindings.el.
5078 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5079 :advertised-binding feature.
5081 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5083 * progmodes/compile.el (compilation-internal-error-properties):
5084 Calculate start position correctly when end-col is set but
5085 end-line is not (Bug#11382).
5087 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5089 * man.el (Man-unindent): Use text-property-default-nonsticky to
5090 prevent untabify from inheriting face properties (Bug#11408).
5092 2012-05-05 Stefan Merten <smerten@oekonux.de>
5094 * textmodes/rst.el: Major merge with upstream development up to
5095 Docutils SVN r7399 / rst.el V1.2.1.
5097 Clarify maintainership and authors.
5099 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5100 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5101 (rst-official-version, rst-official-cvs-rev, rst-version)
5102 (rst-package-emacs-version-alist): New functions and variables
5103 for version information.
5105 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5106 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5107 (rst-mode-syntax-table, rst-mode): New and corrected functions
5108 and variables representing reStructuredText features.
5110 (rst-re): New function for reStructuredText regexes. Use in
5113 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5114 (rst-mode-map): Rebind keys.
5116 (rst-mode-lazy, rst-font-lock-keywords)
5117 (rst-font-lock-extend-region)
5118 (rst-font-lock-extend-region-internal)
5119 (rst-font-lock-extend-region-extend)
5120 (rst-font-lock-find-unindented-line-limit)
5121 (rst-font-lock-find-unindented-line-match)
5122 (rst-adornment-level, rst-font-lock-adornment-level)
5123 (rst-font-lock-adornment-match)
5124 (rst-font-lock-handle-adornment-pre-match-form)
5125 (rst-font-lock-handle-adornment-matcher): Major revision of
5126 font-locking. Integrate with other code. Use `jit-lock-mode'.
5128 (rst-preferred-adornments, rst-adjust-hook)
5129 (rst-new-adornment-down, rst-preferred-bullets)
5130 (rst-preferred-bullets, rst-indent, rst-indent-width)
5131 (rst-indent-field, rst-indent-literal-normal)
5132 (rst-indent-literal-minimized, rst-indent-comment): Change,
5133 extend and improve customization.
5135 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5136 (rst-normalize-cursor-position, rst-get-decoration)
5137 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5138 (rst-rstrip, rst-toc-insert-find-delete-contents)
5139 (rst-shift-fill-region, rst-compute-bullet-tabs)
5140 (rst-debug-print-tabs, rst-debug-mark-found)
5141 (rst-shift-region-guts, rst-shift-region-right)
5142 (rst-shift-region-left, rst-use-char-classes)
5143 (rst-font-lock-keywords-function)
5144 (rst-font-lock-indentation-point)
5145 (rst-font-lock-find-unindented-line-begin)
5146 (rst-font-lock-find-unindented-line-end)
5147 (rst-font-lock-find-unindented-line)
5148 (rst-font-lock-adornment-point, rst-font-lock-level)
5149 (rst-adornment-level-alist): Remove functions and variables.
5151 (rst-compare-adornments, rst-get-adornment-match)
5152 (rst-suggest-new-adornment, rst-get-adornments-around)
5153 (rst-adornment-complete-p, rst-get-next-adornment)
5154 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5155 (rst-straighten-adornments): Standardize function names to
5156 use "adornment" instead of "decoration". Correct callers.
5157 Similar standardizing in many places.
5159 (rst-update-section, rst-adjust, rst-promote-region)
5160 (rst-enumerate-region, rst-bullet-list-region)
5161 (rst-repeat-last-character): Correct use of `interactive'.
5163 (rst-classify-adornment, rst-find-all-adornments)
5164 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5165 (rst-find-leftmost-column, rst-repeat-last-character):
5168 (rst-find-title-line, rst-reset-section-caches)
5169 (rst-get-adornments-around, rst-adjust-adornment-work)
5170 (rst-arabic-to-roman, rst-roman-to-arabic)
5171 (rst-insert-list-pos, rst-insert-list-new-item)
5172 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5175 (rst-all-sections, rst-section-hierarchy)
5176 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5179 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5180 configuration instead of only buffer. Change where necessary.
5182 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5183 (rst-shift-region, rst-adaptive-fill): New functions for
5184 indentation and filling.
5186 (rst-comment-line-break, rst-comment-indent)
5187 (rst-comment-insert-comment, rst-comment-region)
5188 (rst-uncomment-region): New functions for handling comments.
5190 (rst-compile): Quote shell arguments.
5192 (rst-compile-pdf-preview, rst-compile-slides-preview):
5193 Delete temporary files after use.
5195 2012-05-05 Glenn Morris <rgm@gnu.org>
5197 * calendar/cal-html.el: Optionally include holidays in the output.
5198 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5199 (cal-html-holidays): New option.
5200 (cal-html-css-default): Add holiday entry.
5201 (holiday-in-range): Autoload it.
5202 (cal-html-htmlify-entry): Add optional class argument.
5203 (cal-html-htmlify-list): Add optional holidays argument.
5204 (cal-html-insert-agenda-days): Include holidays in the output.
5205 (cal-html-one-month): Maybe include holidays.
5207 * calendar/holidays.el (holiday-in-range):
5208 Move here from cal-tex-list-holidays.
5209 * calendar/cal-tex.el (cal-tex-list-holidays):
5210 Make it an obsolete alias for holiday-in-range. Update all callers.
5212 2012-05-05 Chong Yidong <cyd@gnu.org>
5214 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5217 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5219 * files.el (file-auto-mode-skip): New var.
5220 (set-auto-mode-1): Use it.
5222 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * repeat.el: Use lexical-binding.
5225 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5226 (repeat-undo-count): Remove.
5228 * progmodes/octave-mod.el (octave-abbrev-start):
5229 * progmodes/f90.el (f90-abbrev-start):
5230 * face-remap.el (text-scale-adjust):
5231 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5233 * emacs-lisp/pcase.el (pcase--let*): New function.
5234 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5236 (pcase--split-pred): Be more clever about ruling out overlap between
5237 a predicate and some constant pattern.
5238 (pcase--q1): Use `null' instead of (eq foo nil).
5240 * subr.el (setq-local, defvar-local): New macros.
5241 (kbd): Redefine as an alias.
5242 (with-selected-window): Leave unrelated frames alone.
5243 (set-temporary-overlay-map): New function.
5245 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5247 * subr.el (user-error): New function.
5248 * window.el (switch-to-buffer):
5249 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5250 (smerge-match-conflict):
5251 * simple.el (previous-matching-history-element)
5252 (next-matching-history-element, goto-history-element, undo-more)
5254 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5255 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5256 (next-file, tags-loop-scan, list-tags, complete-tag):
5257 * progmodes/compile.el (compilation-loop):
5258 * mouse.el (mouse-minibuffer-check):
5259 * man.el (Man-bgproc-sentinel, Man-goto-page):
5260 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5261 (Info-history-forward, Info-follow-reference, Info-menu)
5262 (Info-extract-menu-item, Info-extract-menu-counting)
5263 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5264 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5265 (Info-next-reference, Info-prev-reference, Info-index)
5266 (Info-index-next, Info-follow-nearest-node)
5267 (Info-copy-current-node-name):
5268 * imenu.el (imenu--make-index-alist)
5269 (imenu-default-create-index-function, imenu-add-to-menubar):
5270 * files.el (basic-save-buffer, recover-file):
5271 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5272 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5273 (checkdoc-message-text, checkdoc-defun):
5274 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5275 * cus-edit.el (customize-changed-options, customize-rogue)
5276 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5277 (custom-variable-mark-to-reset-standard)
5278 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5280 * completion.el (check-completion-length):
5281 * comint.el (comint-search-arg)
5282 (comint-previous-matching-input-string-position)
5283 (comint-previous-matching-input)
5284 (comint-replace-by-expanded-history-before-point, comint-send-input)
5285 (comint-copy-old-input, comint-backward-matching-input)
5286 (comint-goto-process-mark, comint-set-process-mark):
5287 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5288 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5290 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * dabbrev.el (dabbrev--ignore-case-p): New function.
5293 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5296 * files.el (automount-dir-prefix): Mark as obsolete.
5298 2012-05-04 Glenn Morris <rgm@gnu.org>
5300 * patcomp.el, play/bruce.el: Move to obsolete/.
5302 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5304 Fix minor Y10k bugs.
5305 * arc-mode.el (archive-unixdate):
5306 * autoinsert.el (auto-insert-alist):
5307 * calc/calc-forms.el (math-this-year):
5308 * emacs-lisp/copyright.el (copyright-current-year)
5309 (copyright-update-year, copyright):
5310 * tar-mode.el (tar-clip-time-string):
5311 * time.el (display-time-update):
5312 Don't assume years have 4 digits.
5314 2012-05-04 Chong Yidong <cyd@gnu.org>
5316 * dos-w32.el (file-name-buffer-file-type-alist)
5317 (direct-print-region-use-command-dot-com):
5318 * ffap.el (ffap-menu-regexp):
5319 * find-file.el (ff-special-constructs):
5320 * follow.el (follow-debug):
5321 * forms.el (forms--debug):
5322 * iswitchb.el (iswitchb-all-frames):
5323 * ido.el (ido-all-frames):
5324 * emacs-lisp/timer.el (timer-max-repeats):
5325 * mail/feedmail.el (feedmail-mail-send-hook)
5326 (feedmail-mail-send-hook-queued):
5327 * mail/footnote.el (footnote-signature-separator):
5328 * mail/mailabbrev.el (mail-alias-separator-string)
5329 (mail-abbrev-mode-regexp):
5330 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5331 * progmodes/idlwave.el (idlwave-libinfo-file)
5332 (idlwave-default-completion-case-is-down)
5333 (idlwave-library-routines): Convert defvars to defcustoms.
5335 * mail/rmail.el (rmail-decode-mime-charset):
5336 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5337 (idlwave-shell-fix-inserted-breaks)
5338 (idlwave-shell-activate-alt-keybindings)
5339 (idlwave-shell-use-breakpoint-glyph):
5340 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5342 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5346 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5348 * progmodes/verilog-mode.el (font-lock-keywords):
5349 Fix mis-highligting auto. Reported by Craig Barner.
5350 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5351 defines from global name space. Reported by Dan Dever.
5352 (verilog-auto-reset, verilog-auto-reset-widths)
5353 (verilog-auto-tieoff): Support using unbased numbers for
5354 AUTORESET and AUTOTIEOFF.
5355 (verilog-submit-bug-report): Update variable list.
5356 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5357 parenthesis from not matching. Reported by Michael Rytting.
5358 (verilog-auto-template-lint): Fix hash error when linting modules
5359 with no used templates.
5360 (verilog-warn, verilog-warn-error)
5361 (verilog-warn-fatal): When non-interactive report multiple
5362 warnings before exiting. Suggested by Brad Dobbie.
5363 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5364 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5365 to report unused template errors. Reported by Brad Dobbie.
5366 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5367 nets, bug438. Reported by Vns Blore.
5368 (verilog-auto-inout-module, verilog-auto-reg)
5369 (verilog-read-decls, verilog-read-sub-decls-sig)
5370 (verilog-signals-edit-wire-reg, verilog-signals-with):
5371 Fix passing of Verilog data types in ANSI input/output ports
5372 such as "output logic" into the AUTOs. Special case "wire" and
5373 "reg" for backwards compatibility presuming Verilog 2001.
5374 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5375 (verilog-preprocess): Fix replication of preprocess output.
5376 Reported by Brad Dobbie.
5377 (verilog-auto-inst-interfaced-ports):
5378 Create verilog-auto-inst-interfaced-ports, bug429.
5379 Reported by Julian Gorfajn.
5380 (verilog-after-save-font-hook)
5381 (verilog-before-save-font-hook): New variable.
5382 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5383 (verilog-save-font-mods): Wrap disabling fontification, reported
5385 (verilog-do-indent, verilog-pretty-declarations-auto)
5386 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5387 Reported by Pierre-David Pfister.
5388 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5389 of class declarations, bug292. Reported by Kevin Heilman.
5390 (verilog-read-decls): Fix 'parameter type' not appearing in
5391 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5392 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5393 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5394 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5395 Reported by David Kravitz.
5397 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5399 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5400 assignment with tests in ifs and for loops.
5401 (verilog-extended-complete-re, verilog-complete-reg): Change so
5402 that DPI inport functions don't look like fuction declarations.
5403 (verilog-pretty-expr): Don't line up assignment
5404 operations to the test and increment in if and for loops
5405 (verilog-extended-complete-re, verilog-complete-reg): Change so
5406 that DPI inport functions don't look like fuction declarations.
5408 2012-05-03 Kenichi Handa <handa@m17n.org>
5410 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5411 decoding, and show a warning message without signaling an error
5414 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * emacs-lisp/bytecomp.el
5417 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5418 since cconv.el might have introduced :fun-body, internal-make-closure,
5419 and friends for bytecomp to handle (bug#11391).
5420 * custom.el (defcustom): Avoid ((λ ..) ..).
5422 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5426 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5428 * notifications.el (dbus-debug):
5429 * term/linux.el (gpm-mouse-enable):
5430 * term/screen.el (xterm-register-default-colors): Declare.
5432 2012-05-02 Chong Yidong <cyd@gnu.org>
5434 * cus-start.el (gc-cons-percentage, exec-suffixes)
5435 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5436 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5437 (make-cursor-line-fully-visible, void-text-area-pointer)
5438 (font-list-limit): Add customization data.
5440 * allout.el (allout-exposure-change-functions)
5441 (allout-structure-added-functions)
5442 (allout-structure-deleted-functions)
5443 (allout-structure-shifted-functions): Rename abnormal hooks from
5444 *-hook, and convert to defcustoms.
5445 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5446 Convert to defcustoms.
5447 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5449 * allout-widgets.el: Hook callers changed.
5451 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5453 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5454 the yanked message in preference to the default value of
5455 buffer-file-coding-system.
5457 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5459 * window.el (display-buffer--action-function-custom-type):
5462 2012-05-02 Alan Mackenzie <acm@muc.de>
5464 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5466 2012-05-01 Glenn Morris <rgm@gnu.org>
5468 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5470 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5472 * cus-edit.el (custom-variable-documentation): Simplify with format.
5474 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5475 Stefan Monnier <monnier@iro.umontreal.ca>
5477 * simple.el (suggest-key-bindings, execute-extended-command):
5478 Move from keyboard.c.
5480 2012-05-01 Chong Yidong <cyd@gnu.org>
5482 * follow.el: Eliminate advice.
5483 (set-process-filter, process-filter, sit-for): Advice deleted.
5484 (follow-mode-off-hook): Obsolete hook removed.
5485 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5487 (follow-auto): Use a :set function.
5488 (follow-mode): Rewritten. Don't advise process filters.
5489 (follow-switch-to-current-buffer-all, follow-scroll-up)
5490 (follow-scroll-down): Assume follow-mode is bound.
5491 (follow-comint-scroll-to-bottom)
5492 (follow-align-compilation-windows): New functions.
5493 (follow--window-sorter): New function.
5494 (follow-all-followers): Use it to explicitly sort windows by their
5495 positions; don't make assumptions about next-window order.
5496 (follow-windows-start-end, follow-delete-other-windows-and-split)
5497 (follow-calc-win-start): Doc fix.
5498 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5499 vertical-motion unnecessarily.
5500 (follow-adjust-window): New function.
5501 (follow-post-command-hook): Use it.
5502 (follow-call-set-process-filter, follow-call-process-filter)
5503 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5504 (follow-stop-intercept-process-output, follow-generic-filter):
5506 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5507 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5508 New functions, replacing advice on scroll-bar-* commands.
5509 (follow-mwheel-scroll): New function (Bug#4112).
5511 * comint.el (comint-adjust-point): New function.
5512 (comint-postoutput-scroll-to-bottom): Use it.
5513 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5515 2012-05-01 Glenn Morris <rgm@gnu.org>
5517 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5518 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5519 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5520 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5521 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5522 Remove no-byte-compile setting.
5524 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5527 all-completions code to not return a number in the last cdr.
5529 2012-04-30 Leo Liu <sdl.web@gmail.com>
5531 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5534 2012-04-29 Chong Yidong <cyd@gnu.org>
5536 * follow.el (follow-calc-win-end): Rewrite to handle partial
5537 screen lines correctly (Bug#8390).
5538 (follow-avoid-tail-recenter): Minor cleanup.
5540 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5542 Avoid the obsolete `assoc' package.
5543 * speedbar.el (speedbar-refresh): Avoid adelete.
5544 (speedbar-file-lists): Simplify and avoid aput.
5545 * man.el (Man--sections, Man--refpages): New vars, replacing
5546 Man-sections-alist and Man-refpages-alist.
5547 (Man-build-section-alist, Man-build-references-alist):
5548 Use them; avoid aput.
5549 (Man--last-section, Man--last-refpage): New vars.
5550 (Man-follow-manual-reference): Use them.
5551 Use the `default' arg of completing-read.
5552 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5554 2012-04-27 Chong Yidong <cyd@gnu.org>
5556 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5558 * startup.el (x-apply-session-resources): New function.
5560 * term/ns-win.el (ns-initialize-window-system):
5561 * term/w32-win.el (w32-initialize-window-system):
5562 * term/x-win.el (x-initialize-window-system): Use it to properly
5563 set menu-bar-mode and other vars from X resources, even if the
5564 initial frame is not a window-system frame (Bug#2299).
5566 * subr.el (read-key): Avoid running filter function when setting
5567 up temporary tool bar entries (Bug#9922).
5569 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5571 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5574 2012-04-27 Chong Yidong <cyd@gnu.org>
5576 * select.el (xselect--encode-string): New function, split from
5577 xselect-convert-to-string.
5578 (xselect-convert-to-string): Use it.
5579 (xselect-convert-to-filename, xselect-convert-to-os)
5580 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5581 returned strings are properly encoded (Bug#11315).
5583 2012-04-27 Chong Yidong <cyd@gnu.org>
5585 * simple.el (delete-active-region): Move to killing custom group.
5587 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5589 * progmodes/which-func.el (which-func-current): Quote %
5590 characters for mode-line processing.
5592 2012-04-27 Chong Yidong <cyd@gnu.org>
5594 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5595 reaching eob (Bug#11286).
5597 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5599 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5600 (gdb): Make it buffer-local and init to zero.
5601 (gdb-control-commands-regexp): New variable.
5602 (gdb-send): Don't wrap in "-interpreter-exec console" if
5603 gdb-control-level is positive. Increment gdb-control-level
5604 whenever the command matches gdb-control-commands-regexp, and
5605 decrement it each time the command is "end". (Bug#11279)
5607 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5609 * window.el (adjust-window-trailing-edge, enlarge-window)
5610 (shrink-window, window-resize):
5611 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5612 windows (Bug#11276).
5614 2012-04-27 Chong Yidong <cyd@gnu.org>
5616 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5617 fix "missing prefix" warning. All callers changed.
5619 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * emacs-lisp/assoc.el: Move to obsolete/.
5623 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5625 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5627 * term/ns-win.el (ns-define-service):
5628 * progmodes/pascal.el (pascal-goto-defun):
5629 * progmodes/js.el (js--read-tab):
5630 * progmodes/etags.el (tags-lazy-completion-table):
5631 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5632 * emacs-lisp/ewoc.el (ewoc--wrap):
5633 * emacs-lisp/assoc.el (aput, adelete, amake):
5634 * doc-view.el (doc-view-convert-current-doc):
5635 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5637 2012-04-26 Chong Yidong <cyd@gnu.org>
5639 * image.el (image-type-from-buffer): Only return supported image
5642 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5643 value, for symmetry with diff-end-of-hunk.
5644 (diff-split-hunk, diff-find-source-location)
5645 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5646 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5647 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5648 compute the relevant hunk or file properly (Bug#6005).
5649 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5651 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * vc/vc.el: Replace lexical-let by lexical-binding.
5661 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5662 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5663 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5665 2012-04-26 Chong Yidong <cyd@gnu.org>
5667 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5668 (diff-mode-shared-map): Bind it to / and [remap undo].
5670 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5671 (ediff-window-setup-function): Use it as the default, to set up
5672 windows based on whether the current frame is graphical (Bug#2138).
5673 (ediff-choose-window-setup-function-automatically): Make obsolete.
5675 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5677 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * ffap.el: Remove old code for obsolete package.
5680 (ffap-complete-as-file-p): Remove.
5682 Use completion-table-with-quoting for comint and pcomplete.
5683 * comint.el (comint--unquote&requote-argument)
5684 (comint--unquote-argument, comint--requote-argument): New functions.
5685 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5686 (comint-quote-filename): Use regexp-opt-charset.
5687 (comint--common-suffix, comint--common-quoted-suffix)
5688 (comint--table-subvert): Remove.
5689 (comint-unquote-function, comint-requote-function): New vars.
5690 (comint--complete-file-name-data): Use them with
5691 completion-table-with-quoting.
5692 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5693 * pcomplete.el (pcomplete-arg-quote-list)
5694 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5695 (pcomplete-unquote-argument-function): Default to non-nil.
5696 (pcomplete-unquote-argument): Simplify.
5697 (pcomplete--common-quoted-suffix): Remove.
5698 (pcomplete-requote-argument-function): New var.
5699 (pcomplete--common-suffix): New function.
5700 (pcomplete-completions-at-point): Use completion-table-with-quoting
5701 and completion-table-subvert.
5703 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5704 (minibuffer--double-dollars): Preserve properties.
5705 (completion--sifn-requote): New function.
5706 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5708 * minibuffer.el: Add support for completion of quoted/escaped data.
5709 (completion-table-with-quoting, completion-table-subvert): New funs.
5710 (completion--twq-try, completion--twq-all): New functions.
5711 (completion--nth-completion): New function.
5712 (completion-try-completion, completion-all-completions): Use it.
5714 2012-04-25 Leo Liu <sdl.web@gmail.com>
5716 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5717 Use compilation-message if available to find real filename.
5719 2012-04-25 Chong Yidong <cyd@gnu.org>
5721 * vc/diff-mode.el (diff-setup-whitespace): New function.
5722 (diff-mode): Use it.
5724 * vc/diff.el (diff-sentinel):
5725 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5726 Whitespace mode variables based on diff style (Bug#8612).
5728 2012-04-25 Leo Liu <sdl.web@gmail.com>
5730 * progmodes/python.el (python-send-region): Add suffix .py to the
5733 * files.el (auto-mode-alist): Use javascript-mode instead.
5735 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5737 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5739 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5740 (soap-resolve-references-for-array-type): Hack to prevent self
5741 references, see Bug#9.
5742 (soap-parse-envelope): Report the contents of the 'detail' node
5743 when receiving a fault reply.
5744 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5746 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5747 (soap-inspect-simple-type): New function.
5749 * net/soap-client.el (soap-simple-type): New struct.
5750 (soap-default-xsd-types, soap-default-soapenc-types)
5751 (soap-decode-basic-type, soap-encode-basic-type):
5752 support unsignedInt and double basic types.
5753 (soap-resolve-references-for-simple-type)
5754 (soap-parse-simple-type, soap-encode-simple-type): New function.
5755 (soap-parse-schema): Parse xsd:simpleType declarations.
5757 * net/soap-client.el (soap-default-xsd-types)
5758 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5759 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5760 the local name of "soapenc:Array".
5761 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5762 decoding integer, byte and anyURI xsd types.
5764 2012-04-25 Chong Yidong <cyd@gnu.org>
5766 * cus-edit.el (custom-buffer-create-internal): Update header text.
5768 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5770 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5771 settings on 'system-type', not on 'window-system'. On MS-Windows,
5772 set interactive-mode on in GDB.
5774 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5776 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5777 (ruby-syntax-propertize-regexp): Remove.
5778 (ruby-syntax-propertize-function): Split regexp into chunks.
5779 Match following code directly.
5781 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5783 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5784 (ruby-syntax-propertize-regexp): New function.
5785 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5786 by a special keyword.
5788 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5789 (ruby-syntax-general-delimiters-goto-beg)
5790 (ruby-syntax-propertize-general-delimiters): New functions.
5791 (ruby-syntax-propertize-function): Use them to handle GDL.
5792 (ruby-font-lock-keywords): Move old handling of GDL...
5793 (ruby-font-lock-syntactic-keywords): .. to here.
5794 (ruby-calculate-indent): Adjust indentation for GDL.
5796 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5798 * notifications.el (top): Remove unneeded declarations.
5799 (notifications-specification-version): Change to "1.2".
5800 (notifications-interface, notifications-notify-method)
5801 (notifications-close-notification-method): Fix docstring.
5802 (notifications-get-capabilities-method): New defconst.
5803 (notifications-notify): Add :action-items, :resident and
5804 :transient hints. Change "image_data" to "image-data" and
5805 "image_path" to "image-path".
5806 (notifications-get-capabilities): New defun.
5808 2012-04-24 Leo Liu <sdl.web@gmail.com>
5810 * progmodes/python.el: Move hideshow setup to the end.
5812 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5814 * window.el (handle-select-window): Clear echo area since this is
5815 no more done by read_char (Bug#11304).
5817 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5819 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5820 and `/ M' to filter-derived-mode.
5821 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5822 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5823 (ibuffer-mark-by-mode): Use default rather than initial-input.
5824 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5826 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5828 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5829 (ibuffer-filter-by-derived-mode): New filter.
5830 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5832 2012-04-23 Andreas Politz <politza@fh-trier.de>
5834 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5836 2012-04-23 Chong Yidong <cyd@gnu.org>
5838 * cus-edit.el (customize-apropos, customize-apropos-options):
5839 Disable matching of non-option variables (Bug#11176).
5840 (customize-option, customize-option-other-window)
5841 (customize-changed-options): Doc fix.
5842 (customize-apropos-options, customize-apropos-faces)
5843 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5845 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5846 Fix word list splitting (Bug#11132).
5847 (apropos-symbol, apropos-keybinding, apropos-label)
5848 (apropos-property, apropos-function-button)
5849 (apropos-variable-button, apropos-misc-button): New faces.
5850 (apropos-symbol-face, apropos-keybinding-face)
5851 (apropos-label-face, apropos-property-face, apropos-match-face):
5852 Variables removed (Bug#8396).
5853 (apropos-library-button, apropos-format-plist, apropos-print)
5854 (apropos-print-doc, apropos-describe-plist): Callers changed.
5856 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5858 * net/xesam.el (xesam-mode-map): Use let-bound map in
5859 initialization. (Bug#11292)
5861 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5863 Preserve ispell session localwords when switching back to
5866 * textmodes/ispell.el (ispell-buffer-session-localwords):
5867 New buffer-local variable to hold buffer session localwords.
5868 (ispell-kill-ispell): Add option 'clear to delete session
5870 (ispell-command-loop, ispell-change-dictionary)
5871 (ispell-buffer-local-words): Preserve session localwords when
5874 * textmodes/flyspell.el (flyspell-process-localwords)
5875 (flyspell-do-correct): Preserve session localwords when needed.
5877 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5879 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5880 using obsolete `translation-table-for-input'.
5881 (ispell-word, ispell-process-line, ispell-complete-word):
5882 Use plain `insert' instead of removed `ispell-insert-word'.
5884 2012-04-22 Chong Yidong <cyd@gnu.org>
5886 * cus-edit.el (custom-variable-menu)
5887 (custom-variable-reset-saved, custom-face-menu)
5888 (custom-face-reset-saved): If there is no saved value, make the
5889 "reset-saved" operation bring back the default (Bug#9509).
5890 (custom-face-state): Properly detect themed faces.
5892 * faces.el (face-spec-set): Stop supporting deprecated form of
5895 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5897 Move functions from C to Lisp. Make non-blocking method calls
5898 the default. Implement further D-Bus standard interfaces.
5900 * net/dbus.el (dbus-message-internal): Declare function.
5901 Remove unneeded function declarations.
5902 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5903 (dbus-message-type-method-return, dbus-message-type-error)
5904 (dbus-message-type-signal): Declare variables. Remove local
5906 (dbus-interface-dbus, dbus-interface-peer)
5907 (dbus-interface-introspectable, dbus-interface-properties)
5908 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5910 (dbus-interface-objectmanager): New defconst.
5911 (dbus-call-method, dbus-call-method-asynchronously)
5912 (dbus-send-signal, dbus-method-return-internal)
5913 (dbus-method-error-internal, dbus-register-service)
5914 (dbus-register-signal, dbus-register-method): New defuns, moved
5916 (dbus-call-method-handler, dbus-setenv)
5917 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5919 (dbus-call-method-non-blocking): Make it an obsolete function.
5920 (dbus-unregister-object, dbus-unregister-service)
5921 (dbus-handle-event, dbus-register-property)
5922 (dbus-property-handler): Obey the new structure of
5923 `bus-registered-objects'.
5924 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5925 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5926 Use `dbus-call-method'.
5928 2012-04-22 Chong Yidong <cyd@gnu.org>
5930 * cus-edit.el (custom-commands, custom-reset-menu)
5931 (Custom-reset-standard): Tweak labels.
5932 (custom-reset-button-menu): Change default to t.
5933 (custom-buffer-create-internal): For the custom-reset-button-menu
5934 case, put the revert button first.
5935 (custom-group-subtitle): New face.
5936 (custom-group-value-create): Align docstring to a specific column.
5938 * wid-edit.el (widget-documentation-link-add): Don't handle
5939 indentation in this function.
5940 (widget-documentation-string-indent-to): New function.
5941 (widget-documentation-string-value-create): Use it.
5943 * autorevert.el (auto-revert):
5944 * epg-config.el (epg):
5945 * ibuffer.el (ibuffer):
5948 * eshell/eshell.el (eshell):
5949 * net/ange-ftp.el (ange-ftp):
5950 * progmodes/ebnf2ps.el (postscript):
5951 * progmodes/flymake.el (flymake):
5952 * progmodes/prolog.el (prolog):
5953 * progmodes/verilog-mode.el (verilog-mode):
5954 * progmodes/which-func.el (which-func):
5955 * term/xterm.el (xterm):
5956 * textmodes/picture.el (picture):
5957 * textmodes/tildify.el (tildify):
5958 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5959 customization buffers.
5961 2012-04-22 Alan Mackenzie <acm@muc.de>
5963 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5964 Adding a ) can hide the resulting (..) from searches. Fix it.
5965 Bound the backward search to the position of the existing (.
5967 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5969 * progmodes/verilog-mode.el (verilog-mode): Check whether
5970 which-func-modes is t before adding verilog-mode.
5971 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5973 2012-04-21 Leo Liu <sdl.web@gmail.com>
5975 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5977 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5979 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5980 filling of the last column of a table (Bug#5635).
5981 (woman-find-next-control-line): New arg, specifying an additional
5982 regexp component for the control line.
5983 (woman2-roff-buffer): Use it.
5984 (woman-break-table): New function.
5985 (woman2-TS): Use it.
5987 2012-04-21 Chong Yidong <cyd@gnu.org>
5989 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5990 (woman-horizontal-escapes, woman-negative-vertical-space)
5991 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5992 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5994 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * minibuffer.el (completion-file-name-table): Complete user names.
5998 2012-04-20 Leo Liu <sdl.web@gmail.com>
6000 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6003 2012-04-20 Chong Yidong <cyd@gnu.org>
6005 * server.el (server-execute): Respect initial-buffer-choice if it
6006 is a string and there are no files to open (Bug#2825).
6007 (server-create-window-system-frame, server-create-tty-frame):
6008 Don't switch buffers here.
6009 (server-process-filter): Only try to open a window system frame if
6010 compiled with graphical support (Bug#8314).
6012 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6014 * battery.el (battery-echo-area-format): Display remaining time
6015 for sysfs backend too (Bug#11269).
6016 (battery-linux-sysfs): Fix conditional for the charge.
6018 2012-04-20 Chong Yidong <cyd@gnu.org>
6020 * progmodes/gdb-mi.el (gdb): Revert previous change.
6021 (gdb-inferior-io--init-proc): New function.
6022 (gdb-init-1): Use it.
6023 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6024 responsible for allocating a new pty and hooking it to gdb when
6025 the old pty gets an EIO due to process exit.
6026 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6027 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6028 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6030 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6032 * window.el (window-min-size, window-sizable, window-min-delta)
6033 (window-max-delta, window--resizable, window-resizable)
6034 (window-total-size, window-full-height-p, window-full-width-p)
6035 (window-in-direction, window--resize-mini-window, window-resize)
6036 (window--resize-child-windows-normal)
6037 (window--resize-child-windows, window--resize-siblings)
6038 (window--resize-this-window, adjust-window-trailing-edge)
6039 (enlarge-window, shrink-window): Doc fixes.
6041 2012-04-20 Chong Yidong <cyd@gnu.org>
6043 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6044 New function to call delete-process on the gdb-inferior buffer's pty.
6045 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6046 pty process (Bug#11273).
6047 (gdb-update): New arg to suppress talking to the gdb process.
6048 (gdb-done-or-error): Use it.
6049 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6050 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6051 sentinel not being called.
6053 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6055 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6057 2012-04-20 Glenn Morris <rgm@gnu.org>
6059 * net/network-stream.el (open-network-stream): Doc fix.
6061 2012-04-20 Chong Yidong <cyd@gnu.org>
6063 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6065 2012-04-20 Alan Mackenzie <acm@muc.de>
6067 Ensure searching for keywords is case sensitive.
6069 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6070 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6071 (c-defun-name, c-mark-function, c-cpp-define-name)
6072 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6073 (c-context-line-break): Bind case-fold-search to nil.
6075 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6076 Bind case-fold-search to nil.
6078 2012-04-20 Chong Yidong <cyd@gnu.org>
6080 * mail/sendmail.el (mail-bury): Call return action with the right
6081 Rmail buffer (Bug#11242).
6083 * server.el (server-process-filter): Handle corner case where both
6084 tty and nowait options are present (Bug#11102).
6086 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6088 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6089 (top level): Put into the executable the ident-style '$Id:' tag on
6092 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * electric.el (electric-indent-post-self-insert-function): Check that
6095 electric-indent-mode is enabled in current buffer.
6097 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6099 * imenu.el (imenu-progress-message): Restore; it is "used" in
6100 erc/erc-imenu.el and net/snmp-mode.el.
6102 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6104 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6105 (mouse-avoidance-nudge-mouse): Remove unused binding.
6107 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6109 * descr-text.el (describe-char):
6110 * progmodes/python.el (python-describe-symbol):
6111 Don't call `toggle-read-only', set `buffer-read-only'.
6113 * imenu.el (imenu-default-goto-function): Mark unused args.
6114 (imenu-progress-message): Remove obsolete macro; all callers changed.
6116 * subr.el (keymap-canonicalize): Remove unused binding.
6117 (read-passwd): Mark unused arg.
6119 * tutorial.el (tutorial--display-changes): Remove unused binding.
6120 (tutorial--save-tutorial-to): Remove unused variable.
6122 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6123 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6124 (package-generate-autoloads, package-menu--generate)
6125 (package-menu--find-upgrades): Remove unused bindings.
6127 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6128 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6129 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6130 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6131 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6132 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6133 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6134 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6135 (cua-delete-char-rectangle): Mark unused args.
6136 (cua-align-rectangle): Remove unused binding.
6138 * mail/rmail.el (compilation--message->loc)
6139 (epa--find-coding-system-for-mime-charset): Declare.
6141 * net/dbus.el (dbus-register-service): Declare.
6142 (dbus-name-owner-changed-handler): Remove unused binding.
6144 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6145 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6146 (nxml-scan-backward-within): Mark unused arg.
6147 (nxml-dynamic-markup-word): Remove unused binding.
6149 * mouse.el (mouse-menu-major-mode-map):
6150 * emacs-lisp/authors.el (authors-scan-change-log)
6151 (authors-add-to-author-list):
6152 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6153 * emacs-lisp/smie.el (smie-auto-fill):
6154 * mail/sendmail.el (mail-bury):
6155 * mail/unrmail.el (unrmail):
6156 * net/tls.el (open-tls-stream):
6157 * textmodes/picture.el (picture-mouse-set-point):
6158 Remove unused bindings.
6160 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
6162 * net/tramp.el (tramp-action-password): Let-bind
6163 `enable-recursive-minibuffers' to t.
6165 2012-04-18 Sam Steingold <sds@gnu.org>
6167 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6168 instead of 'string to accommodate values like [f11].
6169 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6170 * progmodes/gdb-mi.el: Likewise.
6172 2012-04-18 Leo Liu <sdl.web@gmail.com>
6174 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6176 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6179 2012-04-18 Chong Yidong <cyd@gnu.org>
6181 * simple.el (line-move): Use forward-line if in batch mode
6184 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6186 * files.el (after-find-file): Do not try to add a final newline if
6187 the buffer is read-only (Bug#11156).
6189 2012-04-17 Richard Stallman <rms@gnu.org>
6191 * mail/rmail.el (rmail-start-mail):
6192 Pass (rmail-mail-return...) for the return-action.
6193 Pass (rmail-yank-current-message...) for the yank-action.
6194 (rmail-yank-current-message): New function.
6195 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6196 (rmail-reply): Likewise.
6197 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6199 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6200 buffer, not the last. Reject temp buffers. Use the rmail-mode
6203 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
6205 * server.el (server-ensure-safe-dir): Simplify.
6207 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * emacs-lisp/smie.el: Provide smarter auto-filling.
6210 (smie-auto-fill): New function.
6211 (smie-setup): Use it.
6213 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6215 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
6217 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6218 (comment-indent): Use it.
6220 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6222 * ses.el: The overall change is to add cell renaming, that is
6223 setting fancy names for cell symbols other than name matching
6224 "\\`[A-Z]+[0-9]+\\'" regexp .
6225 (ses-localvars): Add ses--renamed-cell-symb-list.
6226 (ses-create-cell-variable): New defun.
6227 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6228 (ses-relocate-formula): Relocate formulas only for cells the
6229 symbols of which are not renamed, i.e. symbols whose names do not
6230 match regexp "\\`[A-Z]+[0-9]+\\'".
6231 (ses-relocate-all): Relocate values only for cells the symbols of
6232 which are not renamed.
6233 (ses-load): Create cells variables as the (ses-cell ...) are read,
6234 in order to check row col consistency with cell symbol name only
6235 for cells that are not renamed.
6236 (ses-replace-name-in-formula): New defun.
6237 (ses-rename-cell): New defun.
6239 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6241 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6242 New option (bug#11118).
6243 (perl-calculate-indent): Respect it.
6245 2012-04-17 Glenn Morris <rgm@gnu.org>
6247 * dired-aux.el (dired-mark-read-string): Doc fix.
6249 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6251 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6252 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6254 2012-04-17 Glenn Morris <rgm@gnu.org>
6256 * mouse.el (mouse-drag-track):
6257 * speedbar.el (speedbar-frame-mode):
6258 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6260 2012-04-16 Leo Liu <sdl.web@gmail.com>
6262 * progmodes/python.el: Trivial cleanup.
6264 2012-04-16 Glenn Morris <rgm@gnu.org>
6266 * vc/vc.el (vc-string-prefix-p):
6267 * vc/pcvs-util.el (cvs-string-prefix-p):
6268 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6269 * mpc.el (mpc-string-prefix-p):
6270 Make all of these into obsolete aliases for string-prefix-p.
6272 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6274 * textmodes/two-column.el: Move custom options to the start.
6275 (frame-width): Remove compat definition.
6276 (2C-associate-buffer, 2C-dissociate):
6277 Use with-current-buffer rather than save-excursion.
6278 (2C-dissociate): Force a mode-line update.
6279 (2C-autoscroll): Use ignore-errors.
6281 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6284 * emacs-lisp/cl-extra.el (*random-state*):
6285 Remove unnecessary declaration.
6287 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6289 * play/cookie1.el (cookie-snarf):
6290 Give an explicit error if input file cannot be read.
6292 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6294 * progmodes/perl-mode.el (c-macro-expand):
6295 Remove unnecessary autoload (it is in loaddefs.el).
6297 * textmodes/picture.el (picture-desired-column)
6298 (picture-update-desired-column): Convert comments to doc-strings.
6299 (picture-substitute): Remove function.
6300 (picture-mode-map): Initialize in the defvar.
6302 * woman.el: Remove eval-after-load for tar-mode.
6303 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6304 (woman-tar-extract-file): Autoload it.
6306 * frame.el (automatic-hscrolling): Make this alias obsolete.
6308 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6310 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6311 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6312 (ispell-dictionary-base-alist): Revert to original XEmacs
6313 friendly version for default. [:alpha:] will be added in
6314 `ispell-set-spellchecker-params' if needed.
6316 2012-04-16 Chong Yidong <cyd@gnu.org>
6318 * image.el (imagemagick--file-regexp): New variable.
6319 (imagemagick-register-types): Use it.
6320 (imagemagick-types-inhibit): Add :set function. Allow new value
6321 of t to inhibit all types.
6323 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6324 so we can preload it.
6326 * loadup.el (fboundp): Preload regexp-opt, needed by
6327 imagemagick-register-types.
6329 2012-04-15 Chong Yidong <cyd@gnu.org>
6331 * frame.el (scrolling): Remove nearly unused customization group.
6333 * scroll-all.el (scroll-all-mode): Move to windows group.
6335 2012-04-15 Chong Yidong <cyd@gnu.org>
6337 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6339 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6341 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6342 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6344 2012-04-15 Glenn Morris <rgm@gnu.org>
6346 * simple.el (process-file-side-effects): Doc fix.
6348 2012-04-15 Glenn Morris <rgm@gnu.org>
6350 * international/mule-cmds.el (set-language-environment): Doc fix.
6352 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6354 * server.el (server-auth-key, server-generate-key): Doc fixes.
6355 (server-get-auth-key): Doc fix. Use `string-match-p'.
6356 (server-start): Reflow docstring.
6358 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6360 * server.el (server-generate-key): `called-interactively-p'
6361 requires a parameter.
6363 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6365 * server.el (server-auth-key): New variable.
6366 (server-generate-key, server-get-auth-key): New function.
6367 (server-start): Use the new variable and functions to allow
6368 setting a permanent server key (bug#9423).
6370 2012-04-14 Leo Liu <sdl.web@gmail.com>
6372 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6374 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6377 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6378 Emacs uses American spelling.
6380 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6382 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6383 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6384 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6385 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6387 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * progmodes/which-func.el (which-func-modes): Change default.
6391 2012-04-14 Kim F. Storm <storm@cua.dk>
6393 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6394 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6396 2012-04-14 Chong Yidong <cyd@gnu.org>
6398 * custom.el (custom-theme-set-variables): Doc fix.
6400 2012-04-14 Glenn Morris <rgm@gnu.org>
6402 * international/mule.el (set-auto-coding-for-load): Doc fix.
6404 2012-04-14 Alan Mackenzie <acm@muc.de>
6406 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6407 imenu work again for Objective C Mode. Correct the *-index values,
6408 these having been disturbed by a previous change in 2011-08.
6410 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6411 Correct two search limits.
6413 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6417 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6419 * international/characters.el: Fix sorting.
6421 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6423 * international/characters.el: Add more missing Latin case pairs.
6425 2012-04-14 Glenn Morris <rgm@gnu.org>
6427 * files.el (dir-locals-set-class-variables): Doc fix.
6429 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6431 * international/characters.el: Add set-case-syntax-pair call for
6432 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6433 counterpart. (Bug#11209)
6435 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6437 2012-04-14 Glenn Morris <rgm@gnu.org>
6439 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6441 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6443 * textmodes/ispell.el (ispell-dictionary-base-alist):
6444 Add data for Hebrew.
6446 2012-04-14 Chong Yidong <cyd@gnu.org>
6448 * net/rcirc.el (rcirc-cmd-quit):
6449 Revert 2012-03-18 change (Bug#11192).
6451 2012-04-14 Glenn Morris <rgm@gnu.org>
6453 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6455 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6457 * minibuffer.el (completion-in-region-mode-map):
6458 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6460 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6462 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6464 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6466 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6467 to allow `C-M-f' and `C-M-b' to move to the nearest path
6468 separator (bug#9511).
6470 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6472 * avoid.el: Require cl when compiling. And also move the
6473 `provide' to the end.
6475 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6477 * avoid.el (mouse-avoidance-banish-position): New variable.
6478 (mouse-avoidance-banish-destination): Use it (bug#10165).
6480 2012-04-13 Leo Liu <sdl.web@gmail.com>
6482 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6484 2012-04-13 Ken Brown <kbrown@cornell.edu>
6486 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6487 this is no longer needed now that cygstart understands file:// URLs.
6488 (browse-url-filename-alist): For the same reason, don't modify
6489 file:// URLs on Cygwin.
6491 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6494 the region on shift if the binding is already shifted (bug#11221).
6496 2012-04-12 Glenn Morris <rgm@gnu.org>
6498 * mail/mailpost.el: Move to obsolete/.
6500 2012-04-12 Drew Adams <drew.adams@oracle.com>
6502 * imenu.el (imenu--generic-function): Ignore invisible definitions
6505 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6507 * hexl.el (hexl-bits): New variable.
6508 (hexl-options): Mention the variable in the doc string.
6509 (hexl-rulerise, hexl-line-displen): New functions.
6510 (hexl-mode): Mention the new variable.
6511 (hexl-mode, hexl-current-address, hexl-current-address):
6513 (hexl-ascii-start-column): New function.
6514 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6515 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6517 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6519 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6520 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6521 the encoding, as expected by hunspell.
6523 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6525 * battery.el (battery--linux-sysfs-regexp): New const.
6526 (battery-status-function): Use it. Remove yeeloong special case.
6527 (battery-yeeloong-sysfs): Remove.
6528 (battery-echo-area-format): Remove yeeloong special case.
6530 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6533 Reported by Noah Friedman.
6535 * subr.el (read-passwd): Use read-string.
6537 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6539 * vcursor.el (vcursor-move): Increase the priority of the overlay
6542 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6544 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6545 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6547 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6549 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6550 define-minor-mode (bug#10760).
6552 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6554 * progmodes/grep.el (rgrep): Tweak the find command line so
6555 that directories matching `grep-find-ignored-files' won't be
6558 2012-04-11 Chong Yidong <cyd@gnu.org>
6560 * startup.el (command-line): Remove support for long-obsolete
6561 variable font-lock-face-attributes.
6563 2012-04-11 Glenn Morris <rgm@gnu.org>
6565 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6567 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * window.el (window--state-get-1): Obey window-point-insertion-type.
6571 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6573 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6574 to previous function when point is on the first character of a
6575 function. Take care of that in `narrow-to-defun' (bug#6157).
6577 2012-04-11 Glenn Morris <rgm@gnu.org>
6579 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6580 not just file-errors.
6582 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6583 (vc-bzr-sha1): Use internal sha1.
6585 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6587 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6589 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6591 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6592 that start in the middle of the line (bug#10496).
6594 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6596 * battery.el (battery-linux-proc-acpi): Only one battery is
6597 discharged at a time, but that seems to confuse battery.el when
6598 computing `rate-type' for the battery not being discharged
6601 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6603 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6605 * international/quail.el: Use dolist and simplify.
6606 (quail-define-package, quail-update-keyboard-layout)
6607 (quail-define-rules): Use dolist.
6608 (quail-insert-kbd-layout, quail-get-translation): CSE.
6610 * tmm.el: Use dolist, remove left over hook.
6611 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6613 (calendar-load-hook): Don't mess with it.
6615 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6616 Use derived-mode-p. Run the diff asynchronously.
6618 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6620 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6622 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6624 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6625 (list-dynamic-libraries--loaded): New function.
6626 (list-dynamic-libraries--refresh): Use it.
6628 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6630 * progmodes/python.el (python-fill-paragraph):
6631 Make python-fill-region in a multiline string work when font-lock is
6632 disabled (bug#7018).
6634 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6636 * language/european.el (cp775): Add oem/legacy (en)coding on
6637 DOS/MS Windows for the Baltic languages. There are still plenty
6638 of texts written in this encoding/codepage (bug#6519).
6640 2012-04-10 Glenn Morris <rgm@gnu.org>
6642 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6643 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6645 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6647 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6648 next-line "n" and previous-line "p" in order to make recentf more
6649 consistent with ibuffer, dired or org-mode (bug#9387).
6651 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653 * image.el (put-image): Return the overlay created instead of the
6654 optional input string (bug#7834). Note that this may break code
6655 that is (for some reason or other) depending on `put-image'
6656 returning the string.
6658 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6660 * simple.el (zap-to-char): Allow zapping using input methods
6663 * textmodes/fill.el (fill-region): Leave point and mark where they
6664 were before filling (bug#5399).
6666 2012-04-09 Glenn Morris <rgm@gnu.org>
6668 * version.el (emacs-bzr-get-version):
6669 Handle lightweight checkouts of local branches.
6671 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6673 * international/characters.el: Recover lost case pairs. (Bug#11209)
6675 2012-04-09 Chong Yidong <cyd@gnu.org>
6677 * custom.el (custom-variable-p): Return nil for non-symbol
6678 arguments instead of signaling an error.
6679 (user-variable-p): Obsolete alias for custom-variable-p.
6681 * apropos.el (apropos-variable):
6682 * files-x.el (read-file-local-variable):
6683 * simple.el (set-variable):
6684 * woman.el (woman-mini-help):
6685 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6687 2012-04-09 Glenn Morris <rgm@gnu.org>
6689 * startup.el (normal-top-level): Don't look for leim-list.el
6690 in places where it will not be found. (Bug#910)
6692 * international/mule-cmds.el (set-default-coding-systems):
6693 * files.el (normal-mode):
6694 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6695 This function was removed with ucs-tables.el in 2008.
6697 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6699 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6700 ispell-encoding8-command to "-i", without a trailing space.
6701 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6702 separate command-line arguments, to specify the encoding, since
6703 that's how hunspell expects it.
6705 2012-04-08 Glenn Morris <rgm@gnu.org>
6707 * loadup.el: Load bindings before cus-start.
6708 This reduces somewhat the number of "rogue" settings in emacs -Q.
6710 2012-04-07 Glenn Morris <rgm@gnu.org>
6712 * version.el (emacs-bzr-get-version): New function.
6713 (emacs-bzr-version): New variable.
6714 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6715 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6717 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6719 * international/uni-bidi.el, international/uni-category.el:
6720 * international/uni-combining.el, international/uni-decimal.el:
6721 * international/uni-decomposition.el, international/uni-digit.el:
6722 * international/uni-lowercase.el, international/uni-mirrored.el:
6723 * international/uni-name.el, international/uni-numeric.el:
6724 * international/uni-titlecase.el, international/uni-uppercase.el:
6725 Update for Unicode 6.1.
6727 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6729 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6731 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733 * window.el (shrink-window): Mention the `window-min-height'
6734 variable in the doc string.
6736 2012-04-05 Bastien Guerry <bzg@altern.org>
6738 * color.el (color-lighten-name): Fix typo.
6740 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6742 * server.el (server--on-display-p): New function.
6743 (server--on-display-p): Use it.
6745 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6747 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6750 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6752 * comint.el (comint--common-quoted-suffix): Check string boundary
6753 before comparing (bug#11158).
6754 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6756 2012-04-04 Chong Yidong <cyd@gnu.org>
6758 * minibuffer.el (completion-extra-properties): Doc fix.
6760 * subr.el (delayed-warnings-hook): Doc fix.
6762 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6764 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6765 selection (Bug#11159).
6766 (epa-insert-keys): Inform that the default public key will be
6767 exported if no key is selected.
6769 2012-04-04 Richard Stallman <rms@gnu.org>
6771 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6773 2012-04-03 Chong Yidong <cyd@gnu.org>
6775 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6776 mail-insert-file, not its obsolete alias mail-attach-file.
6778 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6780 * notifications.el (notifications-notify): Fix docstring.
6782 2012-04-02 Glenn Morris <rgm@gnu.org>
6784 * emacs-lisp/authors.el (authors-aliases): Another addition.
6786 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6788 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6789 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6790 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6792 2012-04-01 Chong Yidong <cyd@gnu.org>
6794 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6795 Handle root directory properly.
6796 (copy-directory): Caller changed.
6798 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6799 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6801 2012-03-31 Glenn Morris <rgm@gnu.org>
6803 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6805 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6807 * calendar/calendar.el (calendar-window-list)
6808 (calendar-hide-window): Restore. (Bug#11140)
6809 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6811 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6813 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6815 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6816 Check if file is a symlink (Bug#10489).
6818 * files.el (copy-directory): Likewise.
6820 2012-03-30 Chong Yidong <cyd@gnu.org>
6822 * image.el (imagemagick-types-inhibit)
6823 (imagemagick-register-types): Doc fix.
6825 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6827 * textmodes/ispell.el (ispell-get-extended-character-mode):
6828 Disable extended-char-mode for hunspell. hunspell does not support it
6829 and treats ~word as ordinary words in pipe mode.
6831 2012-03-30 Glenn Morris <rgm@gnu.org>
6833 * tutorial.el (help-with-tutorial): Ensure local variables don't
6834 happen to make the buffer read-only. (Bug#11127)
6836 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6839 (perl-calculate-indent): Return `noindent' in strings.
6841 2012-03-28 Sam Steingold <sds@gnu.org>
6843 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6844 instead of the broken adhockery which does not prevent calendar
6845 buffers from being displayed at random after exit.
6846 (calendar-window-list, calendar-hide-window): Remove the broken
6849 2012-03-28 Glenn Morris <rgm@gnu.org>
6851 * replace.el (query-replace-map): Doc fix.
6853 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6855 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6856 contents. (Bug#11109)
6858 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6862 (avl-tree--check, avl-tree--check-node): New funs.
6864 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6866 * window.el (switch-to-visible-buffer): New option.
6867 (switch-to-prev-buffer, switch-to-next-buffer):
6868 Observe switch-to-visible-buffer. Make sure that checking for a window
6869 showing a buffer already is done on the same frame.
6871 2012-03-27 Glenn Morris <rgm@gnu.org>
6873 * startup.el (mail-host-address): Doc fix.
6875 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6880 2012-03-26 Ami Fischman <ami@fischman.org>
6882 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6884 2012-03-26 Glenn Morris <rgm@gnu.org>
6886 * files.el (save-buffers-kill-emacs): Doc fix.
6888 * startup.el (normal-top-level, command-line, command-line-1):
6889 Give them doc strings.
6891 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6893 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6894 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6896 2012-03-25 Chong Yidong <cyd@gnu.org>
6898 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6899 theme if it was previously enabled before (Bug#11031).
6901 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6902 spec with custom-face-get-current-spec if its :shown-value is not
6903 determined yet (Bug#9337).
6904 (customize-create-theme, custom-theme-revert): Doc fixes.
6906 * button.el (button-at): Minor addition to docstring.
6908 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6910 * vc/vc.el (vc-merge): Fix a prompt.
6912 2012-03-24 Chong Yidong <cyd@gnu.org>
6914 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6917 * button.el (button-at): Minor addition to docstring.
6919 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * newcomment.el (comment-choose-indent): No space after BOL.
6923 2012-03-22 Sam Steingold <sds@gnu.org>
6925 * window.el (switch-to-prev-buffer): Revert last patch because the
6926 bug turned out to be an advertised feature (Elisp manual 28.14).
6928 2012-03-22 Glenn Morris <rgm@gnu.org>
6930 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6931 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6933 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6935 * net/network-stream.el (network-stream-open-starttls): Make error
6936 message under Windows be less misleading.
6938 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6940 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6941 understands (bug#9942).
6943 2012-03-22 Chong Yidong <cyd@gnu.org>
6945 * simple.el (end-of-visible-line): Handle return value of
6946 next-single-property-change properly (Bug#9371).
6948 2012-03-22 Kenichi Handa <handa@m17n.org>
6950 * international/quail.el (quail-insert-kbd-layout): Fix previous
6951 change. To avoid unwanted bidi reordering, use
6952 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6954 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6956 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6957 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6958 (ruby-beginning-of-indent): Be more careful with the difference
6959 between word-boundary and symbol boundary.
6960 (ruby-mode-syntax-table): Make : a symbol constituent.
6962 2012-03-21 Andreas Politz <politza@fh-trier.de>
6964 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6966 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * progmodes/etags.el (tags-completion-at-point-function):
6971 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6973 2012-03-21 Sam Steingold <sds@gnu.org>
6975 * progmodes/etags.el (tags-completion-at-point-function):
6976 Avoid the error when point is inside the pattern.
6978 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6980 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6983 2012-03-21 Drew Adams <drew.adams@oracle.com>
6985 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6987 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6989 * ido.el (ido-set-current-directory, ido-read-internal)
6990 (ido-choose-completion-string, ido-completion-help): Handle nil
6991 value of ido-completion-buffer (Bug#11008).
6993 2012-03-21 Sam Steingold <sds@gnu.org>
6995 * window.el (switch-to-prev-buffer): Do not switch to a visible
6996 window previous buffer, just like with the frame previous buffers.
6998 2012-03-21 Chong Yidong <cyd@gnu.org>
7000 * faces.el (make-face, make-empty-face, copy-face):
7001 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7004 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7007 (widget-complete): Remove broken use of it.
7009 2012-03-20 Chong Yidong <cyd@gnu.org>
7011 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7012 Use string-width and truncate-string-width to handle arbitrary
7015 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7017 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7018 to draw rectangles, not squares. (Regression introduced by revno
7019 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7021 2012-03-18 Chong Yidong <cyd@gnu.org>
7023 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7024 it is not yet defined (for temacs).
7026 2012-03-18 Leo Liu <sdl.web@gmail.com>
7028 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7030 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7032 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7033 (ispell-choices-win-default-height, ispell-silently-savep)
7034 (ispell-dictionary-alist, ispell-encoding8-command)
7035 (ispell-check-version, ispell-aspell-find-dictionary)
7036 (ispell-valid-dictionary-list, ispell-words-keyword)
7037 (ispell-get-word, ispell-internal-change-dictionary)
7038 (ispell-region, ispell-skip-region-list)
7039 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7040 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7041 (ispell-message-text-end, ispell-message)
7042 (ispell-buffer-local-parsing): Doc fix.
7044 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7046 * htmlfontify.el: Add support for code block fontification for ODT
7048 (hfy-optimisations): Define new option
7050 (hfy-fontify-buffer): Honor above setting.
7051 (hfy-begin-span, hfy-end-span): New routines factored out form
7052 `hfy-fontify-buffer'.
7053 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7054 that permit insertion of custom tags.
7055 (hfy-fontify-buffer): Use above handlers.
7056 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7057 (hfy-face-to-css): Re-defined to be a variable.
7058 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7059 over multiple runs. This is made possible by having the caller let
7060 bind a special variable `hfy-user-sheet-assoc'.
7061 (htmlfontify-string): New defun.
7062 (hfy-compile-face-map): Make sure that the last char in the
7063 buffer is correctly fontified.
7064 (hfy-face-resolve-face): Whitespace only change.
7066 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7068 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7071 2012-03-16 Leo Liu <sdl.web@gmail.com>
7073 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7075 2012-03-16 Alan Mackenzie <acm@muc.de>
7077 Further optimise the handling of large macros.
7079 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7080 limit to a call of `c-literal-limits'.
7081 (c-determine-+ve-limit): New function.
7082 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7083 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7084 In CASE 5B, restrict a search limit to 500.
7085 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7087 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7088 Restrict macro bounds to +-500 from after-change's BEG END.
7090 2012-03-16 Leo Liu <sdl.web@gmail.com>
7092 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7094 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7096 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7097 `special-mode' setting of `buffer-read-only'. (Bug#11010)
7099 2012-03-16 Glenn Morris <rgm@gnu.org>
7101 * view.el (view-buffer, view-buffer-other-window)
7102 (view-buffer-other-frame): Doc fixes re special mode-class.
7104 * subr.el (eval-after-load): If named feature is provided not from
7105 a file, run after-load forms. (Bug#10946)
7107 * calendar/calendar.el (calendar-insert-at-column):
7108 Handle non-unit-width characters a bit better. (Bug#10978)
7110 2012-03-15 Chong Yidong <cyd@gnu.org>
7112 * emacs-lisp/ring.el (ring-extend): New function.
7113 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7115 * comint.el (comint-read-input-ring)
7116 (comint-add-to-input-history): Grow comint-input-ring lazily.
7118 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7121 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7123 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7124 (imenu-add-to-menubar): Don't add a redundant index.
7125 (imenu-update-menubar): Handle a dynamically composed keymap.
7127 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7129 * mail/sendmail.el (mail-encode-header):
7130 Bind rfc2047-encode-encoded-words to nil.
7132 2012-03-13 Glenn Morris <rgm@gnu.org>
7134 * calendar/calendar.el (calendar-string-spread):
7135 Handle non-unit-width characters a bit better. (Bug#10978)
7137 2012-03-13 Leo Liu <sdl.web@gmail.com>
7139 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7140 directory and file as argument (Bug#10822).
7142 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7144 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7145 For dynamically generated code, follow $PC.
7146 (gdb-disassembly-handler-custom): Handle no function name case.
7148 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7150 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7151 * emulation/ws-mode.el (ws-query-replace):
7152 * sort.el (sort-regexp-fields):
7153 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7155 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * dabbrev.el: Fix cycle completion order (bug#10963).
7158 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7159 (dabbrev-completion): Don't use an obarray; provide
7160 a cycle-sort-function.
7162 2012-03-12 Leo Liu <sdl.web@gmail.com>
7164 * simple.el (kill-new): Use equal-including-properties for comparison.
7165 (kill-do-not-save-duplicates): Doc fix.
7167 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7169 * dabbrev.el: Fix cycle completion (bug#10963).
7170 Use lexical binding and wrap to 80 columns.
7171 (dabbrev-completion): Delay computing the list of completions.
7173 2012-03-12 Kenichi Handa <handa@m17n.org>
7175 * international/quail.el (quail-insert-kbd-layout): Surround each
7176 row by LRO and PDF instead of inserting many LRMs. Pad the left
7177 and right of each non-spacing marks. Insert invisible space
7178 between lower and upper characters to prevent composition.
7180 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * minibuffer.el (minibuffer-complete): Don't get confused when the
7183 function is run twice via different commands (bug#10958).
7184 (complete-with-action): Fix docstring.
7186 2012-03-12 Chong Yidong <cyd@gnu.org>
7188 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7189 (nxml-completion-at-point-function): New function.
7190 (nxml-mode): Use it.
7191 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7193 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7194 Load generated autoloads file before byte compiling (Bug#10970).
7195 (package--make-autoloads-and-compile): New helper fun.
7197 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7199 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7201 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
7203 * autorevert.el (auto-revert-handler): Ensure, that
7204 file-readable-p is applied only for local files or in
7205 auto-revert-tail-mode.
7207 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7209 * server.el (server-eval-at): Handle non-tcp connections.
7210 Decode result string.
7212 * server.el (server-msg-size): New constant.
7213 (server-reply-print): New function.
7214 (server-eval-and-print): Use it.
7215 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7218 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7220 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7223 2012-03-11 Chong Yidong <cyd@gnu.org>
7225 * simple.el (goto-line): Doc fix (Bug#9938).
7227 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7229 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7230 when finished (Bug#10963).
7232 2012-03-11 Martin Rudalics <rudalics@gmx.at>
7234 * window.el (split-window-below): Fix bug in case where
7235 split-window-keep-point is nil (Bug#10971).
7237 2012-03-11 Juri Linkov <juri@jurta.org>
7239 * replace.el (replace-highlight): Set isearch-word to nil
7240 unconditionally. (Bug#10887)
7242 2012-03-10 Eli Zaretskii <eliz@gnu.org>
7244 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7245 mairix-replace-illegal-chars; all callers changed. Don't remove
7246 ^, ~, and = characters: they are meaningful in mairix search specs.
7247 (mairix-widget-create-query): Add usage information about mairix
7248 search forms: negating words, searching for substrings, etc.
7250 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7252 * international/fontset.el (font-encoding-alist): Add an entry for
7255 2012-03-10 Richard Stallman <rms@gnu.org>
7257 * mail/sendmail.el (mail-encode-header):
7258 Set rfc2047-encode-encoded-words.
7260 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7262 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7263 view buffer means not swapped.
7264 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7265 (rmail-write-region-annotate): Error if real text has disappeared.
7267 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7269 2012-03-10 Chong Yidong <cyd@gnu.org>
7271 * emulation/cua-rect.el (cua--init-rectangles):
7272 * emulation/cua-base.el (cua--init-keymaps):
7273 Add delete-forward-char to remappings (Bug#9666).
7275 2012-03-10 Martin Rudalics <rudalics@gmx.at>
7277 * speedbar.el (speedbar-unhighlight-one-tag-line):
7278 Avoid unhighlighting due to frame switching (Bug#10275).
7280 2012-03-10 Chong Yidong <cyd@gnu.org>
7282 * minibuffer.el (completion-in-region, completion-help-at-point):
7283 Give the completion field overlay a high priority (Bug#6830).
7285 * dired.el (dired-goto-file): Recognize absolute file name
7286 listings (Bug#7126).
7287 (dired-goto-file-1): New helper function.
7288 (dired-toggle-read-only): Inhibit warnings.
7290 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
7292 * net/dbus.el (dbus-property-handler): Return empty array if
7293 there are no properties.
7295 2012-03-09 Leo Liu <sdl.web@gmail.com>
7297 * savehist.el (savehist-printable): Stricter check for string
7300 2012-03-09 Eli Zaretskii <eliz@gnu.org>
7302 * mail/smtpmail.el (smtpmail-send-it):
7303 Bind coding-system-for-write to *-unix, so that FCC files are kept in
7306 2012-03-09 Glenn Morris <rgm@gnu.org>
7308 * files.el (dir-locals-find-file):
7309 Don't check result is regular, readable.
7310 (dir-locals-read-from-file): Demote errors.
7312 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7314 * international/quail.el (quail-insert-kbd-layout):
7315 Insert invisible LRM characters before each character in a keyboard
7316 layout cell, to prevent their reordering by bidi display engine.
7317 For details, see the discussion in
7318 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7320 2012-03-08 Alan Mackenzie <acm@muc.de>
7322 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7323 the starting position; make it extend the marked region when
7324 invoked repeatedly - all under appropriate circumstances.
7325 Fixes bugs #5525, #10906.
7327 2012-03-08 Glenn Morris <rgm@gnu.org>
7329 * files.el (locate-dominating-file, dir-locals-find-file):
7330 Undo 2012-03-06 change.
7332 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7334 * international/quail.el (quail-help):
7335 Force bidi-paragraph-direction be left-to-right. See discussion in
7336 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7339 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7341 Avoid superfluous registering of signals. (Bug#10807)
7343 * notifications.el (notifications-on-action-object)
7344 (notifications-on-close-object): New defvars.
7345 (notifications-on-action-signal, notifications-on-closed-signal):
7346 Unregister the signal if not needed any longer.
7347 (notifications-notify): Register `notifications-action-signal' or
7348 `notifications-closed-signal', if :on-action or :on-close has been
7351 2012-03-07 Chong Yidong <cyd@gnu.org>
7353 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7356 2012-03-06 Glenn Morris <rgm@gnu.org>
7358 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7359 (x-disown-selection-internal, x-get-selection-internal):
7360 Doc fix (add arglist signatures). (Bug#10783)
7362 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7364 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7365 Handle breakpoints with no "type".
7367 2012-03-06 Glenn Morris <rgm@gnu.org>
7369 * files.el (locate-dominating-file): Add optional predicate argument.
7370 (dir-locals-find-file): Make use of above change.
7372 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7374 * info.el (Info-insert-dir): Also try "dir.gz".
7376 2012-03-06 Glenn Morris <rgm@gnu.org>
7378 * files.el (dir-locals-find-file):
7379 Ignore non-readable or non-regular files. (Bug#10928)
7381 * files.el (locate-dominating-file): Doc fix.
7383 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7385 * calendar/calendar.el (calendar-set-mode-line):
7386 `getenv' returns a string. (Bug#10951)
7388 2012-03-05 Leo Liu <sdl.web@gmail.com>
7390 * simple.el (backward-delete-char-untabify): Constrain point to
7393 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7395 2012-03-05 Chong Yidong <cyd@gnu.org>
7397 * simple.el (count-words): If called from Lisp, return the word
7398 count, for symmetry with `count-lines'. Arglist changed.
7399 (count-words--message): Args changed. Consolidate counting code
7400 from count-words and count-words-region.
7401 (count-words-region): Caller changed.
7402 (count-lines-region): Make it an obsolete alias.
7404 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7406 * saveplace.el (save-place-to-alist)
7407 (save-place-ignore-files-regexp): Allow value nil to disable this
7410 2012-03-04 Chong Yidong <cyd@gnu.org>
7412 * faces.el (face-spec-reset-face): For the default face, reset the
7413 attributes to default values (Bug#10748).
7415 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7418 previous patch: Check `message-send-mail-function', and not the
7419 default function (bug#10897).
7421 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7423 * notifications.el (notifications-on-action-signal)
7424 (notifications-on-closed-signal): Check for unique service name of
7425 incoming event. Fix error in removing entry.
7426 (top): Register for signals with wildcard service name.
7427 (notifications-notify): Use daemon unique service name for map entries.
7429 2012-03-04 Chong Yidong <cyd@gnu.org>
7431 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7433 2012-03-04 Glenn Morris <rgm@gnu.org>
7435 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7436 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7437 (expand-abbrev, define-abbrev-table): Doc fixes.
7439 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7441 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7442 `message-default-send-mail-function' and not `send-mail-function'
7443 when doing the prompting for `sendmail-query-once' before sending
7444 in Message buffers (bug#10897).
7446 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7447 This is inconsistent with all the other stream functions, which leave
7448 the setting up to the higher levels (if so wanted) (bug#10931).
7450 2012-03-02 Alan Mackenzie <acm@muc.de>
7452 Depessimize the handling of very large macros.
7454 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7455 (c-macro-cache-syntactic): New variables to implement a one
7456 element macro cache.
7457 (c-invalidate-macro-cache): New function.
7458 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7459 Adapt to use the new cache.
7460 (c-state-safe-place): Use better the cache of safe positions.
7461 (c-state-semi-nonlit-pos-cache)
7462 (c-state-semi-nonlit-pos-cache-limit):
7463 New variables for...
7464 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7465 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7466 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7467 Use c-state-semi-safe-place.
7469 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7470 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7472 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7474 * jka-compr.el (jka-compr-call-process):
7475 Apply `file-accessible-directory-p' only when the default directory is
7478 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7480 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7481 access of FILE2, if FILE1 does not exist.
7483 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7484 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7486 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7487 Add "PAGER=" to `process-environment'.
7489 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7491 * progmodes/sql.el: Bug fix
7492 (sql-get-login-ext): Save login values in globals.
7493 (sql-get-login): Use new version of `sql-get-login-ext'.
7494 (sql-interactive-mode): Set global `sql-connection' to nil.
7495 (sql-connect): Set global values for connection.
7496 (sql-product-interactive): Save global values as buffer local.
7498 2012-02-29 Leo Liu <sdl.web@gmail.com>
7500 * abbrev.el (define-abbrevs): Reset sys to nil.
7502 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7504 * files.el (file-equal-p): Rename from `files-equal-p'.
7505 Return nil when one or both files don't exist.
7506 (file-subdir-of-p): Now only top directory must exists,
7507 return nil if it doesn't.
7508 (copy-directory): No need to test with `file-subdir-of-p' after
7510 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7513 2012-02-28 Glenn Morris <rgm@gnu.org>
7515 * shell.el (shell-mode):
7516 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7517 * play/landmark.el (landmark-font-lock-face-O):
7518 * play/handwrite.el (handwrite):
7519 * play/gomoku.el (gomoku-O):
7520 * net/browse-url.el (browse-url-browser-display):
7521 * international/mule.el (define-charset):
7522 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7523 * filesets.el (filesets-find-file-delay):
7524 * eshell/em-xtra.el (eshell-xtra):
7525 * eshell/em-unix.el (eshell-grep):
7526 * emulation/viper.el (viper-mode):
7527 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7528 * emacs-lisp/easymenu.el (easy-menu-define):
7529 * calendar/timeclock.el (timeclock-use-display-time):
7531 * bookmark.el (bookmark-save-flag):
7532 Doc fix (standardize possessive apostrophe usage).
7534 2012-02-27 Chong Yidong <cyd@gnu.org>
7536 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7537 Fix key-binding lookup for ESC key (Bug#9146).
7539 * font-lock.el (font-lock-specified-p): Rename from
7540 font-lock-spec-present. Callers changed.
7542 2012-02-27 Daniel Hackney <dan@haxney.org>
7544 * emacs-lisp/package.el (package-compute-transaction):
7545 Handle holding a package version to t in package-load-list.
7547 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7549 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7550 (tramp-get-inode, tramp-get-device): Use cached values.
7552 2012-02-26 Alan Mackenzie <acm@muc.de>
7554 Check there is a font-lock specification before doing initial
7557 * font-core.el (font-lock-mode): Move the conditional from
7558 :after-hook to font-lock-initial-fontify.
7559 (font-lock-default-function): Move the check for a specification
7560 to font-lock-spec-present.
7562 * font-lock.el (font-lock-initial-fontify): Call ...
7563 (font-lock-spec-present): New function.
7565 2012-02-26 Jim Blandy <jimb@red-bean.com>
7567 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7568 (gdb-send): Apply it to the operand of the '-interpreter-exec
7569 console' command, so that we can pass arguments with (say) quotes
7570 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7572 2012-02-26 Chong Yidong <cyd@gnu.org>
7574 * help-fns.el (describe-function-1): Clarify description of
7575 remapping (Bug#10844).
7577 * files.el (files-equal-p): Doc fix.
7578 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7579 and quit the loop once a mismatch is found.
7581 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7583 * bs.el (bs--show-with-configuration): Don't throw an error
7584 if the window cannot be split; otherwise, subsequent calls to
7585 bs-show fail, restoring a stale window config. (Bug#10882)
7587 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7589 * term/ns-win.el (global-map): Bind ns-drag-file to
7590 ns-find-file (Bug#5855, Bug#10050).
7592 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7594 * calendar/parse-time.el (parse-time-string): Allow extractor to
7597 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7599 * net/tramp.el (tramp-file-name-for-operation):
7600 Add `files-equal-p' and `file-subdir-of-p'.
7602 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7603 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7604 Add COPY-CONTENTS argument.
7606 2012-02-25 Chong Yidong <cyd@gnu.org>
7608 Add custom groups for VC backends, for consistency with vc-bzr.
7610 * vc/vc-arch.el (vc-arch):
7611 * vc/vc-cvs.el (vc-cvs):
7612 * vc/vc-git.el (vc-git):
7613 * vc/vc-hg.el (vc-hg):
7614 * vc/vc-mtn.el (vc-mtn):
7615 * vc/vc-rcs.el (vc-rcs):
7616 * vc/vc-sccs.el (vc-sccs):
7617 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7618 All relevant defcustoms reassigned.
7620 2012-02-25 Chong Yidong <cyd@gnu.org>
7622 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7624 * term/x-win.el (x-initialize-window-system): Reduce default for
7625 x-selection-timeout to 5 seconds (Bug#8869).
7627 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7629 * files.el (files-equal-p, file-subdir-of-p): New functions.
7630 (copy-directory): Error when trying to copy a directory on itself.
7631 Add missing copy-contents arg to tramp handler.
7632 * dired-aux.el (dired-copy-file-recursive): Same.
7633 (dired-create-files): Modify destination when source is equal to
7634 dest when copying files.
7635 Return also when dest is a subdir of source. (Bug#10489)
7637 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7639 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7642 2012-02-23 Alan Mackenzie <acm@muc.de>
7644 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7645 parameter "after-hook:" to allow the expansion to run code after
7646 the execution of the mode hooks.
7648 * font-lock.el (font-lock-initial-fontify): New function extracted
7649 from font-lock-mode-internal.
7651 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7654 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7657 (completion--cache-all-sorted-completions): New function.
7658 (completion-all-sorted-completions): Use it.
7659 (completion--do-completion, minibuffer-force-complete):
7660 Use it to re-instate the flush hook.
7662 * icomplete.el (icomplete-completions): Replace last fix with a better
7665 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7667 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7668 when it might call us back infinitely (bug#10797).
7670 2012-02-23 Glenn Morris <rgm@gnu.org>
7672 * minibuffer.el (completion-category-overrides): Doc fix.
7674 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7677 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7679 2012-02-23 Glenn Morris <rgm@gnu.org>
7681 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7682 (authors-obsolete-files-regexps, authors-ignored-files)
7683 (authors-ambiguous-files, authors-renamed-files-alist):
7686 2012-02-23 Juri Linkov <juri@jurta.org>
7688 * isearch.el (isearch-occur): Sync interactive spec with occur's
7689 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7691 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7693 2012-02-22 Juri Linkov <juri@jurta.org>
7695 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7696 (ucs-insert): Doc fix. Check for hex digits in the string.
7697 Don't display `nil' in the error message. (Bug#10857)
7699 2012-02-22 Alan Mackenzie <acm@muc.de>
7701 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7703 2012-02-22 Glenn Morris <rgm@gnu.org>
7705 * ffap.el (ffap-c-path):
7706 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7708 2012-02-22 Chong Yidong <cyd@gnu.org>
7710 * custom.el (load-theme): Doc fix.
7712 2012-02-22 Glenn Morris <rgm@gnu.org>
7714 * dired-x.el (dired-guess-shell-alist-default):
7715 Remove escape sequences from nroff output. (Bug#172)
7717 2012-02-21 Glenn Morris <rgm@gnu.org>
7719 * vc/emerge.el (emerge-defvar-local):
7720 Set `permanent-local' property rather than unused `preserved'.
7722 * textmodes/picture.el (picture-delete-char): New alias.
7723 (picture-mode-map): Use it. (Bug#10860)
7724 (picture-mode): Doc fix.
7726 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7728 * newcomment.el (uncomment-region-default): Remove unused binding.
7730 2012-02-21 Glenn Morris <rgm@gnu.org>
7732 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7733 (picture-self-insert, picture-tab-chars): Doc fix.
7734 (picture-mode-map): Fix C-a, C-e.
7736 2012-02-20 Glenn Morris <rgm@gnu.org>
7738 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7740 2012-02-20 Leo Liu <sdl.web@gmail.com>
7742 * icomplete.el (icomplete-completions): Check FROM arg before
7743 passing to substring (Bug#10850).
7745 2012-02-19 Chong Yidong <cyd@gnu.org>
7747 * comint.el: Require ansi-color.
7748 (comint-output-filter-functions): Add ansi-color-process-output.
7750 * ansi-color.el: Don't set comint-output-filter-functions; it is
7751 now in the initial value defined in comint.el.
7752 (ansi-color-apply-face-function): New variable.
7753 (ansi-color-apply-on-region): Use it.
7754 (ansi-color-apply-overlay-face): New function.
7756 * shell.el (shell): No need to require ansi-color.
7757 (shell-mode): Use ansi-color-apply-face-function to highlight
7758 color escapes using font-lock-face property (Bug#10835).
7760 2012-02-19 Chong Yidong <cyd@gnu.org>
7762 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7763 mode-line formats (Bug#10839).
7765 2012-02-18 Glenn Morris <rgm@gnu.org>
7767 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7769 * mail/undigest.el (unforward-rmail-message): Doc fix.
7771 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7773 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7775 * international/characters.el (script-list): Sync with the latest
7776 Unicode Character Database.
7778 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7780 * international/titdic-cnv.el: Remove duplicate coding tag.
7781 * language/cham.el: Likewise.
7782 * language/tai-viet.el: Likewise.
7784 2012-02-18 Glenn Morris <rgm@gnu.org>
7786 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7787 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7788 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7789 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7790 * calendar/holidays.el (holiday-bahai-holidays)
7791 (calendar-holidays, list-holidays):
7792 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
7794 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7796 * saveplace.el (save-place-ignore-files-regexp): New variable
7797 allowing for excluding files from saving their location of point.
7798 The default value matches the temporary commit message editing
7799 files from Git, SVN, Bazaar, and Mercurial.
7800 (save-place-to-alist): Use it.
7802 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7803 Stefan Monnier <monnier@iro.umontreal.ca>
7805 * newcomment.el (uncomment-region-default): Don't leave extra space
7806 when an arg is provided (bug#8150).
7808 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7810 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7812 2012-02-17 Glenn Morris <rgm@gnu.org>
7814 * net/socks.el: Require network-stream. (Bug#10599)
7816 2012-02-17 Kenichi Handa <handa@m17n.org>
7818 * international/charprop.el:
7819 * international/uni-name.el:
7820 * international/uni-old-name.el:
7821 * international/uni-comment.el: Regenerate.
7823 2012-02-16 Glenn Morris <rgm@gnu.org>
7825 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7826 Interactively in calendar buffer, give an error if not on a date.
7828 2012-02-15 Glenn Morris <rgm@gnu.org>
7830 * shell.el (shell-delimiter-argument-list):
7831 Revert 2011-02-17 change. (Bug#8027)
7833 2012-02-15 Chong Yidong <cyd@gnu.org>
7835 * minibuffer.el (completion-at-point-functions): Doc fix.
7837 * custom.el (defcustom): Doc fix; note use of defvar.
7839 2012-02-15 Glenn Morris <rgm@gnu.org>
7841 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7844 2012-02-14 Glenn Morris <rgm@gnu.org>
7846 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7848 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7850 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7851 way the ports list is computed.
7852 (smtpmail-query-smtp-server): Prompt the user for a port number if
7853 we can't connect to any of the standard ports (bug#10810).
7855 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7857 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7859 2012-02-13 Glenn Morris <rgm@gnu.org>
7861 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7863 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7865 * net/gnutls.el (gnutls-trustfiles): New variable.
7866 (gnutls-negotiate): Use it.
7868 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7870 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7871 does its stuff if Gnus is running.
7873 2012-02-13 Alan Mackenzie <acm@muc.de>
7875 Fix a loop in c-set-fl-decl-start.
7877 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7878 c-backward-syntactic-ws actually moves backwards.
7880 2012-02-13 Leo Liu <sdl.web@gmail.com>
7882 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7883 beginning so that all \C-o chars are removed.
7885 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7887 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7889 2012-02-12 Alan Mackenzie <acm@muc.de>
7891 Fix infinite loop with long macros.
7892 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7894 2012-02-12 Chong Yidong <cyd@gnu.org>
7896 * window.el (display-buffer): Doc fix (Bug#10785).
7898 2012-02-12 Glenn Morris <rgm@gnu.org>
7900 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7901 (x-disown-selection-internal, x-get-selection-internal):
7902 Sync docs with the xselect.c versions.
7904 * allout-widgets.el: Add missing license notice.
7906 2012-02-11 Glenn Morris <rgm@gnu.org>
7908 * select.el (x-get-selection-internal, x-own-selection-internal)
7909 (x-disown-selection-internal):
7910 * x-dnd.el (x-get-selection-internal): Update declarations.
7912 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7914 * window.el (window-sides-slots):
7915 * tool-bar.el (tool-bar-position):
7916 * term/xterm.el (xterm-extra-capabilities):
7917 * ses.el (ses-self-reference-early-detection):
7918 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7919 (verilog-auto-wire-type)
7920 (verilog-auto-delete-trailing-whitespace)
7921 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7922 (verilog-auto-tieoff-declaration):
7923 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7924 (sql-oracle-statement-starters, sql-oracle-scan-on):
7925 * progmodes/prolog.el (prolog-align-comments-flag)
7926 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7927 (prolog-left-indent-regexp, prolog-paren-indent-p)
7928 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7929 (prolog-types, prolog-mode-specificators)
7930 (prolog-determinism-specificators, prolog-directives)
7931 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7932 (prolog-electric-dot-flag)
7933 (prolog-electric-dot-full-predicate-template)
7934 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7935 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7936 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7937 (prolog-program-switches, prolog-prompt-regexp)
7938 (prolog-debug-on-string, prolog-debug-off-string)
7939 (prolog-trace-on-string, prolog-trace-off-string)
7940 (prolog-zip-on-string, prolog-zip-off-string)
7941 (prolog-use-standard-consult-compile-method-flag)
7942 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7943 (prolog-imenu-max-lines, prolog-info-predicate-index)
7944 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7945 (prolog-char-quote-workaround):
7946 * progmodes/cc-vars.el (c-defun-tactic):
7947 * net/tramp.el (tramp-encoding-command-interactive)
7948 (tramp-local-end-of-line):
7949 * net/soap-client.el (soap-client):
7950 * net/netrc.el (netrc-file):
7951 * net/gnutls.el (gnutls):
7952 * minibuffer.el (completion-category-overrides)
7953 (completion-cycle-threshold)
7954 (completion-pcm-complete-word-inserts-delimiters):
7955 * man.el (Man-name-local-regexp):
7956 * mail/feedmail.el (feedmail-display-full-frame):
7957 * international/characters.el (glyphless-char-display-control):
7958 * eshell/em-ls.el (eshell-ls-date-format):
7959 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7960 (lisp-lambda-list-keyword-parameter-indentation)
7961 (lisp-lambda-list-keyword-parameter-alignment):
7962 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7963 * dired-x.el (dired-omit-verbose):
7964 * cus-theme.el (custom-theme-allow-multiple-selections):
7965 * calc/calc.el (calc-highlight-selections-with-faces)
7966 (calc-lu-field-reference, calc-lu-power-reference)
7967 (calc-note-threshold):
7968 * battery.el (battery-mode-line-limit):
7969 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7970 (archive-7z-update):
7971 * allout.el (allout-prefixed-keybindings)
7972 (allout-unprefixed-keybindings)
7973 (allout-inhibit-auto-fill-on-headline)
7974 (allout-flattened-numbering-abbreviation):
7975 * allout-widgets.el (allout-widgets-auto-activation)
7976 (allout-widgets-icons-dark-subdir)
7977 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7978 (allout-widgets-theme-dark-background)
7979 (allout-widgets-theme-light-background)
7980 (allout-widgets-item-image-properties-emacs)
7981 (allout-widgets-item-image-properties-xemacs)
7982 (allout-widgets-run-unit-tests-on-load)
7983 (allout-widgets-time-decoration-activity)
7984 (allout-widgets-hook-error-post-time)
7985 (allout-widgets-track-decoration):
7986 Add missing :version tags to new defcustoms and defgroups.
7988 * progmodes/sql.el (sql-ansi-statement-starters)
7989 (sql-oracle-statement-starters): Add custom type.
7991 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7992 (prolog-system-version): Give it a type.
7994 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7996 * term/pc-win.el (x-select-text, x-selection-owner-p)
7997 (x-own-selection-internal, x-disown-selection-internal)
7998 (x-get-selection-internal): Sync doc strings and argument lists
7999 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8001 2012-02-11 Leo Liu <sdl.web@gmail.com>
8003 * progmodes/python.el (python-end-of-statement): Fix infinite
8006 2012-02-10 Glenn Morris <rgm@gnu.org>
8008 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8009 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8011 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8013 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8014 about SMTP before checking the From header.
8016 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8017 into own function for reuse by emacsbug.el.
8019 2012-02-10 Leo Liu <sdl.web@gmail.com>
8021 * subr.el (condition-case-unless-debug): Rename from
8022 condition-case-no-debug. All callers changed.
8023 (with-demoted-errors): Fix caller.
8025 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8026 * nxml/rng-valid.el (rng-do-some-validation):
8027 * emacs-lisp/package.el (package-refresh-contents)
8028 (package-menu-execute):
8029 * desktop.el (desktop-create-buffer):
8030 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8032 2012-02-10 Glenn Morris <rgm@gnu.org>
8034 * textmodes/bibtex.el:
8035 Add missing :version tags for new/changed defcustoms.
8037 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8039 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8041 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8042 (smtpmail-via-smtp): Use it, or fall back on the From address.
8043 (smtpmail-send-it): Ditto.
8045 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8048 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8049 (byte-compile-tmp-var): New const.
8050 (byte-compile-defvar): Use it to minimize .elc size.
8051 Just use `defvar' rather than simulate it (bug#10761).
8053 2012-02-09 Glenn Morris <rgm@gnu.org>
8055 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8057 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8060 * progmodes/compile.el (compilation-error-screen-columns)
8061 (compilation-first-column, compilation-filter-start): Doc fixes.
8063 * vc/log-view.el (log-view-toggle-entry-display):
8064 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8066 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8067 (report-emacs-bug-can-use-xdg-email):
8068 (report-emacs-bug-insert-to-mailer): Doc fixes.
8069 (report-emacs-bug): Message fix.
8071 * net/browse-url.el (browse-url-can-use-xdg-open)
8072 (browse-url-xdg-open): Doc fixes.
8074 * electric.el (electric-indent-mode, electric-pair-mode)
8075 (electric-layout-rules, electric-layout-mode): Doc fixes.
8076 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8078 2012-02-08 Martin Rudalics <rudalics@gmx.at>
8080 * server.el (server-unselect-display): Don't inadvertently kill
8081 the current buffer. (Bug#10729)
8083 2012-02-08 Glenn Morris <rgm@gnu.org>
8085 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8086 (sql-list-table): Doc fixes.
8088 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8089 Comment out (does nothing).
8091 * completion.el (dynamic-completion-mode):
8092 * dirtrack.el (dirtrack-debug-mode):
8093 * electric.el (electric-layout-mode):
8094 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8095 * face-remap.el (text-scale-mode, buffer-face-mode):
8096 * iimage.el (iimage-mode):
8097 * image-mode.el (image-transform-mode):
8098 * minibuffer.el (completion-in-region-mode):
8099 * scroll-lock.el (scroll-lock-mode):
8100 * simple.el (next-error-follow-minor-mode):
8101 * tar-mode.el (tar-subfile-mode):
8102 * tooltip.el (tooltip-mode):
8103 * vcursor.el (vcursor-use-vcursor-map):
8104 * wid-browse.el (widget-minor-mode):
8105 * emulation/tpu-edt.el (tpu-edt-mode):
8106 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8107 * international/iso-ascii.el (iso-ascii-mode):
8108 * language/thai-util.el (thai-word-mode):
8109 * mail/supercite.el (sc-minor-mode):
8110 * net/goto-addr.el (goto-address-mode):
8111 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8112 * progmodes/cwarn.el (cwarn-mode):
8113 * progmodes/flymake.el (flymake-mode):
8114 * progmodes/glasses.el (glasses-mode):
8115 * progmodes/hideshow.el (hs-minor-mode):
8116 * progmodes/pascal.el (pascal-outline-mode):
8117 * textmodes/enriched.el (enriched-mode):
8118 * vc/smerge-mode.el (smerge-mode):
8119 Doc fixes (minor mode argument).
8121 2012-02-07 Eli Zaretskii <eliz@gnu.org>
8123 * ls-lisp.el (ls-lisp-sanitize): New function.
8124 (ls-lisp-insert-directory): Use it to fix or remove any elements
8125 in file-alist with missing attributes. (Bug#4673)
8127 2012-02-07 Alan Mackenzie <acm@muc.de>
8129 Fix spurious recognition of c-in-knr-argdecl.
8131 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8132 putative K&R region.
8134 2012-02-07 Alan Mackenzie <acm@muc.de>
8136 * progmodes/cc-engine.el (c-forward-objc-directive):
8137 Prevent looping in "#pragma mark @implementation".
8139 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
8141 * notifications.el (notifications-on-closed-signal): Make `reason'
8142 optional. (Bug#10744)
8144 2012-02-07 Glenn Morris <rgm@gnu.org>
8146 * emacs-lisp/easy-mmode.el (define-minor-mode):
8147 Doc fixes for the macro and the mode it defines.
8149 * image.el (imagemagick-types-inhibit): Doc fix.
8151 * cus-start.el (imagemagick-render-type): Add it.
8153 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8155 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8156 Set the default at load time, too, so that `font-lock-fontify-buffer'
8157 can be called without setting up the entire mode first. This fixes
8158 a bug in `mm-inline-text' with C MIME parts.
8160 2012-02-06 Chong Yidong <cyd@gnu.org>
8162 * simple.el (list-processes--refresh): Delete exited processes
8165 * comint.el (comint-next-prompt): next-single-char-property-change
8166 and prev-single-char-property-change never return nil (Bug#8657).
8168 * custom.el (defcustom): Doc fix (Bug#9711).
8170 2012-02-05 Chong Yidong <cyd@gnu.org>
8172 * cus-edit.el (custom-variable-reset-backup): Quote the value
8173 before storing it in the customized-value property (Bug#6712).
8174 (custom-display): Add a customization type tag.
8175 (custom-buffer-create-internal): Improve tooltip message.
8177 * wid-edit.el (widget-field-value-get): New optional arg to
8178 suppress trailing whitespace truncation.
8179 (character): Use it (Bug#2689).
8181 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8183 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8184 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8186 2012-02-05 Chong Yidong <cyd@gnu.org>
8188 * cus-edit.el (custom-variable-value-create): For mismatched
8189 types, show the current value (Bug#7600).
8191 * custom.el (defcustom): Doc fix.
8193 2012-02-05 Glenn Morris <rgm@gnu.org>
8195 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8197 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
8199 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8200 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8201 (pp-last-sexp): Use `looking-at-p'.
8203 2012-02-04 Glenn Morris <rgm@gnu.org>
8205 * files.el (revert-buffer):
8206 Doc fix (mention revert-buffer-in-progress-p).
8208 * emacs-lisp/ert-x.el (ert-simulate-command):
8209 Check deferred-action-list (which is obsolete) is bound.
8211 * subr.el (with-wrapper-hook): Doc fixes.
8213 * simple.el (filter-buffer-substring-functions)
8214 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8216 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8218 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8219 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8221 2012-02-04 Leo Liu <sdl.web@gmail.com>
8223 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8225 2012-02-04 Glenn Morris <rgm@gnu.org>
8227 * image.el (image-extension-data): Add obsolete alias.
8229 * isearch.el (isearch-update): Doc fix.
8231 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8233 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8235 2012-02-03 Glenn Morris <rgm@gnu.org>
8237 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8238 (image-animate-timeout): Doc fix.
8240 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8242 2012-02-02 Glenn Morris <rgm@gnu.org>
8244 * server.el (server-auth-dir): Doc fix.
8245 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8247 * subr.el (run-mode-hooks): Doc fix.
8249 2012-02-02 Juri Linkov <juri@jurta.org>
8251 * image-mode.el (image-toggle-display-image): Remove tautological
8252 `major-mode' from the `derived-mode-p' test.
8254 2012-02-02 Kenichi Handa <handa@m17n.org>
8256 * composite.el (compose-region): Cancel previous change.
8258 2012-02-02 Kenichi Handa <handa@m17n.org>
8260 * composite.el (compose-region, compose-string): Signal error for
8261 a null string component (Bug#6988).
8263 2012-02-01 Chong Yidong <cyd@gnu.org>
8265 * view.el (view-buffer-other-window, view-buffer-other-frame):
8266 Handle special modes like view-buffer (Bug#10650).
8267 (view-buffer): Simplify.
8269 * frame.el (set-frame-font): Tweak meaning of third argument.
8271 * dynamic-setting.el (font-setting-change-default-font):
8272 Use set-frame-font (Bug#9982).
8274 2012-02-01 Glenn Morris <rgm@gnu.org>
8276 * progmodes/compile.el (compilation-internal-error-properties):
8277 Respect compilation-first-column in the "*compilation*" buffer.
8279 * emacs-lisp/easy-mmode.el (define-minor-mode):
8280 Relax :variable's test for a named function.
8282 2012-01-31 Alan Mackenzie <acm@muc.de>
8284 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8287 2012-01-31 Chong Yidong <cyd@gnu.org>
8289 * frame.el (set-frame-font): New arg ALL-FRAMES.
8291 * menu-bar.el (menu-set-font): Use set-frame-font.
8293 * faces.el (face-spec-reset-face): Don't apply unspecified
8294 attribute values to the default face.
8296 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
8298 * progmodes/cwarn.el (cwarn): Remove dead link.
8299 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8300 Remove * from defcustom docstrings.
8301 (turn-on-cwarn-mode): Make obsolete.
8302 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8303 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8305 2012-01-31 Glenn Morris <rgm@gnu.org>
8307 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8308 Fix :variable handling of mode a symbol not equal to modefun.
8309 Allow named functions to be used as the cdr of :variable.
8311 2012-01-30 Glenn Morris <rgm@gnu.org>
8313 * emacs-lisp/authors.el (authors-fixed-entries):
8314 Remove reference to deleted file rnewspost.el.
8316 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8318 * window.el (window-with-parameter): Remove unused variable `windows'.
8319 (window--side-check): Remove unused variable `code'.
8320 (window--resize-siblings): Remove unused variable `first'.
8321 (adjust-window-trailing-edge): Remove unused variable `failed'.
8322 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8323 Use `let', not `let*'.
8324 (balance-windows-2): Remove unused variable `found'.
8325 (window--state-put-2): Remove unused variable `splits'.
8326 (window-state-put): Remove unused variable `selected'.
8327 (same-window-p): Use `string-match-p'.
8328 (display-buffer-assq-regexp): Remove unused variable `value'.
8329 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8330 Mark argument ALIST as ignored.
8331 (pop-to-buffer): Remove unused variable `old-window'.
8333 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8335 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8336 and .lzma compressed files.
8338 2012-01-29 Chong Yidong <cyd@gnu.org>
8340 * frame.el (window-system-default-frame-alist): Doc fix.
8342 * dynamic-setting.el (font-setting-change-default-font): Don't
8343 change the default face if SET-FONT argument is non-nil (Bug#9982).
8345 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8347 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8349 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8351 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8352 breakpoints in files outside current directory (Bug#6098).
8354 2012-01-29 Chong Yidong <cyd@gnu.org>
8356 * progmodes/python.el: Require ansi-color at top-level.
8358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8359 Define and use in Emacs Lisp mode (Bug#9360).
8360 (lisp-mode-abbrev-table): Add doc.
8361 (lisp-mode-variables): Don't set local-abbrev-table.
8362 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8364 2012-01-28 Roland Winkler <winkler@gnu.org>
8366 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8368 2012-01-28 Roland Winkler <winkler@gnu.org>
8370 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8371 (bibtex-set-dialect): Use it. Either set global values of
8372 dialect-dependent variables or bind these variables buffer-locally
8374 (bibtex-mode): Call bibtex-set-dialect via
8375 hack-local-variables-hook.
8376 (bibtex-dialect): Update docstring.
8377 Add safe-local-variable predicate.
8378 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8380 (bibtex-mode-map): Define menu for each dialect.
8381 (bibtex-entry): Fix docstring.
8383 2012-01-28 Chong Yidong <cyd@gnu.org>
8385 * eshell/esh-arg.el (eshell-quote-argument): New function.
8387 * eshell/esh-ext.el (eshell-invoke-batch-file):
8388 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8389 first arg to eshell-parse-command (Bug#10523).
8391 2012-01-28 Drew Adams <drew.adams@oracle.com>
8393 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8394 `default-directory' is non-nil.
8396 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8398 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8399 line that displays system-configuration-options. (Bug#9924)
8401 2012-01-28 Drew Adams <drew.adams@oracle.com>
8403 * descr-text.el (describe-char): Show information about POS, in
8404 addition to information about the character at POS. Improve and
8405 update the doc string. Change "code point" to "code point in
8406 charset", to avoid confusion with the character's Unicode code
8407 point shown above that. (Bug#10129)
8409 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8411 * descr-text.el (describe-char): Show the raw character, not only
8412 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8413 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8416 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8418 * emacs-lisp/package.el (package-install):
8419 Run package-refresh-contents if there is no archive yet (Bug#9798).
8421 2012-01-28 Chong Yidong <cyd@gnu.org>
8423 * emacs-lisp/package.el (package-maybe-load-descriptor):
8424 New function, split from package-maybe-load-descriptor.
8425 (package-maybe-load-descriptor): Use it.
8426 (package-download-transaction): Fully load required packages
8427 inside the loop, so that `require' calls work (Bug#10593).
8428 (package-install): No need to call package-initialize now.
8430 2012-01-28 Chong Yidong <cyd@gnu.org>
8432 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8434 * tooltip.el (tooltip-mode): Doc fix.
8435 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8437 * frame.el (set-cursor-color): Doc fix (Bug#352).
8439 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8440 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8442 * cus-edit.el (custom-buffer-create-internal): Fix search button
8444 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8446 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8448 * dired.el (dired-mark-files-regexp):
8449 Include any subdirectory components. (Bug#10445)
8451 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8453 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8454 Handle [host]:port syntax. (Bug#10533)
8456 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8458 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8460 2012-01-26 Glenn Morris <rgm@gnu.org>
8462 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8463 * term.el (term-raw-escape-map): Use Control-X-prefix.
8464 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8466 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8468 * window.el (window-state-get, window--state-get-1): Don't deal
8469 with fixed-sizeness of windows. Simplify code.
8471 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8473 * window.el (window--state-get-1, window--state-put-2):
8474 Don't save and restore the mark.
8476 2012-01-25 Chong Yidong <cyd@gnu.org>
8478 * custom.el (custom-variable-p): Doc fix.
8480 2012-01-25 Glenn Morris <rgm@gnu.org>
8482 * dired.el (dired-goto-file): Handle some of the more common
8483 characters that `ls -b' escapes. (Bug#10596)
8485 * progmodes/compile.el (compilation-next-error-function):
8486 Respect compilation-first-column in the "*compilation*" buffer.
8487 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8489 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8491 2012-01-24 Glenn Morris <rgm@gnu.org>
8493 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8495 2012-01-24 Julien Danjou <julien@danjou.info>
8497 * color.el (color-rgb-to-hsl): Fix value computing.
8498 (color-hue-to-rgb): New function.
8499 (color-hsl-to-rgb): New function.
8500 (color-clamp, color-saturate-hsl, color-saturate-name)
8501 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8502 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8504 2012-01-24 Glenn Morris <rgm@gnu.org>
8506 * vc/vc-rcs.el (vc-rcs-create-tag):
8507 * vc/vc-sccs.el (vc-sccs-create-tag):
8508 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8510 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8512 * eshell/esh-util.el (eshell-read-hosts-file):
8513 Skip comment lines. (Bug#10549)
8515 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8517 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8519 * subr.el (display-delayed-warnings): Doc fix.
8520 (collapse-delayed-warnings): New function to collapse identical
8522 (delayed-warnings-hook): Add it.
8524 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8526 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8528 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8529 (tramp-default-user-alist): Don't add "pscp".
8530 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8531 property "login-as", if set. (Bug#10530)
8533 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8535 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8536 "plink1" and "psftp". (Bug#10530)
8538 2012-01-21 Kenichi Handa <handa@m17n.org>
8540 * international/mule-cmds.el (prefer-coding-system): Show a
8541 warning message if the default value of file-name-coding-system
8544 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8546 * windmove.el (windmove-reference-loc):
8547 Fix windmove-reference-loc miscalculation.
8549 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8551 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8554 2012-01-21 Glenn Morris <rgm@gnu.org>
8556 * international/mule.el (auto-coding-alist): Add .tbz.
8558 * files.el (local-enable-local-variables): Doc fix.
8559 (inhibit-local-variables-regexps): Rename from
8560 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8561 Doc fix. Add some extensions from auto-coding-alist.
8562 (inhibit-local-variables-suffixes):
8563 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8564 (inhibit-local-variables-p):
8565 New function, extracted from set-auto-mode-1.
8566 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8567 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8568 (hack-local-variables): Doc fix. Make the mode-only case
8569 respect enable-local-variables and friends.
8570 Respect inhibit-local-variables-regexps for file-locals, but
8571 not for directory-locals.
8572 (set-visited-file-name):
8573 Take account of inhibit-local-variables-regexps.
8574 Whether it applies may change as the file name is changed.
8575 * jka-cmpr-hook.el (jka-compr-install):
8576 * jka-compr.el (jka-compr-uninstall):
8577 Update for inhibit-first-line-modes-suffixes name change.
8579 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8581 * help-macro.el (make-help-screen): Temporarily restore original
8582 binding for minor-mode-map-alist (Bug#10454).
8584 2012-01-19 Julien Danjou <julien@danjou.info>
8586 * color.el (color-name-to-rgb): Use the white color to find the max
8587 color component value and return correctly computed values.
8588 (color-name-to-rgb): Add missing float conversion for max value.
8590 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8592 * window.el (window--state-get-1, window-state-get): Do not use
8593 special state value for window-persistent-parameters.
8594 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8595 (window--state-put-2): Reset all window parameters to nil before
8596 assigning values of persistent parameters.
8598 2012-01-18 Alan Mackenzie <acm@muc.de>
8600 Eliminate sluggishness and hangs in fontification of "semicolon
8603 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8604 Change value 10000 -> 3000.
8605 (c-state-safe-place): Reformulate so it doesn't stack up an
8606 infinite number of wrong entries in c-state-nonlit-pos-cache.
8607 (c-determine-limit-get-base, c-determine-limit): New functions to
8608 determine backward search limits disregarding literals.
8609 (c-find-decl-spots): Amend commenting.
8610 (c-cheap-inside-bracelist-p): New function which detects "={".
8612 * progmodes/cc-fonts.el
8613 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8615 (c-font-lock-declarations): Fix an occurrence of point being
8616 undefined. Check additionally for point being in a bracelist or
8617 near a macro invocation without a semicolon so as to avoid a
8618 fruitless time consuming search for a declarator. Give a more
8619 precise search limit for declarators using the new
8622 2012-01-18 Glenn Morris <rgm@gnu.org>
8624 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8625 (set-auto-mode): Doc fixes.
8627 2012-01-17 Glenn Morris <rgm@gnu.org>
8629 * isearch.el (search-nonincremental-instead): Fix doc typo.
8631 * dired.el (dired-insert-directory): Handle newlines in directory name.
8632 (dired-build-subdir-alist): Unescape newlines in directory name.
8634 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8636 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8637 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8638 (tramp-action-terminal): Use it. (Bug#10530)
8640 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8644 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8646 * window.el (window-state-ignored-parameters): Remove variable.
8647 (window--state-get-1): Rename argument MARKERS to IGNORE.
8648 Handle persistent window parameters. Make copy of clone-of
8649 parameter only if requested. (Bug#10348)
8650 (window--state-put-2): Install a window parameter only if it has
8651 a non-nil value or an existing parameter shall be overwritten.
8653 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8655 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8657 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8659 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8660 don't pass the (nil) value of `upnode' to string-match.
8662 2012-01-14 Chong Yidong <cyd@gnu.org>
8664 * startup.el (command-line): Fix X resource class for cursorColor.
8665 Fix values recognized by the cursorBlink resource.
8667 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8669 * epg.el (epg--make-temp-file): Avoid permission race condition
8670 when running on old Emacs versions (bug#10403).
8672 2012-01-14 Glenn Morris <rgm@gnu.org>
8674 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8676 2012-01-13 Alan Mackenzie <acm@muc.de>
8678 Fix filling for when filladapt mode is enabled.
8680 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8681 c-mask-paragraph, pass in `fill-paragraph' rather than
8682 `fill-region-as-paragraph'. (This is a reversion of a previous
8684 * progmodes/cc-mode.el (c-basic-common-init):
8685 Make fill-paragraph-handle-comment buffer local and set it to nil.
8687 2012-01-13 Glenn Morris <rgm@gnu.org>
8689 * dired.el (dired-switches-escape-p): New function.
8690 (dired-insert-directory): Use dired-switches-escape-p.
8691 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8693 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8695 2012-01-12 Glenn Morris <rgm@gnu.org>
8697 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8698 changes in adaptive-fill-regexp. (Bug#10276)
8700 2012-01-11 Alan Mackenzie <acm@muc.de>
8702 Fix Emacs bug #10463 - put `widen's around the critical spots.
8704 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8705 widen around each invocation of c-state-pp-to-literal. Remove an
8706 unused let variable.
8708 2012-01-11 Glenn Morris <rgm@gnu.org>
8710 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8713 2012-01-10 Chong Yidong <cyd@gnu.org>
8715 * net/network-stream.el (network-stream-open-starttls):
8716 Avoid emitting a confusing error message when the server gives a bad
8717 response to the capability command.
8719 2012-01-10 Glenn Morris <rgm@gnu.org>
8721 * mail/unrmail.el (unrmail): Tweak previous change.
8723 2012-01-09 Chong Yidong <cyd@gnu.org>
8725 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8727 2012-01-08 Alan Mackenzie <acm@muc.de>
8729 Optimise font locking in long enum definitions.
8731 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8732 arm to a cond form to handle enums.
8733 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8734 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8736 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8738 * files.el (move-file-to-trash): Preserve default file modes on error.
8741 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8743 * faces.el (set-face-attribute): Clarify the meaning of the nil
8746 * subr.el (with-selected-frame): Mention that the selected frame
8747 is restored (bug#9980).
8749 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8752 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8753 (password-read): Don't autoload unused function.
8755 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8757 * progmodes/which-func.el (which-func-mode): Turn into a
8758 non-interactive function and mark as obsolete (bug#10428).
8760 2012-01-06 Chong Yidong <cyd@gnu.org>
8762 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8763 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8764 functions, along with 1 and -1.
8766 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8768 * time.el (display-time-load-average)
8769 (display-time-default-load-average): Doc fixes. See the thread
8771 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8774 2012-01-06 Glenn Morris <rgm@gnu.org>
8776 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8777 has no messages. (Bug#10377)
8779 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8780 than Info-edit. (Bug#10385)
8782 * time.el (display-time-load-average, display-time-next-load-average):
8785 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8786 local setting of buffer-read-only to the input buffer. (Bug#10419)
8788 * calendar/calendar.el (calendar-mode):
8789 Locally set scroll-margin to 0. (Bug#10379)
8791 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8793 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8795 2012-01-05 Glenn Morris <rgm@gnu.org>
8797 * eshell/em-unix.el (diff-no-select): Autoload it.
8798 (eshell/diff): Use diff-no-select. (Bug#10420)
8800 2012-01-05 Chong Yidong <cyd@gnu.org>
8802 * shell.el (shell-dynamic-complete-functions): Revert last change.
8803 (shell-command-completion-function): New function.
8804 (shell-completion-vars): Use it to implement
8805 shell-completion-execonly (Bug#10417).
8807 * custom.el (enable-theme): Don't set custom-safe-themes.
8809 * cus-theme.el (custom-theme-merge-theme):
8810 Ignore custom-enabled-themes and custom-safe-themes.
8812 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8814 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8815 first prompt in `sql-interacive-mode'.
8816 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8818 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8819 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8820 context of original buffer. Invoke `sql-login-hook'.
8822 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8824 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8825 letters in cite-prefix.
8827 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8829 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8831 2012-01-03 Chong Yidong <cyd@gnu.org>
8833 * shell.el (shell-dynamic-complete-functions):
8834 Put pcomplete-completions-at-point, so as to try
8835 comint-filename-completion first (Bug#10417).
8837 2012-01-02 Richard Stallman <rms@gnu.org>
8839 * battery.el (battery-status-function):
8840 Detect when to use battery-yeeloong-sysfs.
8841 (battery-echo-area-format): Add string for Yeeloong.
8842 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8843 (battery-yeeloong-sysfs): New function.
8845 2012-01-02 Chong Yidong <cyd@gnu.org>
8847 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8848 (dirtrack): Merge code for handling relative filenames in prompt
8849 from shell-dir-cookie-watcher.
8850 (dirtrack-debug-message): New arg to avoid excess format calls.
8852 * shell.el (shell-dir-cookie-re): Variable deleted.
8853 (shell-dir-cookie-watcher): Function deleted.
8854 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8857 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8859 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8860 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8863 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8865 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8867 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8869 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8870 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8872 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8874 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8875 also for alternative shells.
8876 (tramp-open-connection-setup-interactive-shell): Check, whether
8877 the shell is a busybox.
8878 (tramp-send-command): Don't suppress multiple prompts for
8879 busyboxes, it hurts.
8881 2011-12-28 Chong Yidong <cyd@gnu.org>
8883 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8884 (gdb-get-source-file): Move mode line update to
8885 gdb-get-source-file (Bug#10087).
8887 2011-12-25 Chong Yidong <cyd@gnu.org>
8889 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8890 gud-gdb-marker-filter without taking it as an argument.
8891 (gud-gdb-run-command-fetch-lines): Caller changed.
8892 (gud-gdb-completion-function): New variable.
8893 (gud-gdb-completion-at-point): Use it.
8894 (gud-gdb-completions-1): Split from gud-gdb-completions.
8896 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8897 function as separate arguments.
8898 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8899 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8900 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8901 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8902 (gdb-stopped, def-gdb-auto-update-trigger)
8903 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8904 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8906 (gud-gdbmi-completions): New function.
8907 (gdb): Use it for generating the completion table.
8909 2011-12-24 Alan Mackenzie <acm@muc.de>
8911 Introduce a mechanism to widen the region used in context font
8912 locking. Use this to protect declarations from losing their contexts.
8914 * progmodes/cc-langs.el (c-before-font-lock-functions):
8915 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8916 (c-before-context-fontification-functions): New defvar, a list of
8917 functions to be run just before context (etc.) font locking.
8919 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8920 New, functionality extracted from
8921 c-neutralize-syntax-in-and-mark-CPP.
8922 (c-in-after-change-fontification): New variable.
8923 (c-after-change): Set c-in-after-change-fontification.
8924 (c-set-fl-decl-start): Rejig its interface, so it can be called
8925 from both after-change and context fontifying.
8926 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8928 (c-standard-font-lock-fontify-region-function): New variable.
8929 (c-font-lock-fontify-region): New function.
8931 2011-12-24 Juri Linkov <juri@jurta.org>
8933 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8936 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8938 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8939 existence of source file. (Bug#10325)
8941 2011-12-23 Alan Mackenzie <acm@muc.de>
8943 Fix unstable fontification inside templates.
8945 * progmodes/cc-langs.el (c-before-font-lock-functions):
8946 Newly created from the singular version. The (c c++ objc) entry now
8947 additionally has c-set-fl-decl-start. The other languages (apart
8948 from AWK) have that as a single entry.
8950 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8951 The functionality for "local" declarations has been extracted to
8952 c-set-fl-decl-start.
8954 * progmodes/cc-mode.el (c-common-init, c-after-change):
8955 Changes due to pluralisation of c-before-font-lock-functions.
8956 (c-set-fl-decl-start): New function, extracted from
8957 c-font-lock-enclosing-decls and enhanced.
8959 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8961 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8963 2011-12-22 Juri Linkov <juri@jurta.org>
8965 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8967 2011-12-22 Chong Yidong <cyd@gnu.org>
8969 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8971 2011-12-21 Drew Adams <drew.adams@oracle.com>
8973 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8975 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8977 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8979 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8981 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8982 highlighting and support. Fix up comments for capitalization.
8983 (cfengine-mode-debug): New var.
8984 (cfengine3-mode): Change the modeline indicator to "CFE3".
8985 (cfengine3-font-lock-keywords): Improve defun highlighting.
8986 (cfengine2-actions): Rename from `cfengine-actions'.
8987 (cfengine2-font-lock-keywords): Rename from
8988 `cfengine-font-lock-keywords'.
8989 (cfengine2-imenu-expression): Rename from
8990 `cfengine-imenu-expression'.
8991 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8992 (cfengine2-beginning-of-defun): Rename from
8993 `cfengine-beginning-of-defun'.
8994 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8995 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8996 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8997 modeline indicator to "CFE2".
8998 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8999 (cfengine-mode-abbrevs): Mark obsolete.
9001 2011-12-21 Chong Yidong <cyd@gnu.org>
9003 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9006 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9008 * window.el (window-normalize-buffer-to-display): Remove.
9009 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9011 2011-12-19 Chong Yidong <cyd@gnu.org>
9013 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9014 Don't signal an error in a predicate function; return non-nil.
9015 (vc-dir-mark-file): Move the error here.
9016 (vc-dir-mark-unmark): If acting on the region, keep going if one
9017 of the entries cannot be marked/unmarked.
9018 (vc-dir-mark-all-files): If current entry is a directory, mark
9019 only child files, as documented.
9021 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9023 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9024 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9027 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9029 * term/ns-win.el (ns-get-selection-internal)
9030 (ns-store-selection-internal): Declare.
9031 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9032 Declare as obsolete.
9033 (ns-get-pasteboard, ns-paste-secondary):
9034 Use ns-get-selection-internal.
9035 (ns-set-pasteboard, ns-copy-including-secondary):
9036 Use ns-store-selection-internal.
9038 2011-12-17 Chong Yidong <cyd@gnu.org>
9040 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9041 (vc-deduce-fileset): Doc fix.
9043 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9045 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9047 2011-12-13 Sam Steingold <sds@gnu.org>
9049 * man.el (Man-getpage-in-background): When running under a
9050 window-system, ignore $MANWIDTH and $COLUMNS.
9052 2011-12-15 Kenichi Handa <handa@m17n.org>
9054 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9055 (setup-ethiopic-environment-internal): Comment out key-binding for
9056 ethio-toggle-punctuation.
9058 2011-12-13 Alan Mackenzie <acm@muc.de>
9060 Add the switch statement to AWK Mode.
9062 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9063 "default" to the keywords regexp.
9065 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9066 expression as the rest.
9067 (c-nonlabel-token-key): Allow string literals for AWK.
9068 Refactor for the other modes.
9070 Large brace-block initialisation makes CC Mode slow: Fix.
9071 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9072 routines. Limit backward searching in c-font-lock-enclosing.decl.
9074 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9075 pp-state and literal type in addition to the limits.
9076 (c-state-safe-place): New defun, extracted from c-state-literal-at.
9077 (c-state-literal-at): Use the above new defun.
9078 (c-slow-in-literal, c-fast-in-literal): Remove.
9079 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9081 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9082 being in a literal. Add a limit for backward searching.
9084 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9087 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9091 2011-12-13 Martin Rudalics <rudalics@gmx.at>
9093 * window.el (delete-other-windows): Use correct frame in call to
9094 window-with-parameter.
9096 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9098 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9099 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9100 (makefile-gmake-statements, makefile-makepp-statements):
9101 Use it and add new makepp keywords.
9102 (makefile-makepp-font-lock-keywords): Add new patterns.
9103 (makefile-match-function-end): Match new [...] and [[...]].
9105 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
9107 * ses.el (ses-call-printer-return, ses-cell-property-get)
9108 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9109 (ses-create-cell-variable, ses-reset-header-string)
9110 (ses-cell-set-formula, ses-repair-cell-reference-all)
9111 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9112 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9113 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9114 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9115 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9116 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9117 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9118 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9119 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9120 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9121 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9122 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9124 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9126 * ses.el: The overall change is to add cell renaming, that is
9127 setting fancy names for cell symbols other than name matching
9128 "\\`[A-Z]+[0-9]+\\'" regexp .
9129 (ses-create-cell-variable): New defun.
9130 (ses-relocate-formula): Relocate formulas only for cells the
9131 symbols of which are not renamed, i.e. symbols whose names do not
9132 match regexp "\\`[A-Z]+[0-9]+\\'".
9133 (ses-relocate-all): Relocate values only for cells the symbols of
9134 which are not renamed.
9135 (ses-load): Create cells variables as the (ses-cell ...) are read,
9136 in order to check row col consistency with cell symbol name only
9137 for cells that are not renamed.
9138 (ses-replace-name-in-formula): New defun.
9139 (ses-rename-cell): New defun.
9141 2011-12-11 Chong Yidong <cyd@gnu.org>
9143 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9144 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9146 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9148 * window.el (other-window): Fix docstring.
9150 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9152 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9153 `from' or `to' address before taking its substring.
9154 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9155 encoded name is chopped in the middle of the encoded string, and
9156 thus displayed encoded.
9158 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
9160 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9162 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9164 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9165 to use texinfo-update-node and commands that call it if the
9166 Texinfo file uses @node lines without next/prev/up pointers.
9167 Correct outdated description about texinfo-master-menu.
9168 (texinfo-all-menus-update, texinfo-master-menu)
9169 (texinfo-update-node, texinfo-every-node-update)
9170 (texinfo-multiple-files-update): Doc fix. Warn against updating
9171 all the @node lines.
9172 (texinfo-master-menu): Only call texinfo-update-node if the prefix
9173 argument is numeric. Explain better in the doc string what the
9174 function really does.
9175 (texinfo-insert-master-menu-list): Improve the error message
9176 displayed if there's no menu in the Top node.
9177 (Bug#2975) See also this thread:
9178 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9180 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
9182 * speedbar.el (speedbar-supported-extension-expressions):
9183 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9185 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
9187 * printing.el (pr-mode-alist):
9188 * simple.el (filter-buffer-substring-functions)
9189 (completion-list-insert-choice-function):
9190 * window.el (window-with-parameter, window-atom-root)
9191 (window-sides-slots, window-size-fixed, window-min-delta)
9192 (window-max-delta, window--resize-mini-window)
9193 (window--resize-child-windows-normal, window-tree)
9194 (delete-other-windows, quit-window, split-window)
9195 (display-buffer-record-window, special-display-buffer-names)
9196 (special-display-regexps, special-display-popup-frame)
9197 (same-window-p, split-window-sensibly)
9198 (display-buffer-overriding-action, display-buffer-alist)
9199 (display-buffer-base-action, display-buffer, switch-to-buffer)
9200 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9201 (fit-window-to-buffer, recenter-positions)
9202 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9203 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9204 and remove unneeded backslashes in docstrings.
9206 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9208 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9210 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9211 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9213 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9214 when reading the makefile (bug#10116).
9216 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9218 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9221 2011-12-06 Glenn Morris <rgm@gnu.org>
9223 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9225 2011-12-06 Chong Yidong <cyd@gnu.org>
9227 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9229 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
9231 * textmodes/table.el (table-shorten-cell): Fix typo.
9233 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9235 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9237 2011-12-05 Eli Zaretskii <eliz@gnu.org>
9239 * descr-text.el (describe-char): Fix display of strong
9240 right-to-left characters and directional embeddings and overrides.
9242 * simple.el (what-cursor-position): Fix display of codepoints of
9243 strong right-to-left characters.
9245 2011-12-05 Chong Yidong <cyd@gnu.org>
9247 * faces.el (read-color): Doc fix.
9249 2011-12-05 Glenn Morris <rgm@gnu.org>
9251 * align.el (align--set-marker): Add doc-string.
9252 Don't try to move something that is not a marker. (Bug#10216)
9254 2011-12-04 Glenn Morris <rgm@gnu.org>
9256 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9257 overly zealous deletion of trailing whitespace.
9259 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
9261 * server.el (server-delete-client): On Windows, do not try to delete
9263 (server-process-filter): On Windows, treat requests for a tty frame as
9264 if they were for a GUI frame if the running server is in GUI mode.
9266 2011-12-03 Glenn Morris <rgm@gnu.org>
9268 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9270 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9272 * electric.el: Streamline electric-indent's hook.
9273 (electric-indent-chars): Revert to simple list.
9274 (electric-indent-functions): New var.
9275 (electric-indent-post-self-insert-function): Use it.
9277 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9278 there's no inferior buffer (bug#10196).
9279 (prolog-consult-compile): Don't use toggle-read-only.
9281 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
9283 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9284 interrupt. (Bug#10187)
9286 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9291 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9294 2011-12-02 Juri Linkov <juri@jurta.org>
9296 * info.el (Info-search): Display "end of manual" when Isearch
9297 reaches the end of single-file Info manual. (Bug#9918)
9299 2011-12-02 Eli Zaretskii <eliz@gnu.org>
9301 * isearch.el (isearch-message-prefix): Run the input method part
9302 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9304 2011-12-02 Juri Linkov <juri@jurta.org>
9306 * isearch.el (isearch-occur): Use `word-search-regexp' for
9308 (isearch-search-and-update): Add condition for `isearch-word' and
9309 call `word-search-regexp'. (Bug#10145)
9311 2011-12-01 Glenn Morris <rgm@gnu.org>
9313 * eshell/em-hist.el (eshell-hist-initialize):
9314 Handle eshell-history-size nil and HISTSIZE set or unset.
9315 (eshell-history-file-name, eshell-history-size): Fix custom type.
9317 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9321 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9323 * progmodes/verilog-mode.el (verilog-pretty-expr):
9324 Rework verilog-pretty-expr to handle new assignment operators in system
9325 verilog, such as += *= and the like.
9326 (verilog-assignment-operator-re): Regular expression to find the
9327 assigment operator in a verilog assignment.
9328 (verilog-assignment-operation-re): Regular expression to find an
9329 assignment statement for pretty-expr.
9330 (verilog-in-attribute-p): Query returns true if point is in an
9331 attribute context; used to skip these for expression line up from
9333 (verilog-in-parameter-p): Query returns true if point is in an
9334 parameter definition context; used to skip these for expression
9335 line up from pretty-expr.
9336 (verilog-in-parenthesis-p): Query returns true if point is in a
9337 parenthetical expression, specifically ( ) but not [ ] or { };
9338 used by pretty-expr.
9339 (verilog-just-one-space): If there is no space, don't add one.
9340 (verilog-get-lineup-indent-2): Specifically skip just attribute
9341 contexts for expression lineup, rather than skipping all
9342 parenthetical expressions.
9343 (verilog-calculate-indent): Fix comment, and fix indent.
9344 (verilog-do-indent): Indent declarations in lists (suggested by
9346 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9348 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9351 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9353 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9354 parameters with embedded comments. Reported by Ray Stevens.
9355 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9356 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9357 Reported by Tim Holt.
9358 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9359 instantiated by upper module causing wrong expansion until AUTOed a
9360 second time. Reported by K C Buckenmaier.
9361 (verilog-diff-auto): Fix showing .* as a difference when
9362 `verilog-auto-star-save' off. Reported by Dan Dever.
9363 (verilog-auto-reset, verilog-read-always-signals)
9364 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9365 temporary signals in reset list if
9366 verilog-auto-reset-blocking-in-non is nil, and match assignment
9367 style to each signal's assignment type, bug381.
9368 Reported by Thomas Esposito.
9369 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9370 (verilog-uvm-statement-re): Support UVM indentation and
9371 highlighting, with old OVM keywords only.
9372 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9373 Support AUTOTIEOFF creating non-wire data types.
9374 Suggested by Jonathan Greenlaw.
9375 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9376 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9377 (verilog-inject-sense, verilog-read-inst-pins)
9378 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9379 Fix mismatching parenthesis inside commented out code when deleting
9380 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9381 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9382 non-numeric vector width. Reported by Alex Reed.
9383 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9384 detecting signals with parameter widths. Reported by Alex Reed.
9385 (verilog-auto-delete-trailing-whitespace):
9386 With `verilog-auto-delete-trailing-whitespace' remove trailing
9387 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9388 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9389 Fix verilog-scan-cache corruption when running user AUTO expansion
9390 hooks that call indentation routines.
9391 (verilog-simplify-range-expression): Fix typo ignoring lower case
9393 (verilog-delete-auto): Fix delete-autos to also remove user created
9394 automatics, as long as they start with AUTO.
9395 (verilog-batch-diff-auto, verilog-diff-auto)
9396 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9397 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9398 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9399 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9400 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9401 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9402 is disabled and its cache will get corrupt, causing AUTOS not to
9403 expand. Instead use only -quick functions.
9404 (verilog-scan-region): Fix scanning over escaped quotes.
9405 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9406 (verilog-re-search-backward-quick)
9407 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9408 related functions now ignore strings, to fix misparsing of strings
9409 with magic comments embedded in them.
9410 (verilog-read-auto-template):
9411 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9412 Reported by Brad Dobbie.
9413 (verilog-read-auto-template):
9414 Fix 'verilog-auto-inst-template-numbers' with comments.
9415 Reported by Brad Dobbie.
9416 (verilog-auto-inst, verilog-auto-inst-param)
9417 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9418 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9419 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9420 debugging templates without merge conflicts, bug357.
9421 Reported by Brad Dobbie.
9422 (verilog-read-auto-template):
9423 Fix verilog-auto-inst-template-numbers with multiple templates.
9424 Reported by Brad Dobbie.
9425 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9426 abbrevs so user won't be asked to save.
9427 (verilog-read-auto-lisp-present): Fix to start at beginning of
9428 buffer in case called outside of verilog-auto.
9429 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9430 to "X-2". Reported by Matthew Myers.
9431 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9432 all inputs from module templates. Reported by Leith Johnson.
9433 (verilog-module-inside-filename-p): Fix locating programs as with
9435 (verilog-auto-inst-port): Fix vl-width expressions when using
9436 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9437 (verilog-decls-get-regs, verilog-decls-get-signals,
9438 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9439 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9440 verilog-read-decls): Combine reg and wire structures into one var
9441 structure to represent SystemVerilog concepts.
9442 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9443 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9444 (verilog-auto-wire-type, verilog-insert-definition):
9445 Add verilog-auto-wire-type and AUTOLOGIC to support using
9446 SystemVerilog "logic" keyword instead of "wire"/"reg".
9447 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9448 to declares outputs that also have assignments (presumably in an
9449 ifdef or generate if so there's not a driver conflict).
9450 Reported by Matthew Myers.
9451 (verilog-auto-declare-nettype, verilog-insert-definition):
9452 Add verilog-auto-declare-nettype to fix declarations using
9453 `default_nettype none. Reported by Julian Gorfajn.
9454 (verilog-read-always-signals-recurse, verilog-read-decls)
9455 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9456 malformed end statement, bug325. Reported by Joshua Wise and
9458 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9459 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9460 when expanding .* in interfaces, bug320.
9461 Reported by Pierre-David Pfister.
9462 (verilog-read-module-name): Fix import statements between module
9463 name and open parenthesis, bug317.
9464 Reported by Pierre-David Pfister.
9465 (verilog-simplify-range-expression): Fix simplification of
9466 multiplications inside AUTOWIRE connections, bug303.
9467 (verilog-auto-inst-port): Support parameter expansion in
9468 multidimensional arrays.
9469 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9470 after "assert property". Reported by Julian Gorfajn.
9471 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9472 with multiplication, bug303.
9473 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9474 Reported by Jan Frode Lonnum.
9476 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9478 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9479 (hfy-shell-file-name, hfy-shell):
9480 * international/fontset.el (x-decompose-font-name): Fix typos.
9482 2011-11-29 Ken Brown <kbrown@cornell.edu>
9484 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9485 (gdb-version): Remove defvar.
9486 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9487 (gdb-gud-context-command, gdb-non-stop-handler)
9488 (gdb-current-context-command, gdb-stopped): Use it.
9489 (gdb-init-1): Enable pretty printing here.
9490 (gdb-non-stop-handler): Don't enable pretty-printing here.
9491 Check to see if the target supports non-stop mode; if not, turn off
9492 non-stop mode. Use the following.
9493 (gdb-check-target-async): New defun.
9494 (gud-watch, gdb-stopped): Fix whitespace.
9495 (gdb-get-source-file): Don't try to display the source file if
9496 `gdb-main-file' is nil.
9498 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9500 * align.el: Try to generate fewer markers (bug#10047).
9501 (align--set-marker): New macro.
9502 (align-region): Use it.
9504 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9506 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9508 2011-11-29 Chong Yidong <cyd@gnu.org>
9510 * indent.el (indent-for-tab-command, indent-according-to-mode):
9512 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9514 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9516 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9517 aware of remote file names. (Bug#10124)
9519 2011-11-29 Chong Yidong <cyd@gnu.org>
9521 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9523 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * files.el (find-file): Don't use force-same-window (bug#10144).
9526 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9527 use pop-to-buffer if the selected window can't be used.
9528 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9530 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9532 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9535 2011-11-28 Chong Yidong <cyd@gnu.org>
9537 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9539 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9541 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9542 gdb-get-source-file-list on gdb-create-source-file-list.
9544 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9546 * whitespace.el (whitespace-newline): Use a different foreground
9547 color for 16-color light-background displays.
9549 2011-11-24 Chong Yidong <cyd@gnu.org>
9551 * window.el (display-buffer--special-action): Doc fix.
9553 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9555 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9556 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9557 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9558 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9559 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9560 (avl-tree-stack-first):
9561 * emacs-lisp/cconv.el (cconv--analyse-use):
9562 * net/gnutls.el (gnutls-negotiate): Fix typos.
9564 2011-11-24 Glenn Morris <rgm@gnu.org>
9566 * lpr.el (lpr-windows-system, lpr-lp-system):
9567 * mail/binhex.el (binhex-begin-line):
9568 * progmodes/grep.el (grep-history, grep-find-history):
9569 * textmodes/flyspell.el:
9570 * vc/pcvs-defs.el (cvs-global-menu):
9571 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9572 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9573 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9575 * net/tls.el: Fix case of "GnuTLS".
9577 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9579 * version.el (emacs-build-system): Give it a doc-string.
9581 2011-11-24 Juri Linkov <juri@jurta.org>
9583 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9585 2011-11-24 Glenn Morris <rgm@gnu.org>
9587 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9588 if called on a non-mime message just toggle the headers. (Bug#8006)
9590 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9592 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9593 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9594 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9595 (allout-rebullet-heading, allout-open-sibtopic)
9596 (allout-toggle-current-subtree-encryption)
9597 (allout-toggle-subtree-encryption, allout-encrypt-string)
9598 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9599 (allout-distinctive-bullets-string, allout-auto-activation):
9600 * window.el (window-normalize-buffer-to-display):
9601 * progmodes/verilog-mode.el (verilog-batch-indent):
9602 * textmodes/bibtex.el (bibtex-field-braces-opt)
9603 (bibtex-field-strings-opt):
9604 * vc/cvs-status.el (cvs-tree-merge):
9607 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9609 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9610 `non-essential' to t, in order to avoid remote connections.
9612 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9614 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9615 On MS-DOS and MS-Windows, compare with loaddefs.el
9618 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9620 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9622 2011-11-23 Glenn Morris <rgm@gnu.org>
9624 * paths.el (rmail-file-name): Reformat the doc-string so that it
9627 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9628 (rmail-auto-file): Ignore case in the "special" field names,
9629 as mail-fetch-field does for all others.
9631 * mail/rmail.el (rmail-forward):
9632 * mail/rmailkwd.el (rmail-set-label):
9633 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9634 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9636 * mail/rmail.el (rmail-current-message): Doc fix.
9638 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9640 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9642 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9644 2011-11-22 Glenn Morris <rgm@gnu.org>
9646 * mail/rmailmm.el (test-rmail-mime-handler)
9647 (test-rmail-mime-bulk-handler)
9648 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9650 2011-11-21 Juri Linkov <juri@jurta.org>
9652 * calc/calc.el (calc-read-key-sequence):
9653 Let-bind `input-method-function' to nil. (Bug#10018)
9655 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9657 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9658 Tell the caller that the next line needs recomputation, even
9659 though it doesn't start a sexp (bug#10094).
9661 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9663 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9665 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9667 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9668 Use force-same-window.
9670 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9672 * descr-text.el (describe-char-unicode-data):
9673 * json.el (json-string-escape):
9674 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9675 (Footnote-unicode, Footnote-style-p):
9676 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9678 2011-11-20 Chong Yidong <cyd@gnu.org>
9680 * window.el (replace-buffer-in-windows): Restore interactive spec.
9682 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9686 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9687 (byte-compile-global-not-obsolete-vars): New var.
9688 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9690 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9692 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9694 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9695 * progmodes/pascal.el (electric-pascal-equal):
9696 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9697 * xml.el (xml-substitute-special): Fix typos.
9699 2011-11-20 Glenn Morris <rgm@gnu.org>
9701 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9702 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9704 (rmail-decode-mime-charset): Mark as obsolete.
9706 * mail/rmailsum.el (rmail-message-regexp-p-1):
9707 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9708 Before using mime functions, check they are set. (Bug#10077)
9710 2011-11-19 Juri Linkov <juri@jurta.org>
9712 * info.el (Info-finder-find-node): Use `package--builtins' instead
9713 of `package-alist'. Use node names formed by the pattern "Keyword "
9714 and the keyword name.
9716 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9718 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9720 2011-11-19 Juri Linkov <juri@jurta.org>
9722 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9723 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9724 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9725 `old-history', `old-history-forward'. Add let-binding
9726 `window-selected'. Remove calls to `kill-buffer',
9727 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9728 before calling `Info-find-node', so `Info-find-node-2' will reread
9729 the Info file. Restore window positions only when `window-selected'
9732 2011-11-19 Juri Linkov <juri@jurta.org>
9734 * isearch.el (isearch-lazy-highlight-new-loop):
9735 Remove condition `(not isearch-error)'. (Bug#9918)
9737 * misearch.el (multi-isearch-search-fun): Add condition
9738 `(not bound)' to ignore lazy-highlighting search.
9739 Add the search-failed message "end of multi" when the end of
9740 multi-sequence is reached. Uncapitalize the search-failed
9741 message "Repeat for next buffer".
9743 * info.el (Info-search): Add the search-failed message
9744 "end of the manual" when the end of the manual is reached
9747 2011-11-19 Juri Linkov <juri@jurta.org>
9749 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9750 Use non-destructive `remove' instead of `delete' because
9751 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9752 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9754 2011-11-19 Juri Linkov <juri@jurta.org>
9756 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9757 to nil instead of binding `search-ring' and `regexp-search-ring'.
9760 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9762 * simple.el (line-move): Force movement by logical lines for any
9763 hscrolled window, not only when auto-hscroll-mode is on.
9764 (line-move-visual): Update doc string to that effect. (Bug#10076)
9766 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9768 * language/european.el (macintosh): Define as alias for mac-roman.
9770 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9772 * mail/rmailmm.el (rmail-mime-display-header)
9773 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9774 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9775 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9776 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9777 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9779 (rmail-mime-entity-segment): To get past the tagline, move forward
9780 2 more lines, to account for the 2 empty lines that precede and
9781 follow the line with the buttons.
9782 (rmail-mime-update-tagline): Move one more line, to get past the
9783 empty line that follows the buttons in the tagline. (Bug#9520)
9785 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9787 * window.el (window-max-delta-1, window-min-delta-1)
9788 (window-min-size-1, window-state-get-1, window-state-put-1)
9789 (window-state-put-2): Use "window--" prefix.
9791 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9794 (smie-warning-count): New var.
9795 (smie-set-prec2tab): Use it.
9796 (smie-bnf->prec2): Improve warnings. Add docstring.
9797 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9798 (smie-bnf--set-class): New function.
9799 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9802 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9803 (compilation-error-properties, compilation-move-to-column):
9804 Handle compilation-first-column while in the target buffer.
9806 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9807 Don't hardcode point-min==1.
9809 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9810 (eshell-rewrite-for-command): Remove workaround.
9811 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9812 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9813 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9815 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9817 2011-11-17 Glenn Morris <rgm@gnu.org>
9819 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9820 Ignore buffer-local generated-autoload-file if it is the same
9821 as the global value. (Bug#10049)
9823 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9825 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9826 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9827 (reftex-toc-previous-heading, reftex-toc-max-level)
9828 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9829 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9830 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9831 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9832 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9833 (reftex-toc-rename-label, reftex-toc-visit-location)
9834 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9835 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9836 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9837 leaving "*toc*" only for references to the buffer.
9839 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9841 * window.el (window-resize, delete-window, split-window):
9842 Replace window-splits by window-combination-resize.
9843 * cus-start.el (window-splits): Replace by window-combination-resize.
9845 2011-11-17 Glenn Morris <rgm@gnu.org>
9847 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9848 Make bash entry derive from sh entry, not shell entry.
9850 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9852 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9855 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9857 * menu-bar.el (menu-bar-file-menu):
9858 * printing.el (pr-ps-utility):
9859 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9860 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9861 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9862 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9863 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9864 (icalendar--convert-cyclic-to-ical)
9865 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9866 (icalendar--convert-ical-to-diary)
9867 (icalendar--convert-recurring-to-diary)
9868 (icalendar--convert-non-recurring-all-day-to-diary)
9869 (icalendar-import-format-sample):
9870 * progmodes/idlw-shell.el (idlwave-shell-mode):
9871 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9872 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9873 (vhdl-ps-print-init): Fix typos.
9875 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9877 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9878 FSF and collapse date sequence, obscure author/maintainer email address
9879 better, remove extra version line, track relocation of author's webpage.
9881 * progmodes/python.el (python-pdbtrack-input-prompt)
9882 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9883 regular python pdb prompts. Adjustments shamelessly taken exactly as
9884 suggested in EmacsWiki page (tiny change):
9885 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9887 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9889 * expand.el (expand-pos, expand-index, expand-point):
9890 Remove redundant info from docstring.
9891 (expand-add-abbrevs): Doc fix.
9892 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9893 (expand-sample-perl-mode-expand-list): Fix typos.
9895 * net/dbus.el (dbus-event-member-name):
9896 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9897 * term/pc-win.el (msdos-create-frame-with-faces):
9898 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9900 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9902 * window.el (split-window, window-state-get-1)
9903 (window-state-put-1, window-state-put-2): Rename occurrences of
9904 window-nest to window-combination-limit.
9905 * cus-start.el (window-nest): Rename to window-combination-limit.
9907 2011-11-16 Chong Yidong <cyd@gnu.org>
9909 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9912 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9915 `completing-read' will remove *Completions* and will preserve
9916 current-buffer for us.
9917 (tmm-add-prompt): Users of *Completions* will always (re)set its
9919 (tmm-old-comp-map): Remove.
9921 2011-11-16 Glenn Morris <rgm@gnu.org>
9923 * mail/rmailedit.el: Require rmailmm when compiling.
9924 (rmail-old-mime-state): New declaration.
9925 (rmail-edit-current-message): If editing a mime message,
9926 edit the "raw" message from the mbox buffer.
9927 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9929 2011-11-15 Glenn Morris <rgm@gnu.org>
9931 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9932 which wasn't being used. Add optional arg to force given state.
9933 (rmail-mime): Add optional arg to force given state.
9935 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9937 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9938 * frame.el (display-mm-dimensions-alist):
9939 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9940 (outline-move-subtree-down):
9941 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9942 (newsticker--treeview-do-get-node):
9943 * net/quickurl.el (quickurl-list-buffer-name):
9944 * progmodes/dcl-mode.el (dcl-mode):
9945 * progmodes/gdb-mi.el (gdb-mapcar*):
9946 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9948 2011-11-15 Glenn Morris <rgm@gnu.org>
9950 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9951 in a boolean sense, so just make it a boolean, and fix the doc.
9952 (rmail-show-mime-function, rmail-mime-feature)
9953 (rmail-require-mime-maybe): Doc fixes.
9954 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9956 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9958 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9960 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9961 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9962 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9963 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9965 2011-11-15 Glenn Morris <rgm@gnu.org>
9967 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9968 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9969 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9970 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9971 (rmail-mime, rmail-show-mime): Doc fixes.
9973 * term/ns-win.el (mode-line-frame-identification):
9974 Leave it alone. (Bug#10051)
9976 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9978 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9979 Handle empty buffers. (Bug#9978)
9981 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9983 * international/mule.el (define-charset):
9984 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9985 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9986 * progmodes/verilog-mode.el (verilog-backward-token):
9987 * textmodes/ispell.el (lookup-words):
9988 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9990 2011-11-14 Glenn Morris <rgm@gnu.org>
9992 * progmodes/executable.el
9993 (executable-make-buffer-file-executable-if-script-p):
9994 Handle file-modes returning nil.
9996 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9997 message - not necessary, and causes problems. (Bug#9831)
9999 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10001 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10003 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10004 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10005 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10007 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10009 * window.el (window-resize, delete-window): Use window-splits
10010 variable instead of function.
10011 (window-state-get-1, window-state-put-2, window-state-put):
10012 Don't deal with windows' splits status.
10014 2011-11-12 Glenn Morris <rgm@gnu.org>
10016 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10017 (apropos-documentation): Doc fixes.
10019 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10021 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10022 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10024 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * electric.el (electric-indent-post-self-insert-function): Make it
10027 possible for a char to only indent in some circumstances.
10028 (electric-indent-mode): Simplify.
10030 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10032 * window.el (windows-with-parameter): Remove unused function.
10033 (windows-at-side): Rename to window-at-side-list.
10034 (window-check, window-atom-check, window-atom-check-1)
10035 (window-side-check, window-size-ignore, window-size-fixed-1)
10036 (window-in-direction-2): Prefix with "window--".
10037 (window-tree-1): Rename to window--subtree, fix doc-string.
10039 2011-11-11 Glenn Morris <rgm@gnu.org>
10041 * subr.el (eval-after-load): If FILE is already loaded,
10042 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10044 2011-11-10 Glenn Morris <rgm@gnu.org>
10046 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10047 Call svn via vc-svn-command rather than vc-do-command.
10048 (vc-svn-command): Add --non-interactive. (Bug#9993)
10049 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10051 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10052 Add toggle-read-only. (Bug#7292)
10053 * files.el (toggle-read-only): Mention that it should only
10054 be used interactively. (Bug#10006)
10056 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10059 Adjust regexp for OCaml warnings.
10061 * electric.el (electric-pair-post-self-insert-function): Let user
10062 turn it off buffer-locally (bug#9932).
10064 * progmodes/python.el (python-beginning-of-statement):
10065 Rewrite (bug#2703).
10067 * progmodes/compile.el: Better handle TABs (bug#9749).
10068 (compilation-internal-error-properties)
10069 (compilation-next-error-function): Obey the target buffer's
10070 compilation-error-screen-columns.
10072 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10074 * progmodes/meta-mode.el: Remove obsolete comments.
10075 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10076 Fix typos in docstrings.
10078 2011-11-09 Martin Rudalics <rudalics@gmx.at>
10080 * window.el (window-size-fixed-p): Rewrite doc-string.
10081 (window-resizable-p): Rename to window--resizable-p. Update callers.
10082 (window--resizable): New function. Make all callers of
10083 window-resizable call window--resizable instead.
10084 (window-resizable): Rewrite in terms of window--resizable.
10086 2011-11-08 Glenn Morris <rgm@gnu.org>
10088 * progmodes/delphi.el (delphi-mode-syntax-table):
10089 Let define-derived-mode define a proper syntax table. (Bug#9994)
10091 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * window.el: Stay away from defsubst.
10094 (window-list-no-nils): Remove.
10095 (window-state-get-1, window-state-get): Use backquote instead.
10097 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10099 * emacs-lisp/find-func.el (find-function-read):
10100 Fix incorrect use of default argument in `completing-read'.
10102 2011-11-08 Martin Rudalics <rudalics@gmx.at>
10104 * window.el (display-buffer-function, special-display-function):
10105 Mention display-buffer-record-window but do not mention
10106 help-setup parameter in doc-strings.
10107 (window-min-delta): Fix doc-string typo.
10109 2011-11-08 Chong Yidong <cyd@gnu.org>
10111 * window.el (window-total-height, window-total-width): Doc fix.
10112 (window-body-size): Move from C.
10113 (window-body-height, window-body-width): Move to C.
10115 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * window.el: Make special-display like display-buffer-alist (bug#9532).
10118 (display-buffer--special-action): New function, morphed
10119 from display-buffer--special.
10120 (display-buffer): Use it to handle special-display-buffers at higher
10121 priority (just after display-buffer-alist).
10122 (display-buffer-fallback-action, display-buffer--other-frame-action)
10123 (pop-to-buffer-same-window): Remove display-buffer--special.
10125 2011-11-07 Glenn Morris <rgm@gnu.org>
10127 * calendar/cal-menu.el (cal-menu-set-date-title):
10128 Do nothing if not in a calendar. (Bug#9976)
10130 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * files.el (find-file): Always use selected-window.
10134 2011-11-07 Martin Rudalics <rudalics@gmx.at>
10136 * window.el (window-combinations): Make WINDOW argument
10137 mandatory. Rewrite doc-string.
10138 (walk-window-subtree, window-atom-check, window-min-delta)
10139 (window-max-delta, window--resize-this-window)
10140 (window--resize-root-window-vertically, window-tree)
10141 (balance-windows, window-state-put): Rewrite doc-strings as to
10142 not mention the term "subwindow".
10143 (window--resize-subwindows-skip-p): Rename to
10144 window--resize-child-windows-skip-p.
10145 (window--resize-subwindows-normal): Rename to
10146 window--resize-child-windows-normal.
10147 (window--resize-subwindows): Rename to
10148 window--resize-child-windows.
10149 (window-or-subwindow-p): Rename to window--in-subtree-p.
10151 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10153 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10154 Ensure that mbox format messages end in two newlines (Bug#9974).
10156 2011-11-06 Chong Yidong <cyd@gnu.org>
10158 * window.el (window-combination-p): Function deleted; its
10159 side-effect is not used in any existing code.
10160 (window-combinations, window-combined-p): Call window-*-child
10163 2011-11-05 Chong Yidong <cyd@gnu.org>
10165 * window.el (window-valid-p): Rename from window-any-p.
10166 (window-size-ignore, window-state-get): Callers changed.
10167 (window-normalize-window): Rename from window-normalize-any-window.
10168 New arg LIVE-ONLY, replacing window-normalize-live-window.
10169 (window-normalize-live-window): Delete.
10170 (window-combination-p, window-combined-p, window-combinations)
10171 (walk-window-subtree, window-atom-root, window-min-size)
10172 (window-sizable, window-sizable-p, window-size-fixed-p)
10173 (window-min-delta, window-max-delta, window-resizable)
10174 (window-resizable-p, window-full-height-p, window-full-width-p)
10175 (window-current-scroll-bars, window-point-1, set-window-point-1)
10176 (window-at-side-p, window-in-direction, window-resize)
10177 (adjust-window-trailing-edge, maximize-window, minimize-window)
10178 (window-deletable-p, delete-window, delete-other-windows)
10179 (record-window-buffer, unrecord-window-buffer)
10180 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10181 (quit-window, split-window, window-state-put)
10182 (set-window-text-height, fit-window-to-buffer)
10183 (shrink-window-if-larger-than-buffer): Callers changed.
10185 2011-11-04 Eli Zaretskii <eliz@gnu.org>
10187 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10188 rfc2047-decode-string.
10189 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10192 * window.el (window-body-height, window-body-width): Mention in
10193 the doc string that the return values are in frame's canonical
10196 2011-11-03 Alan Mackenzie <acm@muc.de>
10198 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10199 change in cc-engine.el.
10201 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10205 2011-11-02 Martin Rudalics <rudalics@gmx.at>
10207 * window.el (quit-window): Call unrecord-window-buffer after
10208 showing another buffer in the window. (Bug#9937)
10209 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10211 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
10213 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10214 Accept status with more than 9 shelves. (Bug#9935)
10215 Reported by Colin D Bennett <colin@gibibit.com>.
10217 2011-11-01 Martin Rudalics <rudalics@gmx.at>
10219 * help.el (with-help-window): Don't reference
10220 temp-buffer-show-specifiers in doc-string.
10222 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10224 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10227 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10229 * whitespace.el: New version 13.2.2.
10230 (whitespace-newline-mode): Disable properly. Reported by Sarah
10233 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
10235 * net/newst-treeview.el: Remove "Time-stamp".
10236 (newsticker--group-manage-orphan-feeds): Do not call
10237 newsticker--treeview-tree-update.
10238 (newsticker-treeview-update, newsticker-treeview):
10239 Call newsticker--treeview-tree-update if necessary.
10241 2011-10-30 Martin Rudalics <rudalics@gmx.at>
10243 * window.el (window-iso-combination-p, window-iso-combined-p)
10244 (window-iso-combinations): Remove "iso-" infix.
10245 Suggested by Chong Yidong.
10246 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10247 (window-max-delta-1, window-resize, window--resize-siblings)
10248 (window--resize-this-window, adjust-window-trailing-edge)
10249 (split-window, balance-windows-1)
10250 (shrink-window-if-larger-than-buffer):
10251 * calendar/calendar.el (calendar-generate-window):
10252 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10254 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10257 in place (bug#9907).
10258 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10259 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10260 (eshell-structure-basic-command, eshell-rewrite-while-command)
10261 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10262 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10263 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10264 (eshell-do-pipelines-synchronously, eshell-eval-command):
10265 Use backquotes and prefer setq to set.
10266 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10267 (eshell-macrop): Use functionp.
10268 (eshell-do-eval): Handle multiple expressions in `while' body.
10270 2011-10-30 Chong Yidong <cyd@gnu.org>
10272 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10273 instead of set-mark (Bug#9810).
10275 2011-10-30 Chong Yidong <cyd@gnu.org>
10277 * window.el (split-window-below, split-window-right): Rename from
10278 split-window-above-each-other and split-window-side-by-side
10279 respectively. All callers changed.
10280 (split-window-sensibly, split-window-sensibly): Use them.
10281 (split-window-keep-point): Doc fix.
10283 * isearch.el: Add isearch-scroll property to split-window-below
10284 and split-window-right.
10286 * follow.el (follow-mode):
10287 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10288 * progmodes/ada-xref.el (ada-gdb-application):
10289 * emulation/vip.el (vip-buffer-in-two-windows):
10290 * image-dired.el (image-dired-dired-with-window-configuration):
10291 * dired-x.el (dired-do-find-marked-files):
10292 * dired.el (dired-pop-to-buffer):
10293 * bs.el (bs--show-with-configuration):
10294 * vc/emerge.el (emerge-setup-windows):
10295 * textmodes/two-column.el (2C-two-columns):
10296 * textmodes/reftex-toc.el (reftex-toc):
10297 * progmodes/gdb-mi.el (gdb-setup-windows):
10298 * progmodes/fortran.el (fortran-window-create):
10299 * net/newst-treeview.el (newsticker--treeview-window-init):
10300 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10301 * emulation/tpu-edt.el (tpu-gold-map):
10302 * emulation/crisp.el (crisp-mode-map):
10303 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10305 2011-10-29 Chong Yidong <cyd@gnu.org>
10307 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10309 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10311 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10312 forged Ispell output (Bug#7904).
10314 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10316 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * doc-view.el: Avoid ugly errors about not finding nil.
10319 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10320 (doc-view-dvipdf-program, doc-view-unoconv-program)
10321 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10322 Avoid nil or absolute file name as default value.
10323 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10325 2011-10-28 Alan Mackenzie <acm@muc.de>
10327 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10329 2011-10-28 Alan Mackenzie <acm@muc.de>
10331 Amend the handling of c-beginning/end-of-defun in nested declaration
10334 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10335 cc-langs.el. Change it to a defcustom.
10337 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10340 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10341 Prevent "class foo : bar" being spuriously recognized as a label.
10343 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10344 Add parameter `inclusive' (to include enclosing braces in the region).
10345 (c-widen-to-enclosing-decl-scope): New function.
10346 (c-while-widening-to-decl-block): New macro.
10347 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10348 outward for defun boundaries, and correspondingly change symbol
10349 `respect-enclosure' to `go-outward'.
10350 (c-declaration-limits): Change algorithm to report only the "innermost"
10351 defun's boundaries.
10353 2011-10-28 Deniz Dogan <deniz@dogan.se>
10355 * net/rcirc.el (rcirc-mode): Use hard newlines.
10357 2011-10-28 Alan Mackenzie <acm@muc.de>
10359 Amend to indent and fontify macros "which include their own semicolon"
10360 correctly, using the "virtual semicolon" mechanism.
10362 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10364 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10365 Recode to scan one line at a time rather than having \n and \r
10366 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10367 (c-forward-label): Amend for virtual semicolons.
10368 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10370 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10371 of the new C macros.
10373 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10374 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10375 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10376 (c-opt-cpp-macro-define): Make into a full language variable.
10377 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10378 AWK Mode (including \n, \r) removed, no longer needed.
10380 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10381 Invoke c-make-macro-with-semi-re.
10383 * progmodes/cc-vars.el (c-macro-with-semi-re):
10384 (c-macro-names-with-semicolon): New variables.
10385 (c-make-macro-with-semi-re): New function.
10387 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10389 * vc/log-edit.el: Fill empty field rather than adding new one.
10390 (log-edit-add-field): New function.
10391 (log-edit-insert-changelog): Use it.
10393 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10395 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10397 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10400 (gdb--check-interpreter): New function.
10403 2011-10-27 Glenn Morris <rgm@gnu.org>
10405 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10406 (least-positive-float, least-negative-float)
10407 (least-positive-normalized-float, least-negative-normalized-float)
10408 (float-epsilon, float-negative-epsilon):
10409 Remove unnecessary declarations.
10411 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10412 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10413 (least-positive-float, least-negative-float)
10414 (least-positive-normalized-float, least-negative-normalized-float)
10415 (float-epsilon, float-negative-epsilon): Add doc-strings,
10416 based on those in cl.texi.
10418 * files.el (set-visited-file-name): If the major-mode changed,
10419 reload the local variables. (Bug#9796)
10421 2011-10-27 Chong Yidong <cyd@gnu.org>
10423 * subr.el (change-major-mode-after-body-hook): New hook.
10424 (run-mode-hooks): Run it.
10426 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10427 Use change-major-mode-before-body-hook.
10429 * simple.el (fundamental-mode):
10430 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10431 change introducing fundamental-mode-hook.
10433 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10435 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10437 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10439 * ido.el (ido-file-name-all-completions-1): Do not require
10440 tramp.el explicitly. (Bug#7583)
10442 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * progmodes/octave-mod.el:
10445 * progmodes/octave-inf.el: Update maintainer.
10447 2011-10-26 Chong Yidong <cyd@gnu.org>
10449 * subr.el (with-wrapper-hook): Rewrite doc.
10451 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10453 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10454 filenames "/method:foo:". (Bug#9793)
10456 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10458 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10461 2011-10-24 Glenn Morris <rgm@gnu.org>
10463 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10465 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10467 * notifications.el: Add the requirement of a running D-Bus session
10468 bus to the Commentary.
10470 2011-10-24 Juri Linkov <juri@jurta.org>
10472 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10473 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10476 2011-10-24 Juri Linkov <juri@jurta.org>
10478 * info.el (Info-following-node-name-re): Add newline to the list
10479 of allowed characters for leading space. (Bug#9824)
10481 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * progmodes/octave-inf.el (inferior-octave-mode-map):
10484 Fix C-c C-h binding.
10485 * progmodes/octave-mod.el (octave-help): Remove.
10487 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10489 Sync with Tramp 2.2.3.
10491 * net/tramp-cache.el (top): Pacify byte-compiler using
10492 `init-file-user' and `site-run-file'.
10494 * net/trampver.el: Update release number.
10496 2011-10-23 Chong Yidong <cyd@gnu.org>
10498 * files.el (toggle-read-only): Remove obsolete comment about
10501 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10502 for toggle-read-only. Note that this hasn't called vc-next-action
10503 since 2008-05-02, though it wasn't documented at the time.
10505 * vc/ediff-init.el (ediff-toggle-read-only-function):
10506 Use toggle-read-only.
10508 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10510 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10513 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10514 correct faulty logical expression.
10515 (c-parse-state-state, c-record-parse-state-state):
10516 (c-replay-parse-state-state): New defvar/defuns.
10517 (c-debug-parse-state): Use new functions.
10519 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10521 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10522 last fix. Use window-in-direction correctly.
10524 2011-10-21 Chong Yidong <cyd@gnu.org>
10526 * progmodes/idlwave.el (idlwave-mode):
10527 * progmodes/vera-mode.el (vera-mode): No need to set
10528 require-final-newline; that's done in prog-mode.
10529 Suggested by Stefan Monnier.
10531 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10533 * mouse.el (mouse-drag-window-above)
10534 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10535 (mouse-drag-mode-line-1, mouse-drag-header-line)
10536 (mouse-drag-vertical-line-rightward-window): Remove.
10537 (mouse-drag-line): New function.
10538 (mouse-drag-mode-line, mouse-drag-header-line)
10539 (mouse-drag-vertical-line): Call mouse-drag-line.
10540 * window.el (window-at-side-p, windows-at-side): New functions.
10542 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10544 * tar-mode.el (tar-grind-file-mode):
10545 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10547 2011-10-21 Chong Yidong <cyd@gnu.org>
10549 * progmodes/idlwave.el (idlwave-mode):
10550 * progmodes/vera-mode.el (vera-mode):
10551 Use mode-require-final-newline.
10553 2011-10-20 Glenn Morris <rgm@gnu.org>
10555 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10557 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10559 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10561 2011-10-20 Chong Yidong <cyd@gnu.org>
10563 * emulation/cua-base.el (cua-mode):
10564 * mail/footnote.el (footnote-mode):
10565 * mail/mailabbrev.el (mail-abbrevs-mode):
10566 * net/xesam.el (xesam-minor-mode):
10567 * progmodes/bug-reference.el (bug-reference-mode):
10568 * progmodes/cap-words.el (capitalized-words-mode):
10569 * progmodes/compile.el (compilation-minor-mode)
10570 (compilation-shell-minor-mode):
10571 * progmodes/gud.el (gud-tooltip-mode):
10572 * progmodes/hideif.el (hide-ifdef-mode):
10573 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10574 * progmodes/subword.el (subword-mode):
10575 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10576 * progmodes/which-func.el (which-function-mode):
10577 * term/tvi970.el (tvi970-set-keypad-mode):
10578 * term/vt100.el (vt100-wide-mode):
10579 * textmodes/flyspell.el (flyspell-mode):
10580 * textmodes/ispell.el (ispell-minor-mode):
10581 * textmodes/nroff-mode.el (nroff-electric-mode):
10582 * textmodes/paragraphs.el (use-hard-newlines):
10583 * textmodes/refill.el (refill-mode):
10584 * textmodes/reftex.el (reftex-mode):
10585 * textmodes/rst.el (rst-minor-mode):
10586 * textmodes/sgml-mode.el (html-autoview-mode)
10587 (sgml-electric-tag-pair-mode):
10588 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10589 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10590 * emulation/crisp.el (crisp-mode):
10591 * emacs-lisp/eldoc.el (eldoc-mode):
10592 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10593 minor mode behavior.
10595 2011-10-19 Juri Linkov <juri@jurta.org>
10597 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10598 the list of hard-coded chars with escape-glyph face.
10600 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10604 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10606 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10609 2011-10-19 Glenn Morris <rgm@gnu.org>
10611 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10612 Ignore ignored files. (Bug#9726)
10614 2011-10-19 Chong Yidong <cyd@gnu.org>
10616 Doc fix for minor modes, stating that an omitted argument enables
10617 the mode unconditionally when called from Lisp.
10619 * abbrev.el (abbrev-mode):
10620 * allout.el (allout-mode):
10621 * autoinsert.el (auto-insert-mode):
10622 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10623 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10624 (global-auto-revert-mode):
10625 * battery.el (display-battery-mode):
10626 * composite.el (global-auto-composition-mode)
10627 (auto-composition-mode):
10628 * delsel.el (delete-selection-mode):
10629 * desktop.el (desktop-save-mode):
10630 * dired-x.el (dired-omit-mode):
10631 * dirtrack.el (dirtrack-mode):
10632 * doc-view.el (doc-view-minor-mode):
10633 * double.el (double-mode):
10634 * electric.el (electric-indent-mode, electric-pair-mode):
10635 * emacs-lock.el (emacs-lock-mode):
10636 * epa-hook.el (auto-encryption-mode):
10637 * follow.el (follow-mode):
10638 * font-core.el (font-lock-mode):
10639 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10640 * help.el (temp-buffer-resize-mode):
10641 * hilit-chg.el (highlight-changes-mode)
10642 (highlight-changes-visible-mode):
10643 * hi-lock.el (hi-lock-mode):
10644 * hl-line.el (hl-line-mode, global-hl-line-mode):
10645 * icomplete.el (icomplete-mode):
10646 * ido.el (ido-everywhere):
10647 * image-file.el (auto-image-file-mode):
10648 * image-mode.el (image-minor-mode):
10649 * iswitchb.el (iswitchb-mode):
10650 * jka-cmpr-hook.el (auto-compression-mode):
10651 * linum.el (linum-mode):
10652 * longlines.el (longlines-mode):
10653 * master.el (master-mode):
10654 * mb-depth.el (minibuffer-depth-indicate-mode):
10655 * menu-bar.el (menu-bar-mode):
10656 * minibuf-eldef.el (minibuffer-electric-default-mode):
10657 * mouse-sel.el (mouse-sel-mode):
10658 * msb.el (msb-mode):
10659 * mwheel.el (mouse-wheel-mode):
10660 * outline.el (outline-minor-mode):
10661 * paren.el (show-paren-mode):
10662 * recentf.el (recentf-mode):
10663 * reveal.el (reveal-mode, global-reveal-mode):
10664 * rfn-eshadow.el (file-name-shadow-mode):
10665 * ruler-mode.el (ruler-mode):
10666 * savehist.el (savehist-mode):
10667 * scroll-all.el (scroll-all-mode):
10668 * scroll-bar.el (scroll-bar-mode):
10669 * server.el (server-mode):
10670 * shell.el (shell-dirtrack-mode):
10671 * simple.el (auto-fill-mode, transient-mark-mode)
10672 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10673 (line-number-mode, column-number-mode, size-indication-mode)
10674 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10675 * strokes.el (strokes-mode):
10676 * time.el (display-time-mode):
10677 * t-mouse.el (gpm-mouse-mode):
10678 * tool-bar.el (tool-bar-mode):
10679 * tooltip.el (tooltip-mode):
10680 * type-break.el (type-break-mode-line-message-mode)
10681 (type-break-query-mode):
10682 * view.el (view-mode):
10683 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10684 (global-whitespace-mode, global-whitespace-newline-mode):
10685 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10687 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10688 Fix autogenerated docstring.
10690 2011-10-19 Juri Linkov <juri@jurta.org>
10692 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10693 by checking environment variables "DESKTOP_SESSION" and
10694 "XDG_CURRENT_DESKTOP". (Bug#9779)
10696 2011-10-19 Juri Linkov <juri@jurta.org>
10698 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10699 (browse-url-chromium-program, browse-url-chromium-arguments):
10701 (browse-url-default-browser): Check for `browse-url-chromium' and
10702 call `browse-url-chromium-program'.
10703 (browse-url-chromium): New command. (Bug#9779)
10705 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10707 * facemenu.el (list-colors-duplicates): On Windows, detect more
10708 duplicates by assuming that only colors matching "^System" are
10709 special "system colors". (Bug#9722)
10711 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10714 to distinguish the author from the committer.
10716 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10718 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10720 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10722 * international/mule.el (sgml-html-meta-auto-coding-function):
10723 Add support for detecting encoding in HTML5 specified only as
10724 <meta charset="UTF-8">. Implementation just makes http-equiv and
10725 content-type parts from HTML4 encoding string optional. (Bug#9716)
10727 2011-10-18 Glenn Morris <rgm@gnu.org>
10729 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10731 2011-10-18 Chong Yidong <cyd@gnu.org>
10733 * faces.el (cursor): Doc fix.
10735 2011-10-17 Chong Yidong <cyd@gnu.org>
10737 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10739 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10741 * dirtrack.el (dirtrack): Support shell buffers with path
10742 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10744 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10746 * json.el: Bump version to 1.3 and note change in History.
10747 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10749 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10751 * comint.el (comint-insert-input, comint-send-input)
10752 (comint-get-old-input-default, comint-backward-matching-input)
10753 (comint-next-prompt): Use nil instead of `input' for field property of
10754 past user input (bug#114).
10756 * minibuffer.el (completion--replace): Inherit surrounding properties
10758 (minibuffer-complete-and-exit): Use it.
10760 * comint.el (comint--table-subvert): Quote the all-completions output
10763 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10765 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10767 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10768 window on right of selected. (Bug#9350) Reword other window
10769 entries and separate them from frame entries.
10771 2011-10-15 Glenn Morris <rgm@gnu.org>
10773 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10776 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10778 * net/network-stream.el (network-stream-open-starttls):
10779 Improve detection of failure due to lack of TLS support.
10781 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10782 putting the input text in front and in bold.
10784 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10788 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10791 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10792 unread-command-events rather than pushing yet-another event.
10794 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10796 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10797 the explanation of the possible choices. Make the options passed
10798 to completing-read shorter.
10800 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
10802 * textmodes/flyspell.el (flyspell-large-region): Make sure
10803 extended character mode is used if defined (Bug#1339).
10805 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10807 * simple.el (what-cursor-position): Fix the display of the
10808 character info for LRE, LRO, RLE, and RLO characters by appending
10811 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10814 even in case of error; add debug spec; simplify data flow.
10815 (with-timeout-handler): Remove.
10817 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10819 Fix Bug#6019, Bug#9315.
10821 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10822 complete `buffer-file-name', the local file name part could look
10823 remotely (for example on VMS).
10825 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10826 `tramp-run-real-handler'.
10827 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10828 already quoted by '"'.
10830 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10831 Let `file-name-handler-alist' be nil, the local file name part
10832 could look remotely (for example on VMS).
10834 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10838 (flyspell-post-command-hook): ...to here.
10840 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10842 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10844 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10845 using completion. Protect against "slow" callers.
10846 Remove the "message hack".
10848 2011-10-11 Juri Linkov <juri@jurta.org>
10850 * isearch.el (isearch-lazy-highlight-word): New variable.
10851 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10854 2011-10-11 Glenn Morris <rgm@gnu.org>
10856 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10857 like f90-previous-statement does.
10859 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10861 * eshell/eshell.el (eshell-command): History should be saved
10862 only in interactive use, to avoid error.
10864 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10866 * minibuffer.el (completion-file-name-table): Fix last change,
10867 i.e. ignore normal errors but not the other ones.
10869 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10871 * window.el (special-display-buffer-names)
10872 (special-display-regexps): Remove some remnants of earlier
10873 changes from doc-strings.
10874 (quit-windows-on): New function.
10876 * vc/vc.el (vc-revert, vc-rollback):
10877 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10878 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10879 (Bug#6183) (Bug#7074) (Bug#7447)
10881 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10883 * window.el (frame-auto-hide-function): Add version tag.
10886 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10888 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10891 2011-10-09 Leo Liu <sdl.web@gmail.com>
10893 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10896 2011-10-08 Glenn Morris <rgm@gnu.org>
10898 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10899 before the first code statement zero indent. (Bug#9690)
10901 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10903 * simple.el (count-words-region): Always count in the region.
10904 Report the number of lines and characters too.
10905 (count-words): New command, which counts in the buffer if the
10906 region is inactive, as count-words-region used to.
10907 (count-words--message): New function. Handle plurals.
10908 (count-lines-region): Make it an alias for count-words-region.
10910 * bindings.el (esc-map): Replace count-lines-region with
10911 count-words-region.
10913 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10915 * window.el (window--delete): Delete dedicated frame
10916 unconditionally when argument KILL is non-nil. (Bug#9699)
10917 (switch-to-buffer): Fix doc-string typo.
10919 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10921 * eshell/eshell.el (eshell-command): Avoid using hooks.
10923 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10925 * bindings.el ([M-left],[M-right]): Bind to left-word and
10926 right-word respectively.
10928 2011-10-07 Glenn Morris <rgm@gnu.org>
10930 * cus-start.el (debug-on-quit): Fix custom type.
10932 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10934 * subr.el (define-key-after): Clarify that the function is not
10935 useful for non-menu keymaps.
10937 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10939 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10941 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10942 in current minibuffer (Fix bug with recursive minibuffers).
10944 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10946 * progmodes/gdb-mi.el (gdb): Doc fix.
10948 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10950 * window.el (frame-auto-hide-function): New option replacing
10951 frame-auto-delete. Suggested by Stefan Monnier.
10952 (window--delete): Call frame-auto-hide-function instead of
10953 investigating frame-auto-delete.
10954 (window-point-1, set-window-point-1): New functions.
10955 (window-in-direction, record-window-buffer, window-state-get-1)
10956 (display-buffer-record-window): Use window-point-1 instead of
10958 (set-window-buffer-start-and-point): Use set-window-point-1.
10960 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10964 2011-10-05 Glenn Morris <rgm@gnu.org>
10966 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10967 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10969 2011-10-05 Leo Liu <sdl.web@gmail.com>
10971 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10972 works with buffer object.
10974 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10976 * mpc.el (mpc-tool-bar-map): Add labels.
10978 2011-10-04 Glenn Morris <rgm@gnu.org>
10980 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10982 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10984 * window.el (window--delete): New function.
10985 (frame-auto-delete): Resuscitate option.
10986 (bury-buffer, replace-buffer-in-windows)
10987 (quit-window): Rewrite using window--delete.
10988 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10989 Pass display-buffer-mark-dedicated to window--display-buffer-2
10992 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10995 returns a list (bug#9554). Add remote file name completion.
10996 * comint.el (comint--table-subvert): Curry and get quote&unquote
10997 functions as arguments.
10998 (comint--complete-file-name-data): Adjust call accordingly.
10999 * pcomplete.el (pcomplete--table-subvert): Remove.
11000 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11002 * minibuffer.el (completion-table-case-fold): Use currying.
11003 (completion--styles-type, completion--cycling-threshold-type):
11005 (completion-styles, completion-category-overrides)
11006 (completion-cycle-threshold): Use them.
11007 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11008 completion-table-case-fold.
11010 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11012 * minibuffer.el (completion-category-overrides): Fix type of styles
11013 and add more user friendly tags (bug#9660).
11015 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11017 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11018 (mule-input-method-string): New widget.
11019 (default-input-method, language-info-custom-alist): Use it.
11021 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11023 * pcomplete.el: Require comint.
11024 (pcomplete--common-suffix): Remove.
11025 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11026 (pcomplete--table-subvert): Sync with comint--table-subvert.
11027 (pcomplete--entries): Use comint-completion-file-name-table.
11028 * comint.el (comint-unquote-filename): Simplify.
11029 (comint-completion-file-name-table): New function (bug#9616).
11030 (comint--complete-file-name-data): Use it.
11032 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11033 (pcmpl-gnu-tar-buffer): Remove.
11034 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11035 around. Make sure pcomplete-suffix-list is only changed temporarily.
11036 Don't look inside the tar's file if it's too large.
11038 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11040 * cus-edit.el (custom-mode-map):
11041 * epa.el (epa-key-list-mode-map):
11042 * man.el (Man-mode-map):
11043 * startup.el (splash-screen-keymap):
11044 * simple.el (special-mode-map): Use scroll-up-command and
11045 scroll-down-command.
11047 * progmodes/idlw-help.el (idlwave-help-mode-map):
11048 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11049 * net/newst-plainview.el (newsticker-mode-map):
11050 * emulation/ws-mode.el (wordstar-mode-map):
11051 * emulation/vi.el (vi-com-map):
11052 * calc/calc-graph.el (calc-graph-show-dumb):
11053 * term/sun.el (terminal-init-sun):
11054 * term/ns-win.el (global-map):
11055 * progmodes/grep.el (grep-mode-map):
11056 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11057 * mail/rmail.el (rmail-mode-map):
11058 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11060 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11061 custom-safe-themes as special.
11063 2011-10-01 Julien Danjou <julien@danjou.info>
11065 * notifications.el (notifications-notify): Fix docstring.
11067 2011-10-01 Per Starbäck <per@starback.se>
11069 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11071 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11073 * startup.el (command-line-1): Fix last fix by inserting
11074 initial-scratch-message into *scratch* before displaying it.
11075 (Bug#9605) and (Bug#9636)
11077 2011-09-29 Eli Zaretskii <eliz@gnu.org>
11079 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11080 window is hscrolled, move by logical lines. (Bug#9607)
11081 (line-move-visual): Update the doc string to the above effect.
11083 2011-09-29 Martin Rudalics <rudalics@gmx.at>
11085 * window.el (display-buffer-record-window): When WINDOW is the
11086 selected window use `point' instead of `window-point'. (Bug#9626)
11088 * startup.el (command-line-1): Use insert-before-markers when
11089 inserting initial-scratch-message. (Bug#9605)
11091 * help.el (help-window): Remove variable.
11093 2011-09-29 Glenn Morris <rgm@gnu.org>
11095 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11097 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
11099 * descr-text.el (describe-char-categories): Accept category
11100 descriptions more than one line long.
11102 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11104 * simple.el (delete-trailing-whitespace): Fix last change.
11106 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11107 Don't confuse "y => 3" as the beginning of a `y' operation.
11109 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11110 object has more than 4 slots (bug#9613).
11112 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
11114 * subr.el (with-output-to-temp-buffer):
11115 * net/quickurl.el (quickurl, quickurl-browse-url):
11116 Fix typos in docstrings.
11118 2011-09-27 Eli Zaretskii <eliz@gnu.org>
11120 * minibuffer.el (completion-styles)
11121 (completion-category-overrides): Cross reference each other in doc
11124 2011-09-27 Glenn Morris <rgm@gnu.org>
11126 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11127 to split-string. (Bug#9606)
11129 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11131 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11134 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
11136 * emacs-lisp/package.el (list-packages): Fix echo area message.
11138 2011-09-27 Leo Liu <sdl.web@gmail.com>
11140 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11142 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
11144 * net/dbus.el (dbus-unregister-object): Don't release services for
11145 registered signals. (Bug#9581)
11147 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11149 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11150 function that picks between cfengine 2 and 3 support
11151 automatically. Update docs accordingly.
11153 2011-09-22 Kenichi Handa <handa@m17n.org>
11155 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11157 (indian-itrans-v5-table-for-tamil): New variable.
11158 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11160 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11162 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11163 that's true if the current command involved collapsing of text.
11164 It's reset to false at the beginning of the next command.
11165 (allout-post-command-business): Move the cursor to the beginning
11166 of entry if the cursor is hidden and collapsing activity just
11169 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
11171 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11172 tracking (Bug#9541).
11174 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
11176 * net/newst-reader.el (newsticker-html-renderer)
11177 (newsticker-show-news): Automatically load html rendering package
11178 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11179 because w3m-fill-column is let-bound" and the error "Symbol's value
11180 as variable is void: w3m-fill-column".
11182 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
11184 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11185 Release services only if they are defined. (Bug#9581)
11187 2011-09-23 Richard Stallman <rms@gnu.org>
11189 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11190 distinguish start of paragraph from start of its text.
11192 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11194 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11195 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11196 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11198 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11200 * international/mule-diag.el (mule-diag): Insert a newline after
11201 each fontset description.
11203 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * simple.el (delete-trailing-whitespace):
11206 Document last change; simplify.
11208 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11210 * simple.el (delete-trailing-whitespace): Also delete
11211 extra newlines at the end of the buffer.
11213 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11214 (picture-newline): Use forward-line so as to ignore fields.
11216 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * subr.el (with-wrapper-hook): Fix edebug spec.
11220 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11225 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
11227 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11228 Fix nasty bug using wrong cached values.
11230 2011-09-23 Alan Mackenzie <acm@muc.de>
11232 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11234 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
11236 * window.el (pop-to-buffer): Ensure right window is selected if we
11237 chose another frame.
11239 2011-09-22 Eli Zaretskii <eliz@gnu.org>
11241 * simple.el (what-cursor-position): Use get-char-property-change
11242 and next-single-char-property-change, to be able to show display
11243 properties that come from overlays as well as text properties.
11245 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
11247 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11249 * cmuscheme.el (run-scheme, switch-to-scheme):
11250 * cus-edit.el (customize-group, custom-buffer-create)
11251 (customize-browse):
11253 * shell.el (shell):
11254 * mail/sendmail.el (mail):
11255 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11257 2011-09-22 Richard Stallman <rms@gnu.org>
11259 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11260 move back only to line beg, don't move back over blank lines.
11262 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
11264 * files.el (copy-directory): Set directory attributes only in case
11265 they could be retrieved from the source directory. (Bug#9565)
11267 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11269 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11270 (hs-find-block-beginning, hs-hide-level-recursive):
11271 Ignore strings as well as comments. (Bug#9502)
11273 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11275 * progmodes/sql.el (sql-comint-postgres):
11276 Convert port number to a string. (Bug#9566)
11278 2011-09-22 Martin Rudalics <rudalics@gmx.at>
11280 * window.el (quit-window): Undedicate window when switching to
11281 previous buffer. Reported by Thierry Volpiatto
11282 <thierry.volpiatto@gmail.com>.
11283 (special-display-popup-frame): When popping up a new frame reset
11284 its previous buffers to nil. Simplify code.
11286 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
11288 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11289 and process filter, as done also in `shell-command'.
11291 2011-09-21 Martin Rudalics <rudalics@gmx.at>
11293 * window.el (set-window-buffer-start-and-point):
11294 Call set-window-start with NOFORCE argument t.
11295 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11296 (quit-window): Reword doc-string. Handle new format of
11297 quit-restore parameter. Don't delete window if it has a
11298 previous buffer we can show instead of the present one.
11299 (display-buffer-record-window): Rewrite using a new format for
11300 the quit-restore window parameter
11301 (special-display-popup-frame, display-buffer-same-window)
11302 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11303 (display-buffer-pop-up-window, display-buffer-use-some-window):
11304 Adapt symbol passed to display-buffer-record-window.
11305 * help.el (help-window-setup): Handle new format of quit-restore
11308 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11310 * faces.el (face-list): Fix docstring (bug#9564).
11312 * window.el (display-buffer--action-function-custom-type):
11313 Don't include internal functions in the Custom interface.
11315 2011-09-20 Juri Linkov <juri@jurta.org>
11317 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11318 (Info-forward-node, Info-backward-node, Info-next-preorder)
11319 (Info-last-preorder): Use it. (Bug#9528)
11321 2011-09-20 Juri Linkov <juri@jurta.org>
11323 * info.el (Info-last-preorder): Visit last menu item only when
11324 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11326 2011-09-20 Julien Danjou <julien@danjou.info>
11328 * password-cache.el (password-cache-remove): Remove entries even if the
11329 value is nil, so that password with a nil value (negative caching) is
11330 possible to invalidate.
11332 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11334 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11335 all whitespace around breakpoint. (Bug#9553)
11336 (f90-find-breakpoint): Only break at whitespace inside a comment.
11338 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * minibuffer.el (completion-file-name-table): Keep track of errors.
11341 (completion-table-with-predicate): Handle the case where pred1 is nil.
11342 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11344 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11346 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11347 (debugger-return-value): Signal an error if the debugging context does
11348 not await any return value.
11350 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11351 * image-mode.el (image-toggle-display-text)
11352 (image-toggle-display-image): Stay away from evil `intangible'.
11354 2011-09-19 Leo Liu <sdl.web@gmail.com>
11356 * replace.el (occur-revert-arguments): Make it permanent-local.
11357 (occur-mode): Don't call font-lock-defontify.
11359 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11361 * net/ldap.el (ldap-search-internal): Don't push empty search
11364 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11368 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11370 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11371 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11373 2011-09-18 Juri Linkov <juri@jurta.org>
11375 * buff-menu.el (Buffer-menu-mode-map):
11376 * dired.el (dired-mode-map):
11377 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11378 (lisp-interaction-mode-map):
11379 * emacs-lisp/package.el (package-menu-mode-map):
11380 * epa.el (epa-key-list-mode-map):
11381 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11382 (menu-bar-options-menu):
11383 * outline.el (outline-mode-menu-bar-map):
11384 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11385 * vc/vc-dir.el (vc-dir-menu-map):
11386 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11387 Capitalize non-function content words in menu item strings.
11389 * dired.el (dired-mode-map): Add menu item for
11390 `image-dired-dired-toggle-marked-thumbs'.
11392 2011-09-18 Juri Linkov <juri@jurta.org>
11394 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11395 to `isearch-case-fold-search' and restore its original value
11396 after the `isearch-mode' call.
11398 2011-09-18 Juri Linkov <juri@jurta.org>
11400 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11401 because `zgrep' returns 1 for successful matches (bug#9226).
11403 2011-09-18 Juri Linkov <juri@jurta.org>
11405 * info.el (Info-extract-menu-node-name): Check the second match
11406 for empty string (second test-case of bug#9528).
11407 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11408 intermediate nodes to the history (first test-case of bug#9528).
11410 2011-09-18 Juri Linkov <juri@jurta.org>
11412 * info.el (Info-mode-syntax-table): New variable.
11413 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11415 2011-09-18 Juri Linkov <juri@jurta.org>
11417 * info.el (Info-file-supports-index-cookies):
11418 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11419 outputs one more line for long file names (bug#4142).
11421 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11423 * newcomment.el (comment-normalize-vars): If prompting for
11424 comment-start, set comment-start-skip too (Bug#8424).
11426 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11428 * icomplete.el: Fix previous fix of Bug#5849.
11429 (icomplete-mode): Don't set completion-show-inline-help.
11430 (icomplete-minibuffer-setup): Set completion-show-inline-help
11431 locally during icompletion.
11433 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11435 * woman.el (woman2-process-escapes): Don't delete unrecognized
11436 escapes (Bug#7843).
11438 * files.el (inhibit-first-line-modes-regexps): Add image files.
11439 (hack-local-variables-prop-line): Return nil for malformed
11440 prop-lines (Bug#9044).
11442 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11444 * net/tramp.el (top): Don't require 'shell.
11445 (tramp-methods): Fix docstring.
11446 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11447 Return complete remote file name. Handle "smb" case.
11448 Use `tramp-tmpdir', if defined for the respective method.
11449 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11451 * net/tramp-compat.el (top): Require 'shell.
11453 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11454 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11455 `tramp-current-host'.
11456 (tramp-get-remote-tmpdir): Remove.
11458 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11459 `tramp-tmpdir' entries.
11460 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11461 (tramp-smb-handle-file-attributes): Ignore errors.
11462 (tramp-smb-wait-for-output): Check also for process end.
11464 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11466 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11467 when sending QUIT (bug#9312).
11469 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11471 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11472 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11473 occur-mode-display-occurrence.
11474 (occur-edit-mode): Add usage message.
11475 (occur-cease-edit): New command.
11476 (occur-after-change-function): Use text properties to find the
11477 position of the prefix text.
11478 (occur-engine): Set stickiness of prefix text properties.
11480 2011-09-17 Glenn Morris <rgm@gnu.org>
11482 * progmodes/etags.el (complete-tag):
11483 Fix call to completion-in-region. (Bug#9526)
11485 2011-09-17 Juri Linkov <juri@jurta.org>
11487 * textmodes/ispell.el (ispell-word): Add to the error message
11488 the word, ispell program name and current dictionary (bug#9121).
11489 (ispell-tex-arg-end): Capitalize "error" in the error message.
11491 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11493 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11496 2011-09-17 Juri Linkov <juri@jurta.org>
11498 * window.el (window-safe-min-height, window-safe-min-width):
11499 Fix typos (followup to bug#9522).
11501 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11503 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11505 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11507 * simple.el (line-move): If goal-column is set, move by logical
11508 lines, not by display lines. (Bug#971)
11509 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11510 to reflect the above change.
11512 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11514 * image.el (imagemagick-register-types): Use regexp-opt.
11516 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11518 * window.el (display-buffer-base-action): Rename from
11519 display-buffer-default-action. Make default value empty.
11520 (display-buffer-overriding-action): Convert to defvar.
11521 (display-buffer-fallback-action): New var.
11523 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11525 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11527 (package--add-to-archive-contents): If there is a duplicate entry
11528 with an older version, remove it.
11529 (package-menu-mark-delete, package-menu-mark-install)
11530 (package-menu-mark-unmark): Make unused args optional.
11531 (package-menu-mark-obsolete-for-deletion):
11532 Use package-menu-get-status instead of a regexp search.
11533 (package-menu-get-status): Use tabulated-list-entry.
11534 (package-menu-mark-upgrades): New command.
11535 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11536 (package-menu-execute): Do installation before deletion.
11537 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11538 instead of checking major-mode.
11539 (package-menu--find-upgrades): New function.
11541 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11543 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11544 passwords in the log buffer.
11545 (smtpmail-process-filter): Update the process marker so that the
11546 "broken by peer" status message is inserted in the right place.
11548 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11550 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11551 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11552 bibtex-completion-at-point-function.
11553 (bibtex-completion-at-point-function): Use them.
11555 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11557 * mpc.el (mpc-constraints-tag-lookup): New function.
11558 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11559 also to browser "album|playlist".
11561 2011-09-14 Juri Linkov <juri@jurta.org>
11563 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11564 (isearch-edit-string): Use length of `isearch-string' when
11565 `isearch-fail-pos' returns nil.
11566 (isearch-message): Remove duplicate code and call
11567 `isearch-fail-pos' with arg `t'.
11569 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11571 * replace.el (occur-mode-goto-occurrence): Don't force using other
11574 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11576 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11578 * window.el (display-buffer-window): Remove.
11579 (display-buffer-record-window): Use help-setup window parameter
11580 instead of variable display-buffer-window.
11581 (display-buffer-function, special-display-buffer-names)
11582 (special-display-function): Mention help-setup parameter instead
11583 of display-buffer-window in doc-string.
11584 * help.el (help-window-setup): New argument help-window.
11585 Use help-window-setup parameter instead of display-buffer-window.
11586 Reword some messages.
11587 (with-help-window): Pass window used for displaying the buffer
11588 to help-window-setup. Don't set display-buffer-window.
11590 2011-09-13 Glenn Morris <rgm@gnu.org>
11592 * emacs-lisp/debug.el (debugger-make-xrefs):
11593 Preserve point. (Bug#9462)
11595 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11597 * window.el (window-deletable-p): Use next-frame.
11599 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11601 * window.el (window-auto-delete): Remove.
11602 (window-deletable-p): Remove argument FORCE. Don't deal with
11603 dedication and previous buffers.
11604 (switch-to-prev-buffer): Don't delete window.
11605 (delete-windows-on): Delete a window's frame if and only if the
11606 window is dedicated.
11607 (replace-buffer-in-windows): Delete buffer's window or frame if
11608 and only if window is dedicated.
11609 (quit-window): Handle quit-restore as before last change.
11610 (bury-buffer): Delete window only if window-deletable-p returns t.
11612 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11614 * window.el (window-deletable-p): Never delete the last frame on a
11617 2011-09-13 Glenn Morris <rgm@gnu.org>
11619 * help.el (describe-key-briefly): Copy previous standard-output change.
11621 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11623 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11625 2011-09-13 Glenn Morris <rgm@gnu.org>
11627 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11628 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11630 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11632 * dired-aux.el (dired-mark-read-string): Don't return default
11633 value on empty input (Bug#9361).
11634 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11635 Omit initial minibuffer contents.
11636 (dired-do-chmod): Signal an error on empty input.
11637 (dired-mark-read-string): Don't return default on empty input.
11639 * files.el (file-modes-symbolic-to-number): Doc fix.
11641 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * international/mule-cmds.el (ucs-completions): Remove.
11644 (read-char-by-name): Use complete-with-action instead; add metadata.
11646 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11648 * window.el (display-buffer--action-function-custom-type)
11649 (display-buffer--action-custom-type): New vars.
11650 (display-buffer-alist, display-buffer-default-action)
11651 (display-buffer-overriding-action): Add defcustom types.
11653 * frame.el (delete-other-frames): Doc fix (Bug#276).
11655 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11657 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11659 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11661 Change modes that used same-window-* vars to use switch-to-buffer.
11663 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11664 Use switch-to-buffer.
11666 * cus-edit.el (customize-group, custom-buffer-create)
11667 (customize-browse, custom-buffer-create-other-window):
11668 Use switch-to-buffer or switch-to-buffer-other-window.
11670 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11671 (Info-prev, Info-up, Info-speedbar-goto-node)
11672 (info-display-manual): Use switch-to-buffer.
11673 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11675 * mail/sendmail.el (mail): Use switch-to-buffer.
11676 (mail-recover): Use switch-to-buffer-other-window.
11678 * cmuscheme.el (run-scheme, switch-to-scheme):
11680 * shell.el (shell):
11681 * net/rlogin.el (rlogin):
11682 * net/telnet.el (telnet, rsh):
11683 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11685 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11687 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11689 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11691 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11692 so don't mention it (bug#9301).
11693 (dired-sort-toggle-or-edit): Clarify string further.
11695 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11696 match `x', `w32' and `ns', like the manual says (bug#9029).
11698 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11699 (process-kill-buffer-query-function): Mention the buffer name in
11702 * image-mode.el (image-next-line): The line parameter is mandatory
11705 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11706 which can be useful (bug#9301).
11708 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11710 * subr.el (match-string): Mention that the current buffer should
11711 be the same as the search was done in (bug#9282).
11713 * facemenu.el: Disable the remove-* commands if the mark isn't
11716 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11718 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11720 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11722 * replace.el (occur-mode-goto-occurrence)
11723 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11724 and display-buffer.
11726 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11729 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11730 special-display and same-window variables.
11731 (mail-other-window): Use switch-to-buffer-other-window.
11732 (mail-other-frame): USe switch-to-buffer-other-frame.
11734 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11735 Use display-buffer-other-frame.
11736 (gdb-display-gdb-buffer): Use pop-to-buffer.
11738 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11740 * progmodes/python.el: Don't set same-window-buffer-names.
11742 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11744 * window.el (display-buffer-alist): Add *Python*.
11746 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11748 * window.el (display-buffer-alist): Add entry for buffers
11749 previously handled same-window-*.
11750 (display-buffer-alist, display-buffer-default-action)
11751 (display-buffer-overriding-action): Mark as risky.
11752 (display-buffer-alist): Document action function changes.
11753 (display-buffer--same-window-action)
11754 (display-buffer--other-frame-action): New variables.
11755 (switch-to-buffer, display-buffer-other-frame): Use them.
11756 (display-buffer): Rename reuse-frame entry to reusable-frames.
11757 (display-buffer-reuse-selected-window): Function deleted.
11758 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11759 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11760 (display-buffer-special): New function.
11761 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11762 display-buffer-reuse-or-pop-window. Split off special-display
11763 part into display-buffer-special.
11764 (display-buffer-use-some-window): Don't perform any special
11765 pop-up-frames handling.
11766 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11767 (display-buffer--maybe-same-window): Rename from
11768 display-buffer-maybe-same-window.
11770 * info.el: Don't set same-window-regexps.
11771 (info-setup): New function.
11772 (info-other-window, info): Call it.
11774 * cus-edit.el: Don't set same-window-regexps.
11775 (customize-group): New argument.
11776 (customize-group-other-window): Use it.
11777 (customize-face, customize-face-other-window): Likewise.
11778 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11782 * progmodes/gud.el: Don't set same-window-regexps.
11787 * mail/sendmail.el:
11788 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11790 2011-09-10 Juri Linkov <juri@jurta.org>
11792 * isearch.el (isearch-edit-string): Remove obsolete mention of
11793 `C-w' (`isearch-yank-word-or-char') from docstring.
11794 (isearch-query-replace): Fix typo in docstring (bug#9466).
11796 2011-09-10 Juri Linkov <juri@jurta.org>
11798 * paren.el (show-paren-function): Don't show escaped parens.
11799 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11801 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11803 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11804 (mm-default-file-encoding): Remove autoload forms, they are
11805 replaced with autoload cookies in mml.el and mm-encode.el.
11806 (mail-add-attachment): New command.
11807 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11808 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11810 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11812 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11814 * simple.el (count-words-region): Use buffer if there's no region
11817 2011-09-09 Juri Linkov <juri@jurta.org>
11819 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11820 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11821 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11823 2011-09-09 Alan Mackenzie <acm@muc.de>
11825 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11826 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11828 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11830 Fix for Savannah bug#9392.
11831 * simple.el (mail-encode-mml): New defvar.
11833 * mail/rmail.el (mail-encode-mml): Add a defvar.
11834 (rmail-enable-mime-composing): Default to t.
11835 (rmail-forward): Use MIME method of forwarding only if both
11836 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11837 Set mail-encode-mml non-nil if the MIME method was used.
11839 * mail/sendmail.el (mml-to-mime): Add autoload form.
11840 (mail-encode-mml): Add a defvar.
11841 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11843 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11844 message through mml-to-mime, and reset mail-encode-mml to nil.
11846 2011-09-09 Glenn Morris <rgm@gnu.org>
11848 * woman.el (woman-if-body): When processing an .el block,
11849 do not delete the next .el block as well. (Bug#9447)
11850 (woman-special-characters): Add oq, cq, and hy characters.
11852 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11854 * window.el (window-deletable-p): Make sure window is live before
11855 invoking window-prev-buffers.
11857 2011-09-08 Leo Liu <sdl.web@gmail.com>
11859 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11861 2011-09-08 Juri Linkov <juri@jurta.org>
11863 * progmodes/compile.el (compilation-environment): Make it
11864 a defcustom (bug#8340).
11866 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11868 * window.el (frame-auto-delete): Rename to window-auto-delete.
11869 Make it control auto-deletion of windows and/or frames.
11870 (window-deletable-p): New argument FORCE. Rewrite conditions
11871 for deleting window/frame. (Bug#9419)
11872 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11873 Rewrite handling of case when window/frame can be deleted.
11874 (delete-windows-on): Call window-deletable-p with new FORCE
11875 argument t. (Bug#9456)
11877 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11879 * help-mode.el (help-mode): Restore autoload.
11881 2011-09-07 Juri Linkov <juri@jurta.org>
11883 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11884 `compilation-environment'. Set buffer-local
11885 `compilation-environment' to `thisenv' later after (funcall mode).
11888 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11889 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11890 instead of replacing its value. (Bug#8340)
11892 2011-09-07 Juri Linkov <juri@jurta.org>
11894 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11895 based on text properties put by `grep-filter' instead of matching
11897 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11898 to the value of `grep-error-screen-columns' (bug#9438).
11900 2011-09-07 Juri Linkov <juri@jurta.org>
11902 * simple.el (next-error-highlight, next-error-highlight-no-select):
11903 Doc fix (bug#9432).
11905 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11908 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11910 2011-09-07 Leo Liu <sdl.web@gmail.com>
11912 * net/rcirc.el (rcirc-mode): Conditionally initialize
11915 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * emacs-lisp/find-func.el (find-function-C-source): Only set
11918 find-function-C-source-directory after checking that we found a source
11919 file there (bug#9440).
11921 2011-09-06 Alan Mackenzie <acm@muc.de>
11923 * isearch.el (isearch-other-meta-char): Wherever a key list is
11924 unread, "unread" the prefix arg, too. This fixes bug #8901.
11926 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11928 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11930 2011-09-05 Juri Linkov <juri@jurta.org>
11932 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11934 2011-09-05 Juri Linkov <juri@jurta.org>
11936 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11937 keeping point where processing of grep matches begins, and
11938 continue to delete remaining escape sequences from the same point.
11939 (grep-filter): Make leading zero optional in "0?1;31m" because
11940 git-grep emits "\033[1;31m" escape sequences unlike expected
11941 "\033[01;31m" as GNU Grep does (bug#9408).
11942 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11944 2011-09-05 Juri Linkov <juri@jurta.org>
11946 * subr.el (y-or-n-p): Capitalize "yes".
11948 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11950 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11951 `tramp-cache-unload-hook' where appropriate.
11952 (tramp-methods): Rename `tramp-remote-sh' to
11953 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11954 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11956 * net/tramp-sh.el (top): Don't require 'shell.
11957 (tramp-methods): Add `tramp-remote-shell' and
11958 `tramp-remote-shell-args' entries.
11959 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11960 (tramp-sh-handle-shell-command): Remove.
11961 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11962 Use `tramp-remote-shell'.
11964 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11966 * mail/sendmail.el (sendmail-query-once-function): Delete.
11967 (sendmail-query-once): Save directly to send-mail-function.
11968 Update message-send-mail-function too.
11970 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11972 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11974 * progmodes/python.el (python-mode-map): Use correct function to
11975 start python interpreter from menu-bar (as reported by Geert
11977 (inferior-python-mode-map): Fix typo.
11978 (python-shell-map): Remove.
11980 2011-09-03 Deniz Dogan <deniz@dogan.se>
11982 * net/rcirc.el (rcirc-print): Simplify code for
11983 rcirc-scroll-show-maximum-output. There is no need to walk
11984 through all windows to find the right one.
11986 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11988 * help.el (help-return-method): Doc fix.
11990 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11992 * window.el (window-deletable-p): Don't return a non-nil value
11993 when there's a buffer that was shown in the window before.
11995 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11996 Set window's previous buffers to nil.
11998 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12000 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12001 newline before and after the tag line, so it doesn't interfere
12002 with determining the paragraph direction of bidirectional text.
12004 2011-09-03 Leo Liu <sdl.web@gmail.com>
12006 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12008 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12010 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12011 (pop-to-buffer): Change interactive spec. Pass second argument
12012 directly to display-buffer.
12013 (display-buffer): Fix interactive spec. Use functionp to
12014 distinguish between a function and a list of functions.
12016 * abbrev.el (edit-abbrevs):
12017 * arc-mode.el (archive-extract):
12018 * autoinsert.el (auto-insert):
12019 * bookmark.el (bookmark-bmenu-list):
12020 * files.el (find-file):
12021 * view.el (view-buffer):
12022 * progmodes/compile.el (compilation-goto-locus):
12023 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12025 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12027 * window.el (display-buffer-alist): Doc fix.
12028 (display-buffer): Add docstring. Don't treat
12029 display-buffer-default specially.
12030 (display-buffer-reuse-selected-window)
12031 (display-buffer-same-window, display-buffer-maybe-same-window)
12032 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12033 (display-buffer-pop-up-window)
12034 (display-buffer-reuse-or-pop-window)
12035 (display-buffer-use-some-window): New functions.
12036 (display-buffer-default-action): Use them.
12037 (display-buffer-default): Delete.
12038 (pop-to-buffer-1): Fix choice of actions.
12040 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12042 * minibuffer.el (completion--insert-strings): Don't get confused by
12043 completion entries that end with an LF char.
12045 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12047 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12049 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12051 * window.el (display-buffer): Restore interactive spec.
12052 (display-buffer-same-window, display-buffer-other-window):
12054 (pop-to-buffer-1): New function. Use the above.
12055 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12056 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12058 * view.el (view-buffer-other-window, view-buffer-other-frame):
12059 Just use pop-to-buffer.
12061 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12063 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12065 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12067 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12069 2011-08-31 Richard Stallman <rms@gnu.org>
12071 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12072 of the separation of rmail-view-buffer from rmail-buffer.
12073 If you say no to "replace original", the decrypt is in the
12074 view buffer. If you say yes, the decrypt goes into the
12077 2011-08-31 Martin Rudalics <rudalics@gmx.at>
12079 * window.el (display-buffer-window): Rewrite doc-string.
12080 (display-buffer-record-window): New function.
12081 (display-buffer-macro-specifiers)
12082 (display-buffer-even-window-sizes, display-buffer-set-height)
12083 (display-buffer-set-width, display-buffer-in-window)
12084 (display-buffer-reuse-window, display-buffer-split-specifiers)
12085 (display-buffer-side-specifiers, display-buffer-split-window-1)
12086 (display-buffer-split-window, display-buffer-split-atom-window)
12087 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12088 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12089 (display-buffer-other-window-means-other-frame)
12090 (display-buffer-normalize-special)
12091 (display-buffer-normalize-default)
12092 (display-buffer-normalize-argument)
12093 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12094 (display-buffer-normalize-specifiers, display-buffer-frame)
12095 (display-buffer-same-window, display-buffer-same-frame)
12096 (display-buffer-other-window)
12097 (display-buffer-same-frame-other-window)
12098 (display-buffer-other-frame, pop-to-buffer-same-window)
12099 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12100 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12101 (switch-to-buffer-same-frame)
12102 (switch-to-buffer-other-window-same-frame)
12103 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12104 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12105 (display-buffer-alist-set): Remove.
12106 (display-buffer-function, special-display-buffer-names)
12107 (special-display-regexps, special-display-function):
12108 In doc-string refer to display-buffer-window and quit-restore
12110 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12111 (special-display-frame-alist, special-display-popup-frame)
12112 (same-window-buffer-names, same-window-regexps, same-window-p)
12113 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12114 (split-window-preferred-function, split-height-threshold)
12115 (split-width-threshold, window-splittable-p)
12116 (split-window-sensibly, window--try-to-split-window)
12117 (window--frame-usable-p, even-window-heights)
12118 (window--even-window-heights, window--display-buffer-1)
12119 (window--display-buffer-2, display-buffer-other-frame):
12120 Restore old Emacs 23 code, order and doc-strings where applicable.
12121 (display-buffer-default, display-buffer-assq-regexp): New functions.
12122 (display-buffer-alist): Rewrite doc-string.
12123 (display-buffer-default-action)
12124 (display-buffer-overriding-action): New variables.
12125 (display-buffer, switch-to-buffer): Rewrite.
12126 (pop-to-buffer): Restore Emacs 23 behavior but use
12127 window-normalize-buffer-to-display.
12128 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12129 Restore Emacs 23 behavior but use
12130 window-normalize-buffer-to-switch-to.
12131 (pop-to-buffer-same-window): Rewrite.
12132 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12133 Rewrite using Emacs 23 options.
12135 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
12137 * net/tramp.el (tramp-root-regexp): Remove.
12138 (tramp-completion-file-name-regexp-unified)
12139 (tramp-completion-file-name-regexp-separate)
12140 (tramp-completion-file-name-regexp-url): Don't use leading volume
12141 letter on w32 systems. (Bug#5303, Bug#9311)
12142 (tramp-drop-volume-letter): Simplify definition.
12143 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12145 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12147 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12150 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12152 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12154 2011-08-29 Juri Linkov <juri@jurta.org>
12156 * isearch.el (isearch-done): Don't display message "Mark saved"
12157 when arg `edit' is non-nil to prevent its flicker in the echo area.
12159 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12161 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12162 obsolete packages for deletion.
12164 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12166 * help-mode.el (help-mode-map): Add special-mode-map to parent.
12167 (help-mode): Derive help-mode from special-mode. Don't invoke
12168 view-mode from help-mode.
12169 (help-xref-override-view-map): Remove.
12170 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12171 view-mode is not used anymore.
12173 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12175 * server.el (server-port): Doc fix.
12177 * cus-theme.el (custom-theme-choose-mode): Inherit from
12178 special-mode (Bug#9124).
12179 (custom-theme-choose-mode-map): Add special-mode to parent.
12181 2011-08-28 Alan Mackenzie <acm@muc.de>
12183 * progmodes/cc-fonts.el
12184 (c-make-font-lock-BO-decl-search-function): New function.
12185 (c-basic-matchers-after - "Fontify the clauses after various
12186 keywords"): Extract the three keyword lists for the 3 erroneous
12187 constructs from the list of four, and use the new function above
12188 in place of an old one.
12190 2011-08-28 Deniz Dogan <deniz@dogan.se>
12192 * net/rcirc.el (rcirc-insert-prev-input)
12193 (rcirc-insert-next-input): Remove unused argument.
12195 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12199 2011-08-27 Alan Mackenzie <acm@muc.de>
12201 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12202 handle function pointer parameters properly.
12204 2011-08-27 Martin Rudalics <rudalics@gmx.at>
12206 * window.el (display-buffer-reuse-window): Fix case where
12207 selected window was reused with non-nil OTHER-WINDOW argument.
12210 2011-08-27 Deniz Dogan <deniz@dogan.se>
12212 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12213 oftc's NickServ messages.
12215 2011-08-27 Glenn Morris <rgm@gnu.org>
12217 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12219 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
12221 * emacs-lisp/package.el (package-install): Call package-initialize
12222 if called interactively.
12224 2011-08-26 Leo Liu <sdl.web@gmail.com>
12226 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12228 2011-08-25 Juri Linkov <juri@jurta.org>
12230 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12231 `search-whitespace-regexp' (bug#9364).
12233 2011-08-25 Juri Linkov <juri@jurta.org>
12235 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12236 `regexp-search-ring' to their global values to protect from
12237 updating by `read-from-minibuffer' (bug#9185).
12239 2011-08-25 Juri Linkov <juri@jurta.org>
12241 * textmodes/ispell.el (ispell-command-loop): Add newline
12242 at the end of the "Use option `i'..." line.
12244 2011-08-25 Juri Linkov <juri@jurta.org>
12246 * battery.el (display-battery-mode): If `battery-status-function'
12247 or `battery-mode-line-format' is nil, display the message and set
12248 `display-battery-mode' to nil (bug#9363).
12250 2011-08-25 Eli Zaretskii <eliz@gnu.org>
12252 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12253 bidi-string-mark-left-to-right; they are unnecessary now.
12255 2011-08-25 Deniz Dogan <deniz@dogan.se>
12257 * net/quickurl.el: Documentation typo fixes.
12259 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
12261 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12263 2011-08-25 Glenn Morris <rgm@gnu.org>
12265 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12267 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12268 (smtpmail-via-smtp): Handle nil response from smtp.
12270 2011-08-24 Juri Linkov <juri@jurta.org>
12272 * proced.el (proced-marked): Inherit from `error' instead of
12273 `font-lock-warning-face'.
12275 * ibuffer.el (ibuffer-marked-face): Change default face from
12276 `font-lock-warning-face' to `warning'.
12277 (ibuffer-deletion-face): Change default face from
12278 `font-lock-type-face' to `error'.
12280 * battery.el (battery-update): Use the face `error' instead of
12281 `font-lock-warning-face' (bug#6117).
12283 2011-08-24 Juri Linkov <juri@jurta.org>
12285 * faces.el (success): Change face color from "Green3" to
12286 "ForestGreen" on light background (bug#9353).
12288 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
12290 * window.el (quit-window): Rename from quit-restore-window.
12291 Use same arglist as old quit-window.
12292 (frame-auto-delete): Doc fix.
12294 * view.el (view-mode-exit): Use quit-window.
12296 2011-08-24 Juri Linkov <juri@jurta.org>
12298 * isearch.el (isearch-ring-adjust1): Start visiting previous
12299 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12300 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12301 for empty search string (when the last search string is reused
12302 automatically) to adjust the isearch ring to the last element and
12303 prepare the correct index for further M-p commands (bug#9185).
12305 2011-08-24 Kenichi Handa <handa@m17n.org>
12307 * international/ucs-normalize.el: If decomposition property of
12308 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12310 (nfd, nfkd): Likewise.
12312 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12314 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12315 from process filters aren't reliably transmitted to the surrounding
12316 accept-process-output.
12317 (mpc-proc-check): New function.
12318 (mpc-proc-sync): Use it (bug#8293)
12320 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12323 Add compatibility functions (bug#9313).
12325 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12327 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12329 * international/uni-bidi.el: Regenerate.
12331 2011-08-23 Kenichi Handa <handa@m17n.org>
12333 * international/charprop.el:
12334 * international/uni-bidi.el:
12335 * international/uni-category.el:
12336 * international/uni-combining.el:
12337 * international/uni-comment.el:
12338 * international/uni-decimal.el:
12339 * international/uni-decomposition.el:
12340 * international/uni-digit.el:
12341 * international/uni-lowercase.el:
12342 * international/uni-mirrored.el:
12343 * international/uni-name.el:
12344 * international/uni-numeric.el:
12345 * international/uni-old-name.el:
12346 * international/uni-titlecase.el:
12347 * international/uni-uppercase.el: Regenerate.
12349 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12351 * help.el (help-window-setup): Fix message displayed when other
12352 window is reused. (Bug#9341)
12354 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12357 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12359 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12361 * shell.el (shell-parse-pcomplete-arguments): New function.
12362 (shell-completion-vars): Use it instead (bug#9160).
12364 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12367 strings and comments (bug#9333).
12369 * emacs-lisp/debug.el (debug-arglist): New function.
12370 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12371 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12373 2011-08-22 Juri Linkov <juri@jurta.org>
12375 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12376 Revert regexp that highlights output switches to its old
12377 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12379 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12380 to check for empty output (bug#9226).
12382 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12384 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12385 symbol-constituent as the default, as that stops font-lock from
12386 working properly (Bug#8843).
12388 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12391 `coding-system-for-*' around the process open call to avoid
12392 auth-source side effects.
12393 (smtpmail-try-auth-methods): Expand the secret password.
12394 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12397 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12399 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12401 * emacs-lisp/find-func.el (find-function-noselect): New arg
12404 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12405 signal an error for built-in functions (Bug#6664).
12407 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12409 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12410 (smtpmail-try-auth-methods): Use it.
12412 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12414 * font-lock.el (font-lock-fontify-region)
12415 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12416 (font-lock-default-unfontify-buffer)
12417 (font-lock-default-fontify-region)
12418 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12420 * progmodes/compile.el (compilation-error-properties):
12421 Fix confusion between file struct and message struct (Bug#9319).
12422 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12425 * net/browse-url.el (browse-url-firefox): Don't call
12426 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12428 2011-08-20 Glenn Morris <rgm@gnu.org>
12430 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12432 * tutorial.el (tutorial--default-keys): Update some default bindings.
12434 * files.el (hack-local-variables): Fully ignore case for "mode:".
12436 2011-08-20 Alan Mackenzie <acm@muc.de>
12438 Resolve invalid use of a regexp in regexp-opt.
12440 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12441 detection for a java annotation.
12443 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12444 detection for a java annotation.
12446 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12448 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12450 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12452 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12455 2011-08-20 Alan Mackenzie <acm@muc.de>
12457 Fontify CPP expressions correctly when starting in the middle of
12458 such a construct. Mainly for when jit-lock etc. starts a chunk
12461 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12463 (c-make-font-lock-search-form): New function, extracted from
12464 c-make-font-lock-search-function.
12465 (c-make-font-lock-search-function): Use the above function.
12466 (c-make-font-lock-context-search-function): New function.
12467 (c-cpp-matchers): Enhance the preprocessor expression case with
12469 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12470 which takes an expression.
12472 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12474 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12476 * window.el (display-buffer-reuse-window)
12477 (display-buffer-pop-up-window): Don't reuse or split a side
12480 2011-08-19 Glenn Morris <rgm@gnu.org>
12482 * files.el (hack-local-variables-prop-line, hack-local-variables):
12483 Downcase "Mode:". (Bug#9331)
12485 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12487 * international/characters.el: Add L and R categories.
12489 * subr.el (bidi-string-mark-left-to-right): Rename from
12490 string-mark-left-to-right. Use category search.
12492 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12494 2011-08-18 Juri Linkov <juri@jurta.org>
12496 * faces.el (error, warning, success): New faces with definitions
12497 copied from old default values of `font-lock-warning-face',
12498 `compilation-warning', `compilation-info' (bug#6117).
12500 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12502 * progmodes/compile.el (compilation-error): Inherit from `error'.
12503 (compilation-warning): Inherit from `warning'.
12504 (compilation-info): Inherit from `success'.
12506 * dired.el (dired-marked): Inherit from `warning'.
12507 (dired-flagged): Inherit from `error'.
12509 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511 * mail/smtpmail.el (auth-source): Require to avoid problems with
12512 binding variables (bug#9298). Also clean up some unused
12515 * net/network-stream.el (network-stream-open-starttls):
12516 Support using starttls.el without using gnutls-cli.
12518 2011-08-17 Juri Linkov <juri@jurta.org>
12520 * progmodes/grep.el (rgrep): Handle the case when
12521 `grep-find-command' is a cons cell (bug#9278).
12523 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12525 * window.el (display-buffer-pop-up-frame): Run frame creation
12526 function with BUFFER current (as special-display-popup-frame
12527 does). Reported by Drew Adams.
12529 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12531 * epa-mail.el: Simplify GnuPG group expansion using
12533 (epa-mail-group-alist, epa-mail-group-modtime)
12534 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12535 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12536 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12539 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12541 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12543 2011-08-16 Alan Mackenzie <acm@muc.de>
12545 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12546 Correct, to avoid the inside of macros.
12548 2011-08-16 Richard Stallman <rms@gnu.org>
12550 * epa-mail.el: Handle GnuPG group definitions.
12551 (epa-mail-group-alist, epa-mail-group-modtime)
12552 (epa-mail-gnupg-conf-file): New variables.
12553 (epa-mail-parse-groups, epa-mail-sync-groups)
12554 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12555 (epa-mail-expand-recipients): New functions.
12556 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12558 * mail/rmail.el (rmail-epa-decrypt): New command.
12560 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12561 Don't bind buffer-read-only, just inhibit-read-only.
12562 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12563 (epa-decrypt-armor-in-region): Make error message clearer.
12565 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12567 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12568 and "a2b" to "ab" for `prefix'.
12570 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12572 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12574 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12575 Fourquet (Bug#8804).
12577 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12579 * startup.el (argi): Declare as global variable (bug#9275).
12581 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12583 * subr.el (string-mark-left-to-right): Search the entire string
12584 for RTL script, not just the terminating character. Doc fix.
12586 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12588 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12590 (js--regexp-literal, js-syntax-propertize-function): Remove.
12591 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12592 (js-mode-map): Don't rebind electric keys.
12593 (js-insert-and-indent): Remove.
12594 (js-mode): Setup electric-layout and electric-indent instead.
12596 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12598 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12600 * epa.el (epa-progress-callback-function): Fix the logic of
12601 displaying progress.
12602 * epa-file.el (epa-file-insert-file-contents): Make progress
12603 display more user-friendly.
12604 (epa-file-write-region): Ditto.
12606 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12608 * subr.el (string-mark-left-to-right): New function.
12610 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12611 Use string-mark-left-to-right.
12612 (list-buffers-noselect): Caller changed.
12614 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12615 Use string-mark-left-to-right.
12616 (tabulated-list-print): Recenter after moving point.
12618 2011-08-10 Juri Linkov <juri@jurta.org>
12620 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12621 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12622 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12624 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12626 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12629 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12631 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12632 character. (Bug#6594)
12634 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12636 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12637 (image-dired--with-db-file): New macro.
12638 (image-dired-write-tags, image-dired-remove-tag)
12639 (image-dired-create-gallery-lists, image-dired-write-comments)
12640 (image-dired-get-comment, image-dired-mark-tagged-files)
12641 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12642 (image-dired-gallery-generate): Use insert-file-contents.
12644 * time.el (display-time-world-list, display-time-world-display):
12645 * time-stamp.el (time-stamp-string):
12646 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12647 set-time-zone-rule (Bug#7337).
12649 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12651 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12652 (epg-error-to-string, epg-errors-to-string): New function.
12653 (epg-wait-for-completion): Reverse errors list.
12654 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12655 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12656 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12657 (epg-sign-keys, epg-generate-key-from-file)
12658 (epg-generate-key-from-string): Format errors by using
12659 epg-errors-to-string (bug#9255).
12660 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12662 2011-08-07 Juri Linkov <juri@jurta.org>
12664 * faces.el (list-faces-display): Remove extra angle bracket
12665 from `help-mode-map'.
12667 * info.el (Info-history-toc-nodes): Doc fix.
12669 * longlines.el (longlines-mode): Doc fix.
12671 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12673 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12674 of statements and in a few more cases (bug#9183).
12676 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12678 (cl-transform-lambda): Use them (bug#9239).
12680 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12682 * window.el (display-buffer-same-window)
12683 (display-buffer-same-frame, display-buffer-other-window)
12684 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12685 (pop-to-buffer-other-window)
12686 (pop-to-buffer-same-frame-other-window)
12687 (pop-to-buffer-other-frame): Make them defuns.
12688 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12690 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12692 * subr.el (make-composed-keymap): Move from C. Change calling
12693 convention, and improve docstring to bring attention to a subtle point.
12694 * minibuffer.el (completing-read-default): Adjust accordingly.
12696 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12698 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12699 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12701 * net/trampver.el: Update release number.
12703 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12705 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12708 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710 * mail/sendmail.el (sendmail-query-once): Restore the current
12711 buffer after querying (bug#9074).
12713 * dired.el (dired-flagged): Use different faces for marked and
12714 flagged files (bug#6117).
12716 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12719 * ido.el (ido-mode): Switch off the message if called
12722 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12723 before 587, since it appears that that's more likely to work for
12726 * cus-edit.el (custom-file): When running under emacs -q, always
12727 refuse to save the customizations, even if the .emacs file doesn't
12730 * info.el: Remove the `Info-beginning-of-buffer' function
12733 * net/network-stream.el (network-stream-open-starttls):
12734 Use `starttls-available-p' to see whether starttls.el can be used.
12736 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12738 * window.el (display-buffer-in-window): Don't set dedicated status
12739 of window here (Bug#9215).
12740 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12741 (display-buffer-pop-up-side-window)
12742 (display-buffer-in-side-window): Set dedicated status of window here.
12744 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12747 before binding generated-autoload-file.
12749 2011-08-01 Deniz Dogan <deniz@dogan.se>
12751 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12753 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12755 Sync with Tramp 2.2.2.
12757 * net/trampver.el: Update release number.
12759 2011-07-30 Juri Linkov <juri@jurta.org>
12761 * dired-aux.el (dired-touch-initial): Remove function.
12762 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12763 current time, and `default' to the last modification time of the
12764 current marked file (bug#6887).
12766 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12768 * simple.el (goto-line): Use string-to-number to provide a
12769 numeric argument to read-number (bug#9163).
12771 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12773 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12774 connection process, it could be nil.
12776 2011-07-27 Leo Liu <sdl.web@gmail.com>
12778 Simplify url handling in rcirc-mode.
12780 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12781 (rcirc-browse-url-at-mouse): Remove.
12782 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12784 2011-07-26 Alan Mackenzie <acm@muc.de>
12786 Fontify bitfield declarations properly.
12788 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12789 (c-symbol-chars): Now exported as a lang variable.
12790 (c-not-primitive-type-keywords): New lang variable.
12792 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12793 QT keyword "more" to prevent "more slots: ...." being spuriously
12794 parsed as a bitfield declaration.
12796 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12797 Refactor and enhance to handle bitfield declarations.
12798 (c-punctuation-in): New function.
12799 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12800 declarations properly.
12802 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12804 * calendar/icalendar.el (icalendar--all-events): Take care of
12805 multiple vcalendars in a single file.
12806 (icalendar--convert-float-to-ical): Checkdoc fixes.
12808 2011-07-25 Deniz Dogan <deniz@dogan.se>
12810 * image.el (insert-image): Clarifying docstring.
12812 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12814 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12815 `tramp-send-command-and-check' if there is no error.
12816 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12818 2011-07-22 Alan Mackenzie <acm@muc.de>
12820 Prevent cc-langs.elc being loaded at run time.
12822 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12825 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12826 "(require 'cc-langs)". Quote a form so it will evaluate at
12827 (cc-mode's) compilation time.
12829 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12831 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12832 loading. (Bug#9114)
12834 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12836 * window.el (display-buffer-pop-up-window)
12837 (display-buffer-pop-up-side-window)
12838 (display-buffer-in-side-window): Call display-buffer-set-height
12839 and display-buffer-set-width after setting the new window's
12840 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12842 2011-07-20 Sam Steingold <sds@gnu.org>
12844 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12845 (etags-tags-included-tables): Call `convert-standard-filename' on
12846 the file names contained in TAGS so that windows Emacs can handle
12847 TAGS files created by cygwin ctags.
12849 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12851 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12852 which apparently didn't work.
12854 2011-07-19 Roland Winkler <winkler@gnu.org>
12856 * proced.el (proced-send-signal): For *Marked Processes* buffer
12857 put point at beginning of buffer.
12859 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12861 * proced.el (proced-format): Make header lines align with the text
12864 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12866 * view.el (view-buffer): Allow running in `special' modes if we're
12867 visiting a file (bug#8615).
12869 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12871 * window.el (display-buffer-alist-of-strings-p)
12872 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12874 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12877 2011-07-18 Alan Mackenzie <acm@muc.de>
12879 Fontify declarators properly when, e.g., a jit-lock chunk begins
12880 inside a declaration.
12882 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12884 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12886 (c-complex-decl-matchers): Insert reference to
12887 c-font-lock-enclosing-decls.
12889 * progmodes/cc-engine.el (c-backward-single-comment):
12890 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12891 to nil around calls to (forward-comment -1).
12893 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12895 * image.el (put-image): Doc typo fix.
12897 * progmodes/etags.el (tags-search): Doc typo fix.
12899 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12900 password if we get errors 550 to 554.
12902 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904 * net/gnutls.el (gnutls-log-level): Remove.
12906 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12907 indentation character (bug#6380).
12909 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12911 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12912 to clarify what the problem is (bug#4291).
12914 * simple.el (current-kill): Clarify what
12915 `interprogram-paste-function' does (bug#7500).
12916 (auto-fill-mode): Document `auto-fill-function' in relation to
12917 `auto-fill-mode' (bug#2470).
12919 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12921 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12922 method if slot is read-only (bug#9035).
12924 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12926 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12927 * window.el (pop-to-buffer): Select window used even if it was
12928 selected before, see discussion of (Bug#8615), (Bug#6954).
12929 Pass argument NORECORD on to select-frame-set-input-focus.
12931 2011-07-15 Glenn Morris <rgm@gnu.org>
12933 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12936 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12938 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12939 (gnutls-negotiate): Use it.
12941 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12943 * net/gnutls.el (gnutls-negotiate):
12944 Upcase `gnutls-algorithm-priority'.
12946 2011-07-15 Glenn Morris <rgm@gnu.org>
12948 * jka-compr.el (jka-compr-verbose): Move from here...
12949 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12950 Add missing :version tag.
12951 * info.el: No need to require jka-compr when compiling.
12953 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12955 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12956 (gnutls-negotiate): Use it.
12958 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12960 * info.el (Info-beginning-of-buffer): New command.
12961 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12962 announcing `b' as the key (bug#8325).
12963 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12965 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12967 * international/mule-cmds.el
12968 (describe-specified-language-support): Make the error message
12969 clearer (bug#8905).
12971 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12973 * isearch.el (isearch-barrier): Add a doc string, since it's
12974 mentioned in a function doc string (bug#8678).
12976 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12978 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12979 buffer argument (Bug#9083) and self-identifying label argument.
12981 2011-07-15 Glenn Morris <rgm@gnu.org>
12983 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12985 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12987 * man.el (Man-fontify-manpage): Fix message when formatting the
12988 man page (bug#7929).
12990 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12992 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12993 argument LRM; if non-nil, append an invisible LRM character to the
12995 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12996 last argument non-nil, when formatting buffer names.
12997 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12998 paragraph direction.
13000 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13002 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13003 the man page name (bug#7929).
13005 * image.el (put-image): Mention the `put-image' overlay property
13008 * scroll-bar.el (set-scroll-bar-mode): Mention that
13009 `scroll-bar-mode' lists the values (bug#7772).
13011 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13012 command (bug#7729).
13014 * rect.el (apply-on-rectangle): Return the point after the last
13016 (string-rectangle): Go to the point after the last operation
13019 * printing.el (pr-toggle-region): Clarify the documentation
13020 slightly (bug#7493).
13022 * time.el (display-time-update):
13023 Allow `display-time-mail-function' to return nil (bug#7158).
13024 Fix suggested by Detlev Zundel.
13026 * vc/diff.el (diff): Clarify the order the file names are read
13029 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13030 the doc string (bug#7015).
13032 * font-lock.el (font-lock-maximum-decoration): Mention what
13033 numeric levels mean (bug#6935).
13035 * startup.el (initial-buffer-choice): Don't mention the `none'
13036 selection, which is against policy.
13038 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13040 * window.el (display-buffer-normalize-special):
13041 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13043 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13045 * subr.el (version<, version<=, version=): Mention "-CVS" and
13046 "-12345" alpha version numbers.
13048 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13050 * bindings.el: Add advertised binding for set-mark-command
13053 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13055 * bindings.el (mode-line-other-buffer):
13056 * bookmark.el (bookmark-bmenu-2-window):
13057 * bs.el (bs-cycle-next, bs-cycle-previous):
13058 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13061 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13064 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13066 * follow.el (follow-debug-message, follow-redisplay):
13067 * jka-cmpr-hook.el (with-auto-compression-mode):
13068 Fix typos in docstrings.
13070 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072 * subr.el (with-silent-modifications): Clarify somewhat what the
13073 macro inhibits (bug#6525).
13075 * simple.el (eval-expression): Note what it does if called
13076 interactively (bug#6495).
13078 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13080 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13081 Use pop-to-buffer buffer-or-name if it is nil.
13083 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13084 Remove switch-to-buffer.
13086 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088 * files.el (make-directory): Clarify that an error will be raised
13089 if there's an error (bug#6397).
13091 * startup.el (initial-buffer-choice): Add `none' as a choice
13094 * subr.el (add-hook): Clarify section about buffer-local hooks
13097 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13099 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13101 * tabify.el (untabify): Preserve the current column so that point
13102 doesn't move (bug#6032).
13104 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13106 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13107 Rewrite to avoid awkward possessive "s" (bug#5986).
13109 2011-07-13 Glenn Morris <rgm@gnu.org>
13111 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13112 (dired-insert-directory): Give a message the first time
13113 if ls is found not to support --dired.
13115 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13117 * simple.el (toggle-truncate-lines): Clarify what is toggled
13118 (bug#5580). Text by Drew Adams.
13120 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13122 * simple.el (blink-matching-open): Make the error message from the
13123 last change less verbose.
13125 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13127 * font-lock.el (font-lock-comment-face): Use the high contrast
13128 "yellow" color for font-lock-comment-face on low color terminals
13129 using a dark background color (bug#4221).
13131 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13133 * dired.el (dired-insert-set-properties): Make the doc string
13134 reflect what it does now (bug#5325).
13136 * simple.el (blink-matching-open): Say that we were unable to find
13137 the match within the limit, if we're limited (bug#5122).
13139 * international/mule-cmds.el (prefer-coding-system): Add an
13140 example (bug#4869).
13142 * progmodes/etags.el (tags-search): Document `file-list-form'
13145 2011-07-13 Lawrence Mitchell <wence@gmx.li>
13147 * net/browse-url.el (browse-url-default-browser)
13148 (browse-url-browser-function): Make the default browser choice a
13149 bit more logical (bug#4300). Also clean up the doc string.
13151 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13153 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13154 binary endings (bug#4440).
13156 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13158 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13159 which can be pretty annoying (bug#8971).
13161 * jka-compr.el (jka-compr-verbose): New variable, and use
13162 throughout (bug#8971).
13164 * info.el (Info-find-file): Fall back on the installation
13165 directory if we can't find the info node anywhere else.
13167 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13169 * vc/vc.el (vc-revert-file):
13170 Don't set file time-stamp in the past. (Bug#5181)
13172 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13174 * files.el (after-find-file): Give a better error message when
13175 trying to find a symlink that points to a file that doesn't exist
13178 * progmodes/cc-vars.el: Remove (probably) misleading comment
13181 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13183 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13185 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13187 * mouse-sel.el: Hack restoring functionality, while keeping
13188 compatibility with 2010-07-03 changes to mouse selection.
13189 (mouse-sel-primary-overlay): New var.
13190 (mouse-sel-selection-alist): Use it.
13191 (mouse-sel-mode): Doc fix; remove points that are default features
13194 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13197 Fix previous fix (bug#2490).
13199 2011-07-12 Roland Winkler <winkler@gnu.org>
13201 * textmodes/bibtex.el (bibtex-initialize):
13202 Use pop-to-buffer-same-window.
13203 (bibtex-search-entries): Fix interactive call.
13205 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13207 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13208 Fontise bytecomp Error lines more correctly (bug#2490).
13209 Fix suggested by Johan BockgĂ¥rd.
13211 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13213 * dired-x.el (dired-guess-default): Use `delete-dups'.
13215 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13217 * dired.el (dired-mark-prompt):
13218 * dired-aux.el (dired-read-shell-command): Doc fix.
13220 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13222 * mail/sendmail.el (sendmail-query-once):
13223 Use `customize-save-variable' unconditionally, now that it works under
13226 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13228 * cus-edit.el (custom-file): Take an optional no-error variable.
13229 (customize-save-variable): Set the variable, and give a warning if
13230 running under "emacs -q".
13232 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
13234 * loadhist.el (unload-feature-special-hooks):
13235 Add `auto-coding-functions', `fill-nobreak-predicate' and
13236 `find-directory-functions' (bug#5327).
13238 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13240 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13242 * cus-edit.el (custom-guess-name-alist): -alist variables should
13243 use the `alist' type (bug#3120). Suggested by Drew Adams.
13245 * printing.el: Add documentation to all the `pr-toggle-' commands.
13247 2011-07-11 Leo Liu <sdl.web@gmail.com>
13249 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13250 backends where it makes sense (bug#2623).
13252 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13254 * dired-x.el (dired-guess-default): Remove duplicate shell command
13255 entries (bug#2028).
13256 (dired-guess-default): Fix grammar in doc string (bug#2028).
13257 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13259 * subr.el (remove-duplicates): New conveniency function.
13261 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13263 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13266 2011-07-10 Martin Rudalics <rudalics@gmx.at>
13268 * window.el (display-buffer-normalize-default): Don't invert
13269 meaning of even-window-heights. Reported by Eli Zaretskii
13272 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13274 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13276 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
13278 * window.el (display-buffer): Fix arguments to
13279 display-buffer-reuse-window in last change.
13281 * faces.el (link): Use a less saturated blue on light backgrounds.
13283 * startup.el (fancy-startup-text, fancy-about-text)
13284 (fancy-startup-tail): Use font-lock faces, for background safety.
13286 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13288 * emulation/viper-cmd.el (viper-change-state-to-vi):
13289 Limit triggering of abbrev expansion (Bug#9038).
13291 2011-07-09 Martin Rudalics <rudalics@gmx.at>
13293 * window.el (display-buffer-default-specifiers): Remove.
13294 (display-buffer-macro-specifiers): Remove default specifiers.
13295 (display-buffer-alist): Default to nil.
13296 (display-buffer-reuse-window): New optional argument other-window.
13297 (display-buffer-pop-up-window): Allow splitting internal
13298 windows. Check whether a live window was created.
13299 (display-buffer-other-window-means-other-frame)
13300 (display-buffer-normalize-arguments): Rename to
13301 display-buffer-normalize-argument and rewrite. Set the
13302 other-window specifier.
13303 (display-buffer-normalize-special): New function.
13304 (display-buffer-normalize-options): Rename to
13305 display-buffer-normalize-default and rewrite.
13306 (display-buffer-normalize-options-inhibit): Remove.
13307 (display-buffer-normalize-specifiers): Rewrite.
13308 (display-buffer): Process other-window specifier and call
13309 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13311 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13312 (display-buffer-alist-set): Don't handle 'unset default values.
13313 (display-buffer-in-window, display-buffer-alist-set):
13314 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13315 <tassilo@member.fsf.org>.
13317 2011-07-09 Leo Liu <sdl.web@gmail.com>
13319 * register.el (insert-register): Restore accidental change on
13320 2011-06-26. (Bug#9028)
13322 2011-07-09 Glenn Morris <rgm@gnu.org>
13324 * subr.el (remq): Handle the empty list. (Bug#9024)
13326 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13328 * mail/sendmail.el (send-mail-function): No longer delay custom
13330 * custom.el (custom-initialize-delay): Doc fix.
13332 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13334 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13336 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13338 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13339 human-friendly prompt.
13341 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13344 provided by a particular plugin.
13346 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13349 save customizations (with "emacs -Q"), just set the variable
13350 instead of erroring out.
13352 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13354 2011-07-08 Juri Linkov <juri@jurta.org>
13356 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13357 (archive-zip-update-case): Use 7z if found by `executable-find'.
13358 The order of searching the available programs is the same as in
13359 `archive-zip-extract' (bug#8968).
13361 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13363 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13364 (menu-bar-options-menu): Tweak descriptions.
13366 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13368 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13369 menu items into verb phrases (bug#1421). Also refill to fit under
13372 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13374 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13375 (Info-read-node-name): Doc fix (Bug#1084).
13377 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13378 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13379 (end-of-sexp, beginning-of-sexp)
13380 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13381 (forward-symbol, forward-same-syntax, word-at-point)
13382 (sentence-at-point): Doc fix (Bug#1144).
13384 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13386 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13387 should cover it (bug#1281).
13389 * cus-edit.el (custom-show): Mark as obsolete.
13391 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13392 negotiation fails, then possibly try again with a non-encrypted
13393 connection (bug#9017).
13395 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13398 2011-07-07 Richard Stallman <rms@gnu.org>
13400 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13401 property, and handle its changed format.
13402 Look for the correct line number.
13403 Use file's line contents (but not past first =) to find
13404 correct line in message.
13406 2011-07-07 Kenichi Handa <handa@m17n.org>
13408 * international/characters.el (build-unicode-category-table):
13410 (unicode-category-table): Set it by unicode-property-table-internal.
13412 * international/mule-cmds.el (char-code-property-alist): Move to
13414 (get-char-code-property): Call unicode-property-table-internal to
13415 load a file. Call get-unicode-property-internal where necessary.
13416 (put-char-code-property): Call unicode-property-table-internal to
13417 load a file. Call put-unicode-property-internal where necessary.
13418 put-unicode-property-internal where necessary.
13419 (char-code-property-description):
13420 Call unicode-property-table-internal to load a file.
13422 * international/charprop.el:
13423 * international/uni-bidi.el:
13424 * international/uni-category.el:
13425 * international/uni-combining.el:
13426 * international/uni-comment.el:
13427 * international/uni-decimal.el:
13428 * international/uni-decomposition.el:
13429 * international/uni-digit.el:
13430 * international/uni-lowercase.el:
13431 * international/uni-mirrored.el:
13432 * international/uni-name.el:
13433 * international/uni-numeric.el:
13434 * international/uni-old-name.el:
13435 * international/uni-titlecase.el:
13436 * international/uni-uppercase.el: Regenerate.
13438 * loadup.el: Load international/charprop.el before
13439 international/characters.
13441 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13443 * window.el (next-buffer, previous-buffer): Signal an error if
13444 called from a minibuffer window.
13446 * bindings.el: Revert 2011-07-04 change.
13448 2011-07-06 Richard Stallman <rms@gnu.org>
13450 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13451 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13452 Treat markers like ints.
13453 (rmail-mime-entity): Doc fix.
13455 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13457 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13458 defcustom again for backwards compatibility.
13460 * simple.el (shell-command-on-region): Fill.
13462 * dired-aux.el (dired-kill-line): Add a doc string.
13464 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13465 to "\\sw\\|\\s_" (bug#358).
13467 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13468 (dired-unmark-backward): Ditto.
13469 (dired-flag-backup-files): Ditto.
13471 * dired-x.el (dired-mark-sexp): Ditto.
13473 2011-07-06 Richard Stallman <rms@gnu.org>
13475 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13476 (rmail-mime-entity): New arg TRUNCATED.
13477 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13479 (rmail-mime-save): Warn if entity is truncated.
13480 (rmail-mime-toggle-hidden): Likewise, for showing.
13481 (rmail-mime-process-multipart): Record when an entity is truncated.
13483 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13484 if ENTITY is a string.
13486 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13488 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13489 of faces when `M-C-x'-ing their definitions (bug#8378).
13490 Also clean up the code slightly.
13492 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13493 because that makes the colors go away.
13495 * mail/sendmail.el (send-mail-function): Change the default to
13496 `sendmail-query-once'.
13497 (sendmail-query-once): Add an autoload cookie.
13499 * net/network-stream.el (network-stream-open-starttls): Try using
13500 a plain connection even if the server offered STARTTLS, and we
13501 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13502 capability. This should make smtpmail.el work in slightly more
13505 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13507 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13509 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13511 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13513 * progmodes/sql.el: Version 3.0
13514 (sql-product-alist): Add product :completion-object,
13515 :completion-column, and :statement attributes.
13516 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13517 (sql-mode-syntax-table): Mark all punctuation.
13518 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13520 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13521 (sql-mode-oracle-font-lock-keywords): Improve.
13522 (sql-oracle-show-reserved-words): New function for development.
13523 (sql-product-font-lock): Simplify for source code buffers.
13524 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13526 (sql-highlight-product): Set product specific syntax table.
13527 (sql-mode-map): Add statement movement functions.
13528 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13530 (sql-statement-regexp, sql-beginning-of-statement)
13531 (sql-end-of-statement, sql-signum): New functions.
13532 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13533 (sql-show-sqli-buffer): Bug fix.
13534 (sql-interactive-mode): Store connection data as buffer local.
13535 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13536 with sql-interactive-mode.
13537 (sql-save-connection): Save buffer local settings.
13538 (sql-connection-menu-filter): Change menu entry name.
13539 (sql-product-interactive): Bug fix.
13540 (sql-preoutput-hold): New variable.
13541 (sql-interactive-remove-continuation-prompt): Bug fixes.
13542 (sql-debug-redirect): New variable.
13543 (sql-str-literal): New function.
13544 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13546 (sql-oracle-save-settings, sql-oracle-restore-settings)
13547 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13548 (sql-completion-object, sql-completion-column)
13549 (sql-completion-sqlbuf): New variables.
13550 (sql-build-completions-1, sql-build-completions)
13551 (sql-try-completion): New functions.
13552 (sql-read-table-name): Use them.
13553 (sql-contains-names): New buffer local variable.
13554 (sql-list-all, sql-list-table): Use it.
13555 (sql-oracle-completion-types): New variable.
13556 (sql-oracle-completion-object, sql-sqlite-completion-object)
13557 (sql-postgres-completion-object): New functions.
13559 2011-07-06 Glenn Morris <rgm@gnu.org>
13561 * window.el (pop-to-buffer): Doc fix.
13563 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13565 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13567 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13569 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13571 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13573 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13575 * button.el (button): Inherit from link face. Suggested by Dan
13578 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13580 * progmodes/gdb-mi.el: Fit in 80 columns.
13581 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13584 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13585 if imenu is simply not configured (bug#8941).
13587 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13589 * allout.el (allout-post-undo-hook): New allout outline-change
13590 event hook to signal undo activity.
13591 (allout-post-command-business): Run allout-post-undo-hook if an
13592 undo just occurred.
13593 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13594 * allout-widgets.el (allout-widgets-after-undo-function):
13595 Ensure the integrity of the current item's decoration after it has been
13596 in the vicinity of an undo.
13597 (allout-widgets-mode): Include allout-widgets-after-undo-function
13598 on the new allout-post-undo-hook.
13600 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13602 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13603 Let define-derived-mode define it.
13604 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13605 cycles of abbrev-table inheritance (bug#8998).
13607 2011-07-05 Roland Winkler <winkler@gnu.org>
13609 * textmodes/bibtex.el: Add support for biblatex.
13610 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13611 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13612 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13613 (bibtex-entry-alist, bibtex-field-alist): New variables.
13614 (bibtex-entry-field-alist): Obsolete alias for
13615 bibtex-BibTeX-entry-alist.
13616 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13617 (bibtex-set-dialect): New command.
13618 (bibtex-entry-type, bibtex-entry-head)
13619 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13620 Bind via bibtex-set-dialect.
13621 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13622 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13623 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13624 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13625 Define via bibtex-set-dialect.
13626 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13627 Obey bibtex-no-opt-remove-re.
13628 (bibtex-vec-push, bibtex-vec-incr): New functions.
13629 (bibtex-format-entry, bibtex-field-list)
13630 (bibtex-print-help-message, bibtex-validate)
13631 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13633 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * progmodes/compile.el (compilation-goto-locus):
13636 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13637 * bs.el (bs-cycle-next, bs-cycle-previous):
13638 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13639 * bindings.el (mode-line-other-buffer):
13640 * autoinsert.el (auto-insert):
13641 * arc-mode.el (archive-extract):
13642 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13644 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13646 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13647 Fix check of `emacs-lock-unlockable-modes'.
13648 Coerce true values of `emacs-lock--try-unlocking' to t.
13650 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13652 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13653 * emacs-lock.el: New file.
13655 2011-07-05 Julien Danjou <julien@danjou.info>
13657 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13658 than `boundp' to check if face is set.
13660 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13662 * register.el (registerv-make):
13663 * window.el (window-min-height): Fix typos in docstrings.
13665 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13667 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13670 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13672 * server.el (server-execute): Catch quit and call
13673 `server-return-error' to pass the error back to emacsclient and
13674 close the connection (bug#8942).
13676 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13678 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13679 insecure exception for current topic. Also note that auto-saves
13680 are handled differently.
13682 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13683 State variables for tracking auto-save inhibition situation.
13685 (allout-write-contents-hook-handler): Rename from
13686 'allout-write-file-hook-handler', and describe how it depends on
13687 write-contents-functions sensitivity to non-nil value to prevent
13690 (allout-auto-save-hook-handler): Remove. auto-save does not check
13691 this in individual buffers, only in the starting buffer, so this
13692 is not the right way for us to inhibit auto-save in a buffer
13693 according to its condition.
13695 (allout-mode): Use new allout-write-contents-hook-handler, and
13696 only with write-contents-functions. Remove auto-save provisions -
13697 they're implemented elsewhere.
13699 (allout-before-change-handler): If undo is in progress, note that
13700 for attention of allout-post-command-business.
13702 (allout-post-command-business): If the command we're following was
13703 an undo, check for change in the status of encrypted items and
13704 adjust auto-save inhibitions accordingly.
13706 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13707 according to whether there are or aren't any plain-text topics
13708 pending encryption.
13710 (allout-inhibit-auto-save-info-for-decryption):
13711 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13712 if there are plain-text topics pending encryption.
13714 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13715 buffer-saved-size and some allout state to not inhibit auto-saves
13716 if there are no longer any plain-text topics pending encryption.
13718 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13719 No longer provide for exemption of the current topic.
13721 2011-07-04 Juri Linkov <juri@jurta.org>
13723 Add 7z operations to delete and save changed members (bug#8968).
13724 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13726 (archive-7z-write-file-member): New function.
13727 (archive-7z-summarize): Fix the number of dashes in the
13730 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13732 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13735 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13737 * bindings.el: Ignore next-buffer and previous-buffer in
13738 minibuffer-local-map.
13740 * font-lock.el (font-lock-builtin-face): Change light background
13741 color to dark slate blue (Bug#6693).
13743 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13745 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13747 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13749 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13750 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13751 Add switch-to-buffer.
13753 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13755 * isearch.el (isearch-search-fun-function): Clarify further the
13756 meaning of the function returned.
13758 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13760 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13762 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13763 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13765 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13766 `tramp-default-remote-path' does not exist.
13767 (tramp-send-command-and-read): New optional argument NOERROR.
13768 (tramp-open-connection-setup-interactive-shell)
13769 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13770 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13771 (tramp-process-sentinel): Flush also process' connection property.
13772 (tramp-sh-handle-start-file-process): Do not set process
13773 sentinel. It is done now ...
13774 (tramp-maybe-open-connection): ... here. (Bug#8929)
13776 2011-07-04 MON KEY <monkey@sandpframing.com>
13778 * play/animate.el (animate-string): Doc fixes and allow changing
13779 the buffer name (bug#5417).
13781 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13783 * play/animate.el (animation-buffer-name): Rename from *animate*.
13785 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13787 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13788 This is simpler and helps future-proof the code.
13789 (timer-until): Use time-subtract and float-time.
13790 (timer--time-less-p): Use time-less-p.
13792 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13794 * type-break.el (timep): Use the value of `float-time' to avoid a
13795 byte-compiler warning.
13797 * server.el (server-eval-and-print): Return any result, even nil.
13799 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13801 * type-break.el: Accept time formats that the builtins accept.
13802 (timep, type-break-time-difference): Accept any format that
13803 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13804 This is simpler and helps future-proof the code.
13805 (type-break-time-difference): Round rather than ignoring
13806 subseconds components.
13808 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13810 * info.el (Info-apropos-matches): Make non-interactive, since it
13811 doesn't seem to do anything useful as a command (bug#8829).
13813 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13815 * frame.el (frame-background-mode, frame-set-background-mode):
13816 Move from faces.el.
13817 (frame-default-terminal-background): New function.
13819 * custom.el (custom-push-theme): Don't record faces in `changed'
13820 theme; this doesn't work correctly for per-frame face settings.
13821 (disable-theme): Use face-set-after-frame-default to reset faces.
13822 (custom--frame-color-default): New function.
13824 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13826 * dired.el (dired-flagging-regexp): Remove unused variable
13829 2011-03-29 Kevin Ryde <user42@zip.com.au>
13831 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13832 `perl-Test2' extend to match possible "fail #N" rep count
13835 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13837 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13838 `smtpmail-via-smtp' now returns the error instead of nil.
13840 * isearch.el (isearch-search-fun-function): Clarify the doc string
13843 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13845 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13846 unnecessary spaces (bug#8987).
13848 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13850 * net/network-stream.el (open-network-stream): Use the
13851 :end-of-capability command thoughout.
13853 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13855 * net/network-stream.el (open-network-stream): Add the
13856 :end-of-capability command parameter, used by pop3.el.
13858 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13860 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13862 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13863 for list)" (bug#6475).
13865 * files.el (file-expand-wildcards): Ignore non-readable
13866 sub-directories while trying to find matches instead of signaling
13867 an error (bug#6297).
13869 * man.el (Man-reference-regexp): Allow matching possible
13870 word-wrapped references (bug#6289).
13872 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13873 for consistency with the other vc buffers (bug#6197).
13874 (vc-checkin): Ditto.
13876 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13878 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13880 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13882 * custom.el (defcustom): Clarify that :set is only used in the
13883 Customize user interface (bug#6089).
13885 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13886 associated with a file, refuse to run instead of erroring out
13889 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13890 the doc string, since it appears that using `fill-column' always
13891 controls the width (bug#7845).
13893 * simple.el (shell-command-on-region): Say where the error output
13894 went if `shell-command-default-error-buffer' is set (bug#6857).
13896 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13898 * allout.el (allout-yank-processing): Adjust cursor position for
13899 backwards-deleted space.
13901 (allout-rebullet-heading): Register changes with
13902 allout-exposure-changed-hook, so the modified topic is properly
13905 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13907 * minibuffer.el (completion-in-region): Document PREDICATE
13910 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13911 of keyword/argument pairs (bug#6904).
13913 * replace.el (multi-occur):
13914 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13916 2011-07-02 Drew Adams <drew.adams@oracle.com>
13918 * dired.el (dired-mark-if): Make the message about whether it's
13919 marking or unmarking clearer (bug#8523).
13921 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13923 * disp-table.el (display-table-print-array): New function.
13924 (describe-display-table): Use it to print the vectors more pretty
13927 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13929 * window.el (window-state-get-1): Don't assign clone numbers.
13930 Add clone-of item to list of window parameters.
13931 (window-state-put-2): Don't process clone numbers.
13932 (display-buffer-alist): Fix doc-string.
13934 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13936 * subr.el (remq): Don't allocate if it's not needed.
13937 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13938 (keymap--merge-bindings): New functions.
13939 (keymap-canonicalize): Use them to refine the canonicalization.
13940 * minibuffer.el (minibuffer-local-completion-map)
13941 (minibuffer-local-must-match-map): Move initialization from C.
13942 (minibuffer-local-filename-completion-map): Move initialization from C;
13943 don't inherit from anything here.
13944 (minibuffer-local-filename-must-match-map): Make obsolete.
13945 (completing-read-default): Use make-composed-keymap to combine
13946 minibuffer-local-filename-completion-map with either
13947 minibuffer-local-must-match-map or
13948 minibuffer-local-filename-completion-map.
13950 2011-07-01 Glenn Morris <rgm@gnu.org>
13952 * type-break.el (type-break-time-sum): Use dolist.
13954 * textmodes/flyspell.el (flyspell-word-search-backward):
13955 Replace CL function.
13957 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * mouse.el (mouse--strip-first-event): New function.
13960 (function-key-map): Use it to map fringe clicks to normal clicks
13963 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13964 (vc-bzr-revision-completion-table): Add support for annotate and date.
13966 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13967 inherit from parent.
13969 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13971 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13972 (dired-show-file-type): Doc fixup (bug#8818).
13974 * dired.el (dired-mode): Fix up the doc string as suggested by
13975 Drew Adams (bug#8817).
13977 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13978 cookie, since the manual says that it should be possible to add
13979 this function to `find-file-hook' (bug#8709).
13981 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13983 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13984 here. Noted Ted Zlatanov as the maintainer.
13985 (cfengine-common-settings, cfengine-common-syntax): New functions
13986 to set up common things between `cfengine-mode' and
13988 (cfengine3-mode): New mode.
13989 (cfengine3-defuns cfengine3-defuns-regex
13990 (cfengine3-class-selector-regex cfengine3-category-regex)
13991 (cfengine3-vartypes cfengine3-font-lock-keywords)
13992 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13993 (cfengine3-indent-line): Add from cfengine3.el.
13995 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13997 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13999 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14001 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14003 * window.el (same-window-buffer-names, same-window-regexps)
14004 (same-window-p, special-display-frame-alist)
14005 (special-display-popup-frame, special-display-function)
14006 (special-display-buffer-names, special-display-regexps)
14007 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14008 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14009 (split-window-preferred-function, split-height-threshold)
14010 (split-width-threshold, even-window-heights)
14011 (display-buffer-mark-dedicated, window-splittable-p)
14012 (split-window-sensibly, window-safely-shrinkable-p):
14014 (display-buffer): Don't spread args with function specifier
14015 because special-display-popup-frame won't like it.
14017 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14019 Time-stamp simplifications and fixes.
14020 These improve accuracy slightly, and future-proof the code
14021 against some potential changes to current-time format.
14023 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14024 by using time-since and float-time.
14026 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14027 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14028 + NNN microseconds".
14030 * type-break.el (type-break-time-sum): Rewrite using time-add.
14032 * play/hanoi.el (hanoi-current-time-float): Remove.
14033 All uses replaced by float-time.
14035 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14036 This yields a more-accurate answer.
14037 (rng-time-to-float): Remove; no longer needed.
14039 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14041 * calendar/timeclock.el (timeclock-seconds-to-time):
14042 Defalias to seconds-to-time, since they're the same thing.
14044 * emacs-lisp/elp.el (elp-elapsed-time):
14045 * emacs-lisp/benchmark.el (benchmark-elapse):
14046 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14048 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14050 * window.el (bury-buffer): Don't iconify the only frame.
14051 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14052 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14054 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14056 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14057 Add mouse-yank-primary.
14059 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14061 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14063 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14065 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14066 (find-library-name): Use it to find relative load names when provided
14067 absolute file name (bug#8803).
14069 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14071 * textmodes/flyspell.el (flyspell-word): Consider words that
14072 differ only in case as potential doublons (bug#5687).
14074 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14075 Remove two rather uninteresting debugging-like messages to make
14076 debbugs.el more silent.
14078 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14079 a password-like phrase.
14081 2011-06-30 Masatake YAMATO <yamato@redhat.com>
14083 * progmodes/cc-guess.el: New file.
14085 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14087 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14088 derived from `c-basic-common-init'.
14090 * progmodes/cc-mode.el (top-level): Require cc-guess.
14091 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14093 2011-06-30 Lawrence Mitchell <wence@gmx.li>
14095 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14097 2011-06-30 Alan Mackenzie <acm@muc.de>
14099 * progmodes/cc-engine.el (c-guess-continued-construct):
14100 Correct the handling of template-args-cont, particularly for when font
14101 lock is disabled. Name this case as "CASE G".
14103 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14105 * allout.el (allout-yank-processing): Fix injection of extra space
14106 between bullet and non-whitespace character in first topic when
14107 pasting, ensuring that the actual spacing in the pasted topic
14108 following the bullet char is preserved. This extra space was
14109 causing pasted encrypted topics to get a decrypted status even
14110 when the content was actually still encrypted. Now the decryption
14111 status from before the paste is preserved.
14113 (allout-flag-region): Set all allout overlays so they evaporate
14114 when reduced to zero length (evanescent), to prevent overlay
14117 2011-06-30 Glenn Morris <rgm@gnu.org>
14119 * w32-fns.el (w32-charset-info-alist): Declare.
14121 * find-dired.el (find-grep-options): Simplify.
14123 * term/ns-win.el (ns-set-resource): Declare.
14125 * ses.el (row, col): Declare dynamic variables honestly.
14127 * textmodes/reftex-parse.el (index-tags): Declare.
14129 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
14131 * cus-edit.el (customize-push-and-save): New function.
14133 * files.el (hack-local-variables-confirm): Use it.
14135 * custom.el (load-theme): New arg NO-CONFIRM.
14136 Use customize-push-and-save (Bug#8720).
14137 (custom-enabled-themes): Doc fix.
14139 * cus-theme.el (customize-create-theme)
14140 (custom-theme-merge-theme): Callers to load-theme changed.
14142 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14144 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14145 short URLs have at least one dot in them (bug #7614).
14147 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14148 nil, because using a pty is apparently too slow (bug #895).
14150 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14152 * mail/sendmail.el (sendmail-query-once): New function.
14153 (sendmail-query-once-function): New variable.
14155 2011-06-29 Glenn Morris <rgm@gnu.org>
14157 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14159 * ses.el (top-level): Require cl when compiling.
14160 (ses-set-localvars): Fix error statement.
14161 Call it at compile time to silence a storm of warnings.
14163 2011-06-29 Martin Rudalics <rudalics@gmx.at>
14165 * window.el (normalize-live-buffer): Rename to
14166 window-normalize-buffer.
14167 (normalize-live-frame): Rename to window-normalize-frame.
14168 (normalize-any-window): Rename to window-normalize-any-window.
14169 (normalize-live-window): Rename to window-normalize-live-window.
14170 (make-window-atom): Rename to window-make-atom.
14171 (window-resize-reset): Rename to window--resize-reset.
14172 (window-resize-reset-1): Rename to window--resize-reset-1.
14173 (resize-mini-window): Rename to window--resize-mini-window.
14174 (resize-subwindows-skip-p): Rename to
14175 window--resize-subwindows-skip-p.
14176 (resize-subwindows-normal): Rename to
14177 window--resize-subwindows-normal.
14178 (resize-subwindows): Rename to window--resize-subwindows.
14179 (resize-other-windows): Rename to window--resize-siblings.
14180 (resize-this-window): Rename to window--resize-this-window.
14181 (resize-root-window): Rename to window--resize-root-window.
14182 (resize-root-window-vertically): Rename to
14183 window--resize-root-window-vertically.
14184 (normalize-buffer-to-display): Rename to
14185 window-normalize-buffer-to-display.
14186 (normalize-buffer-to-switch-to): Rename to
14187 window-normalize-buffer-to-switch-to.
14188 Correspondingly update all callers of the functions listed
14190 (display-buffer-alist, display-buffer-normalize-arguments)
14191 (display-buffer-normalize-options, display-buffer)
14192 (display-buffer-alist-set): Use "function" instead of
14195 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
14197 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14198 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14199 debbugs.gnu.org. Mention acknowledgment email.
14201 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14203 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14204 buffer multibyteness, since it shouldn't matter.
14206 2011-06-28 Martin Rudalics <rudalics@gmx.at>
14208 * window.el (display-buffer-in-side-window): Handle dedicated
14209 windows as in display-buffer-reuse-window.
14210 (display-buffer-normalize-alist): Use value of override
14212 (display-buffer-normalize-specifiers): Use value of
14213 other-window-means-other-frame specifier.
14214 (display-buffer-alist): Rewrite some texts in widgets.
14215 (display-buffer): Spread arguments when calling function
14216 specified by fun-with-args.
14218 2011-06-28 Deniz Dogan <deniz@dogan.se>
14220 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14223 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14224 selectors (Bug#5732).
14225 (css-proprietary-nmstart-re): Use `regexp-opt'.
14227 2011-06-27 Jari Aalto <jari.aalto@cante.net>
14229 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14230 (eshell-ls-date-format): New defcustom.
14231 (eshell-ls-file): Use it.
14233 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14235 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14237 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14239 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14240 (ange-ftp-make-tmp-name): New arg.
14241 (ange-ftp-file-local-copy): Use it.
14243 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
14245 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14246 no-conversion (Bug#8870).
14248 2011-06-27 Martin Rudalics <rudalics@gmx.at>
14250 * window.el (window-right, window-left, window-child)
14251 (window-child-count, window-last-child)
14252 (window-iso-combination-p, walk-window-tree-1)
14253 (window-atom-check-1, window-tree-1, delete-window)
14254 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14255 new naming conventions - window-vchild, window-hchild,
14256 window-next and window-prev are now called window-top-child,
14257 window-left-child, window-next-sibling and window-prev-sibling
14259 (resize-window-reset): Rename to window-resize-reset.
14260 (resize-window-reset-1): Rename to window-resize-reset-1.
14261 (resize-window): Rename to window-resize.
14262 (window-min-height, window-min-width)
14263 (resize-mini-window, resize-this-window, resize-root-window)
14264 (resize-root-window-vertically, adjust-window-trailing-edge)
14265 (enlarge-window, shrink-window, maximize-window)
14266 (minimize-window, delete-window, quit-restore-window)
14267 (split-window, balance-windows, balance-windows-area-adjust)
14268 (balance-windows-area, window-state-put-2)
14269 (display-buffer-even-window-sizes, display-buffer-set-height)
14270 (display-buffer-set-width, set-window-text-height)
14271 (fit-window-to-buffer): Rename all "resize-window" prefixed
14272 calls to use the "window-resize" prefix convention.
14273 (display-buffer-alist): Fix symbol for label specifier.
14274 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14275 corresponding specifier.
14276 Reported by Juanma Barranquero <lekktu@gmail.com>.
14278 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14280 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14282 (ses-call-printer): Does not pass an empty string to formatter when the
14283 cell is empty to keep from barking printer Calc math-format-value.
14285 2011-06-27 Richard Stallman <rms@gnu.org>
14287 * battery.el (battery-mode-line-limit): New variable.
14288 (battery-update): Handle it.
14290 * mail/rmailmm.el (rmail-mime-process-multipart):
14291 Handle truncated messages.
14293 2011-06-27 Glenn Morris <rgm@gnu.org>
14295 * progmodes/flymake.el (flymake-err-line-patterns):
14296 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14298 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14300 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14301 (ses--clean-!, ses--clean-_): New functions.
14302 (ses-range): Add configurability of readout order, and conversion
14305 * ses.el (ses-repair-cell-reference-all): New function.
14306 (ses-cell-symbol): Set macro as safe, so that it can be used in
14309 * ses.el: Update cycle detection algorithm.
14310 (ses-localvars): Add ses--Dijkstra-attempt-nb and
14311 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14312 (ses-set-localvars): New function.
14313 (ses-make-cell): Add property-list as a cell element.
14314 (ses-cell-property-get-fun, ses-cell-property-get)
14315 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14316 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14318 (ses-cell-property-set, ses-cell-property-pop)
14319 (ses-cell-property-get-handle): New macro.
14320 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14321 New aliases, used for code readability.
14322 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14324 (ses-self-reference-early-detection): New defcustom.
14325 (ses-formula-references): Robustify against self-referring cells.
14326 (ses-mode): Use ses-set-localvars.
14327 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14328 before lauching the update processing.
14329 (ses-initialize-Dijkstra-attempt): New function.
14330 (ses-recalculate-cell): Update for cycle detection based on
14331 Dijkstra algorithm.
14333 * ses.el: Fix commenting and indenting convention.
14335 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * bs.el (bs-cycle-next): Complete last change.
14339 2011-06-27 Drew Adams <drew.adams@oracle.com>
14341 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14343 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14345 * net/network-stream.el (network-stream-open-starttls):
14346 Don't re-get capabilities unless we've reestablished connection.
14347 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14349 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14350 to binary to possibly avoid line encoding issues on Windows (among
14353 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14355 * net/network-stream.el (open-network-stream): Return an :error
14356 saying what the problem was, if possible.
14358 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14361 * net/network-stream.el (network-stream-open-starttls): If we
14362 wanted to use STARTTLS, and the server offered it, but we weren't
14363 able to because we had no STARTTLS support, then close the connection.
14364 (open-network-stream): Return an :error element, if present.
14366 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14368 * hl-line.el (hl-line-sticky-flag): Doc fix.
14369 (global-hl-line-sticky-flag): New option (Bug#8323).
14370 (global-hl-line-highlight): Obey it.
14372 * vc/vc.el (vc-revert-show-diff): Default to t.
14374 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14376 * allout-widgets.el (allout-widgets-post-command-business):
14377 Stop decorating intermediate isearch matches. They're not being
14378 undecorated when an isearch is continued past, and isearch
14379 automatically collapses them. This leads to "widget leaks", where
14380 decorated items accumulate in collapsed areas. Lines with lots of
14381 hidden widgets can slow down cursor travel, substantially.
14382 Too much complicated machinery would be needed to ensure undecoration,
14383 so we're doing without this nicety.
14385 (allout-widgets-tally-string): Don't try to do a hash-table-count
14386 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14387 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14388 *Messages* when allout-widgets-maintain-tally is t.
14390 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14392 * window.el (display-buffer-normalize-argument): Rename to
14393 display-buffer-normalize-arguments. Handle special meaning of
14394 LABEL argument. Respect special-display-function when popping up
14395 a new frame. Fix code searching for a window showing the buffer
14397 (display-buffer-normalize-specifiers):
14398 Call display-buffer-normalize-arguments.
14399 (display-buffer-in-window): Don't undedicate the window if its
14400 buffer remains the same.
14401 Reported by Drew Adams <drew.adams@oracle.com>.
14402 (display-buffer-alist): Add choice for same-window macro
14404 (display-buffer): Mention special meaning of LABEL argument in
14405 doc-string. Fix quoting. Don't pop up a new frame even as
14408 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14410 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14411 avoid deleting the current window in some cases (bug#8911).
14413 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14415 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14418 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14420 * net/network-stream.el (network-stream-open-starttls):
14421 Use built-in TLS support if `gnutls-available-p' is true.
14422 (network-stream-open-tls): Ditto.
14424 2011-06-26 Leo Liu <sdl.web@gmail.com>
14426 * register.el (registerv): New struct.
14427 (registerv-make): New function.
14428 (jump-to-register, describe-register-1, insert-register):
14429 Support the jump-func, print-func and insert-func slot of a registerv
14432 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14434 * vc/vc.el (vc-revert-show-diff): New defcustom.
14435 (vc-diff-internal): New arg specifying diff buffer.
14436 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14437 reuse an existing *vc-diff* buffer (Bug#8927).
14439 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14441 2011-06-26 Glenn Morris <rgm@gnu.org>
14443 * progmodes/f90.el (f90-critical-indent): New option.
14444 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14445 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14446 (f90-mode): Doc fix.
14447 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14448 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14449 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14450 (f90-match-end): Handle block, critical.
14452 2011-06-25 Glenn Morris <rgm@gnu.org>
14454 * calendar/diary-lib.el (diary-included-files): Doc fix.
14455 (diary-include-files): New function, extracted from
14456 diary-include-other-diary-files and diary-mark-included-diary-files.
14457 (diary-include-other-diary-files, diary-mark-included-diary-files):
14458 Just call diary-include-files.
14459 (diary-mark-entries): Reset diary-included-files on first call.
14461 * calendar/diary-lib.el (diary-mark-entries)
14462 (diary-mark-included-diary-files):
14463 Visit included diary-files in temp buffers.
14465 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14466 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14467 (f90-start-block-re, f90-imenu-generic-expression)
14468 (f90-looking-at-program-block-start, f90-no-block-limit):
14469 Add support for submodules.
14471 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14472 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14474 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14476 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14477 buffer-file-type before setting its value, to avoid disastrous
14478 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14480 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14482 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14484 * ses.el (ses-unload-function):
14485 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14487 * proced.el (proced-unload-function):
14488 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14490 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14492 * server.el (server-create-window-system-frame): Add parameters arg.
14493 (server-process-filter): Doc fix. Handle frame-parameters.
14495 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14497 Fix bug#8730, bug#8781.
14499 * loadhist.el (unload--set-major-mode): New function.
14500 (unload-feature): Use it.
14502 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14503 (python-unload-function): New function.
14505 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14507 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14509 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14511 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14512 the candidates list.
14514 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14516 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14518 2011-06-23 Richard Stallman <rms@gnu.org>
14520 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14521 (rmail-variables): Set next-error-move-function.
14522 (rmail-what-message): Take argument POS.
14523 (rmail-next-error-move): New function.
14525 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14527 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14528 messages for adjacent non-terminals.
14530 2011-06-23 Richard Stallman <rms@gnu.org>
14532 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14533 (rmail-show-message-1): Preserve buffer modified flag.
14534 (rmail-start-mail): Don't specify use of rmail-mail-return;
14535 that's done by mail-bury now.
14536 (rmail-mail-return): Handle arg NEWBUF.
14538 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14540 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14543 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14545 * window.el (get-lru-window, get-mru-window)
14546 (get-largest-window): Never return a minibuffer window.
14547 (display-buffer-pop-up-window): Fix a bug that could lead to
14548 reusing the minibuffer window.
14549 (display-buffer): Pass original specifier argument to
14550 display-buffer-function instead of the normalized one.
14551 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14553 2011-06-22 Leo Liu <sdl.web@gmail.com>
14555 * minibuffer.el (completing-read-function)
14556 (completing-read-default): Move from minibuf.c
14558 2011-06-22 Richard Stallman <rms@gnu.org>
14560 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14561 to Rmail even if not started by a special Rmail command.
14563 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14564 Copy the buffer currently showing just one message.
14566 2011-06-22 Roland Winkler <winkler@gnu.org>
14568 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14569 (bibtex-clean-entry): First delete the old key so that a
14570 customized algorithm for generating the new key does not get
14571 confused by the old key.
14572 (bibtex-url): Obey regexp of first step.
14573 (bibtex-search-entries): Do not use add-to-list with local
14576 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14578 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14579 stored a user name, then query for the password first, instead of
14580 waiting for SMTP to give an error message and the trying again.
14582 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14584 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14585 BUFFER in call-process.
14587 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14589 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14591 (smtpmail-try-auth-methods): Require user name and password from
14594 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14596 * window.el (display-buffer-default-specifiers)
14597 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14598 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14599 (split-window): Normalize SIDE argument (Bug#8916).
14601 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14602 (special-display-frame-alist, special-display-popup-frame):
14603 Remove duplicate declarations. These are now in window.el.
14605 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14607 * mail/smtpmail.el (smtpmail-via-smtp):
14608 Set :use-starttls-if-possible so that we always use STARTTLS if the
14609 server supports it. SMTP servers that support STARTTLS commonly
14612 * net/network-stream.el (network-stream-open-starttls): Support
14613 upgrading to STARTTLS always, even if we don't have built-in support.
14614 (open-network-stream): Add the :always-query-capabilities keyword.
14616 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14617 upgrades with `open-network-stream', and rely solely on
14618 auth-source for all credentials. Big changes throughout the file,
14620 (smtpmail-auth-credentials): Remove.
14621 (smtpmail-starttls-credentials): Remove.
14622 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14625 * net/network-stream.el (network-stream-open-starttls):
14626 Provide support for client certificates both for external and built-in
14628 (auth-source): Require.
14629 (open-network-stream): Document the :client-certificate keyword.
14630 (network-stream-certificate): Change cert-cert to cert and
14633 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14635 * net/tramp-cache.el (top): Don't load the persistency file when
14636 "emacs -Q" has been called.
14638 2011-06-21 Tim Harper <timcharper@gmail.com>
14640 * term/ns-win.el (ns-initialize-window-system):
14641 Set application-specific `ApplePressAndHoldEnabled' system
14642 resource to NO as it is not yet supported by the NS port.
14644 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14646 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14647 (list-dynamic-libraries): ...not here.
14649 2011-06-21 Leo Liu <sdl.web@gmail.com>
14651 * subr.el (sha1): Implement sha1 using secure-hash.
14653 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14655 * window.el (display-buffer-alist): In default value do not
14656 enforce searching a window on any but the selected frame.
14657 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14658 (display-buffer-select-window): Remove function.
14659 (display-buffer-in-window): When a window on another frame gets
14660 reused, do not select it any more but just raise its frame if
14661 necessary (Bug#8851) and (Bug#8856).
14662 (display-buffer-normalize-options): Handle pop-up-frames related
14663 options more faithfully.
14664 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14665 window if it is on another frame.
14666 (display-buffer-alist, display-buffer-default-specifiers):
14667 Don't make new frame unsplittable by default.
14668 (display-buffer-normalize-argument): Fix doc-string typo and use
14669 'same-frame-other-window instead of 'other-window when associating
14670 with display-buffer-macro-specifiers.
14672 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14674 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14676 (5x5-mode-map, 5x5-mode-menu): Bind them.
14677 (5x5-draw-grid): Tweak the solver's rendering.
14679 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14681 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14682 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14684 2011-06-21 Drew Adams <drew.adams@oracle.com>
14686 * menu-bar.el: Use function variable instead of switch-to-buffer.
14687 (menu-bar-select-buffer-function): New variable.
14688 (menu-bar-update-buffers): Use it (bug#8876).
14690 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14692 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14695 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14697 * x-dnd.el (x-dnd-version-from-flags)
14698 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14699 and long as number (Bug#8899).
14700 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14702 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14704 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14705 (completion-try-completion, completion-all-completions): Compute the
14706 metadata argument if it's missing; make it optional (bug#8795).
14708 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14709 (widget-complete): Use new :completion-function property.
14710 (widget-completions-at-point): New function.
14711 (default): Use :completion-function instead of :complete.
14712 (widget-default-completions): Rename from widget-default-complete;
14714 (widget-string-complete, widget-file-complete, widget-color-complete):
14716 (file, symbol, function, variable, coding-system, color):
14717 * international/mule-cmds.el (default-input-method, charset)
14718 (language-info-custom-alist):
14719 * cus-edit.el (face): Use new property :completions.
14721 * progmodes/pascal.el (pascal-completions-at-point): New function.
14722 (pascal-mode): Use it.
14723 (pascal-mode-map): Use completion-at-point.
14724 (pascal-toggle-completions): Make obsolete.
14725 (pascal-complete-word, pascal-show-completions):
14726 * progmodes/octave-mod.el (octave-complete-symbol):
14727 Redefine as obsolete alias.
14728 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14729 Signal absence of completion info for old Octave,
14730 (inferior-octave-complete): Redefine as obsolete alias.
14731 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14732 (meta-completions-at-point): Rename from meta-complete-symbol and
14733 adapt it for use on completion-at-point-functions.
14734 (meta-common-mode): Use it.
14735 (meta-looking-at-backward, meta-match-buffer): Remove.
14736 (meta-complete-symbol): Redefine as obsolete alias.
14737 (meta-common-mode-map): Use completion-at-point.
14738 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14739 (makefile-mode-map): Use completion-at-point.
14740 (makefile-completions-at-point): Rename from makefile-complete and
14741 adapt it for use on completion-at-point-functions.
14742 (makefile-mode): Use it.
14743 (makefile-complete): Redefine as obsolete alias.
14745 2011-06-20 Deniz Dogan <deniz@dogan.se>
14747 * net/rcirc.el: Delete trailing whitespaces once and for all.
14749 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14751 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14753 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14755 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14757 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14759 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14761 * window.el (display-buffer-other-window-means-other-frame):
14762 Call display-buffer-normalize-alist.
14763 (display-buffer-normalize-specifiers-1): Rename to
14764 display-buffer-normalize-argument. New argument other-frame.
14766 (display-buffer-normalize-specifiers-2): Rename to
14767 display-buffer-normalize-options.
14768 (display-buffer-normalize-alist-1): New function.
14769 (display-buffer-normalize-specifiers-3): Rename to
14770 display-buffer-normalize-alist.
14771 Call display-buffer-normalize-alist-1.
14772 (display-buffer-normalize-options-inhibit): New variable.
14773 (display-buffer-normalize-specifiers): Rewrite calling
14774 display-buffer-normalize-alist,
14775 display-buffer-normalize-argument, and
14776 display-buffer-normalize-options. Don't call the latter if
14777 display-buffer-normalize-options-inhibit is non-nil.
14778 (frame-auto-delete): New option.
14779 (window-deletable-p): Use frame-auto-delete.
14780 (window-list-no-nils, window-state-ignored-parameters)
14781 (window-state-get-1, window-state-get, window-state-put-list)
14782 (window-state-put-1, window-state-put-2, window-state-put):
14784 (display-buffer-normalize-options): Move special-display-p group
14785 after pop-up-frame group (Bug#8851) and (Bug#8856).
14787 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14789 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14791 (rx-submatch-n): New function.
14794 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14797 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14799 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14801 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14802 anytime existing face settings are present (Bug#8889).
14804 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14805 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14806 Remove unused argument.
14808 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14810 * window.el (display-buffer-default-specifiers):
14811 Remove pop-up-frame. Add pop-up-window-min-height,
14812 pop-up-window-min-width, and another reuse-window specifier
14813 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14814 (display-buffer-normalize-specifiers-2):
14815 Handle split-height-threshold and split-width-threshold also when
14816 pop-up-windows is unset. Add a reuse-window specifier for the
14817 case popping up a new window fails.
14818 (special-display-popup-frame): Remove double quoting.
14819 (display-buffer-normalize-specifiers-1): Fix thinko.
14821 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14823 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14824 according to comint-completion-addsuffix.
14826 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14827 (pcomplete-suffix-list): Mark as obsolete.
14828 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14829 pcomplete-seen in the closure.
14830 (pcomplete-comint-setup): Setup completion-at-point as well.
14831 (pcomplete--entries): New function.
14832 (pcomplete--env-regexp): New var.
14833 (pcomplete-entries): Rewrite to work with partial-completion and
14834 without relying on pcomplete-suffix-list.
14835 (pcomplete-pare-list): Remove, unused.
14837 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14839 * window.el (display-buffer-alist): Set pop-up-window-min-height
14840 and pop-up-window-min-width in default value. Reported by
14841 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14842 other-window-means-other-frame.
14843 (display-buffer-macro-specifiers): Comment out entry for
14844 other-window specifier.
14845 (display-buffer-other-window-means-other-frame): New function.
14846 (display-buffer-normalize-specifiers-1): New arguments
14847 buffer-name and label. Treat other-window case specially.
14848 (display-buffer-normalize-specifiers-2): Treat other-window case
14850 (display-buffer-normalize-specifiers-3): New function.
14851 (display-buffer-normalize-specifiers):
14852 Call display-buffer-normalize-specifiers-3.
14854 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14856 * window.el (same-window-p): Fix two typos introduced when
14857 adding with-no-warnings.
14858 (display-buffer-normalize-specifiers-1): Don't check
14859 pop-up-frames for 'unset initialization.
14860 (display-buffer-normalize-specifiers-2): Major rewrite using
14861 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14862 (pop-up-frames, display-buffer-reuse-frames)
14863 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14864 Suggested by David Engster <deng@randomsample.de>.
14865 (even-window-heights): Initialize to 'unset.
14866 (display-buffer-alist-set): Handle new 'unset initializations.
14867 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14870 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14872 * window.el (display-buffer-normalize-specifiers-1):
14873 Respect current value of pop-up-frames for most reasonable values of
14874 second argument of display-buffer (Bug#8865).
14875 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14876 (switch-to-buffer-other-window-same-frame)
14877 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14879 (display-buffer): Don't check noninteractive when calling
14880 display-buffer-pop-up-frame.
14881 (display-buffer-pop-up-frame): Never pop up a frame in
14882 noninteractive mode (Bug#8857).
14883 (enlarge-window, shrink-window): Don't report an error when the
14884 window can't be resized as requested (Bug#8862).
14886 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14888 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14890 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14892 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14894 2011-06-15 Alan Mackenzie <acm@muc.de>
14896 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14897 for declarators, disable knr checking to speed up for normal files.
14898 2: Refactor, replacing a sequence of nested if forms by a cond form.
14900 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14902 * net/network-stream.el (open-network-stream): Add the keyword
14903 :always-query-capabilities for the case where you want to force a
14904 `plain' network connection, but the protocol still requires the
14905 capabilitiy command (i.e., SMTP and EHLO).
14907 * subr.el (process-live-p): Rename from `process-alive-p' for
14908 consistency with other `-live-p' functions.
14910 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14912 * window.el (same-window-buffer-names, same-window-regexps)
14913 (special-display-frame-alist, special-display-popup-frame)
14914 (special-display-function, special-display-buffer-names)
14915 (special-display-regexps, pop-up-frame-alist)
14916 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14917 (pop-up-windows, split-window-preferred-function)
14918 (split-height-threshold, split-width-threshold, even-window-heights)
14919 (display-buffer-mark-dedicated): Don't encourage the use of
14920 display-buffer-alist from Elisp code.
14922 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14924 * progmodes/python.el (python-mode): Derive from prog-mode.
14925 * progmodes/ps-mode.el (ps-mode):
14926 * progmodes/mixal-mode.el (mixal-mode):
14927 * progmodes/cfengine.el (cfengine-mode):
14928 * progmodes/ld-script.el (ld-script-mode): Likewise.
14930 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14932 * window.el (display-buffer-alist): Trim default value to avoid
14933 popping up a new frame (Bug#8857) or reusing an arbitrary window
14935 (display-buffer): Do not fall back on popping up a new frame in
14936 batch mode (Bug#8857).
14938 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14940 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14941 (custom-theme-summary): New function.
14942 (customize-themes): Use it.
14944 2011-06-13 Glenn Morris <rgm@gnu.org>
14946 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14948 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14950 * help.el (help-window): Remove variable.
14951 (help-window-point-marker, temp-buffer-max-height)
14952 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14953 (help-print-return-message): Don't set help-window.
14954 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14955 (help-window-setup-finish): Remove.
14956 (help-window-display-message, help-window-setup)
14957 (with-help-window): Major rewrite based on new
14958 display-buffer-window variable.
14960 * help-mode.el (help-mode-finish): Remove help-window related
14963 * view.el (view-exits-all-viewing-windows): Remove reference to
14964 view-return-to-alist in doc-string.
14965 (view-return-to-alist): Make obsolete.
14966 (view-buffer): Call pop-to-buffer-same-window and remove
14968 (view-buffer-other-window): Call pop-to-buffer-other-window and
14969 simplify code. Ignore second argument.
14970 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14971 simplify code. Ignore second argument.
14972 (view-return-to-alist-update): Make obsolete.
14973 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14974 Rewrite using quit-restore window parameters.
14975 (view-mode-exit): Rename second argument to EXIT-ONLY.
14976 Rewrite using quit-restore-window.
14977 (View-exit, View-exit-and-edit, View-leave, View-quit)
14978 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14979 appropriate arguments.
14980 (view-end-message): Use quit-restore window parameter.
14982 * window.el (display-buffer-function): Rewrite doc-string.
14983 (display-buffer-window, display-buffer-alist): New variables.
14984 (display-buffer-split-specifiers)
14985 (display-buffer-side-specifiers)
14986 (display-buffer-macro-specifiers): New constants.
14987 (display-buffer-even-window-sizes, display-buffer-set-height)
14988 (display-buffer-set-width, display-buffer-select-window)
14989 (display-buffer-in-window, display-buffer-reuse-window)
14990 (display-buffer-split-window-1, display-buffer-split-window)
14991 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14992 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14993 (display-buffer-in-side-window, normalize-buffer-to-display)
14994 (display-buffer-normalize-specifiers-1)
14995 (display-buffer-normalize-specifiers-2)
14996 (display-buffer-normalize-specifiers, display-buffer-frame):
14998 (display-buffer): Major rewrite.
14999 (display-buffer-other-window, display-buffer-other-frame)
15000 (pop-to-buffer, switch-to-buffer-other-window)
15001 (switch-to-buffer-other-frame): Rewrite.
15002 (display-buffer-same-window, display-buffer-same-frame)
15003 (display-buffer-same-frame-other-window)
15004 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15005 (pop-to-buffer-other-window)
15006 (pop-to-buffer-same-frame-other-window)
15007 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15008 (switch-to-buffer-other-window-same-frame): New functions.
15009 (same-window-p, special-display-p): Rewrite disabling warnings.
15011 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15012 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15014 (same-window-buffer-names, same-window-regexps)
15015 (special-display-frame-alist, special-display-popup-frame)
15016 (special-display-function, special-display-buffer-names)
15017 (special-display-regexps, pop-up-frame-alist)
15018 (pop-up-frame-function, split-window-preferred-function)
15019 (split-height-threshold, split-width-threshold)
15020 (even-window-heights): Make obsolete.
15022 2011-06-12 Glenn Morris <rgm@gnu.org>
15024 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15025 Misc simplifications.
15027 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15029 * window.el (window-safely-shrinkable-p): Restore function which
15030 was inadvertently removed in change from 2011-06-11. Declare as
15033 * calendar/calendar.el (calendar-generate-window):
15034 Use window-iso-combined-p instead of combination of one-window-p and
15035 window-safely-shrinkable-p.
15037 2011-06-12 Glenn Morris <rgm@gnu.org>
15039 * progmodes/fortran.el (fortran-mode-syntax-table):
15040 * progmodes/f90.el (f90-mode-syntax-table):
15041 Set % to punctuation. (Bug#8820)
15042 (f90-find-tag-default): Remove, no longer needed.
15044 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15046 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15048 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15050 * image.el (image-animated-p): Return animation delay in seconds.
15051 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15052 (image-animate-timeout): Remove DELAY argument. Don't assume
15053 every subimage has the same delay; get it from image-animated-p.
15054 (image-animate): Caller changed.
15056 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15058 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15059 to ignored backtrace functions.
15061 2011-06-11 Glenn Morris <rgm@gnu.org>
15063 * calendar/appt.el (appt-disp-window-function): Doc fix.
15064 (appt-check): Handle overlapping appointments. (Bug#8337)
15066 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15068 * window.el (window-tree-1, window-tree): New functions, moving
15069 the latter to window.el.
15070 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15071 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15072 (bw-refresh-edges): Remove.
15073 (balance-windows-1, balance-windows-2): New functions.
15074 (balance-windows): Rewrite in terms of window tree functions,
15075 balance-windows-1 and balance-windows-2.
15076 (bw-adjust-window): Remove.
15077 (balance-windows-area-adjust): New function with functionality of
15078 bw-adjust-window but using resize-window.
15079 (set-window-text-height): Rewrite doc-string.
15080 Use normalize-live-window and resize-window.
15081 (enlarge-window-horizontally, shrink-window-horizontally):
15082 Rename argument to DELTA.
15083 (window-buffer-height): New function.
15084 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15085 Rewrite using new window resize routines.
15086 (kill-buffer-and-window, mouse-autoselect-window-select):
15087 Use ignore-errors instead of condition-case.
15088 (quit-window): Call delete-frame instead of delete-windows-on
15089 for the only buffer on frame.
15091 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15093 * loadup.el (top-level): Load window before files for the sake
15094 of replace-buffer-in-windows.
15096 * files.el (read-buffer-to-switch)
15097 (switch-to-buffer-other-window)
15098 (switch-to-buffer-other-frame, display-buffer-other-frame):
15101 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15102 (previous-buffer): Move to window.el.
15104 * bindings.el (unbury-buffer): Move to window.el.
15106 * window.el (delete-other-windows-vertically): Move after
15107 definition of delete-other-windows.
15108 (other-window, delete-windows-on, replace-buffer-in-windows):
15109 Move here from window.c.
15110 (record-window-buffer, unrecord-window-buffer)
15111 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15112 (switch-to-next-buffer): New functions.
15113 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15114 from simple.el. Call switch-to-next-buffer.
15115 (previous-buffer): Move here from simple.el.
15116 Call switch-to-prev-buffer.
15117 (bury-buffer): Move here from buffer.c. Switch to previous
15118 buffer when window cannot be deleted.
15119 (unbury-buffer): Move here from bindings.el.
15120 (ctl-x-map): Move binding for other-window from window.c to
15122 (read-buffer-to-switch, switch-to-buffer-other-window)
15123 (switch-to-buffer-other-frame): Move here from files.el.
15124 (normalize-buffer-to-switch-to): New functions.
15125 (switch-to-buffer): Move here from buffer.c.
15126 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15128 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15130 * window.el (window-min-height, window-min-width): Move here
15131 from window.c. Add defcustoms and rewrite doc-strings.
15132 (resize-mini-window, resize-window): New functions.
15133 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15134 Move here from window.c.
15135 (maximize-window, minimize-window): New functions.
15136 (delete-window, delete-other-windows, split-window): Move here
15138 (window-split-min-size): New function.
15139 (split-window-keep-point): Mention split-window-above-each-other
15140 instead of split-window-vertically.
15141 (split-window-above-each-other, split-window-vertically):
15142 Rename split-window-vertically to split-window-above-each-other
15143 and provide defalias for old definition.
15144 (split-window-side-by-side, split-window-horizontally):
15145 Rename split-window-horizontally to split-window-side-by-side
15146 and provide defalias for the old definition.
15147 (ctl-x-map): Move bindings for delete-window,
15148 delete-other-windows and enlarge-window here from window.c.
15149 Replace bindings for split-window-vertically and
15150 split-window-horizontally by bindings for
15151 split-window-above-each-other and split-window-side-by-side.
15153 * cus-start.el (all): Remove entries for window-min-height and
15154 window-min-width. Add entries for window-splits and
15157 2011-06-09 Glenn Morris <rgm@gnu.org>
15159 * calendar/appt.el (appt-mode-line): New function.
15160 (appt-check, appt-disp-window): Use it.
15162 * files.el (hack-one-local-variable-eval-safep):
15163 Allow minor-modes with explicit +/-1 arguments.
15165 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15167 * term/xterm.el (xterm): Add defgroup.
15168 (xterm-extra-capabilities): Add defcustom to supply known xterm
15169 capabilities, skip querying them, or query them (default).
15170 (terminal-init-xterm): Use it.
15171 (terminal-init-xterm-modify-other-keys): New function to set up
15172 modifyOtherKeys support to simplify `terminal-init-xterm'.
15174 2011-06-09 Martin Rudalics <rudalics@gmx.at>
15176 * window.el (resize-window-reset, resize-window-reset-1)
15177 (resize-subwindows-skip-p, resize-subwindows-normal)
15178 (resize-subwindows, resize-other-windows, resize-this-window)
15179 (resize-root-window, resize-root-window-vertically)
15180 (window-deletable-p, window-or-subwindow-p)
15181 (frame-root-window-p): New functions.
15183 2011-06-09 Glenn Morris <rgm@gnu.org>
15185 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15186 (ange-ftp-get-files): Use it.
15188 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15190 * mail/sendmail.el (mail-recover-1, mail-recover):
15191 * files.el (recover-file, recover-session):
15192 Handle dired-listing-switches not being just a single short option.
15194 2011-06-09 Glenn Morris <rgm@gnu.org>
15196 * calendar/appt.el (appt-display-message, appt-disp-window):
15197 Handle lists of appointments.
15199 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15201 * window.el (one-window-p): Move down in code.
15202 Rewrite doc-string.
15203 (window-current-scroll-bars): Rewrite doc-string.
15204 Normalize live window argument.
15205 (walk-windows, get-window-with-predicate, count-windows):
15206 Rewrite doc-string. Use window-list-1.
15207 (window-in-direction-2, window-in-direction, get-mru-window):
15210 2011-06-08 Reuben Thomas <rrt@sc3d.org>
15212 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15213 Doc fix (Bug#8713).
15215 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
15217 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15219 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
15221 * loadhist.el (unload-feature-special-hooks):
15222 Add `comint-output-filter-functions'.
15224 2011-06-08 Ivan Kanis <gnu@kanis.fr>
15226 * calendar/appt.el (appt-check): Move some initializations into the let.
15228 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15230 * window.el (window-height): Defalias to window-total-height.
15231 (window-width): Defalias to window-body-width.
15233 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
15235 * image-mode.el (image-toggle-animation): New command.
15236 (image-mode-map): Bind it to RET.
15237 (image-mode): Update message.
15238 (image-toggle-display-image): Avoid a spurious cache flush.
15239 (image-transform-rotation): Doc fix.
15240 (image-transform-properties): Return quickly in the normal case.
15241 (image-animate-loop): Rename from image-animate-max-time.
15243 * image.el (image-animate-max-time): Move to image-mode.el.
15244 (create-animated-image): Remove unnecessary function.
15245 (image-animate): Rename from image-animate-start. New arg.
15246 (image-animate-stop): Remove; just use image-animate-timer.
15247 (image-animate-timer): Use car-safe.
15248 (image-animate-timeout): Rename argument.
15250 2011-06-07 Martin Rudalics <rudalics@gmx.at>
15252 * window.el (get-lru-window, get-largest-window): Move here from
15253 window.c. Rename first argument to ALL-FRAMES.
15254 Rephrase doc-strings.
15255 (get-buffer-window-list): Rewrite using window-list-1.
15256 Rephrase doc-string.
15257 (window-safe-min-height, window-safe-min-width): New constants.
15258 (window-size-ignore, window-min-size, window-min-size-1)
15259 (window-sizable, window-sizable-p, window-size-fixed-1)
15260 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15261 (window-max-delta-1, window-max-delta, window-resizable)
15262 (window-resizable-p, window-total-height, window-total-width)
15263 (window-body-width): New functions.
15264 (window-full-height-p, window-full-width-p): Rewrite using
15266 (window-body-height): Rewrite using window-body-size.
15268 2011-06-06 Martin Rudalics <rudalics@gmx.at>
15270 * window.el (window-right, window-left, window-child)
15271 (window-child-count, window-last-child, window-any-p)
15272 (normalize-live-buffer, normalize-live-frame)
15273 (normalize-any-window, normalize-live-window)
15274 (window-iso-combination-p, window-iso-combined-p)
15275 (window-iso-combinations)
15276 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15277 (windows-with-parameter, window-with-parameter)
15278 (window-atom-root, make-window-atom, window-atom-check-1)
15279 (window-atom-check, window-side-check, window-check):
15281 (ignore-window-parameters, window-sides, window-sides-vertical)
15282 (window-sides-slots): New variables.
15283 (window-size-fixed): Move down in code. Minor doc-string fix.
15285 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15287 * comint.el (comint-dynamic-complete-as-filename)
15288 (comint-dynamic-complete-filename): Correctly call
15289 completion-in-region.
15291 2011-06-05 Deniz Dogan <deniz@dogan.se>
15293 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15296 2011-06-05 Deniz Dogan <deniz@dogan.se>
15298 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15299 (rcirc): Use it to prompt for encryption.
15301 2011-06-05 Roland Winkler <winkler@gnu.org>
15303 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15304 (bibtex-search-entries): New command bound to C-c C-a.
15305 (bibtex-display-entries): New function.
15307 2011-06-05 Roland Winkler <winkler@gnu.org>
15309 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15310 (bibtex-insert-kill): After yanking insert newline if necessary.
15311 (bibtex-initialize): Call bibtex-string-files-init only once.
15312 (bibtex-mode): Do not call easy-menu-add.
15313 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15314 (bibtex-yank): Set arg properly if nil.
15316 2011-06-05 Roland Winkler <winkler@gnu.org>
15318 * textmodes/bibtex.el (bibtex-search-entry-globally):
15320 (bibtex-search-entry): Use it.
15322 2011-06-05 Roland Winkler <winkler@gnu.org>
15324 * textmodes/bibtex.el (bibtex-entry-format): New option
15326 (bibtex-format-entry, bibtex-reformat): Honor this option.
15327 (bibtex-parse-entry): Return fields in proper order.
15329 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15331 * doc-view.el (doc-view-remove-if): Move computation of result out
15332 of `dolist' to silence misleading lexical-binding warning.
15334 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15336 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15337 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15339 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15341 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15344 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15346 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15347 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15348 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15349 (tramp-parse-putty):
15350 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15351 (tramp-completion-function-alist-ssh)
15352 (tramp-completion-function-alist-telnet)
15353 (tramp-completion-function-alist-su)
15354 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15357 * net/tramp-ftp.el:
15359 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15360 load "tramp.el" `tramp-set-completion-function'.
15362 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15364 * shell.el: Require and use pcomplete.
15365 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15366 (shell-completion-vars): Set pcomplete-default-completion-function.
15368 2011-06-04 Deniz Dogan <deniz@dogan.se>
15370 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15373 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15375 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15377 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15379 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15380 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15381 * vc/log-view.el (log-view-beginning-of-defun):
15382 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15383 (smerge-refine-forward, smerge-refine-chopup-region):
15384 Silence warning for unused `dotimes' counter variables.
15386 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15388 * net/tramp.el (tramp-with-progress-reporter): Rename from
15389 with-progress-reporter. Use `declare'.
15390 * net/tramp-smb.el:
15392 * net/tramp-gvfs.el: Update all uses.
15394 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15396 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15397 buffer isn't killed before making it current.
15399 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15401 Silence various byte-compiler warnings.
15402 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15403 `access-type' and new obsolescence format.
15404 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15406 (byte-compile-check-variable): New `access-type' argument.
15407 Only warn if the access-type is obsolete.
15408 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15409 (byte-compile-variable-set): Adjust callers.
15410 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15411 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15412 setting it as obsolete.
15413 * simple.el (minibuffer-completing-symbol):
15414 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15415 access as obsolete.
15416 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15418 * international/quail.el (quail-mouse-choose-completion): Remove unused
15419 code referring to obsolete var.
15420 (quail-choose-completion-string): Remove.
15421 * server.el (server-clients-with, server-kill-buffer-query-function)
15422 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15423 * proced.el (proced-send-signal):
15424 * emacs-lisp/lisp.el (lisp-complete-symbol):
15425 Replace completion-annotate-function with completion-extra-properties.
15427 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15429 * simple.el (goto-line): Use read-number.
15430 (overriding-map-is-bound): Remove.
15431 (saved-overriding-map): Change default.
15432 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15433 Take the map as argument.
15434 (universal-argument, negative-argument, digit-argument): Use it.
15435 (restore-overriding-map): Adjust.
15436 (do-auto-fill): Use fill-forward-paragraph.
15437 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15439 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15440 (minibuffer-inactive-mode): New major mode.
15441 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15442 the *Messages* buffer" hack.
15443 (mouse-popup-menubar): Don't burp if the event is a normal key.
15445 Miscellaneous tweaks.
15446 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15447 lexical scoping as in subr.el's dolist and dotimes.
15448 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15449 Silence compiler warning.
15450 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15451 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15452 * international/ccl.el (ccl-compile): Trivial simplification.
15453 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15454 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15455 `printflag' argument.
15456 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15457 Purecopy the whole obsolescence data.
15459 2011-06-01 Leo Liu <sdl.web@gmail.com>
15461 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15462 improve doc-string as suggested by Marco Pessotto
15463 <melmothx@gmail.com>.
15464 (rcirc-print): Fix last change.
15466 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15468 * minibuffer.el (complete-with-action): Return nil for the metadata and
15469 boundaries of non-functional tables.
15470 (completion-table-dynamic): Return nil for the metadata.
15471 (completion-table-with-terminator): Add default case, using
15472 complete-with-action.
15473 (completion--metadata): New function.
15474 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15475 to try and avoid pathological performance problems.
15476 (completion--embedded-envvar-table): Return `category' metadata.
15478 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15480 * subr.el (process-alive-p): New tiny convenience function.
15482 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15484 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15485 content but also its previous major mode.
15487 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15489 * emacs-lisp/debug.el (debug): Restore the previous content of the
15490 *Backtrace* buffer when we exit with C-M-c.
15492 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15494 * minibuffer.el: Add metadata method to completion tables.
15495 (completion-category-overrides): New defcustom.
15496 (completion-metadata, completion--field-metadata)
15497 (completion-metadata-get, completion--styles)
15498 (completion--cycle-threshold): New functions.
15499 (completion-try-completion, completion-all-completions):
15500 Add `metadata' argument to choose completion-styles.
15501 (completion--do-completion): Use metadata to choose cycling.
15502 (completion-all-sorted-completions): Use metadata for sorting.
15503 Remove :completion-cycle-penalty which is not needed any more.
15504 (completion--try-word-completion): Add `metadata' argument.
15505 (minibuffer-completion-help): Check metadata for annotation function
15507 (completion-file-name-table): Return `category' metadata.
15508 (minibuffer-completing-file-name): Make obsolete.
15509 * simple.el (minibuffer-completing-symbol): Make obsolete.
15510 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15511 completion-try-completion.
15513 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15515 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15517 2011-05-30 Leo Liu <sdl.web@gmail.com>
15519 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15520 (rcirc-print): Decode all incoming messages (bug#8744).
15521 (rcirc-decode-coding-system): Allow value nil for automatic coding
15524 2011-06-01 Glenn Morris <rgm@gnu.org>
15526 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15528 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15530 * image.el (image-animate-max-time): Allow nil and t values.
15532 (create-animated-image): Doc fix.
15533 (image-animate-start): Remove second arg; just use
15534 image-animate-max-time.
15535 (image-animate-timeout): Doc fix. Args changed.
15537 * image-mode.el (image-toggle-display-image): Ensure that the
15538 image spec passed to the animate timer is the same object as in
15539 the buffer's display property (Bug#6981).
15540 (image-transform-properties): Doc fix.
15542 * image.el (image-animate-max-time): Default to nil.
15544 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15546 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15547 entire buffer list (Bug#8184).
15549 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15551 * image.el (imagemagick-types-inhibit)
15552 (imagemagick-register-types): Doc fix.
15554 2011-05-29 Deniz Dogan <deniz@dogan.se>
15556 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15559 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15561 * select.el: Don't perform clipboard-manager saving in hooks;
15562 leave the hooks empty.
15564 2011-05-28 Leo Liu <sdl.web@gmail.com>
15566 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15567 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15568 (occur-edit-mode): New major mode (Bug#8463).
15569 (occur-after-change-function): New function.
15570 (occur-engine): Give Occur tags a read-only property.
15572 2011-05-28 Kevin Ryde <user42@zip.com.au>
15574 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15576 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15578 * bindings.el (help-echo): Make the initial non-indicator dash
15579 empty on graphical terminals (Bug#7295).
15581 * files.el (auto-mode-alist): Move config rule after the
15582 in-stripping one (Bug#8547).
15584 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15586 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15587 setting (Bug#8740).
15589 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15591 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15592 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15595 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15597 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15599 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15601 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15602 (hs-hide-block-at-point, hs-find-block-beginning)
15603 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15606 2011-05-28 Glenn Morris <rgm@gnu.org>
15608 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15610 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15612 * help-fns.el (describe-function-1): If the function is a derived
15613 major mode, print the parent mode.
15615 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15616 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15618 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15620 * minibuffer.el (completion--capf-wrapper): Check applicability before
15621 returning non-nil for non-exclusive completion data.
15622 * progmodes/etags.el (tags-completion-at-point-function):
15623 * info-look.el (info-lookup-completions-at-point): Mark as
15625 (info-complete): Adjust accordingly.
15627 * info-look.el: Convert to lexical-binding and completion-at-point.
15628 (info-lookup-completions-at-point): New function.
15629 (info-complete): Use it and completion-in-region.
15631 2011-05-28 Drew Adams <drew.adams@oracle.com>
15633 * isearch.el: Let M-e start with point at the first mismatched char.
15634 (isearch-fail-pos): New function.
15635 (isearch-edit-string): Use it.
15637 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15639 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15641 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15643 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15644 traversal functions for avl-trees.
15645 (avl-tree--stack): New struct.
15646 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15647 (avl-tree-enter): Add optional `updatefun' arg.
15648 (avl-tree--do-enter): Add optional `updatefun' arg.
15649 Change return value.
15650 (avl-tree-delete): Add optional `test' and `nilflag' args.
15651 (avl-tree--do-delete): Add `test' and `nilflag' args.
15652 Change return value.
15653 (avl-tree-member): Add optional `nilflag'
15654 (avl-tree-member-p): New function.
15655 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15656 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15657 (avl-tree-stack-empty-p): New functions.
15659 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15660 avl-tree--del-balance1 and make it work both ways.
15661 (avl-tree--del-balance2): Remove.
15662 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15663 make it work both ways.
15664 (avl-tree--enter-balance2): Remove.
15665 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15667 (avl-tree--mapc, avl-tree-map): Add direction argument.
15669 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15671 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15673 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15675 * select.el: Support clipboard managers with built-in function
15676 x-clipboard-manager-save, via delete-frame-functions and
15678 (xselect-convert-to-targets): Add MULTIPLE target to list.
15679 (xselect-convert-to-save-targets): New function.
15681 2011-05-27 Kenichi Handa <handa@m17n.org>
15683 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15684 let-binding rfc2047-encode-encoded-words to nil.
15686 2011-05-27 Glenn Morris <rgm@gnu.org>
15688 * mail/emacsbug.el: Don't require url-util.
15690 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15692 * files.el (set-auto-mode):
15693 Also respect mode: entries at the end of the file. (Bug#8586)
15695 2011-05-26 Glenn Morris <rgm@gnu.org>
15697 * files.el (hack-local-variables-prop-line, hack-local-variables):
15698 Downcase mode names, as seems to be traditional.
15699 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15701 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15702 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15704 2011-05-25 Julien Danjou <julien@danjou.info>
15706 * textmodes/rst.el (rst-define-level-faces): Do not define face
15707 symbol if it is already defined.
15709 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15711 * play/5x5.el (5x5-new-game, 5x5-randomize):
15712 Reset 5x5-solver-output to nil when a new grid is cast.
15713 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15714 these debugging traces, as defmacro breaks the compiled code.
15716 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15718 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15720 2011-05-24 Leo Liu <sdl.web@gmail.com>
15722 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15723 (vc-bzr-sha1): Adapt.
15725 * sha1.el: Remove. Function `sha1' is now builtin.
15727 * bindings.el: Provide sha1 feature.
15729 2011-05-24 Kenichi Handa <handa@m17n.org>
15731 * mail/sendmail.el: Require `rfc2047'.
15732 (mail-insert-from-field): Do not perform RFC2047 encoding.
15733 (mail-encode-header): New function.
15734 (sendmail-send-it): Set buffer-file-coding-system of the work
15735 buffer to the return value of select-message-coding-system.
15736 Call mail-encode-header.
15738 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15740 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15742 * mail/supercite.el (sc-default-cite-frame):
15743 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15745 2011-05-24 Glenn Morris <rgm@gnu.org>
15747 * progmodes/python.el (brm-menu): Declare.
15749 * emulation/viper.el (viper-set-hooks): Declare.
15751 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15752 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15753 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15754 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15755 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15756 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15758 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15760 Add an :exit-function for completion-at-point.
15762 * minibuffer.el (completion--done): New fun.
15763 (completion--do-completion): Use it. New arg `expect-exact'.
15764 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15765 since completion--do-completion does it for us now.
15766 (minibuffer-force-complete): Use completion--done and
15767 completion--replace. Handle sole-completion case with more care.
15768 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15769 (completion-extra-properties): New var.
15770 (completion-annotate-function): Make obsolete.
15771 (minibuffer-completion-help): Adjust accordingly.
15772 Use completion-list-insert-choice-function.
15773 (completion-at-point, completion-help-at-point):
15774 Bind completion-extra-properties.
15775 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15776 * simple.el (completion-list-insert-choice-function): New var.
15777 (completion-setup-function): Preserve it.
15778 (choose-completion): Pay attention to it, shuffle the code a bit.
15779 (choose-completion-string): New arg `insert-function'.
15781 * textmodes/bibtex.el: Convert to lexical binding.
15782 (bibtex-mode-map): Use completion-at-point.
15783 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15784 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15785 (bibtex-complete): Define as obsolete alias.
15786 (bibtex-complete-internal): Remove.
15787 (bibtex-format-entry): Remove unused sub-group in regexp.
15788 * shell.el (shell--command-completion-data)
15789 (shell-environment-variable-completion):
15790 * pcomplete.el (pcomplete-completions-at-point):
15791 * comint.el (comint--complete-file-name-data): Use :exit-function
15792 instead of completion-table-with-terminator so it also works for
15795 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15799 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15802 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15804 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15806 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15807 customization variable and implement: If non-nil, auto-fill will
15808 be inhibited while on topic's header line.
15810 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15812 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15813 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15814 always have a solution in grid size = 5 cases.
15815 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15816 (5x5-solver-output, 5x5-log-buffer): New vars.
15817 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15818 Make these variables buffer local to achieve 5x5 multi-session-ness.
15819 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15820 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15821 (5x5-solve-suggest): New funs.
15822 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15823 randomize a grid so that we ensure that there is always a solution.
15824 (5x5-make-random-grid): Allow other movement than flipping.
15826 2011-05-23 Kevin Ryde <user42@zip.com.au>
15828 * emacs-lisp/advice.el (ad-read-advised-function):
15829 Use `function-called-at-point' as the default, if it has
15830 advice and passes PREDICATE.
15832 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15835 byte-compile-lambda if it's actually a lambda.
15837 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15838 Fix function quoting. Use backquote better.
15840 2011-05-22 Yuanle Song <sylecn@gmail.com>
15842 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15843 matching (Bug#8516).
15845 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15847 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15848 different face (Bug#8178).
15850 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15852 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15853 defface (Bug#8144).
15855 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15858 funcall as well (bug#8712). Warn when performing those conversions.
15859 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15861 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15863 2011-05-22 Glenn Morris <rgm@gnu.org>
15865 * files.el (hack-local-variables-prop-line): Small simplifications.
15866 (hack-local-variables, hack-local-variables-prop-line):
15867 If MODE-ONLY, return the mode, rather than just `t'.
15869 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15871 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15873 2011-05-21 Glenn Morris <rgm@gnu.org>
15875 * files.el (hack-local-variables-prop-line, hack-local-variables):
15876 If only interested in the mode, don't bother doing the other stuff.
15878 * image-mode.el (image-after-revert-hook):
15879 Redraw all frames on which the image is visible. (Bug#8567)
15881 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15883 * wid-edit.el (widget-checklist-match-inline):
15884 Fix 2011-04-19 change. (Bug#8649)
15886 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15888 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15889 Also allow singlespace after single-letter capitals followed by a dot.
15891 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15892 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15894 2011-05-20 Nix <nix@esperi.org.uk>
15896 * files.el (basic-save-buffer-2):
15897 Fix handling of break-hardlink-on-save with non-existent files.
15899 2011-05-19 Deniz Dogan <deniz@dogan.se>
15901 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15902 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15904 2011-05-19 Glenn Morris <rgm@gnu.org>
15906 * progmodes/f90.el (f90-type-def-re):
15907 Handle "type, bind(c)". (Bug#8691)
15909 * emacs-lisp/autoload.el (batch-update-autoloads):
15910 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15912 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15914 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15915 property for the correct connection in case of multihops.
15917 2011-05-18 Glenn Morris <rgm@gnu.org>
15919 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15920 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15922 Rationalize calendar handling of day and month abbrev-arrays.
15923 * calendar/calendar.el (calendar-customized-p): New function.
15924 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15925 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15927 (calendar-abbrev-length, calendar-day-abbrev-array)
15928 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15929 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15930 Elements may no longer be nil.
15931 (calendar-day-name, calendar-month-name):
15932 Update for changed nature of abbrev arrays.
15933 * calendar/diary-lib.el (diary-name-pattern):
15934 Update for changed nature of abbrev arrays.
15935 (diary-mark-entries-1): Update calendar-make-alist calls.
15936 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15937 * calendar/cal-html.el (cal-html-day-abbrev-array):
15938 Simply inherit from calendar-day-abbrev-array.
15940 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15942 * progmodes/grep.el (grep-mode): Disable default
15943 compilation-directory-matcher setting (bug#8684).
15945 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15947 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15948 instead of "head" and "tail". There were problems with SunOS 5.9,
15949 and it performs better.
15951 2011-05-17 Glenn Morris <rgm@gnu.org>
15953 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15955 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15956 Replace obsolete function.
15958 * shell.el (pcomplete-parse-arguments-function): Declare.
15960 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15961 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15962 (appt-check): Doc fixes.
15963 (appt-disp-window-function, appt-delete-window-function):
15964 Remove needless special case in custom :type.
15965 (appt-display-count): Default to 0, not nil.
15966 (appt-check): Reset appt-display-count to 0, not nil.
15968 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15970 * progmodes/python.el (python-font-lock-keywords):
15971 Add the Python 3.X keyword "nonlocal" (bug#8639).
15973 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15975 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15977 2011-05-16 Kevin Ryde <user42@zip.com.au>
15979 * info-look.el (makefile-automake-mode): New setups, looking in
15980 automake manual, then makefile-mode.
15981 (makefile-mode): Remove automake manual, have it just in
15982 makefile-automake-mode since there's various things different or
15983 not relevant to plain make.
15984 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15985 believe a hypothetical automake-mode would go to makefile-mode,
15986 not the other way around.
15988 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15990 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15991 hunk-end tags (Bug#8672).
15993 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15994 vc-annotate-show-diff-revision-at-line (Bug#8671).
15996 2011-05-14 Glenn Morris <rgm@gnu.org>
15998 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15999 in the middle of an existing one with multiple authors. (Bug#8645)
16000 (change-log-font-lock-keywords): Also handle multiple author lines
16001 with leading tabs. (Bug#8644)
16003 * calendar/appt.el (appt-check): Rename some local variables.
16004 Some simplification/reordering.
16006 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16007 (feedmail-sendmail-f-doesnt-sell-me-out)
16008 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16009 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16010 (feedmail-queue-runner-message-sender): Set :version.
16011 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16012 (bbdb-dwim-net-address, vm-mail): Declare.
16013 (feedmail-binmail-gnulinuxish-template):
16014 Rename from feedmail-binmail-linuxish-template.
16015 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16016 Use insert-buffer-substring.
16018 2011-05-14 Bill Carpenter <bill@carpenter.org>
16020 * mail/feedmail.el (feedmail-patch-level): Increase.
16021 (feedmail-debug): New custom group.
16022 (feedmail-confirm-outgoing-timeout)
16023 (feedmail-sendmail-f-doesnt-sell-me-out)
16024 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16025 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16026 (feedmail-sender-line, feedmail-from-line)
16027 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16028 (feedmail-spray-this-address)
16029 (feedmail-spray-address-fiddle-plex-list)
16030 (feedmail-queue-use-send-time-for-date)
16031 (feedmail-queue-use-send-time-for-message-id)
16032 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16033 (feedmail-buffer-eating-function):
16035 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16036 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16037 (feedmail-message-action-scroll-down): New functions.
16038 (feedmail-queue-directory, feedmail-queue-draft-directory):
16039 Use expand-file-name.
16040 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16041 Remove C-v help entry.
16042 (feedmail-queue-buffer-file-name): New variable.
16043 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16044 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16045 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16046 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16047 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16048 (feedmail-message-action-toggle-spray)
16049 (feedmail-run-the-queue-no-prompts)
16050 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16051 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16052 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16053 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16054 (feedmail-envelope-deducer, feedmail-fiddle-from)
16055 (feedmail-fiddle-sender, feedmail-default-date-generator)
16056 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16057 (feedmail-fiddle-spray-address)
16058 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16059 (feedmail-fiddle-list-of-fiddle-plexes)
16060 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16061 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16062 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16063 Change default. Doc fix.
16064 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16065 (feedmail-binmail-linuxish-template): New constant.
16066 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16067 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16068 (feedmail-send-it): Add debug call.
16069 Use feedmail-queue-buffer-file-name, and
16070 feedmail-send-it-immediately-wrapper.
16071 (feedmail-message-action-send): Add debug call.
16072 Use feedmail-send-it-immediately-wrapper.
16073 (feedmail-queue-express-to-queue): Add debug call.
16074 Run feedmail-queue-express-hook.
16075 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16076 (feedmail-message-action-help-blat):
16077 Rename from feedmail-queue-send-edit-prompt-help-first.
16078 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16079 Check line-endings. Handle errors better.
16080 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16081 Doc fix. Add debug call.
16082 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16083 Use feedmail-queue-send-edit-prompt-inner.
16084 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16085 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16086 from feedmail-queue-send-edit-prompt.
16087 (feedmail-queue-send-edit-prompt-help)
16088 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16089 (feedmail-tidy-up-slug): Add debug call.
16090 Respect feedmail-queue-slug-suspect-regexp.
16091 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16092 (feedmail-dump-message-to-queue): Add debug call.
16093 Expand queue-directory.
16094 (feedmail-dump-message-to-queue): Change message slightly.
16095 Use feedmail-say-chatter.
16096 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16097 (feedmail-send-it-immediately-wrapper): New function.
16098 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16099 Insert empty string rather than newline. Handle full-frame case.
16100 Use catch/throw. Use feedmail-say-chatter.
16101 (feedmail-fiddle-from): Try mail-host-address.
16102 (feedmail-default-message-id-generator): Doc fix.
16103 Bind system-time-locale. Handle missing end.
16104 (feedmail-fiddle-x-mailer): Add debug call.
16105 Handle feedmail-x-mailer-line being nil.
16106 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16107 Add debug call. Use buffer-substring-no-properties.
16108 (feedmail-say-debug, feedmail-say-chatter): New functions.
16109 (feedmail-find-eoh): Give an explicit error.
16111 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
16113 * net/newst-treeview.el (newsticker-treeview-face): Change default
16114 family from helvetica to sans.
16115 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16116 etc/images/newsticker.
16118 * net/newst-reader.el (newsticker-feed-face): Change default
16119 family from helvetica to sans.
16121 * net/newst-plainview.el (newsticker-new-item-face)
16122 (newsticker-old-item-face, newsticker-immortal-item-face)
16123 (newsticker-obsolete-item-face, newsticker-date-face)
16124 (newsticker-statistics-face): Change default family from
16126 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16127 etc/images/newsticker.
16129 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16130 (newsticker--process-auto-mark-filter-match): Tell user about
16133 2011-05-13 Didier Verna <didier@xemacs.org>
16135 Common Lisp indentation improvements on defmethod and lambda-lists.
16136 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16138 (lisp-lambda-list-keyword-parameter-indentation)
16139 (lisp-lambda-list-keyword-parameter-alignment)
16140 (lisp-lambda-list-keyword-alignment): New customizable user options.
16141 (lisp-indent-defun-method): Improve docstring.
16142 (extended-loop-p): Fix comment.
16143 (lisp-indent-lambda-list-keywords-regexp): New variable.
16144 (lisp-indent-lambda-list): New function.
16145 (lisp-indent-259): Use it.
16146 (lisp-indent-defmethod): Support for more than one
16147 method qualifier and properly indent methods lambda-lists.
16148 (defgeneric): Provide a missing common-lisp-indent-function property.
16150 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16152 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16153 bounds for the empty string (bug#8667).
16155 2011-05-13 Glenn Morris <rgm@gnu.org>
16157 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16159 * mail/sendmail.el (sendmail-program): Try executable-find first.
16160 (sendmail-send-it): `sendmail-program' cannot be unbound.
16162 * calendar/appt.el (appt-make-list): Simplify.
16163 (appt-time-msg-list): Doc fix.
16164 (appt-check): Change mode-line message at the time of the appointment.
16166 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16168 * progmodes/ld-script.el (ld-script-keywords)
16169 (ld-script-builtins): Update keywords list.
16171 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16173 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16175 * shell.el (shell-completion-vars): New function.
16177 * simple.el (read-shell-command): Use it.
16178 (blink-matching-open): No need for " [...]" in minibuffer-message.
16180 2011-05-12 Glenn Morris <rgm@gnu.org>
16182 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16183 (appt-check): Simplify.
16185 2011-05-12 Eli Zaretskii <eliz@gnu.org>
16187 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16188 literal "/dev/null".
16190 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16192 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16195 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
16197 * progmodes/which-func.el (which-function):
16198 Use add-log-current-defun instead of add-log-current-defun-function,
16199 which might not be defined (Bug#8260).
16201 2011-05-12 Glenn Morris <rgm@gnu.org>
16203 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16204 Let byte-compile-initial-macro-environment always take precedence.
16206 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16208 * net/rcirc.el: Add support for SSL/TLS connections.
16209 (rcirc-server-alist): New field `encryption'.
16210 (rcirc): Check `encryption' settings.
16211 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16212 Merge make-local-variable into `set'.
16213 (rcirc--connection-open-p): New function.
16214 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16215 the process is not a network process (e.g. running gnutls-cli).
16216 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16217 Make rcirc-(en|de)code-coding-system local here.
16218 (rcirc-mode): Merge make-local-variable into `set'.
16219 (rcirc-parent-buffer): Make permanent buffer-local.
16220 (rcirc-multiline-minor-mode): Don't do it here.
16221 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16222 there's no server buffer.
16224 2011-05-11 Glenn Morris <rgm@gnu.org>
16226 * newcomment.el (comment-kill): Prefix "unused" local.
16228 * term/w32console.el (get-screen-color): Declare.
16230 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16231 Handle symbol elements of byte-compile-initial-macro-environment.
16233 2011-05-10 Leo Liu <sdl.web@gmail.com>
16235 * bookmark.el (bookmark-bmenu-mode-map):
16236 Bind bookmark-bmenu-search to `/'.
16238 * mail/footnote.el: Convert to utf-8 encoding.
16239 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16240 (Footnote-unicode): New function.
16241 (footnote-style-alist): Add unicode style to the list.
16242 (footnote-style): Doc fix.
16244 2011-05-10 Jim Meyering <meyering@redhat.com>
16246 Fix doubled-word typos.
16247 * international/quail.el (quail-insert-kbd-layout): and and -> and
16248 * kermit.el: and and -> and
16249 * net/ldap.el (ldap-search-internal): to to -> to
16250 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16251 * progmodes/js.el (js-mode): and and -> and
16252 * textmodes/artist.el (artist-move-to-xy): at at -> at
16253 (artist-draw-region-trim-line-endings): if if -> if
16254 And Safetyc -> Safety.
16255 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16257 2011-05-10 Glenn Morris <rgm@gnu.org>
16258 Stefan Monnier <monnier@iro.umontreal.ca>
16260 * files.el (hack-one-local-variable-eval-safep):
16261 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16263 2011-05-10 Glenn Morris <rgm@gnu.org>
16265 * calendar/diary-lib.el (diary-list-entries-hook)
16266 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16267 (diary-nongregorian-marking-hook, diary-list-entries)
16268 (diary-include-other-diary-files, diary-mark-entries)
16269 (diary-mark-included-diary-files): Doc fixes.
16271 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16273 * misc.el: Require tabulated-list.el during compilation.
16275 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16277 * progmodes/compile.el (compilation-start):
16278 Run compilation-filter-hook for the async case too.
16279 (compilation-filter-hook): Doc fix.
16281 2011-05-09 Deniz Dogan <deniz@dogan.se>
16283 * wdired.el: Remove outdated installation comment. Fix usage
16286 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16288 * misc.el: Implement new command `list-dynamic-libraries'.
16289 (list-dynamic-libraries--loaded-only-p): New variable.
16290 (list-dynamic-libraries--refresh): New function.
16291 (list-dynamic-libraries): New command.
16293 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16296 Fix the ant regexp to handle end-line and end-column info from jikes.
16297 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16298 higher priority to avoid clobbering by gnu.
16300 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16302 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16303 if the face has existing theme settings (Bug#8454).
16305 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16307 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16308 Only match variables declared via `my' or `our' (Bug#8261).
16310 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16311 special file names `.' and `..' (Bug#8259).
16313 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16315 * progmodes/grep.el (grep-mode-font-lock-keywords):
16316 Remove buffer-changing entries.
16317 (grep-filter): New function.
16318 (grep-mode): Add it to compilation-filter-hook.
16320 * progmodes/compile.el (compilation-filter-hook)
16321 (compilation-filter-start): New defvars.
16322 (compilation-filter): Call compilation-filter-hook prior to
16323 updating the process mark.
16325 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16327 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16329 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16331 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16332 mailclient-send-it even if window-system is nil. (Bug#8595)
16334 * term/w32console.el (terminal-init-w32console):
16335 Call get-screen-color and use its output to set the frame
16336 background-mode. (Bug#8597)
16338 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16340 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16341 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16343 (defgeneric, eieio--defmethod): Use them.
16344 (eieio-defgeneric): Remove.
16345 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16347 2011-05-07 Glenn Morris <rgm@gnu.org>
16349 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16350 Use let rather than let*.
16351 (timeclock-find-discrep): Remove unused local.
16353 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16355 * calendar/appt.el (appt-time-msg-list): Doc fix.
16357 2011-05-06 Noah Friedman <friedman@splode.com>
16359 * apropos.el (apropos-print-doc): Only use
16360 emacs-lisp-docstring-fill-column when it is bound to an integer,
16361 per that variable's documentation.
16363 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16366 and warnings are not silently discarded (e.g. use -d instead of -P).
16368 2011-05-06 Glenn Morris <rgm@gnu.org>
16370 * calendar/appt.el (appt-message-warning-time): Doc fix.
16371 (appt-warning-time-regexp): New option.
16372 (appt-make-list): Respect appt-message-warning-time.
16374 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16376 (diary-add-to-list): Strip comments from the displayed string.
16377 (diary-mode): Set comment-start and comment-end.
16379 * vc/diff-mode.el (smerge-refine-subst): Declare.
16380 (diff-refine-hunk): Don't require smerge-mode when compiling.
16382 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16384 * simple.el (list-processes): Return nil as the docstring says.
16386 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16388 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16390 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16391 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16392 determining of binary transfer. (Bug#7383)
16394 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16396 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16397 Fix port computation bug. (Bug#8618)
16399 2011-05-05 Glenn Morris <rgm@gnu.org>
16401 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16403 * simple.el (shell-dynamic-complete-functions)
16404 (comint-dynamic-complete-functions): Declare.
16406 * net/network-stream.el (gnutls-negotiate):
16407 * simple.el (tabulated-list-print): Fix declarations.
16409 * progmodes/gud.el (syntax-symbol, syntax-point):
16410 Remove unnecessary and incorrect declarations.
16412 * emacs-lisp/check-declare.el (check-declare-scan):
16413 Handle byte-compile-initial-macro-environment in bytecomp.el
16415 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16417 Fix earlier half-done eieio-defmethod change (bug#8338).
16418 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16419 Streamline and change calling convention.
16420 (defmethod): Adjust accordingly and simplify.
16421 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16422 new eieio--defmethod.
16423 (slot-boundp): Minor CSE simplification.
16425 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16427 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16428 (glasses-make-readable): Use glasses-separate-capital-groups.
16430 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16432 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16433 (warning-series): Doc fix.
16434 (display-warning): Don't try to create the buffer if we just found it.
16436 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16438 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16439 (autoload-find-generated-file): New function.
16440 (generate-file-autoloads): Bind generated-autoload-file to
16442 (update-file-autoloads, update-directory-autoloads):
16443 Use autoload-find-generated-file. If called interactively, prompt for
16444 output file (Bug#7989).
16445 (batch-update-autoloads): Doc fix.
16447 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16449 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16451 2011-05-04 Glenn Morris <rgm@gnu.org>
16453 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16454 function, so it follows changes in calendar-date-style.
16455 (diary-fancy-date-matcher): New function.
16456 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16457 (diary-fancy-font-lock-fontify-region-function):
16458 Use diary-fancy-date-pattern as a function.
16460 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16461 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16463 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16465 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16466 instead of positional arguments. Allow :keylist and :crlfiles
16468 (open-gnutls-stream): Call it.
16470 * net/network-stream.el (network-stream-open-starttls): Adjust to
16471 call `gnutls-negotiate' with :process and :hostname arguments.
16473 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16475 * minibuffer.el (completion--message): New function.
16476 (completion--do-completion, minibuffer-complete)
16477 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16478 (completion--do-completion): Don't ignore completion-auto-help when in
16481 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16482 internal encoding (e.g. tibetan zero is not whitespace).
16483 (global-whitespace-mode): Prefer save-current-buffer.
16484 (whitespace-trailing-regexp): Remove useless save-match-data.
16485 (whitespace-empty-at-bob-regexp): Minor simplification.
16487 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16489 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16491 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
16493 * textmodes/ispell.el (ispell-add-per-file-word-list):
16494 Use `concat' to create string for insertion.
16496 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16498 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16499 Avoid open-line which runs post-self-insert-hook.
16500 (bibtex-fill-entry): Remove unused `end' var.
16502 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16504 * textmodes/ispell.el (ispell-add-per-file-word-list):
16505 Protect against `nil' value of `comment-start' (Bug#8579).
16507 2011-05-03 Leo Liu <sdl.web@gmail.com>
16509 * isearch.el (isearch-yank-pop): New command.
16510 (isearch-mode-map): Bind it to `M-y'.
16511 (isearch-forward): Mention it.
16513 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * simple.el (minibuffer-complete-shell-command): Remove.
16516 (minibuffer-local-shell-command-map): Use completion-at-point.
16517 (read-shell-command): Setup completion vars here instead.
16518 (read-expression-map): Bind TAB to symbol completion.
16520 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16521 error directly rather via storing it into `results'.
16523 2011-05-02 Leo Liu <sdl.web@gmail.com>
16525 * vc/diff.el: Fix description.
16527 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16529 * server.el (server-eval-at): New function.
16531 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533 * net/network-stream.el (open-network-stream): Take a :nowait
16534 parameter and pass it on to `make-network-process'.
16535 (network-stream-open-plain): Ditto.
16537 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16539 * faces.el (face-spec-set-match-display): Don't match toolkit
16540 options on terminal frames.
16542 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16544 * progmodes/pascal.el: Use lexical binding.
16545 (pascal-mode-map): Remove author preferences.
16547 * pcomplete.el (pcomplete-std-complete): Don't abuse
16548 completion-at-point.
16550 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16552 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16553 removing code that has been dead since 1991 or so.
16555 * startup.el (command-line): When warning about "_emacs", use a
16556 delayed warning to allow the user to filter it out.
16558 2011-04-28 Deniz Dogan <deniz@dogan.se>
16560 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16561 user has not joined.
16563 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16565 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16566 aren't any completions at point.
16568 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16570 * subr.el (display-delayed-warnings): New function.
16571 (delayed-warnings-hook): New variable.
16573 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16575 * minibuffer.el (completion-at-point, completion-help-at-point):
16576 Don't presume that a given completion-at-point-function will always
16577 use the same calling convention.
16579 * pcomplete.el (pcomplete-completions-at-point):
16580 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16581 pcomplete-seen is non-nil.
16582 (pcomplete-comint-setup): Also recognize the new comint/shell
16583 completion functions.
16584 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16585 pcomplete-seen is non-nil.
16587 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16589 * calendar/icalendar.el (diary-lib): Add require statement.
16590 (icalendar--create-uid): Read out a uid from a text-property on
16591 the first character in the entry. This allows for code to add its
16592 own uid to the entry.
16593 (icalendar--convert-float-to-ical): Add export of
16594 `diary-float'-entries save for those with the optional DAY
16597 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16599 * subr.el (shell-quote-argument): Use alternate escaping strategy
16600 when we spot a variable reference in a string.
16602 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16604 * cus-start.el (all): Define customization for debug-on-event.
16606 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16608 * subr.el (shell-quote-argument): Escape correctly under Windows.
16610 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16614 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16616 * net/tramp.el (tramp-process-actions): Add POS argument.
16617 Delete region between POS and (pos).
16619 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16620 Use `nil' position in `tramp-process-actions' call.
16621 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16623 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16624 position in `tramp-process-actions' call.
16626 * net/trampver.el: Update release number.
16628 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16630 * custom.el (defcustom): Obey lexical-binding.
16632 Fix octave-inf completion problems reported by Alexander Klimov.
16633 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16634 Inherit from octave-mode-syntax-table.
16635 (inferior-octave-mode): Set info-lookup-mode.
16636 (inferior-octave-completion-at-point): New function.
16637 (inferior-octave-complete): Use it and completion-in-region.
16638 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16639 comint-filename-completion.
16640 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16641 symbol elements which shouldn't be word elements.
16642 (octave-font-lock-keywords, octave-beginning-of-defun)
16643 (octave-function-header-regexp): Adjust regexps accordingly.
16644 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16646 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16648 * net/gnutls.el (gnutls-errorp): Declare before first use.
16650 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16652 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16653 verify-error, and verify-hostname-error parameters. Check whether
16654 default trustfile exists before going to use it. Add missing
16655 argument to gnutls-message-maybe call. Return value.
16656 Reported by Claudio Bley <claudio.bley@gmail.com>.
16657 (open-gnutls-stream): Add usage example.
16659 * net/network-stream.el (network-stream-open-starttls): Give host
16660 parameter to `gnutls-negotiate'.
16661 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16662 * subr.el (shell-quote-argument): Escape correctly under Windows.
16664 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16667 Use correct match group (bug#8438).
16669 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16671 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16672 (package-menu--generate): New arg specifying packages to show.
16673 (package-menu-refresh, package-menu-execute, list-packages):
16675 (package-show-package-list): New function, replacing deleted
16676 package--list-packages (renamed because it is non-internal).
16678 * finder.el (finder-list-matches): Use package-show-package-list
16679 instead of deleted package--list-packages.
16681 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16682 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16683 (vc-annotate-mode-map): Bind it to RET.
16685 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16687 * progmodes/etags.el (next-file): Don't use set-buffer to change
16688 buffers (Bug#8478).
16690 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16692 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16694 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16695 (apropos-accumulator): Doc fix.
16696 (apropos-function, apropos-macro, apropos-command)
16697 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16698 (apropos-plist): Add face property.
16699 (apropos-symbols-internal): Fix indentation.
16700 (apropos-print): Simplify help, and recognize apropos-multi-type.
16701 (apropos-print-doc): Use button-type-get to extract the button's
16702 face property. Fill docstring (Bug#8352).
16704 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16706 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16708 * play/mpuz.el (mpuz-silent): Doc fix.
16709 (mpuz-mode-map): Use mapc.
16710 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16711 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16712 Fix typos in docstrings.
16714 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16715 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16717 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16719 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16721 * minibuffer.el (completion--do-completion): Avoid the "Next char
16722 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16724 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16725 mouse-2 into unread-command-events, it is interpreted correctly.
16727 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16728 (image-toggle-display): Doc fix.
16730 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16732 * textmodes/page.el (what-page): Use line-number-at-pos to
16733 calculate line number (Bug#6825).
16735 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16737 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16738 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16739 Pass argument NO-DEFAULT to `find-tag-interactive'.
16741 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16743 Lexical-binding cleanup.
16745 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16746 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16747 * progmodes/ada-prj.el (ada-prj-initialize-values)
16748 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16749 (ada-prj-show-value):
16750 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16751 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16752 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16753 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16754 * progmodes/bug-reference.el (bug-reference-push-button):
16755 * progmodes/fortran.el (fortran-line-length):
16756 * progmodes/glasses.el (glasses-change):
16757 * progmodes/octave-mod.el (octave-fill-paragraph):
16758 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16759 (python-pdbtrack-grub-for-buffer, python-sentinel):
16760 * progmodes/sql.el (sql-save-connection):
16761 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16762 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16763 Mark unused parameters.
16765 * progmodes/compile.el (compilation--flush-directory-cache)
16766 (compilation--flush-parse, compile-internal): Mark unused parameters.
16767 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16768 (compilation-next-error-function): Remove unused variable `timestamp'.
16770 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16771 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16773 * progmodes/dcl-mode.el (dcl-end-of-command):
16774 Remove unused variable `start'.
16775 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16776 (dcl-option-value-basic, dcl-option-value-offset)
16777 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16778 Mark unused parameters.
16779 (dcl-save-local-variable): Remove unused variable `val'.
16782 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16783 Mark unused parameters.
16784 (delphi-ignore-changes): Move before first use.
16785 (delphi-charset-token-at): Remove unused variable `start'.
16786 (delphi-else-start): Remove unused variable `if-count'.
16787 (delphi-comment-block-start, delphi-comment-block-end):
16788 Remove unused variable `kind'.
16789 (delphi-indent-line): Remove unused variable `new-point'.
16791 * progmodes/ebrowse.el (ebrowse-files-list)
16792 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16793 Mark unused parameters. Don't quote `lambda'.
16794 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16795 Don't quote `lambda'.
16796 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16797 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16798 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16799 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16800 Use `ignore-errors'.
16801 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16802 (ebrowse-view/find-file-and-search-pattern)
16803 (ebrowse-view/find-member-declaration/definition):
16804 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16805 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16806 Rename parameter PREFIX-ARG to PREFIX.
16807 (ebrowse-tags-read-name): Remove unused variables `start' and
16809 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16812 * progmodes/etags.el (local-find-tag-hook): Declare.
16813 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16814 Mark unused parameters.
16816 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16817 (executable-interpret): Mark unused parameter.
16819 * progmodes/flymake.el (flymake-process-sentinel)
16820 (flymake-after-change-function)
16821 (flymake-create-temp-with-folder-structure)
16822 (flymake-get-include-dirs-dot): Mark unused parameters.
16823 (flymake-safe-delete-directory): Remove unused variable `err'.
16825 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16826 (speedbar-timer-fn, speedbar-line-text)
16827 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16828 (speedbar-center-buffer-smartly): Declare functions.
16829 (gdb-find-watch-expression): Remove unused variable `array'.
16830 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16831 (gdb-starting): Mark unused parameters.
16832 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16833 (gdb-table-string): Remove unused variable `res'.
16834 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16835 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16836 (gdb-display-buffer): Remove unused variable `cur-size'.
16838 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16839 allow lexical-binding compilation.
16840 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16841 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16842 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16843 Mark unused parameters.
16844 (gud-gdb-marker-filter): Remove unused variable `match'.
16845 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16846 lambda expressions and funcall them, instead of using `fset'.
16848 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16849 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16851 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16852 variable `header-beg'; use `let'.
16854 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16855 `restart', `last-sexp' and `at-do'.
16857 * progmodes/js.el (js--debug): Mark unused parameter.
16858 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16859 (js--splice-into-items): Remove unused variable `item'.
16860 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16862 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16863 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16864 (makefile-complete): Remove unused variable `try'.
16865 (makefile-fill-paragraph, makefile-match-function-end):
16866 Mark unused parameters.
16868 * progmodes/octave-inf.el (inferior-octave-complete):
16869 Remove unused variable `proc'.
16870 (inferior-octave-output-digest): Mark unused parameter.
16872 * progmodes/perl-mode.el (perl-calculate-indent):
16873 Remove unused variable `err'.
16875 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16876 (prolog-indent-line): Mark unused parameters.
16877 (prolog-indent-line): Remove unused variable `beg'.
16879 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16880 (reporter-dont-compact-list): Declare.
16882 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16883 Remove unused variable `char'.
16884 (sh-debug): Mark unused parameter.
16885 (sh-get-indent-info): Remove unused variable `start'.
16886 (sh-calculate-indent): Remove unused variable `var'.
16888 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16889 (simula-electric-keyword): Remove unused variable `null'.
16890 (simula-search-backward, simula-search-forward): Remove unused
16891 variables `begin' and `end'.
16893 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16894 Remove unused variable `pos'.
16895 (vera-electric-tab, vera-comment-uncomment-region):
16896 Mark unused parameters.
16897 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16899 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16901 * emacs-lisp/package.el (package--builtins, package-alist)
16902 (package-load-descriptor, package-built-in-p, package-activate)
16903 (define-package, package-installed-p)
16904 (package-compute-transaction, package-buffer-info)
16905 (package--push): Doc fix. Distinguish more clearly between
16906 version strings and version lists.
16908 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16910 Lexical-binding cleanup.
16912 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16913 (5x5-make-mutate-best):
16914 * play/fortune.el (fortune-in-buffer):
16915 * play/gomoku.el (gomoku-init-display):
16916 * play/solitaire.el (solitaire, solitaire-do-check):
16917 * play/tetris.el (tetris-default-update-speed-function):
16918 Mark unused parameters.
16920 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16921 (bubbles--shift): Remove unused variable `char-org'.
16922 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16923 (bubbles--show-images): Remove unused variable `char'.
16925 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16926 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16927 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16928 (decipher-analyze-buffer): Use ?\s.
16929 (decipher-make-checkpoint): Remove unused variable `mapping'.
16931 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16933 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16934 Remove unused variable `result'; use `let'.
16936 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16937 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16938 (gametree-children-shown-p, gametree-compute-reduced-score):
16939 Use `ignore-errors'.
16941 * play/handwrite.el (ps-lpr-switches): Declare.
16942 (handwrite): Remove unused variables `pmin' and `lastp'.
16944 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16946 * play/landmark.el (landmark-init-display)
16947 (landmark-update-naught-weights): Mark unused parameters.
16948 (landmark-y): Remove unused variable `noise'. Simplify.
16949 (landmark-human-plays): Remove unused variable `score'.
16951 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16952 (mpuz-try-proposal): Remove unused variable `game'.
16954 * play/zone.el (life-patterns): Declare.
16956 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16958 * vc/vc.el (ediff-vc-internal): Declare function.
16960 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16962 * shell.el: Use lexical-binding and std completion UI.
16963 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16964 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16965 comint-preoutput-filter-functions rather than on
16966 comint-output-filter-functions.
16967 (shell-command-completion, shell--command-completion-data)
16968 (shell-filename-completion, shell-environment-variable-completion)
16969 (shell-c-a-p-replace-by-expanded-directory): New functions.
16970 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16971 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16972 (shell-dynamic-complete-environment-variable): Use them.
16973 (shell-dynamic-complete-as-environment-variable)
16974 (shell-dynamic-complete-as-command): Remove.
16975 (shell-match-partial-variable): Match past point.
16976 * comint.el: Clean up use of completion-at-point-functions.
16977 (comint-completion-at-point): New function.
16978 (comint-mode): Use it completion-at-point-functions.
16979 (comint-dynamic-complete): Make it obsolete.
16980 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16981 (comint-c-a-p-replace-by-expanded-history): New function.
16982 (comint-dynamic-complete-functions)
16983 (comint-replace-by-expanded-history): Use it.
16984 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16985 termination strings. Try harder to avoid second try-completion.
16986 (completion-in-region-mode-map): Disable bindings that don't work yet.
16988 * comint.el: Use lexical-binding. Require CL.
16989 (comint-dynamic-complete-functions): Use comint-filename-completion.
16990 (comint-completion-addsuffix): Tweak custom type.
16991 (comint-filename-completion, comint--common-suffix)
16992 (comint--common-quoted-suffix, comint--table-subvert)
16993 (comint--complete-file-name-data): New functions.
16994 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16995 (comint-dynamic-list-filename-completions): Use them.
16996 (comint-dynamic-simple-complete): Make obsolete.
16998 * minibuffer.el (completion-in-region-mode):
16999 Keep completion-in-region-mode--predicate global.
17000 (completion-in-region--postch):
17001 Assume completion-in-region-mode--predicate is not null.
17003 * progmodes/flymake.el (flymake-start-syntax-check-process):
17004 Obey `dir'. Simplify.
17006 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17007 we're in VC after all.
17009 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17011 * vc/vc.el (vc-diff-build-argument-list-internal)
17012 (vc-version-ediff, vc-ediff): New commands.
17013 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17015 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17017 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17020 * obsolete/erc-hecomplete.el: Make obsolete.
17021 * obsolete/: Standardize obsolescence info in the header.
17023 2011-04-20 Glenn Morris <rgm@gnu.org>
17025 * calendar/solar.el (solar-horizontal-coordinates):
17026 Use the longitude argument rather than `calendar-longitude'.
17027 (solar-date-next-longitude): Remove unused locals.
17029 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17031 * whitespace.el: New version 13.2.1.
17033 2011-04-20 felix <EmacsWiki> (tiny change)
17035 * whitespace.el (global-whitespace-mode): Keep highlight when
17036 switching between major modes on a file.
17038 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17040 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17041 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17042 multi-line comments as well.
17044 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17046 Lexical-binding cleanup.
17048 * arc-mode.el (archive-mode-revert):
17049 * cmuscheme.el (scheme-interactively-start-process):
17050 * custom.el (custom-initialize-delay):
17051 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17052 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17053 * emacs-lock.el (emacs-lock-clear-sentinel):
17054 * ezimage.el (defezimage):
17055 * follow.el (follow-avoid-tail-recenter):
17056 * fringe.el (set-fringe-mode-1):
17057 * generic-x.el (bat-generic-mode-compile):
17058 * help-mode.el (help-info-variable, help-do-xref)
17059 (help-mode-revert-buffer):
17060 * help.el (view-emacs-todo):
17061 * iswitchb.el (iswitchb-completion-help):
17062 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17063 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17064 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17065 * locate.el (locate-update):
17066 * longlines.el (longlines-encode-region)
17067 (longlines-after-change-function):
17068 * outline.el (outline-isearch-open-invisible):
17069 * ps-def.el (declare-function, charset-dimension, char-width)
17071 * ps-mule.el (ps-mule-plot-string):
17072 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17073 (recentf-edit-list-select, recentf-edit-list-validate)
17074 (recentf-open-files-action):
17075 * rect.el (delete-whitespace-rectangle-line)
17076 (rectangle-number-line-callback):
17077 * register.el (window-configuration-to-register)
17078 (frame-configuration-to-register):
17079 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17080 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17081 (xselect-convert-to-targets, xselect-convert-to-delete)
17082 (xselect-convert-to-filename, xselect-convert-to-charpos)
17083 (xselect-convert-to-lineno, xselect-convert-to-colno)
17084 (xselect-convert-to-os, xselect-convert-to-host)
17085 (xselect-convert-to-user, xselect-convert-to-class)
17086 (xselect-convert-to-name, xselect-convert-to-integer)
17087 (xselect-convert-to-atom, xselect-convert-to-identity):
17088 * subr.el (declare, ignore, process-kill-without-query)
17089 (text-clone-maintain):
17090 * terminal.el (te-get-char, te-tic-sentinel):
17091 * tool-bar.el (tool-bar-make-keymap):
17092 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17093 * type-break.el (type-break-mode, type-break-noninteractive-query):
17094 * view.el (View-back-to-mark):
17095 * wid-browse.el (widget-browse-action, widget-browse-widget)
17096 (widget-browse-widgets, widget-browse-sexp):
17097 * widget.el (define-widget-keywords):
17098 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17099 Mark unused parameters.
17101 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17102 (align-areas): Remove unused variable `look'.
17103 (align-region): Remove unused variables `real-end' and `pos-list'.
17105 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17107 * bindings.el (mode-line-modified, mode-line-remote):
17108 Mark unused parameters.
17109 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17111 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17112 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17114 * comint.el (comint-history-isearch-pop-state)
17115 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17116 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17117 (comint-substitute-in-file-name): Doc fix.
17119 * completion.el (cmpl-statistics-block): Mark unused parameter.
17120 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17121 (save-completions-to-file, load-completions-from-file):
17122 Remove unused local variable `e'.
17124 * composite.el (compose-chars): Remove unused variable `len'.
17125 (lgstring-insert-glyph): Remove unused variable `g'.
17126 (compose-glyph-string): Remove unused variables `ascent',
17127 `descent', `lbearing' and `rbearing'.
17128 (compose-glyph-string-relative): Remove unused variables
17129 `lbearing', `rbearing' and `wadjust'.
17130 (compose-gstring-for-graphic): Remove unused variables `header',
17131 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17132 (compose-gstring-for-terminal): Remove unused variables `header'
17133 and `nchars'. Use `let', not `let*'.
17135 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17136 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17137 (Custom-buffer-done, custom-buffer-create-internal)
17138 (custom-browse-visibility-action, custom-browse-group-tag-action)
17139 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17140 (widget-magic-mouse-down-action, custom-toggle-parent)
17141 (custom-add-parent-links, custom-toggle-hide-variable)
17142 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17143 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17144 (custom-face-menu-create, custom-variable-menu-create, get)
17145 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17146 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17147 (customize-apropos): Remove unused variable `tests'.
17148 (custom-group-value-create): Remove unused variable `hidden-p'.
17149 (sort-fold-case): Declare.
17151 * cus-theme.el (custom-reset-standard-faces-list)
17152 (custom-reset-standard-variables-list): Declare.
17153 (customize-create-theme, custom-theme-revert, custom-theme-write)
17154 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17155 Mark unused parameters.
17157 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17159 * delim-col.el (delimit-columns-max): Move defvar before first use.
17161 * descr-text.el (describe-char-categories): Don't quote `lambda'.
17162 (describe-char): Don't quote `lambda'. Mark unused parameter.
17164 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17165 (auto-insert): Declare.
17166 (desktop-restore-file-buffer): Rename desktop-* parameters;
17168 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17169 (desktop-buffer): Rename desktop-* parameters.
17171 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17172 (dframe-reposition-frame-xemacs, dframe-help-echo)
17173 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17174 Mark unused parameters.
17176 * dired-aux.el (backup-extract-version-start, overwrite-query)
17177 (overwrite-backup-query, rename-regexp-query)
17178 (rename-non-directory-query): Declare.
17179 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17180 (dired-add-entry): Remove unused variable `orig-file-name'.
17181 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17182 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17183 `dired-copy-preserve-time' directly.
17184 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17185 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17187 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17188 (dired-virtual-revert, dired-make-relative-symlink):
17189 Mark unused parameters.
17190 (manual-program): Declare.
17191 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17192 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17193 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17195 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17197 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17199 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17202 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17204 * electric.el (Electric-command-loop): Rename parameter
17205 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17207 * expand.el (expand-in-literal): Remove unused variable `here'.
17209 * facemenu.el (facemenu-add-new-color):
17210 Remove unused variable `docstring'.
17212 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17213 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17214 (face-attr-construct): Mark unused parameter. Doc fix.
17215 (read-color): Remove unused variable `hex-string'.
17217 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17218 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17219 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17220 (display-buffer-other-frame): Remove unused variable `old-window'.
17221 (kill-buffer-hook): Declare.
17222 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17223 Mark unused parameters.
17224 (after-find-file): Pass 1 to `auto-save-mode', not t.
17226 * files-x.el (auto-insert): Declare.
17227 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17229 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17230 variable `buf'. Mark unused parameter.
17231 (find-lisp-insert-directory): Mark unused parameter.
17233 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17234 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17235 (format-common-tail): Remove, unused.
17236 (format-deannotate-region): Remove unused variable `loc'.
17237 (format-annotate-region): Remove unused variable `p'.
17238 (format-annotate-single-property-change): Remove unused variables
17239 `default' and `tail'.
17241 * forms.el (read-file-filter): Declare.
17242 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17244 * frame.el (frame-creation-function-alist): Mark unused parameter.
17245 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17247 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17248 Remove unused parameters.
17249 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17250 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17252 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17253 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17254 (hfy-prepare-tag-map): Mark unused parameters.
17255 (htmlfontify-buffer): Use `called-interactively-p'.
17257 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17258 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17259 (ibuffer-do-occur): Mark unused parameters.
17260 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17261 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17263 * ibuffer.el: Don't quote `lambda'.
17264 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17265 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17266 Mark unused parameters.
17268 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17269 (ido-completing-read): Mark unused parameters.
17270 (ido-copy-current-word): Mark unused parameters;
17271 remove unused variable `name'.
17272 (ido-sort-merged-list): Remove unused parameter `dirs'.
17274 * ielm.el (ielm-input-sender): Mark unused parameter.
17275 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17276 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17277 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17278 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17279 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17281 * image-dired.el (image-dired-display-thumbs): Remove unused
17282 variables `curr-file' and `count'.
17283 (image-dired-remove-tag): Remove unused variable `start'.
17284 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17285 variable `curr-file'
17286 (image-dired-rotate-original): Remove unused variable `temp-file'.
17287 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17288 Remove unused variable `file'.
17289 (image-dired-gallery-generate): Remove unused variable `curr'.
17290 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17292 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17294 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17296 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17298 * isearch.el (minibuffer-history-symbol): Declare.
17299 (isearch-edit-string): Remove unused variable `err'.
17300 (isearch-message-prefix, isearch-message-suffix):
17301 Mark unused parameters.
17303 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17305 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17307 * makesum.el (double-column): Remove unused variable `cnt'.
17309 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17310 (ido-ignore-item-temp-list): Declare.
17312 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17313 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17314 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17315 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17318 * mouse-sel.el (mouse-extend-internal):
17319 Remove unused variable `orig-window-frame'.
17321 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17322 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17323 Move declarations before first use.
17324 (pcomplete-opt): Mark unused parameters; doc fix.
17326 * proced.el (proced-revert): Mark unused parameter.
17327 (proced-send-signal): Remove unused variable `err'.
17329 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17330 Rename parameter PREFIX-ARG to ARG.
17331 (ps-basic-plot-string, ps-basic-plot-whitespace):
17332 Mark unused parameters.
17334 * replace.el (replace-count): Define.
17335 (occur-revert-function): Mark unused parameters.
17336 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17337 (isearch-case-fold-search, isearch-string): Declare.
17338 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17339 bind `case-fold-search'. Remove unused variables `beg' and `end',
17341 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17342 COUNT and bind `replace-count'.
17343 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17346 * savehist.el (print-readably, print-string-length): Declare.
17348 * shadowfile.el (shadow-expand-cluster-in-file-name):
17349 Remove unused variable `cluster'.
17350 (shadow-copy-file): Remove unused variable `i'.
17351 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17352 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17353 (shadow-define-literal-group, shadow-define-regexp-group)
17354 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17356 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17357 (shell): Use `called-interactively-p'.
17358 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17360 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17361 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17362 (delete-backward-char): Remove unused variable `ocol'.
17363 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17364 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17365 (event-apply-hyper-modifier, event-apply-shift-modifier)
17366 (event-apply-control-modifier, event-apply-meta-modifier):
17367 Mark unused parameters.
17368 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17369 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17371 * speedbar.el (speedbar-ignored-directory-expressions)
17372 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17373 (speedbar-find-file, speedbar-dir-follow)
17374 (speedbar-directory-buttons-follow, speedbar-tag-find)
17375 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17376 (speedbar-buffers-line-directory, speedbar-buffer-click):
17377 Mark unused parameters.
17378 (speedbar-tag-file): Remove unused variable `mode'.
17379 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17381 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17383 * talk.el (talk): Remove unused variable `display'.
17385 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17386 (tar-write-region-annotate): Mark unused parameter.
17388 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17389 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17390 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17391 warning by another.
17393 * time-stamp.el (time-stamp-string-preprocess):
17394 Remove unused variable `require-padding'.
17396 * tree-widget.el (widget-glyph-enable): Declare.
17397 (tree-widget-action): Mark unused parameter.
17399 * w32-fns.el (x-get-selection): Mark unused parameter.
17400 (autoload-make-program, generated-autoload-file): Declare.
17402 * wdired.el (wdired-revert): Mark unused parameters.
17403 (wdired-xcase-word): Remove unused variable `err'.
17405 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17406 (whitespace-help-scroll): Remove unused variable `data-help'.
17408 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17409 (widget-image-insert, widget-after-change, default)
17410 (widget-default-format-handler, widget-default-notify)
17411 (widget-default-prompt-value, widget-info-link-action)
17412 (widget-url-link-action, widget-function-link-action)
17413 (widget-variable-link-action, widget-file-link-action)
17414 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17415 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17416 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17417 (widget-insert-button-action, widget-delete-button-action, visibility)
17418 (widget-documentation-link-action, widget-documentation-string-action)
17419 (widget-const-prompt-value, widget-regexp-match, symbol)
17420 (widget-coding-system-prompt-value)
17421 (widget-key-sequence-value-to-external, sexp)
17422 (widget-sexp-value-to-internal, character, vector, cons)
17423 (widget-choice-prompt-value, widget-boolean-prompt-value)
17424 (widget-color--choose-action): Mark unused parameters.
17425 (widget-item-match-inline, widget-choice-match-inline)
17426 (widget-checklist-match, widget-checklist-match-inline)
17427 (widget-group-match): Rename parameter VALUES to VALS.
17428 (widget-field-value-set): Remove unused variable `size'.
17429 (widget-color-action): Remove unused variables `value' and `start'.
17431 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17432 variable `dir'. Doc fix.
17433 (windmove-find-other-window): Don't pass it.
17435 * window.el (count-windows): Mark unused parameter.
17436 (bw-adjust-window): Remove unused variable `err'.
17438 * woman.el (woman-file-name): Remove unused variable `default'.
17439 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17440 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17441 (global-font-lock-mode): Declare.
17442 (woman-decode-region): Mark unused parameter.
17443 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17445 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17446 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17447 (x-dnd-handle-moz-url): Remove unused variable `title'.
17448 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17450 * xml.el (xml-parse-tag, xml-parse-attlist):
17451 Remove unused variable `pos'.
17453 2011-04-19 Glenn Morris <rgm@gnu.org>
17455 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17456 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17457 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17458 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17459 * calendar/cal-html.el (cal-html-insert-minical):
17460 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17461 (calendar-mark-date-pattern):
17462 Prefix "unused" locals.
17464 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17465 optional argument `style'.
17467 * calendar/appt.el (appt-make-list):
17468 * calendar/cal-china.el (calendar-chinese-date-string):
17469 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17470 (diary-hebrew-yahrzeit):
17471 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17472 * calendar/calendar.el (calendar-generate-window):
17473 * calendar/time-date.el (time-to-days):
17474 Remove unused local variables.
17476 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17478 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17479 glyphless-char-display table.
17480 (tabulated-list-glyphless-char-display): New var.
17482 2011-04-18 Sam Steingold <sds@gnu.org>
17484 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17485 to acknowledgments.
17487 2011-04-17 Glenn Morris <rgm@gnu.org>
17489 * calendar/diary-lib.el (diary-sexp-entry):
17490 * calendar/holidays.el (holiday-sexp):
17491 Set debug-on-error rather than the removed stack-trace-on-error.
17493 2011-04-16 Glenn Morris <rgm@gnu.org>
17495 * progmodes/f90.el: Use lexical-binding.
17496 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17498 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17500 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17501 (mail-mode): Setup mailalias completion here instead.
17502 * mail/mailalias.el: Use lexical-binding.
17503 (pattern, mailalias-done): Declare dynamic.
17504 (mail-completion-at-point-function): New function, from mail-complete.
17505 (mail-complete): Use it.
17506 (mail-completion-expand): New function.
17507 (mail-get-names): Use it.
17508 (mail-directory, mail-directory-process, mail-directory-stream):
17509 Don't use `pattern' for lexically bound arg.
17511 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17513 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17514 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17515 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17517 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17518 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17519 (byte-interactive-p): Define them again, for use when inlining
17522 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17524 * loadup.el: Use `string-to-number', not `string-to-int'.
17526 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17528 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17529 gud-gdb-complete-command.
17530 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17531 (gud-gdb-completion-at-point): New function.
17532 (gud-gdb-completions): Remove.
17534 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17536 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17537 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17538 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17539 whether `executable-find' is bound.
17541 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17543 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17545 * minibuffer.el (completion-in-region-mode-predicate)
17546 (completion-in-region-mode--predicate): New vars.
17547 (completion-in-region, completion-in-region--postch)
17548 (completion-in-region-mode): Use them.
17549 (completion--capf-wrapper): Also return the hook function.
17550 (completion-at-point, completion-help-at-point):
17551 Adjust and provide a predicate.
17553 Preserve arg names for advice of subr and lexical functions (bug#8457).
17554 * help-fns.el (help-function-arglist): Consolidate the subr and
17555 new-byte-code cases. Add argument `preserve-names' to extract names
17556 from the docstring when needed.
17557 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17558 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17559 (ad-arglist): Use help-function-arglist's new arg.
17560 (ad-definition-type): Use cond.
17562 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17564 * autorevert.el (auto-revert-handler):
17565 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17566 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17567 Don't quote lambda.
17569 * image-mode.el (image-transform-set-scale):
17570 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17572 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17574 * net/network-stream.el (network-stream-open-starttls): Only do
17575 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17576 Upgrades via gnutls-cli are too slow to be done opportunistically.
17578 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17580 * dframe.el (dframe-current-frame): Remove spurious quote.
17582 2011-04-12 Glenn Morris <rgm@gnu.org>
17584 * calendar/cal-tex.el (cal-tex-end-document):
17585 Try to automatically use latin1 input if needed.
17587 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17588 Don't try to cons a mark onto an empty element.
17590 2011-04-11 Leo Liu <sdl.web@gmail.com>
17592 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17594 (ido-kill-buffer-at-head): Support killing virtual buffers.
17596 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17598 * minibuffer.el (completion-show-inline-help): New var.
17599 (completion--do-completion, minibuffer-complete)
17600 (minibuffer-force-complete, minibuffer-complete-word):
17601 Inhibit minibuffer messages if completion-show-inline-help is nil.
17603 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17604 to avoid interference from inline help (Bug#5849).
17606 2011-04-10 Leo Liu <sdl.web@gmail.com>
17608 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17611 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17613 * image-mode.el (image-toggle-display-image): Signal an error if
17615 (image-transform-mode, image-transform-resize)
17616 (image-transform-set-rotation): Doc fix.
17617 (image-transform-set-resize): Delete.
17618 (image-transform-set-scale, image-transform-fit-to-height)
17619 (image-transform-fit-to-width): Handle image-toggle-display-image
17620 and image-transform-resize directly.
17622 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17624 * doc-view.el (doc-view-fit-width-to-window)
17625 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17626 New functions for fitting the shown image to the Emacs window size.
17627 (doc-view-mode-map): Add bindings for the new functions.
17629 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17631 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17632 Fix typo in docstring.
17634 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17636 * files.el (file-size-human-readable): Produce one digit after
17637 decimal, like "ls -lh" does.
17639 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17640 the file size representation.
17642 * simple.el (list-processes): If async subprocesses are not
17643 available, error out with a clear error message.
17645 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17647 * help.el (help-form-show): New function, to be called from C.
17648 Put help-form output in a buffer named differently than *Help*.
17650 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17652 * files.el (file-size-human-readable): New function.
17654 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17655 computing the representation inline. Don't require `cl'.
17657 2011-04-08 Glenn Morris <rgm@gnu.org>
17659 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17661 * net/browse-url.el (browse-url-firefox):
17662 Test system-type, not system-configuration.
17664 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17665 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17666 Use log-edit-empty-buffer-p. (Bug#7598)
17668 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17669 (rlogin-mode-map): Initialize in the defvar.
17670 (rlogin): Use ignore-errors.
17672 * replace.el (occur-mode-map): Some fixes for menu items.
17674 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17676 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17678 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17680 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17681 issuing unused warnings.
17683 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17686 * simple.el: Lisp reimplement of list-processes. Based on an
17687 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17688 (process-menu-mode): New major mode.
17689 (list-processes--refresh, list-processes):
17690 (process-menu-visit-buffer): New functions.
17692 * files.el (save-buffers-kill-emacs): Don't assume any return
17693 value of list-processes, which is undocumented anyway.
17695 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17697 * emacs-lisp/tabulated-list.el: New file.
17699 * emacs-lisp/package.el: Use Tabulated List mode.
17700 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17701 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17702 table format using Tabulated List mode variables.
17703 (package--push): New macro, replacing package-list-maybe-add.
17704 (package-menu--generate): Use package--push. Renamed from
17705 package--generate-package-list.
17706 (package-menu-refresh, list-packages): Use it.
17707 (package-menu--print-info): Rename from package-print-package.
17708 Return insertion data instead of inserting it directly.
17709 (package-menu-describe-package, package-menu-execute):
17710 Use tabulated-list-get-id.
17711 (package-menu-mark-delete, package-menu-mark-install)
17712 (package-menu-mark-unmark, package-menu-backup-unmark)
17713 (package-menu-mark-obsolete-for-deletion):
17714 Use tabulated-list-put-tag.
17715 (package--list-packages, package-menu-revert)
17716 (package-menu-get-package, package-menu-get-version)
17717 (package-menu-sort-by-column): Functions deleted.
17718 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17719 (package-menu--status-predicate, package-menu--version-predicate)
17720 (package-menu--name-predicate)
17721 (package-menu--description-predicate): Handle arguments in the
17722 Tabulated List format.
17723 (package-list-packages-no-fetch): Call list-packages.
17725 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17727 * files.el (after-find-file-from-revert-buffer): Remove variable.
17728 (after-find-file): Don't bind it.
17729 (revert-buffer-in-progress-p): New variable.
17730 (revert-buffer): Bind it.
17731 Pass nil for `after-find-file-from-revert-buffer'.
17733 * saveplace.el (save-place-find-file-hook): Use new variable
17734 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17736 2011-04-06 Glenn Morris <rgm@gnu.org>
17738 * Makefile.in (AUTOGEN_VCS): New variable.
17739 (autoloads): Use $AUTOGEN_VCS.
17741 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17742 * calendar/calendar.el (calendar-mode-map):
17743 Check for toolkit scroll bars. (Bug#8305)
17745 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17747 * minibuffer.el (completion-in-region--postch)
17748 (completion-in-region-mode): Remove unnecessary messages.
17750 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17752 * font-lock.el (font-lock-refresh-defaults):
17753 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17754 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17756 * info.el (Info-directory-list, Info-read-node-name-2)
17757 (Info-split-parameter-string): Doc fixes.
17758 (Info-virtual-nodes): Reflow docstring.
17759 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17760 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17761 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17762 Fix typos in docstrings.
17763 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17764 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17765 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17766 (Info-restore-desktop-buffer): Mark unused parameters.
17767 (Info-directory-find-file, Info-directory-find-node)
17768 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17769 (Info-virtual-index-find-node, Info-apropos-find-file)
17770 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17771 Mark unused parameters; fix typos in docstrings.
17772 (Info-virtual-index): Remove unused local variable `nodename'.
17774 2011-04-05 Deniz Dogan <deniz@dogan.se>
17776 * net/rcirc.el: Update my e-mail address.
17777 (rcirc-mode-map): Remove M-o binding.
17779 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17781 * startup.el (command-line): Save the cursor's theme-face
17782 directly, instead of using face-override-spec.
17784 * custom.el (load-theme): Minor optimization in assigning faces.
17786 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17788 * help-fns.el (describe-variable): Complete all variables having
17789 documentation, including keywords.
17790 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17792 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17794 Convert to lexical-binding.
17796 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17797 (bs--get-marked-string, bs--get-modified-string)
17798 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17799 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17800 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17802 * ehelp.el (electric-help-execute-extended)
17803 (electric-help-ctrl-x-prefix):
17804 * hexl.el (hexl-revert-buffer-function):
17805 * linum.el (linum-after-change, linum-after-scroll):
17806 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17808 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17810 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17817 * epg.el: Use lexical binding.
17819 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17821 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17823 * textmodes/flyspell.el (flyspell-word): Recognize default
17824 dictionary case for flyspell-mark-duplications-exceptions.
17825 Use regexp matching for languages.
17826 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17827 default dictionary (Bug#7926).
17829 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17831 * emacs-lisp/package.el (package--with-work-buffer):
17832 Recognize https URLs.
17834 * net/network-stream.el: Move from gnus/proto-stream.el.
17835 Change prefix to network-stream throughout.
17836 (open-protocol-stream): Merge into open-network-stream, leaving
17837 open-protocol-stream as an alias. Handle nil BUFFER args.
17839 * subr.el (open-network-stream): Move to net/network-stream.el.
17841 2011-04-02 Glenn Morris <rgm@gnu.org>
17843 * find-dired.el (find-exec-terminator): New option.
17844 (find-ls-option): Test for -ls support.
17845 (find-ls-subdir-switches): Test for -b in find-ls-option.
17846 (find-dired, find-grep-dired): Doc fixes.
17847 (find-dired): Use find-exec-terminator.
17849 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17850 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17851 (find-name-arg): Remove purecopy.
17853 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17854 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17855 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17856 accordingly. Don't add the null-device if not needed.
17858 * files.el (save-some-buffers): Doc fix.
17860 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17862 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17864 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17866 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17867 Use `dolist' rather than `mapcar'.
17869 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17871 Add lexical binding.
17873 * subr.el (apply-partially): Use new closures rather than CL.
17874 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17875 (dolist, dotimes): Use slightly different expansion for lexical code.
17876 (functionp): Move to C.
17877 (letrec): New macro.
17878 (with-wrapper-hook): Use it and apply-partially instead of CL.
17879 (eval-after-load): Preserve lexical-binding.
17880 (save-window-excursion, with-output-to-temp-buffer): Turn them
17883 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17885 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17887 (help-add-fundoc-usage): Don't add `Not documented'.
17888 (help-function-arglist): Handle closures, subroutines, and new
17889 byte-code-functions.
17890 (help-make-usage): Remove leading underscores.
17891 (describe-function-1): Handle closures.
17892 (describe-variable): Use special-variable-p for completion.
17894 * files.el (lexical-binding): Declare safe.
17896 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17897 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17898 (pcase): Add `let' pattern.
17899 Change memoization so it actually works.
17900 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17901 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17904 * emacs-lisp/macroexp.el: Use lexical binding.
17905 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17906 Don't convert ' to #' without checking that it's indeed quoting
17909 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17910 Use eval-sexp-add-defvars.
17911 (eval-sexp-add-defvars): New fun.
17913 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17915 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17917 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17918 than the internal `byte-compile-lambda'.
17919 (defmethod): Don't hide code under quotes.
17920 (eieio-defmethod): New `code' argument.
17922 * emacs-lisp/eieio-comp.el: Remove.
17924 * emacs-lisp/edebug.el (edebug-eval-defun)
17925 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17926 (edebug-toggle): Avoid `eval'.
17928 * emacs-lisp/disass.el (disassemble-internal): Handle new
17930 (disassemble-1): Handle new byte codes.
17932 * emacs-lisp/cl.el (pushnew): Silence warning.
17934 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17935 (cl-byte-compile-throw): Remove.
17936 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17938 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17941 * emacs-lisp/cconv.el: New file.
17943 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17944 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17945 (byte-compile-initial-macro-environment):
17946 Handle declare-function here.
17947 (byte-compile--lexical-environment): New var.
17948 (byte-stack-ref, byte-stack-set, byte-discardN)
17949 (byte-discardN-preserve-tos): New lap codes.
17950 (byte-interactive-p): Don't use any more.
17951 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17953 (byte-compile-lapcode): Use them and handle new lap codes.
17954 (byte-compile-obsolete): Remove.
17955 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17956 (byte-compile-arglist-warn): Check late def of inlinable funs.
17957 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17958 since they should have been expanded by now.
17959 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17960 (byte-compile-from-buffer): Remove unused second arg.
17961 (byte-compile-preprocess): New function.
17962 (byte-compile-toplevel-file-form): New function to distinguish
17963 file-form calls from outside from file-form calls from hunk-handlers.
17964 (byte-compile-file-form): Simplify.
17965 (byte-compile-file-form-defsubst): Remove.
17966 (byte-compile-file-form-defmumble): Simplify now that
17967 byte-compile-lambda always returns a byte-code-function.
17968 (byte-compile): Preprocess.
17969 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17970 Remove, not used any more.
17971 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17972 (byte-compile-make-args-desc): New funs.
17973 (byte-compile-lambda): Handle lexical functions. Always return
17974 a byte-code-function.
17975 (byte-compile-reserved-constants): New var, to make up room for
17976 closed-over variables.
17977 (byte-compile-constants-vector): Obey it.
17978 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17979 (byte-compile-macroexpand-declare-function): New function.
17980 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17981 byte-code-functions.
17982 (byte-compile-form): Check obsolescence here.
17983 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17984 (byte-compile-variable-ref): Remove.
17985 (byte-compile-dynamic-variable-op): New fun.
17986 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17987 (byte-compile-variable-set): New funs.
17988 (byte-compile-discard): Add 2 args.
17989 (byte-compile-stack-ref, byte-compile-stack-set)
17990 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17991 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17992 macroexpand-all instead.
17993 (byte-compile-quote-form): Remove.
17994 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17995 (byte-compile-bind, byte-compile-unbind): New funs.
17996 (byte-compile-let): Handle let* and lexical binding.
17997 (byte-compile-let*): Remove.
17998 (byte-compile-catch, byte-compile-unwind-protect)
17999 (byte-compile-track-mouse, byte-compile-condition-case):
18000 Handle a new :fun-body form, used for lexical scoping.
18001 (byte-compile-save-window-excursion)
18002 (byte-compile-with-output-to-temp-buffer): Remove.
18003 (byte-compile-defun): Simplify.
18004 (byte-compile-stack-adjustment): New fun.
18005 (byte-compile-out): Use it.
18006 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18008 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18011 * emacs-lisp/byte-opt.el: Use lexical binding.
18012 (byte-inline-lapcode): Remove (to bytecomp).
18013 (byte-compile-inline-expand): Pay attention to inlining to/from
18014 lexically bound code.
18015 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18017 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18018 any more and don't call compiler-macros.
18019 (byte-compile-splice-in-already-compiled-code): Remove.
18020 (byte-code): Don't inline any more.
18021 (disassemble-offset): Receive `bytes' as argument rather than via
18023 (byte-compile-tag-number): Declare before first use.
18024 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18025 `return' even if make-spliceable.
18026 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18027 obsolete interactive-p.
18028 (byte-optimize-lapcode): Optimize new lap-codes.
18029 Don't trip up on new form of `byte-constant' lap code.
18031 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18033 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18035 * custom.el (custom-initialize-default, custom-declare-variable):
18038 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18040 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18041 (COMPILE_FIRST): Add macroexp and cconv.
18042 * makefile.w32-in: Mirror changes in Makefile.in.
18044 * vc/cvs-status.el:
18048 * vc/smerge-mode.el:
18049 * textmodes/bibtex-style.el:
18050 * textmodes/css-mode.el:
18058 * emacs-lisp/smie.el:
18061 * abbrev.el: Use lexical binding.
18063 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18065 * info.el (info-display-manual): New function.
18067 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18069 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18071 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18073 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18074 an entry for that server in rcirc-authinfo. (Bug#8385)
18076 2011-03-31 Glenn Morris <rgm@gnu.org>
18078 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18080 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18082 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18084 * progmodes/python.el (python-default-interpreter)
18085 (python-python-command-args, python-jython-command-args)
18086 (python-which-shell, python-which-args, python-which-bufname)
18087 (python-file-queue, python-comint-output-filter-function)
18088 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18089 variables and functions.
18091 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18093 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18094 (completion-in-region-mode): New minor mode.
18095 (completion-in-region): Use it.
18096 (completion-in-region--data, completion-in-region-mode-map): New vars.
18097 (completion-in-region--postch): New function.
18098 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18100 (completion--capf-wrapper): New function.
18101 (completion-at-point): Use it to track well-behavedness of
18103 (completion-help-at-point): New command.
18105 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18107 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18108 syntax class to search for whitespace on a single line
18109 (Message-ID: <4D938140.4030905@redhat.com>).
18111 2011-03-30 Leo Liu <sdl.web@gmail.com>
18113 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18115 (edit-abbrevs-map): Bind them here.
18116 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18118 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18120 * allout.el (allout-hide-by-annotation, allout-flag-region):
18121 Reduce possibility of overlay leakage by making them volatile.
18123 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18124 hash is not shared between buffers. Mode initialization is
18125 responsible for giving it a useful starting value.
18126 (allout-item-span): Reduce possibility of overlay leakage by
18127 making them volatile.
18128 (allout-widgets-count-buttons-in-region): Add diagnostic function
18129 for tracking down button overlay leaks.
18131 2011-03-29 Leo Liu <sdl.web@gmail.com>
18133 * ido.el (ido-read-internal): Use the default history var
18134 minibuffer-history if no HISTORY is specified.
18136 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18138 * net/imap.el (imap-shell-open, imap-process-connection-type):
18139 Use imap-process-connection-type for 'shell' streams as well as
18140 Kerberos, SSL, other subprocesses.
18142 2011-03-28 Leo Liu <sdl.web@gmail.com>
18144 * abbrev.el (abbrev-table-empty-p): New function.
18145 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18146 nonempty ones. (Bug#5937)
18148 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18150 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18152 2011-03-27 Leo Liu <sdl.web@gmail.com>
18154 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18155 for foreground and background colors.
18156 (ansi-color-make-color-map): Adapt.
18158 2011-03-25 Leo Liu <sdl.web@gmail.com>
18160 * midnight.el (midnight-time-float): Remove. Note it calculates
18161 the microsecond component incorrectly and seconds-to-time does the
18163 Remove redundant (require 'timer).
18165 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18166 (ido-completions): Remove unused arguments. (Bug#8329)
18168 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18170 * minibuffer.el (completion--flush-all-sorted-completions):
18171 Remove itself from hook.
18172 (completion-at-point): Let the functions perform the completion
18173 immediately and return nil or t.
18174 * comint.el (comint-dynamic-complete-functions): Now identical to
18175 completion-at-point-functions.
18176 (comint-dynamic-list-input-ring): Remove unused var `index'.
18177 (comint--match-partial-filename, comint--unquote&expand-filename):
18178 New funs, split from comint-match-partial-filename.
18179 (comint-dynamic-complete): Use completion-at-point.
18180 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18182 2011-03-24 Drew Adams <drew.adams@oracle.com>
18184 * thingatpt.el: Support `defun'.
18186 2011-03-23 Leo Liu <sdl.web@gmail.com>
18188 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18190 * help-mode.el (help-mode-finish): Tweak regexp.
18192 2011-03-23 Glenn Morris <rgm@gnu.org>
18194 * eshell/esh-opt.el (eshell-eval-using-options):
18195 Do not bind unused local variable `eshell-option-stub'.
18197 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18199 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18201 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18202 keymap variable in `with-no-warnings' to avoid a warning when the
18203 keymap has been already `defconst'ed.
18205 2011-03-22 Leo Liu <sdl.web@gmail.com>
18207 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18208 encode all chars in abbrevs; otherwise use emacs-mule or
18209 utf-8-emacs. (Bug#8308)
18211 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18213 * simple.el (backward-delete-char-untabify):
18214 Avoid warning about using `delete-backward-char'.
18216 * image.el (image-type-file-name-regexps): Make it variable.
18217 `imagemagick-register-types' modifies it, and the user may want
18218 to add new extensions for known image types.
18219 (imagemagick-register-types): Throw error if not using ImageMagick.
18221 2011-03-22 Leo Liu <sdl.web@gmail.com>
18223 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18224 located before rcirc-prompt-end-marker.
18225 (rcirc-complete): Error if point is not after rcirc prompt.
18226 Handle the case when table is nil.
18227 (rcirc-user-authenticated): Define to fix compiler warning.
18229 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
18231 * custom.el (custom--inhibit-theme-enable): Make it affect only
18232 custom-theme-set-variables and custom-theme-set-faces.
18233 (provide-theme): Ignore custom--inhibit-theme-enable.
18234 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18235 (custom-enabling-themes): Delete variable.
18236 (enable-theme): Accept only loaded themes as arguments.
18237 Ignore the special custom-enabled-themes variable.
18238 (custom-enabled-themes): Forbid themes from setting this.
18239 Eliminate use of custom-enabling-themes.
18240 (custom-push-theme): Quote "changed" custom var entry.
18242 2011-03-21 Leo Liu <sdl.web@gmail.com>
18244 * ido.el (ido-read-internal): Add ido-selected to history instead
18247 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18249 * subr.el (deferred-action-list, deferred-action-function):
18252 2011-03-21 Leo Liu <sdl.web@gmail.com>
18254 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18255 change on 2011-02-13 (bug#8309).
18257 * minibuffer.el (read-file-name-function): Change default value.
18258 (read-file-name--defaults): Rename from read-file-name-defaults.
18259 (read-file-name-default): Rename from read-file-name.
18260 (read-file-name): Call read-file-name-function.
18262 2011-03-21 Glenn Morris <rgm@gnu.org>
18264 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18267 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
18269 * cus-theme.el: Add missing provide statement.
18270 (customize-create-theme): Extract theme value correctly.
18271 (custom-theme-visit-theme): Autoload.
18272 (customize-create-theme): Prompt before inserting default faces.
18274 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18276 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18277 units and musical notes.
18279 2011-03-20 Leo Liu <sdl.web@gmail.com>
18281 * ido.el (ido-read-internal): Use completing-read-default.
18282 (ido-completing-read): Fix compatibility with completing-read.
18284 2011-03-20 Christian Ohler <ohler@gnu.org>
18286 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18287 (ert-delete-all-tests): Use `called-interactively-p' rather than
18289 (ert--make-xrefs-region): Respect END.
18291 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18293 * dired-aux.el (dired-create-directory): Signal an error if the
18294 directory already exists (Bug#8246).
18296 * facemenu.el (list-colors-display): Call list-faces-display
18297 inside with-help-window.
18298 (list-colors-print): Use display property to align the final
18299 column, instead of checking window-width.
18301 2011-03-19 Eli Zaretskii <eliz@gnu.org>
18303 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18304 windows-nt systems.
18305 (emerge-protect-metachars): Quote correctly for ms-dos and
18306 windows-nt systems.
18308 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
18310 * info.el (info-initialize): Replace all uses of `:' with
18311 path-separator for compatibility with non-Unix systems.
18312 Cache quoting of path-separator. (Bug#8258)
18314 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18316 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18317 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18318 (mouse-avoidance-mode): Fix typos in docstrings.
18320 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18322 * startup.el (package-subdirectory-regexp): Move from package.el.
18323 Omit \\` and \\', and let callers add them.
18325 * emacs-lisp/package.el (package-strip-version)
18326 (package-load-all-descriptors): Add \\` and \\' to
18327 package-subdirectory-regexp before using it.
18328 (package-untar-buffer): New arg DIR; ensure that file untars only
18329 into this expected directory. Remove superfluous delete-region.
18330 (package-unpack): Caller changed.
18331 (package-tar-file-info): Use package-subdirectory-regexp.
18333 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18335 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18336 diff-mode-shared-map (bug#8284).
18337 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18339 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18341 * calendar/time-date.el (format-seconds): Use assoc instead of
18342 assoc-string, since assoc-string doesn't exist in XEmacs.
18344 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18346 * custom.el (custom-known-themes): Reflow docstring.
18347 (custom-theme-load-path): Fix typo in docstring.
18348 (load-theme): Fix typo in error message.
18349 (custom-available-themes, custom-variable-theme-value):
18350 Use `let', not `let*'.
18352 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18354 * calc/README: Mention inclusion of musical notes.
18356 * calc/calc-units.el (calc-lu-quant): Rename from
18357 `calc-logunits-quantity'.
18358 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18359 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18360 (calc-db): Rename from `calc-dblevel'.
18361 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18362 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18363 (calc-np): Rename from `calc-nplevel'.
18364 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18365 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18366 (calc-lu-plus): Rename from `calc-logunits-add'.
18367 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18368 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18369 (calc-lu-minus): Rename from `calc-logunits-sub'.
18370 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18371 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18372 (calc-lu-times): Rename from `calc-logunits-mul'.
18373 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18374 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18375 (calc-lu-divide): Rename from `calc-logunits-div'.
18376 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18377 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18379 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18380 functions being autoloaded.
18382 * calc/calc.el (calc-lu-power-reference): Rename from
18383 `calc-logunits-power-reference'.
18384 (calc-lu-field-reference): Rename from
18385 `calc-logunits-field-reference'.
18387 * calc/calc-help.el (calc-l-prefix-help):
18388 Mention musical note functions.
18390 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18392 * minibuffer.el (completion-all-sorted-completions):
18393 Use :completion-cycle-penalty text property if present.
18395 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18397 * allout.el (allout-yank-processing): Adjust for new rebulleting
18398 regime so bullet being yanked is used without prompting the user
18401 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18403 * startup.el (command-line): Warn the user that _emacs is deprecated.
18405 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18407 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18408 (delphi-verbose, delphi-comment-face, delphi-string-face)
18409 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18410 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18411 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18412 (delphi-new-comment-line, delphi-font-lock-defaults)
18413 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18414 Fix typos in docstrings.
18416 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18418 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18419 Invert the roles of character and string values for INSTEAD, so a
18420 string is used for the more common case of a defaulting prompt.
18422 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18424 * progmodes/ruby-mode.el (ruby-backward-sexp):
18425 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18426 * play/gamegrid.el (gamegrid-make-face):
18427 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18428 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18429 * notifications.el (notifications-notify):
18430 * net/xesam.el (xesam-search-engines):
18431 * net/quickurl.el (quickurl-list-insert):
18432 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18434 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18436 * startup.el (command-line): Update package subdirectory regexp.
18438 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18440 * allout.el (allout-abbreviate-flattened-numbering)
18441 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18443 * subr.el (read-char-choice): Only show the cursor after the prompt,
18444 not after the answer.
18446 2011-03-15 Kevin Ryde <user42@zip.com.au>
18448 * help-fns.el (variable-at-point): Skip leading quotes, if any
18451 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18453 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18456 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18458 * shell.el (shell): When called interactively, offer to change the
18459 shell file name on remote hosts.
18461 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18463 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18464 integration for LDAP parameters. The host, base, user or binddn,
18465 and secret tokens can be specified in a netrc file, for instance.
18466 This is optional because an `auth-source' parameter must be
18467 specified in the search attributes.
18469 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18471 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18473 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18475 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18476 into declaration. Remove redundant and harmful binding.
18478 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18480 * files.el (file-ownership-preserved-p): Pass `integer' as an
18481 explicit 2nd argument to `file-attributes'. If the file's owner
18482 is the Administrators group on Windows, and the current user is
18483 Administrator, consider that a match.
18485 * server.el (server-ensure-safe-dir): Consider server directory
18486 safe on MS-Windows if its owner is the Administrators group while
18487 the current Emacs user is Administrator. Use `=' to compare
18488 numerical UIDs, since they could be integers or floats.
18490 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18492 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18494 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18496 Sync with Tramp 2.2.1.
18498 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18500 * net/trampver.el: Update release number.
18502 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * progmodes/compile.el (compilation--previous-directory): Fix up
18505 various nil/dead-marker mismatches (bug#8014).
18506 (compilation-directory-properties, compilation-error-properties):
18507 Don't call it at a position past the one we're about to change.
18509 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18510 Disable obsolescence warnings in the file that declares it.
18512 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18514 * allout-widgets.el (allout-widgets-tally):
18515 Initialize allout-widgets-tally as a hash table rather than nil to
18516 prevent mode-line redisplay warnings. Also, clarify the module
18517 description and fix a comment typo.
18519 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18521 * help-fns.el (describe-variable): Don't complete keywords.
18522 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18524 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18526 * emacs-lisp/package.el (package-version-join): Impose a standard
18527 string representation for pre/alpha/beta version lists.
18528 (package-unpack-single): Standardize the directory name by passing
18529 it through package-version-join.
18530 (package-strip-rcs-id): Accept any version string that does not
18531 signal an error in version-to-list.
18533 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18535 * simple.el (delete-trailing-whitespace): Return nil for the
18536 benefit of `write-file-functions'.
18538 2011-03-10 Glenn Morris <rgm@gnu.org>
18540 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18542 * vc/vc-git.el (vc-git-program): New option.
18543 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18544 (vc-git--call): Use it.
18546 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18548 * cus-edit.el (Custom-newline): If no button at point, look
18549 for a subgroup button at start-of-line. (Bug#2298)
18551 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18553 2011-03-10 Julien Danjou <julien@danjou.info>
18555 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18556 `cursor-type' is nil.
18558 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18560 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18562 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18564 * allout.el: Change so yank of distinctive-bullet items
18565 preserves the existing header prefix, rebulleting it if necessary,
18566 rather than replacing it. This is necessary for proper operation
18567 of cooperative addons like allout-widgets.
18568 (allout-make-topic-prefix, allout-rebullet-heading):
18569 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18570 value as alternate bullet to be used, instead of prompting the user
18571 for a bullet character.
18573 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18576 Do not use `tramp-file-name-port', because this returns also
18577 `tramp-default-port'.
18579 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18581 * net/rcirc.el (rcirc-handler-001): Remove useless
18582 with-rcirc-process-buffer.
18583 (rcirc-check-auth-status): Swap arguments to string-match.
18585 2011-03-09 Glenn Morris <rgm@gnu.org>
18587 * shell.el (shell-mode):
18588 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18590 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18591 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18593 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18595 * emacs-lisp/package.el (package-refresh-contents)
18596 (package-menu-execute): Use condition-case-no-debug.
18598 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18600 * simple.el (shell-command-to-string): Use `process-file'.
18602 * emacs-lisp/package.el (package-tar-file-info): Handle also
18605 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18606 Use `equal' for upload base check.
18608 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18610 * textmodes/texinfo.el (texinfo-environments):
18611 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18613 2011-03-08 Glenn Morris <rgm@gnu.org>
18615 * cus-start.el (cursor-in-non-selected-windows):
18616 Fix :set quoting oddness. (Bug#8192)
18618 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18619 in some setf expressions. (Bug#2159)
18621 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18623 * custom.el (custom-available-themes): Return themes in
18624 alphabetical order.
18626 See ChangeLog.15 for earlier changes.
18628 ;; Local Variables:
18632 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18634 This file is part of GNU Emacs.
18636 GNU Emacs is free software: you can redistribute it and/or modify
18637 it under the terms of the GNU General Public License as published by
18638 the Free Software Foundation, either version 3 of the License, or
18639 (at your option) any later version.
18641 GNU Emacs is distributed in the hope that it will be useful,
18642 but WITHOUT ANY WARRANTY; without even the implied warranty of
18643 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18644 GNU General Public License for more details.
18646 You should have received a copy of the GNU General Public License
18647 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.