1 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3 * textmodes/ispell.el (ispell-command-loop): Remove
4 flyspell highlight of a word when ispell accepts it (bug #14178).
6 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9 uses code from the previous `ange-ftp-run-real-handler'.
10 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11 only in case that function exist. This is needed for proper
14 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18 * textmodes/reftex.el (reftex-compile-variables): Use it.
20 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22 * files.el (normal-mode): Only use default major-mode if no other mode
25 * emacs-lisp/trace.el (trace-values): New function.
27 * files.el: Allow : in local variables (bug#14089).
28 (hack-local-variable-regexp): New var.
29 (hack-local-variables-prop-line, hack-local-variables): Use it.
31 2013-04-13 Roland Winkler <winkler@gnu.org>
33 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
34 data before it gets modified by bibtex-beginning-of-entry.
36 2013-04-13 Roland Winkler <winkler@gnu.org>
38 * textmodes/bibtex.el (bibtex-url): Doc fix.
40 2013-04-13 Roland Winkler <winkler@gnu.org>
42 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
43 does not visit a BibTeX file, exclude it from the list of buffers
44 returned by bibtex-initialize.
46 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
48 * window.el (split-window): Remove interactive form, since as a
49 command this function is a special case of split-window-below.
52 2013-04-12 Roland Winkler <winkler@gnu.org>
54 * faces.el (read-face-name): Do not override value of arg default.
55 Allow single faces and strings as default values. Remove those
56 elements from return value that are not faces.
57 (describe-face): Simplify.
58 (face-at-point): New optional args thing and multiple so that this
59 function can provide the same functionality previously provided by
61 (make-face-bold, make-face-unbold, make-face-italic)
62 (make-face-unitalic, make-face-bold-italic, invert-face)
63 (modify-face, read-face-and-attribute): Use face-at-point.
65 * cus-edit.el (customize-face, customize-face-other-window)
66 * cus-theme.el (custom-theme-add-face)
67 * face-remap.el (buffer-face-set)
68 * facemenu.el (facemenu-set-face): Use face-at-point.
70 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
72 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
74 2013-04-10 Tassilo Horn <tsdh@gnu.org>
76 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
77 off leading { and trailing } from field values.
79 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
81 * emacs-lisp/timer.el (timer--check): New function.
82 (timer--time, timer-set-function, timer-event-handler): Use it.
83 (timer-set-idle-time): Simplify.
84 (timer--activate): CSE.
85 (timer-event-handler): Give more info in error message.
86 (internal-timer-start-idle): New function, moved from C.
88 * mpc.el (mpc-proc): Add `restart' argument.
89 (mpc-proc-cmd): Use it.
90 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
91 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
94 2013-04-10 Masatake YAMATO <yamato@redhat.com>
96 * progmodes/sh-script.el: Implement `sh-mode' own
97 `add-log-current-defun-function' (bug#14112).
98 (sh-current-defun-name): New function.
99 (sh-mode): Use the function.
101 2013-04-09 Bastien Guerry <bzg@gnu.org>
103 * simple.el (choose-completion-string): Fix docstring (bug#14163).
105 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
107 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
109 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
112 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
114 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
117 2013-04-07 Leo Liu <sdl.web@gmail.com>
119 * pcmpl-x.el: New file.
121 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
123 Do not set x-display-name until X connection is established.
124 This is needed to prevent from weird situation described at
125 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
126 * frame.el (make-frame): Set x-display-name after call to
127 window system initialization function, not before.
128 * term/x-win.el (x-initialize-window-system): Add optional
129 display argument and use it.
130 * term/w32-win.el (w32-initialize-window-system):
131 * term/ns-win.el (ns-initialize-window-system):
132 * term/pc-win.el (msdos-initialize-window-system):
133 Add compatible optional display argument.
135 2013-04-06 Eli Zaretskii <eliz@gnu.org>
137 * files.el (normal-backup-enable-predicate): On MS-Windows and
138 MS-DOS compare truenames of temporary-file-directory and of the
139 file, so that 8+3 aliases (usually found in $TEMP on Windows)
140 don't fail comparison by compare-strings. Also, compare file
141 names case-insensitively on MS-Windows and MS-DOS.
143 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
145 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
146 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
148 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
150 * whitespace.el (whitespace-color-on, whitespace-color-off):
151 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
153 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
155 * ispell.el (ispell-set-spellchecker-params):
156 Really set `ispell-args' for all equivs.
158 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
160 * ido.el (ido-completions): Use extra elements of ido-decorations
162 (ido-decorations): Update docstring.
164 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
166 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
167 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
168 nil during initialization, in order not to miss changes since the
169 file was opened. (Bug#14140)
171 2013-04-05 Leo Liu <sdl.web@gmail.com>
173 * kmacro.el (kmacro-call-macro): Fix bug#14135.
175 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
177 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
179 2013-04-04 Glenn Morris <rgm@gnu.org>
181 * electric.el (electric-pair-inhibit-predicate): Add :version.
183 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
185 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
186 when a package is required several times (bug#14082).
188 2013-04-04 Roland Winkler <winkler@gnu.org>
190 * faces.el (read-face-name): Behave as promised by the docstring.
191 Assume that arg default is a list of faces.
192 (describe-face): Call read-face-name with list of default faces.
194 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
196 * bookmark.el: Fix deletion of bookmarks (bug#13972).
197 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
198 (bookmark-bmenu-execute-deletions): Only skip first line if it's
200 (bookmark-exit-hook-internal): Save even if list is empty.
202 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
204 * emacs-lisp/package.el (package-pinned-packages): New var.
205 (package--add-to-archive-contents): Obey it (bug#14118).
207 2013-04-03 Alan Mackenzie <acm@muc.de>
209 Handle `parse-partial-sexp' landing inside a comment opener
210 (Bug#13244). Also adapt to the new values of element 7 of a parse
213 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
214 parameter `not-in-delimiter'. Handle being inside comment opener.
215 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
216 character in case we're typing a '*' after a '/'.
217 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
218 instead by passing the parameter to c-state-pp-to-literal.
220 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
221 for elt. 7 of a parse state.
223 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
225 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
226 * international/latin1-disp.el, international/mule-util.el:
227 * language/cyril-util.el, language/european.el, language/ind-util.el:
228 * language/lao-util.el, language/thai.el, language/tibet-util.el:
229 * language/tibetan.el, language/viet-util.el:
230 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
232 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
234 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
235 (electric-pair-post-self-insert-function): Use it.
236 (electric-pair-default-inhibit): New function, extracted from
237 electric-pair-post-self-insert-function.
239 2013-03-31 Roland Winkler <winkler@gnu.org>
241 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
243 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
245 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
247 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
249 Un-indent after "pass" and "return" statements (Bug#13888)
250 * progmodes/python.el (python-indent-block-enders): New var.
251 (python-indent-calculate-indentation): Use it.
253 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
255 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
256 defun. Defining it as defalias could introduce too eager
257 byte-compiler optimization. (Bug#14030)
259 2013-03-30 Chong Yidong <cyd@gnu.org>
261 * iswitchb.el (iswitchb-read-buffer): Fix typo.
263 2013-03-30 Leo Liu <sdl.web@gmail.com>
265 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
266 (kmacro-execute-from-register): Pass the keyboard macro to
267 kmacro-call-macro or repeating won't work correctly.
269 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
271 * progmodes/subword.el: Back to using `forward-symbol'.
273 * subr.el (forward-whitespace, forward-symbol)
274 (forward-same-syntax): Move from thingatpt.el.
276 2013-03-29 Leo Liu <sdl.web@gmail.com>
278 * kmacro.el (kmacro-to-register): New command.
279 (kmacro-execute-from-register): New function.
280 (kmacro-keymap): Bind to 'x'. (Bug#14071)
282 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
284 * mpc.el: Use defvar-local and setq-local.
285 (mpc--proc-connect): Connection failures are not bugs.
286 (mpc-mode-map): `follow-link' only applies to the buffer's content.
287 (mpc-volume-map): Bind to the up-events.
289 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
291 * progmodes/subword.el (superword-mode): Use `forward-sexp'
292 instead of `forward-symbol'.
294 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
296 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
297 (edebug--recursive-edit): Use it.
298 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
299 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
301 2013-03-28 Leo Liu <sdl.web@gmail.com>
303 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
305 2013-03-27 Eli Zaretskii <eliz@gnu.org>
307 * facemenu.el (list-colors-callback): New defvar.
308 (list-colors-redisplay): New function.
309 (list-colors-display): Install list-colors-redisplay as the
310 revert-buffer-function. (Bug#14063)
312 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
314 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
315 and suffixes don't overlap (bug#14061).
317 * case-table.el: Use lexical-binding.
318 (case-table-get-table): New function.
319 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
321 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
323 * progmodes/subword.el: Add `superword-mode' to do word motion
324 over symbol_words (parallels and leverages `subword-mode' which
325 does word motion inside MixedCaseWords).
327 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
329 * eshell/em-unix.el: Move su and sudo to...
330 * eshell/em-tramp.el: ...Eshell tramp module
332 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
334 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
335 Change return value to be a sexp. Delay `get-buffer' to after
336 restoring the desktop (bug#13951).
338 2013-03-26 Leo Liu <sdl.web@gmail.com>
340 * register.el: Move semantic tag handling back to
341 cedet/semantic/senator.el. (Bug#14052)
343 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
345 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
346 into the prompt either (bug#13963).
348 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
350 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
351 part of "(error-foo)".
353 2013-03-24 Juri Linkov <juri@jurta.org>
355 * replace.el (list-matching-lines-prefix-face): New defcustom.
356 (occur-1): Pass `list-matching-lines-prefix-face' to the function
357 `occur-engine' if `face-differs-from-default-p' returns t.
358 (occur-engine): Add `,' inside backquote construct to evaluate
359 `prefix-face'. Propertize the prefix with the `prefix-face' face.
360 Pass `prefix-face' to the functions `occur-context-lines' and
361 `occur-engine-add-prefix'.
362 (occur-engine-add-prefix, occur-context-lines): Add optional arg
363 `prefix-face' and propertize the prefix with `prefix-face'.
366 2013-03-24 Leo Liu <sdl.web@gmail.com>
368 * nxml/rng-valid.el (rng-validate-while-idle)
369 (rng-validate-quick-while-idle): Guard against deleted buffer.
372 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
373 is the last entry in kill-buffer-hook.
375 * files.el (kill-buffer-hook): Doc fix.
377 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
379 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
382 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
384 2013-03-23 Leo Liu <sdl.web@gmail.com>
386 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
389 * nxml/rng-valid.el (rng-validate-mode)
390 (rng-after-change-function, rng-do-some-validation):
391 * nxml/rng-maint.el (rng-validate-buffer):
392 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
393 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
394 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
395 (nxml-extend-after-change-region): Use with-silent-modifications.
397 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
400 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
401 (rng-next-error-1, rng-previous-error-1): Do not let-bind
402 timer-idle-list. (Bug#13999)
404 2013-03-23 Juri Linkov <juri@jurta.org>
406 * info.el (info-index-match): New face.
407 (Info-index, Info-apropos-matches): Add a nested subgroup to the
408 main pattern and add text properties with the new face to matches
409 in index entries relative to the beginning of the index entry.
412 2013-03-21 Eric Ludlam <zappo@gnu.org>
414 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
415 Inhibit read only while inserting objects.
417 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
419 * progmodes/cfengine.el: Update docs to mention
420 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
421 symbol motion. Remove "_" from the word syntax.
423 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
425 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
426 syntax for both `cfengine2-mode' and `cfengine3-mode'.
428 2013-03-20 Juri Linkov <juri@jurta.org>
430 * info.el (Info-next-reference-or-link)
431 (Info-prev-reference-or-link): New functions.
432 (Info-next-reference, Info-prev-reference): Use them.
433 (Info-try-follow-nearest-node): Handle footnote navigation.
434 (Info-fontify-node): Fontify footnotes. (Bug#13989)
436 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
438 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
439 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
441 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
443 Suppress unnecessary non-ASCII chatter during build process.
444 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
445 (batch-skkdic-convert): Suppress most of the chatter.
446 It's not needed so much now that machines are faster,
447 and its non-ASCII component was confusing; see Dmitry Gutov in
448 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
450 2013-03-20 Leo Liu <sdl.web@gmail.com>
452 * ido.el (ido-chop): Fix bug#10994.
454 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
456 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
458 (whitespace-color-on, whitespace-color-off):
459 Use `font-lock-fontify-buffer' (Bug#13817).
461 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
463 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
464 remapping in mode-line.
465 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
467 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
469 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
470 value for `whitespace-line' face (Bug#13875).
471 (whitespace-font-lock-keywords): Change description.
472 (whitespace-color-on): Don't save `font-lock-keywords' value, save
473 the constructed keywords instead.
474 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
476 2013-03-19 Leo Liu <sdl.web@gmail.com>
478 * progmodes/compile.el (compilation-display-error): New command.
479 (compilation-mode-map, compilation-minor-mode-map): Bind it to
482 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
484 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
486 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
488 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
490 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
492 * net/tramp-compat.el (tramp-compat-user-error): New defun.
494 * net/tramp-adb.el (tramp-adb-handle-shell-command):
495 * net/tramp-gvfs.el (top):
496 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
497 (tramp-handle-shell-command): Use it.
498 (tramp-dissect-file-name): Raise an error when hostname is a
499 method name, and neither method nor user is specified.
501 * net/trampver.el: Update release number.
503 2013-03-18 Leo Liu <sdl.web@gmail.com>
505 Make sure eldoc can be turned off properly.
506 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
508 (eldoc-display-message-p): Revert last change.
509 (eldoc-display-message-no-interference-p)
510 (eldoc-print-current-symbol-info): Tweak.
512 2013-03-18 Tassilo Horn <tsdh@gnu.org>
514 * doc-view.el (doc-view-new-window-function): Check the new window
515 overlay's display property instead the char property of the
516 buffer's first char. Use `with-selected-window' instead of
517 `save-window-excursion' with `select-window'.
518 (doc-view-document->bitmap): Check the current doc-view overlay's
519 display property instead the char property of the buffer's first char.
521 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
523 Automate the build of ja-dic.el (Bug#13984).
524 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
525 from the input, rather than assume that it's been done for us by the
526 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
527 the current date into a ja-dic.el comment, as that complicates
530 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
532 * whitespace.el: Fix double evaluation.
533 (whitespace-space, whitespace-hspace, whitespace-tab)
534 (whitespace-newline, whitespace-trailing, whitespace-line)
535 (whitespace-space-before-tab, whitespace-indentation)
536 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
538 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
539 (whitespace-color-on): Use a single font-lock-add-keywords call.
540 Fix double-evaluation of face variables.
542 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
544 * net/tramp-adb.el (tramp-adb-parse-device-names):
545 Use `start-process' instead of `call-process'. Otherwise, the
546 function might be blocked under MS Windows. (Bug#13299)
548 2013-03-17 Leo Liu <sdl.web@gmail.com>
550 Extend eldoc to display info in the mode-line. (Bug#13978)
551 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
552 (eldoc-mode-line-string): New variable.
553 (eldoc-minibuffer-message): New function.
554 (eldoc-message-function): New variable.
555 (eldoc-message): Use it.
556 (eldoc-display-message-p)
557 (eldoc-display-message-no-interference-p):
558 Support eldoc-post-insert-mode.
560 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
561 (eval-expression): Run it.
563 2013-03-17 Roland Winkler <winkler@gnu.org>
565 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
566 strings in the list of return values.
568 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
570 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
571 radix before checking for HMS forms.
573 2013-03-16 Leo Liu <sdl.web@gmail.com>
575 * progmodes/scheme.el: Add indentation and font-locking for λ.
578 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
580 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
581 token before point (bug#13942).
583 2013-03-16 Leo Liu <sdl.web@gmail.com>
585 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
587 2013-03-16 Eli Zaretskii <eliz@gnu.org>
589 * startup.el (command-line-normalize-file-name): Fix handling of
590 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
591 <xfq.free@gmail.com> in
592 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
594 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
596 Sync with Tramp 2.2.7.
598 * net/trampver.el: Update release number.
600 2013-03-14 Tassilo Horn <tsdh@gnu.org>
602 * doc-view.el Fix bug#13887.
603 (doc-view-insert-image): Don't modify overlay associated to
604 non-live windows, and implement horizontal centering of image in
605 case it's smaller than the window.
606 (doc-view-new-window-function): Force redisplay of new windows on
609 2013-03-13 Karl Fogel <kfogel@red-bean.com>
611 * saveplace.el (save-place-alist-to-file): Don't sort
612 `save-place-alist', just pretty-print it (bug#13882).
614 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
616 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
617 whether `default-file-name-coding-system' is bound. It isn't in
620 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
622 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
623 backquotes for `obsolete' (bug#13929).
625 * international/mule.el (find-auto-coding): Include file name in
626 obsolescence warning (bug#13922).
628 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
630 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
631 for CFEngine 3-specific indentation.
632 (cfengine3-indent-line): Use it. Fix up category regex.
633 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
635 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
637 * type-break.el (type-break-file-name):
638 * textmodes/remember.el (remember-data-file):
639 * strokes.el (strokes-file):
640 * shadowfile.el (shadow-initialize):
641 * saveplace.el (save-place-file):
642 * ps-bdf.el (bdf-cache-file):
643 * progmodes/idlwave.el (idlwave-config-directory):
644 * net/quickurl.el (quickurl-url-file):
645 * international/kkc.el (kkc-init-file-name):
646 * ido.el (ido-save-directory-list-file):
647 * emulation/viper.el (viper-custom-file-name):
648 * emulation/vip.el (vip-startup-file):
649 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
650 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
652 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
654 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
655 * language/thai-word.el: Switch to UTF-8.
657 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
659 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
661 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
663 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
664 Use with-current-buffer and don't move point.
665 (net-utils-run-simple): Remove useless code.
666 (net-utils-remove-ctl-m): Remove unused custom.
668 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
670 * international/characters.el (glyphless-set-char-table-range): New fun.
671 (update-glyphless-char-display): Use it (bug#13744).
673 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
675 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
676 namespaces in the syntax, indent closer for hanging brace
677 correctly, allow single-quote delimited 'strings', and make
678 `cfengine3-mode' the default.
680 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
682 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
683 Use lexical-binding. Fix up docstring according to conventions.
684 (gdbmi-debug-mode): New var.
685 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
686 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
687 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
688 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
689 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
690 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
691 (gdbmi-bnf-incomplete-record-result): New functions.
692 (gdb-car<): Remove function.
693 (gdbmi-record-list): Remove variable.
694 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
695 (gdbmi-bnf-result-state-configs): New const.
696 (gud-gdbmi-marker-filter): Rewrite.
697 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
698 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
699 Add `token' argument.
700 (gdb-done, gdb-error): New functions.
701 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
703 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
705 * term/xterm.el (xterm--report-background-handler): Don't burp
707 (xterm--version-handler): Extract from terminal-init-xterm.
708 (xterm--query): Don't mishandle timeout. Remove debugging messages.
709 Allow multiple handlers.
710 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
712 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
713 (xterm--report-background-handler, xterm--query): New functions.
714 (terminal-init-xterm): Use them.
716 2013-03-11 Michael R. Mauger <michael@mauger.com>
718 * progmodes/sql.el Version 3.2
719 Please note that my address changed to <michael@mauger.com>;
720 the <mmaug@yahoo.com> address remains active.
721 (sql-connection-alist): Updates documentation to fix bug#13715.
722 (sql-connect): Handle missing `sql-connection-alist' correctly.
723 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
724 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
726 (sql-default-value): New function.
727 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
728 values were not used.
729 (sql-rename-buffer): Make sure alternate buffer name has no text
731 (sql-input-sender, sql-execute-feature): Fetch variable with
732 `buffer-local-value' rather than `with-current-buffer'.
733 (sql-*): Use #' function syntax consistently.
734 (sql-*): Use message/error/user-error consistently.
736 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
738 * xt-mouse.el (xterm-mouse-event-read): Remove.
739 (xterm-mouse--read-event-sequence-1000)
740 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
742 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
744 * term/xterm.el (xterm-function-map): Support format used with
745 formatOtherKeys=1 (bug#13839).
747 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
748 (with-no-warnings): Use `declare'.
750 * whitespace.el (whitespace-enable-predicate): New variable.
751 (whitespace-enable-predicate): Use it.
753 * comint.el (comint-send-input, comint-snapshot-last-prompt)
754 (comint-output-filter, comint-update-fence):
755 Use with-silent-modifications.
757 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
759 * replace.el (occur-read-regexp-defaults-function): New var.
760 (occur-read-regexp-defaults): New defun.
761 (occur-read-primary-args): Propagate above change (bug#13892).
763 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
765 * mouse.el (mouse-drag-track): Remove left-over debugging code.
767 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
769 Major rewrite due to changed D-Bus interface of GVFS 1.14.
771 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
772 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
773 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
775 (tramp-gvfs-file-name-handler-alist) [directory-files]
776 [directory-files-and-attributes, file-exists-p, file-modes]:
777 Use Tramp default handler.
778 [file-acl, file-selinux-context, process-file, set-file-acl]:
779 [set-file-modes, set-file-selinux-context, shell-command]:
780 [start-file-process]: Remove handler.
781 [verify-visited-file-modtime]: New handler.
782 (tramp-gvfs-dbus-string-to-byte-array)
783 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
784 calls of `dbus-string-to-byte-array' and
785 `tramp-gvfs-dbus-byte-array-to-string'.
786 (tramp-gvfs-handle-copy-file)
787 (tramp-gvfs-handle-delete-directory)
788 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
789 (tramp-gvfs-handle-file-directory-p)
790 (tramp-gvfs-handle-file-executable-p)
791 (tramp-gvfs-handle-file-name-all-completions)
792 (tramp-gvfs-handle-file-readable-p)
793 (tramp-gvfs-handle-file-writable-p)
794 (tramp-gvfs-handle-insert-directory)
795 (tramp-gvfs-handle-insert-file-contents)
796 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
797 (tramp-gvfs-handle-set-visited-file-modtime)
798 (tramp-gvfs-handle-write-region): Rewrite.
799 (tramp-gvfs-handle-file-acl)
800 (tramp-gvfs-handle-file-selinux-context)
801 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
802 (tramp-gvfs-handle-set-file-modes)
803 (tramp-gvfs-handle-set-file-selinux-context)
804 (tramp-gvfs-handle-shell-command)
805 (tramp-gvfs-handle-start-file-process)
806 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
807 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
808 over the symlinks. Fix user handling.
809 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
810 of the D-Bus signals.
811 (tramp-gvfs-connection-mounted-p): Handle different names of the
813 (tramp-gvfs-mount-spec-entry): New defun.
814 (tramp-gvfs-mount-spec): Use it.
815 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
816 there is a share name. Handle different names of the D-Bus
817 signals and methods. Set connection properties needed for
818 `tramp-check-cached-permissions'.
819 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
822 * net/tramp.el (tramp-backtrace): Move up.
823 (tramp-error): Dump a backtrace into the debug buffer when
825 (tramp-file-mode-type-map, tramp-file-mode-from-int)
826 (tramp-file-mode-permissions, tramp-get-local-uid)
827 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
830 * net/tramp-sh.el (tramp-file-mode-type-map)
831 (tramp-check-cached-permissions, tramp-file-mode-from-int)
832 (tramp-file-mode-permissions, tramp-get-local-uid)
833 (tramp-get-local-gid): Move to tramp.el.
835 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
837 Separate mouse-1-click-follows-link from mouse-drag-region.
838 * mouse.el (mouse--down-1-maybe-follows-link): New function.
839 (key-translation-map): Use it to implement mouse-1-click-follows-link.
840 (mouse-drag-line, mouse-drag-track):
841 Remove mouse-1-click-follows-link code.
842 (mouse--remap-link-click-p): Remove.
844 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
846 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
847 (hi-lock-read-regexp-defaults): New defun.
848 (hi-lock-line-face-buffer, hi-lock-face-buffer)
849 (hi-lock-face-phrase-buffer): Propagate above change.
850 Update docstring (bug#13892).
852 * subr.el (find-tag-default-as-regexp): New defun.
853 * replace.el (read-regexp): Propagate above change.
855 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
857 * calc/calc-units.el (calc-convert-units): Fix the way that default
858 new units are stored.
860 2013-03-07 Matthias Meulien <orontee@gmail.com>
862 * bookmark.el: Define a face to highlight bookmark names in
863 bookmark menu buffers, where the default is a bold face similarly
864 to buffer names in buffer menu buffers.
865 (bookmark-menu-bookmark): New face to highlight bookmark names.
866 (bookmark-insert-location): Remove duplicated text property to
867 conform to buffer list (see `list-buffers').
868 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
869 `bookmark-menu-bookmark' to bookmark names.
871 2013-03-07 Matthias Meulien <orontee@gmail.com>
872 Karl Fogel <kfogel@red-bean.com>
874 * bookmark.el: Display the bookmark list header similarly to the
875 buffer list header (see `list-buffers'), where the default is now
876 an immovable/immutable header line.
877 (bookmark-bmenu-use-header-line): New variable.
878 (bookmark-bmenu-inline-header-height): New name for
879 `bookmark-bmenu-header-height', to avoid confusion with the code
880 for the new immovable header. All references changed.
881 (bookmark-bmenu-set-header): New function.
882 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
883 Conditionalize header construction accordingly.
884 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
885 the inline header height.
886 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
887 Conditionalize the skipping of the inline header height.
889 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
891 * progmodes/js.el (js--multi-line-declaration-indentation):
892 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
894 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
896 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
897 Only propertize regexp when not inside a string (Bug#13885).
899 2013-03-06 Alan Mackenzie <acm@muc.de>
901 Correct the position of point in some line-up functions.
902 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
903 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
904 point at column 0 rather than at a random place in the line.
906 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
908 * net/tramp-compat.el (tramp-compat-delete-directory):
909 Implement TRASH argument.
911 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
913 Keep pre-existing highlighting in completion candidates (Bug#13250).
914 * minibuffer.el (completions-first-difference): State that the
915 face is "added" in the docstring.
916 (completions-common-part): Same. And don't inherit from default.
917 (completion-hilit-commonality): Prepend 'completions-common-part
918 and 'completion-first-difference faces to the 'face property,
919 instead of replacing the value(s).
920 (completion--insert-strings): Same with 'completions-annotations face.
921 (completion-hilit-commonality): Use 'face instead of
922 'font-lock-face, because it gets priority if the completion
923 strings already have 'face set.
925 2013-03-04 Alan Mackenzie <acm@muc.de>
927 Replace `last-command-event' by `last-command-char' in XEmacs.
928 * progmodes/cc-defs.el (c-last-command-char): New macro.
929 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
930 (c-semi&comma-no-newlines-before-nonblanks)
931 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
932 in place of `last-command-event'.
933 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
934 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
935 (c-electric-paren, c-electric-continued-statement): Use the new
936 macro in place of `last-command-event'.
938 2013-03-04 Glenn Morris <rgm@gnu.org>
940 * files.el (inhibit-local-variables-regexps):
941 Add .diff and .patch. (Bug#13862)
943 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
945 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
946 whether the "su" command is available on the device.
948 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
950 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
951 (tramp-adb-handle-process-file): Remove superfluous setting.
952 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
953 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
954 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
956 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
958 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
959 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
960 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
961 Use dict-key rather than dict-name for the error message.
963 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
965 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
966 when reverting (bug#13831).
968 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
970 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
971 Always expand affix-file before storing to protect against changed
973 (ispell-print-if-debug): Make sure message is printed at the end
976 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
978 * net/tramp.el (tramp-obsolete-methods): New defconst.
979 (tramp-warned-obsolete-methods): New defvar.
980 (tramp-find-method): Check for obsolete methods. Map them to a
981 replacement method if appropriate.
983 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
985 (top): Remove completion functions for "scp1", "scp2", "ssh1",
988 2013-02-28 Dale Sedivec <dale@codefu.org>
990 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
991 Return valid syntax-table property value when converting
992 quotes within text from string syntax to punctuation syntax (bug#13844).
994 2013-02-28 Juri Linkov <juri@jurta.org>
996 * dired-aux.el (dired-diff): If file at point is a backup file,
997 use its original as the default value, and reverse the order
998 of arguments to the `diff' call. Doc fix. (Bug#13772)
1000 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1002 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1003 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1005 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1007 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1009 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1010 Ask hunspell about available and default dictionaries.
1011 (ispell-parse-hunspell-affix-file): Extract relevant info from
1012 hunspell affix file.
1013 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1014 `ispell-dictionary-alist' entry for given dictionary after info
1015 provided by `ispell-parse-hunspell-affix-file'.
1016 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1017 of parsed hunspell dicts and associated affix files.
1018 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1019 of parsed hunspell dicts and associated parameters.
1020 (ispell-set-spellchecker-params):
1021 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1023 (ispell-start-process):
1024 Call `ispell-hunspell-fill-dictionary-entry' for current
1025 dictionary if it is not initialized.
1027 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * imenu.el: Comment nitpicks.
1031 2013-02-28 Sam Steingold <sds@gnu.org>
1033 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1034 See <http://stackoverflow.com/questions/14720205>.
1036 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1038 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1039 (net-utils-mode): Use it.
1040 (net-utils--revert-cmd): New var.
1041 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1042 (traceroute): Use net-utils-run-simple.
1044 2013-02-28 Glenn Morris <rgm@gnu.org>
1046 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1048 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1051 (doc-view-fallback-mode): Remove overlays here.
1052 (doc-view-toggle-display): Instead of here. Don't throw away
1053 image-mode-winprops-alist.
1054 (doc-view-goto-page): Don't mess with hscroll.
1056 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1058 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1059 &optional (bug#13819).
1061 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1063 * net/tramp-adb.el (tramp-adb-parse-device-names)
1064 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1066 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1068 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1069 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1070 defined. POSIX environments fall back to the "C" locale then and
1071 emit a warning, which shall be suppressed.
1073 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1076 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1078 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1082 2013-02-25 Juri Linkov <juri@jurta.org>
1084 * replace.el (read-regexp): Let-bind `default' to the first
1085 element of `defaults' if it's a list, otherwise it should be
1086 a string or nil. Let-bind `suggestions' to `defaults' if it's
1087 a list, otherwise make a list with the string value. Doc fix.
1090 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1092 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1093 that match "\`\.#", to avoid compiling lock files, even if they
1094 are readable (as they are on MS-Windows).
1096 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * files.el (basic-save-buffer): Remove redundant directory-creation.
1100 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1102 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1103 Add option to force `pi' to remain symbolic.
1104 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1105 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1106 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1107 derivatives, when necessary.
1109 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1111 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1112 (ps-mode-octal-region): Use string-make-unibyte.
1114 2013-02-23 Glenn Morris <rgm@gnu.org>
1116 * emulation/viper-cmd.el (viper-submit-report):
1117 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1118 * progmodes/vera-mode.el (vera-mode-help-address):
1119 * textmodes/artist.el (artist-maintainer-address):
1120 * textmodes/reftex.el (reftex-report-bug):
1121 * vc/ediff-util.el (ediff-submit-report):
1122 Add bug-gnu-emacs to bug report address.
1124 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1125 Remove bug report entries.
1126 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1128 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1129 (byte-compile-file, byte-compile-from-buffer):
1130 Use separate input/output buffers for each level of recursive
1131 byte-compile-file calls. (Bug#13787)
1133 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1135 * net/tramp.el (tramp-methods): Fix docstring.
1136 (tramp-ssh-controlmaster-options): Rename it from
1137 `tramp-ssh-controlmaster-template'. Return a string.
1138 (tramp-default-method): Adapt check for
1139 `tramp-ssh-controlmaster-options'.
1141 * net/tramp-sh.el (tramp-methods):
1142 Replace `tramp-ssh-controlmaster-template' by "%c".
1143 (tramp-do-copy-or-rename-file-out-of-band)
1144 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1145 that it is applied for the first hop only.
1147 2013-02-22 Juri Linkov <juri@jurta.org>
1149 * isearch.el (isearch-lazy-highlight-new-loop):
1150 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1151 to `isearch-other-end' if it is not nil. (Bug#13402)
1153 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1156 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1157 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1158 and `isearch-error' to nil.
1160 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1162 * progmodes/python.el (python-info-current-defun):
1163 Enhance match-data cluttering prevention.
1165 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1167 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1169 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1170 Handle multibyte file names.
1172 2013-02-22 Glenn Morris <rgm@gnu.org>
1174 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1175 (sgml-transformation-function): Give it a :set function.
1176 (sgml-tag): Doc fix.
1178 * cmuscheme.el (scheme-buffer):
1179 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1180 * progmodes/tcl.el (inferior-tcl-buffer):
1181 * textmodes/tex-mode.el (tex-command): Doc fixes.
1183 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1185 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1187 2013-02-21 Bastien Guerry <bzg@gnu.org>
1189 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1191 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1193 * progmodes/python.el (python-info-current-defun):
1194 Enhance match-data cluttering prevention.
1196 2013-02-21 Glenn Morris <rgm@gnu.org>
1198 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1199 loaded while outline-regexp is let bound. (Bug#9584)
1201 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1203 * progmodes/python.el (python-info-current-defun): Fix failed
1204 defun name retrieval because of unwanted match-data cluttering.
1206 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1208 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1209 defconst. Apply independent check for ControlPersist.
1211 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1212 temporarily, via "env".
1214 2013-02-21 Glenn Morris <rgm@gnu.org>
1216 * info.el (Info-enable-edit): Remove.
1217 (Info-edit): Disable it rather than using Info-enable.
1218 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1219 (Info-cease-edit): Make editing of Info files obsolete.
1221 * informat.el (Info-tagify):
1222 Handle buffers not visiting files. (Bug#13763)
1224 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1226 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1228 2013-02-21 Glenn Morris <rgm@gnu.org>
1230 * files.el (basic-save-buffer): Move check for existing parent
1231 directory after hooks. (Bug#13773)
1233 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1235 * simple.el (command-execute): Move from C. Add obsolete check.
1236 (extended-command-history): Move from C.
1238 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1240 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1241 (jka-compr-mode-alist-additions): Handle .txz suffix for
1242 XZ-compressed tar archives (bug#13770).
1244 2013-02-20 Bastien Guerry <bzg@gnu.org>
1246 * outline.el (outline-regexp, outline-heading-end-regexp):
1247 Make variables, not options (bug#13731).
1249 2013-02-20 Glenn Morris <rgm@gnu.org>
1251 * image.el (image-current-frame): Change from variable to function.
1252 (image-show-frame): Rename from image-nth-frame. Update callers.
1253 * image-mode.el (image-multi-frame): New variable.
1254 (image-mode-map, image-mode, image-goto-frame):
1255 Use image-multi-frame rather than image-current-frame.
1256 (image-mode, image-goto-frame): Use image-current-frame as
1257 function rather than as variable.
1259 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1260 * emacs-lisp/cl-macs.el (cl--make-type-test)
1261 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1263 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1265 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1266 (tramp-get-file-property, tramp-set-file-property)
1267 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1268 (tramp-flush-file-property, tramp-flush-directory-property):
1269 Rename argument to KEY.
1270 (tramp-flush-connection-property): Simplify a little bit.
1271 (tramp-connection-property-p): New defun.
1272 (top): Reapply saved values only if there isn't a corresponding
1273 entry in `tramp-connection-properties'.
1275 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1277 * progmodes/python.el (python-indent-context):
1278 Fix python-info-line-ends-backslash-p call.
1279 (python-info-line-ends-backslash-p)
1280 (python-info-beginning-of-backslash): Respect line-number argument.
1281 (python-info-current-line-comment-p):
1282 Fix behavior when not at beginning-of-line.
1283 (python-util-position): Remove function.
1284 (python-util-goto-line): New function.
1286 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1288 * eshell/em-unix.el (eshell/su): Require tramp.
1289 (eshell/sudo): Require tramp. Remove now unnecessary check.
1291 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1292 `tramp-current-connection' in order to avoid an error when several
1293 commands are invoked in a short time in eshell and friends.
1295 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1297 Cleanup some of EIEIO's namespace.
1298 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1299 Use it to define all the class-* and object-* field accessors (renamed
1300 to eieio--class-* and eieio--object-*). Update all uses.
1301 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1302 class-num-slots and object-num-slots.
1303 (eieio--check-type): New macro.
1304 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1305 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1306 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1307 (object-assoc-list-safe): Use it.
1308 (eieio-defclass): Tighten regexp.
1309 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1310 Remove unreachable code.
1311 (object-class-fast): Declare obsolete.
1312 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1313 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1314 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1315 Rename from class-name, object-name, object-set-name-string,
1316 object-class, object-class-name, class-parents, class-children,
1317 class-precedence-list, class-parent; with obsolete alias.
1318 (class-of, class-direct-superclasses, class-direct-subclasses):
1320 (eieio-defmethod): Use `memq'; remove unreachable code.
1321 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1322 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1323 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1326 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1328 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1331 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1333 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1334 Use font-lock-keyword-face for macros and special forms (bug#8345).
1336 2013-02-17 Didier Verna <didier@didierverna.net>
1338 * net/network-stream.el (network-stream-open-starttls):
1339 Check that response to the starttls-command is non-nil. (Bug#13706)
1341 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1344 Don't assume all identifier chars have syntax word.
1345 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1346 Remove bar-not-symbol. Adjust callers.
1347 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1349 2013-02-17 Leo Liu <sdl.web@gmail.com>
1351 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1353 2013-02-17 Glenn Morris <rgm@gnu.org>
1355 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1357 * image-mode.el (image-mode-map): Add image-dired menu entry.
1359 * image-dired.el (tumme): Make this alias obsolete.
1361 2013-02-16 Glenn Morris <rgm@gnu.org>
1363 * image.el (image-animated-types): Remove.
1364 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1365 (image-animated-p): Make obsolete alias.
1366 (image-animate, image-nth-frame, image-animate-timeout):
1367 Use image-multi-frame-p.
1368 (image-animate-timeout): If no delay, use image-default-frame-delay.
1369 * image-mode.el (image-mode, image-toggle-animation):
1370 Use image-multi-frame-p. (Bug#763, bug#10739)
1371 (image-mode): Adjust startup message for a multi-frame image.
1373 * image-mode.el (image-mode-map): Give it a menu.
1375 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1377 * net/tramp-cache.el (tramp-connection-properties): New customer
1379 (tramp-get-connection-property): Use it.
1381 * net/tramp-compat.el (top): Require 'trampver.
1383 * net/tramp-sh.el (tramp-remote-process-environment):
1384 Set tramp-autoload cookie.
1386 2013-02-16 Kevin Ryde <user42@zip.com.au>
1388 * info-look.el (info-lookup-select-mode): If major-mode has no
1389 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1391 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1393 * replace.el (read-regexp): Tighten the regexp that matches tag.
1394 When tag is retrieved with `find-tag-default', use regexp that
1395 matches tag at point. Also update docstring (Bug#13687).
1397 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1399 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1400 add watch for the file, not its parent directory, since w32notify
1401 sets up the watch for the directory internally. (Bug#13725)
1403 2013-02-16 Glenn Morris <rgm@gnu.org>
1405 * image.el (image-default-frame-delay): New variable.
1406 (image-animated-p): Use image-default-frame-delay.
1407 (image-minimum-frame-delay): New constant.
1408 (image-animate-timeout): Use image-minimum-frame-delay.
1410 * image.el (image-nth-frame): New, split from image-animate-timeout.
1411 (image-animate-timeout): Use image-nth-frame.
1412 * image-mode.el (image-goto-frame, image-next-frame)
1413 (image-previous-frame): New commands.
1414 (image-mode-map): Add new frame commands.
1416 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1418 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1419 If col-desc already has help-echo, use it. (Bug#13563)
1421 2013-02-16 Glenn Morris <rgm@gnu.org>
1423 * image.el (image-current-frame): New variable.
1424 (image-animate-timeout): Set image-current-frame.
1425 * image-mode.el (image-mode): For animated images,
1426 display a frame counter via mode-line-process.
1428 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1430 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1434 2013-02-15 Alan Mackenzie <acm@muc.de>
1436 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1437 global minor mode has been enabled, call the minor mode function
1438 for a new buffer once only, after the major mode hook, whilst
1439 allowing that hook explicitly to disable the minor mode.
1440 (MODE-disable-in-buffer): New (generated) function.
1441 (disable-MODE): New (generated) buffer local variable.
1443 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1445 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1446 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1447 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1448 `ido-next-match' and `ido-prev-match' resply.
1449 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1450 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1451 `icomplete-backward-completions' (Bug#13708).
1453 2013-02-15 Glenn Morris <rgm@gnu.org>
1455 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1457 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1460 (goto-address-fontify-region): Use them instead of narrowing, so
1461 syntax-ppss has access to the whole buffer.
1463 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1465 * progmodes/python.el: Explain how to restore "cc-mode"-like
1466 forward-sexp movement in header documentation (Bug#13642).
1467 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1468 comments and strings (GH bug 114).
1470 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1472 * progmodes/python.el (python-info-current-defun): Fix current
1473 defun detection (Bug#13618).
1475 2013-02-15 Chong Yidong <cyd@gnu.org>
1477 * xml.el (xml-parse-string): Fix typo in handling of bad character
1480 2013-02-15 Glenn Morris <rgm@gnu.org>
1482 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1484 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1486 * net/tramp.el (tramp-debug-message):
1487 Add `tramp-condition-case-unless-debug'.
1488 (tramp-debug-on-error): New defvar.
1489 (tramp-condition-case-unless-debug): New defun.
1490 (tramp-file-name-handler): Use it.
1492 2013-02-14 Juri Linkov <juri@jurta.org>
1494 * info.el (Info-isearch-filter): Treat non-nil values of
1495 `search-invisible' including its default value `open'
1496 like the value `t' to match hidden text. (Bug#13402)
1498 2013-02-14 Glenn Morris <rgm@gnu.org>
1500 * help-fns.el (find-lisp-object-file-name): Give special treatment
1501 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1503 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1505 * net/quickurl.el (quickurl-save-urls):
1506 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1508 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1510 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1511 depth for unfinished percent literal. Not using it in the caller.
1512 (ruby-move-to-block): Jump over multiline literals of all types,
1513 ignoring code-looking contents inside them.
1514 (ruby-add-log-current-method): Improve performance at the expense
1515 of accuracy. `ruby-block-contains-point' is relatively slow, so
1516 only use it for method and singleton class blocks.
1518 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1520 Use ControlMaster where applicable. (Bug#13677)
1522 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1523 replacing `tramp-detect-ssh-controlmaster'.
1524 (tramp-default-method): Use it.
1526 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1527 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1529 [scpc, rsyncc]: Remove methods.
1530 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1532 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1533 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1535 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * emacs-lisp/package.el (package--initialized): Move before first use.
1539 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1541 * icomplete.el (icomplete-hide-common-prefix): New user option.
1542 (icomplete-first-match): New face.
1543 (icomplete-completions): Correct handling of "complete but not
1544 unique" (Bug#12638).
1546 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1548 * descr-text.el (describe-char): Display the script (bug#13698).
1550 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * tmm.el: Use lexical-binding and current-active-maps.
1553 (tmm-menubar): Use map-keymap and pcase.
1554 (tmm--completion-table): New function.
1555 (tmm-prompt): Use it to fix the menu order.
1556 (tmm-get-keybind): Use current-active-maps.
1558 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1560 Add dired-hide-details-mode. (Bug#6799)
1562 * locate.el (locate-mode): Set parent mode property to dired-mode.
1564 * find-dired.el (find-dired): Call dired-insert-set-properties on
1565 initial information line. Set process mark on end of buffer.
1566 (find-dired-sentinel):
1567 Call dired-insert-set-properties on summary.
1569 * dired.el (dired-hide-details-hide-symlink-targets)
1570 (dired-hide-details-hide-information-lines): New options.
1571 (dired-insert-directory):
1572 Set properties after final treatment of output.
1573 (dired-insert-set-properties):
1574 Set dired-hide-details-* properties.
1575 (dired-mode-map): Bind dired-hide-details-mode.
1576 (dired-mode): Set buffer-invisibility-spec to a list.
1577 (dired-next-line): Skip hidden lines.
1578 (dired-previous-line): Use dired-next-line.
1579 (dired-hide-details-mode): New minor mode.
1580 (dired-hide-details-update-invisibility-spec): New function.
1582 2013-02-13 Glenn Morris <rgm@gnu.org>
1584 * play/yow.el: Move to obsolete/. (Bug#9384)
1586 2013-02-13 Juri Linkov <juri@jurta.org>
1588 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1589 to select `ediff-control-frame' and set input focus correctly on Xfce.
1592 2013-02-13 Juri Linkov <juri@jurta.org>
1594 * image-mode.el (image-mode-map):
1595 * doc-view.el (doc-view-mode-map):
1596 * vc/ediff-util.el (ediff-setup-keymap):
1597 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1599 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1601 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1602 performance. Instead of recalculating indentation fully for each
1603 line, sum up indentation depth based only on visited lines.
1604 (ruby-parse-partial): Increase the depth after "do" even when END
1606 (ruby-parse-partial): When END is in the middle of a percent
1607 literal, increase the depth if the delimiter chars belong to the
1610 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1612 * play/fortune.el (fortune-compile): Also make the compiled file
1613 if it does not exist at all, not just if it is old. (Bug#5338)
1615 2013-02-13 Glenn Morris <rgm@gnu.org>
1617 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1619 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1621 * lisp/emacs-lisp/package.el (package-menu-execute):
1622 Add optional noquery argument. (Bug#13625)
1624 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1626 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1627 if DIR exists and PARENTS is non-nil.
1629 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1631 * progmodes/js.el (js--multi-line-declaration-indentation):
1632 Silence byte-compiler warning.
1634 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1636 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1638 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1639 only if it doesn't exist.
1641 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1644 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1646 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1647 UserInstallation when calling soffice to work around LibreOffice
1650 2013-02-12 Glenn Morris <rgm@gnu.org>
1652 * files.el (basic-save-buffer):
1653 Offer to create a non-existing directory. (Bug#3016)
1655 * calc/calc-graph.el (calc-graph-show-dumb):
1656 * calendar/calendar.el (calendar-mode-map):
1657 * cus-edit.el (custom-mode-map):
1658 * ehelp.el (electric-help-map):
1659 * emulation/vip.el (vip-mode-map):
1660 * epa.el (epa-key-list-mode-map):
1661 * info.el (Info-mode-map):
1662 * mail/rmail.el (rmail-mode-map):
1663 * mail/rmailsum.el (rmail-summary-mode-map):
1664 * man.el (Man-mode-map):
1665 * net/newst-plainview.el (newsticker-mode-map):
1666 * progmodes/cpp.el (cpp-edit-mode-map):
1667 * progmodes/grep.el (grep-mode-map):
1668 * progmodes/idlw-help.el (idlwave-help-mode-map):
1669 * simple.el (special-mode-map):
1670 * startup.el (splash-screen-keymap):
1671 * view.el (view-mode-map):
1672 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1674 2013-02-11 Elias Pipping <pipping@lavabit.com>
1676 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1679 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1683 2013-02-11 Glenn Morris <rgm@gnu.org>
1685 * vc/diff.el (diff-use-labels): New variable.
1686 (diff-no-select): Use --label rather than -L, and first
1687 check that it is supported. (Bug#11067)
1689 * files.el (enable-dir-local-variables): New variable.
1690 (hack-dir-local-variables): Respect enable-dir-local-variables.
1691 * tutorial.el (help-with-tutorial):
1692 Ignore directory-local variables. (Bug#11127)
1694 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1695 (vc-svn-global-switches): ... to here. (Bug#13513)
1697 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1699 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1700 Handle "foo (bar, default: xxx): " prompts.
1702 2013-02-10 Chong Yidong <cyd@gnu.org>
1704 * files.el (basic-save-buffer-1): Do not set
1705 buffer-file-coding-system-explicit (Bug#4533).
1707 * mail/emacsbug.el (report-emacs-bug): Change binding of
1708 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1710 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1712 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1713 * calc/calc-units.el (calc-convert-units): Use new variable.
1715 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1717 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1719 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1722 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1723 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1724 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1725 coding-system-for-write instead.
1727 * jka-compr.el (jka-compr-write-region): Don't bind
1730 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1733 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1734 (insert-file-contents-literally): Remove reference to
1735 file-name-buffer-file-type-alist.
1737 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1739 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1740 (find-buffer-file-type-coding-system): Remove references to
1741 find-buffer-file-type-match, find-buffer-file-type, and
1743 Don't put find-buffer-file-type-coding-system into
1744 file-coding-system-alist.
1745 (find-file-binary, find-file-text): Bind coding-system-for-read
1746 instead of file-name-buffer-file-type-alist.
1748 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1750 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1751 converter (Bug#13622).
1752 (doc-view-unoconv-program): Make obsolete alias.
1753 (doc-view-odf->pdf-converter-program): New variable.
1754 (doc-view-odf->pdf-converter-function): New variable.
1755 (doc-view-mode-p): Use it.
1756 (doc-view-odf->pdf-converter-unoconv):
1757 Rename from `doc-view-odf->pdf-converter-unoconv'.
1758 (doc-view-odf->pdf-converter-soffice): New function.
1759 (doc-view-convert-current-doc):
1760 Use `doc-view-odf->pdf-converter-function'.
1762 2013-02-09 Chong Yidong <cyd@gnu.org>
1764 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1765 view-echo-area-messages (Bug#13340).
1767 * help.el (view-echo-area-messages): Use display-buffer.
1769 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1772 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1774 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1775 Eval body right away, now that we do eager macroexpansion (bug#13605).
1777 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1778 (fundamental-mode): Use run-mode-hooks.
1780 * eshell/esh-proc.el (eshell/kill): Fix last change.
1781 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1783 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1785 * eshell/esh-proc.el (eshell/kill): Rewrite.
1787 * eshell/em-ls.el (show-almost-all): Declare.
1788 (eshell-do-ls): Add support for -A argument.
1790 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1792 * icomplete.el (icomplete-forward-completions)
1793 (icomplete-backward-completions): Handle corner case (bug#13602).
1795 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1797 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1798 be nil. Handle this. (Bug#13636)
1800 2013-02-07 Richard Stallman <rms@gnu.org>
1802 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1803 `save-buffer-coding-system'.
1805 2013-02-07 Alan Mackenzie <acm@muc.de>
1807 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1808 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1809 (c-parse-state-get-strategy): Don't return 'BOD any more.
1810 (c-append-lower-brace-pair-to-state-cache):
1811 Extra parameter HERE instead of narrowing.
1812 Widen to top of buffer before searching backwards for a brace pair.
1813 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1814 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1815 Narrow to parameter HERE, in place of being called narrowed.
1816 (c-remove-stale-state-cache): Extra parameter HERE in place of
1817 narrowing. Check there's an open brace in the cache before
1818 searching for its match.
1819 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1820 (c-parse-state-1): Don't narrow here for 'forward strategy,
1821 instead passing extra parameter HERE to several functions.
1822 Remove 'BOD strategy.
1824 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1826 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1827 used to install the package.
1829 2013-02-06 Glenn Morris <rgm@gnu.org>
1831 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1832 if we can't get user input. (Bug#6567)
1834 * startup.el (command-line): If simple.el is missing,
1835 test and warn about for some possible causes.
1837 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1839 * cus-start.el (all): Add ns-use-native-fullscreen.
1841 2013-02-05 Glenn Morris <rgm@gnu.org>
1843 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1845 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1846 Fix directory creation in fallback case.
1848 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1850 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1851 (vc-update-change-log): Use dolist.
1853 2013-02-04 Chong Yidong <cyd@gnu.org>
1855 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1857 (thing-at-point-beginning-of-url-regexp): New var.
1858 (thing-at-point-uri-schemes): Update list of URI schemes.
1859 (thing-at-point-url-regexp): Variable deleted.
1860 (thing-at-point-markedup-url-regexp): Disallow newlines.
1861 (thing-at-point-newsgroup-regexp)
1862 (thing-at-point-newsgroup-heads)
1863 (thing-at-point-default-mail-uri-scheme): New variables.
1864 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1865 method to find the possible bounds of the URI at point.
1866 New optional argument to find ill-formed URIs.
1867 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1868 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1869 the scheme-adding heuristics from ffap-url-at-point.
1870 (thing-at-point--bounds-of-well-formed-url): New function.
1871 Do parens matching to decide whether to include parens in the URI
1874 * ffap.el: Require thingatpt.
1875 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1876 All URI-valid characters are now recognized (Bug#5673).
1877 (ffap-string-at-point): Use use-region-p.
1878 (ffap-url-regexp): Extra character is handled by thing-at-point.
1879 (ffap-string-at-point-mode-alist): Allow parentheses.
1880 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1881 Convert to aliases; code moved to thingatpt.el.
1882 (ffap-gnus-hook): Use setq-local.
1884 2013-02-04 Glenn Morris <rgm@gnu.org>
1886 * emacs-lisp/ert.el (ert--explain-format-atom):
1887 Don't try to print non-characters as characters. (Bug#13543)
1889 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1891 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1892 (tramp-backtrace): New defun.
1893 (tramp-handle-insert-file-contents): Use `visit' when inserting
1896 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1897 Use `remote-file-name-inhibit-cache'.
1899 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1901 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1904 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1905 current-load-list (bug#13366).
1907 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1910 Identify g++ template instantiation trace. (Bug#12287)
1911 (compilation-mode-hook, compilation-start-hook)
1912 (compilation-window-height): Simplify docstrings. (Bug#13379)
1914 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * mouse.el (mouse-drag-track): Always deactivate the mark before
1917 running the final event's command since that command is in charge of
1918 activating the mark if needed (bug#13523).
1920 2013-02-02 Juri Linkov <juri@jurta.org>
1922 * replace.el (perform-replace): Move let-bindings of isearch-*
1923 variables deeper to the loop that searches for the next match.
1924 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1925 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1928 * isearch.el (isearch-search-fun-default): Check for null
1929 first element of isearch-cmds as a precaution when it's used
1930 with inactive isearch.
1932 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1934 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1935 error when buffer in question is narrowed so position 1 is out of
1938 2013-02-02 Glenn Morris <rgm@gnu.org>
1940 * textmodes/remember.el (remember-clipboard): Doc fix.
1942 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1945 properties (bug#13179).
1947 2013-02-02 Juri Linkov <juri@jurta.org>
1949 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1950 instead of hard-coded default face `match'. (Bug#9438)
1952 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1954 * vc/vc-arch.el (vc-arch-registered):
1955 * vc/vc-bzr.el (vc-bzr-registered):
1956 * vc/vc-cvs.el (vc-cvs-registered):
1957 * vc/vc-git.el (vc-git-registered):
1958 * vc/vc-hg.el (vc-hg-registered):
1959 * vc/vc-mtn.el (vc-mtn-registered):
1960 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1963 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1964 prefix argument. (Bug#11656)
1966 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1970 2013-02-01 Glenn Morris <rgm@gnu.org>
1972 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1973 if the backend is known not to support it.
1975 * imenu.el (imenu-default-create-index-function):
1976 Tweak infinite loop test to check for forward motion as well as none.
1978 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1980 * net/soap-client.el (soap-invoke): Encode the string for
1981 `url-request-data' as UTF-8.
1982 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1984 2013-02-01 Glenn Morris <rgm@gnu.org>
1986 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1988 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1990 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1992 * net/tramp.el (tramp-tramp-file-p): Comment check for
1993 `string-as-unibyte'. The function does not exist on XEmacs, and
1994 likely we need another approach.
1996 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1997 `tramp-gw-*' variables are bound.
1999 2013-01-31 Glenn Morris <rgm@gnu.org>
2001 * files.el (basic-save-buffer-2): Choose coding system for
2002 writing the file before backing it up, to reduce delay between
2003 backing up and writing the new version. (Bug#13522)
2005 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2007 * simple.el (cycle-spacing): New command.
2008 (just-one-space): Use it.
2010 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2013 (opascal-newline-always-indents): Remove custom.
2014 (opascal-tab, opascal-newline): Remove commands.
2015 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2016 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2017 (opascal-save-match-data): Remove, use save-match-data instead.
2018 (opascal-save-state): Use with-silent-modifications.
2020 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2023 2013-01-30 Juri Linkov <juri@jurta.org>
2025 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2026 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2027 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2029 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2032 column if we're just deleting the backslashes.
2033 (makefile-fill-paragraph): Use eolp.
2035 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2037 * autorevert.el (auto-revert-use-notify): Fix docstring.
2039 2013-01-30 Leo Liu <sdl.web@gmail.com>
2041 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2043 2013-01-30 Glenn Morris <rgm@gnu.org>
2045 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2046 unread-command-events twice in some cases. This tries to implement
2047 the 2012-07-26 changes in a different way. (Bug#13560)
2049 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2051 * progmodes/python.el
2052 (python-pdbtrack-comint-output-filter-function): Enhancements on
2053 stacktrace detection. (thanks @gnovak)
2055 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2058 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2060 (jit-lock-register): Use setq-local.
2062 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2064 * calc-units.el (math-default-units-table): Remove initial value.
2065 (calc-convert-units): Treat expressions where all the units cancel as
2066 if they didn't have units.
2068 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2070 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2071 (tramp-completion-reread-directory-timeout): Fix type.
2072 (tramp-connection-min-time-diff): New defcustom.
2074 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2076 2013-01-30 Glenn Morris <rgm@gnu.org>
2078 * imenu.el (imenu-default-create-index-function):
2079 Put back a version of the infinite loop test removed 2013-01-23.
2081 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2083 * progmodes/python.el (python-shell-parse-command):
2084 Find python-shell-interpreter with modified environment.
2086 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2090 2013-01-29 Alan Mackenzie <acm@muc.de>
2092 Amend to fontify /regexp/s in actions correctly.
2093 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2094 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2095 are no longer included.
2096 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2097 What used to be these variables without "-line" in the name.
2098 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2099 (c-awk-non-arith-op-bra-re): Now also matches {.
2100 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2101 "return", and "case".
2102 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2104 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2105 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2107 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2109 * autorevert.el (auto-revert-use-notify):
2110 Use `custom-initialize-default' for initialization. (Bug#13583)
2112 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2114 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2115 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2116 in `tramp-file-name-handler'.
2117 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2119 (tramp-compute-multi-hops): Check, whether
2120 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2122 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2127 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2129 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2130 checks made superfluous by the \_< operator.
2131 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2132 temporarily) broken indentation.
2133 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2134 Highlight nested constants, too. \_< broke that.
2136 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2138 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2141 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2143 * autorevert.el (auto-revert-handler): Notifications which result
2144 from a saved file shall not be taken into account. (Bug#13557)
2146 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2148 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2149 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2150 (lisp-mode): Pass t for it. (Bug#13556)
2152 2013-01-25 Alan Mackenzie <acm@muc.de>
2154 AWK Mode: Fix indentation bug at top level. Bug #12274.
2156 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2157 just before CASE 5D.
2159 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2161 * net/socks.el (socks-nslookup-host): Use string-to-number.
2163 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2165 * autorevert.el (auto-revert-remote-files)
2166 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2167 (auto-revert-notify-enabled, auto-revert-use-notify)
2168 (auto-revert-notify-watch-descriptor-hash-list)
2169 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2170 (auto-revert-notify-event-descriptor)
2171 (auto-revert-notify-event-action)
2172 (auto-revert-notify-event-file-name): Doc fix.
2173 (global-auto-revert-mode): Reorder checks.
2174 (auto-revert-notify-rm-watch): Respect changed values of
2175 `auto-revert-notify-watch-descriptor-hash-list'.
2176 (auto-revert-notify-add-watch): Check for
2177 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2178 `inotify-add-watch'. Watch `default-directory' instead of
2179 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2180 has a changed meaning now. (Bug#13540)
2181 (auto-revert-notify-handler): Change implementation wrt events
2182 returning from a directory.
2183 (auto-revert-handler): Reorder implementation for checks of remote
2185 (auto-revert-buffers): Fix parentheses error.
2187 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2189 * progmodes/python.el: Enhancements to header documentation about
2190 skeletons. (Bug#5716)
2192 * imenu.el (imenu-default-create-index-function): Remove useless
2193 infinite loop check. (Bug#13438)
2195 2013-01-25 Alan Mackenzie <acm@muc.de>
2197 Fix a bug in the state cache mechanism. Refactor this a bit.
2199 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2200 `cache-pos' element from the return value.
2201 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2202 buffer to enable proper searching from beyond HERE. Amend the
2203 test for detecting the sought brace pair. Amend the value written
2204 to the "brace desert cache" when the brace isn't found.
2205 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2206 and several other variables analogously.
2207 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2208 parameter to a locally calculated variable.
2209 (c-parse-state-1): Change the calling conventions to the two
2210 defuns involving `cache-pos'.
2212 2013-01-25 Chong Yidong <cyd@gnu.org>
2214 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2216 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2218 * paren.el (show-paren-function): Make sure to set 'priority and
2219 'face only if the overlay does exist.
2221 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2225 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2227 (tramp-sh-handle-set-file-acl): Improve error checking.
2229 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2231 * doc-view.el (doc-view-display): Force mode line update until all
2232 document is converted. Suggested by Stefan Monnier (Bug#13164).
2234 2013-01-23 Bastien Guerry <bzg@gnu.org>
2236 * paren.el (show-paren-function): Make sure an overlay exists
2237 before trying to delete it. Also use `pos' as a position only
2238 when it is an integer.
2240 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2242 * play/gametree.el (gametree-break-line-here): Use point-marker.
2244 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2246 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2247 Mark descriptive parts with `display' property.
2249 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2251 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2252 New variable to map standard dict names to hunspell ones.
2253 (ispell-set-spellchecker-params): Make sure specific dict names
2254 are used for standard dicts with hunspell.
2256 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2258 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2259 chars for note (%N) and url (%U).
2260 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2262 2013-01-21 Juri Linkov <juri@jurta.org>
2264 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2265 in addition to existing separate binding `meta f10' in `global-map'.
2268 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2270 Improve XEmacs compatibility.
2272 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2274 * net/tramp-adb.el (top): Require `time-date'.
2275 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2276 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2277 Use `tramp-file-name-handler'.
2278 (tramp-adb-maybe-open-connection):
2279 Use `tramp-compat-set-process-query-on-exit-flag'.
2281 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2282 Use `tramp-compat-funcall'.
2284 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2285 `tramp-compat-funcall'.
2287 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2289 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2290 reimplementation using "adb shell command ..." instead of running
2291 remote shell interactively.
2293 2013-01-20 Glenn Morris <rgm@gnu.org>
2295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2296 Add native profiler menu entries.
2298 * profiler.el (profiler-running-p): New function.
2299 (profiler-cpu-profile): Use profiler-running-p.
2300 (profiler-report-mode-map): Add some more menu entries.
2302 2013-01-19 Glenn Morris <rgm@gnu.org>
2304 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2305 fixes 2012-12-07 change. (Bug#13499)
2307 2013-01-19 Leo Liu <sdl.web@gmail.com>
2309 * dired.el (dired-get-marked-files): Prune erroneous values due to
2310 last change. (Bug#13152)
2312 2013-01-19 Glenn Morris <rgm@gnu.org>
2314 * progmodes/etags.el (tags-table-check-computed-list):
2315 Preserve point in tags buffer. (Bug#13412)
2317 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2319 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2320 Chong Yidong <cyd@gnu.org>
2322 * image-mode.el (image-next-file, image-previous-file):
2323 New commands (Bug#8453).
2324 (image-mode-map): Bind them to n and p.
2325 (image-mode--images-in-directory): New helper function.
2327 2013-01-19 Chong Yidong <cyd@gnu.org>
2329 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2330 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2331 save and restore the old window configuration.
2333 2013-01-18 Leo Liu <sdl.web@gmail.com>
2335 * progmodes/js.el: Tweak autoload cookie for alias.
2337 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2339 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2340 buffer local, again. This was lost with the fix on 2013-01-12.
2342 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2344 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2345 order to support several eshell buffers in parallel.
2347 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2349 * autorevert.el (auto-revert-use-notify): In the :set function, do
2350 not modify `kill-buffer-hook'.
2351 (auto-revert-notify-rm-watch):
2352 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2353 (auto-revert-notify-add-watch): Do not call
2354 `auto-revert-notify-rm-watch', but add it to a buffer local
2357 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2360 call to `eval' rather than a backquoted lambda.
2362 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2365 to return an explicit nil.
2366 (advice--remove-function): Change accordingly.
2368 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2369 the use of nadvice.el.
2371 * progmodes/which-func.el (which-function): Silence imenu errors
2374 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2376 * progmodes/sql.el: (sql-imenu-generic-expression):
2377 (sql-mode-font-lock-object-name): Match schema qualified names.
2378 (sql-connect): Use string keys.
2379 (sql-product-interactive): Wait for interpreter prompt.
2380 (sql-comint-oracle): Set process coding based on NLS_LANG.
2382 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2384 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2385 (sql-interactive-remove-continuation-prompt):
2386 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2388 2013-01-14 Leo Liu <sdl.web@gmail.com>
2390 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2393 2013-01-14 Glenn Morris <rgm@gnu.org>
2395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2396 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2398 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2400 * progmodes/python.el (python-nav-end-of-statement):
2401 Fix cornercase when handling multiline strings.
2403 2013-01-13 Richard Stallman <rms@gnu.org>
2405 * mail/sendmail.el (mail-position-on-field): Add doc string.
2407 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2408 Get current message boundaries and pass them to
2409 message-forward-make-body-mime. Minor style changes.
2411 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2413 * cus-start.el (all): Avoid warnings about
2414 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2416 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2418 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2420 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2423 (jit-lock--debug-fontifying): New var.
2424 (jit-lock--debug-fontify): New function.
2425 * subr.el (condition-case-unless-debug): Don't prevent catching the
2426 error, just let the debbugger run.
2427 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2428 timer code and don't drop errors silently.
2430 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2432 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2433 `permanent-local' property.
2434 (auto-revert-notify-handler): Use `file-equal-p'.
2436 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2438 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2439 file notification by ACTION. For filtering by file name, compare
2440 only the non-directory part of the file name.
2442 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * autorevert.el: Use cl-lib instead of cl.
2446 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2447 (vc-bzr-checkin): Use it.
2448 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2449 will preserve match-data.
2451 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2453 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2454 (js--declaration-keyword-re): New var.
2455 (js--multi-line-declaration-indentation): New function.
2456 (js--proper-indentation): Use it.
2458 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2460 * calc/calc.el (calc-highlight-selections-with-faces)
2462 * comint.el (comint-history-isearch-message):
2463 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2464 * ffap.el (ffap-string-at-point-region, ffap-next)
2465 (ffap-string-at-point, ffap-string-around)
2466 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2468 * font-lock.el (font-lock-keywords-alist)
2469 (font-lock-removed-keywords-alist):
2470 * help-mode.el (help-xref-symbol-regexp):
2471 * info.el (Info-find-emacs-command-nodes):
2472 * international/mule.el (add-to-coding-system-list):
2473 * isearch.el (isearch-message-function, isearch-fail-pos):
2474 * misearch.el (multi-isearch-next-buffer-function):
2475 * newcomment.el (comment-box):
2476 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2477 (pr-setting-database):
2478 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2479 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2480 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2481 (pike-font-lock-keywords-3):
2482 * progmodes/compile.el (compile):
2483 * progmodes/etags.el (tags-table-files)
2484 (tags-table-files-function, tags-included-tables-function):
2485 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2486 (gdb-restore-windows):
2487 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2488 (ps-n-up-filling-database):
2489 * server.el (server-buffer, server-log):
2490 * simple.el (newline, delete-backward-char, delete-forward-char)
2491 (minibuffer-history-isearch-message, kill-line, track-eol)
2492 (temporary-goal-column):
2493 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2494 (flyspell-default-deplacement-commands):
2495 * textmodes/ispell.el (ispell-accept-output):
2496 * textmodes/sgml-mode.el (html-tag-help):
2497 * vc/compare-w.el (compare-ignore-whitespace)
2498 (compare-ignore-case, compare-windows-dehighlight):
2499 * vc/diff.el (diff):
2500 * whitespace.el (whitespace-point)
2501 (whitespace-font-lock-refontify, whitespace-bob-marker)
2502 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2504 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2506 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2507 (auto-revert-notify-rm-watch): Ignore errors.
2508 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2509 inotify, and '(size last-write-time) for w32notify.
2510 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2511 watch fails - this is a fallback to the file modification check.
2512 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2513 (auto-revert-notify-event-action)
2514 (auto-revert-notify-event-file-name): New defuns.
2515 (auto-revert-notify-handler): Use them. Implement first
2516 plausibility checks.
2517 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2519 2013-01-11 Julien Danjou <julien@danjou.info>
2521 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2522 max are almost equal. Also return the correct value for V which is
2523 already between 0 and 1.
2525 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2527 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2529 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2531 * autorevert.el (auto-revert-notify-rm-watch)
2532 (auto-revert-notify-add-watch): Fix typos in w32notify function
2535 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2537 * autorevert.el (auto-revert-notify-enabled): Move up.
2538 (auto-revert-use-notify): New defcustom.
2539 (auto-revert-mode, global-auto-revert-mode)
2540 (auto-revert-notify-add-watch, auto-revert-handler)
2541 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2542 `auto-revert-notify-enabled'.
2544 2013-01-10 Elias Pipping <pipping@exherbo.org>
2546 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2547 * doc-view.el (doc-view-document->bitmap):
2548 Use doc-view-single-page-converter-function instead of
2549 single-page-converter arg; adjust callers.
2551 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2553 * progmodes/which-func.el (which-function): Understand Semantic's use
2554 of overlays in imenu--index-alist.
2556 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2558 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2559 (Man-man-k-use-anchor): New var.
2560 (Man-parse-man-k): New function.
2561 (Man-completion-table): Use it.
2562 (man): Flush the completion cache between uses.
2564 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2566 * autorevert.el: Add file watch support.
2567 (auto-revert-notify-enabled): New defconst.
2568 (auto-revert-notify-watch-descriptor-hash-list)
2569 (auto-revert-notify-watch-descriptor)
2570 (auto-revert-notify-modified-p): New defvars.
2571 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2572 (auto-revert-notify-handler): New defuns.
2573 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2574 when mode is disabled.
2575 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2576 (auto-revert-buffers): Add file watches for active buffers.
2578 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2580 * cus-start.el (toplevel): Only allow float values for
2581 scroll-up-aggressively and scroll-down-aggressively.
2582 Allow any number for line-spacing.
2584 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2587 (doc-view-pdf->png-converter-function): Use mupdf if available.
2588 (doc-view-djvu->png-converter-function)
2589 (doc-view-ps->png-converter-function): Remove.
2590 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2591 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2592 (doc-view-already-converted-p): Adjust accordingly.
2593 (doc-view-mode-p): Simplify.
2594 (doc-view-enlarge): Use setq-local.
2595 (doc-view-pdf->png-converter-ghostscript)
2596 (doc-view-djvu->png-converter-ddjvu)
2597 (doc-view-pdf->png-converter-mupdf): Rework to call
2598 doc-view-start-process directly.
2599 (doc-view-pdf/ps->png): Simplify accordingly.
2600 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2601 (doc-view-document->bitmap): Rename from doc-view-document->png.
2602 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2603 (doc-view-set-slice-from-bounding-box): Fix completion table.
2604 (doc-view-mode): Use add-hook for after-revert-hook.
2606 2013-01-10 Glenn Morris <rgm@gnu.org>
2608 * emacs-lisp/authors.el (authors-ignored-files)
2609 (authors-valid-file-names, authors-renamed-files-alist):
2610 Add some more entries.
2612 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2615 `t' pseudo-window entry.
2617 2013-01-10 Alan Mackenzie <acm@muc.de>
2619 Fix bugs in the c-parse-state mechanism. Reuse some markers
2620 instead of continually generating new ones.
2622 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2623 (c-state-old-cpp-end-marker): New variables.
2624 (c-append-lower-brace-pair-to-state-cache): Start a backward
2625 search for "}" definitively outside CPP constructs.
2626 (c-remove-stale-state-cache): Inform the caller of a need to
2627 search back for a brace pair in certain circumstances.
2628 (c-state-maybe-marker): New macro.
2629 (c-parse-state): Reuse markers when appropriate.
2631 2013-01-10 Glenn Morris <rgm@gnu.org>
2633 * simple.el (execute-extended-command): Doc fix.
2634 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2636 2013-01-10 Chong Yidong <cyd@gnu.org>
2638 * faces.el (read-face-name): Doc fix.
2640 2013-01-10 Roland Winkler <winkler@gnu.org>
2642 * emacs-lisp/crm.el: Allow any regexp for separators.
2643 (crm-default-separator): All spaces around the default comma separator.
2644 (crm--completion-command): New macro.
2645 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2646 (crm-complete-and-exit): Handle non-single-char separators.
2648 2013-01-09 Elias Pipping <pipping@lavabit.com>
2650 * doc-view.el: Add support for DjVu (bug#13164).
2651 (doc-view-djvu->png-converter-function): New config var.
2652 (doc-view-single-page-converter-function, doc-view--image-type)
2653 (doc-view--image-file-extension): New vars.
2654 (doc-view-mode): Initialize them.
2655 (doc-view-goto-page): Use them.
2656 (doc-view-mode-p): Add support for ddjvu.
2657 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2658 (doc-view-set-up-single-converter): New funs.
2659 (doc-view-pdf/ps->png): Extend for djvu.
2660 (doc-view-document->png): Rename from doc-view-pdf->png.
2661 (doc-view-convert-current-doc): Handle djvu.
2662 (doc-view-insert-image, doc-view-display)
2663 (doc-view-already-converted-p): Don't hardcode png.
2664 (doc-view-set-doc-type): Recognize djvu docs.
2666 2013-01-09 Elias Pipping <pipping@lavabit.com>
2668 * doc-view.el: Add support for mupdf converter (bug#13164).
2669 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2670 (doc-view-ps->png-converter-function): New config vars.
2671 (doc-view-pdf->png-converter-ghostscript)
2672 (doc-view-ps->png-converter-ghostscript)
2673 (doc-view-pdf->png-converter-mupdf): New functions.
2674 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2676 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2678 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2679 first in session cache: When `tramp-own-remote-path' is in
2680 `tramp-remote-path', the remote path is only set in the session
2683 2013-01-09 Glenn Morris <rgm@gnu.org>
2685 * emacs-lisp/trace.el (trace-function-foreground)
2686 (trace-function-background): Doc fix.
2688 2013-01-09 Juri Linkov <juri@jurta.org>
2690 * international/mule-cmds.el (read-char-by-name): Move let-binding
2691 of completion-ignore-case around completing-read to fix regression
2692 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2693 `string-match-p' using the nil value of `case-fold-search' and
2694 `completion-ignore-case' in `completion-pcm--all-completions'.
2697 2013-01-09 Glenn Morris <rgm@gnu.org>
2699 * progmodes/compile.el (compilation-parse-errors):
2700 Fix typo. (Bug#13369)
2702 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2704 * comint.el (comint-send-input): Check size of buffer before
2705 waiting for process output, in case already accepted. (Bug#13290)
2707 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2710 * net/tramp-adb.el (tramp-adb-get-toolbox):
2711 Fix misspelling of 'unknown'.
2713 2013-01-08 Juri Linkov <juri@jurta.org>
2715 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2716 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2717 Use underline style wave on terminals that support it. (Bug#13000)
2719 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2722 the predicate returns nil.
2724 * simple.el: Use lexical-binding.
2725 (primitive-undo): Use pcase.
2726 (minibuffer-history-isearch-push-state): Use a closure.
2728 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2730 * simple.el (primitive-undo): Move from undo.c.
2732 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2735 (cvs-mode-remove-handled): Use it (bug#13380).
2737 * emacs-lisp/nadvice.el (advice--tweak): New function.
2738 (advice--remove-function, advice--subst-main): Use it.
2740 * emacs-lisp/advice.el: Update commentary.
2742 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2744 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2745 Remove spurious entry.
2747 2013-01-08 Glenn Morris <rgm@gnu.org>
2749 * net/tramp.el (tramp-default-host-alist): Add :version.
2751 2013-01-08 Juri Linkov <juri@jurta.org>
2753 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2754 single completion. (Bug#12456)
2755 (info--manual-names): Expand node completions into an explicit list
2756 before appending it to another list. Filter out internal buffers
2757 with the leading space in the buffer name. (Bug#10771)
2759 2013-01-08 Juri Linkov <juri@jurta.org>
2761 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2762 that defaults to the Top node.
2763 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2764 the short format (FILENAME) goes to the Top node.
2765 (Info-build-node-completions): Rename arg `file' to `filename'.
2768 2013-01-07 Bastien Guerry <bzg@gnu.org>
2770 * menu-bar.el (menu-bar-search-documentation-menu):
2771 Use `apropos-user-option' and fix the help message.
2773 2013-01-07 Bastien Guerry <bzg@gnu.org>
2775 * apropos.el (apropos-do-all): Update docstring.
2776 (apropos-user-option-button): New face.
2777 (apropos-user-option): Rename from `apropos-variable' and update
2779 (apropos-variable): Rewrite, now show all variables by default.
2780 (apropos-print): Mention "User option" instead of "Variable" when
2781 printing doc for user options. (Bug#13276)
2783 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2785 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2786 Handle filename correctly, when parsing "source -> target" symlink
2788 (tramp-adb-handle-set-file-times): New defun.
2790 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2792 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2793 advice list when the interactive-spec of ad-Advice-* changes.
2795 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2797 * wid-edit.el (widget-default-get): Work for inlined elements.
2800 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2802 * net/tramp.el (tramp-default-host-alist): New defcustom.
2803 (tramp-find-host): Use it.
2804 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2805 `eshell-directory-change-hook'.
2807 * net/tramp-adb.el (top): Add adb specific entry in
2808 `tramp-default-host-alist'.
2809 (tramp-adb-file-name-host): Remove function.
2810 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2811 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2813 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2815 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2817 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2819 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2821 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2822 consist of more than one digit.
2823 (tramp-adb-file-name-handler-alist):
2824 Use `tramp-handle-file-exists-p' consistently.
2825 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2826 (tramp-adb-handle-file-exists-p): Remove function.
2827 (tramp-adb-file-name-host): New defun.
2828 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2830 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2832 2013-01-06 Chong Yidong <cyd@gnu.org>
2834 * vc/vc.el (vc-next-action): Detect buffer modifications
2835 conflicting with locking VCS operation (Bug#11490).
2837 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2839 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2841 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2842 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2844 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2846 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2847 parsing of ls output using regular expression (handle filenames
2848 with spaces). Use virtual device number.
2849 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2852 2013-01-04 Daiki Ueno <ueno@gnu.org>
2854 * epg.el: Silence byte-compiler warnings.
2855 (epg--start): Use delete-char instead of delete-backward-char.
2856 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2858 2013-01-04 Daiki Ueno <ueno@gnu.org>
2860 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2861 Suggested by Eli Zaretskii <eliz@gnu.org>.
2863 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2865 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2866 non-negative integers. Otherwise, the default values are used.
2867 (tramp-convert-file-attributes): Convert uid and gid to integers.
2869 2013-01-04 Glenn Morris <rgm@gnu.org>
2871 * term.el (term-handle-colors-array): Ensure face attributes
2872 are fully specified, not nil. (Bug#13337)
2874 * term.el (term-default-fg-color, term-default-bg-color):
2877 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2878 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2879 rather than 'jka-compr being loaded. (Bug#13338)
2881 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2883 * icomplete.el (icomplete-completions):
2884 Honor icomplete-prospects-height once more following
2885 2012-11-29 changes. (Bug#13224)
2887 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2890 of called-interactively-p as well (bug#13237).
2892 * view.el (view--enable, view--disable): Rename from view-mode-enable
2893 and view-mode-disable and assume it's called from view-mode.
2894 (view-mode-enable, view-mode-disable): Redefine as obsolete
2895 compatibility layer above view-mode.
2896 (view-mode-enter): Call `view-mode'.
2898 * files.el (after-find-file): Call `view-mode'.
2900 * doc-view.el (doc-view-scale-internally): New var.
2901 (doc-view-enlarge, doc-view-insert-image): Obey it.
2903 2013-01-03 Daiki Ueno <ueno@gnu.org>
2905 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2908 2013-01-03 Glenn Morris <rgm@gnu.org>
2910 * mail/rmail.el (rmail-set-header-1): Ignore case.
2911 Handle multi-line headers. (Bug#13330)
2913 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2914 Handle paragraph starting at beginning of buffer.
2916 * subr.el (eval-after-load): Don't purecopy the form, so that it
2917 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2919 * emacs-lisp/byte-run.el (defun): Place cl declarations
2920 after any interactive spec. (Bug#13265)
2922 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2924 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2925 defun. Don't check for DECL if DOCSTRING isn't a string.
2928 2013-01-02 Glenn Morris <rgm@gnu.org>
2930 * eshell/em-cmpl.el (eshell-pcomplete):
2931 More thoroughly imitate pcomplete. (Bug#13293)
2933 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2934 Return nil for empty path elements. (Bug#13296)
2936 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2938 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2939 order to improve efficiency (Based on Daniel Colascione's
2940 <dancol@dancol.org> patch). (Bug#13182)
2942 2013-01-02 Glenn Morris <rgm@gnu.org>
2944 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2946 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2948 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2949 neither DOCSTRING nor DECL was given. (Bug#13316)
2951 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2953 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2955 (tramp-do-copy-or-rename-file): Ignore errors when calling
2956 `set-file-extended-attributes'.
2958 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2959 Add handler for `file-acl'.
2960 (tramp-smb-handle-file-acl): New defun.
2962 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2964 * calc/README: Mention ISO 8601 week-numbering dates.
2966 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2968 * view.el (view-mode-enable): New argument run-view-mode-hook.
2969 Run view-mode-hook only when it's non-nil (Bug#13315).
2970 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2973 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2975 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2976 (No device connected, invalid device name). (Bug #13299)
2978 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2980 * window.el (window-resizable--p): Rename to window-resizable-p.
2981 (window-resize-no-error): New function.
2983 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2984 broken in fix from 2012-12-28.
2986 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * subr.el (special-form-p): Don't signal errors on undef aliases.
2990 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2992 * calc/calc-forms.el (math-parse-date): Try using
2993 `math-parse-iso-date' when it looks like it might be needed.
2994 Allow times of 24:00.
2995 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2998 2012-12-30 Glenn Morris <rgm@gnu.org>
3000 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3001 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3002 (rmail-summary-displayed, rmail-summary): Declare.
3003 (mairix-rmail-display): Just require rmail.
3005 2012-12-30 Chong Yidong <cyd@gnu.org>
3007 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3008 check for the tarball contents.
3010 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3012 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3013 tarfile content listings (Bug#13136).
3015 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3017 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3018 Insert the undecoded text of the message being forwarded. (Bug#9521)
3020 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3022 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3023 integers, if they are real numbers. (Bug#13282)
3025 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3026 Return `t' on success.
3028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3029 Add handler for `set-file-selinux-context'.
3031 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3033 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3034 (tramp-sh-handle-set-file-acl): Return `t' on success.
3036 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3038 * files.el (backup-buffer-copy, basic-save-buffer-2):
3039 If set-file-extended-attributes fails, fall back on set-file-modes
3040 instead of signaling an error. (Bug#13298)
3041 (basic-save-buffer): Likewise.
3043 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3045 * progmodes/python.el: Support other commands triggering
3046 python-indent-line so indentation cycling continues to work.
3047 (python-indent-trigger-commands): New defcustom.
3048 (python-indent-line): Use it.
3050 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3052 * progmodes/python.el (python-shell-send-region): Add blank lines
3053 for non sent code so backtraces remain correct.
3055 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3057 * progmodes/python.el: Remove cl dependency.
3058 (python-syntax-count-quotes): Replace incf call.
3059 (python-fill-string): Replace setf call.
3061 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3063 * info.el (info-other-window): New arg, for consistency with info.
3065 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3067 * mail/rmail.el (rmail-maybe-display-summary):
3068 Rewrite (Bug#13066).
3070 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3072 * epg.el (epg--start): Modify process-environment locally.
3074 2012-12-28 Daiki Ueno <ueno@gnu.org>
3076 * epg.el: Support pinentry-curses.
3077 Suggested by Werner Koch in
3078 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3079 (epg-agent-file, epg-agent-mtime): New variable.
3080 (epg--start): Record the modified time of gpg-agent socket file,
3081 to restore Emacs frame after pinentry-curses termination.
3082 (epg-wait-for-completion): Restore Emacs frame here.
3084 2012-12-27 Juri Linkov <juri@jurta.org>
3086 * info.el (Info-file-completions): New variable.
3087 (Info-read-node-name-1): Complete node names in the Info file
3088 when a file name is given. Call `Info-build-node-completions'
3090 (Info-build-node-completions): Add new arg `file'. When it is
3091 non-nil, visit it in a temporary buffer and cache its completions in
3092 `Info-current-file-completions'. Move most of the function body to
3093 `Info-build-node-completions-1'.
3094 (Info-build-node-completions-1): New function with the body from
3095 `Info-build-node-completions'. (Bug#12456)
3097 2012-12-27 Juri Linkov <juri@jurta.org>
3099 * frame.el (frame-maximization-style): Remove user option.
3100 (cycle-frame-maximized): Remove function.
3101 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3102 (toggle-frame-fullscreen): New command bound to <f11> instead of
3103 `toggle-frame-maximized'.
3104 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3106 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3108 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3110 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3112 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3113 for `file-accessible-directory-p'. (Bug#13275)
3115 2012-12-27 Sam Steingold <sds@gnu.org>
3117 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3118 continuations, see <http://stackoverflow.com/questions/3582436>.
3120 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3122 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3123 "module" and "def" to have indentation before them.
3124 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3126 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3128 2012-12-27 Alan Mackenzie <acm@muc.de>
3130 Speed up fontification where there's large brace blocks.
3131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3132 to a call of c-beginning-of-decl-1.
3134 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3136 * comint.el (comint-adjust-window-point): New function.
3137 (comint-postoutput-scroll-to-bottom):
3138 Call comint-adjust-window-point (Bug#13248).
3140 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3142 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3144 (auto-mode-alist): Associate .gemspec files with ruby-mode
3145 (https://bugs.ruby-lang.org/issues/5453).
3147 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3149 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3150 Suppress coloring, if possible (required for BusyBox based systems like
3152 (tramp-adb-handle-file-attributes)
3153 (tramp-adb-handle-insert-directory)
3154 (tramp-adb-handle-file-name-all-completions): Use it.
3155 (tramp-adb-get-toolbox): New defun. Check for remote shell
3156 implementation (BusyBox or Toolbox).
3158 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3160 * startup.el (initial-buffer-choice): Allow function as value
3162 (command-line-1): Handle case where initial-buffer-choice
3163 specifies a function.
3164 * server.el (server-execute): Handle case where
3165 initial-buffer-choice specifies a function.
3167 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3169 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3171 (smtpmail-try-auth-methods): Forget the user name/password if the
3172 login is unsuccessful (bug#12424).
3174 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3176 * notifications.el (notifications-notify): Protect body with
3177 `with-demoted-errors'.
3179 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3180 Check properties of remote device. Restart connection, if there is a
3183 2012-12-21 Chong Yidong <cyd@gnu.org>
3185 * sort.el (sort-subr): Doc fix (Bug#13056).
3187 2012-12-21 Bastien Guerry <bzg@gnu.org>
3189 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3191 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3193 * simple.el (process-file): Overwrite stderr file, if exists.
3195 2012-12-21 Daiki Ueno <ueno@gnu.org>
3197 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3198 (epg-error): Set `error-message' property.
3200 2012-12-21 Chong Yidong <cyd@gnu.org>
3202 * international/mule-cmds.el (read-char-by-name): Signal an error
3203 if the user does not supply a valid character (Bug#13177).
3205 * simple.el (transpose-subr-1): Preserve marker positions by
3206 changing the insertion sequence (Bug#13122).
3208 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3210 * simple.el (kill-region): Deactivate mark even for empty regions
3213 2012-12-21 Chong Yidong <cyd@gnu.org>
3215 * help-fns.el (describe-variable): Make sure we get the right
3216 buffer name (Bug#13105). Suggested by Kelly Dean.
3218 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3220 * comint.el (comint-redirect-previous-input-string): New variable.
3221 (comint-redirect-setup, comint-redirect-cleanup)
3222 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3223 (comint-redirect-preoutput-filter): Fix verbose message.
3225 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3227 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3228 is too long for Tramp. See discussion in
3229 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3231 * progmodes/compile.el (compilation-start): Remove line escape
3234 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3236 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3239 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3241 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3242 following non-comment text (bug#13207).
3243 (lm-header-multiline): Continuation lines need to be indented more than
3245 (lm-homepage): New function.
3246 (lm-with-file): Don't be confused if narrowing is in effect.
3248 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3251 very beginning of a hunk (e.g. killing the first line).
3253 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3255 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3256 and text properties from returned ACL string.
3257 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3258 for "setfacl" command.
3260 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3262 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3263 `tramp-cleanup-this-connection', when the process has died.
3266 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3270 2012-12-17 Kevin Ryde <user42@zip.com.au>
3272 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3274 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3276 Add support for preserving ACL entries of files.
3278 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3279 `set-file-acl' handlers.
3281 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3282 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3284 * net/tramp-compat.el (tramp-compat-copy-file):
3285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3288 Add `file-acl' and `set-file-acl' handlers.
3289 (tramp-gvfs-handle-copy-file):
3290 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3291 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3294 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3295 Add `file-acl' and `set-file-acl' handlers.
3296 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3297 (tramp-sh-handle-set-file-acl): New defuns.
3298 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3299 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3302 Add `file-acl' and `set-file-acl' handlers.
3303 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3305 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3307 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3308 use pop-to-buffer with NORECORD argument t. As buffer name, use
3309 *Metahelp* with a leading space (Bug#13190).
3311 2012-12-16 Romain Francoise <romain@orebokech.com>
3313 * files.el (file-extended-attributes)
3314 (set-file-extended-attributes): New functions.
3315 (backup-buffer): Use them to handle both SELinux context and ACL
3317 (backup-buffer-copy): Work with an alist of extended attributes,
3318 rather than an SELinux context.
3319 (basic-save-buffer-2): Ditto.
3321 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3323 * battery.el (battery-bsd-apm): New function.
3325 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3327 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3328 standard date formats.
3330 2012-12-15 Juri Linkov <juri@jurta.org>
3332 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3333 `isearch-insert-char-by-name'.
3334 (with-isearch-suspended): New defmacro with body mostly from
3335 `isearch-edit-string' except the part that sets
3336 `isearch-new-string' and `isearch-new-message'.
3337 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3338 body that sets `isearch-new-string' and `isearch-new-message'.
3339 (isearch-insert-char-by-name): New command.
3340 * international/mule-cmds.el (read-char-by-name): Let-bind
3341 `enable-recursive-minibuffers' to t.
3342 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3344 2012-12-15 Juri Linkov <juri@jurta.org>
3346 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3349 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3351 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3352 the prompt. (Bug#13045)
3354 2012-12-14 Glenn Morris <rgm@gnu.org>
3356 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3357 Try to include filename in non-bytecomp warning. (Bug#13132)
3359 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3361 Fix permissions bugs with setgid directories etc. (Bug#13125)
3362 * files.el (backup-buffer): Don't rely on 9th output of
3363 file-attributes, as it's now a placeholder. Instead, use the new
3364 optional arg of file-ownership-preserved-p.
3365 (file-ownership-preserved-p): New optional arg GROUP.
3366 Fix mishandling of setuid directories that would cause this
3367 function to return t when it should have returned nil.
3368 Document what happens if the file does not exist, and when
3369 it's not known whether the ownership will be preserved.
3370 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3372 (tramp-get-local-gid): Use group-gid for integer, as that's
3373 faster and more reliable.
3375 2012-12-14 Julien Danjou <julien@danjou.info>
3377 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3378 Update keywords list, data type and PL/pgSQL.
3380 2012-12-14 Dave Abrahams <dave@boostpro.com>
3382 * vc/ediff-util.el (ediff-buffer-type): New function.
3383 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3384 rather than taking it as as argument.
3385 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3387 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3389 * json.el: Add pretty-print option (bug#12634).
3390 (json-encoding-separator, json-encoding-default-indentation)
3391 (json--encoding-current-indentation, json-encoding-pretty-print)
3392 (json-encoding-lisp-style-closings): New vars.
3393 (json--with-indentation): New macro.
3394 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3395 (json-encode-array): Use it to obey json-encoding-pretty-print.
3396 (json-pretty-print-buffer, json-pretty-print): New commands.
3398 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3400 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3401 Extract `ruby-syntax-propertize-expansions'.
3402 (ruby-syntax-propertize-expansions): Only change syntax on
3403 certain string delimiters, to punctuation. This way the common
3404 functions like forward-word and thing-at-point still work.
3405 (ruby-match-expression-expansion): Improve readability.
3406 (ruby-block-contains-point): New function.
3407 (ruby-add-log-current-method): Handle several edge cases.
3409 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3411 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3412 unload-feature finishes even when aborting an ongoing edebug session.
3413 Also, do not worry about edebug-mode, unload-feature takes care of it.
3415 2012-12-13 Andreas Schwab <schwab@suse.de>
3417 * net/tls.el (tls-program): Update customize type.
3419 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3421 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3422 (edebug-setup-hook, cl-read-load-hooks): Use it.
3423 (edebug-unload-function): New function. (Bug#13163)
3425 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3427 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3428 Otherwise, there could be errors in autoloading. (Bug#13151)
3430 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3432 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3435 2012-12-13 Alan Mackenzie <acm@muc.de>
3437 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3438 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3439 around `forward-comment' not recognizing ^M as whitespace.
3441 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3443 * progmodes/python.el (python-skeleton-class)
3444 (python-skeleton-def): Do not add space after defun name.
3446 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3449 (cl--symbol-function): Remove (now that funbound is like nil).
3451 2012-12-12 Glenn Morris <rgm@gnu.org>
3453 * button.el (button--area-button-p): Fix typo.
3455 2012-12-12 Sam Steingold <sds@gnu.org>
3457 * frame.el (frame-maximization-style): New user option.
3458 (toggle-frame-maximized): Toggle frame maximization according to
3459 `frame-maximization-style', bound to <f11>.
3460 (cycle-frame-maximized): Cycle between all maximization styles and
3461 non-maximized frame, bound to shift-<f11>.
3463 2012-12-12 David Cadé <codename68@gmail.com>
3465 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3467 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3469 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3470 (eieio-override-prin1): Don't quote kewords and booleans.
3471 (object-write) <eieio-default-superclass>: Don't put closing parens
3472 on new line, avoid needless empty lines, align values that are objects
3473 with the slot keyword (instead of beginning on the same line).
3474 (eieio-list-prin1): Align value with slot keyword; increase
3475 eieio-print-depth before printing members of the list.
3477 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3480 a display text-property.
3481 (report-emacs-bug-hook): Don't bother deleting it any more.
3483 * hilit-chg.el (highlight-save-buffer-state): Delete.
3484 Use with-silent-modifications instead.
3485 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3487 * button.el: Handle buttons in display text-properties.
3488 (button--area-button-p, button--area-button-string):
3489 Use (STRING . STRING-POS) representation instead of just STRING.
3491 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3493 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3494 subdirectory be skipped.
3496 2012-12-11 Glenn Morris <rgm@gnu.org>
3498 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3500 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3501 Treat preprocessor lines embedded in continuations like comments.
3502 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3504 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3506 * calc/calc.el (calc-standard-date-formats): Add more date
3508 * calc/calc-forms.el (math-parse-iso-date): New function.
3509 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3510 (math-parse-iso-date-validate): Add extra error checking.
3511 (calc-date-notation): Add ability to access new date formats.
3513 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3515 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3516 font-lock as well as when there's no text-property.
3518 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3520 * hi-lock.el: Refine the choice of default face.
3521 (hi-lock-keyword->face): New function. Use it wherever we used
3523 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3524 (hi-lock--last-face): Remove var.
3525 (hi-lock--unused-faces): New var to replace it.
3526 (hi-lock-read-face-name): Use/maintain it.
3527 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3528 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3529 if it has another face.
3531 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3533 * subr.el (w32notify-handle-event): New function.
3534 (inotify-handle-event): Doc fix.
3536 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3538 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3540 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3542 * simple.el (just-one-space): Doc fix.
3544 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3546 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3548 2012-12-10 Le Wang <l26wang@gmail.com>
3550 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3551 narrowed buffer (bug#12361).
3553 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3555 * vc/vc-hooks.el (vc-state): Doc fix.
3557 2012-12-10 Glenn Morris <rgm@gnu.org>
3559 * mail/rmail.el (rmail-maybe-display-summary):
3560 Preserve buffer, in case select-window changes it. (Bug#13066)
3562 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3565 cl-load-hook where they belong.
3567 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3571 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3573 Parallelize byte compilation on MS-Windows.
3574 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3575 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3576 (WINS_BASIC): Define as concatenation of the above.
3577 (compile): Subdivide into 4 separate and independent jobs that can
3579 (compile0-CMD, compile0-SH): New targets for compiling
3580 COMPILE_FIRST files, which are prerequisites for the rest of the
3582 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3583 New targets for parallel compilation with cmd.exe.
3584 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3585 compiling under a Unixy shell.
3587 2012-12-09 Chong Yidong <cyd@gnu.org>
3589 * simple.el (set-mark-default-inactive): Delete this
3590 accidentally-introduced option.
3591 (set-mark-command, exchange-point-and-mark): Remove calls.
3593 2012-12-09 Glenn Morris <rgm@gnu.org>
3595 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3596 Respect a defcustom's :set function, if appropriate. (Bug#109)
3597 (eval-defun): Doc fix.
3599 2012-12-08 Juri Linkov <juri@jurta.org>
3601 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3602 (Info-fontify-node, Info-bookmark-make-record): Remove the
3603 file extension from Info-current-file (Bug#13016).
3605 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3608 point, still provide some default.
3609 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3610 names, since we don't use it right now. Actually return the list.
3611 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3613 2012-12-07 Chong Yidong <cyd@gnu.org>
3615 * novice.el (disabled-command-function): Remove a spurious help
3616 xref (Bug#13043). Suggested by Kelly Dean.
3618 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3619 syntax is specified (Bug#13025).
3621 * info.el (Info-set-mode-line): Remove the file extension from
3622 Info-current-file if there is one (Bug#13016).
3624 2012-12-07 Glenn Morris <rgm@gnu.org>
3626 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3627 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3628 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3629 and rmail-mime-decoded. (Bug#9841)
3631 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3632 (batch-unrmail, unrmail): Doc fixes.
3633 (unrmail): Respect unrmail-mbox-format.
3634 * mail/rmail.el (rmail-mbox-format): New option.
3635 (rmail-show-message-1): Respect rmail-mbox-format.
3637 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3641 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3643 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3644 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3645 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3646 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3647 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3648 (cl-progv): Don't rely on dynamic scoping to find the body.
3649 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3650 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3651 (cl-declaim): Use backquotes.
3652 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3653 Use "cl--" prefix for the object's tag.
3655 * ses.el: Use advice-add/remove.
3656 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3657 (copy-region-as-kill, yank): Use advice-add.
3658 (ses-unload-function): Use advice-remove.
3660 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3662 * button.el: Make them work in header-lines (bug#12817).
3663 (button-map): Add bindings for header-line and mode-line use.
3664 (button-get, button-put, button-label): `button' may now be a string.
3665 (button-activate): Don't make it a defsubst.
3666 (button--area-button-p, button--area-button-string): New functions.
3667 (make-text-button): Fix the return value when `beg' was a string.
3668 (push-button): Handle the mode-line case.
3670 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3672 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3673 (sql-signum): Remove. Use `cl-signum' instead.
3674 (sql-read-passwd): Remove; use read-passwd instread.
3675 (sql-get-login-ext): Use read-string.
3676 (sql-get-login): Use dolist and pcase.
3677 (sql--completion-table): Rename from sql-try-completion.
3678 Use complete-with-action.
3679 (sql-mode): Don't change abbrev-all-caps globally.
3680 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3681 (sql-postgres-completion-object): Initialize vars in their `let'.
3682 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3683 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3684 (sql-comint-interbase): Use a single append, without setq.
3685 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3687 * hi-lock.el: Rework the default face and the serialize regexp code.
3688 (hi-lock--auto-select-face-defaults): Remove.
3689 (hi-lock-string-serialize-serial): Remove.
3690 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3692 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3694 (hi-lock-set-pattern): Adjust accordingly.
3695 (hi-lock--regexps-at-point): Simplify accordingly.
3696 (hi-lock--auto-select-face-defaults): Remove.
3697 (hi-lock--last-face): New var to replace it.
3698 (hi-lock-read-face-name): Rewrite (bug#11095).
3699 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3701 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3703 * net/tramp.el (tramp-replace-environment-variables):
3704 Hide compiler warning.
3705 (tramp-file-name-for-operation): Remove `executable-find',
3706 `start-process', `call-process' and `call-process-region'.
3708 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3710 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3713 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3715 2012-12-06 Chong Yidong <cyd@gnu.org>
3717 * ffap.el (ffap-replace-file-component): Fix typo.
3719 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3721 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3722 fix open-paren-like token test (bug#12785).
3724 2012-12-06 Glenn Morris <rgm@gnu.org>
3726 * mail/rmailsum.el (rmail-new-summary): Tweak for
3727 rmail-maybe-display-summary changing buffer. (Bug#13066)
3729 2012-12-06 Juri Linkov <juri@jurta.org>
3731 * info.el (Info-fontify-node): Don't hide the last newline.
3734 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3736 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3737 so as to enable message-read-from-minibuffer to expand mail aliases.
3739 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3742 the `intangible' property.
3743 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3745 2012-12-05 Deniz Dogan <deniz@dogan.se>
3747 * net/rcirc.el (rcirc-urls): Update documentation.
3748 (rcirc-condition-filter): New function.
3749 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3750 and exclude consecutive duplicate URLs (Bug#6082).
3752 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3755 Check return code of copy command.
3757 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3758 Use group `tramp'. Add version.
3760 2012-12-05 Chong Yidong <cyd@gnu.org>
3762 * ffap.el (ffap-url-regexp): Don't require matching at front of
3764 (ffap-url-p): If only a substring matches, return that.
3765 (ffap-url-at-point): Use the return value of ffap-url-p.
3766 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3767 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3768 (ffap-guess-file-name-at-point): Likewise.
3769 (ffap-replace-file-component): Fix typo.
3771 * info.el (info-display-manual): Add existing Info buffers, whose
3772 files may not be in Info-directory-list, to the completion.
3773 (info--manual-names): New helper function.
3775 2012-12-05 Glenn Morris <rgm@gnu.org>
3777 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3778 New functions, for detecting and resolving conflicts. (Bug#10709)
3780 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3782 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3783 (hi-lock-auto-select-face-defaults): New buffer local variable.
3784 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3785 (hi-lock-unface-buffer): Prompt user with useful defaults.
3786 With prefix arg, unhighlight all hi-lock patterns in buffer.
3788 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3792 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3794 * Makefile.in (TRAMP_SRC):
3795 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3797 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3799 * net/tramp-adb.el: New package.
3801 2012-12-04 Chong Yidong <cyd@gnu.org>
3803 * terminal.el: Move to obsolete/.
3805 * longlines.el: Move to obsolete/.
3807 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3808 Remove code referring to longlines mode.
3810 2012-12-03 Juri Linkov <juri@jurta.org>
3812 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3814 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3816 * textmodes/ispell.el (ispell-init-process)
3817 (ispell-start-process, ispell-internal-change-dictionary):
3818 Make sure personal dictionary name is expanded after initial
3819 `default-directory' value. Use expanded strings for
3820 keep/restart checks and for value (Bug#13019).
3822 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3824 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3826 2012-12-03 Leo Liu <sdl.web@gmail.com>
3828 * files.el (dir-locals-read-from-file): Check file non-empty
3829 before reading. (Bug#13038)
3831 2012-12-03 Glenn Morris <rgm@gnu.org>
3833 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3834 Remove any version extension before checking filename. (Bug#13006)
3835 (jka-compr-compression-info-list): Belated :version bump.
3837 2012-12-03 Chong Yidong <cyd@gnu.org>
3839 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3841 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3842 (buffer-menu): Doc fix (Bug#12294).
3844 2012-12-03 Roland Winkler <winkler@gnu.org>
3846 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3847 of diary-show-all-entries in the diary buffer (Bug#12994).
3849 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3851 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3852 "<STDIN>". This is binary safe.
3854 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3856 * calc/calc-forms.el (math-absolute-from-iso-dt)
3857 (math-date-to-iso-dt, math-parse-iso-date-validate)
3858 (math-iso-dt-to-date): New functions.
3859 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3860 (math-fd-isoweekday): New variables.
3861 (calc-date-notation, math-parse-standard-date, math-format-date)
3862 (math-format-date-part): Add support for more formatting codes.
3864 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3866 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3867 current buffer's file name when called interactively (Bug#12488).
3869 2012-12-02 Juri Linkov <juri@jurta.org>
3871 * info.el (info-display-manual): Don't clobber an existing Info
3872 buffer (Bug#10770). Add completion (Bug#10771).
3874 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3876 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3877 before using it for comparison (Bug#5297).
3879 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3881 * textmodes/css-mode.el (css-current-defun-name): New function.
3884 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3885 (html-mode): Use it.
3887 2012-12-01 Chong Yidong <cyd@gnu.org>
3889 Modularize add-log-current-defun (Bug#2224).
3890 Suggested by Jari Aalto.
3892 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3893 (add-log-current-defun): Move mode-specific code to other files.
3894 (add-log-lisp-like-modes, add-log-c-like-modes)
3895 (add-log-tex-like-modes): Variables deleted.
3897 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3898 (lisp-mode-variables): Use it.
3900 * progmodes/cc-mode.el (c-common-init):
3901 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3902 add-log-current-defun-function.
3904 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3907 * progmodes/perl-mode.el (perl-current-defun-name): New.
3908 (perl-mode): Use it.
3910 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3911 Use lisp-current-defun-name.
3913 * textmodes/tex-mode.el (tex-current-defun-name): New.
3914 (tex-common-initialization): Use it.
3916 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3917 (texinfo-mode): Use it.
3919 2012-12-01 Chong Yidong <cyd@gnu.org>
3921 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3922 * progmodes/autoconf.el (autoconf-mode):
3923 * progmodes/js.el (js-mode):
3924 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3925 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3926 * progmodes/perl-mode.el (perl-mode):
3927 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3928 * textmodes/css-mode.el (css-mode):
3929 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3930 (sgml-tags-invisible, sgml-guess-indent):
3931 * textmodes/tex-mode.el (tex-common-initialization)
3932 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3933 (doctex-mode, plain-tex-mode, latex-mode):
3934 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3936 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3938 * vc/vc-hg.el (vc-hg-next-revision):
3939 Ensure use of default "tip" output format. (Bug#6968)
3941 2012-12-01 Kim F. Storm <storm@cua.dk>
3943 * startup.el (fancy-startup-tail): Add a clickable link
3946 2012-12-01 Chong Yidong <cyd@gnu.org>
3948 * startup.el (fancy-startup-tail): Improve the message about
3949 auto-save files (Bug#2176).
3951 * files.el (recover-session): Improve the descriptive message, and
3952 use substitute-command-keys.
3954 2012-12-01 Glenn Morris <rgm@gnu.org>
3956 * ido.el (ido-file-internal):
3957 Handle other-window, other-frame for dired. (Bug#13036)
3959 2012-11-30 Glenn Morris <rgm@gnu.org>
3961 * icomplete.el (icomplete-separator): Fix :version.
3963 2012-11-30 Chong Yidong <cyd@gnu.org>
3965 * shell.el (shell): For C-u M-x shell, use an inactive shell
3966 buffer as the default (Bug#1975).
3967 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3968 (shell-mode): Use them to reapply ansi colorization if Shell mode
3971 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3973 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3975 2012-11-30 Samuel Bronson <naesten@gmail.com>
3977 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3978 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3980 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3982 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3983 by move-to-column (Bug#3234).
3985 2012-11-30 Chong Yidong <cyd@gnu.org>
3987 * longlines.el (longlines-wrap-line, longlines-encode-region):
3988 Preserve text properties (Bug#1425).
3990 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3992 * vc/vc.el (vc-register): Allow registering a file which is
3993 already registered with a different backend (Bug#10589).
3995 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3996 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * icomplete.el: Change separator; add ido-style commands.
3999 (icomplete-show-key-bindings): Remove custom var.
4000 (icomplete-get-keys): Remove function.
4001 (icomplete-forward-completions, icomplete-backward-completions):
4003 (icomplete-minibuffer-map): New var.
4004 (icomplete-minibuffer-setup): Use it.
4005 (icomplete-exhibit): Don't delay if the list of completions is known.
4006 (icomplete-separator): New custom.
4007 (icomplete-completions): Use it.
4008 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4009 (minibuffer-force-complete-and-exit): New command.
4010 (minibuffer--complete-and-exit): New function extracted from
4011 minibuffer-complete-and-exit.
4012 (minibuffer-complete-and-exit): Use it.
4014 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4015 error message when the file doesn't exist (bug#12974).
4017 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4019 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4021 2012-11-29 Glenn Morris <rgm@gnu.org>
4023 * files.el (hack-dir-local-variables): Warn if try to set
4024 coding via dir-locals, since it doesn't work. (Bug#7169)
4026 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4027 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4028 Set buffer-local value of desktop-save-buffer.
4029 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4031 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4032 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4034 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4035 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4037 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4040 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4042 * calc/calc-forms.el (calc-date-notation): Fix regexp
4043 used to find time codes. Fix symbol for seconds.
4045 2012-11-27 Glenn Morris <rgm@gnu.org>
4047 * emacs-lisp/derived.el (derived-mode-make-docstring):
4048 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4050 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4053 lexically scoped variables (bug#13005).
4055 2012-11-27 Glenn Morris <rgm@gnu.org>
4057 * vc/vc-hooks.el (vc-mistrust-permissions):
4058 Default to t, to avoid data-loss. (Bug#11490)
4060 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4062 * progmodes/python.el (python-indent-guess-indent-offset):
4063 If indentation is guessed make python-indent-offset buffer-local.
4065 Fix Imenu regression.
4066 * progmodes/python.el (python-nav-beginning-of-defun):
4067 Fix forward movement when statement(s) separates point from defun.
4068 (python-imenu-prev-index-position): New function.
4070 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4072 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4074 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4075 Don't set buffer-file-type. Return nil. (Bug#12989)
4077 2012-11-27 Glenn Morris <rgm@gnu.org>
4079 * hippie-exp.el (hippie-expand-try-functions-list):
4080 Re-autoload it. (Bug#12982)
4082 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4084 * descr-text.el (describe-char-padded-string):
4085 Call internal-char-font only on GUI frames. (Bug#11964)
4087 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4089 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4090 and obsoletion message.
4092 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4094 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4095 the constructs to keep outside of the `cl-block' (bug#12977).
4097 2012-11-27 Chong Yidong <cyd@gnu.org>
4099 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4100 keep reading until we get the up-event anyway, in order to process
4101 the up-event for mouse-1-click-follows-link (Bug#12971).
4103 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4106 base function is not yet defined (bug#12965).
4107 (ad-activate-advised-definition): Use ad-compile-function.
4108 (ad-activate): Use cond.
4110 2012-11-25 Leo Liu <sdl.web@gmail.com>
4112 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4115 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4117 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4118 reftex-section-info-function in order to be compatible with
4119 Texinfo integration.
4121 * textmodes/reftex.el (reftex-section-pre-regexp)
4122 (reftex-section-post-regexp, reftex-section-info-function):
4124 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4125 reftex-section-post-regexp, and reftex-section-info-function in order
4126 to be compatible with Texinfo integration.
4128 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4129 use reftex-section-pre-regexp variable in order to be compatible with
4130 Texinfo integration.
4132 2012-11-25 Chong Yidong <cyd@gnu.org>
4134 * faces.el: Make face-spec-set more analogous to setq.
4135 (face-spec-set): Change the third arg to specify whether this
4136 function is being called via defface, customize, or a third party.
4137 Set the appropriate symbol properties. Clear the override spec if
4138 setting via Custom. Initialize face if necessary. (Bug#4988)
4139 (face-spec-recalc): Allow theme faces to completely replace the
4140 defface spec, in the same way as custom faces (Bug#8454).
4142 * cus-face.el (custom-declare-face): Move face initialization to
4144 (custom-theme-set-faces): Don't initialize the face name here, as
4145 that is now done in face-spec-set.
4147 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4148 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4149 Simplify by using the new arg to face-spec-set.
4151 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4152 reset face-override-spec too, and use custom-declare-face.
4154 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4156 * term/ns-win.el (ns-initialize-window-system): Move creation of
4157 fontsets here (Bug#11964).
4159 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4161 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4164 2012-11-24 Chong Yidong <cyd@gnu.org>
4166 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4169 * custom.el (custom-theme-set-variables): Use a topological sort
4170 for ordering by custom dependencies (Bug#12952).
4171 (custom--sort-vars, custom--sort-vars-1): New functions.
4173 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4176 lexical-binding (bug#12938).
4178 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4180 * image-mode.el (image-transform-check-size): Use assertions only
4181 for images of type imagemagick.
4183 Otherwise no error, image-transform-fit-to-{width,height} is
4184 silently ignored, as before. Doc fix.
4186 2012-11-24 Chong Yidong <cyd@gnu.org>
4188 * faces.el (color-defined-p): Doc fix (Bug#12853).
4190 2012-11-24 Juri Linkov <juri@jurta.org>
4192 * dired.el (dired-mark): Add optional arg `interactive'.
4193 Check for `use-region-p' if `interactive' is non-nil.
4194 (dired-unmark, dired-flag-file-deletion): Add optional arg
4195 `interactive'. Call `dired-mark' with the arg `interactive'.
4198 * wdired.el: Revert 2012-10-17 change partly and replace it with
4199 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4200 (wdired-finish-edit): Add marks for new file names to
4201 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4202 after `revert-buffer'.
4203 (wdired-do-renames): Remove calls to `dired-remove-file',
4204 `dired-add-file', `dired-add-entry'. (Bug#11795)
4206 2012-11-24 Alan Mackenzie <acm@muc.de>
4208 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4210 Fix bugs in the state cache. Enhance a debugging mechanism.
4211 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4212 "brace at column zero" strategy for C++.
4213 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4214 (c-parse-state-point): New variable.
4215 (c-record-parse-state-state): Record old parse state with
4216 `copy-tree'. Record previous value of point.
4217 (c-debug-parse-state-double-cons): New debugging function.
4218 (c-debug-parse-state): Call the above new function.
4219 (c-toggle-parse-state-debug): Output a confirmatory message.
4221 * progmodes/cc-mode.el (c-before-change, c-after-change):
4222 Call c-invalidate-state-cache from `c-before-change' instead of
4225 2012-11-23 Chong Yidong <cyd@gnu.org>
4227 * find-cmd.el (find-constituents): Add executable, ipath,
4228 readable, samefile, writable, daystart, regextype (Bug#12856).
4230 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4232 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4234 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4236 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4237 definition. This fixes a bootstrap failure.
4238 (calc-gregorian-switch): In menu, put dates before regions.
4239 This is easier to follow, lines up better in the menu, and lets us
4240 coalesce regions that switch at the same time. Give country
4241 names, not "Vatican", as that's better for non-expert users.
4242 Use names that are stable between the date of switch and now, e.g.,
4243 Bohemia and Moravia (which existed then and now) and not
4244 Czechoslovakia (which didn't exist then and doesn't exist now).
4245 What is now the U.S. mostly did not switch at the same time as
4246 Britain, so omit the U.S. Correct spelling of "Britain".
4247 Catholic Switzerland was too much of a mess, so omit it.
4249 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4251 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4252 after the variable is changed.
4254 2012-11-21 Daniel Colascione <dancol@dancol.org>
4256 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4257 in SQL declarations for font-lock.
4258 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4260 2012-11-21 Glenn Morris <rgm@gnu.org>
4262 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4263 (face-italic-p): Add optional argument "inherit".
4265 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4266 Remove -p suffix from names, for consistency with other set-face-*.
4267 (set-face-inverse-video): Fix interactive spec.
4268 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4269 * textmodes/table.el (table--update-cell-face):
4270 Use set-face-inverse-video rather than now obsolete alias.
4272 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4274 * simple.el (line-move): Don't call line-move-partial if
4275 scroll-conservatively is in effect. (Bug#12927)
4277 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4280 Fallback on completion-at-point rather than
4281 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4282 (eshell-cmpl-initialize): Setup completion-at-point.
4284 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4286 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4288 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4290 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4291 are remote, check out-of-band property for both.
4293 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4295 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4298 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4300 More minor time fixes.
4301 * calendar/time-date.el: Commentary fix.
4302 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4303 too much other code depends on (0 0) time stamps.
4304 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4305 Add a couple of FIXME comments.
4307 Minor cleanup for times as lists of four integers.
4308 * files.el (dir-locals-directory-cache):
4309 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4311 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4312 * ps-bdf.el (bdf-file-newer-than-time):
4313 Process four-integers time stamps, not two. Doc fixes.
4315 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * uniquify.el (uniquify-managed): Use defvar-local.
4318 (rename-buffer, create-file-buffer): Advise with advice-add.
4319 (uniquify-unload-function): Unadvise accordingly.
4321 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4322 (trace-buffer): Don't purecopy.
4323 (trace-entry-message, trace-exit-message): Add `context' arg.
4324 (trace--timer): New var.
4325 (trace-make-advice): Adjust for use in nadvice.
4326 Add `context' argument. Delay `display-buffer' via a timer.
4327 (trace-function-internal): Use advice-add.
4328 (trace--read-args): New function.
4329 (trace-function-foreground, trace-function-background): Use it.
4330 (trace-function): Rename to trace-function-foreground and redefine as
4331 an alias to that new name.
4332 (untrace-function, untrace-all): Adjust to the use of nadvice.
4334 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4336 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4338 * subr.el (called-interactively-p-functions): New var.
4339 (internal--called-interactively-p--get-frame): New macro.
4340 (called-interactively-p, interactive-p): Rewrite in Lisp.
4341 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4342 (called-interactively-p-functions): Use it.
4343 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4344 (called-interactively-p-functions): Use it.
4345 * allout.el (allout-called-interactively-p): Don't assume
4346 called-interactively-p is a subr.
4348 2012-11-20 Glenn Morris <rgm@gnu.org>
4350 * profiler.el (profiler-report-mode-map): Add a menu.
4351 No need to bind `q' because we derive from special-mode.
4352 (profiler-report-find-entry): Handle calls from the menu-bar.
4354 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4356 * emacs-lisp/byte-run.el (defun-declarations-alist):
4357 Allow a compiler-macro to be a lambda expression.
4359 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4361 (python-syntax-context): Add compiler-macro.
4362 (python-font-lock-keywords): Simplify with De Morgan.
4364 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4366 * files.el (load-file): Require match in minibuffer selection, as was
4367 the case in Emacs-20 before we changed the spec to allow .elc files
4370 * json.el: Don't require cl since we don't use it.
4371 * color.el: Don't require cl.
4372 (color-complement): `caddr' -> `nth 2'.
4374 * calendar/time-date.el (time-to-seconds): De-obsolete.
4376 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4378 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4380 (math-date-to-julian-dt): Adjust the initial approximation for the
4381 year to deal with the new definition of the DATE.
4383 2012-11-19 Daniel Colascione <dancol@dancol.org>
4385 * term/w32-win.el (cygwin-convert-path-from-windows):
4386 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4388 2012-11-18 Chong Yidong <cyd@gnu.org>
4390 * filecache.el (file-cache--read-list): New function.
4391 (file-cache-add-directory-list, file-cache-add-file-list)
4392 (file-cache-delete-file-list, file-cache-delete-directory-list):
4393 Use it to read a list of files or directories (Bug#12846).
4394 (file-cache-add-file, file-cache-add-directory)
4395 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4396 (file-cache-delete-directory): Print an message.
4398 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4400 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4401 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4403 2012-11-18 Glenn Morris <rgm@gnu.org>
4405 * image.el (insert-image, insert-sliced-image): Doc fix.
4407 2012-11-18 Chong Yidong <cyd@gnu.org>
4409 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4412 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4414 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4415 response when the target file is in a subdirectory (Bug#12757).
4417 2012-11-18 Chong Yidong <cyd@gnu.org>
4419 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4421 2012-11-18 Glenn Morris <rgm@gnu.org>
4423 * emacs-lisp/cl-lib.el (face-underline-p):
4424 Use set-face-underline rather than the alias set-face-underline-p.
4426 * window.el (with-temp-buffer-window): Doc fix.
4427 * subr.el (with-output-to-temp-buffer):
4428 Add doc xref to with-temp-buffer-window.
4430 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4432 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4433 * calc/calc.el (math-format-date-cache): Declare.
4435 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4437 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4438 It also uses January 1, 1 AD as its day number 1.
4439 * calc/calc-forms.el (math-julian-date-beginning)
4440 (math-julian-date-beginning-int): Implement this.
4442 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4444 * descr-text.el (quail-find-key):
4445 * dired.el (desktop-file-name):
4446 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4447 * generic-x.el (comint-mode, comint-exec):
4448 * image-dired.el (widget-forward):
4449 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4450 (speedbar-change-expand-button-char)
4451 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4452 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4453 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4454 (widget-field-action, widget-value-set):
4455 * speedbar.el (imenu--make-index-alist):
4456 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4457 (ring-length, ring-insert):
4458 * vcursor.el (compare-windows-skip-whitespace):
4459 * woman.el (dired-get-filename):
4462 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4464 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4466 * calc/calc.el (calc-gregorian-switch): New variable.
4468 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4469 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4470 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4471 (math-leap-year-p): Add option to distinguish between Julian
4472 and Gregorian calendars.
4473 (math-day-number): Use `math-day-in-year' to do the computations.
4474 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4475 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4476 to do the computations.
4477 (math-date-to-dt): Use `math-date-to-julian-dt' and
4478 `math-date-to-gregorian-dt' to do the computations.
4479 (calcFunc-weekday, math-format-date-part): Use the new version of
4480 the DATE to determine the weekday.
4481 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4484 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4486 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4487 Cygwin; otherwise use 'file:'. (Bug#12914)
4488 (cygwin-convert-path-from-windows): Declare, to avoid
4489 byte-compiler warnings.
4491 2012-11-17 Andreas Politz <politza@fh-trier.de>
4493 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4494 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4495 prefix and negative numeric prefix args (Bug#12795).
4497 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4499 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4500 Don't signal an error with a score that is too low to add to the
4501 list of top scores. (Bug#12779)
4503 2012-11-17 Chong Yidong <cyd@gnu.org>
4505 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4507 * filecache.el (file-cache-add-file): Handle relative file name in
4508 the argument (Bug#12694).
4510 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4512 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4514 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4518 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4520 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4522 * window.el (enlarge-window, shrink-window): Don't mention return
4523 value in doc-string (Bug#12896).
4524 (window--display-buffer): Don't resize frames - it won't work
4525 with all window managers and defeat pop-up-frame-alist.
4526 (display-buffer-alist): In doc-string explain that CONDITION can
4527 be a function and which arguments are passed to it (Bug#12854).
4528 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4529 expressions (Bug#12854).
4530 (display-buffer): Pass ACTION argument to
4531 display-buffer-assq-regexp.
4533 2012-11-16 Glenn Morris <rgm@gnu.org>
4535 * window.el (fit-frame-to-buffer-bottom-margin)
4536 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4538 * faces.el (face-underline-p): Use face-attribute-specified-or.
4540 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4542 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4544 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4548 2012-11-16 Glenn Morris <rgm@gnu.org>
4550 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4551 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4553 * faces.el (face-underline-p): Doc fix. Handle :underline being
4554 things other than `t' (a string, a list).
4555 (face-inverse-video-p): Doc fix.
4556 (set-face-underline): Rename it back from set-face-underline-p.
4557 Doc fix. Allow interactive input of values other than t.
4558 (read-face-attribute): Apply formatting to :underline,
4559 since like :box and :stipple it can take list values.
4561 * term.el (ansi-term): Don't let C-x escape-char binding
4562 clobber the more standard C-c binding. (Bug#12842)
4564 * subr.el (set-temporary-overlay-map): Doc fix.
4566 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4568 * window.el (record-window-buffer)
4569 (display-buffer-record-window): When copying the markers to
4570 window-point preserve window-point-insertion-type. (Bug#12588)
4572 2012-11-16 Glenn Morris <rgm@gnu.org>
4574 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4575 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4576 Use new names for hooks rather than obsolete aliases.
4578 2012-11-15 Daniel Colascione <dancol@dancol.org>
4580 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4581 prefix instead of "file:" so that when FILE-NAME begins with "//",
4582 as it does when the target file is on a network share, url-handler
4585 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4588 a preactivated advice from an old advice.el; they're not compatible!
4590 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4592 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4593 Fix string-spec case.
4595 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4597 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4599 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4600 (advice--buffer-local-function-sample): New var.
4601 (advice--set-buffer-local, advice--buffer-local): New functions.
4602 (add-function, remove-function): Use them.
4604 2012-11-15 Drew Adams <drew.adams@oracle.com>
4606 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4608 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4611 potential binding of print-gensym to t, and prettify (back)quotes in
4612 case they appear in args's default values (bug#12884).
4614 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4616 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4617 (advice-eval-interactive-spec): New function.
4618 (advice--make-interactive-form): Support around advice (bug#12844).
4620 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4622 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4623 more strict. Add docstring.
4624 (ruby-expression-expansion-re): Extract from
4625 `ruby-match-expression-expansion'.
4626 (ruby-syntax-propertize-function): After everything else, search
4627 for expansions in string literals, mark their insides as
4628 whitespace syntax and save match data for font-lock.
4629 (ruby-font-lock-keywords): Use the 2nd group from expression
4631 (ruby-match-expression-expansion): Use the match data saved to the
4632 text property in ruby-syntax-propertize-function.
4634 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4639 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4641 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4642 start/end keyword a bit harder. Works with different values of N.
4644 (ruby-end-of-block): Update accordingly.
4646 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * woman.el (woman-file-name): Don't mess with unread-command-events
4651 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4652 Remove out of date self-require hack.
4653 (ad-do-advised-functions): Use simple `dolist'.
4654 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4655 (ad-advice-definition): Redefine as functions.
4656 (ad-advice-classes): Move before first use.
4657 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4658 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4659 (ad--defalias-fset): Remove functions.
4660 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4661 (ad-get-orig-definition): Rewrite.
4662 (ad-make-advised-definition-docstring): Change base docstring.
4663 (ad-real-orig-definition): Rewrite.
4664 (ad-map-arglists): Change name of called function.
4665 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4666 (ad-make-advised-definition): Simplify.
4667 (ad-assemble-advised-definition): Tweak for new calling context.
4668 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4669 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4670 function and call ad-activate if needed.
4671 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4672 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4673 (ad-compile-function): Compile ad-Advice-*.
4674 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4675 (ad-start-advice, ad-stop-advice): Remove.
4677 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4679 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4680 period before class method names, not after. Remove handling of
4681 one impossible case. Add comments.
4683 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * emacs-lisp/advice.el: Remove support for freezing.
4686 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4687 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4688 Remove support for `freeze'.
4690 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4691 override the default.
4692 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4694 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4697 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4699 (advice--strip-macro): New function.
4700 (advice--defalias-fset): Use them to handle macros.
4701 (advice-add): Use them.
4702 (advice-member-p): Correctly handle macros.
4704 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4706 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4707 Never font-lock the beginning of singleton class as heredoc.
4709 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4713 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4715 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4716 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4717 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4719 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4721 Fix end-of-defun misbehavior.
4722 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4723 python-beginning-of-defun-function. Handle nested defuns
4725 (python-nav-end-of-defun): Rename from
4726 python-end-of-defun-function. Ensure forward movement.
4727 (python-info-current-defun): Reimplement to work as intended
4728 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4729 parent defuns as soon as possible.
4731 2012-11-13 Glenn Morris <rgm@gnu.org>
4733 * progmodes/flymake.el (flymake-error-bitmap)
4734 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4735 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4737 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4739 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4740 backward, always stop at indentation. Reverts the change from
4741 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4743 2012-11-13 Glenn Morris <rgm@gnu.org>
4745 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4746 Add ibuffer-filter-by-derived-mode.
4748 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4749 the same name shadowing each other.
4751 * window.el (with-temp-buffer-window): Doc tweak.
4753 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4755 * help.el (temp-buffer-max-height):
4756 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4757 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4759 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * emacs-lisp/nadvice.el: New package.
4762 * subr.el (special-form-p): New function.
4763 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4764 (elp-all-instrumented-list): Remove var.
4765 (elp-not-profilable): Remove elp-wrapper.
4766 (elp-profilable-p): Use autoloadp and special-form-p.
4767 (elp--advice-name): New const.
4768 (elp-instrument-function): Use advice-add.
4769 (elp--instrumented-p): New predicate.
4770 (elp-restore-function): Use advice-remove.
4771 (elp-restore-all, elp-reset-all): Use mapatoms.
4772 (elp-set-master): Use elp--instrumented-p.
4773 (elp--make-wrapper): Rename from elp-wrapper, return a function
4774 suitable for advice-add. Use cl-inf.
4775 (elp-results): Use mapatoms+elp--instrumented-p.
4776 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4777 (debug-function-list): Remove var.
4778 (debug): Rename arg, and then let-bind it explicitly inside.
4779 (debugger-setup-buffer): Rename arg.
4780 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4781 (debugger-frame-number): Adjust to new debug-on-entry setup.
4782 (debug--implement-debug-on-entry): Rename from
4783 implement-debug-on-entry, add argument.
4784 (debugger-special-form-p): Remove, use special-form-p instead.
4785 (debug-on-entry): Use advice-add.
4786 (debug--function-list): New function.
4787 (cancel-debug-on-entry): Use it, along with advice-remove.
4788 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4789 (debugger-list-functions): Use debug--function-list instead of
4790 debug-function-list.
4791 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4792 (ad-special-form-p): Remove, use special-form-p instead.
4793 (ad-set-advice-info): Use add-function and remove-function.
4794 (ad--defalias-fset): Adjust accordingly.
4796 2012-11-10 Glenn Morris <rgm@gnu.org>
4798 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4799 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4800 (report-emacs-bug-create-existing-bugs-buffer)
4801 (report-emacs-bug-parse-query-results)
4802 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4804 * term.el (term-default-fg-color, term-default-bg-color):
4805 Make obsolete, rather than just saying "deprecated" in the doc.
4807 * term.el (term): Rename from `term-face'.
4808 (term-current-face, ansi-term-color-vector)
4809 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4812 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4814 * server.el (server-create-window-system-frame): Handle Nextstep
4815 specially (Bug#12780).
4817 2012-11-10 Glenn Morris <rgm@gnu.org>
4819 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4820 Unautoload, and make obsolete. (Bug#7449)
4822 2012-11-10 Chong Yidong <cyd@gnu.org>
4824 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4825 rename from diff-remove-trailing-whitespace (Bug#12831).
4827 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4830 miscompilation of trace.el.
4832 2012-11-10 Glenn Morris <rgm@gnu.org>
4834 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4836 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4841 2012-11-10 Chong Yidong <cyd@gnu.org>
4843 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4844 a defcustom with an appropriate :set function.
4845 (minibuffer-default--in-prompt-regexps): New function.
4847 2012-11-10 Glenn Morris <rgm@gnu.org>
4849 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4850 (define-modify-macro): Doc fixes.
4852 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4853 (gv-define-simple-setter): Update doc of `fix-return'.
4855 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4857 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4858 twice when `fix-return' is set (bug#12813).
4860 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4861 gv-define-simple-setter (bug#12812).
4863 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4866 2012-11-10 Glenn Morris <rgm@gnu.org>
4868 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4870 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4871 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4872 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4873 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4875 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4877 2012-11-10 Leo Liu <sdl.web@gmail.com>
4879 * ido.el (ido-set-matches-1): Improve flex matching performance by
4880 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4882 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4885 (ad--defalias-fset): New function.
4886 (ad-safe-fset): Remove.
4887 (ad-make-freeze-definition): Use cl-letf*.
4889 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4891 * subr.el (dolist): Don't bind VAR in RESULT.
4893 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4894 (fset, documentation): Don't save real def since we don't advise.
4895 (ad-do-advised-functions): Remove problematic `result-form'.
4896 (ad-safe-fset): `ad-real-fset' => `fset'.
4897 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4898 uses CL's dolist internally.
4899 (ad-arglist): Remove unused arg `name'.
4900 (ad-docstring, ad-make-advised-docstring):
4901 `ad-real-documentation' => `documentation'.
4902 (warning-suppress-types): Declare.
4903 (ad-set-arguments): Simple CSE.
4904 (ad-recover-normality): Sanity check.
4906 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4907 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4909 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4911 * ses.el: symbol to coordinate mapping is made by symbol property
4912 `ses-cell'. This means that the same mapping is done for all SES
4913 sheets. That is good enough for cells with standard A1 names, but
4914 not for named cell. So a hash map is added for the latter.
4915 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4916 (ses-sym-rowcol): Use hashmap for named cell.
4917 (ses-is-cell-sym-p): New defun.
4918 (ses-decode-cell-symbol): New defun.
4919 (ses-create-cell-variable): Add cell to hashmap when name is not
4921 (ses-rename-cell): Check that cell new name is not already in
4922 spreadsheet with the use of ses-is-cell-sym-p
4923 (ses-rename-cell): Use hash map for named cells, but accept also
4924 renaming back to A1-like.
4926 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4928 * emacs-lisp/advice.el: Use new dynamic docstrings.
4929 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4930 Use dynamic-docstring-function instead of ad-advice-info.
4931 (ad--make-advised-docstring): New function extracted from
4932 ad-make-advised-docstring.
4933 (ad-make-advised-docstring): Use it.
4934 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4936 (sql-help): Use it with dynamic-docstring-function.
4938 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4940 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * files.el (hack-one-local-variable--obsolete): New function.
4943 (hack-one-local-variable): Use it for obsolete settings.
4945 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4948 * progmodes/js.el (js--filling-paragraph): New var.
4949 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4950 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4953 2012-11-08 Julien Danjou <julien@danjou.info>
4955 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4956 `auto-mode-alist' (Bug#12835).
4958 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4961 (perl--prettify-symbols-alist): New const.
4962 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4964 (perl-font-lock-keywords-2): Use them.
4965 (perl-electric-noindent-p): New function.
4966 (perl-mode): Use it to set up electric-indent-mode.
4967 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4968 (perl-mode-map): Remove bindings for them.
4969 (perl-imenu-generic-expression, perl-outline-level):
4970 Match functions&packages in column>0.
4972 * env.el (env--substitute-vars-regexp): New const.
4973 (substitute-env-vars): Use it. Add `only-defined' arg.
4974 * net/tramp.el (tramp-replace-environment-variables): Use it.
4976 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4977 Byte-compile *before* eval in eval-and-compile.
4978 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4979 (byte-compile-file-form-autoload): Don't hide actual definition.
4980 (byte-compile-maybe-guarded): Accept `functionp' as well.
4982 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4984 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4986 * notifications.el (notifications-get-server-information-method):
4988 (notifications-get-capabilities): Fix docstring.
4989 (notifications-get-server-information): New defun.
4991 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4993 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4996 * textmodes/ispell.el: Experimental support for support debugging.
4997 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4999 (ispell-print-if-debug): New function to print stuff to
5000 `ispell-debug-buffer' if debugging is enabled.
5001 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5002 show some debugging info.
5003 (ispell-buffer-with-debug): New function that creates a debugging
5004 buffer and calls `ispell-buffer' with debugging enabled.
5006 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5007 comment in autoconf mode. (Bug#12768)
5009 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5011 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5012 frame-first-window, frame-root-window, frame-selected-window,
5013 minibuffer-selected-window, minibuffer-window,
5014 window-absolute-pixel-edges, window-at, window-body-height,
5015 window-body-width, window-display-table, window-combination-limit,
5016 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5017 window-inside-edges, window-inside-pixel-edges, window-left-child,
5018 window-left-column, window-margins, window-next-buffers,
5019 window-next-sibling, window-new-normal, window-new-total,
5020 window-normal-size, window-parameter, window-parameters, window-parent,
5021 window-pixel-edges, window-point, window-prev-buffers,
5022 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5023 window-start, window-text-height, window-top-child, window-top-line,
5024 window-total-height, window-total-width and window-use-time to the list
5025 of functions without side-effects.
5026 (toplevel): Add window-valid-p to the list of error-free functions
5027 without side-effects.
5029 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5031 * textmodes/ispell.el (ispell-program-name):
5032 Update spellchecker parameters when customized.
5034 2012-11-04 Glenn Morris <rgm@gnu.org>
5036 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5038 2012-11-04 Chong Yidong <cyd@gnu.org>
5040 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5041 same-window-* variables.
5043 2012-11-04 Juri Linkov <juri@jurta.org>
5045 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5046 (isearch-describe-key, isearch-describe-mode): Use a display
5047 action instead of binding same-window-* variables (Bug#10040).
5049 2012-11-03 Glenn Morris <rgm@gnu.org>
5051 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5052 Rename handler properties back from cl-- to cl-. (Bug#12788)
5054 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5056 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5058 * term/pc-win.el: Don't load term/internal from here.
5060 * loadup.el: Load term/internal from here.
5062 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5064 * progmodes/python.el (inferior-python-mode): Fix hang in
5065 jit-lock (Bug#12645).
5067 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5069 * window.el (switch-to-visible-buffer)
5070 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5072 2012-11-03 Glenn Morris <rgm@gnu.org>
5074 * emacs-lisp/cl-lib.el (cl--random-time):
5075 Rename from cl-random-time. (Bug#12773)
5076 (cl--gensym-counter, cl--random-state): Update callers.
5077 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5079 2012-11-03 Chong Yidong <cyd@gnu.org>
5081 * cus-start.el: Make cursor-type customizable (Bug#11633).
5083 2012-11-02 Glenn Morris <rgm@gnu.org>
5085 * filecache.el: No need to load find-lisp when compiling.
5086 (find-lisp-find-files): Autoload it.
5087 (file-cache-add-directory-recursively): Don't require find-lisp.
5089 * image.el (image-type-from-file-name): Trivial simplification.
5091 * emacs-lisp/bytecomp.el (byte-compile-eval):
5092 Decouple "noruntime" and "cl-functions" warnings.
5094 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5096 * play/gomoku.el (gomoku-display-statistics): Update mode line
5097 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5099 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5101 * window.el (quit-restore-window): If the window has been
5102 created on an existing frame and ended up as the sole window on
5103 that frame, do not delete it (Bug#12764).
5105 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5107 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5108 Rename from sh--inside-arithmetic-expression, handle more cases
5111 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5112 (sh-font-lock-open-heredoc): Use it (bug#12770).
5114 2012-10-30 Glenn Morris <rgm@gnu.org>
5116 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5118 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5120 2012-10-29 Chong Yidong <cyd@gnu.org>
5122 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5123 function key is stored in a keyboard macro (Bug#4894).
5125 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5127 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5131 (diff-unified->context, diff-context->unified)
5132 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5134 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5136 * files.el (find-alternate-file): Only ask one question (bug#12487).
5138 2012-10-29 Chong Yidong <cyd@gnu.org>
5140 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5141 Suggested by Dan Nicolaescu (Bug#6326).
5143 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5145 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5147 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5149 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5151 * face-remap.el (face-remap-add-relative): Handle the case where a
5152 face-remapping-alist entry is a cons cell (Bug#12762).
5154 2012-10-29 Kevin Ryde <user42@zip.com.au>
5156 * woman.el (woman-parse-numeric-value): Handle picas correctly
5159 2012-10-29 Glenn Morris <rgm@gnu.org>
5161 * emacs-lisp/cl.el (defsetf): Doc fix.
5163 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5166 syntax to the matching opener, if any (bug#12547).
5167 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5168 matching open as a "case-(".
5169 (sh-smie-rc-grammar): Add a corresponding rule for it.
5171 2012-10-28 Daniel Hackney <dan@haxney.org>
5173 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5174 "PKGNAME-autoloads.el" in case we created it.
5176 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5178 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5179 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5180 (completion--twq-all): Disable too-strict assertions.
5182 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5184 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5186 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5187 text to match the real keybindings.
5189 2012-10-27 Juri Linkov <juri@jurta.org>
5191 * wdired.el (wdired-keep-marker-rename): New defcustom.
5192 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5195 * dired.el (dired-keep-marker-rename): Add reference to
5196 `wdired-keep-marker-rename' in the docstring.
5197 Add default character value ?R to display initially in
5198 Customization UI instead of ?@.
5200 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5202 * window.el (display-buffer): In doc-string describe
5203 window-height and window-width alist entries.
5205 * time.el (display-time-world): Restore fit-window-to-buffer
5208 2012-10-27 Chong Yidong <cyd@gnu.org>
5210 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5212 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5214 * minibuffer.el (completion-category-overrides): New completion
5215 category `bookmark' (bug#11131).
5217 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5219 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5220 Silence bogus compiler warnings for ad-do-it.
5222 * bookmark.el (bookmark-completing-read): Set the completion category
5223 to `bookmark' (bug#11131).
5225 2012-10-26 Bastien <bzg@altern.org>
5226 Stefan Monnier <monnier@iro.umontreal.ca>
5228 * face-remap.el: Use lexical-binding.
5229 (text-scale-adjust): Improve docstring. Use itself for the temporary
5230 overlay-map bindings, so as to repeat the "Use..." message each time.
5232 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5234 * emacs-lisp/macroexp.el (macroexp--expand-all):
5235 Obey byte-compile-warning-enabled-p (bug#12486).
5237 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5238 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5240 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5242 * mouse.el (mouse-drag-line): Move last form into preceding when
5245 * help.el (resize-temp-buffer-window): Fix doc-string.
5247 2012-10-25 David Engster <deng@randomsample.de>
5249 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5250 Remove. This feature is already integrated in imenu.
5252 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5253 always loaded. Require `speedbar' unconditionally.
5255 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5259 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5261 * net/ldap.el (ldap-search-internal): The official ldif format starts
5262 with a "version: 1" header (bug#12724).
5264 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5267 2012-10-25 Glenn Morris <rgm@gnu.org>
5269 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5271 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * minibuffer.el (minibuffer-force-complete): Use one more marker
5274 for the temporary-overlay-map command (bug#12619).
5276 2012-10-24 Chong Yidong <cyd@gnu.org>
5278 * time.el (display-time-world-mode): Derive from special-mode.
5279 (display-time-world): Use display-buffer (Bug#12708).
5280 (display-time-world-mode-map): Variable deleted.
5281 (display-time-world-display): Wrap the final delete-char inside
5284 2012-10-24 Chong Yidong <cyd@gnu.org>
5286 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5289 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5291 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * minibuffer.el (completion--all-sorted-completions-location): New var.
5294 (completion--cache-all-sorted-completions)
5295 (completion--flush-all-sorted-completions): Use it.
5296 (completion-in-region, completion-in-region--postch)
5297 (completion-at-point, completion-help-at-point): Use markers in
5298 completion-in-region--data (bug#12619).
5300 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5302 * progmodes/compile.el (compilation-start): Try to handle common
5303 quoting of `cd' argument (bug#12640).
5305 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5308 2012-10-23 Glenn Morris <rgm@gnu.org>
5310 * progmodes/gud.el (gud-menu-map):
5311 Check gdb-active-process is bound. (Bug#12358)
5313 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5315 * repeat.el (repeat): Set real-this-command (bug#12232).
5317 * htmlfontify.el (hfy-post-html-hook):
5318 * filesets.el (filesets-cache-fill-content-hook):
5319 * arc-mode.el (archive-extract-hook):
5320 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5321 * net/rcirc.el (rcirc-sentinel-functions)
5322 (rcirc-receive-message-functions, rcirc-activity-functions)
5323 (rcirc-print-functions):
5324 * net/dbus.el (dbus-event-error-functions):
5325 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5326 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5327 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5328 * term/sun.el (sun-raw-prefix-hooks):
5329 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5331 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5333 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5334 Set `tramp-chunksize' to 1. This improves the performance.
5335 (tramp-smb-wait-for-output): Add timeout to
5336 `tramp-accept-process-output' calls.
5338 2012-10-23 Chong Yidong <cyd@gnu.org>
5340 * faces.el (font-list-limit): Define as an obsolete variable.
5342 * startup.el (command-line):
5343 * cus-start.el: Don't refer to font-list-limit.
5345 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5347 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5349 * subr.el (internal-temp-output-buffer-show): Rename from
5350 temp-output-buffer-show, since previously compiled files expect this name.
5352 2012-10-23 Glenn Morris <rgm@gnu.org>
5354 * image.el (image-type-from-file-name): If multiple types match,
5355 return the first one that is supported. (Bug#9045)
5357 2012-10-22 Glenn Morris <rgm@gnu.org>
5359 * image.el (imagemagick-enabled-types): Doc fix.
5361 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5363 * progmodes/which-func.el (which-func-current): The hash-table may have
5364 an explicit nil (bug#12338).
5366 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5368 * electric.el (electric-pair-delete-selection-self-insert-function):
5369 Rename to electric-pair-will-use-region, return a boolean.
5370 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5372 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5373 (delete-selection-pre-hook): Use use-region-p.
5374 (delete-selection-self-insert-function): Remove.
5375 (self-insert-command): Obey self-insert-uses-region-functions.
5376 (self-insert-iso): Revert to previous setting, since we don't actually
5377 know what that command does.
5378 (delete-selection-self-insert-hooks): Remove.
5380 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5382 * delsel.el (delete-selection-helper): New function, extracted from
5383 delete-selection-pre-hook.
5384 (delete-selection-pre-hook): Use it.
5385 (delete-selection-self-insert-function): New function.
5386 (delete-selection-self-insert-hooks): New hook.
5387 (self-insert-command, self-insert-iso): Use it.
5388 * electric.el (electric-pair-syntax): New function, extracted from
5389 electric-pair-post-self-insert-function.
5390 (electric-pair-post-self-insert-function): Use it.
5391 (electric-pair-delete-selection-self-insert-function): New function.
5392 (electric-pair-mode): Require delsel and setup
5393 delete-selection-self-insert-hooks (bug#11520).
5395 2012-10-20 Chong Yidong <cyd@gnu.org>
5397 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5398 no changes to show (Bug#12586).
5400 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5401 list explicitly (Bug#12571).
5403 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5405 * progmodes/flymake.el (flymake-create-temp-inplace):
5408 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5410 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5412 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5414 * calc/calc-units.el (math-extract-units): Properly extract powers
5417 2012-10-20 Daniel Colascione <dancol@dancol.org>
5419 * frame.el (make-frame): Set x-display-name as we used to in order
5420 to unbreak creating an X11 frame from an Emacs daemon started
5423 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5426 the same completion-field (bug#12221).
5428 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5430 * emacs-lisp/debug.el (debug): Record height of debugger window
5431 also when debugger will be back (Bug#8789).
5433 2012-10-18 Chong Yidong <cyd@gnu.org>
5435 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5436 Convert to defcustom.
5437 (gdb-get-source-file): Don't bind pop-up-windows.
5439 * progmodes/gud.el (gud-display-line): Don't specially re-use
5440 other frames for the gdb-mi case (Bug#12648).
5442 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/advice.el: Clean up commentary a bit.
5445 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5446 (byte-code-function-p): Never redefine.
5448 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5450 2012-10-18 Glenn Morris <rgm@gnu.org>
5452 * dired.el (dired-sort-toggle): Some ls implementations only allow
5453 a single option string. (Bug#12666)
5455 * minibuffer.el (completion-cycle-threshold): Doc fix.
5457 2012-10-17 Kenichi Handa <handa@gnu.org>
5459 * international/mule.el (set-keyboard-coding-system):
5460 Recover input meta mode when the new coding system doesn not use 8-bit.
5461 Supply TERMINAL arg to set-input-meta-mode.
5463 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5465 * wdired.el (wdired-old-marks): New variable.
5466 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5467 (wdired-do-renames): Move point with renamed file and don't lose
5468 mark status (Bug#11795).
5470 2012-10-16 Juri Linkov <juri@jurta.org>
5472 * replace.el (query-replace-help): Mention multi-buffer replacement
5473 keys in the Help message. (Bug#12655)
5475 2012-10-15 Chong Yidong <cyd@gnu.org>
5477 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5479 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5481 * window.el (display-buffer): Doc fix.
5483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5484 Adjust the msft regexp to the output of Studio 2010, and move msft
5485 before edg-1. See the discussion on emacs-devel,
5486 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5489 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5491 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5492 (oset): Move uses of object-class-fast macro after its definition.
5494 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5496 2012-10-13 Chong Yidong <cyd@gnu.org>
5498 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5499 enabled, re-enable it (Bug#11963).
5501 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5503 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5504 non-nil, restore window configuration (Bug#12623).
5506 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * help-fns.el (describe-variable, describe-function-1):
5509 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5511 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5513 2012-10-12 Glenn Morris <rgm@gnu.org>
5515 * mail/rmailsum.el (rmail-header-summary):
5516 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5518 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5520 * progmodes/python.el (python-mode-map):
5521 Replace subtitute-key-definition with proper command remapping.
5522 (python-nav--up-list): Fix behavior for blocks on the same level.
5524 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5528 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5529 changes to the format of load-history.
5531 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5532 completion-ignore-case in case that var is buffer-local (bug#12615).
5534 2012-10-11 Kenichi Handa <handa@gnu.org>
5536 * international/eucjp-ms.el: Re-generated.
5538 2012-10-10 Kenichi Handa <handa@gnu.org>
5540 * select.el (xselect--encode-string): If a coding is specified for
5541 selection, and that is compatible with COMPOUND_TEXT, use it.
5543 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5545 * window.el (switch-to-buffer-preserve-window-point): New option.
5547 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5549 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5552 Don't document nil as a useful value (bug#12583).
5554 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5556 * net/tramp.el (tramp-debug-message):
5557 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5558 (with-tramp-progress-reporter): Rename from
5559 `tramp-with-progress-reporter'.
5560 (with-tramp-file-property, with-tramp-connection-property):
5561 Move from tramp-cache.el, rename from `with-file-property' and
5562 `with-connection-property', respectively.
5564 * net/tramp-cache.el: Remove `with-file-property' and
5565 `with-connection-property'.
5568 * net/tramp-gvfs.el:
5570 * net/tramp-smb.el: Adapt callees.
5572 * net/trampver.el: Update release number.
5574 2012-10-09 Glenn Morris <rgm@gnu.org>
5576 * w32-fns.el (set-message-beep):
5577 * term/w32-win.el (set-message-beep): Update declarations.
5579 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5581 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5582 (mode-line-widen, mode-line-input-method-map)
5583 (mode-line-coding-system-map, mode-line-remote)
5584 (mode-line-unbury-buffer, mode-line-bury-buffer)
5585 (mode-line-next-buffer, mode-line-previous-buffer):
5586 Replace save-selected-window+select-window => with-selected-window.
5588 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5589 * progmodes/cc-vars.el (bq-process): Remove, unused.
5591 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5593 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5595 Implemented `backward-up-list'-like navigation.
5596 * progmodes/python.el (python-nav-up-list)
5597 (python-nav-backward-up-list): New functions.
5598 (python-mode-map): Define substitute key for backward-up-list to
5599 python-nav-backward-up-list.
5601 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5603 * progmodes/python.el (python-fill-paragraph): Rename from
5604 python-fill-paragraph-function. Fixed fill-paragraph for
5605 decorators (Bug#12605).
5607 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5609 * progmodes/python.el (python-shell-output-filter): Handle extra
5610 carriage return in OSX (Bug#12409).
5612 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5614 Fix shell handling of unbalanced quotes and parens in output.
5615 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5616 (python-syntax-propertize-function): Use it.
5617 (python-shell-output-syntax-table): New var.
5618 (inferior-python-mode): Prevent unbalanced parens/quotes from
5619 previous output mess with current input context.
5621 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5623 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5624 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5626 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5628 * ffap.el (ffap-replace-file-component): Support Tramp file name
5629 syntax, not only ange-ftp's one.
5631 2012-10-08 Glenn Morris <rgm@gnu.org>
5633 * cus-start.el (message-log-max): Set :version.
5635 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5637 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5639 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5640 the minibuffer window (Bug#10851).
5642 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5644 Enhancements on forward-sexp movement.
5645 * progmodes/python.el (python-nav-beginning-of-statement)
5646 (python-nav-end-of-statement): Return point-marker.
5647 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5648 (python-info-current-symbol)
5649 (python-info-statement-starts-block-p): Rename from
5650 python-info-beginning-of-block-p.
5651 (python-info-statement-ends-block-p): Rename from
5652 python-info-end-of-block-p.
5653 (python-info-beginning-of-statement-p)
5654 (python-info-end-of-statement-p)
5655 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5658 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5661 frame-selected-windows.
5663 2012-10-08 Daniel Colascione <dancol@dancol.org>
5665 * battery.el (battery-status-function): Check for
5666 w32-battery-status itself, not system-time windows-nt.
5668 * frame.el: Require cl-lib.
5669 (display-format-alist): New variable mapping frame types to
5670 functions that initialize them.
5671 (window-system-for-display): New function: interprets
5672 display-format-alist.
5673 (make-frame-on-display): Remove existing display-selection logic
5674 and just forward to make-frame, which will now DTRT.
5675 (make-frame): Restructure to use window-system-for-display to
5676 figure out how to create a frame on a given display.
5677 (display-mouse-p): Look for frame-type w32, not a particular
5680 * loadup.el: Load w32 lisp code when we have the w32 feature.
5682 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5683 system-type windows-nt.
5685 * server.el (server-create-window-system-frame): Look for window
5687 (server-proces-filter): Only force a window system when windows-nt
5688 _and_ w32. Explain why.
5690 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5691 of window systems we configure for the mode.
5693 * startup.el (command-line): Mark window system is initialized
5694 after we've done it.
5696 * common-win.el (x-select-text): Look for w32, not windows-nt.
5698 * ns-win.el: Require cl-lib. Add ourselves to
5699 display-format-alist.
5700 (ns-initialize-window-system): Assert we're not initialized twice.
5702 * w32-win.el: Enable lexical binding; require cl-lib; add
5703 ourselves to display-format-alist.
5704 (w32-handle-dropped-file): Convert incoming dropped files from
5705 Windows paths to Cygwin ones before passing them on to the rest of
5707 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5708 (w32-initialize-window-system): Assert we're not initialized twice.
5710 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5711 (x-initialize-window-system): Assert we're not initialized twice.
5713 * w32-common-fns.el: New File.
5714 (w32-version, w32-using-nt, w32-get-clipboard-data)
5715 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5716 (w32-charset-info-alist, x-last-selected, text)
5717 (x-get-selection-value, x-selection-value): Move here.
5719 * w32-fns.el: Require w32-common-fns.
5720 (w32-version, w32-using-nt, w32-get-clipboard-data)
5721 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5722 (w32-charset-info-alist, x-last-selected, text)
5723 (x-get-selection-value, x-selection-value): Move to
5727 (w32-allow-system-shell, w32-system-shells): Define only in
5730 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5732 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5733 (read-passwd): Remove a few more potential sources of leaks.
5735 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5737 * progmodes/python.el (inferior-python-mode)
5738 (python-shell-make-comint): Fix initialization of local
5739 variables copied from parent buffer.
5741 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5743 * term/ns-win.el (ns-read-file-name): Update declaration to match
5745 (ns-respond-to-change-font): Change fontsize separately so we are sure
5746 it is set when font is acted upon.
5748 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5750 Enhancements to indentation.
5751 * progmodes/python.el (python-indent-context): Give priority to
5752 inside-string context. Make comments indentation markers.
5753 (python-indent-region): Do not mess with strings, unless it's the
5754 enclosing set of quotes.
5756 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * window.el (internal--before-save-selected-window)
5759 (internal--after-save-selected-window): New functions extracted from
5760 save-selected-window. Make sure we return the `alist' we construct.
5761 (save-selected-window): Use them.
5763 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5764 Use with-selected-window.
5766 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5767 forms that define macros (bug#12593).
5769 2012-10-07 Kenichi Handa <handa@gnu.org>
5771 * international/mule-conf.el (compound-text-with-extensions):
5772 Add :mime-charset property as x-ctext.
5774 2012-10-07 Stefan Merten <smerten@oekonux.de>
5776 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5777 (rst-indent-literal-normal, rst-indent-literal-minimized)
5778 (rst-indent-comment): Correct :version tag.
5779 (rst-official-cvs-rev): Correct version string.
5781 2012-10-07 Glenn Morris <rgm@gnu.org>
5783 * mail/rmailmm.el (rmail-mime-process-multipart):
5784 Do not confuse a multipart message with an epilogue
5785 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5787 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5789 Fix shell output retrieval and comint-prompt-regexp init.
5790 * progmodes/python.el (inferior-python-mode):
5791 (python-shell-make-comint): Fix initialization of
5792 comint-prompt-regexp from copied file local variables.
5793 (python-shell-fetched-lines): Remove var.
5794 (python-shell-output-filter-in-progress): Rename from
5795 python-shell-fetch-lines-in-progress.
5796 (python-shell-output-filter-buffer): Rename from
5797 python-shell-fetch-lines-string.
5798 (python-shell-fetch-lines-filter): Delete function.
5799 (python-shell-output-filter): New function.
5800 (python-shell-send-string-no-output): Use them.
5802 2012-10-07 Glenn Morris <rgm@gnu.org>
5804 * hi-lock.el (hi-lock-process-phrase):
5805 Try to make it less fragile. (Bug#7161)
5807 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5809 2012-10-06 Glenn Morris <rgm@gnu.org>
5811 * ehelp.el (electric-help-mode): Use help-mode rather than
5812 non-existent mode `help'.
5813 (electric-help-map): Use button-buffer-map. (Bug#10917)
5815 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5816 (reftex-create-bibtex-footer): Fix custom types.
5818 * progmodes/sh-script.el (sh-indent-after-continuation):
5819 Add explicit :group.
5821 * textmodes/rst.el (rst-preferred-decorations)
5822 (rst-shift-basic-offset): Clarify obsolescence versions.
5824 * profiler.el (profiler): Add missing group :version tag.
5825 * avoid.el (mouse-avoidance-banish-position):
5826 * proced.el (proced-renice-command):
5827 * calc/calc.el (calc-ensure-consistent-units):
5828 * calendar/icalendar.el (icalendar-import-format-uid):
5829 * net/tramp.el (tramp-save-ad-hoc-proxies):
5830 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5831 * progmodes/flymake.el (flymake-error-bitmap)
5832 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5833 * progmodes/sh-script.el (sh-indent-after-continuation):
5834 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5835 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5836 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5837 (vhdl-array-index-record-field-in-sensitivity-list)
5838 (vhdl-indent-comment-like-next-code-line):
5839 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5840 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5841 (reftex-cite-key-separator, reftex-create-bibtex-header)
5842 (reftex-create-bibtex-footer):
5843 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5844 (rst-indent-literal-normal, rst-indent-literal-minimized)
5845 (rst-indent-comment): Add missing custom :version tags.
5847 * calendar/timeclock.el (timeclock-modeline-display):
5848 Add missing obsolete alias for renamed user option.
5850 * strokes.el (strokes-modeline-string):
5851 * emulation/crisp.el (crisp-mode-modeline-string):
5852 * eshell/esh-mode.el (eshell-status-in-modeline):
5853 Aliases to defcustoms must come before the defcustom.
5855 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5856 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5857 (cal-tex-cursor-week-monday): Doc fixes.
5858 (cal-tex-cursor-week2-summary): Doc fix.
5859 Rename from cal-tex-cursor-week-at-a-glance.
5861 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5862 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5864 * calendar/calendar.el (calendar-mode-map):
5865 Add cal-tex-cursor-week2-summary.
5867 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5871 * subr.el (read-passwd-map): New var.
5872 (read-passwd): Use `read-string' again.
5873 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5875 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5877 * register.el (append-to-register, prepend-to-register):
5878 Deactivate mark, as does `copy-to-register' (bug#12389).
5880 2012-10-06 Chong Yidong <cyd@gnu.org>
5882 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5884 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5886 * international/characters.el: Fix simple mistake ((car chars) ->
5887 elt), delete duplicated code.
5889 2012-10-06 Glenn Morris <rgm@gnu.org>
5891 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5893 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5895 * color.el (color-hsl-to-rgb): Fix incorrect results for
5896 small and large hue values. (Bug#12559)
5898 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5900 Enhancements to docstring formatting when filling paragraphs.
5901 * progmodes/python.el (python-fill-docstring-style): Rename from
5902 python-fill-string-style. Added new style.
5903 (python-fill-string): Use new style. Better checks for
5906 2012-10-05 Glenn Morris <rgm@gnu.org>
5908 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5910 * color.el (color-name-to-rgb, color-rgb-to-hex)
5911 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5912 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5913 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5914 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5916 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5918 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5920 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5921 to get the correct size across symlinks.
5923 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5925 2012-10-04 Juri Linkov <juri@jurta.org>
5927 * replace.el (query-replace-interactive): Declare obsolete.
5928 (query-replace-read-from): Add the last incremental search string
5929 to the list of default values accessible via M-n.
5930 (map-query-replace-regexp): Use `read-regexp'.
5931 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5932 (map-query-replace-regexp, replace-string, replace-regexp):
5933 Fix docstrings to replace mentions of `query-replace-interactive'
5934 with alternatives. (Bug#12526)
5936 2012-10-04 Juri Linkov <juri@jurta.org>
5938 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5939 (dired-pop-to-buffer): Declare obsolete.
5940 (dired-mark-pop-up): Doc fix.
5942 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5944 Allow user to set docstring style for fill-paragraph.
5945 * progmodes/python.el
5946 (python-fill-comment-function, python-fill-string-function)
5947 (python-fill-decorator-function, python-fill-paren-function):
5948 Remove :safe for defcustoms.
5949 (python-fill-string-style): New defcustom
5950 (python-fill-paragraph-function): Enhance context detection.
5951 (python-fill-string): Honor python-fill-string-style settings.
5953 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5955 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5956 after setting its buffer (Bug#10805).
5958 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5960 Fix cornercase for string syntax.
5961 * progmodes/python.el (python-syntax-propertize-function):
5962 Simplify and enhance the regexp for unescaped quotes. Now it also
5963 matches quotes in weird situations like the single quote in
5965 (python-syntax-stringify): Simplify num-quotes detecting code.
5967 2012-10-03 Glenn Morris <rgm@gnu.org>
5969 * help-macro.el (three-step-help):
5970 Revert 2012-09-29 change. (Bug#12567)
5972 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5974 * menu-bar.el (kill-this-buffer): Don't do anything when
5975 `menu-frame' is not alive or visible (Bug#8184).
5977 * emacs-lisp/debug.el (debug): When quitting the debugger window
5978 restore current buffer (Bug#12502).
5980 2012-10-02 Chong Yidong <cyd@gnu.org>
5982 * progmodes/hideif.el (hif-lookup, hif-defined):
5983 Handle semantic-c-takeover-hideif.
5985 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5987 Change sampling interval units from ms to ns.
5988 * profiler.el (profiler-sampling-interval): Change units
5989 from ms to ns, multiplying the default by 1000000 so that
5991 (profiler-report-cpu-line-format): Give enough room for
5992 the maximum counters on 64-bit hosts.
5993 (profiler-report-render-calltree-1): Call them "CPU samples",
5994 not "Time (ms)", since they are not milliseconds now (and
5997 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5999 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6000 Fix querying BBDB for entries without a last name (Bug#11580).
6002 2012-10-02 Chong Yidong <cyd@gnu.org>
6004 * emacs-lisp/eieio.el: Restore Version header.
6006 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * vc/diff-mode.el (diff--auto-refine-data): New var.
6009 (diff-hunk): Use it to delay refinement.
6010 (diff-mode): Remove overlays when we turn off font-lock.
6012 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6013 (table-initialize-table-fixed-width-mode)
6014 (table-set-table-fixed-width-mode): Remove functions.
6015 (table-command-list): Move initialization into declaration.
6016 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6017 (table-with-cache-buffer): Use `declare'.
6018 (table-span-cell): Simplify via CSE.
6019 (table-fixed-width-mode): Use define-minor-mode.
6020 (table-call-interactively, table-funcall, table-apply): Remove.
6021 (table-function): New function, to replace them.
6023 * bookmark.el (bookmark-search-pattern): Remove var.
6024 (bookmark-read-search-input): Remove function.
6025 (bookmark-bmenu-search): Reimplement using a minibuffer.
6027 * faces.el (modeline): Remove obsolete face name.
6029 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6030 and give a non-nil default value.
6031 (add-change-log-entry): Simplify accordingly.
6033 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6035 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6036 (vc-git-log-edit-toggle-amend): New function.
6037 (vc-git-log-edit-toggle-signoff): New function.
6038 (vc-git-log-edit-mode): New major mode.
6039 (vc-git-log-edit-mode-map): Keymap for it.
6040 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6042 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6044 (log-edit-toggle-header): New function.
6045 (log-edit-extract-headers): Accept function values in HEADERS alist.
6047 2012-10-01 David Engster <deng@randomsample.de>
6049 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6050 from symbol property and change message to be more consistent with
6052 (eieio-describe-generic): Add filename for each implementation.
6053 Fix indices for generic and normal methods.
6054 (eieio-method-def, eieio-class-def): New buttons.
6055 (eieio-help-find-method-definition)
6056 (eieio-help-find-class-definition): New functions.
6057 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6058 class, constructor and method definitions.
6060 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6061 information in symbol property.
6062 (scoped-class): Remove.
6063 (eieio-slot-name-index, call-next-method): Check if it is bound.
6065 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6067 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6068 (eieio-custom-mode): New major mode.
6069 (eieio-customize-object): Use it.
6071 2012-10-01 Eric Ludlam <zappo@gnu.org>
6073 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6074 specifying the expected class, and whether subclassing is allowed.
6075 (eieio-persistent-convert-list-to-object):
6076 (eieio-persistent-validate/fix-slot-value)
6077 (eieio-persistent-slot-type-is-class-p): New functions.
6078 (eieio-named::slot-missing): Doc fix.
6080 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6081 Stop using unused publd variable.
6083 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6084 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6085 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6086 (eieio-speedbar-handle-click): Do not specify a class for the
6087 method. Fixes method invocation order problems with EDE.
6089 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6092 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6094 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6096 * bookmark.el (bookmark-version-control): Give tags in the
6097 :type choices (Bug#12309), and improve doc string.
6098 (bookmark-write-file): Bind `print-circle' to `t' to allow
6099 circular custom bookmark types. (Bug#12503)
6101 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6103 Revert the FOLLOW-SYMLINKS change for file-attributes.
6104 * files.el (remote-file-name-inhibit-cache, after-find-file):
6105 * time.el (display-time-file-nonempty-p): Undo last change.
6107 * profiler.el (profiler-sampling-interval): Change default back to 1.
6108 See Stefan Monnier in
6109 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6111 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6113 Shell output catching a la gud-gdb.
6114 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6115 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6117 (python-shell-fetch-lines-filter): New function.
6118 (python-shell-send-string-no-output): Use them.
6120 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6122 * profiler.el (profiler-sampling-interval): Rename from
6123 profiler-sample-interval.
6124 (profiler-sampling-interval): Default to 10.
6125 (profiler-find-profile): New command (was profiler-find-log).
6126 (profiler-find-profile-other-window): New command.
6127 (profiler-find-profile-other-frame): New command.
6128 (profiler-profile): Introduce API-level data structure.
6130 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6132 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6133 * files.el (remote-file-name-inhibit-cache):
6134 * time.el (display-time-file-nonempty-p): Use it.
6135 * files.el (after-find-file): Don't chase links before calling
6136 file-exists-p, as file-exists-p already does the right thing.
6138 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6140 Merge from standalone RefTeX repository.
6142 The following ChangeLog entries are shortened versions of the
6143 original ones with file paths adapted. A not so strongly edited
6144 version of the original ChangeLog can be found in the commit log.
6146 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6147 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6148 Correctly handle new value type returned by `reftex-citation'.
6150 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6151 that entries with whitespace at various places are found.
6152 Doc fix. Include entries that are cross-referenced from cited entries.
6153 Include @String definitions in the resulting bib file. Add header
6154 and footer defined in `reftex-create-bibtex-header' and
6155 `reftex-create-bibtex-footer'.
6156 (reftex-do-citation): Make it possible again to insert
6157 non-existent entries. Save match data when asking for optional
6158 arguments. Return all keys, not just the first one.
6159 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6160 all citations in the same line.
6161 (reftex-parse-bibtex-entry): Accept additional optional argument
6162 `raw' and keep quotes or braces if it is non-nil. Match fields
6163 containing hyphens besides word constituents.
6164 (reftex-get-string-refs): New function.
6165 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6166 and ask if it should be reread in case it did.
6167 (reftex-pop-to-bibtex-entry)
6168 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6169 entries with spaces or tabs in front of arguments.
6170 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6171 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6172 Match entries containing numbers and symbol constituents.
6173 (reftex-do-citation, reftex-figure-out-cite-format):
6174 Use `reftex-cite-key-separator'.
6176 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6177 (reftex-mouse-view-crossref): Explain why point is set.
6179 * textmodes/reftex-global.el: Whitespace changes.
6181 * textmodes/reftex-index.el: Move provide statement to end of
6183 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6184 (reftex-index-visit-phrases-buffer): Set marker when visiting
6185 buffer. This allows for returning from the phrases file to the
6186 file one was just editing instead of the file where the last
6187 phrases was added from.
6188 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6189 punctuation syntax as it usually is not used as string quote in
6190 TeX-related modes and may occur unmatched. The change also
6191 prevents fontification of quoted content.
6192 (reftex-index-phrases-mode): Use it.
6194 * textmodes/reftex-parse.el (reftex-parse-from-file):
6195 Move backward one char if a `\' was matched after a section macro.
6196 (reftex-parse-from-file): Use beginning of match instead of end as
6199 * textmodes/reftex-ref.el: Adapt creation of
6200 `reftex-<package>-<macro>' functions to new structure of
6201 `reftex-ref-style-alist'.
6202 (reftex-reference): Use `reftex-ref-style-list' function.
6203 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6204 reference macro if `reftex-ref-macro-prompt' is non-nil.
6205 (reftex-reference): Pass refstyle to `reftex-format-special'.
6206 Determine reference macro by looking at
6207 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6208 Use only one special format function.
6209 (reftex-varioref-vref, reftex-fancyref-fref)
6210 (reftex-fancyref-Fref): Remove definitions. The functions are now
6211 generated from `reftex-ref-style-alist'.
6212 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6214 (reftex-format-special): New function.
6216 * textmodes/reftex-sel.el
6217 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6218 of `reftex-ref-style-alist'. Remove code for testing macro type.
6219 (reftex-select-toggle-varioref)
6220 (reftex-select-toggle-fancyref): Remove.
6221 (reftex-select-cycle-ref-style-internal)
6222 (reftex-select-cycle-ref-style-forward)
6223 (reftex-select-cycle-ref-style-backward): New functions.
6224 (reftex-select-label-map): Use `v' and `V' for general cycling
6225 through reference styles. Add `p' for switching between number
6226 and page reference types.
6228 * textmodes/reftex-toc.el (reftex-re-enlarge):
6229 Call `enlarge-window' only if there is something to do because in Emacs
6230 the horizontal version throws an error even if the parameter is 0.
6232 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6233 (reftex-plug-into-AUCTeX): Doc fix.
6234 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6235 string. Adapt to new name.
6236 (reftex-ref-style-alist): Change structure so that it is not
6237 possible to use multiple different package names within a style.
6238 Remove the symbols for symbols for macro type distinction.
6239 Add characters for macro selection.
6240 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6241 (reftex-create-bibtex-footer): New variables.
6242 (reftex-format-ref-function): Mention third argument of special
6244 (reftex-ref-style-alist, reftex-ref-style-default-list):
6246 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6247 to new implementation. Mark as obsolete. Add compatibility code
6248 for honoring the variable values in case they are set.
6249 (reftex-cite-format-builtin, reftex-bibliography-commands):
6250 Add support for ConTeXt.
6251 (reftex-format-ref-function, reftex-format-cite-function):
6253 (reftex-cite-key-separator): New variable.
6255 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6256 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6257 `reftex-syntax-table' because parens have to retain their paren
6258 syntax in order for parsing of BibTeX entries like @book(...) to
6260 (reftex-in-comment): Do not error out if `comment-start-skip' is
6261 not set. Deal correctly with escaped comment characters.
6262 (reftex-tie-multifile-symbols): Add doc string.
6263 Initialize `reftex-ref-style-list'.
6264 (reftex-untie-multifile-symbols): Add doc string.
6265 (reftex-add-index-macros): Doc fix.
6266 (reftex-ref-style-activate, reftex-ref-style-toggle)
6267 (reftex-ref-style-list): New functions.
6268 (reftex-mode-menu): Use them. Adapt to new structure of
6269 `reftex-ref-style-alist'.
6270 (reftex-select-with-char): Kill the RefTeX Select buffer when
6272 (reftex-remove-if): New function.
6273 (reftex-erase-all-selection-and-index-buffers)
6274 (reftex-mode-menu): Reference styles are now computed from
6275 `reftex-ref-style-alist'. Fix typo.
6276 (reftex-report-bug): New function.
6277 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6278 algorithms with O(n log n). Introduce optional argument SORT (not
6281 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6283 Enhancements for triple-quote string syntax.
6284 * progmodes/python.el (python-syntax-propertize-function):
6285 Match both quote cases in one regexp.
6286 (python-syntax-stringify): Handle matches properly.
6288 2012-09-30 Juri Linkov <juri@jurta.org>
6290 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6291 to nil around the call to `insert' to prevent
6292 directory time modification by lock_file. (Bug#2295)
6293 * tar-mode.el (tar-summarize-buffer): Idem.
6295 2012-09-30 Juri Linkov <juri@jurta.org>
6297 * facemenu.el (list-colors-sort): Add option "Luminance".
6298 (list-colors-sort-key): Implement it.
6300 * vc/diff-mode.el (diff-refine-removed):
6301 * vc/ediff-init.el (ediff-fine-diff-A):
6302 * vc/smerge-mode.el (smerge-refined-removed):
6303 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6305 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6307 * term/ns-win.el (x-file-dialog): New function.
6309 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6311 * ido.el (ido-max-directory-size): Default to nil; the current
6312 default is small for POSIX systems, and impractical on Windows 7
6313 now that lstat returns directory sizes for NTFS.
6315 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6317 In buffer display functions handle window-height/window-width
6318 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6319 * window.el (window--display-buffer): New argument ALIST.
6320 Obey window-height and window-width alist entries.
6321 (window--try-to-split-window): New argument ALIST.
6322 Bind window-combination-limit to t when the window's size shall be
6323 changed and window-combination-limit equals `window-size'.
6324 (display-buffer-in-atom-window)
6325 (display-buffer-in-major-side-window)
6326 (display-buffer-in-side-window, display-buffer-same-window)
6327 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6328 (display-buffer-pop-up-window, display-buffer-below-selected)
6329 (display-buffer-at-bottom, display-buffer-in-previous-window)
6330 (display-buffer-use-some-window): Adjust all callers of
6331 window--display-buffer and window--try-to-split-window.
6332 (fit-frame-to-buffer): New option.
6333 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6335 (display-buffer-in-major-side-window): Evaluate window-height /
6336 window-width alist entries.
6338 * help.el (temp-buffer-resize-frames)
6339 (temp-buffer-resize-regexps): Remove options.
6340 (temp-buffer-resize-mode): Adjust doc-string.
6341 (resize-temp-buffer-window): Don't consult
6342 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6343 temp-buffer-resize-frames.
6345 * dired.el (dired-mark-pop-up):
6346 Call display-buffer-below-selected with a fit-window-to-buffer alist
6349 2012-09-30 Chong Yidong <cyd@gnu.org>
6351 * server.el (server-host): Document the security implications.
6352 (server-auth-key): Doc fix.
6354 * startup.el (initial-buffer-choice): Doc fix.
6356 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6358 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6361 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6363 * help-fns.el (help-fns--obsolete): Fix last change.
6365 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6367 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6368 (minor-mode-map-alist): Remove redundant code.
6370 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6371 visited in a buffer.
6372 (cvs-insert-visited-file): New function.
6373 (find-file-hook): Use it.
6375 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6377 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6379 (log-edit-empty-buffer-p): Don't require a space after a header.
6381 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6383 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6385 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6386 a proper minor-mode.
6388 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6390 2012-09-29 Glenn Morris <rgm@gnu.org>
6392 * winner.el (winner-mode): Remove variable (let define-minor-mode
6394 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6396 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6397 (winner-mode): Use define-minor-mode.
6399 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6400 the full definition in loaddefs, rather than duplicating it.
6402 * help-macro.el (three-step-help): No need to autoload defcustom.
6404 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6405 (inferior-lisp-program, inferior-lisp-load-command)
6406 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6407 No need to autoload defcustoms.
6409 * hippie-exp.el (hippie-expand-try-functions-list)
6410 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6411 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6412 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6413 (hippie-expand-only-buffers): No need to autoload defcustoms.
6414 * progmodes/vhdl-mode.el (vhdl-line-expand):
6415 Explicitly load hippie-exp, so it does not get autoloaded
6416 while hippie-expand-try-functions-list is let-bound.
6418 2012-09-28 Glenn Morris <rgm@gnu.org>
6420 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6422 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6423 Only "cl.el" counts as cl these days.
6425 2012-09-28 Juri Linkov <juri@jurta.org>
6427 Display archive errors in the echo area instead of inserting
6430 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6431 to STDERR-TEST that can be a regexp matching a successful output.
6432 Create a temporary file and redirect stderr to it. Search for
6433 STDERR-TEST in the stderr output and display it in the echo area
6434 if no match is found.
6435 (archive-extract-by-file): New function like
6436 `archive-extract-by-stdout' but extracting archives to files
6437 and looking for successful matches in stdout. Function body is
6438 mostly copied from `archive-rar-extract'.
6439 (archive-rar-extract): Use `archive-extract-by-file'.
6440 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6442 2012-09-28 Leo Liu <sdl.web@gmail.com>
6444 * pcomplete.el (pcomplete-show-completions):
6445 Use minibuffer-message to make pcomplete usable in minibuffer.
6447 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6449 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * type-break.el: Use lexical-binding.
6452 (type-break-mode): Use define-minor-mode.
6454 * emacs-lisp/pcase.el (pcase--mark-used): New.
6455 (pcase--u1): Use it (bug#12512).
6457 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6458 in load-history with the right file name.
6460 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6462 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6463 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6464 (doc-view-get-bounding-box): Make bounding box slicing work for
6465 ODF and DVI documents.
6467 2012-09-28 Glenn Morris <rgm@gnu.org>
6469 * type-break.el (type-break-mode, type-break-interval)
6470 (type-break-good-rest-interval, type-break-keystroke-threshold):
6471 No need to autoload.
6472 (type-break-good-rest-interval, type-break-keystroke-threshold):
6475 2012-09-28 Chong Yidong <cyd@gnu.org>
6477 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6480 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6482 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6484 2012-09-27 Glenn Morris <rgm@gnu.org>
6486 * faces.el (x-display-name): Declare (for without-x builds).
6488 * linum.el (linum-format): Don't autoload it. Improve :type.
6490 * progmodes/tcl.el: Don't require outline when compiling.
6491 (outline-regexp, outline-level): Declare.
6492 * textmodes/sgml-mode.el: Don't require outline when compiling.
6493 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6495 * term.el (term-ansi-reset):
6496 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6498 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6499 files for RCS and SCCS. (Bug#9781)
6501 2012-09-27 Chong Yidong <cyd@gnu.org>
6503 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6504 change; value should be t.
6506 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * image-mode.el: Use lexical-binding.
6509 (image-mode-winprops): Use t to stand for the window of
6510 a buffer that's not displayed.
6511 * doc-view.el (doc-view-new-window-function): Handle the new
6513 (doc-view-enlarge): Make it a real nop if the size is not changed.
6514 (doc-view-display): Handle the case where the buffer is not (yet?)
6515 displayed in any window.
6516 (doc-view-saved-settings): New var.
6517 (doc-view-mode): Use it.
6518 (doc-view-fallback-mode): Set it.
6520 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6521 Set lexical-binding.
6522 (minibuffer-eldef-shorten-default): New var.
6523 (minibuffer-default-in-prompt-regexps): Use it for new default.
6524 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6526 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6528 * international/uni-bidi.el:
6529 * international/uni-category.el:
6530 * international/uni-name.el:
6531 * international/uni-numeric.el: Regenerate.
6533 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6534 Stefan Monnier <monnier@iro.umontreal.ca>
6536 * profiler.el: New file.
6538 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6541 (testcover-reinstrument): Simplify with CSE.
6543 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6545 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6547 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6549 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6550 (verilog-auto-input, verilog-auto-insert-lisp)
6551 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6552 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6553 (verilog-auto-unused, verilog-auto-wire)
6554 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6555 newline. Reported by Andrew Jones.
6556 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6557 Reported by Brad Dobbie.
6558 (verilog-batch-delete-trailing-whitespace):
6559 Create verilog-batch-delete-trailing-whitespace.
6560 Reported by Brad Dobbie.
6561 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6562 parameters from another module. Reported by Dan Katz.
6563 (verilog-auto, verilog-auto-assign-modport)
6564 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6565 AUTOINOUTMODPORT for UVM interface module shell generation.
6566 Reported by Brad Dobbie.
6567 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6569 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6570 Reported by Matt Martin.
6572 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6574 * window.el (window--resize-child-windows): When resizing child
6575 windows proportionally, process them in reverse order to
6576 preserve the "when splitting a window the new one gets the odd
6578 (window--resize-root-window-vertically): When resizing the
6579 minibuffer window try to affect only windows at the bottom of the
6582 2012-09-25 Chong Yidong <cyd@gnu.org>
6584 * subr.el (declare): Doc fix.
6586 * help-fns.el (help-fns--obsolete): Handle macros properly.
6588 2012-09-25 Chong Yidong <cyd@gnu.org>
6590 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6591 this function obsolete.
6593 * calendar/cal-x.el (calendar-two-frame-setup)
6594 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6595 * calendar/calendar.el (american-calendar, european-calendar)
6596 (calendar-for-loop):
6597 * comint.el (comint-dynamic-simple-complete)
6598 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6599 * desktop.el (desktop-load-default):
6600 * dired-x.el (dired-omit-here-always)
6601 (dired-hack-local-variables, dired-default-directory):
6602 * emacs-lisp/derived.el (derived-mode-class):
6603 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6604 * emacs-lock.el (toggle-emacs-lock):
6605 * epa.el (epa-display-verify-result):
6606 * epg.el (epg-sign-keys, epg-start-sign-keys)
6607 (epg-passphrase-callback-function):
6608 * eshell/esh-util.el (eshell-for):
6609 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6610 (eshell-add-to-window-buffer-names):
6611 * files.el (locate-file-completion):
6612 * imenu.el (imenu-example--create-c-index)
6613 (imenu-example--create-lisp-index)
6614 (imenu-example--lisp-extract-index-name)
6615 (imenu-example--name-and-position):
6616 * international/mule-cmds.el (princ-list):
6617 * international/mule-diag.el (decode-codepage-char):
6618 * international/mule-util.el (detect-coding-with-priority):
6619 * iswitchb.el (iswitchb-read-buffer):
6620 * mail/mailalias.el (mail-complete):
6621 * mail/sendmail.el (mail-sent-via):
6622 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6623 (mouse-major-mode-menu):
6624 * password-cache.el (password-read-and-add):
6625 * pcomplete.el (pcomplete-parse-comint-arguments):
6626 * progmodes/sh-script.el (sh-maybe-here-document):
6627 * replace.el (query-replace-regexp-eval):
6628 * savehist.el (savehist-load):
6629 * simple.el (choose-completion-delete-max-match):
6630 * term.el (term-dynamic-simple-complete):
6631 * vc/ediff-init.el (ediff-check-version):
6632 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6633 * vc/vc.el (vc-diff-switches-list):
6634 * view.el (view-return-to-alist-update): Likewise.
6636 * subr.el (eval-next-after-load, makehash, insert-string)
6637 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6639 (mode-line-inverse-video): Variable deleted.
6641 * international/mule-util.el (string-to-sequence): Remove.
6643 * calendar/calendar.el (calendar-version):
6644 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6645 (icalendar-convert-diary-to-ical):
6646 * cus-edit.el (custom-mode):
6647 * ansi-color.el (ansi-color-unfontify-region):
6648 * international/latin1-disp.el (latin1-char-displayable-p):
6649 * progmodes/cwarn.el (turn-on-cwarn-mode):
6650 * progmodes/which-func.el (which-func-update-1):
6651 Use define-obsolete-function-alias.
6653 * net/newst-backend.el (newsticker-cache-filename):
6654 * net/newst-treeview.el (newsticker-groups-filename):
6655 Fix incorrect obsolescence declaration.
6657 * allout.el (allout-passphrase-hint-string): Likewise.
6658 (allout-init): Use a declare form to mark obsolete.
6660 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6661 this applies to functions.
6663 * iswitchb.el (iswitchb-read-buffer): Move code of
6664 iswitchb-define-mode-map here, and delete that obsolete function.
6666 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6667 font-lock-reference-face.
6669 2012-09-25 Glenn Morris <rgm@gnu.org>
6671 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6674 * eshell/em-term.el (eshell-term-name):
6675 Default to term-term-name. (Bug#12485)
6677 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6679 * progmodes/python.el (python-shell-send-buffer): Better handling
6680 of "if __name__ == '__main__':" conditionals when sending the buffer.
6682 2012-09-24 Glenn Morris <rgm@gnu.org>
6684 * eshell/esh-cmd.el (eshell-find-alias-function):
6685 Tighten up file-name regexp. (Bug#12499)
6687 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6689 Enhancements for triple-quote string syntax.
6690 * progmodes/python.el (python-quote-syntax): Remove.
6691 (python-syntax-propertize-function): New value.
6692 (python-syntax-count-quotes, python-syntax-stringify):
6695 2012-09-24 Chong Yidong <cyd@gnu.org>
6697 * mail/supercite.el (sc-version): Remove obsolete function.
6698 (sc-describe): Don't mark as obsolete, since it is bound.
6699 (sc-submit-bug-report): Remove.
6701 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6702 (cvs-commit-buffer-require-final-newline): Remove.
6703 (log-edit-require-final-newline)
6704 (log-edit-changelog-full-paragraphs): Default to t.
6706 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6707 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6708 * vc/vc.el (vc-checkout-carefully): Likewise.
6710 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6711 (emerge-version): Remove.
6713 * progmodes/compile.el (compile-internal): Remove.
6714 (compilation-parse-errors-function): Fix typo.
6716 * international/mule.el (set-char-table-default): Remove.
6717 (set-coding-priority, make-coding-system, generic-char-p)
6718 (charset-list, charset-bytes, charset-id): Use declare to mark
6719 functions as obsolete.
6721 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6722 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6723 * vc/vc-hooks.el (vc-default-registered): Don't use
6724 vc-master-templates.
6726 * font-lock.el (font-lock-reference-face):
6727 Use define-obsolete-variable-alias.
6729 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6730 * calendar/calendar.el (calendar-font-lock-keywords):
6731 * calendar/diary-lib.el (diary-font-lock-keywords)
6732 (diary-fancy-font-lock-keywords):
6733 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6734 * textmodes/reftex-index.el (reftex-insert-index):
6735 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6736 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6737 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6738 * progmodes/prolog.el (prolog-font-lock-keywords):
6739 * progmodes/idlwave.el (idlwave-idl-keywords):
6740 * progmodes/ada-mode.el (ada-font-lock-keywords):
6741 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6743 2012-09-24 Glenn Morris <rgm@gnu.org>
6745 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6747 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6749 * progmodes/python.el (python-indent-line): More consistent cursor
6752 2012-09-23 Stefan Merten <smerten@oekonux.de>
6754 * textmodes/rst.el: Fix compiler warning.
6756 2012-09-23 Roland Winkler <winkler@gnu.org>
6758 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6759 Transcribe also LaTeX hyphenation.
6760 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6761 bibtex-reformat-previous-options.
6763 2012-09-23 Roland Winkler <winkler@gnu.org>
6765 * proced.el (proced-renice-command): New variable.
6766 (proced-marked-processes): New function.
6767 (proced-with-processes-buffer): New macro.
6768 (proced-send-signal): Use them.
6769 (proced-renice): New command bound to r.
6771 2012-09-23 Roland Winkler <winkler@gnu.org>
6773 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6774 ibuffer-saved-filter-groups has one element, shortcut the call of
6775 completing-read. (Bug#12331)
6777 2012-09-23 Chong Yidong <cyd@gnu.org>
6779 * bindings.el (mode-line-toggle-read-only):
6780 * bs.el (bs-toggle-readonly):
6781 * buff-menu.el (Buffer-menu-toggle-read-only):
6782 * dired.el (dired-toggle-read-only):
6783 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6785 2012-09-23 Chong Yidong <cyd@gnu.org>
6787 * image.el (image-type-available-p): Adapt to init-image-library
6790 2012-09-22 Juri Linkov <juri@jurta.org>
6792 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6793 `dired-toggle-read-only'. (Bug#12462)
6795 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6797 * subr.el (temp-output-buffer-show): New function.
6798 (with-output-to-temp-buffer): Call temp-output-buffer-show
6799 instead of internal-temp-output-buffer-show.
6801 2012-09-22 Chong Yidong <cyd@gnu.org>
6803 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6806 * repeat.el (repeat): Doc fix (Bug#12348).
6808 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6811 * simple.el (shell-command-on-region): Doc fix.
6812 (read-only-mode): Doc fix.
6814 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6816 * emacs-lisp/timer.el (run-with-idle-timer)
6817 (timer-activate-when-idle): Warn against reinvoking an idle timer
6818 from within its own timer action. (Bug#12447)
6820 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6822 * cus-start.el (window-combination-limit): Add new optional
6824 * window.el (temp-buffer-window-show)
6825 (window--try-to-split-window): Handle new values of
6826 window-combination-limit (Bug#1806).
6827 (split-window): Test window-combination-limit for t instead of
6829 (display-buffer-at-bottom): New buffer display action function.
6830 * help.el (temp-buffer-resize-regexps): New option.
6831 (temp-buffer-resize-mode): Rewrite doc-string.
6832 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6833 Don't resize reused window. Suggested by Glenn Morris.
6835 2012-09-22 Stefan Merten <smerten@oekonux.de>
6837 * textmodes/rst.el: Revamp section title faces.
6838 (rst-official-version)
6839 (rst-package-emacs-version-alist): Sync with official version
6841 (rst-faces-defaults, rst-set-level-default)
6842 (rst-level-face-max, rst-level-face-base-color)
6843 (rst-level-face-base-light, rst-level-face-format-light)
6844 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6845 (rst-adornment-faces-alist): Match new setup.
6846 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6847 (rst-level-5, rst-level-6): New faces.
6849 2012-09-22 Chong Yidong <cyd@gnu.org>
6851 * simple.el (undo): Handle indirect buffers (Bug#8207).
6853 2012-09-21 Leo Liu <sdl.web@gmail.com>
6855 IDO: Disable match re-ordering for buffer switching.
6856 * ido.el (ido-buffer-disable-smart-matches): New variable.
6857 (ido-set-matches-1): Use it. (Bug#2042)
6859 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6861 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6862 Fix 2011-05-17 change. (Bug#12418)
6864 2012-09-21 Leo Liu <sdl.web@gmail.com>
6866 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6868 2012-09-21 Glenn Morris <rgm@gnu.org>
6870 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6871 Be more robust about locating simple.el.
6873 2012-09-21 Glenn Morris <rgm@gnu.org>
6875 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6877 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6879 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6881 2012-09-20 Juri Linkov <juri@jurta.org>
6883 * replace.el (query-replace-read-from): Use `read-regexp' instead
6884 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6885 (occur-read-primary-args): Use `read-regexp' instead of
6887 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6888 `read-from-minibuffer'.
6889 * isearch.el (isearch-occur): Use `read-regexp' instead of
6891 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6892 `read-from-minibuffer'.
6893 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6894 of `read-string'. (Bug#7567)
6896 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6897 and allow accepting a list of strings prepended to a list of
6898 standard default values. Doc fix. (Bug#12321)
6900 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6902 * replace.el (read-regexp): Don't add ": " when PROMPT already
6903 ends with a colon and space. (Bug#12321)
6905 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6907 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6910 2012-09-20 Stefan Merten <smerten@oekonux.de>
6912 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6913 Fixes feature request bug#11711.
6914 (rst-mode): Create `imenu-create-index-function'.
6915 (rst-get-stripped-line): Delete after refactoring.
6916 (rst-section-tree, rst-section-tree-rec)
6917 (rst-section-tree-point): Refactor and document properly.
6918 (rst-imenu-find-adornments-for-position)
6919 (rst-imenu-convert-cell, rst-imenu-create-index):
6922 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6925 (macroexp--expand-all): Use it.
6926 (macroexp--funcall-and-return): Remove by folding it into its sole
6927 caller (macroexp--warn-and-return).
6928 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6929 Use macroexp--obsolete-warning.
6931 * calc/calc.el: Fix last change by removing the whole chunk, since it
6932 was only needed back when Calc was not bundled.
6934 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6936 * emacs-lisp/debug.el (debug): Restore assignment to
6937 debugger-old-buffer removed on 2012-09-08.
6939 2012-09-20 Juri Linkov <juri@jurta.org>
6941 * dired-aux.el (dired-diff): Remove (require 'diff) since
6942 `diff-latest-backup-file' is now autoloaded.
6944 2012-09-20 Chong Yidong <cyd@gnu.org>
6946 * vc/diff.el (diff-latest-backup-file): Autoload.
6948 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * calc/calc.el: Remove redundant autoload shape check.
6951 (sel-mode): Don't defvar.
6952 (calc-get-stack-element): Add `sel-mode' arg instead.
6953 (calc-top, calc-top-list): Pass it this additional argument.
6954 * calc/calc-store.el (calc-store-map):
6955 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6956 (calc-map-equation, calc-outer-product, calc-inner-product):
6957 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6959 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6961 2012-09-19 Juri Linkov <juri@jurta.org>
6963 * dired-aux.el (dired-diff): Add (require 'diff) because
6964 `diff-latest-backup-file' is not autoloaded.
6965 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6966 of `dired-get-filename' to t to not report error when there is
6967 no default file on the current line.
6969 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6971 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6972 macroexp--eval-if-compile.
6973 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6974 (macroexp--expand-all): Use them (bug#12371).
6976 * doc-view.el (doc-view-guess-paper-size)
6977 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6979 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6981 New feature: set optimal slice from BoundingBox information.
6982 * doc-view.el (doc-view-mode-map): Add keybinding.
6983 (doc-view-menu): Add menu entry.
6984 (doc-view-set-slice): Adapt docstring.
6985 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6986 (doc-view-scale-bounding-box)
6987 (doc-view-set-slice-from-bounding-box): New functions.
6988 (doc-view-paper-sizes): New defvar.
6990 2012-09-19 Glenn Morris <rgm@gnu.org>
6992 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6993 (byte-compile-log-warning): Autoload. (Bug#12371)
6995 * calendar/calendar.el (calendar-american-month-header)
6996 (calendar-european-month-header, calendar-iso-month-header)
6997 (calendar-month-header): New options.
6998 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6999 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7001 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7003 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7005 2012-09-18 Juri Linkov <juri@jurta.org>
7007 * dired-aux.el (dired-diff): Restore original functionality of
7008 getting the default value, but keep new feature of using the
7009 latest existing backup file (`diff-latest-backup-file').
7011 2012-09-18 Juri Linkov <juri@jurta.org>
7013 * dired.el (dired-mark): If the region is active in Transient Mark
7014 mode, mark all files in the active region. Doc fix.
7015 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7016 Doc fix. (Bug#10624)
7018 2012-09-18 Juri Linkov <juri@jurta.org>
7020 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7021 attributes for M-n are pulled from the file at point.
7022 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7023 Suggested by Drew Adams. (Bug#10624)
7025 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7027 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7028 whitespace after "end".
7029 (ruby-do-end-to-brace): Collapse block to one line if it fits
7032 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7034 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7036 (debug): Don't remove debugger window when debugger is expected
7039 2012-09-18 Chong Yidong <cyd@gnu.org>
7041 * custom.el (defface): Doc fix.
7043 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7045 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7047 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7048 to initialize query-on-exit; then test that instead (bug#12288).
7050 2012-09-17 Stefan Merten <smerten@oekonux.de>
7052 * textmodes/rst.el: Add support for `testcover'.
7053 (rst-defcustom-testcover, rst-testcover-add-compose)
7054 (rst-testcover-add-1value): New functions.
7055 (rst-portable-mark-active-p): Replace by `use-region-p'.
7056 (rst-update-section, rst-classify-adornment)
7057 (rst-find-title-line): Mark `1value' forms.
7058 (rst-classify-adornment): Remove superfluous form.
7059 (rst-update-section, rst-get-adornments-around)
7060 (rst-adornment-complete-p, rst-get-next-adornment)
7061 (rst-adjust, rst-promote-region)
7062 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7063 (rst-find-pfx-in-region, rst-section-tree-rec)
7064 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7065 (rst-toc-node, rst-toc, rst-forward-section)
7066 (rst-iterate-leftmost-paragraphs)
7067 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7068 (rst-bullet-list-region)
7069 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7070 (rst-compile-find-conf, rst-compile)
7071 (rst-repeat-last-character): Fix style.
7073 2012-09-17 Chong Yidong <cyd@gnu.org>
7075 * comint.el (comint--complete-file-name-data): Don't add a space
7076 if the status is `sole'; that adds a gratuitous space in the
7077 completion-cycling case (Bug#12092).
7079 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7081 2012-09-17 Richard Stallman <rms@gnu.org>
7083 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7084 only in the mime-shown mode, not in raw mode.
7085 (rmail-mime): Toggle off mime by displaying the message without
7086 mime processing. (Bug#12305)
7088 * mail/rmail.el (rmail-retry-failure):
7089 Turn off mime processing first. (Bug#12037)
7091 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7093 2012-09-17 Chong Yidong <cyd@gnu.org>
7095 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7096 (shell-dynamic-complete-functions): Convert to defcustom.
7097 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7099 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7100 * comint.el (comint-prompt-read-only):
7101 * custom.el (defcustom):
7102 * hi-lock.el (hi-lock-mode):
7103 * ibuffer.el (ibuffer-formats):
7104 * ielm.el (ielm-prompt-read-only):
7105 * novice.el (disable-command):
7106 * saveplace.el (toggle-save-place):
7107 * speedbar.el (speedbar-supported-extension-expressions):
7108 * startup.el (auto-save-list-file-prefix, init-file-user)
7109 (after-init-hook, inhibit-startup-echo-area-message):
7110 * strokes.el (strokes-help):
7111 * time-stamp.el (time-stamp):
7112 * calendar/calendar.el (calendar, diary-file):
7113 * calendar/diary-lib.el (diary-mail-entries, diary)
7114 (diary-list-entries-hook):
7115 * calendar/holidays.el (holidays, calendar-holidays):
7116 * calendar/lunar.el (lunar-phases):
7117 * calendar/solar.el (sunrise-sunset):
7118 * emulation/edt.el (edt-load-keys):
7119 * emulation/viper.el (viper-mode):
7120 * eshell/em-alias.el (eshell-command-aliases-list):
7121 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7122 * international/ogonek.el (ogonek-information):
7123 * net/tramp-cmds.el (tramp-bug):
7124 * net/quickurl.el (quickurl-reread-hook-postfix):
7125 * play/decipher.el (decipher-font-lock-keywords):
7126 * progmodes/cc-styles.el (c-set-style):
7127 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7128 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7129 * progmodes/octave-mod.el (octave-mode):
7130 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7131 * progmodes/verilog-mode.el (verilog-read-defines):
7132 * textmodes/two-column.el (2C-mode): Likewise.
7134 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7136 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7137 that holds many addresses.
7139 2012-09-16 Chong Yidong <cyd@gnu.org>
7141 * align.el (align-areas): Call the indication function with
7142 positions instead of markers for arguments (Bug#12343).
7144 * files.el (parse-colon-path): Use split-string (Bug#12351).
7146 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7147 (display-buffer-function): Mark as obsolete.
7149 * progmodes/compile.el (compilation-parse-errors): Accept list
7150 values similar to font-lock-keywords (Bug#12136).
7151 Suggested by Oleksandr Manzyuk.
7152 (compilation-error-regexp-alist): Doc fix.
7154 2012-09-15 Glenn Morris <rgm@gnu.org>
7156 * version.el (emacs-bzr-version-bzr): New function.
7157 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7159 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7160 checkouts, check the parent dirstate matches the branch.
7161 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7164 * version.el (emacs-bzr-version): Doc fix.
7165 (emacs-bzr-version-dirstate): New function.
7166 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7167 is local try and check that it matches the branch. If not, just
7168 use dirstate information. (Bug#12441)
7170 2012-09-14 Juri Linkov <juri@jurta.org>
7172 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7175 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7179 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7180 Remove obsolete byte-compiler hack that tried to silence some warnings.
7181 (edebug-submit-bug-report): Remove.
7182 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7183 Remove aliases, use the un-prefixed name instead.
7184 (edebug-pop-to-buffer): Consider other frames.
7185 (edebug-original-read):: Make it more obvious that it's always defined.
7186 (edebug--make-form-data-entry, edebug--form-data-name)
7187 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7188 single-dashed name, and implement with cl-defstruct.
7189 (edebug-set-form-data-entry): Use the standard accessors.
7190 (edebug-make-top-form-data-entry): Use push.
7191 (edebug-no-match): Drop useless `funcall'.
7192 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7194 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7195 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7196 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7197 (easy-menu-define, with-custom-print): Remove redundant specs.
7198 (edebug-outside-overriding-local-map)
7199 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7200 (edebug--display): Bind unread-command-events directly to nil rather
7201 than binding it to unread-command-events and later setting it to nil.
7202 (edebug--display): Kill edebug-eval-buffer here...
7203 (edebug--recursive-edit): ...rather than here.
7204 Bind standard-output and standard-input.
7205 (edebug-eval): Check cl-macroexpand-all is fboundp.
7206 (edebug-temp-display-freq-count): Fix last change.
7208 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7209 * subr.el (noreturn, 1value): Add `debug' spec.
7210 * emacs-lisp/advice.el: Require cl-lib.
7211 (ad-copy-tree): Remove, use copy-tree instead.
7212 (ad-dolist): Remove use dolist or cl-dolist instead.
7213 (ad-do-return): Remove, use cl-return instead.
7214 (defadvice): Add `debug' spec.
7216 2012-09-13 Juri Linkov <juri@jurta.org>
7218 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7221 2012-09-13 Glenn Morris <rgm@gnu.org>
7223 * calc/calc.el (math-compose-expr):
7224 * calc/calc-ext.el (math-compose-expr):
7225 * progmodes/cc-defs.el (cl-macroexpand-all):
7226 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7227 (cl-macroexpand-all): Update declarations.
7229 * vc/vc.el: No need to require ediff.
7230 (ediff-load-version-control): Declare.
7231 (ediff-vc-internal): Fix declaration.
7232 (vc-version-ediff): Require ediff.
7234 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7236 Use a more backwards-compatible timer format (Bug#12430).
7237 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7238 being right after USECS, as that better supports old code that
7239 inadvisedly looked directly at the timer vector.
7241 2012-09-13 Kenichi Handa <handa@gnu.org>
7243 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7244 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7245 `coding-priority' property of these language environment.
7247 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7249 Fix glitches caused by addition of psec to timers (Bug#12430).
7250 * image.el (image-animate-timer):
7251 * time.el (display-time-world-timer):
7252 Use timer--function and timer--args rather than raw access to
7255 2012-09-13 Glenn Morris <rgm@gnu.org>
7257 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7258 If not compiling a file, try using load-file-name.
7260 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7264 (edebug-update-eval-list): Use `push'.
7266 * emacs-lisp/edebug.el: Use lexical-binding.
7267 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7268 Mark unused args with underscore.
7269 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7270 (edebug-form-data): Use defvar-local.
7271 (edebug-make-before-and-after-form, edebug-make-after-form):
7273 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7274 Not dynamically scoped any more.
7275 (edebug--enter-trace): Add arguments `function' and `args'.
7276 Rename from edebug-enter-trace.
7277 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7278 (edebug--update-coverage): Add `after-index' and `value' args.
7279 Rename from edebug-update-coverage.
7280 (edebug-slow-after): Call it accordingly.
7281 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7282 edebug-recursive-edit.
7283 (edebug--display): Call it accordingly. Add args `value',
7284 `offset-index', and `arg-mode'. Rename from edebug-display.
7285 (edebug-debugger, edebug): Call it accordingly.
7286 (edebug-eval-display-list): Use dolist.
7288 2012-09-12 Juri Linkov <juri@jurta.org>
7290 * info.el (Info-search): Don't check for isearch-mode and
7291 isearch-regexp before let-binding search-spaces-regexp to
7292 Info-search-whitespace-regexp.
7293 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7294 search-whitespace-regexp if isearch-lax-whitespace or
7295 isearch-regexp-lax-whitespace is non-nil.
7296 (Info-mode): Don't set local variable search-whitespace-regexp.
7297 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7299 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7302 (debugger-env-macro): Remove support for unread-command-char.
7304 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7305 the temporary map re-appearing on emulation-mode-map-alists.
7307 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7310 * ehelp.el (with-electric-help): Accept functions in
7311 electric-help-form-to-execute.
7312 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7313 And replace unread-command-char -> unread-command-events.
7315 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7317 Sync with Tramp 2.2.6.
7319 * net/tramp.el (tramp-accept-process-output): Don't use
7320 JUST-THIS-ONE in the XEmacs case.
7322 * net/trampver.el: Update release number.
7324 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7326 * emacs-lisp/debug.el (debugger-previous-window-height):
7328 (debug): When debugger-jumping-flag is non-nil try to restore
7329 height of debugger window. (Bug#8789)
7331 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7333 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7334 overriding-local-map and pre/post-command-hook here.
7335 (edebug-recursive-edit): Do it here instead (bug#12345).
7336 (edebug-outside-unread-command-char): Remove all uses of
7337 unread-command-char.
7339 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7340 inhibit-debugger is bound instead.
7342 2012-09-11 Bastien Guerry <bzg@gnu.org>
7344 * subr.el (set-temporary-overlay-map): Add a docstring.
7347 2012-09-11 Bastien Guerry <bzg@gnu.org>
7349 * minibuffer.el (completion-table-subvert): Fix docstring.
7352 2012-09-11 Bastien Guerry <bzg@gnu.org>
7354 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7356 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7358 * progmodes/sql.el: Version 3.1
7359 (sql-db2-escape-newlines): New variable.
7360 (sql-escape-newlines-filter): Use it.
7362 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7364 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7366 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7368 * vc/diff-mode.el (diff-mode-menu):
7369 Bind diff-remove-trailing-whitespace.
7371 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7374 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7375 (emacs-lisp-byte-code-mode): New functions.
7376 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7377 (eval-defun-2): Remove bogus interactive spec.
7378 (lisp-indent-line): Remove redundant whole-exp code, now done in
7379 indent-according-to-mode.
7380 (save-match-data): Remove redundant indent data.
7382 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7385 2012-09-09 Juri Linkov <juri@jurta.org>
7387 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7388 (replace-lax-whitespace, query-replace-regexp)
7389 (query-replace-regexp-eval, replace-regexp): Doc fix.
7390 (perform-replace, replace-highlight): Let-bind
7391 isearch-lax-whitespace to replace-lax-whitespace and
7392 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7394 * isearch.el (isearch-query-replace): Let-bind
7395 replace-lax-whitespace to isearch-lax-whitespace and
7396 replace-regexp-lax-whitespace to
7397 isearch-regexp-lax-whitespace. (Bug#10885)
7399 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7401 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7403 2012-09-09 Alan Mackenzie <acm@muc.de>
7405 * progmodes/cc-engine.el (c-state-cache-init):
7406 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7407 (c-record-parse-state-state):
7408 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7410 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7412 * register.el (register-separator): Rename from
7413 separator-register. All uses changed. Doc fix.
7414 (register): Fix version.
7416 2012-09-09 Chong Yidong <cyd@gnu.org>
7418 * replace.el (query-replace-map): Bind four new symbols for
7419 requesting window scrolling.
7421 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7422 query-replace-map (Bug#8948).
7424 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7426 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7427 since they are now in query-replace-map.
7429 * window.el (scroll-other-window-down): Make the arg optional.
7431 2012-09-09 Chong Yidong <cyd@gnu.org>
7433 * files.el (hack-local-variables-confirm): Use quit-window to kill
7434 the *Local Variables* buffer.
7436 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7438 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7439 not just expect to be at its beginning. Adjust callees.
7440 Succeed when do-end block has no space before the pipe character.
7441 (ruby-brace-to-do-end): When the original block is one-liner,
7442 convert to multiline. Reindent the result.
7444 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7446 * register.el (register): New group.
7447 (separator-register): New user option.
7448 (increment-register): Route it to `append-to-register', if
7449 register contains text. Implication is that `C-x r +' can now be
7450 used for appending to a text register (bug#12217).
7451 (append-to-register, prepend-to-register): Add separator based on
7452 `separator-register'.
7454 2012-09-08 Alan Mackenzie <acm@muc.de>
7456 AWK Mode: make auto-newline work when there's "==" in the pattern.
7457 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7459 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7460 Test more rigorously for "=" token.
7462 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7464 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7465 Only fail when reached LIMIT.
7467 2012-09-08 Chong Yidong <cyd@gnu.org>
7469 * dired.el (dired-mode-map): Don't bind M-=.
7471 * dired-aux.el (dired-diff): Use backup file as default.
7473 2012-09-08 Drew Adams <drew.adams@oracle.com>
7475 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7477 2012-09-08 Chong Yidong <cyd@gnu.org>
7479 * subr.el (syntax-after, syntax-class): Doc fix.
7481 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7483 * window.el (display-buffer-in-previous-window): New buffer
7484 display action function.
7486 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7487 (debugger-previous-window): New variable.
7488 (debug): Rewrite using display-buffer-in-previous-window,
7489 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7491 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7495 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7497 * progmodes/python.el (python-shell-send-string):
7498 When default-directory is remote, create temp file on remote
7500 (python-shell-send-file): When file is remote, pass local view of
7501 file paths to remote Python interpreter. (Bug#12340)
7503 2012-09-07 Chong Yidong <cyd@gnu.org>
7505 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7507 * files.el (after-find-file): Don't fail on a read-only buffer if
7508 require-final-newline is `visit' or `visit-save' (Bug#11156).
7510 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7512 * userlock.el (ask-user-about-supersession-threat):
7513 Use read-char-choice (Bug#12093).
7515 2012-09-07 Chong Yidong <cyd@gnu.org>
7517 * subr.el (buffer-narrowed-p): New function.
7519 * ses.el (ses-widen):
7520 * simple.el (count-words--buffer-message):
7521 * net/browse-url.el (browse-url-of-buffer): Use it.
7523 * simple.el (count-words-region): Don't signal an error if there
7524 is a non-nil prefix arg and the mark is not set.
7526 * help.el (describe-key-briefly): Allow the message to be seen
7527 when invoked from the minibuffer (Bug#7014).
7529 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7531 * progmodes/ruby-mode.el (ruby-end-of-defun)
7532 (ruby-beginning-of-defun): Simplify, allow indentation before
7533 block beginning and end keywords.
7534 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7535 (ruby-end-of-defun): Expect that the point is at the beginning of
7538 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7540 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7542 (cl--make-usage-args): Strip _ from argument names.
7544 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7546 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7547 obsolete alias speedbar-key-map.
7548 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7549 (vhdl-index-menu-init): Don't use obsolete variable
7550 font-lock-maximum-size.
7552 2012-09-06 Chong Yidong <cyd@gnu.org>
7554 * frame.el (window-system-version): Mark as obsolete.
7556 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7557 of obsolete variable speedbar-key-map.
7559 2012-09-06 Juri Linkov <juri@jurta.org>
7561 * replace.el (replace-lax-whitespace): New defcustom.
7562 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7563 (replace-string, replace-regexp): Mention it in docstrings.
7564 (perform-replace, replace-highlight): Let-bind
7565 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7566 to the values of replace-lax-whitespace and regexp-flag.
7567 Don't let-bind search-whitespace-regexp. (Bug#10885)
7569 * isearch.el (isearch-query-replace): Let-bind
7570 replace-lax-whitespace instead of let-binding
7571 replace-search-function and replace-re-search-function.
7572 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7573 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7574 (isearch-toggle-symbol): Set isearch-regexp to nil
7575 in isearch-word mode (like in isearch-toggle-word).
7577 2012-09-06 Juri Linkov <juri@jurta.org>
7579 * replace.el (replace-search-function)
7580 (replace-re-search-function): Set default values to nil.
7581 (perform-replace): Let-bind isearch-related variables based on
7582 replace-related values, call `isearch-search-fun' and let-bind
7583 the result to `search-function'. Remove code that sets
7584 `search-function' and `search-string' separately for
7586 (replace-highlight): Add new argument `delimited-flag' and
7587 rename other arguments to the names used in `perform-replace'.
7588 Let-bind `isearch-word' to the argument `delimited-flag'.
7589 (Bug#10885, bug#10887)
7591 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7593 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7594 ruby-beginning-of-indent, simplify, allow all keywords to have
7595 indentation before them.
7596 (ruby-beginning-of-indent): Adjust for above. Search until the
7597 found point is not inside a string or comment.
7598 (ruby-font-lock-keywords): Allow symbols to start with "@"
7599 character, give them higher priority than variables.
7600 (ruby-syntax-propertize-function)
7601 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7602 matchers. Expression expansions are not comments when inside a
7603 string, and there comment syntax status is irrelevant.
7604 (ruby-match-expression-expansion): New function. Check that
7605 expression expansion is inside a string, and it's not escaped.
7606 (ruby-font-lock-keywords): Use it.
7608 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7610 * help.el (temp-buffer-max-height): New default value.
7611 (temp-buffer-resize-frames): New option.
7612 (resize-temp-buffer-window): Optionally resize frame.
7614 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7615 (fit-frame-to-buffer): New function.
7617 2012-09-05 Glenn Morris <rgm@gnu.org>
7619 * emulation/cua-rect.el (cua--init-rectangles):
7620 * textmodes/picture.el (picture-mode-map):
7621 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7622 like forward-char and backward-char. (Bug#12317)
7624 2012-09-05 Leo Liu <sdl.web@gmail.com>
7626 * progmodes/flymake.el (flymake-warning-re): New variable.
7627 (flymake-parse-line): Use it.
7629 2012-09-05 Glenn Morris <rgm@gnu.org>
7631 * calendar/holidays.el (holiday-christian-holidays):
7632 Rename an entry. (Bug#12289)
7634 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7636 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7639 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7641 * loadup.el: Load macroexp. Remove hack.
7642 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7643 (macroexp--expand-all): Use it to get better warnings.
7644 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7645 (internal-macroexpand-for-load): New functions.
7646 (macroexp--pending-eager-loads): New var.
7647 (emacs-startup-hook): New hack to replace one in loadup.el.
7648 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7649 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7650 (cl-psetf): Simplify.
7651 (cl-defstruct): Add indent rule.
7653 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7655 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7656 over `user-mail-address' for the SMTP MAIL FROM envelope.
7657 (smtpmail-via-smtp): Ditto.
7659 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7661 * progmodes/ruby-mode.el: Clean up keybindings.
7662 (ruby-mode-map): Don't bind ruby-electric-brace,
7663 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7664 backward-kill-word, reindent-then-newline-and-indent.
7665 (ruby-mark-defun): Remove.
7666 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7667 (ruby-mode): Set local beginning-of-defun-function and
7668 end-of-defun-function values.
7670 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7672 * window.el (temp-buffer-window-setup-hook)
7673 (temp-buffer-window-show-hook): New hooks.
7674 (temp-buffer-window-setup, temp-buffer-window-show)
7675 (with-temp-buffer-window): New functions.
7676 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7677 (special-display-popup-frame): Make sure the window used shows BUFFER.
7679 * help.el (temp-buffer-resize-mode): Fix doc-string.
7680 (resize-temp-buffer-window): New optional argument WINDOW.
7682 * files.el (recover-file, save-buffers-kill-emacs):
7683 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7685 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7687 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7688 remote definition of `default-directory', ensure we can connect.
7690 2012-09-02 Juri Linkov <juri@jurta.org>
7692 Toggle whitespace matching mode with M-s SPC.
7693 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7695 * isearch.el (search-whitespace-regexp): Doc fix.
7696 Remove cons cell customization.
7697 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7698 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7700 (isearch-forward, isearch-forward-regexp): Doc fix.
7701 (isearch-toggle-lax-whitespace): New command.
7702 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7703 (re-search-forward-lax-whitespace)
7704 (re-search-backward-lax-whitespace): New functions.
7705 (isearch-whitespace-regexp): Remove function.
7706 (isearch-query-replace): Let-bind replace-search-function and
7707 replace-re-search-function.
7708 (isearch-occur): Let-bind search-spaces-regexp according to the
7709 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7710 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7711 condition for C-q SPC.
7712 (isearch-search-fun-default): Use new functions mentioned above.
7713 (isearch-search-forward, isearch-search-backward): Remove functions.
7714 (isearch-search): Don't let-bind search-spaces-regexp.
7715 (isearch-lazy-highlight-space-regexp): Remove variable.
7716 (isearch-lazy-highlight-lax-whitespace)
7717 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7718 (isearch-lazy-highlight-new-loop): Use them.
7719 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7721 2012-09-02 Chong Yidong <cyd@gnu.org>
7723 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7725 2012-09-02 Glenn Morris <rgm@gnu.org>
7727 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7729 2012-09-01 Glenn Morris <rgm@gnu.org>
7731 * term.el: Tidy up menu definitions.
7732 (term-mode-map): Use easymenu for In/Out, Complete menus.
7733 (term-pager-break-map): Initialize in the defvar.
7734 (term-terminal-menu, term-signals-menu): Define with easymenu.
7735 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7736 (term-pager-menu): New, extracted from term-process-pager.
7737 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7738 (term-update-mode-line): Propertize line/char and page items.
7739 (term-process-pager): Move keymap initialization elsewhere.
7741 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7743 * window.el (switch-to-prev-buffer): Handle additional values of
7744 BURY-OR-KILL argument. Don't switch in minibuffer window.
7745 (switch-to-next-buffer): Don't switch in minibuffer window.
7746 (quit-restore-window): New function based on quit-window.
7747 Handle additional values of former KILL argument.
7748 (quit-window): Call quit-restore-window with appropriate
7749 interpretation of KILL argument.
7750 (display-buffer-below-selected): New buffer display action
7753 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * minibuffer.el (completion-at-point-functions): Complete docstring
7758 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7760 Better seed support for (random).
7761 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7762 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7763 * play/mpuz.el, play/tetris.el, play/zone.el:
7764 * calc/calc-comb.el (math-init-random-base):
7765 * play/blackbox.el (bb-init-board):
7766 * play/life.el (life):
7767 * server.el (server-use-tcp):
7768 * type-break.el (type-break):
7769 Remove unnecessary call to (random t).
7770 * net/sasl.el (sasl-unique-id-function):
7771 Change (random t) to (random), now that the latter is more random.
7772 * play/life.el (life-initialized): Remove no-longer-needed var.
7774 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7776 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7777 Consider frame's buffer predicate when choosing the buffer.
7780 2012-08-30 Richard Stallman <rms@gnu.org>
7782 * simple.el (special-mode-map): Delete binding for `z'.
7784 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7786 * progmodes/compile.el (compilation-always-kill): Doc fix.
7788 2012-08-30 Chong Yidong <cyd@gnu.org>
7790 * window.el (display-buffer-reuse-frames): Make the obsolescence
7791 message more informative.
7793 2012-08-30 Glenn Morris <rgm@gnu.org>
7795 * paren.el (show-paren-delay):
7796 Add a :set function. Doc fix. (Bug#12297)
7798 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7800 * progmodes/compile.el (compilation-always-kill): New var.
7801 (compilation-start): Use it.
7803 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7805 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7806 * files.el (read-only-mode): Move to simple.el.
7808 * files.el (read-only-mode): New minor mode.
7809 (toggle-read-only): Use it and mark obsolete.
7810 (find-file--read-only):
7811 * vc/vc.el (vc-next-action, vc-checkout):
7812 * vc/vc-cvs.el (vc-cvs-checkout):
7813 * obsolete/vc-mcvs.el (vc-mcvs-update):
7814 * ffap.el (ffap--toggle-read-only): Update callers.
7816 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7818 * eshell/esh-ext.el (eshell-external-command): Do not examine
7819 remote shell scripts.
7820 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7822 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7825 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7827 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7829 2012-08-28 Leo Liu <sdl.web@gmail.com>
7831 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7832 completion-at-point. (Bug#12220)
7834 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7836 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7838 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7841 be buffer-local; add delete-trailing-whitespace (bug#12259).
7843 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7845 * progmodes/hideif.el (hif-compress-define-list):
7846 Fix typo. (Bug#11951)
7848 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7850 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7851 buffer local setting.
7853 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7854 rcirc-encode-coding-system.
7856 2012-08-28 Leo Liu <sdl.web@gmail.com>
7858 * net/rcirc.el (rcirc-split-message): New function.
7859 (rcirc-send-message): Use it. (Bug#12051)
7861 2012-08-28 Juri Linkov <juri@jurta.org>
7863 * info.el (Info-fontify-node): Hide empty lines at the end of
7864 the node. (Bug#12272)
7866 2012-08-27 Drew Adams <drew.adams@oracle.com>
7868 * dired.el (dired-pop-to-buffer): Make window start at beginning
7869 of buffer (Bug#12281).
7871 2012-08-26 Chong Yidong <cyd@gnu.org>
7873 * window.el (special-display-regexps, special-display-frame-alist)
7874 (special-display-buffer-names, special-display-function)
7875 (display-buffer-reuse-frames): Mark as obsolete.
7877 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7879 * help.el (help-print-return-message): Don't treat
7880 display-buffer-reuse-frames specially.
7882 2012-08-26 Chong Yidong <cyd@gnu.org>
7884 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7885 New variable, replacing gdb-frame-parameters.
7886 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7887 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7888 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7889 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7890 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7891 the functions directly with gdb-display-buffer-other-frame-action.
7892 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7893 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7894 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7895 (gdb-display-registers-buffer): Define directly.
7896 (def-gdb-display-buffer): Macro deleted.
7897 (gdb-display-buffer): Remove second and third args, callers don't
7898 use them. Defer to the default display-buffer behavior, apart
7899 from making windows dedicated.
7900 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7902 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7904 * window.el (display-buffer-pop-up-frame): Handle a
7905 pop-up-frame-parameters alist entry.
7906 (display-buffer): Document it.
7908 2012-08-26 Chong Yidong <cyd@gnu.org>
7910 * isearch.el (search-whitespace-regexp): Make string and nil
7911 values apply to both ordinary and regexp search. Allow a cons
7912 cell value to distinguish between the two.
7913 (isearch-whitespace-regexp, isearch-search-forward)
7914 (isearch-search-backward): New functions.
7915 (isearch-occur, isearch-search-fun-default, isearch-search)
7916 (isearch-lazy-highlight-new-loop): Use them.
7917 (isearch-forward, isearch-forward-regexp): Doc fix.
7919 2012-08-26 Chong Yidong <cyd@gnu.org>
7921 * faces.el (help-argument-name): Always inherit from italic
7924 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7926 * window.el (window--even-window-heights): Even heights when
7927 WINDOW and the selected window form a vertical combination.
7928 (display-buffer-use-some-window): Provide that window used gets
7929 sized back by quit-window. (Bug#11880) and (Bug#12091)
7931 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7933 Fix file time stamp problem with bzr and CVS (Bug#12001).
7934 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7935 in the file's time stamp, since the version control system loses
7938 2012-08-22 Juri Linkov <juri@jurta.org>
7940 * info.el (Info-fontify-node): Hide the suffix of the
7941 Info file name in the header line. (Bug#12187)
7943 2012-08-22 Glenn Morris <rgm@gnu.org>
7945 * calendar/cal-tex.el (cal-tex-weekly-common):
7946 Restore leading blank page.
7948 2012-08-22 Le Wang <l26wang@gmail.com>
7950 * misc.el (forward-to-word, backward-to-word): Activate or extend
7951 the region under `shift-select-mode'. (Bug#12231)
7953 2012-08-22 Bastien Guerry <bzg@gnu.org>
7955 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7956 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7957 gives details on why the space is never needed.
7959 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7961 * window.el (walk-window-tree, window-with-parameter):
7962 New optional argument MINIBUF to control whether these functions
7963 should run on the minibuffer window.
7964 (window-at-side-list): Don't operate on minibuffer window.
7965 (window-in-direction): Simplify and rewrite doc-string.
7966 (window--size-ignore): Rename to window--size-ignore-p.
7968 (display-buffer-in-atom-window, window--major-non-side-window)
7969 (window--major-side-window, display-buffer-in-major-side-window)
7970 (delete-side-window, display-buffer-in-side-window):
7972 (window--side-check, window-deletable-p, delete-window)
7973 (delete-other-windows, split-window): Handle side windows and
7974 atomic windows appropriately.
7975 (window--display-buffer): Call display-buffer-record-window also
7976 when the window buffer did not change.
7978 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7980 * help-fns.el (help-fns--key-bindings):
7981 Abbreviate non-symbol remap targets. (Bug#12174)
7983 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7985 * dired.el (dired-mark-remembered): Don't clobber point.
7988 2012-08-22 Glenn Morris <rgm@gnu.org>
7990 * progmodes/bug-reference.el (bug-reference): New custom group.
7991 (bug-reference-bug-regexp): Make it a defcustom.
7993 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7995 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7996 (js-paren-indent-offset, js-square-indent-offset)
7997 (js-curly-indent-offset): Add :safe (Bug#12257).
7999 2012-08-22 Edward O'Connor <hober0@gmail.com>
8001 * json.el (json-key-format): Add error properties.
8002 (json-encode-key): New function.
8003 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8004 Use json-encode-key.
8006 2012-08-22 Glenn Morris <rgm@gnu.org>
8008 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8009 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8010 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8011 Update for above change.
8013 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8015 * cus-face.el (custom-face-attributes): Fix customize type for the
8016 :underline attribute. (Bug#11805)
8018 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8020 * window.el (window-point-1, set-window-point-1): Remove.
8021 (window-in-direction, record-window-buffer)
8022 (set-window-buffer-start-and-point, split-window-below)
8023 (window--state-get-1, display-buffer-record-window):
8024 Replace calls to window-point-1 and set-window-point-1 by calls to
8025 window-point and set-window-point respectively.
8027 2012-08-21 Glenn Morris <rgm@gnu.org>
8029 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8030 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8033 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8034 (cal-tex-shortday): New function.
8035 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8036 (cal-tex-cursor-filofax-daily): Use the above.
8038 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8040 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8041 (cal-tex-cursor-filofax-week): Use them.
8043 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8045 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8046 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8048 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8049 (cal-tex-end-document): Don't rely on buffer name.
8051 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8053 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8054 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8055 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8058 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8059 (cal-tex-cursor-week, cal-tex-cursor-week2)
8060 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8062 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8063 (cal-tex-insert-preamble, cal-tex-b-document)
8064 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8065 Improve cal-tex-cmd usage.
8067 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8068 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8069 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8070 (cal-tex-weekly-paper): New function.
8071 (cal-tex-cursor-week, cal-tex-cursor-week2)
8072 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8073 (cal-tex-cursor-day): Use it.
8075 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8076 (cal-tex-cursor-filofax-week): Remove leading blank page.
8078 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8079 Add autoload cookie. For now at least, don't use color, since
8080 no other cal-tex function does.
8082 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8083 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8084 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8086 2012-08-21 Juri Linkov <juri@jurta.org>
8088 * info.el (Info-file-attributes): New variable.
8089 (info-insert-file-contents): Add file attributes to
8090 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8091 `Info-toc-nodes' when previous modtime of the Info file is less
8093 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8094 of info.el. (Bug#12230)
8096 2012-08-20 Glenn Morris <rgm@gnu.org>
8098 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8099 * calendar/holidays.el (calendar-holiday-list):
8100 Report errors with display-warning rather than beep'n'sleep.
8102 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8104 * net/tramp.el (tramp-accept-process-output): Accept only output
8105 from PROC. Otherwise, process filters and sentinels might be
8106 confused. (Bug#12145)
8108 2012-08-20 Chong Yidong <cyd@gnu.org>
8110 * descr-text.el (describe-text-properties-1): Use overlays-in to
8111 report on empty overlays (Bug#3322).
8113 2012-08-20 Glenn Morris <rgm@gnu.org>
8115 * mail/rmailout.el (rmail-output-read-file-name):
8116 Trap and report errors in rmail-output-file-alist elements.
8118 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8119 since most non-font-lock faces are not also variables).
8121 2012-08-20 Edward Reingold <reingold@iit.edu>
8123 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8124 New function. (Bug12160)
8126 2012-08-19 Glenn Morris <rgm@gnu.org>
8128 * mail/rmailout.el (rmail-output-read-file-name):
8129 Fix previous change (when the alist is nil or does not match).
8131 2012-08-19 Chong Yidong <cyd@gnu.org>
8133 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8136 2012-08-18 Chong Yidong <cyd@gnu.org>
8138 * simple.el (yank-handled-properties): New defcustom.
8139 (yank-excluded-properties): Add font-lock-face and category.
8142 * subr.el (remove-yank-excluded-properties):
8143 Obey yank-handled-properties. The special handling of font-lock-face
8144 and category is now done this way, instead of being hard-coded.
8145 (insert-for-yank-1): Remove font-lock-face handling.
8146 (yank-handle-font-lock-face-property)
8147 (yank-handle-category-property): New function.
8149 2012-08-17 Glenn Morris <rgm@gnu.org>
8151 * mail/rmailout.el (rmail-output-read-file-name):
8152 Check rmail-output-file-alist against the full message body
8153 in the correct rmail buffer. (Bug#12214)
8155 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8158 Eliminate superfluous prompt. (Bug#12203)
8160 2012-08-17 Chong Yidong <cyd@gnu.org>
8162 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8163 font spec, set the font directly (Bug#3228).
8165 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8167 * window.el (delete-window): Fix last fix.
8169 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8171 * window.el (window-valid-p): Move to window.c.
8172 (window-child, window-child-count, window-last-child)
8173 (window-normalize-window, window-combined-p)
8174 (window-combinations, window-atom-root, window-min-size)
8175 (window-sizable, window-sizable-p, window-size-fixed-p)
8176 (window-min-delta, window-max-delta, window--resizable)
8177 (window--resizable-p, window-resizable, window-total-size)
8178 (window-full-height-p, window-full-width-p, window-body-size)
8179 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8180 (minimize-window, window-deletable-p, delete-window)
8181 (delete-other-windows, set-window-buffer-start-and-point)
8182 (next-buffer, previous-buffer, split-window, balance-windows-2)
8183 (set-window-text-height, window-buffer-height)
8184 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8185 (truncated-partial-width-window-p): Minor code adjustments.
8186 In doc-strings state whether the argument window has to denote a
8187 live, valid or any window.
8189 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8191 * progmodes/subword.el (subword-forward-function)
8192 (subword-backward-function, subword-forward-regexp)
8193 (subword-backward-regexp): New variables.
8194 (subword-forward, subword-forward-internal, subword-backward-internal):
8195 Use new variables, eg so that different "word" definitions
8196 can be easily used. (Bug#11411)
8198 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8200 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8201 for composite selectors.
8202 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8203 operation just because we can't find a previous revision.
8205 2012-08-15 Chong Yidong <cyd@gnu.org>
8207 * frame.el (set-frame-font): Accept font objects.
8209 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8213 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8215 * man.el (Man-overstrike-face, Man-underline-face)
8216 (Man-reverse-face): Remove variables.
8217 (Man-overstrike, Man-underline, Man-reverse): New faces.
8218 (Man-fontify-manpage): Use them instead of the variables.
8219 (Man-cleanup-manpage): Comment change.
8220 (Man-ansi-color-map): New variable.
8221 (Man-fontify-manpage): Use it.
8222 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8224 Implement ANSI SGR parameters 22-27 (bug#12146).
8225 * ansi-color.el (ansi-colors): Doc fix.
8226 (ansi-color-context, ansi-color-context-region): Doc fix.
8227 (ansi-color--find-face): New function.
8228 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8229 Rename the local variable `face' to `codes' since it is now a list of
8230 ansi codes. Doc fix.
8231 (ansi-color-get-face): Remove.
8232 (ansi-color-parse-sequence): New function, derived from
8233 ansi-color-get-face.
8234 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8237 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8239 * subr.el (read-passwd): Allow use from a minibuffer.
8241 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8243 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8244 inside comments and strings as identifiers.
8246 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8247 expression to evaluate. This allows to evaluate expressions with
8248 embedded whitespace.
8249 (gud-tooltip-tips): Add a blank before the newline in the
8250 message-box text, for the benefit of message-box emulation on
8253 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8254 messages from GDB, pop them up in a tooltip to give feedback to
8256 (gdb-tooltip-print-1): Quote the expression to evaluate.
8257 This allows to evaluate expressions with embedded whitespace.
8258 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8259 if the TTY name is nil or empty (which happens when communicating
8260 with the inferior via pipes, e.g. on MS-Windows).
8261 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8262 don't send that to the GUD buffer.
8264 2012-08-14 Glenn Morris <rgm@gnu.org>
8266 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8267 Optimize away setq-default with no args, as for setq. (Bug#12195)
8269 2012-08-14 Chong Yidong <cyd@gnu.org>
8271 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8273 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8276 2012-08-14 Glenn Morris <rgm@gnu.org>
8278 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8280 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8282 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8283 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8284 Use cached shell name.
8286 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8288 * progmodes/python.el (python-shell-send-string):
8289 (python-shell-send-setup-code): Do not use `format' with `message'.
8291 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8293 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8294 (ruby-percent-literal-beg-re): New constant.
8295 (ruby-syntax-general-delimiters-goto-beg): Rename to
8296 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8297 (ruby-syntax-propertize-general-delimiters): Rename to
8298 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8299 popular term. Adjust comments everywhere.
8300 (ruby-syntax-propertize-percent-literal): Only propertize when not
8301 inside a simple string or comment. When the literal is unclosed,
8302 leave the text after it unpropertized.
8303 (ruby-syntax-methods-before-regexp): New constant.
8304 (ruby-syntax-propertize-function): Use it to recognize regexps.
8305 Don't look at the text after regexp, just use the whitelist.
8307 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8309 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8310 non-nil always load the compiled file if it exists. (Bug#12197)
8312 2012-08-14 Chong Yidong <cyd@gnu.org>
8314 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8315 (hi-lock-set-pattern): When deciding whether to use font lock or
8316 overlays, look at font-lock-mode instead of font-lock-fontified
8318 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8319 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8321 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8323 * subr.el (internal--after-with-selected-window): Fix typo
8326 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8328 Use `completion-table-dynamic' for completion functions.
8329 * progmodes/python.el
8330 (python-shell-completion--do-completion-at-point)
8331 (python-shell-completion--get-completions):
8333 (python-shell-completion-complete-at-point): New function.
8334 (python-completion-complete-at-point): Use it.
8336 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8338 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8339 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8341 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8343 * subr.el (function-get): Refine `autoload' arg so it can also
8344 autoload functions for gv.el (bug#12191).
8345 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8348 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8349 Prefer pcase-let over destructuring-bind.
8350 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8351 Also, remove whitespace as we go, rather than after accumulating the
8354 * subr.el (internal--before-with-selected-window)
8355 (internal--after-with-selected-window): Fix typo seleted->selected.
8356 (with-selected-window): Adjust callers.
8357 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8359 2012-08-13 Bastien Guerry <bzg@gnu.org>
8361 * window.el (special-display-popup-frame): Minor docstring
8362 enhancement. (Bug#12172)
8364 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8366 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8368 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8371 * files.el (hack-local-variables-filter): Remove useless eval.
8373 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8375 * subr.el (with-selected-window): Fix last change.
8377 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8379 * subr.el (internal--before-with-seleted-window)
8380 (internal--after-with-seleted-window): New functions.
8381 (with-selected-window): Use them, to replace dependency on
8384 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8386 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8387 binding for `newline'.
8388 (ruby-move-to-block): When moving backward, stop at block opening,
8390 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8391 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8392 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8393 `ruby-toggle-block'.
8395 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * ibuffer.el (ibuffer-do-toggle-read-only):
8398 * dired.el (dired-toggle-read-only):
8399 * buff-menu.el (Buffer-menu-toggle-read-only):
8400 * bindings.el (mode-line-toggle-read-only):
8401 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8403 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8405 * descr-text.el (describe-char): Put the overlays over the
8406 "displayed as" character.
8408 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8410 * calc/calc-units.el (math-default-units-table): Give an
8412 (math-put-default-units): Add options to put composite units and
8413 unit systems in the default units table.
8414 (calc-convert-units): Send composite units to
8415 `math-put-default-units' when appropriate.
8417 2012-08-11 Glenn Morris <rgm@gnu.org>
8419 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8421 * tutorial.el (help-with-tutorial):
8422 * emacs-lisp/copyright.el (copyright-update-directory):
8423 * emacs-lisp/autoload.el (autoload-find-generated-file)
8424 (autoload-find-file): Disable local eval: (for insurance).
8426 * files.el (hack-local-variables-filter): If an eval: form is not
8427 known to be safe, and enable-local-variables is :safe, then ignore
8428 the form totally, as is done for non-eval forms. (Bug#12155)
8429 This is CVE-2012-3479.
8431 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8434 (rx-form): Simplify.
8436 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8438 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8439 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8440 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8441 (ruby-syntax-propertize-function): Adjust for changes in
8442 `ruby-syntax-propertize-heredoc'.
8444 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8446 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8447 binding (use `M-;' instead).
8448 (ruby-singleton-class-p): New function.
8449 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8451 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8453 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8455 2012-08-10 Chong Yidong <cyd@gnu.org>
8457 * progmodes/python.el (python-shell-get-process-name): Don't mess
8458 with same-window-buffer-names.
8460 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8461 (eshell-remove-from-window-buffer-names): Make obsolete.
8462 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8463 (eshell): Just use pop-to-buffer-same-window instead.
8465 2012-08-10 Chong Yidong <cyd@gnu.org>
8467 * bindings.el: Bind M-= back to count-words-region.
8469 * simple.el (count-words-region): Accept a prefix arg for acting
8470 on the entire buffer.
8471 (count-words--buffer-message): New helper function.
8473 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8475 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8476 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8477 (event-start, event-end): Use posn-at-point to return a more
8479 (posnp): New function.
8480 * mouse.el (popup-menu-normalize-position): Use it.
8482 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8484 * mouse.el (popup-menu-normalize-position): New function.
8485 (popup-menu): Use `popup-menu-normalize-position' to normalize
8486 the form for POSITION argument.
8488 * term/x-win.el (x-menu-bar-open):
8489 Use the value returend from (posn-at-point) as position
8490 passed to `popup-menu'.
8492 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8494 * calc/calccomp.el (math-compose-expr): Add extra argument
8495 indicating that parentheses should be put around products in
8496 denominators. Give multiplication precedence over division during
8499 2012-08-09 Chong Yidong <cyd@gnu.org>
8501 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8502 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8503 (Man-untabify-command, manual-program): Convert to defcustom
8506 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8508 * descr-text.el (describe-char): Don't insert extra newlines
8511 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8512 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8514 * align.el (align-region): Delete temporary markers (Bug#10047).
8515 Plus some code cleanups.
8517 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8519 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8520 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8521 (python-shell-internal-last-output): Use make-local-variable
8522 instead of make-variable-buffer-local.
8524 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8526 * progmodes/python.el: Enhancements to forward-sexp.
8527 (python-nav-forward-sexp): Rename from
8528 python-nav-forward-sexp-function.
8529 (python-nav--forward-sexp, python-nav--backward-sexp):
8532 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8534 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8535 modes and simplification modes.
8537 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * delsel.el (delete-selection-pre-hook): Don't propagate the
8540 file-supersession signals (bug#12161).
8542 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8545 (cl-map-extents): Add compatibility aliases (bug#12135).
8547 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8549 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8550 tests by `ignore-error'.
8551 (tramp-find-shell): Open also a new shell, when cache is already
8552 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8554 2012-08-08 Juri Linkov <juri@jurta.org>
8556 * bookmark.el: Add `defaults' property to the bookmark record.
8557 (bookmark-current-buffer): Doc fix.
8558 (bookmark-make-record): Add `defaults' property with default values
8559 to the bookmark record.
8560 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8561 with `bookmark-insert-current-bookmark'.
8562 (bookmark-set): Get `defaults' property from the bookmark record
8563 and use it in `read-from-minibuffer'.
8564 (bookmark-insert-current-bookmark): Remove function.
8566 * info.el (Info-bookmark-make-record): Add `defaults' property
8567 with values of canonical Info node name, the current Info file
8568 name and the current Info node name. (Bug#12107)
8570 2012-08-08 Juri Linkov <juri@jurta.org>
8572 * files.el (basic-save-buffer): Use `buffer-name' as the default
8573 of `read-file-name' when buffer is not visiting a file (bug#12128).
8575 2012-08-08 Juri Linkov <juri@jurta.org>
8577 * info.el (Info-isearch-search): Doc fix.
8578 (Info-search): Change search-failed message from "initial node" to
8579 "end of node" (bug#12078).
8580 (Info-isearch-search): Change `isearch-string-state' to
8581 `isearch--state-string'.
8583 2012-08-08 Glenn Morris <rgm@gnu.org>
8585 * language/persian.el: Remove file.
8586 * language/misc-lang.el: Move unique part of persian.el here.
8587 * loadup.el: Remove language/persian.
8589 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8591 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8593 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8595 * progmodes/python.el: Fix defsubst warning.
8596 (python-syntax-context) Rename from python-info-ppss-context.
8597 (python-syntax-context-type): Rename from
8598 python-info-ppss-context-type.
8599 (python-syntax-comment-or-string-p): Rename from
8600 python-info-ppss-comment-or-string-p.
8602 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8604 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8606 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8608 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8609 a defcustom that is quoted with backquote.
8611 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8612 Fix handling of interactive spec when the body uses return.
8613 (math-do-arg-check, math-define-function-body): Use backquote forms.
8614 * calc/calc-ext.el (math-defcache): Likewise.
8615 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8616 * allout.el (allout-new-exposure): Likewise.
8617 * calc/calcalg2.el (math-tracing-integral): Likewise.
8618 * info.el (Info-last-menu-item): Likewise.
8619 * emulation/vip.el (vip-loop): Likewise.
8620 * textmodes/artist.el (artist-funcall): Likewise.
8621 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8622 Construct menu-item directly.
8624 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8627 2012-08-07 Chong Yidong <cyd@gnu.org>
8629 * simple.el (deactivate-mark): Preserve text properties when
8630 saving the primary selection (Bug#8384).
8632 2012-08-07 Kevin Ryde <user42@zip.com.au>
8634 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8635 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8636 and continue processing (Bug#12110).
8638 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8641 syntax-propertize-function (bug#10095).
8643 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8645 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8646 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8647 describe-function-1.
8648 (describe-function-1): Use them. Move compiler macro after sig.
8649 (help-fns--compiler-macro): Use function-get. Assume we're already in
8650 standard-output. Adjust layout to new call order.
8652 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8653 re-binding a symbol that has a symbol-macro (bug#12119).
8655 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8657 * language/persian.el: New file. (Bug#11812)
8658 * loadup.el: Add language/persian.el.
8660 2012-08-06 Chong Yidong <cyd@gnu.org>
8662 * window.el (window--maybe-raise-frame): New function.
8663 (window--display-buffer): Split off from here.
8664 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8665 (display-buffer-pop-up-window, display-buffer-use-some-window):
8666 Obey an inhibit-switch-frame action alist entry.
8667 (display-buffer): Update doc.
8669 * replace.el (occur-after-change-function): Avoid losing focus by
8670 using the inhibit-switch-frame display parameter (Bug#12139).
8672 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8674 Make internal shell process buffer names start with space.
8675 * progmodes/python.el (python-shell-make-comint): Add optional
8677 (run-python-internal): Use it.
8678 (python-shell-internal-get-or-create-process): Check for new
8679 internal buffer names.
8681 2012-08-06 Glenn Morris <rgm@gnu.org>
8683 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8684 Do less getting and setting of environment variables.
8686 2012-08-05 Chong Yidong <cyd@gnu.org>
8688 * proced.el (proced): Add substitution string to docstring to
8689 trigger autoloading of the proced library on C-h f (Bug#1768).
8691 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8692 Don't show defvars which have no second argument (Bug#8638).
8694 * imenu.el (imenu-generic-expression): Move documentation here
8695 from imenu--generic-function.
8696 (imenu--generic-function): Refer to imenu-generic-expression.
8698 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8700 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8701 indentation declaration.
8702 (viper-loop): Add indentation declaration (Bug#7025).
8704 2012-08-05 Chong Yidong <cyd@gnu.org>
8706 * help-fns.el (describe-variable): Add hyperlink for
8707 directory-local variables files. Improve buffer-local and
8708 permanent-local reporting; suggested by MON KEY (Bug#6644).
8710 * help-mode.el (help-dir-local-var-def): New button type.
8712 * files.el (kill-buffer-hook): Provide a defvar.
8714 2012-08-05 Glenn Morris <rgm@gnu.org>
8716 * eshell/esh-ext.el (eshell/addpath):
8717 Also update eshell-path-env. (Bug#12013)
8719 2012-08-05 Chong Yidong <cyd@gnu.org>
8721 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8723 * fringe.el (fringe-styles): Add docstring.
8724 (fringe--check-mode): New function.
8725 (set-fringe-mode, set-fringe-style): Use it.
8726 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8728 * files.el (set-auto-mode): Fix invalid setq call.
8730 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * isearch.el: Misc simplification; use defstruct.
8733 (isearch-mode-map): Dense maps now work like sparse ones.
8734 (isearch--state): New defstruct.
8735 (isearch-string-state, isearch-message-state, isearch-point-state)
8736 (isearch-success-state, isearch-forward-state)
8737 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8738 (isearch-wrapped-state, isearch-barrier-state)
8739 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8740 replaced by defstruct's accessors.
8741 (isearch--set-state): Rename from isearch-top-state and change
8743 (isearch-push-state): Use new isearch--get-state.
8744 (isearch-toggle-word): Disable regexp when enabling word.
8745 (isearch-message-prefix): Remove unused arg _c-q-hack.
8746 (isearch-message-suffix): Remove unused arg _ellipsis.
8748 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8750 * simple.el (list-processes--refresh): For a server use :host or
8751 :local as the address.
8752 (list-processes): Doc fix.
8754 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8756 * lisp/mpc.el: Support password in host argument.
8757 (mpc--proc-connect): Parse and use new password element.
8758 Set mpc-proc variable instead of returning process.
8759 (mpc-proc): Adjust accordingly.
8761 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8763 * whitespace.el (whitespace-display-mappings): Use Unicode
8764 codepoints, instead of emacs-mule codepoints. See
8765 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8768 * files.el (file-truename): Don't skip symlink-chasing part on
8769 windows-nt. Incorporate the resolution of 8+3 short aliases on
8770 Windows into the loop that recursively chases symlinks.
8771 Compare directory and its parent case-insensitively on MS-Windows and
8774 2012-08-03 Chong Yidong <cyd@gnu.org>
8776 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8778 * sort.el (sort-regexp-fields): Doc fix.
8780 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8782 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8783 labels regex position point at the expected place.
8785 2012-08-03 MON KEY <monkey@sandpframing.com>
8787 * net/imap.el (imap-interactive-login, imap-authenticate)
8788 (imap-mailbox-lsub, imap-mailbox-list)
8789 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8790 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8791 (imap-parse-response): Doc fix.
8793 2012-08-03 João Távora <joaotavora@gmail.com>
8795 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8796 if sexp scanning does not move point (Bug#5734).
8798 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8800 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8801 Add listings, minted, and ctable packages.
8802 (reftex-label-alist-builtin): Move listings, minted, and ctable
8803 entries before LaTeX.
8804 (reftex-label-alist): Docfix.
8806 2012-08-02 Bastien Guerry <bzg@gnu.org>
8808 * replace.el (occur): Fix docstring (bug#12122).
8810 2012-08-02 Glenn Morris <rgm@gnu.org>
8812 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8814 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8816 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8817 * international/mule-cmds.el: Create
8818 inactivate-current-input-method-function as an obsolete alias for
8819 deactivate-current-input-method-function. See Katsumi Yamaoka in
8820 <http://bugs.gnu.org/10150#46>.
8822 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8824 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8827 2012-08-01 Glenn Morris <rgm@gnu.org>
8829 * progmodes/autoconf.el (autoconf-definition-regexp):
8830 Add AH_TEMPLATE, adjust submatch numbering.
8831 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8832 (autoconf-current-defun-function): Update for above change.
8833 (autoconf-current-defun-function): First skip to end of current word.
8835 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8837 * calendar/cal-html.el (cal-html-insert-agenda-days):
8838 Fix typo. (Bug#12018)
8840 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8842 Shell processes: enhancements to startup and CEDET compatibility.
8843 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8844 (python-shell-make-comint): accept-process-output at startup.
8845 (run-python-internal): Set inferior-python-mode-hook to nil.
8846 (python-shell-internal-get-or-create-process): call sit-for.
8847 (python-preoutput-result): Add obsolete alias.
8848 (python-shell-internal-send-string): Use it.
8849 (python-shell-send-setup-code): Remove call to
8850 accept-process-output.
8852 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8854 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8857 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8859 * calc-mode.el (calc-basic-simplification-mode): Rename from
8860 `calc-limited-simplification-mode'.
8861 (calc-alg-simplification-mode): New function.
8862 (calc-set-simplify-mode): Adjust message.
8864 * calc.el (calc-set-mode-line): Adjust mode line display for
8865 basic simplification mode.
8867 * calc-help.el (calc-m-prefix-help): Update help message.
8869 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8870 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8872 2012-07-31 Bastien Guerry <bzg@gnu.org>
8874 * man.el (man): Fix comment. (bug#12101)
8876 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8878 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8879 Don't return a non-nil value when no suitable buffer was found.
8881 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8883 * progmodes/python.el (run-python-internal): Disable font lock for
8886 2012-07-30 Stefan Merten <smerten@oekonux.de>
8888 * textmodes/rst.el: Silence `checkdoc-ispell'.
8889 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8890 (rst-official-version, rst-official-cvs-rev)
8891 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8892 (rst-mode-map): New key binding.
8894 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8896 Update .PHONY listings in makefiles.
8897 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8898 autoloads, update-subdirs, updates, bzr-update, update-authors,
8899 compile-onefile, compile-calc, backup-compiled-files,
8900 compile-after-backup, compile-one-process, mh-autoloads,
8901 bootstrap-clean, distclean, maintainer-clean.
8903 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8905 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8906 (calc-set-mode-line): Don't display "AlgSimp ".
8908 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8909 (calc-lim-simplify-mode): New function.
8910 (calc-set-simplify-mode): Default to 'alg.
8911 (calc-default-simplify-mode): Make algebraic simplifications
8914 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8915 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8917 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8918 indicate new simplification modes.
8920 * calc/README: Mention new default simplification mode.
8922 * calc/calc.el (math-normalize-error): New variable.
8923 (math-normalize): Set `math-normalize-error' to t
8924 when there's an error.
8926 * calc/calc-alg.el (math-simplify): Don't simplify when
8927 `math-normalize' returns an error.
8929 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8931 * international/mule-cmds.el (set-locale-environment): Revert last
8932 change, since display-graphic-p returns nil when this function is
8933 called during startup. Instead...
8935 * term/w32console.el (terminal-init-w32console): ...setup the
8936 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8938 2012-07-29 Juri Linkov <juri@jurta.org>
8940 * simple.el (goto-line): Don't display default line number in the
8941 prompt because it should be displayed by `read-number' (bug#9952).
8942 Add the current line number to the defaults of `goto-line' to
8943 allow its easier modification by users with `M-n' (bug#9201).
8945 * subr.el (read-number): Support multiple default values like in
8946 other minibuffer reading functions. Replace `read' with
8947 `string-to-number' for consistency with `number-to-string'.
8949 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8951 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8952 * emulation/viper-init.el (viper-deactivate-input-method-action):
8953 Rename from viper-inactivate-input-method-action.
8954 (viper-deactivate-input-method):
8955 Rename from viper-inactivate-input-method.
8956 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8957 * international/mule-cmds.el (deactivate-input-method):
8958 Rename from inactivate-input-method.
8959 Also run input-method-deactivate-hook.
8960 (deactivate-current-input-method-function):
8961 Rename from inactivate-current-input-method-function.
8962 (input-method-deactivate-hook): New hook.
8963 (input-method-inactivate-hook): Mark obsolete.
8964 (inactivate-input-method): Mark obsolete.
8966 * international/quail.el (quail-activate):
8967 Also run quail-deactivate-hook.
8968 (quail-deactivate): Rename from quail-inactivate.
8969 * international/robin.el (robin-activate):
8970 Also run robin-deactivate-hook.
8971 (robin-deactivate): Rename from robin-inactivate.
8973 2012-07-29 Chong Yidong <cyd@gnu.org>
8975 * simple.el (indicate-copied-region): New function.
8976 (kill-ring-save): Split off from here.
8978 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8979 (kill-rectangle): Set deactivate-mark to t on read-only error.
8981 * register.el (copy-to-register, copy-rectangle-to-register):
8982 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8983 (append-to-register, prepend-to-register): Call indicate-copied-region.
8985 2012-07-29 Juri Linkov <juri@jurta.org>
8987 * simple.el (async-shell-command-buffer): New defcustom.
8988 (shell-command): Use it. (Bug#4719)
8990 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8992 * international/mule-cmds.el (set-locale-environment): In a
8993 console session on MS-Windows, set up keyboard and terminal
8994 encoding from the OEM codepage, not the ANSI codepage.
8997 2012-07-28 Chong Yidong <cyd@gnu.org>
8999 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9002 2012-07-28 Leo Liu <sdl.web@gmail.com>
9004 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9005 the alist (bug#12029).
9007 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9009 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9010 (compile-always, compile-first)
9011 ($(lisp)/calendar/cal-loaddefs.el)
9012 ($(lisp)/calendar/diary-loaddefs.el)
9013 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9014 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9015 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9016 instead of on update-subdirs.
9017 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9019 2012-07-28 Chong Yidong <cyd@gnu.org>
9021 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9022 directory if vc-deduce-backend returns nil (Bug#7350).
9024 * simple.el (delete-trailing-lines): New option.
9025 (delete-trailing-whitespace): Obey it (Bug#11879).
9027 2012-07-28 David Engster <deng@randomsample.de>
9029 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9030 Explanation of new 'symbol-qnames feature in doc-strings.
9031 (xml-maybe-do-ns): Return expanded names as plain symbols if
9032 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9033 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9035 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9037 Consistent completion in inferior python with emacs -nw.
9038 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9039 binding in inferior-python-mode-map with "\t".
9040 (python-shell-completion-complete-at-point)
9041 (python-completion-complete-at-point): Remove interactive spec.
9043 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9045 * calc/calccomp.el (math-compose-expr): Undo previous change.
9047 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9049 * progmodes/python.el (python-mode-map): Add keybinding for
9051 (python-shell-make-comint): Fix pop-to-buffer call.
9052 (run-python): Autoload. New arg SHOW.
9053 (python-shell-get-or-create-process): Do not pop python process
9056 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9058 * notifications.el (notifications-on-action-signal)
9059 (notifications-on-closed-signal): Use also the bus address for the map.
9060 (notifications-notify, notifications-close-notification)
9061 (notifications-get-capabilities): Add optional argument BUS.
9063 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9065 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9066 Add support for the lstlisting and minted environments, and for the
9068 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9069 labels written in keyvals syntax.
9071 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9073 * calc/calccomp.el (math-compose-expr): Use parentheses when
9074 there is a product in the denominator of a fraction.
9076 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9078 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9079 ($(lisp)/calendar/diary-loaddefs.el)
9080 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9081 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9082 Fixes failures in parallel bootstrap because subdirs.el is being
9083 rewritten while the autoload files are built at the same time,
9084 which needs to load subdirs.el.
9086 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9088 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9089 (mouse-drag-line): Don't exit tracking when a switch-frame or
9090 switch-window event occurs (Bug#12006).
9092 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * mouse.el (popup-menu): Fix last change.
9096 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9098 Autoload from Lisp with more care. Follow aliases when looking for
9099 function properties.
9100 * subr.el (autoloadp): New function.
9101 (symbol-file): Use it.
9102 (function-get): New function.
9103 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9105 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9106 (lisp-indent-function):
9107 * emacs-lisp/gv.el (gv-get):
9108 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9109 * emacs-lisp/byte-opt.el (byte-optimize-form):
9110 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9111 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9113 * emacs-lisp/cl.el: Don't propagate function properties any more.
9115 * speedbar.el (speedbar-add-localized-speedbar-support):
9116 * emacs-lisp/disass.el (disassemble-internal):
9117 * desktop.el (desktop-load-file):
9118 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9119 (describe-function-1):
9120 * emacs-lisp/find-func.el (find-function-noselect):
9121 * emacs-lisp/elp.el (elp-instrument-function):
9122 * emacs-lisp/advice.el (ad-has-proper-definition):
9123 * apropos.el (apropos-safe-documentation, apropos-macrop):
9124 * emacs-lisp/debug.el (debug-on-entry):
9125 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9126 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9127 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9129 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9131 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9132 function, not an obsolete variable (Bug#12046).
9134 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9136 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9138 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9140 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9141 window only if it is still live (Bug#12034).
9143 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9145 * subr.el (redirect-frame-focus): Add advertised calling
9146 convention (Bug#12030).
9148 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9150 Prefer typical American spelling for "acknowledgment".
9151 * vc/add-log.el (change-log-acknowledgment): Rename from
9152 change-log-acknowledgement, with an alias for the old name.
9154 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9156 * calc-alg.el (math-simplify-divide): Don't cross multiply
9157 in an equation when the lhs is a variable.
9159 2012-07-24 Julien Danjou <julien@danjou.info>
9161 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9164 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9166 * startup.el (command-line): Don't display an empty user name in
9167 the error message about non-existent home directory, when
9168 init-file-user was set to an empty string. See
9169 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9170 for the details and context.
9172 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9174 * ses.el (ses-cell-formula-aset): New macro.
9175 (ses-cell-references-aset): New macro.
9176 (ses-cell-p): New function.
9177 (ses-rename-cell): Do no longer rely on complex operations like
9178 ses-cell-set-formula or ses-set-cell to change the cell and handle
9179 the undo at the same time, but rather use lower level new macros
9180 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9181 the undo directly. Refresh the mode line.
9183 2012-07-21 Leo Liu <sdl.web@gmail.com>
9185 * progmodes/cc-cmds.el (c-defun-name):
9186 Use match-string-no-properties instead for consistency.
9188 2012-07-20 Leo Liu <sdl.web@gmail.com>
9190 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9193 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9195 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9198 * progmodes/bug-reference.el, misearch.el: Provide themselves
9201 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9202 of narrowed buffer (bug#11966).
9204 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9206 * ses.el (ses-rename-cell): Set new name also in reference list of
9207 cells of which the renamed cell depends.
9209 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9211 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9212 to check whether menu-bar is shown or not. If not shown,
9213 show the menu-bar as a popup menu instead of using tmm.
9214 * mouse.el (popup-menu): Accept `point' as `position' argument.
9216 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9218 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9219 up inside string symbol literal (bug#11923).
9221 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9223 * startup.el (fancy-startup-text): Read the whole tutorial, not
9224 just its first 256 bytes. Prevents gibberish in display of the
9227 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9229 Drop idle buffer compaction due to an absence of the
9231 * compact.el: Remove.
9233 2012-07-19 Sam Steingold <sds@gnu.org>
9235 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9236 vc-bzr-pull & vc-bzr-merge-branch.
9237 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9238 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9239 for consistency with compilation-error-regexp-alist.
9240 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9241 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9242 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9243 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9245 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9247 * emacs-lisp/chart.el: Use lexical-binding.
9248 (chart-emacs-storage): Don't hardcode the list of entries.
9250 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9252 Next round of tweaks caused by Fgarbage_collect changes.
9253 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9255 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9257 Compact buffers when idle.
9258 * compact.el: New file.
9260 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * subr.el (eventp): Presume that if it looks vaguely like an event,
9263 it's an event (bug#10190).
9265 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9267 Enhancements to ppss related code (thanks Stefan).
9268 * progmodes/python.el (python-indent-context)
9269 (python-indent-calculate-indentation, python-indent-dedent-line)
9270 (python-indent-electric-colon, python-nav-forward-block)
9271 (python-mode-abbrev-table)
9272 (python-info-assignment-continuation-line-p): Simplify checks
9274 (python-info-continuation-line-p): Cleanup.
9275 (python-info-ppss-context): Do not catch 'quote.
9276 (python-info-ppss-context-type)
9277 (python-info-ppss-comment-or-string-p): Simplify.
9279 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9281 * progmodes/python.el: Enhancements to eldoc support.
9282 (python-info-current-symbol): New function.
9283 (python-eldoc-at-point): Use python-info-current-symbol.
9284 (python-info-current-defun): Fix cornercase on first defun scan.
9285 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9286 and signal error when no inferior python process is available.
9288 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9290 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9291 assume it's always t.
9292 (vc-git-registered): Remove caching, the function is only called
9294 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9296 2012-07-18 Chong Yidong <cyd@gnu.org>
9298 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9300 * simple.el (count-words): Report on narrowing (Bug#9959).
9302 * bindings.el: Bind M-= to count-words.
9304 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9306 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9308 * progmodes/sh-script.el (sh-imenu-generic-expression):
9309 Capture a function with `function' keyword and without parentheses
9310 like "function FOO" (bug#11856).
9312 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9314 * window.el (split-window-sensibly): Make WINDOW argument
9317 2012-07-18 Chong Yidong <cyd@gnu.org>
9319 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9321 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9322 and make C-x 8 RET exit isearch (Bug#11439).
9324 * international/iso-transl.el: Move isearch-mode-map key
9325 definitions to isearch.el.
9327 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9329 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9330 (eieio-defclass): Use gv-define-setter when possible.
9332 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9334 Reflect recent changes in Fgarbage_collect.
9335 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9336 reflect new format of data returned by Fgarbage_collect.
9338 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9340 New utility functions + python-info-ppss-context fix (Bug#11910).
9341 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9342 (python-info-ppss-comment-or-string-p): New functions.
9343 (python-info-ppss-context): Small fix for string check.
9345 2012-07-17 Juri Linkov <juri@jurta.org>
9347 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9348 (dired-do-async-shell-command): Don't add `*' at the end of the
9349 command (Bug#11815).
9350 (dired-do-shell-command): Doc fix.
9351 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9352 Join the individual commands using either "&" or ";" as the
9353 separator depending on the values of these trailing characters.
9354 At the end re-add the trailing "&". (Bug#10598)
9356 * simple.el (async-shell-command): Sync the interactive spec with
9357 `shell-command'. Doc fix.
9358 (shell-command): Doc fix.
9360 2012-07-17 Juri Linkov <juri@jurta.org>
9362 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9364 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9366 Final renames and doc fixes for movement commands (bug#11899).
9367 * progmodes/python.el (python-nav-beginning-of-statement):
9368 Rename from python-nav-statement-start.
9369 (python-nav-end-of-statement): Rename from
9370 python-nav-statement-end.
9371 (python-nav-beginning-of-block): Rename from
9372 python-nav-block-start.
9373 (python-nav-end-of-block): Rename from python-nav-block-end.
9375 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9377 * progmodes/python.el (python-shell-send-string-no-output):
9378 Allow accept-process-output to quit, keeping shell process ready for
9379 future interactions (Bug#11868).
9381 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9385 * emacs-lisp/elint.el (elint-find-args-in-code):
9386 Use help-function-arglist, so as to handle lexical byte-code.
9388 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9391 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9394 Avoid spuriously marking the buffer as modified because of c-is-sws.
9396 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9397 as not-a-comment (bug#11946).
9399 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9400 for uninterned vars.
9402 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9403 Use read-event since we don't really want to read chars but bytes.
9405 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9406 $$..$$ but also $..$ using regexps (bug#11953).
9407 Use tex-verbatim for \url and \path.
9408 (tex-font-lock-keywords): Define as defconst like the others.
9409 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9411 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9413 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9414 alias for insert-char.
9416 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9418 * progmodes/python.el: Simplified imenu implementation.
9419 (python-nav-jump-to-defun): Remove command.
9420 (python-mode-map): Use `imenu' instead.
9421 (python-nav-list-defun-positions-cache)
9422 (python-imenu-include-defun-type, python-imenu-make-tree)
9423 (python-imenu-subtree-root-label, python-imenu-index-alist):
9425 (python-nav-list-defun-positions, python-nav-read-defun)
9426 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9427 (python-imenu-make-tree, python-imenu-create-index):
9429 (python-mode): Update to interact with imenu by setting
9430 `imenu-extract-index-name-function' only.
9432 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9434 * progmodes/python.el: Enhancements to navigation commands.
9435 (python-nav-backward-sentence)
9436 (python-nav-forward-sentence): Remove.
9437 (python-nav-backward-statement, python-nav-forward-statement)
9438 (python-nav-statement-start, python-nav-statement-end)
9439 (python-nav-backward-block, python-nav-forward-block)
9440 (python-nav-block-start, python-nav-block-end)
9441 (python-nav-forward-sexp-function)
9442 (python-info-current-line-comment-p)
9443 (python-info-current-line-empty-p): New functions.
9444 (python-indent-context): Use `python-nav-statement-start'.
9446 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9448 * eshell/em-ls.el (eshell/ls): Use `apply'.
9450 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9451 multi-hops, instead of Tramp internals.
9453 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9455 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9456 when F1 and F2 are located on different hosts.
9458 2012-07-14 Chong Yidong <cyd@gnu.org>
9460 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9461 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9462 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9463 (xterm-mouse--read-event-sequence-1000)
9464 (xterm-mouse--read-event-sequence-1006): New functions. For old
9465 mouse protocol, handle M-mouse-X events correctly.
9466 (xterm-mouse-event): New arg specifying mouse protocol.
9467 (turn-on-xterm-mouse-tracking-on-terminal)
9468 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9469 sequence to toggle extended coordinates on newer XTerms.
9470 This appears to be harmless on terminals which do not support this.
9472 2012-07-14 Leo Liu <sdl.web@gmail.com>
9474 Add fringe bitmap indicators for flymake. (Bug#11253)
9475 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9476 (flymake-make-overlay): New arg BITMAP.
9477 (flymake-error-bitmap, flymake-warning-bitmap)
9478 (flymake-fringe-indicator-position): New user variables.
9480 * fringe.el: New bitmap exclamation-mark.
9482 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9484 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9487 2012-07-14 Chong Yidong <cyd@gnu.org>
9489 * electric.el (electric-pair-post-self-insert-function): Fix pair
9490 insertion in empty-region case (Bug#11520).
9492 2012-07-14 Chong Yidong <cyd@gnu.org>
9494 * bindings.el: Consolidate ctl-x-r-map bindings.
9495 Bind copy-rectangle-as-kill to C-x r w.
9497 * rect.el, register.el: Move bindings to bindings.el.
9499 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9501 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9503 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9505 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9507 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9509 * bindings.el (top): Use `mapc' instead of `mapcar'.
9511 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9513 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9515 * progmodes/sql.el (sql-comint): Suppress the check for program on
9516 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9519 2012-07-13 Chong Yidong <cyd@gnu.org>
9521 * bindings.el: Assign a non-nil permanent-local property to
9522 per-buffer variables which lack a default value (Bug#11930).
9524 * help-fns.el (describe-variable): In the "automatically becomes
9525 local" notice, take note of permanent-local variables.
9527 2012-07-13 Chong Yidong <cyd@gnu.org>
9529 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9530 to allow printing the message when called from Lisp.
9532 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9533 Remove toggle-read-only.
9535 * bs.el (bs-toggle-readonly):
9536 * buff-menu.el (Buffer-menu-toggle-read-only):
9537 Remove with-no-warnings around toggle-read-only.
9539 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9540 Remove with-no-warnings around toggle-read-only.
9541 (ffap-read-only, ffap-read-only-other-window)
9542 (ffap-read-only-other-frame): Callers changed.
9544 * help-mode.el: Don't require view package.
9545 (help-mode-finish): Set buffer-read-only instead of calling
9548 * bindings.el (mode-line-toggle-read-only):
9549 * dired.el (dired-toggle-read-only):
9550 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9551 with non-nil second arg.
9553 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9554 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9557 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9559 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9562 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9564 More CL cleanups and reduction of use of cl.el.
9565 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9566 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9567 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9568 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9569 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9570 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9571 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9572 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9573 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9574 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9575 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9576 * eshell/em-cmpl.el, eshell/em-banner.el:
9577 * calendar/parse-time.el: Use cl-lib.
9578 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9579 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9580 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9581 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9582 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9583 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9584 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9585 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9586 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9587 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9588 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9589 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9590 `lambda' rather than with `quote'.
9591 (eshell-do-opt): Adjust accordingly.
9592 (eshell-process-option): Simplify.
9593 * eshell/esh-var.el:
9594 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9595 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9596 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9597 to `pcase--dontcare'.
9598 * emacs-lisp/cl.el (labels): Mark obsolete.
9599 (cl--letf, letf): Move to cl-lib.
9600 (cl--letf*, letf*): Remove.
9601 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9602 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9603 (cl-progv): Rewrite.
9604 (cl--letf, cl-letf): Move from cl.el.
9605 (cl-letf*): New macro.
9606 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9608 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9610 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9612 2012-07-11 Chong Yidong <cyd@gnu.org>
9614 * vc/log-edit.el (log-edit-vc-backend): New variable.
9615 (log-edit): Doc fix.
9617 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9618 argument of log-edit to set up all local variables.
9619 (vc-start-logentry): New optional arg specifying VC backend.
9621 * vc/vc.el (vc-checkin): Use it.
9622 (vc-deduce-fileset): Handle Log Edit buffers.
9623 (vc-diff): Make first argument optional too.
9625 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9627 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9629 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9630 command, just in case. The function is not needed anymore.
9631 (eshell-external-command): Do not call `eshell-remote-command'.
9633 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9635 Reduce use of (require 'cl).
9636 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9637 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9638 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9639 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9640 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9641 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9642 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9643 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9644 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9645 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9646 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9647 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9648 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9649 (byte-compile-unfold-bcf, byte-compile-check-variable):
9650 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9651 (byte-compile-nilconstp):
9652 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9653 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9655 * emacs-lisp/gv.el (cond): Make it a valid place.
9656 (if): Simplify slightly.
9658 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9659 (pcase--self-quoting-p): New function.
9660 (pcase--u1): Use it.
9662 2012-07-10 Glenn Morris <rgm@gnu.org>
9664 * emacs-lisp/authors.el (authors-fixed-entries):
9665 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9667 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9669 Rename configure.in to configure.ac (Bug#11603).
9670 * emacs-lisp/authors.el (authors-canonical-file-name):
9671 * progmodes/autoconf.el (autoconf-mode):
9672 Prefer configure.ac to configure.in.
9674 2012-07-08 Chong Yidong <cyd@gnu.org>
9676 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9677 Implement the mouse-1-click-follows-link handling properly.
9679 * info.el (Info-link-keymap): Use follow-link mechanism for
9680 header-line links (Bug#374).
9682 * simple.el (deactivate-mark): Do not set the primary selection
9683 if another program has acquired it (Bug#11772).
9685 2012-07-07 Kevin Ryde <user42@zip.com.au>
9687 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9688 (woman-decode-region): Replace escaped-escapes without destroying
9689 bold or underline (Bug#11552).
9690 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9692 2012-07-07 Chong Yidong <cyd@gnu.org>
9694 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9695 (interprogram-cut-function, interprogram-paste-function):
9696 Mention that we typically mean the clipboard.
9698 2012-07-06 Glenn Morris <rgm@gnu.org>
9700 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9702 * files.el (toggle-read-only): Restrict message to interactive use.
9704 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9706 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9708 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9710 2012-07-06 Glenn Morris <rgm@gnu.org>
9712 * Makefile.in (compile-one-process): Rename from "recompile".
9714 * Makefile.in (bzr-update): "compile" is the same as "recompile
9715 autoloads", but parallelizable, so use that instead.
9717 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9719 * window.el (quit-window): Always restore window height when
9720 it's saved in quit-restore parameter (Bug#11810).
9722 2012-07-06 Glenn Morris <rgm@gnu.org>
9724 * simple.el (kill-whole-line): Doc tweak.
9726 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9728 * files.el (file-relative-name): Compare file names
9729 case-insensitively if on MS-Windows or MS-DOS, or if
9730 read-file-name-completion-ignore-case is non-nil. Don't use
9731 case-fold-search for this purpose. (Bug#11827)
9733 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9735 * calendar/cal-dst.el (calendar-current-time-zone):
9736 Return calendar-current-time-zone-cache if non-nil.
9738 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9739 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9741 * calendar/cal-dst.el (calendar-current-time-zone):
9742 Return calendar-current-time-zone-cache if non-nil.
9744 2012-07-06 Glenn Morris <rgm@gnu.org>
9746 * Makefile.in (cvs-update): Remove old alias.
9748 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9750 Sync with Tramp 2.2.6-pre.
9752 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9753 compatible declaration.
9755 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9756 Protect `list-load-path-shadows' call.
9758 * net/tramp-compat.el (top): Require packages, which aren't
9759 autoloaded anymore for XEmacs. Protect call of
9760 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9761 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9762 it hurts at least for SXEmacs.
9763 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9764 standard-value for `temporary-file-directory'.
9766 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9767 Redirect stderr to /dev/null.
9768 (tramp-sh-handle-write-region): uid and gid can be floats.
9769 Reported by Russell Sim <russell.sim@gmail.com>.
9770 (tramp-sh-handle-vc-registered): Hide errors.
9771 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9772 and `start-file-process'.
9773 (tramp-maybe-open-connection): Check also whether `non-essential'
9776 2012-07-04 Chong Yidong <cyd@gnu.org>
9778 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9779 (xml-parse-tag): Likewise, and avoid changing entity tables.
9780 (xml-syntax-table): Define from scratch, making sure not to give
9781 x2000 and other Unicode spaces whitespace syntax, since those are
9783 (xml-parse-fragment): Delete unused function.
9784 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9785 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9786 (xml-entity-ref, xml-pe-reference-re)
9787 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9788 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9789 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9790 (xml-entity-value-re): Use syntax references in regexps where
9791 possible; no need to define inside a let-binding.
9792 (xml-parse-dtd): Use xml-pe-reference-re.
9793 (xml-entity-or-char-ref-re): New defconst.
9794 (xml-parse-string, xml-substitute-special): Use it.
9796 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9798 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9799 (find-file--read-only): New function.
9800 (find-file-read-only, find-file-read-only-other-window)
9801 (find-file-read-only-other-frame): Use it.
9802 (insert-file-contents-literally): Don't `fset'.
9803 (get-free-disk-space): Use locate-dominating-file.
9805 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9806 function is already compiled.
9808 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9810 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9812 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9813 files on the same host.
9815 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9817 * help-fns.el (describe-function-1): Only call
9818 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9820 2012-07-03 Chong Yidong <cyd@gnu.org>
9822 * xml.el: Protect parser against XML bombs.
9823 (xml-entity-expansion-limit): New variable.
9824 (xml-parse-string, xml-substitute-special): Use it.
9825 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9827 2012-07-03 Glenn Morris <rgm@gnu.org>
9829 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9830 Allow linking to specific messages in debbugs reports (eg 123#5).
9832 2012-07-02 Chong Yidong <cyd@gnu.org>
9834 * xml.el: Fix entity and character reference expansion, allowing
9835 them to expand into markup as per XML spec.
9836 (xml-default-ns): New variable.
9837 (xml-entity-alist): Use XML spec definitions for lt and amp.
9838 (xml-parse-region): Make first two arguments optional.
9839 Discard text properties.
9840 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9841 All callers changed.
9842 (xml-parse-tag): Call xml-parse-tag-1. For backward
9843 compatibility, this function should not modify buffer contents.
9844 (xml-parse-tag-1): Fix opening-tag regexp.
9845 (xml-parse-string): Rewrite, handling entity and character
9846 references properly.
9847 (xml--entity-replacement-text): Signal an error if a parameter
9848 entity is undefined.
9850 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * comint.el (comint-output-filter): Filter out repeated prompts.
9854 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9855 and file-name-absolute-p.
9856 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9859 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9862 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9863 Rename from byte-compile--refiy-function. All uses changed.
9865 2012-07-01 Chong Yidong <cyd@gnu.org>
9867 * xml.el (xml--parse-buffer): New function. Move most of
9868 xml-parse-region here.
9869 (xml-parse-region): Copy region into a temporary buffer, since
9870 parameter entity substitution requires changing buffer contents.
9871 Use xml--parse-buffer.
9872 (xml-parse-file): Use xml--parse-buffer.
9873 (xml-parse-dtd): Make parameter entity substitution work right.
9874 Use proper regexps for ELEMENT declarations (Bug#7172).
9876 2012-06-30 Glenn Morris <rgm@gnu.org>
9878 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9880 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9881 Remove outdated and unnecessary dbus declarations.
9883 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9885 * emacs-lisp/timer.el (timer-until): Subtract results of
9886 float-time, instead of taking float-time of the result of
9887 time-subtract, since float-time signals an error for negative time
9890 2012-06-30 Chong Yidong <cyd@gnu.org>
9892 * xml.el (xml-*-re): Convert defvars into defconsts, and
9893 eval-and-compile them so eval-and-compile works on derivatives.
9894 (xml--entity-replacement-text): Use eval-and-comple.
9896 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9898 * vc/vc-git.el (vc-git-registered): Use cache property
9900 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9901 `vc-git-working-revision' in order to benefit from the cache.
9902 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9904 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9906 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9907 removed (likely outside Emacs). (Bug#11757)
9909 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * emacs-lisp/cl-lib.el: Require macroexp.
9913 2012-06-30 Chong Yidong <cyd@gnu.org>
9915 * xml.el: Implement XML parameter entities.
9916 (xml-parameter-entity-alist): New variable.
9917 (xml-parse-region, xml-parse-fragment): Preserve previous values
9918 of xml-entity-alist and xml-parameter-entity-alist, so that
9919 repeated calls on different documents do not change them.
9920 (xml-parse-tag): Fix doctype regexp.
9921 (xml--entity-replacement-text): New function.
9922 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9923 properly requires url retrieval which is unimplemented.
9924 (xml-escape-string): Doc fix.
9926 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9928 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9930 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9932 * fringe.el (fringe-mode): Doc fix.
9934 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9936 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9938 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9939 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9941 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9943 * calendar/cal-dst.el (calendar-current-time-zone):
9944 Return calendar-current-time-zone-cache if non-nil.
9946 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9948 * progmodes/which-func.el (which-func-format):
9949 Add mouse-face. (Bug#11698)
9951 2012-06-29 Leo Liu <sdl.web@gmail.com>
9953 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9955 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * minibuffer.el (minibuffer-confirm-exit-commands):
9958 Add completion-at-point (bug#11725).
9960 2012-06-29 Glenn Morris <rgm@gnu.org>
9962 * progmodes/f90.el (f90-font-lock-keywords-2):
9963 Add some preprocessor elements. (Bug#10499)
9965 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9968 Use syntax-propertize (bug#11739).
9970 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9972 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9974 2012-06-28 Julien Danjou <julien@danjou.info>
9976 * term.el (term-handle-colors-array): Use a set of new faces to
9977 color the terminal. Also uses :inverse-video property.
9978 (term-default-fg-color): Set to nil by default, deprecate in favor
9980 (term-default-bg-color): Set to nil by default, deprecate in favor
9982 (term-current-face): Use `term-face' by default.
9983 (term-bold-attribute): Variable deleted.
9985 2012-06-28 Glenn Morris <rgm@gnu.org>
9987 * simple.el (completion-list-mode-finish):
9988 Don't use toggle-read-only. (Since completion-list-mode has
9989 a special mode-class, it wasn't doing anything extra anyway.)
9991 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9993 Make inlining of other-mode interpreted functions work (bug#11799).
9994 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9995 (byte-compile): Use it to fix compilation of lexical-binding closures.
9996 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9997 function, if needed.
9999 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * help-mode.el (help-make-xrefs): Don't just withstand
10002 cyclic-variable-indirection but any error in documentation-property.
10004 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10006 * bindings.el (bindings--define-key): New function.
10007 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10008 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10009 * bindings.el: Use it to purecopy define-key bindings.
10011 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10013 * emacs-lisp/cl.el (flet): Mark obsolete.
10014 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10015 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10016 * progmodes/js.el (js-c-fill-paragraph):
10017 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10018 (ebrowse-switch-member-buffer-to-derived-class):
10019 * play/5x5.el (5x5-solver): Use cl-flet.
10021 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10022 (cl--symbol-function): New macro.
10023 (cl--letf, cl--letf*): Use it.
10025 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10026 Strip "toggle-" if any.
10028 2012-06-27 Glenn Morris <rgm@gnu.org>
10030 * info.el (Info-default-directory-list): Move here from paths.el.
10031 * paths.el: Remove file, which is now empty.
10032 * loadup.el: No longer load "paths".
10034 * custom.el (custom-initialize-delay): Doc fix.
10036 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10037 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10038 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10039 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10040 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10041 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10042 * eshell/eshell.el (eshell-defgroup): Remove alias.
10044 2012-06-27 Chong Yidong <cyd@gnu.org>
10046 * help.el (help-enable-auto-load): New variable.
10048 * help-fns.el (help-fns--autoloaded-p): New function.
10049 (describe-function-1): Refer to a function as "autoloaded" if it
10050 was autoloaded at any time in the past. Perform autoloading if
10051 help-enable-auto-load is non-nil.
10053 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10055 * makefile.w32-in (compile, compile-always): Depend on
10056 update-subdirs, not on subdirs.el. Otherwise, several different
10057 sub-targets of 'bootstrap' running in parallel could
10058 simultaneously write to subdirs.el, producing a garbled file.
10060 2012-06-26 Sam Steingold <sds@gnu.org>
10062 * files.el (file-name-base): New convenience function.
10063 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10064 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10065 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10066 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10067 * textmodes/ispell.el, textmodes/reftex-ref.el:
10068 * textmodes/tex-mode.el: Use it.
10069 Did not touch cedet and org because they are maintained elsewhere.
10071 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10073 * calendar/calendar.el (calendar-exit): Don't try to delete or
10074 iconify last frame. See:
10075 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10077 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10079 * server.el (server-process-filter): Remember dir in the
10080 process's `server-client-directory' properties.
10082 2012-06-24 Chong Yidong <cyd@gnu.org>
10084 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10087 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10089 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10091 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * help-fns.el (describe-variable): Don't croak when doc is not found.
10094 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10095 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10096 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10097 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10098 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10100 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10102 2012-06-23 Chong Yidong <cyd@gnu.org>
10104 * info.el (Info-mouse-follow-link): Accept symbol values of
10105 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10106 (Info-fontify-node): Use Info-link-keymap for all navigation
10107 buttons, with link-args property to perform the desired action.
10108 (Info-link-keymap): Doc fix.
10109 (Info-next-link-keymap, Info-prev-link-keymap)
10110 (Info-up-link-keymap): Delete now-unused keymaps.
10112 2012-06-23 Chong Yidong <cyd@gnu.org>
10114 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10116 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10119 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10121 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10126 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10127 the requote function doesn't work properly (bug#11714).
10129 2012-06-23 Glenn Morris <rgm@gnu.org>
10131 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10133 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10135 Further GV/CL cleanups.
10136 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10138 (gv--defun-declaration): New function.
10139 (defun-declarations-alist): Use it.
10140 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10141 (gv-place): Autoload.
10142 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10143 original definition of dotimes and dolist.
10144 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10145 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10146 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10147 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10148 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10149 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10150 to the function's definition.
10151 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10155 * env.el: Don't use CL.
10157 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10159 Support higher-resolution time stamps (Bug#9000).
10161 * calendar/time-date.el (with-decoded-time-value): New arg
10162 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10163 (encode-time-value): New optional arg PICO. New type 3.
10164 (time-to-seconds) [!float-time]: Support the new picoseconds
10165 component if it's used.
10166 (seconds-to-time, time-subtract, time-add):
10167 Support ps-resolution time stamps as well.
10169 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10170 (timerp): Timer vectors now have length 9, not 8.
10171 (timer--time): Support new-style (4-part) time stamps.
10172 (timer-next-integral-multiple-of-time): Time stamps now have
10173 picosecond resolution, so take a bit more care about rounding.
10174 (timer-relative-time, timer-inc-time): New optional arg psecs.
10175 (timer-set-time-with-usecs): Set psecs to 0.
10176 (timer--activate): Check psecs component, too.
10178 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10180 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10182 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10183 Move the non-essential binding to the post/pre-command-hook where it is
10184 more obviously correct.
10186 * subr.el (read-passwd): Don't use a history at all.
10187 * savehist.el (savehist-save): Remove password saved accidentally
10188 because of the above bug.
10190 2012-06-22 Bastien Guerry <bzg@gnu.org>
10192 * files.el (toggle-read-only): Display a message telling whether
10193 the buffer is read-only or not (bug#11726).
10195 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * emacs-lisp/gv.el: New file.
10198 * subr.el (push, pop): Extend to generalized variables.
10199 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10200 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10201 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10202 gv-define-simple-setter, and gv-define-expander.
10203 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10204 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10205 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10206 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10207 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10209 (cl-defstruct): Don't define setf-method any more.
10210 * emacs-lisp/cl.el (flet): Don't autoload.
10211 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10212 (define-setf-expander, defsetf, define-modify-macro)
10213 (cl-struct-setf-expander): Move from cl-lib.el.
10214 * emacs-lisp/syntax.el:
10215 * emacs-lisp/ewoc.el:
10216 * emacs-lisp/smie.el:
10217 * emacs-lisp/cconv.el:
10218 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10219 (timer--time): Use gv-define-simple-setter.
10220 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10221 to avoid coding-system problems in subr.el. Adjust all users.
10222 (macroexp--maxsize, macroexp-small-p): New functions.
10223 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10224 * scroll-bar.el (scroll-bar-mode):
10225 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10226 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10227 * winner.el (winner-configuration, winner-make-point-alist)
10228 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10229 * files.el (locate-file-completion-table): Avoid list*.
10231 2012-06-22 Chong Yidong <cyd@gnu.org>
10233 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10234 (dired-create-files): Doc fix (Bug#11329).
10235 (dired-do-copy): Doc fix (Bug#11334).
10236 (dired-mark-read-string): Doc fix (Bug#11553).
10238 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10239 Doc fix (Bug#11326).
10240 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10241 (dired-dwim-target): Doc fix.
10243 * wdired.el (wdired-mode): Doc fix.
10245 2012-06-22 Glenn Morris <rgm@gnu.org>
10247 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10248 (pcmpl-rpm-cache-stamp-file): New constant.
10249 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10250 (pcmpl-rpm-packages): Optionally cache list of packages.
10252 * pcmpl-rpm.el (pcmpl-rpm): New group.
10253 (pcmpl-rpm-query-options): New option.
10254 (pcmpl-rpm-packages): No need to inline it.
10255 Use pcmpl-rpm-query-options.
10257 * calendar/calendar.el (calendar-in-read-only-buffer):
10258 Avoid some needless mode changes.
10260 2012-06-21 Chong Yidong <cyd@gnu.org>
10262 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10263 (desktop-path): Remove . from the default value (Bug#10977).
10264 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10266 2012-06-20 Chong Yidong <cyd@gnu.org>
10268 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10270 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10272 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10275 2012-06-20 Chong Yidong <cyd@gnu.org>
10277 * term.el (term-window-width): Handle the case of a missing right
10279 (term-check-size): Use window-text-height (Bug#5445).
10280 (term-mode): Use define-derived-mode. Minor cleanups.
10281 Set font-lock-defaults (Bug#7692).
10282 (term-move-columns, term-insert-char, term-emulate-terminal)
10283 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10285 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10287 * net/ange-ftp.el (ange-ftp-get-passwd):
10288 Bind `enable-recursive-minibuffers'.
10289 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10291 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10293 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10295 2012-06-19 Glenn Morris <rgm@gnu.org>
10297 * progmodes/python.el (python-mode): Derive from prog-mode.
10299 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10301 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10302 (edt-user-menu-bar-update-buffers): New functions.
10303 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10305 2012-06-19 Chong Yidong <cyd@gnu.org>
10307 * subr.el (with-selected-window): Preserve the selected window's
10308 terminal's top-frame (Bug#4702).
10310 * window.el (save-selected-window): Likewise.
10312 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * progmodes/python.el (python-rx-constituents): Move backquote.
10315 (python-skeleton-define, python-define-auxiliary-skeleton):
10318 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10320 * minibuffer.el (read-file-name-default): Revert the patch from
10323 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10325 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10326 (pcase--u1, pcase--q1): Don't use apply-partially.
10328 2012-06-18 Glenn Morris <rgm@gnu.org>
10330 * progmodes/python.el (python-proc, python-buffer)
10331 (python-send-receive, python-send-string): Fix obsolete versions.
10333 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10335 * window.el (special-display-p): Completely remove stringp
10336 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10338 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10340 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10342 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10344 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10345 * net/tramp-sh.el (tramp-maybe-open-connection):
10346 Throw if `non-essential' is non-nil.
10348 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10350 * window.el (special-display-p): Signal an error if BUFFER-NAME
10351 is not a string (Bug#11713).
10353 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10355 * progmodes/python.el (python-info-beginning-of-backslash):
10356 Rename from python-info-beginning-of-backlash, as a spelling fix.
10358 2012-06-17 Chong Yidong <cyd@gnu.org>
10360 * term.el (term-emulate-terminal): If term-check-size is called,
10361 move point to the process mark without resetting point (Bug#4635).
10363 2012-06-17 Glenn Morris <rgm@gnu.org>
10365 * international/mule-cmds.el (mule-menu-keymap)
10366 (set-language-environment, set-locale-environment): Doc tweaks.
10368 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10370 * cus-face.el (custom-face-attributes): Add wave-style underline
10372 * faces.el (set-face-attribute): Update docstring to describe
10373 wave-style underline attribute.
10375 2012-06-16 Chong Yidong <cyd@gnu.org>
10377 * term/xterm.el (terminal-init-xterm): Discard input before
10378 querying background mode (Bug#10959).
10380 2012-06-16 Stefan Merten <smerten@oekonux.de>
10382 * textmodes/rst.el: Added and corrected some comments.
10383 (rst-re-alist-def): Improve symbol syntax.
10384 (rst-mode-syntax-table): Correct syntax entries.
10385 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10386 (rst-official-version, rst-official-cvs-rev): Update version
10389 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10391 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10392 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10394 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10396 * progmodes/python.el: New python.el merge.
10397 (python-guess-indent): Obsolete var.
10398 (python-indent-guess-indent-offset): New defcustom.
10399 (python-indent): Obsolete var.
10400 (python-indent-offset): New defcustom.
10401 (python-python-command, python-jython-command): Delete var.
10402 (python-shell-interpreter): New defcustom.
10403 (python-pdbtrack-do-tracking-p): Delete var.
10404 (python-pdbtrack-activate): New defcustom.
10405 (python-use-skeletons): Obsolete var.
10406 (python-skeleton-autoinsert): New defcustom.
10407 (inferior-python-filter-regexp, python-continuation-offset)
10408 (python-honour-comment-indentation, python-indent-string-contents)
10409 (python-jython-packages, python-mode-hook)
10410 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10411 (python-shell-prompt-alist)
10412 (python-source-modes): Delete defcustoms.
10413 (python-check-buffer-name, python-eldoc-setup-code)
10414 (python-eldoc-string-code, python-ffap-setup-code)
10415 (python-ffap-string-code, python-fill-comment-function)
10416 (python-fill-decorator-function, python-fill-paren-function)
10417 (python-fill-string-function, python-imenu-include-defun-type)
10418 (python-imenu-make-tree, python-imenu-subtree-root-label)
10419 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10420 (python-shell-compilation-regexp-alist)
10421 (python-shell-completion-module-string-code)
10422 (python-shell-completion-pdb-string-code)
10423 (python-shell-completion-setup-code)
10424 (python-shell-completion-string-code)
10425 (python-shell-enable-font-lock, python-shell-exec-path)
10426 (python-shell-extra-pythonpaths)
10427 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10428 (python-shell-process-environment)
10429 (python-shell-prompt-block-regexp)
10430 (python-shell-prompt-output-regexp)
10431 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10432 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10433 (python-shell-virtualenv-path): New defcustoms.
10434 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10435 (inferior-python-mode-syntax-table, python--prompt-regexp)
10436 (python-buffer, python-command python-python-command)
10437 (python-default-template, python-imports, python-indent-index)
10438 (python-indent-list, python-indent-list-length)
10439 (python-mode-running, python-pdbtrack-is-tracking-p)
10440 (python-preoutput-continuation, python-preoutput-leftover)
10441 (python-preoutput-result, python-preoutput-skip-next-prompt)
10442 (python-prev-dir/file, python-recursing)
10443 (python-saved-check-command, python-version-checked)
10444 (python-which-func-length-limit)
10445 (view-return-to-alist): Delete vars.
10446 (python-check-custom-command, python-dotty-syntax-table)
10447 (python-imenu-index-alist, python-indent-current-level)
10448 (python-indent-dedenters, python-indent-levels)
10449 (python-nav-beginning-of-defun-regexp)
10450 (python-nav-list-defun-positions-cache)
10451 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10452 (python-shell-internal-buffer)
10453 (python-skeleton-available): New vars.
10454 (def-python-skeleton): Delete macro.
10455 (python-skeleton-define): New macro.
10456 (python-define-auxiliary-skeleton, python-rx): New macros.
10457 (python-insert-class): Delete command.
10458 (python-skeleton-class): New command.
10459 (python-insert-def): Delete command.
10460 (python-skeleton-def): New command.
10461 (python-insert-for): Delete command.
10462 (python-skeleton-for): New command.
10463 (python-insert-if): Delete command.
10464 (python-skeleton-if): New command.
10465 (python-insert-try/except, python-insert-try/finally): Delete commands.
10466 (python-skeleton-try): New command.
10467 (python-insert-while): Delete command.
10468 (python-skeleton-while): New command.
10469 (python-backspace): Delete command.
10470 (python-indent-dedent-line-backspace): New command.
10471 (python-electric-colon): Delete command.
10472 (python-indent-electric-colon): New command.
10473 (python-guess-indent): Delete command.
10474 (python-indent-guess-indent-offset): New command.
10475 (python-shift-left): Delete command.
10476 (python-indent-shift-left): New command.
10477 (python-shift-right): Delete command.
10478 (python-indent-shift-right): New command.
10479 (python-find-function): Delete command.
10480 (python-nav-jump-to-defun): New command.
10481 (python-next-statement): Delete command.
10482 (python-nav-forward-sentence): New command.
10483 (python-previous-statement): Delete command.
10484 (python-nav-backward-sentence): New command.
10485 (python-fill-paragraph): Delete command.
10486 (python-fill-paragraph-function): New command.
10487 (python-send-buffer): Delete command.
10488 (python-shell-send-buffer): New command.
10489 (python-send-defun): Delete command.
10490 (python-shell-send-defun): New command.
10491 (python-send-region, python-send-region-and-go): Delete commands.
10492 (python-shell-send-region)
10493 (python-shell-switch-to-shell): New commands.
10494 (python-send-string): Delete command.
10495 (python-shell-send-string): New command.
10496 (python-switch-to-python): Delete command.
10497 (python-shell-switch-to-shell): New command.
10498 (python-describe-symbol): Delete command.
10499 (python-eldoc-at-point): New command.
10500 (python--set-prompt-regexp, python-args-to-list)
10501 (python-after-info-look, python-check-version)
10502 (python-check-comint-prompt, python-find-imports)
10503 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10504 (python-unload-function, python-expand-template)
10505 (python-maybe-jython, python-preoutput-filter)
10506 (python-pdbtrack-get-source-buffer)
10507 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10508 (python-pdbtrack-toggle-stack-tracking)
10509 (python-pdbtrack-track-stack-file, python-initial-text)
10510 (python-first-word, python-comment-line-p, python-send-command)
10511 (python-setup-brm, python-sentinel, python-set-proc)
10512 (python-skip-out, python-input-filter, python-outdent-p)
10513 (python-outline-level, python-backslash-continuation-line-p)
10514 (python-end-of-block, python-end-of-statement, python-mark-block)
10515 (python-beginning-of-block, python-beginning-of-statement)
10516 (python-blank-line-p, python-beginning-of-string)
10517 (python-open-block-statement-p): Delete functions.
10518 (python-indent-line, python-indent-line-1): Delete functions.
10519 (python-indent-line): New function.
10520 (python-indentation-levels): Delete function.
10521 (python-indent-calculate-levels): New function.
10522 (python-proc): Delete function.
10523 (python-shell-get-process): New function.
10524 (python-send-receive): Delete function.
10525 (python-shell-send-string-no-output): New function.
10526 (python-module-path): Delete function.
10527 (python-ffap-module-path): New function.
10528 (python-completion-at-point)
10529 (python-symbol-completions): Delete functions.
10530 (python-completion-complete-at-point): New function.
10531 (python-load-file): Delete function.
10532 (python-shell-send-file): New function.
10533 (python-calculate-indentation): Delete function.
10534 (python-indent-calculate-indentation): New function.
10535 (python-skip-comments/blanks): Delete function.
10536 (python-util-forward-comment): New function.
10537 (python-continuation-line-p): Delete function.
10538 (python-info-continuation-line-p): New function.
10539 (python-which-func, python-current-defun): Delete function.
10540 (python-info-current-defun): New function.
10541 (python-beginning-of-defun): Delete function.
10542 (python-nav-beginning-of-defun): New function.
10543 (python-close-block-statement-p)
10544 (python-block-end-p): Delete function.
10545 (python-info-closing-block): New function.
10546 (python-comint-output-filter-function)
10547 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10548 (python-fill-comment, python-fill-decorator, python-fill-paren)
10549 (python-fill-string, python-imenu-make-element-tree)
10550 (python-imenu-make-tree, python-imenu-tree-assoc)
10551 (python-indent-context, python-indent-dedent-line)
10552 (python-indent-line-function)
10553 (python-indent-post-self-insert-function)
10554 (python-indent-toggle-levels)
10555 (python-info-assignment-continuation-line-p)
10556 (python-info-beginning-of-backlash)
10557 (python-info-block-continuation-line-p)
10558 (python-info-closing-block-message)
10559 (python-info-line-ends-backslash-p)
10560 (python-info-looking-at-beginning-of-defun)
10561 (python-info-ppss-context, python-info-ppss-context-type)
10562 (python-nav-list-defun-positions, python-nav-read-defun)
10563 (python-nav-sentence-end, python-nav-sentence-start)
10564 (python-pdbtrack-comint-output-filter-function)
10565 (python-pdbtrack-set-tracked-buffer)
10566 (python-shell-calculate-exec-path)
10567 (python-shell-calculate-process-environment)
10568 (python-shell-completion--do-completion-at-point)
10569 (python-shell-completion--get-completions)
10570 (python-shell-completion-complete-at-point)
10571 (python-shell-completion-complete-or-indent)
10572 (python-shell-get-or-create-process)
10573 (python-shell-get-process-name)
10574 (python-shell-internal-get-or-create-process)
10575 (python-shell-internal-get-process-name)
10576 (python-shell-internal-send-string, python-shell-make-comint)
10577 (python-shell-parse-command, python-shell-send-setup-code)
10578 (python-skeleton-add-menu-items)
10579 (python-util-clone-local-variables, python-util-position)
10580 (run-python-internal, python-indentation-levels)
10581 (python-nav-beginning-of-defun)
10582 (python-completion-complete-at-point): New functions.
10583 (run-python): Change arguments. New API requirements.
10585 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10587 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10590 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10591 (macroexp--expand-all): Use it.
10593 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10594 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10595 Use `cl-function' instead.
10597 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10599 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10600 Suggested by Stefan Monnier while discussing bug#11657.
10602 2012-06-14 Sam Steingold <sds@gnu.org>
10604 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10606 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10608 * play/doctor.el (doctor-doc): Remove parameter and use
10609 doctor-sent instead of sent.
10610 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10612 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10614 * files.el: Require cl-lib.
10615 (file-name-non-special): Replace case -> cl-case.
10617 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10619 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10620 mapping from #' to function*.
10622 2012-06-13 Chong Yidong <cyd@gnu.org>
10624 * mouse.el (mouse-drag-track): Do not set the mark if the user
10625 releases the mouse without selecting anything (Bug#11588).
10627 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10630 as well (bug#11646).
10632 * loadup.el: Count byte-code functions as well.
10634 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10635 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10637 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10638 (bug#11649). Add cl-defun and cl-defmacro.
10640 2012-06-13 Drew Adams <drew.adams@oracle.com>
10642 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10645 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10647 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10648 Otherwise, it blocks in batch mode.
10650 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10652 * help-mode.el (bookmark-make-record-default): Declare.
10654 2012-06-13 Chong Yidong <cyd@gnu.org>
10656 * emacs-lisp/package.el (list-packages): Compute a list of
10657 packages that are newly-available since the last list-packages
10659 (package-menu--new-package-list): New var.
10660 (package-menu--generate, package-menu--print-info)
10661 (package-menu--status-predicate, package-menu-mark-install):
10662 Handle new status label "new".
10664 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10667 conversion to backquotes.
10669 2012-06-12 Chong Yidong <cyd@gnu.org>
10671 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10672 Rename from gud-inhibit-global-bindings.
10674 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10676 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10677 hook from nxml-glyph-set-hook.
10679 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10682 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10684 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10685 Convert to defcustom.
10687 2012-06-12 Drew Adams <drew.adams@oracle.com>
10689 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10691 (help-mode): Use them.
10693 2012-06-11 Glenn Morris <rgm@gnu.org>
10695 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10696 Use preprocessor face for directives.
10697 (fortran-directive-re): Doc fix.
10699 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10701 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10702 conversion to backquotes (bug#11652).
10704 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10705 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10706 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10707 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10708 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10709 (cl-ninth, cl-tenth): Mark them as inlinable.
10710 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10711 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10712 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10713 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10714 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10715 (cl-list*, cl-adjoin): Don't put an autoload manually.
10716 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10717 (cl--compiler-macro-list*): Add autoload cookie.
10718 (cl--compiler-macro-cXXr): New function.
10720 * help-fns.el (help-fns--compiler-macro): New function extracted from
10721 describe-function-1; follow aliases and use `compiler-macro' property.
10722 (describe-function-1): Use it.
10724 2012-06-11 Chong Yidong <cyd@gnu.org>
10726 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10727 is uninstalled, if imagemagick is installed.
10729 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10731 * emacs-lisp/cl-lib.el: Use lexical-binding.
10732 (cl-map-extents, cl-maclisp-member): Remove.
10733 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10734 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10735 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10736 * emacs-lisp/cl-extra.el: Use lexical-binding.
10737 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10738 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10739 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10740 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10741 * emacs-lisp/cl-seq.el: Use lexical-binding.
10742 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10743 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10744 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10745 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10746 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10749 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10751 Sync with Tramp 2.2.6-pre.
10753 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10754 `print-length' and `print-level' to nil, in order to avoid
10755 truncation. Reported by Christopher Schmidt
10756 <christopher@ristopher.com>.
10758 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10760 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10762 (tramp-compat-copy-directory): Add optional argument
10763 COPY-CONTENTS. It is not handled yet.
10765 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10766 (tramp-ftp-file-name-p): Simplify.
10768 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10769 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10772 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10773 (tramp-methods): Do not use `tramp-password-end-of-line'.
10774 (tramp-completion-function-alist-putty): Handle UNIX case.
10775 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10776 (tramp-do-file-attributes-with-stat)
10777 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10778 gid as real numbers. They could run out of integer range on cygwin.
10779 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10780 (tramp-sh-handle-expand-file-name): Handle hops.
10781 (tramp-open-connection-setup-interactive-shell):
10782 Use `tramp-cleanup'. Move check for busyboxes ...
10783 (tramp-find-shell): ... here. Simplify implementation.
10784 Set "remote-shell" property also for alternative shells.
10785 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10786 If failing, a regular file would be written otherwise.
10787 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10788 (tramp-find-inline-encoding): Cache the coding commands in the
10789 process cache. Apply test command on the remote side, if defined.
10790 (tramp-find-inline-compress): Cache the compress commands in the
10792 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10793 when requested. Handle hops.
10794 (tramp-current-connection): New defvar.
10795 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10796 Throw `suppress', if there was a failed connection shortly before.
10797 Handle user interrupt. (Bug#10187)
10798 (tramp-get-inline-compress, tramp-get-inline-coding):
10799 Read connection properties from the process cache.
10801 * net/tramp-smb.el (tramp-smb-server-version)
10802 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10804 (tramp-smb-prompt): Extend for powershell prompt.
10805 (tramp-smb-file-name-handler-alist): Add handlers for
10806 `process-file', `shell-command' and `start-file-process'.
10807 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10808 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10809 (tramp-smb-file-name-p): Simplify.
10810 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10811 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10812 (tramp-smb-shell-quote-argument): New defuns.
10813 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10814 Implement using "tar". By this, time-stamps are preserved.
10815 (tramp-smb-handle-copy-file): Handle also the case of directories.
10816 (tramp-smb-do-file-attributes-with-stat)
10817 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10818 Use `tramp-get-connection-buffer').
10819 (tramp-smb-handle-rename-file): Use "rename", when source and
10820 target are on the same share.
10821 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10822 Use `tramp-smb-server-version'.
10823 (tramp-smb-wait-for-output): Remove prompt.
10825 * net/tramp.el (top): Require 'cl.
10826 (tramp-methods, tramp-rsh-end-of-line):
10827 Remove `tramp-password-end-of-line' from docstring.
10828 (tramp-save-ad-hoc-proxies): New defcustom.
10829 (tramp-completion-function-alist): Adapt docstring.
10830 (tramp-default-password-end-of-line): Remove defcustom.
10831 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10832 (tramp-user-regexp, tramp-file-name-regexp-unified)
10833 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10834 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10835 (tramp-remote-file-name-spec-regexp): New defconst.
10836 (tramp-file-name-structure): Extend structure for hops.
10837 (tramp-get-method-parameter): Move up.
10838 (tramp-file-name-p, tramp-dissect-file-name)
10839 (with-parsed-tramp-file-name): Handle hops.
10840 (tramp-file-name-hop): New defun.
10841 (tramp-make-tramp-file-name): New optional arg HOP.
10842 (tramp-message-show-progress-reporter-message): New defvar.
10843 (tramp-with-progress-reporter): Use it. We cannot use
10844 `tramp-message-show-message' here, because this suppresses also
10846 (tramp-error-with-buffer): Suppress buffer view, if
10847 `tramp-message-show-message' is nil.
10848 Use `tramp-get-connection-buffer'.
10849 (tramp-cleanup): New defun.
10850 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10851 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10852 an error unchanged.
10853 (tramp-completion-handle-file-name-all-completions): Handle hops.
10854 Fix an error when called from ido.
10855 (tramp-completion-dissect-file-name): Use better local variable
10856 name. Add hop to the vector.
10857 (tramp-handle-insert-file-contents): Use progress-reporter for the
10859 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10861 (tramp-check-for-regexp): Simplify search.
10862 (tramp-enter-password): Remove it. Move implementation ...
10863 (tramp-action-password): ... here.
10864 (tramp-mode-string-to-int, tramp-local-host-p)
10865 (tramp-make-tramp-temp-file, tramp-read-passwd)
10866 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10867 Set tramp-autoload cookie.
10869 * net/trampver.el: Update release number.
10871 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10872 Michael Albinus <michael.albinus@gmx.de>
10874 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10875 (tramp-parse-group, tramp-parse-file)
10876 (tramp-parse-shostkeys-sknownhosts): New defuns.
10877 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10878 (tramp-parse-shosts-group, tramp-parse-sconfig)
10879 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10880 (tramp-parse-sknownhosts, tramp-parse-hosts)
10881 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10883 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10884 (tramp-parse-putty-group): Don't narrow.
10885 (tramp-parse-putty): Make a loop.
10886 (tramp-file-name-handler): Catch the `suppress' signal.
10888 2012-06-11 Chong Yidong <cyd@gnu.org>
10890 * image.el (imagemagick-register-types): Put the ImageMagick entry
10891 at the end of image-type-file-name-regexps.
10893 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10895 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10896 (pcase, pcase-let*, pcase-dolist): Use them.
10898 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10900 * emacs-lisp/pcase.el (pcase--let*): New function.
10901 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10902 (pcase--expand): Use macroexp-let².
10904 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10906 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10907 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10908 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10909 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10910 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10911 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10913 2012-06-10 Glenn Morris <rgm@gnu.org>
10915 * mail/rmail.el (rmail-yank-current-message): Leave point at
10916 correct position. (Bug#11660)
10918 2012-06-10 Chong Yidong <cyd@gnu.org>
10920 * allout-widgets.el: Fix code header.
10922 2012-06-10 Chong Yidong <cyd@gnu.org>
10924 * cus-edit.el (customize-changed-options-previous-release):
10927 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10929 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10931 2012-06-09 Chong Yidong <cyd@gnu.org>
10933 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10935 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10937 * window.el (special-display-popup-frame): Don't use
10938 window--display-buffer (Bug#11651).
10940 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10942 Fix parallel builds: make sure loaddefs.el is not being written
10943 while Lisp files are compiled.
10944 (compile): Don't depend on 'mh-autoloads'.
10945 (compile-CMD, compile-SH): Depend on 'autoloads'.
10946 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10948 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10950 2012-06-09 Chong Yidong <cyd@gnu.org>
10952 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10953 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10954 Doc fixes (Bug#11225).
10956 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10959 a function if there's a clear indication that it has a compiler-macro.
10960 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10961 (macro-declarations-alist): Add arglist to declaration functions.
10962 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10963 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10964 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10965 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10966 Also add autoload to find the compiler macro.
10967 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10968 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10969 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10970 (cl--compiler-macro-get): New functions, replacing calls to
10971 cl-define-compiler-macro.
10972 (cl-typep) [compiler-macro]: Use macroexp-let².
10974 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10976 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10977 string properly, fixes Bug#11473.
10979 2012-06-08 Chong Yidong <cyd@gnu.org>
10981 * faces.el (set-face-attribute): Doc fix.
10982 (modify-face): Don't use :bold and :italic.
10983 (error, warning, success): Tweak definitions.
10985 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10986 (custom-modified, custom-set, custom-changed, custom-themed)
10987 (custom-saved, custom-button, custom-button-mouse)
10988 (custom-button-pressed, custom-state, custom-comment-tag)
10989 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10990 (custom-group-subtitle): Use new-style face specs.
10991 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10992 (custom-set-face, custom-changed-face, custom-saved-face)
10993 (custom-button-face, custom-button-pressed-face)
10994 (custom-documentation-face, custom-state-face)
10995 (custom-comment-face, custom-comment-tag-face)
10996 (custom-variable-tag-face, custom-variable-button-face)
10997 (custom-face-tag-face, custom-group-tag-face-1)
10998 (custom-group-tag-face): Remove obsolete face alias.
11000 * epa.el (epa-validity-high, epa-validity-medium)
11001 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11002 (epa-field-name, epa-field-body):
11003 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11004 (font-lock-keyword-face, font-lock-builtin-face)
11005 (font-lock-function-name-face, font-lock-variable-name-face)
11006 (font-lock-type-face, font-lock-constant-face):
11007 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11008 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11009 * speedbar.el (speedbar-button-face, speedbar-file-face)
11010 (speedbar-directory-face, speedbar-tag-face)
11011 (speedbar-selected-face, speedbar-highlight-face)
11012 (speedbar-separator-face):
11013 * whitespace.el (whitespace-newline, whitespace-space)
11014 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11015 (whitespace-line, whitespace-space-before-tab)
11016 (whitespace-space-after-tab, whitespace-indentation)
11017 (whitespace-empty):
11018 * emulation/cua-base.el (cua-global-mark):
11019 * eshell/em-prompt.el (eshell-prompt):
11020 * net/newst-plainview.el (newsticker-new-item-face)
11021 (newsticker-old-item-face, newsticker-immortal-item-face)
11022 (newsticker-obsolete-item-face, newsticker-date-face)
11023 (newsticker-statistics-face, newsticker-default-face):
11024 * net/newst-reader.el (newsticker-feed-face)
11025 (newsticker-extra-face, newsticker-enclosure-face):
11026 * net/newst-treeview.el (newsticker-treeview-face)
11027 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11028 (newsticker-treeview-immortal-face)
11029 (newsticker-treeview-obsolete-face)
11030 (newsticker-treeview-selection-face):
11031 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11032 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11033 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11034 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11035 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11036 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11037 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11039 * progmodes/vera-mode.el (vera-font-lock-number)
11040 (vera-font-lock-function, vera-font-lock-interface):
11041 * textmodes/table.el (table-cell): Use new-style face specs, and
11042 don't use the old :bold and :italic attributes.
11044 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11045 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11046 (ebrowse-member-class, ebrowse-progress): Likewise.
11047 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11048 (ebrowse-file-name-face, ebrowse-default-face)
11049 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11050 (ebrowse-progress-face): Remove obsolete faces.
11052 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11053 Inherit from error and warning faces respectively.
11055 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11057 (flyspell-incorrect-face, flyspell-duplicate-face):
11058 Remove obsolete aliases.
11060 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11062 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11065 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * startup.el (argv, argi): Make lexically scoped.
11068 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11069 * emacs-lisp/cl-macs.el: Use lexical-binding.
11070 Rename cl-bind-* to cl--bind-*.
11071 * files.el: Don't require `cl' since it doesn't use it.
11072 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11074 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11076 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11077 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11078 instead of calling external sort utility.
11079 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11081 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11083 * descr-text.el (describe-char): Mention how to insert the
11084 character, if the current input method doesn't support it.
11085 See the discussion in this thread for the details:
11086 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11088 2012-06-08 Sam Steingold <sds@gnu.org>
11090 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11091 XF86Back to previous-buffer.
11092 (minibuffer-local-map): Bind them to next-history-element and
11093 previous-history-element respectively.
11094 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11095 help-go-back respectively.
11096 * info.el (Info-mode-map): Bind them to Info-history-forward and
11097 Info-history-back respectively.
11098 These are the keys next to Up on the ThinkPad keyboard.
11100 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11102 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11103 * emacs-lisp/cl-macs.el: Provide itself.
11104 (cl--labels-convert-cache): New var.
11105 (cl--labels-convert): New function.
11106 (cl-flet, cl-labels): New implementation with new semantics, relying on
11108 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11109 (cl-closure-vars, cl--function-convert-cache)
11110 (cl--function-convert): Move from cl-macs.el.
11111 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11112 rename by removing the "cl-" prefix.
11113 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11115 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11118 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11119 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11120 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11121 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11122 (cl-hash-table-count): Add old compatibility aliases.
11124 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11125 Use macroexpand-all-environment instead.
11126 (cl--old-macroexpand): New var.
11127 (cl--sm-macroexpand): New function.
11128 (cl-symbol-macrolet): Use it during macro expansion.
11129 (cl--function-convert-cache): New var.
11130 (cl--function-convert): New function, extracted from
11131 cl-macroexpand-all.
11132 (cl-lexical-let): Use it.
11134 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11135 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11136 (cl-member): Remove old alias.
11138 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11139 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11140 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11141 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11142 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11143 (cl-macroexpand-cmacs): Remove var.
11144 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11145 Use macroexpand-all instead.
11147 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11149 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11150 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11151 (macroexp-copyable-p): New functions and macros.
11152 * emacs-lisp/edebug.el (edebug-unwrap):
11153 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11154 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11155 (pcase--let*): Remove.
11156 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11157 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11158 macroexp-const-p instead.
11159 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11161 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11162 instead of "cl-" for internal definitions. Use macroexp-const-p.
11163 (cl-old-bc-file-form): Remove var.
11164 (cl-const-exprs-p): Remove fun.
11165 (cl-labels, cl-macrolet): Use backquote.
11166 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11167 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11168 (cl-define-setf-expander): Rename from cl-define-setf-method.
11169 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11171 * international/mule-cmds.el: Don't require CL.
11172 (view-hello-file): Don't use `letf'.
11174 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * tmm.el (tmm-prompt): Use string-prefix-p.
11177 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11178 (tmm-add-prompt): Use minibuffer-completion-help.
11179 (tmm-delete-map): Remove.
11181 * subr.el (kbd): Make it its own function.
11183 2012-06-07 Stefan Merten <smerten@oekonux.de>
11185 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11186 Silence compiler warnings. Fix versions.
11187 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11188 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11189 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11190 (rst-package-emacs-version-alist): Correct Emacs version to
11191 represent major merge with upstream.
11192 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11194 2012-06-06 Glenn Morris <rgm@gnu.org>
11196 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11197 Only print environment variables if set.
11199 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11201 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11202 (macroexp--cons): Rename from maybe-cons.
11203 (macroexp--accumulate): Rename from macroexp-accumulate.
11204 (macroexp--all-forms): Rename from macroexpand-all-forms.
11205 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11206 (macroexp--expand-all): Rename from macroexpand-all-1.
11208 2012-06-06 Sam Steingold <sds@gnu.org>
11210 * calendar/calendar.el (calendar-in-read-only-buffer):
11211 Call `special-mode' to enable the standard read-only keybindings.
11213 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11216 with "loading" messages (bug#11635).
11218 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11220 * files.el (enable-remote-dir-locals): New option.
11221 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11223 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11224 Ensure, that the temp directory is local.
11226 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11227 `temporary-file-directory'.
11229 * progmodes/python.el (python-send-region): Ensure, that the
11230 temporary file is created also in the remote case.
11232 2012-06-06 Glenn Morris <rgm@gnu.org>
11234 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11235 (vc-rcs-update-changelog): Use it.
11237 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11239 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11240 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11241 (vc-sccs-diff): Replace use of the external vcdiff script.
11243 2012-06-05 Glenn Morris <rgm@gnu.org>
11245 * ledit.el: Move to obsolete/.
11247 2012-06-05 Sam Steingold <sds@gnu.org>
11249 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11252 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * emacs-lisp/cust-print.el: Move to obsolete.
11256 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11257 compiler-macro expansion.
11259 Add native compiler-macro support.
11260 * emacs-lisp/macroexp.el (macroexpand-all-1):
11261 Support compiler-macros directly. Properly follow aliases and apply
11262 the compiler macros more thoroughly.
11263 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11264 macroexpand now properly follows aliases.
11265 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11266 (cl-compiler-macroexpand): Use new prop.
11267 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11269 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11271 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11273 * window.el (get-lru-window, get-mru-window, get-largest-window):
11274 New argument NOT-SELECTED to avoid picking the selected window.
11275 (window--display-buffer-1, window--display-buffer-2): Replace by
11276 new function window--display-buffer
11277 (display-buffer-same-window, display-buffer-reuse-window)
11278 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11279 Use window--display-buffer.
11280 (display-buffer-use-some-window): Remove temporary dedication
11281 hack by calling get-lru-window and get-largest-window with
11282 NOT-SELECTED argument non-nil. Call window--display-buffer.
11284 2012-06-05 Glenn Morris <rgm@gnu.org>
11286 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11287 Replace external vcdiff script.
11289 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11293 2012-06-04 Chong Yidong <cyd@gnu.org>
11295 * image.el (imagemagick-types-inhibit): Revert last change.
11297 (imagemagick-enabled-types): Remove CIN and EPS*.
11299 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * emacs-lisp/cl-lib.el: Rename from cl.el.
11302 * emacs-lisp/cl.el: New compatibility file.
11303 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11304 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11305 to obey the "cl-" prefix.
11306 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11308 2012-06-03 Glenn Morris <rgm@gnu.org>
11310 * emacs-lisp/authors.el (authors-aliases): Addition.
11312 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11315 2012-06-03 Stefan Merten <smerten@oekonux.de>
11317 * textmodes/rst.el: Add comments.
11318 (rst-transition, rst-adornment): New faces.
11319 (rst-adornment-faces-alist): Make default safe to reevaluate.
11321 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11322 Improve customization tags.
11323 (rst-define-level-faces): Clarify meaning.
11325 2012-06-03 Chong Yidong <cyd@gnu.org>
11327 * progmodes/compile.el (compilation-mode-line-fail)
11328 (compilation-mode-line-run, compilation-mode-line-exit):
11330 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11332 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11334 * progmodes/which-func.el (which-func-update-ediff-windows):
11335 New function. Use it in ediff-select-hook (Bug#11478).
11337 2012-06-03 Chong Yidong <cyd@gnu.org>
11339 * bindings.el: Remove explicit help text from format-mode-line.
11340 It is now supplied by mode-line-default-help-echo.
11341 (mode-line-front-space, mode-line-end-spaces)
11342 (mode-line-misc-info): New variables.
11343 (mode-line-modes, mode-line-position): Move the default value to
11344 the variable definition.
11345 (mode-line-default-help-echo): New defcustom.
11346 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11347 (mode-line-modified-help-echo): New functions.
11348 (mode-line-mule-info, mode-line-modified): Use them.
11349 (mode-line-eol-desc, propertized-buffer-identification):
11350 Consistency fixes for help text.
11351 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11352 set-buffer-file-coding-system (Bug#289).
11353 (mode-line-mule-info-help-echo): Update help text.
11355 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * simple.el (execute-extended-command): Set real-this-command
11360 2012-06-02 Chong Yidong <cyd@gnu.org>
11362 Remove incorrect uses of "modeline" in comments, docstrings, and
11363 function/variable names (Bug#10329).
11365 * cus-edit.el (mode-line):
11366 * dframe.el (dframe-mouse-hscroll):
11367 * emacs-lisp/re-builder.el:
11368 * emacs-lisp/easy-mmode.el (define-minor-mode):
11369 * frame.el (set-frame-name):
11370 * help.el (lookup-minor-mode-from-indicator):
11371 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11372 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11373 (c-toggle-hungry-state):
11374 * progmodes/antlr-mode.el (antlr-language-alist):
11375 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11376 * progmodes/vhdl-mode.el (vhdl-mode):
11377 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11378 * term/ns-win.el (ns-face-at-pos):
11379 * term/sup-mouse.el (sup-mouse-report):
11380 * textmodes/flyspell.el (flyspell-mode-line-string):
11381 * textmodes/ispell.el (ispell-highlight-face):
11382 * textmodes/reftex-global.el:
11383 * vc/vc-arch.el (vc-arch-mode-line-string):
11384 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11385 * vc/vc-git.el (vc-git-mode-line-string):
11386 * vc/vc-hooks.el (vc-display-status)
11387 (vc-default-mode-line-string):
11388 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11390 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11392 * dired.el (dired-sort-set-mode-line): Rename from
11393 dired-sort-set-modeline. All callers changed.
11395 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11396 eshell-status-in-modeline.
11398 * foldout.el (foldout-mode-line-string): Rename from
11399 foldout-modeline-string. All callers changed.
11400 (foldout-update-mode-line): Rename from foldout-update-modeline.
11402 * subr.el (redraw-modeline): Make into obsolete alias.
11404 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11405 timeclock-modeline-display. Make old name an alias.
11406 (timeclock-update-mode-line): Likewise. All callers changed.
11407 (timeclock-mode-line-display): No need to check before using
11409 (timeclock-relative, timeclock-day-over-hook)
11410 (timeclock-use-elapsed, timeclock-mode-string)
11411 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11413 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11414 crisp-mode-modeline-string.
11416 * play/solitaire.el (solitaire-build-mode-line): Rename from
11417 solitaire-build-modeline. All callers changed.
11419 * play/zone.el (zone-hiding-mode-line): Rename from
11420 zone-hiding-modeline. All callers changed.
11421 (zone): Remove unusued `modeline-hidden-level' property.
11423 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11424 xscheme-modeline-initialize. All callers changed.
11426 * strokes.el (strokes-lighter): Rename from
11427 strokes-modeline-string.
11429 * textmodes/sgml-mode.el (html-face-tag-alist)
11430 (html-tag-face-alist): Use mode-line face instead of obsolete
11433 2012-06-02 Stefan Merten <smerten@oekonux.de>
11435 * textmodes/rst.el: Always require `cl'.
11436 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11438 2012-06-02 Chong Yidong <cyd@gnu.org>
11440 * image.el (imagemagick-enabled-types): Rename from
11441 imagemagick-types-enable. Add many more types.
11442 (imagemagick-types-inhibit): Change default to nil.
11443 (imagemagick-filter-types): Caller changed.
11445 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * emacs-lisp/cl-macs.el: Use backquotes.
11448 (cl-transform-function-property): Use eval-and-compile rather than
11450 (defstruct): Use declare-function instead of with-no-warnings.
11452 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11453 (byte-compile-output-docform): Re-add the print-circle bindings.
11454 (byte-compile-fix-header): Use #$ just because it's shorter.
11455 (byte-compile-output-file-form): Remove defun/defmacro.
11457 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11459 * simple.el (choose-completion): Remove now obsolete binding for
11462 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11464 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11465 in order to avoid "Stack overflow in regexp matcher".
11467 2012-05-31 Glenn Morris <rgm@gnu.org>
11469 * image.el: For clarity, call imagemagick-register-types at
11470 top-level, rather than relying on a custom :initialize.
11471 (imagemagick-types-enable): New option. (Bug#11557)
11472 (imagemagick-filter-types): New function. (Bug#7406)
11473 (imagemagick-register-types): Use imagemagick-filter-types.
11474 If disabling support, remove elements altogether rather
11475 than using an impossible regexp.
11476 (imagemagick-types-inhibit): Give it the default init function.
11478 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11480 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11481 Handle arbitrary file name lengths (Bug#11585).
11483 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11485 * desktop.el (desktop-read): Clear previous and next buffers for
11486 all windows and bury *Messages* buffer (bug#11556).
11488 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11490 Add `declare' for `defun'. Align `defmacro's with it.
11491 * emacs-lisp/easy-mmode.el (define-minor-mode)
11492 (define-globalized-minor-mode): Don't autoload the var definitions.
11493 * emacs-lisp/byte-run.el: Use lexical-binding.
11494 (defun-declarations-alist, macro-declarations-alist): New vars.
11495 (defmacro, defun): Use them.
11496 (make-obsolete, define-obsolete-function-alias)
11497 (make-obsolete-variable, define-obsolete-variable-alias):
11499 (macro-declaration-function): Mark obsolete.
11500 * emacs-lisp/autoload.el: Use lexical-binding.
11501 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11503 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11505 * textmodes/ispell.el (ispell-with-no-warnings):
11507 (ispell-kill-ispell, ispell-change-dictionary):
11508 Use `called-interactively-p' for Emacs instead of obsolete
11511 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11514 (macro-declaration-function): Move var from C code.
11515 (macro-declaration-function): Define function with defalias.
11516 * emacs-lisp/macroexp.el (macroexpand-all-1):
11517 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11518 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11519 defun/defmacro any more.
11520 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11521 Provide fallback for unknown arglist.
11522 (byte-compile-arglist-warn): Change calling convention.
11523 (byte-compile-output-file-form): Move print-vars binding.
11524 (byte-compile-output-docform): Simplify accordingly.
11525 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11526 (byte-compile-defmacro-declaration): Remove.
11527 (byte-compile-file-form-defmumble): Generalize to defalias.
11528 (byte-compile-output-as-comment): Return byte-positions.
11529 Simplify callers accordingly.
11530 (byte-compile-lambda): Use `assert'.
11531 (byte-compile-defun, byte-compile-defmacro): Remove.
11532 (byte-compile-file-form-defalias):
11533 Use byte-compile-file-form-defmumble.
11534 (byte-compile-defalias-warn): Remove.
11536 2012-05-29 Stefan Merten <smerten@oekonux.de>
11538 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11539 possible. Fix authors. Improve comments. Improve loading of `cl'.
11541 (rst-mode-abbrev-table): Merge definition.
11542 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11543 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11545 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11547 * calendar/icalendar.el
11548 (icalendar-export-region): Export UID properly.
11550 2012-05-29 Leo Liu <sdl.web@gmail.com>
11551 * calendar/icalendar.el (icalendar-import-format):
11552 Add `icalendar-import-format-uid' (Bug#11525).
11553 (icalendar-import-format-uid): New.
11554 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11557 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11559 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11560 different alternative patterns.
11561 (pcase-codegen): Be more careful to preserve identity.
11562 (pcase--u1): Don't forget to mark vars as used.
11564 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11565 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11566 (byte-compile-from-buffer): ...rather than here.
11568 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11569 functions from byte-compile-function-environment.
11571 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11573 * window.el (window-deletable-p): Avoid deleting the root window
11574 of a frame with an active minibuffer.
11576 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11578 * simple.el (choose-completion): Use quit-window (Bug#11567).
11580 2012-05-29 Chong Yidong <cyd@gnu.org>
11582 * whitespace.el (whitespace-cleanup): Fix usage of
11583 whitespace-empty-at-bob-regexp (Bug#11492).
11585 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11587 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11588 revert (Bug#11488).
11590 2012-05-29 Juri Linkov <juri@jurta.org>
11592 * isearch.el (isearch-mode-map): Bind `M-s _' to
11593 `isearch-toggle-symbol'. Bind `M-s c' to
11594 `isearch-toggle-case-fold'.
11595 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11596 (isearch-forward): Add `M-s _' to the docstring.
11597 (isearch-forward-symbol, isearch-toggle-case-fold)
11598 (isearch-symbol-regexp): New functions. (Bug#11381)
11600 2012-05-29 Juri Linkov <juri@jurta.org>
11602 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11603 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11604 a function, call it to get the regexp.
11605 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11606 property `isearch-message-prefix' instead of the string "word ".
11607 (isearch-search-fun-default): For the case of `isearch-word',
11608 return a lambda that calls re-search-forward/re-search-backward
11609 with a regexp returned by `word-search-regexp' or by the function
11612 2012-05-29 Juri Linkov <juri@jurta.org>
11614 * isearch.el (isearch-search-fun-default): New function.
11615 (isearch-search-fun): Move default part to the new function
11616 `isearch-search-fun-default'.
11617 (isearch-search-fun-function): Set the default value to
11618 `isearch-search-fun-default'. (Bug#11381)
11620 * comint.el (comint-history-isearch-end):
11621 Use `isearch-search-fun-default'.
11622 (comint-history-isearch-search): Use `isearch-search-fun-default'
11623 and remove spacial case for `isearch-word'.
11624 (comint-history-isearch-wrap): Remove spacial case for
11627 * hexl.el (hexl-isearch-search-function):
11628 Use `isearch-search-fun-default'.
11630 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11631 Use `word-search-regexp' for `isearch-word'.
11633 * misearch.el (multi-isearch-search-fun):
11634 Use `isearch-search-fun-default'.
11636 * simple.el (minibuffer-history-isearch-search):
11637 Use `isearch-search-fun-default' and remove spacial case for
11639 (minibuffer-history-isearch-wrap): Remove spacial case for
11642 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11643 Remove spacial case for `isearch-word'.
11644 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11646 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11648 Decrease XEmacs incompatibilities.
11649 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11650 Use `string-match'.
11651 (flyspell-delete-region-overlays): Use alternative definition for
11653 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11654 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11655 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11656 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11657 `define-obsolete-face-alias' under XEmacs, but old method.
11659 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11660 `with-no-warnings' definition or Emacs alias.
11661 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11662 (ispell-word): Do not use `region-p' if XEmacs.
11664 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11666 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11667 Check for `ispell-dictionary-base-alist' instead of full
11668 `ispell-dictionary-alist'.
11669 (ispell-init-process): Show spellchecker when starting new Ispell
11672 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11674 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11675 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11677 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11679 * version.el (motif-version-string, gtk-version-string)
11680 (ns-version-string): Declare.
11682 2012-05-27 Juri Linkov <juri@jurta.org>
11684 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11685 after the `eval-defun-1' specialcaseing
11686 like in `edebug-eval-defun' (bug#10181).
11688 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11689 like in `eval-defun-1'.
11691 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11693 * mail/sendmail.el (mail-yank-region):
11694 Recognize rmail-yank-current-message in addition to insert-buffer.
11695 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11696 a *mail* buffer created through rmail-start-mail with sendmail as
11699 2012-05-27 Chong Yidong <cyd@gnu.org>
11701 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11702 Default to 256 (Bug#11267).
11704 * help.el (describe-mode): Doc fix.
11706 2012-05-26 Glenn Morris <rgm@gnu.org>
11708 * w32-fns.el (w32-init-info): Remove.
11709 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11711 * info.el (info-initialize): For self-contained NS builds, put the
11712 included info/ directory at the front. (Bug#2791)
11714 * paths.el (Info-default-directory-list): Make it a defcustom,
11715 mainly so that we can use custom-initialize-delay.
11717 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * subr.el (buffer-has-markers-at): Mark obsolete.
11721 * subr.el (lambda): Use declare.
11723 * emacs-lisp/lisp-mode.el (lambda):
11724 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11726 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11728 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11730 2012-05-26 Glenn Morris <rgm@gnu.org>
11732 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11734 2012-05-25 Glenn Morris <rgm@gnu.org>
11736 * paths.el: Remove no-byte-compile.
11737 * loadup.el: No need to load paths.el uncompiled.
11739 * image.el (imagemagick-types-inhibit): Doc fix.
11741 * version.el: Remove no-byte-compile and associated formatting.
11742 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11743 is ancient code from when there was an "inc-vers.el".
11745 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11747 * progmodes/gdb-mi.el: Minor style changes.
11748 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11749 Turn into minor modes.
11750 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11751 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11752 (gdb-shell): Remove unneeded let-binding.
11753 (gdb-get-many-fields): Eliminate O(n²) behavior.
11755 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11757 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11758 platforms that don't link in fontset.c.
11760 2012-05-25 Juri Linkov <juri@jurta.org>
11762 Use the same diff color scheme as in modern VCSes (bug#10181).
11764 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11765 to avoid confusion with `diff-added' that now uses green colors.
11766 (diff-removed): Use shades of red.
11767 (diff-added): Use shades of green.
11768 (diff-changed): Leave just the yellow color.
11769 (diff-use-changed-face): New variable.
11770 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11771 how to highlight context diff changes.
11772 (diff-refine-change): Use shades of yellow.
11773 (diff-refine-removed): New face that uses shades of red.
11774 (diff-refine-added): New face that uses shades of green.
11775 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11776 `diff-refine-removed' in the call to `smerge-refine-subst'
11777 depending on the value of `diff-use-changed-face'.
11779 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11780 (smerge-other): Use shades of green.
11781 (smerge-base): Use shades of yellow.
11782 (smerge-refined-change): Empty face.
11783 (smerge-refined-removed): New face that uses shades of red.
11784 (smerge-refined-added): New face that uses shades of green.
11785 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11786 args `props-r' and `props-a', and use them. Doc fix.
11787 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11788 on its value use different faces `smerge-refined-change',
11789 `smerge-refined-removed', `smerge-refined-added' in the call to
11790 `smerge-refine-subst'.
11792 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11793 Add face condition `min-colors 88' with shades of red.
11794 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11795 `min-colors 88' with shades of green.
11796 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11797 `min-colors 88' with shades of yellow.
11799 2012-05-24 Glenn Morris <rgm@gnu.org>
11801 * paths.el (prune-directory-list, remote-shell-program): Move to...
11802 * files.el (prune-directory-list, remote-shell-program): ...here.
11803 For the latter, delay initialization, prefer ssh, just search PATH.
11805 * paths.el (term-file-prefix): Move to faces.el (the only user).
11806 * faces.el (term-file-prefix): Move here, make it a defcustom.
11808 * paths.el (news-directory, news-path, news-inews-program):
11809 Move to gnus/nnspool.el.
11811 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11813 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11814 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11815 Make the latter a defcustom, with a delayed initialization.
11817 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11818 These were deleted from Gnus itself late 2010.
11820 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11822 * progmodes/which-func.el (which-func-ff-hook):
11823 Check against user-error, not error.
11825 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11826 cl-specs.el, which no longer exists.
11828 2012-05-22 Glenn Morris <rgm@gnu.org>
11830 * info.el (info-emacs-bug): New command.
11831 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11832 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11834 2012-05-21 Glenn Morris <rgm@gnu.org>
11836 * makefile.w32-in (update-subdirs-SH):
11837 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11839 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11843 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11844 Simplify Maven regexp, and make sure the file can't start with a space
11847 2012-05-21 Glenn Morris <rgm@gnu.org>
11849 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11850 Scrap superfluous subshells.
11852 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11855 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11857 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11859 * calc/calc.el (calc-ensure-consistent-units): New variable.
11861 * calc/calc-units.el (math-consistent-units-p)
11862 (math-check-unit-consistency): New functions.
11863 (calc-quick-units, calc-convert-units):
11864 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11866 (calc-extract-units): Fix typo.
11868 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11870 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11872 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11873 (flyspell-default-deplacement-commands): Don't spell check after
11874 repeated window/frame switches (e.g. triggered by mouse-movement).
11875 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11876 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11877 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11878 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11879 Remove unused vars.
11880 (flyspell-get-casechars, flyspell-get-not-casechars):
11881 Simplify; Don't bother removing a ] just to add it back.
11882 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11884 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11886 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11888 (math-function-table): Add support for more C functions.
11890 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11892 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11893 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11894 Protect delay handling for otherchars against empty otherchars.
11896 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11899 their respective macro declarations.
11900 * skeleton.el (define-skeleton):
11901 * progmodes/compile.el (define-compilation-mode):
11902 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11903 (define-ibuffer-filter):
11904 * emacs-lisp/generic.el (define-generic-mode):
11905 * emacs-lisp/easy-mmode.el (define-minor-mode)
11906 (define-globalized-minor-mode):
11907 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11908 * emacs-lisp/byte-run.el (defsubst):
11909 * custom.el (deftheme): Add doc-string metadata.
11911 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11913 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11915 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11919 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11920 * emacs-lisp/cl-macs.el: Idem.
11921 * emacs-lisp/cl-specs.el: Remove.
11923 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11925 Minor renaming of internal CL functions and variables.
11926 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11927 (cl--position): Rename from cl-position.
11928 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11929 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11930 (cl--random-state): Rename from *random-state*.
11932 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11934 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11935 parens around the arg list (bug#11499).
11937 2012-05-17 Juri Linkov <juri@jurta.org>
11939 * isearch.el (word-search-regexp, word-search-backward)
11940 (word-search-forward, word-search-backward-lax)
11941 (word-search-forward-lax): Move functions from search.c
11942 (bug#10145, bug#11381).
11944 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11946 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11947 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11948 Delay for otherchars as for normal word components.
11950 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11952 * minibuffer.el (completion--sifn-requote): Fix last change.
11953 (minibuffer-local-must-match-filename-map):
11954 Move define-obsolete-variable-alias before its var.
11956 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11960 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11962 (completion--string-equal-p): New function.
11963 (completion--twq-all): Use it to get better assertion failure data.
11965 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11966 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11967 (shell--requote-argument): New functions.
11968 (shell-completion-vars): Use them.
11969 (shell--parse-pcomplete-arguments): Rename from
11970 shell-parse-pcomplete-arguments.
11971 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11972 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11973 Obey comint-file-name-quote-list.
11975 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11976 (smie-indent-keyword): Use it.
11978 2012-05-14 Stefan Merten <smerten@oekonux.de>
11980 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11982 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * net/rlogin.el (rlogin-mode-map): Fix last change.
11986 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11988 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11989 the following \r\n using a single `process-send-string', since the
11990 Lotus SMTP server refuses to accept any commands if they are sent
11991 with two `process-send-string's (Bug#11444).
11993 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * shell.el (shell-parse-pcomplete-arguments):
11996 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11998 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12000 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12001 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12002 (image-transform-width, image-transform-fit-width): New functions.
12003 (image-transform-properties): Use them.
12004 (image-transform-check-size): New function.
12005 (image-toggle-display-image): Use it (for testing).
12006 (image-transform-set-rotation): Reduce angle mod 360.
12007 Delete obsolete comment.
12009 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12011 * image-mode.el: Fix scaling (bug#11399).
12012 (image-transform-resize): Doc fix.
12013 (image-transform-properties): Default scale is 1 and height should
12016 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12018 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12019 than hard-coding `car', to fix misbehavior when moving forward.
12021 2012-05-13 Chong Yidong <cyd@gnu.org>
12023 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12024 (tabulated-list-entries, tabulated-list-padding)
12025 (tabulated-list-sort-key): Make permanent-local.
12027 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12028 (electric-buffer-list): Put electric buffer menu
12029 command descriptions in this docstring, instead of the docstring
12030 of electric-buffer-menu-mode. Code cleanups.
12031 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12032 Electric-buffer-menu-mode.
12033 (electric-buffer-update-highlight): Minor code cleanup.
12035 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12037 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12040 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12042 Move define-obsolete-variable-alias before the var's definition.
12043 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12044 * tooltip.el (tooltip-hook):
12045 * textmodes/reftex-toc.el (reftex-toc-map):
12046 * textmodes/reftex-sel.el (reftex-select-label-map)
12047 (reftex-select-bib-map):
12048 * textmodes/reftex-index.el (reftex-index-map)
12049 (reftex-index-phrases-map):
12050 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12051 * progmodes/meta-mode.el (meta-mode-map):
12052 * novice.el (disabled-command-hook):
12053 * loadhist.el (unload-hook-features-list):
12054 * frame.el (blink-cursor):
12055 * files.el (find-file-not-found-hooks, write-file-hooks)
12056 (write-contents-hooks):
12057 * emulation/tpu-edt.el (GOLD-map):
12058 * emacs-lock.el (emacs-lock-from-exiting):
12059 * emacs-lisp/generic.el (generic-font-lock-defaults):
12060 * emacs-lisp/chart.el (chart-map):
12061 * dos-fns.el (register-name-alist):
12062 * dired-x.el (dired-omit-files-p):
12063 * desktop.el (desktop-enable):
12064 * cus-edit.el (custom-mode-hook):
12065 * buff-menu.el (buffer-menu-mode-hook):
12066 * bookmark.el (bookmark-read-annotation-text-func)
12067 (bookmark-exit-hooks):
12068 * allout.el (allout-mode-deactivate-hook)
12069 (allout-exposure-change-hook, allout-structure-added-hook)
12070 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12071 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12072 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12073 comes before the corresponding variable's definition.
12075 2012-05-12 Chong Yidong <cyd@gnu.org>
12077 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12078 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12079 (Buffer-menu-mode-map): Bind it.
12080 (Buffer-menu--pretty-name): Add a mouse-face property.
12082 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12084 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12085 (prolog-upper-case-string, prolog-lower-case-string)
12086 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12087 (prolog-use-smie, prolog-smie-grammar): New vars.
12088 (prolog-smie-forward-token, prolog-smie-backward-token)
12089 (prolog-smie-rules): New funs.
12090 (prolog-comment-indent): Remove.
12091 (prolog-mode-variables): Use default comment indentation instead.
12093 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12094 (prolog-mode): Don't call them any more.
12095 (prolog-electric-colon, prolog-electric-dash)
12096 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12098 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12100 * minibuffer.el (completion--twq-all): Again, allow case differences.
12102 * term.el: Move keymap initialization code to be more idiomatic.
12103 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12104 (term-terminal-menu): Move initialization into declaration.
12105 (term-escape-char): Let the user set it in her .emacs.
12107 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12108 Provide SMIE-based indentation (not enabled by default yet).
12109 (sh-mode-map): Don't bind electric keys.
12110 Use electric-pair-mode instead of skeleton-pair.
12111 (sh-assignment-regexp): Fit within 80 columns.
12112 (sh-indent-supported): Specify actual shell name instead of boolean.
12113 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12114 (sh-maybe-here-document): Use it. Make obsolete.
12115 (sh-electric-here-document-mode) New minor mode.
12116 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12117 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12118 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12119 (sh-smie-rc-grammar, sh-use-smie): New vars.
12120 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12121 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12122 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12123 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12124 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12125 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12126 (sh-set-shell): Use smie-setup if requested.
12128 * term.el (term-set-escape-char): Properly set term-escape-char.
12129 See http://stackoverflow.com/questions/10524656.
12131 2012-05-10 Chong Yidong <cyd@gnu.org>
12133 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12134 Use url-generic-parse-url, and handle host names and Windows
12135 filenames properly.
12136 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12137 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12138 URL schemes to work on.
12139 (ffap--toggle-read-only): New function.
12140 (ffap-read-only, ffap-read-only-other-window)
12141 (ffap-read-only-other-frame): Use it.
12142 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12143 necessary for ffap-url-unwrap-remote.
12145 2012-05-10 Dave Abrahams <dave@boostpro.com>
12147 * cus-start.el (create-lockfiles): Add it.
12149 2012-05-09 Chong Yidong <cyd@gnu.org>
12151 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12152 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12154 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12156 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12158 2012-05-09 Chong Yidong <cyd@gnu.org>
12160 * ansi-color.el (ansi-color-process-output): Check for validity of
12161 comint-last-output-start before using it. This avoids a bad
12162 interaction with gdb-mi's input/output buffer.
12164 2012-05-09 Glenn Morris <rgm@gnu.org>
12166 * files.el (dir-locals-read-from-file):
12167 Mention dir-locals in any error message.
12169 2012-05-09 Chong Yidong <cyd@gnu.org>
12171 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12172 package (Bug#11410).
12174 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12175 variables into description.
12177 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12179 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12180 shell-delimiter-argument-list (bug#11348).
12181 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12183 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12185 * textmodes/rst.el: Silence byte-compiler warnings.
12186 (rst-re-alist, rst-reset-section-caches): Move around.
12187 (rst-re): Use `characterp', not `char-valid-p'.
12188 (font-lock-beg, font-lock-end): Declare.
12190 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12191 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12193 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12195 2012-05-08 Glenn Morris <rgm@gnu.org>
12197 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12199 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * vc/log-edit.el: Add GNU coding standards highlighting.
12202 (log-edit-font-lock-gnu-style)
12203 (log-edit-font-lock-gnu-keywords): New vars.
12204 (log-edit-font-lock-keywords): New fun.
12205 (log-edit-mode): Don't fold case in font-lock.
12206 (log-edit-font-lock-keywords): Do not assume case-folding.
12208 * imenu.el: Misc cleanup. Make docstrings out of comments.
12209 Use lexical-binding.
12210 (imenu--index-alist, imenu--last-menubar-index-alist)
12211 (imenu-menubar-modified-tick): Use defvar-local.
12212 (imenu--split-menu): Remove unused var.
12213 (imenu--cleanup-seen): Declare as global.
12214 (imenu--cleanup): Use dolist.
12216 * subr.el (defvar-local): Add debug spec and doc-string position.
12218 2012-05-08 Glenn Morris <rgm@gnu.org>
12220 * language/burmese.el, language/cham.el, language/czech.el:
12221 * language/english.el, language/georgian.el, language/greek.el:
12222 * language/japanese.el, language/khmer.el, language/korean.el:
12223 * language/lao.el, language/misc-lang.el, language/romanian.el:
12224 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12225 * language/thai.el, language/utf-8-lang.el:
12226 Remove no-byte-compile setting.
12228 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12230 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12232 * progmodes/make-mode.el (makefile-browse):
12233 Remove unnecessary interactive. (Bug#11324)
12235 2012-05-07 Glenn Morris <rgm@gnu.org>
12237 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12239 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12241 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12243 * loadup.el: Preload newcomment.el.
12244 * newcomment.el: Move autoload-only code to toplevel.
12246 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12247 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12248 Handle new :right-align column property.
12249 (tabulated-list-print-col): Idem, plus use `display' text-property to
12250 try and preserve alignment for variable pitch fonts.
12252 2012-05-07 Chong Yidong <cyd@gnu.org>
12254 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12255 (tabulated-list-use-header-line): New var.
12256 (tabulated-list-init-header): Use it.
12257 (tabulated-list-print-fake-header): New function.
12258 (tabulated-list-print): Use it.
12259 (tabulated-list-sort-button-map): Add non-header-line commands.
12260 (tabulated-list-init-header): Add column name property to basic
12262 (tabulated-list-col-sort): Handle non-header-line button case.
12263 (tabulated-list--sort-by-column-name): Fix a corner case.
12265 * buff-menu.el (list-buffers--refresh):
12266 Handle Buffer-menu-use-header-line.
12268 2012-05-06 Chong Yidong <cyd@gnu.org>
12270 * buff-menu.el: Convert to Tabulated List mode.
12271 (Buffer-menu-buffer+size-width): Make obsolete.
12272 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12273 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12274 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12275 documentation into docstring of buffer-menu.
12276 (Buffer-menu-toggle-files-only): Add an informative message.
12277 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12278 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12279 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12280 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12281 (Buffer-menu-execute, Buffer-menu-select)
12282 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12283 (Buffer-menu-bury): Use Tabulated List machinery.
12284 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12285 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12287 (list-buffers--refresh): New function.
12288 (list-buffers-noselect): Use it.
12289 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12290 (Buffer-menu--pretty-file-name): New helper functions.
12292 * loadup.el: Preload tabulated-list.
12294 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12295 tabulated-list-sort-column.
12296 (tabulated-list-init-header): Add the initial aligning space even
12297 if tabulated-list-padding is zero.
12299 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12301 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12302 whose cdr is not a cons cell correctly (bug#11038).
12304 2012-05-06 Chong Yidong <cyd@gnu.org>
12306 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12307 Accept additional plist in column descriptors.
12308 (tabulated-list-init-header): Obey it.
12309 (tabulated-list-get-entry): New function.
12310 (tabulated-list-put-tag): Use it. Use string-width instead of
12312 (tabulated-list--column-number): New function.
12313 (tabulated-list-print): Use it.
12314 (tabulated-list-print-col): New function.
12315 Set `tabulated-list-column-name' property on each column's text.
12316 (tabulated-list-print-entry): Use it.
12317 (tabulated-list-delete-entry, tabulated-list-set-col):
12319 (tabulated-list-sort-column): New command (Bug#11337).
12321 * buff-menu.el (list-buffers): Move C-x C-b binding from
12322 buff-menu.el to bindings.el.
12324 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12325 :advertised-binding feature.
12327 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12329 * progmodes/compile.el (compilation-internal-error-properties):
12330 Calculate start position correctly when end-col is set but
12331 end-line is not (Bug#11382).
12333 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12335 * man.el (Man-unindent): Use text-property-default-nonsticky to
12336 prevent untabify from inheriting face properties (Bug#11408).
12338 2012-05-05 Stefan Merten <smerten@oekonux.de>
12340 * textmodes/rst.el: Major merge with upstream development up to
12341 Docutils SVN r7399 / rst.el V1.2.1.
12343 Clarify maintainership and authors.
12345 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12346 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12347 (rst-official-version, rst-official-cvs-rev, rst-version)
12348 (rst-package-emacs-version-alist): New functions and variables
12349 for version information.
12351 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12352 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12353 (rst-mode-syntax-table, rst-mode): New and corrected functions
12354 and variables representing reStructuredText features.
12356 (rst-re): New function for reStructuredText regexes. Use in
12359 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12360 (rst-mode-map): Rebind keys.
12362 (rst-mode-lazy, rst-font-lock-keywords)
12363 (rst-font-lock-extend-region)
12364 (rst-font-lock-extend-region-internal)
12365 (rst-font-lock-extend-region-extend)
12366 (rst-font-lock-find-unindented-line-limit)
12367 (rst-font-lock-find-unindented-line-match)
12368 (rst-adornment-level, rst-font-lock-adornment-level)
12369 (rst-font-lock-adornment-match)
12370 (rst-font-lock-handle-adornment-pre-match-form)
12371 (rst-font-lock-handle-adornment-matcher): Major revision of
12372 font-locking. Integrate with other code. Use `jit-lock-mode'.
12374 (rst-preferred-adornments, rst-adjust-hook)
12375 (rst-new-adornment-down, rst-preferred-bullets)
12376 (rst-preferred-bullets, rst-indent, rst-indent-width)
12377 (rst-indent-field, rst-indent-literal-normal)
12378 (rst-indent-literal-minimized, rst-indent-comment): Change,
12379 extend and improve customization.
12381 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12382 (rst-normalize-cursor-position, rst-get-decoration)
12383 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12384 (rst-rstrip, rst-toc-insert-find-delete-contents)
12385 (rst-shift-fill-region, rst-compute-bullet-tabs)
12386 (rst-debug-print-tabs, rst-debug-mark-found)
12387 (rst-shift-region-guts, rst-shift-region-right)
12388 (rst-shift-region-left, rst-use-char-classes)
12389 (rst-font-lock-keywords-function)
12390 (rst-font-lock-indentation-point)
12391 (rst-font-lock-find-unindented-line-begin)
12392 (rst-font-lock-find-unindented-line-end)
12393 (rst-font-lock-find-unindented-line)
12394 (rst-font-lock-adornment-point, rst-font-lock-level)
12395 (rst-adornment-level-alist): Remove functions and variables.
12397 (rst-compare-adornments, rst-get-adornment-match)
12398 (rst-suggest-new-adornment, rst-get-adornments-around)
12399 (rst-adornment-complete-p, rst-get-next-adornment)
12400 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12401 (rst-straighten-adornments): Standardize function names to
12402 use "adornment" instead of "decoration". Correct callers.
12403 Similar standardizing in many places.
12405 (rst-update-section, rst-adjust, rst-promote-region)
12406 (rst-enumerate-region, rst-bullet-list-region)
12407 (rst-repeat-last-character): Correct use of `interactive'.
12409 (rst-classify-adornment, rst-find-all-adornments)
12410 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12411 (rst-find-leftmost-column, rst-repeat-last-character):
12412 Refactor functions.
12414 (rst-find-title-line, rst-reset-section-caches)
12415 (rst-get-adornments-around, rst-adjust-adornment-work)
12416 (rst-arabic-to-roman, rst-roman-to-arabic)
12417 (rst-insert-list-pos, rst-insert-list-new-item)
12418 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12421 (rst-all-sections, rst-section-hierarchy)
12422 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12425 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12426 configuration instead of only buffer. Change where necessary.
12428 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12429 (rst-shift-region, rst-adaptive-fill): New functions for
12430 indentation and filling.
12432 (rst-comment-line-break, rst-comment-indent)
12433 (rst-comment-insert-comment, rst-comment-region)
12434 (rst-uncomment-region): New functions for handling comments.
12436 (rst-compile): Quote shell arguments.
12438 (rst-compile-pdf-preview, rst-compile-slides-preview):
12439 Delete temporary files after use.
12441 2012-05-05 Glenn Morris <rgm@gnu.org>
12443 * calendar/cal-html.el: Optionally include holidays in the output.
12444 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12445 (cal-html-holidays): New option.
12446 (cal-html-css-default): Add holiday entry.
12447 (holiday-in-range): Autoload it.
12448 (cal-html-htmlify-entry): Add optional class argument.
12449 (cal-html-htmlify-list): Add optional holidays argument.
12450 (cal-html-insert-agenda-days): Include holidays in the output.
12451 (cal-html-one-month): Maybe include holidays.
12453 * calendar/holidays.el (holiday-in-range):
12454 Move here from cal-tex-list-holidays.
12455 * calendar/cal-tex.el (cal-tex-list-holidays):
12456 Make it an obsolete alias for holiday-in-range. Update all callers.
12458 2012-05-05 Chong Yidong <cyd@gnu.org>
12460 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12463 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12465 * files.el (file-auto-mode-skip): New var.
12466 (set-auto-mode-1): Use it.
12468 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12470 * repeat.el: Use lexical-binding.
12471 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12472 (repeat-undo-count): Remove.
12474 * progmodes/octave-mod.el (octave-abbrev-start):
12475 * progmodes/f90.el (f90-abbrev-start):
12476 * face-remap.el (text-scale-adjust):
12477 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12479 * emacs-lisp/pcase.el (pcase--let*): New function.
12480 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12482 (pcase--split-pred): Be more clever about ruling out overlap between
12483 a predicate and some constant pattern.
12484 (pcase--q1): Use `null' instead of (eq foo nil).
12486 * subr.el (setq-local, defvar-local): New macros.
12487 (kbd): Redefine as an alias.
12488 (with-selected-window): Leave unrelated frames alone.
12489 (set-temporary-overlay-map): New function.
12491 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12493 * subr.el (user-error): New function.
12494 * window.el (switch-to-buffer):
12495 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12496 (smerge-match-conflict):
12497 * simple.el (previous-matching-history-element)
12498 (next-matching-history-element, goto-history-element, undo-more)
12500 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12501 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12502 (next-file, tags-loop-scan, list-tags, complete-tag):
12503 * progmodes/compile.el (compilation-loop):
12504 * mouse.el (mouse-minibuffer-check):
12505 * man.el (Man-bgproc-sentinel, Man-goto-page):
12506 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12507 (Info-history-forward, Info-follow-reference, Info-menu)
12508 (Info-extract-menu-item, Info-extract-menu-counting)
12509 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12510 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12511 (Info-next-reference, Info-prev-reference, Info-index)
12512 (Info-index-next, Info-follow-nearest-node)
12513 (Info-copy-current-node-name):
12514 * imenu.el (imenu--make-index-alist)
12515 (imenu-default-create-index-function, imenu-add-to-menubar):
12516 * files.el (basic-save-buffer, recover-file):
12517 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12518 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12519 (checkdoc-message-text, checkdoc-defun):
12520 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12521 * cus-edit.el (customize-changed-options, customize-rogue)
12522 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12523 (custom-variable-mark-to-reset-standard)
12524 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12526 * completion.el (check-completion-length):
12527 * comint.el (comint-search-arg)
12528 (comint-previous-matching-input-string-position)
12529 (comint-previous-matching-input)
12530 (comint-replace-by-expanded-history-before-point, comint-send-input)
12531 (comint-copy-old-input, comint-backward-matching-input)
12532 (comint-goto-process-mark, comint-set-process-mark):
12533 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12534 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12536 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12538 * dabbrev.el (dabbrev--ignore-case-p): New function.
12539 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12542 * files.el (automount-dir-prefix): Mark as obsolete.
12544 2012-05-04 Glenn Morris <rgm@gnu.org>
12546 * patcomp.el, play/bruce.el: Move to obsolete/.
12548 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12550 Fix minor Y10k bugs.
12551 * arc-mode.el (archive-unixdate):
12552 * autoinsert.el (auto-insert-alist):
12553 * calc/calc-forms.el (math-this-year):
12554 * emacs-lisp/copyright.el (copyright-current-year)
12555 (copyright-update-year, copyright):
12556 * tar-mode.el (tar-clip-time-string):
12557 * time.el (display-time-update):
12558 Don't assume years have 4 digits.
12560 2012-05-04 Chong Yidong <cyd@gnu.org>
12562 * dos-w32.el (file-name-buffer-file-type-alist)
12563 (direct-print-region-use-command-dot-com):
12564 * ffap.el (ffap-menu-regexp):
12565 * find-file.el (ff-special-constructs):
12566 * follow.el (follow-debug):
12567 * forms.el (forms--debug):
12568 * iswitchb.el (iswitchb-all-frames):
12569 * ido.el (ido-all-frames):
12570 * emacs-lisp/timer.el (timer-max-repeats):
12571 * mail/feedmail.el (feedmail-mail-send-hook)
12572 (feedmail-mail-send-hook-queued):
12573 * mail/footnote.el (footnote-signature-separator):
12574 * mail/mailabbrev.el (mail-alias-separator-string)
12575 (mail-abbrev-mode-regexp):
12576 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12577 * progmodes/idlwave.el (idlwave-libinfo-file)
12578 (idlwave-default-completion-case-is-down)
12579 (idlwave-library-routines): Convert defvars to defcustoms.
12581 * mail/rmail.el (rmail-decode-mime-charset):
12582 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12583 (idlwave-shell-fix-inserted-breaks)
12584 (idlwave-shell-activate-alt-keybindings)
12585 (idlwave-shell-use-breakpoint-glyph):
12586 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12588 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12592 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12594 * progmodes/verilog-mode.el (font-lock-keywords):
12595 Fix mis-highligting auto. Reported by Craig Barner.
12596 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12597 defines from global name space. Reported by Dan Dever.
12598 (verilog-auto-reset, verilog-auto-reset-widths)
12599 (verilog-auto-tieoff): Support using unbased numbers for
12600 AUTORESET and AUTOTIEOFF.
12601 (verilog-submit-bug-report): Update variable list.
12602 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12603 parenthesis from not matching. Reported by Michael Rytting.
12604 (verilog-auto-template-lint): Fix hash error when linting modules
12605 with no used templates.
12606 (verilog-warn, verilog-warn-error)
12607 (verilog-warn-fatal): When non-interactive report multiple
12608 warnings before exiting. Suggested by Brad Dobbie.
12609 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12610 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12611 to report unused template errors. Reported by Brad Dobbie.
12612 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12613 nets, bug438. Reported by Vns Blore.
12614 (verilog-auto-inout-module, verilog-auto-reg)
12615 (verilog-read-decls, verilog-read-sub-decls-sig)
12616 (verilog-signals-edit-wire-reg, verilog-signals-with):
12617 Fix passing of Verilog data types in ANSI input/output ports
12618 such as "output logic" into the AUTOs. Special case "wire" and
12619 "reg" for backwards compatibility presuming Verilog 2001.
12620 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12621 (verilog-preprocess): Fix replication of preprocess output.
12622 Reported by Brad Dobbie.
12623 (verilog-auto-inst-interfaced-ports):
12624 Create verilog-auto-inst-interfaced-ports, bug429.
12625 Reported by Julian Gorfajn.
12626 (verilog-after-save-font-hook)
12627 (verilog-before-save-font-hook): New variable.
12628 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12629 (verilog-save-font-mods): Wrap disabling fontification, reported
12631 (verilog-do-indent, verilog-pretty-declarations-auto)
12632 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12633 Reported by Pierre-David Pfister.
12634 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12635 of class declarations, bug292. Reported by Kevin Heilman.
12636 (verilog-read-decls): Fix 'parameter type' not appearing in
12637 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12638 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12639 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12640 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12641 Reported by David Kravitz.
12643 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12645 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12646 assignment with tests in ifs and for loops.
12647 (verilog-extended-complete-re, verilog-complete-reg): Change so
12648 that DPI inport functions don't look like fuction declarations.
12649 (verilog-pretty-expr): Don't line up assignment
12650 operations to the test and increment in if and for loops
12651 (verilog-extended-complete-re, verilog-complete-reg): Change so
12652 that DPI inport functions don't look like fuction declarations.
12654 2012-05-03 Kenichi Handa <handa@m17n.org>
12656 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12657 decoding, and show a warning message without signaling an error
12660 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * emacs-lisp/bytecomp.el
12663 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12664 since cconv.el might have introduced :fun-body, internal-make-closure,
12665 and friends for bytecomp to handle (bug#11391).
12666 * custom.el (defcustom): Avoid ((λ ..) ..).
12668 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12672 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12674 * notifications.el (dbus-debug):
12675 * term/linux.el (gpm-mouse-enable):
12676 * term/screen.el (xterm-register-default-colors): Declare.
12678 2012-05-02 Chong Yidong <cyd@gnu.org>
12680 * cus-start.el (gc-cons-percentage, exec-suffixes)
12681 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12682 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12683 (make-cursor-line-fully-visible, void-text-area-pointer)
12684 (font-list-limit): Add customization data.
12686 * allout.el (allout-exposure-change-functions)
12687 (allout-structure-added-functions)
12688 (allout-structure-deleted-functions)
12689 (allout-structure-shifted-functions): Rename abnormal hooks from
12690 *-hook, and convert to defcustoms.
12691 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12692 Convert to defcustoms.
12693 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12695 * allout-widgets.el: Hook callers changed.
12697 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12699 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12700 the yanked message in preference to the default value of
12701 buffer-file-coding-system.
12703 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12705 * window.el (display-buffer--action-function-custom-type):
12708 2012-05-02 Alan Mackenzie <acm@muc.de>
12710 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12712 2012-05-01 Glenn Morris <rgm@gnu.org>
12714 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12716 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12718 * cus-edit.el (custom-variable-documentation): Simplify with format.
12720 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12721 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * simple.el (suggest-key-bindings, execute-extended-command):
12724 Move from keyboard.c.
12726 2012-05-01 Chong Yidong <cyd@gnu.org>
12728 * follow.el: Eliminate advice.
12729 (set-process-filter, process-filter, sit-for): Advice deleted.
12730 (follow-mode-off-hook): Obsolete hook removed.
12731 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12733 (follow-auto): Use a :set function.
12734 (follow-mode): Rewritten. Don't advise process filters.
12735 (follow-switch-to-current-buffer-all, follow-scroll-up)
12736 (follow-scroll-down): Assume follow-mode is bound.
12737 (follow-comint-scroll-to-bottom)
12738 (follow-align-compilation-windows): New functions.
12739 (follow--window-sorter): New function.
12740 (follow-all-followers): Use it to explicitly sort windows by their
12741 positions; don't make assumptions about next-window order.
12742 (follow-windows-start-end, follow-delete-other-windows-and-split)
12743 (follow-calc-win-start): Doc fix.
12744 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12745 vertical-motion unnecessarily.
12746 (follow-adjust-window): New function.
12747 (follow-post-command-hook): Use it.
12748 (follow-call-set-process-filter, follow-call-process-filter)
12749 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12750 (follow-stop-intercept-process-output, follow-generic-filter):
12752 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12753 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12754 New functions, replacing advice on scroll-bar-* commands.
12755 (follow-mwheel-scroll): New function (Bug#4112).
12757 * comint.el (comint-adjust-point): New function.
12758 (comint-postoutput-scroll-to-bottom): Use it.
12759 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12761 2012-05-01 Glenn Morris <rgm@gnu.org>
12763 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12764 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12765 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12766 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12767 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12768 Remove no-byte-compile setting.
12770 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12773 all-completions code to not return a number in the last cdr.
12775 2012-04-30 Leo Liu <sdl.web@gmail.com>
12777 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12780 2012-04-29 Chong Yidong <cyd@gnu.org>
12782 * follow.el (follow-calc-win-end): Rewrite to handle partial
12783 screen lines correctly (Bug#8390).
12784 (follow-avoid-tail-recenter): Minor cleanup.
12786 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12788 Avoid the obsolete `assoc' package.
12789 * speedbar.el (speedbar-refresh): Avoid adelete.
12790 (speedbar-file-lists): Simplify and avoid aput.
12791 * man.el (Man--sections, Man--refpages): New vars, replacing
12792 Man-sections-alist and Man-refpages-alist.
12793 (Man-build-section-alist, Man-build-references-alist):
12794 Use them; avoid aput.
12795 (Man--last-section, Man--last-refpage): New vars.
12796 (Man-follow-manual-reference): Use them.
12797 Use the `default' arg of completing-read.
12798 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12800 2012-04-27 Chong Yidong <cyd@gnu.org>
12802 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12804 * startup.el (x-apply-session-resources): New function.
12806 * term/ns-win.el (ns-initialize-window-system):
12807 * term/w32-win.el (w32-initialize-window-system):
12808 * term/x-win.el (x-initialize-window-system): Use it to properly
12809 set menu-bar-mode and other vars from X resources, even if the
12810 initial frame is not a window-system frame (Bug#2299).
12812 * subr.el (read-key): Avoid running filter function when setting
12813 up temporary tool bar entries (Bug#9922).
12815 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12817 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12820 2012-04-27 Chong Yidong <cyd@gnu.org>
12822 * select.el (xselect--encode-string): New function, split from
12823 xselect-convert-to-string.
12824 (xselect-convert-to-string): Use it.
12825 (xselect-convert-to-filename, xselect-convert-to-os)
12826 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12827 returned strings are properly encoded (Bug#11315).
12829 2012-04-27 Chong Yidong <cyd@gnu.org>
12831 * simple.el (delete-active-region): Move to killing custom group.
12833 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12835 * progmodes/which-func.el (which-func-current): Quote %
12836 characters for mode-line processing.
12838 2012-04-27 Chong Yidong <cyd@gnu.org>
12840 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12841 reaching eob (Bug#11286).
12843 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12845 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12846 (gdb): Make it buffer-local and init to zero.
12847 (gdb-control-commands-regexp): New variable.
12848 (gdb-send): Don't wrap in "-interpreter-exec console" if
12849 gdb-control-level is positive. Increment gdb-control-level
12850 whenever the command matches gdb-control-commands-regexp, and
12851 decrement it each time the command is "end". (Bug#11279)
12853 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12855 * window.el (adjust-window-trailing-edge, enlarge-window)
12856 (shrink-window, window-resize):
12857 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12858 windows (Bug#11276).
12860 2012-04-27 Chong Yidong <cyd@gnu.org>
12862 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12863 fix "missing prefix" warning. All callers changed.
12865 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12867 * emacs-lisp/assoc.el: Move to obsolete/.
12869 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12871 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12873 * term/ns-win.el (ns-define-service):
12874 * progmodes/pascal.el (pascal-goto-defun):
12875 * progmodes/js.el (js--read-tab):
12876 * progmodes/etags.el (tags-lazy-completion-table):
12877 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12878 * emacs-lisp/ewoc.el (ewoc--wrap):
12879 * emacs-lisp/assoc.el (aput, adelete, amake):
12880 * doc-view.el (doc-view-convert-current-doc):
12881 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12883 2012-04-26 Chong Yidong <cyd@gnu.org>
12885 * image.el (image-type-from-buffer): Only return supported image
12888 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12889 value, for symmetry with diff-end-of-hunk.
12890 (diff-split-hunk, diff-find-source-location)
12891 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12892 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12893 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12894 compute the relevant hunk or file properly (Bug#6005).
12895 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12897 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * vc/vc.el: Replace lexical-let by lexical-binding.
12907 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12908 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12909 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12911 2012-04-26 Chong Yidong <cyd@gnu.org>
12913 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12914 (diff-mode-shared-map): Bind it to / and [remap undo].
12916 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12917 (ediff-window-setup-function): Use it as the default, to set up
12918 windows based on whether the current frame is graphical (Bug#2138).
12919 (ediff-choose-window-setup-function-automatically): Make obsolete.
12921 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12923 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12925 * ffap.el: Remove old code for obsolete package.
12926 (ffap-complete-as-file-p): Remove.
12928 Use completion-table-with-quoting for comint and pcomplete.
12929 * comint.el (comint--unquote&requote-argument)
12930 (comint--unquote-argument, comint--requote-argument): New functions.
12931 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12932 (comint-quote-filename): Use regexp-opt-charset.
12933 (comint--common-suffix, comint--common-quoted-suffix)
12934 (comint--table-subvert): Remove.
12935 (comint-unquote-function, comint-requote-function): New vars.
12936 (comint--complete-file-name-data): Use them with
12937 completion-table-with-quoting.
12938 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12939 * pcomplete.el (pcomplete-arg-quote-list)
12940 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12941 (pcomplete-unquote-argument-function): Default to non-nil.
12942 (pcomplete-unquote-argument): Simplify.
12943 (pcomplete--common-quoted-suffix): Remove.
12944 (pcomplete-requote-argument-function): New var.
12945 (pcomplete--common-suffix): New function.
12946 (pcomplete-completions-at-point): Use completion-table-with-quoting
12947 and completion-table-subvert.
12949 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12950 (minibuffer--double-dollars): Preserve properties.
12951 (completion--sifn-requote): New function.
12952 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12954 * minibuffer.el: Add support for completion of quoted/escaped data.
12955 (completion-table-with-quoting, completion-table-subvert): New funs.
12956 (completion--twq-try, completion--twq-all): New functions.
12957 (completion--nth-completion): New function.
12958 (completion-try-completion, completion-all-completions): Use it.
12960 2012-04-25 Leo Liu <sdl.web@gmail.com>
12962 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12963 Use compilation-message if available to find real filename.
12965 2012-04-25 Chong Yidong <cyd@gnu.org>
12967 * vc/diff-mode.el (diff-setup-whitespace): New function.
12968 (diff-mode): Use it.
12970 * vc/diff.el (diff-sentinel):
12971 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12972 Whitespace mode variables based on diff style (Bug#8612).
12974 2012-04-25 Leo Liu <sdl.web@gmail.com>
12976 * progmodes/python.el (python-send-region): Add suffix .py to the
12979 * files.el (auto-mode-alist): Use javascript-mode instead.
12981 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12983 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12985 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12986 (soap-resolve-references-for-array-type): Hack to prevent self
12987 references, see Bug#9.
12988 (soap-parse-envelope): Report the contents of the 'detail' node
12989 when receiving a fault reply.
12990 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12992 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12993 (soap-inspect-simple-type): New function.
12995 * net/soap-client.el (soap-simple-type): New struct.
12996 (soap-default-xsd-types, soap-default-soapenc-types)
12997 (soap-decode-basic-type, soap-encode-basic-type):
12998 support unsignedInt and double basic types.
12999 (soap-resolve-references-for-simple-type)
13000 (soap-parse-simple-type, soap-encode-simple-type): New function.
13001 (soap-parse-schema): Parse xsd:simpleType declarations.
13003 * net/soap-client.el (soap-default-xsd-types)
13004 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13005 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13006 the local name of "soapenc:Array".
13007 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13008 decoding integer, byte and anyURI xsd types.
13010 2012-04-25 Chong Yidong <cyd@gnu.org>
13012 * cus-edit.el (custom-buffer-create-internal): Update header text.
13014 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13016 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13017 settings on 'system-type', not on 'window-system'. On MS-Windows,
13018 set interactive-mode on in GDB.
13020 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13022 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13023 (ruby-syntax-propertize-regexp): Remove.
13024 (ruby-syntax-propertize-function): Split regexp into chunks.
13025 Match following code directly.
13027 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13029 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13030 (ruby-syntax-propertize-regexp): New function.
13031 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13032 by a special keyword.
13034 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13035 (ruby-syntax-general-delimiters-goto-beg)
13036 (ruby-syntax-propertize-general-delimiters): New functions.
13037 (ruby-syntax-propertize-function): Use them to handle GDL.
13038 (ruby-font-lock-keywords): Move old handling of GDL...
13039 (ruby-font-lock-syntactic-keywords): .. to here.
13040 (ruby-calculate-indent): Adjust indentation for GDL.
13042 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13044 * notifications.el (top): Remove unneeded declarations.
13045 (notifications-specification-version): Change to "1.2".
13046 (notifications-interface, notifications-notify-method)
13047 (notifications-close-notification-method): Fix docstring.
13048 (notifications-get-capabilities-method): New defconst.
13049 (notifications-notify): Add :action-items, :resident and
13050 :transient hints. Change "image_data" to "image-data" and
13051 "image_path" to "image-path".
13052 (notifications-get-capabilities): New defun.
13054 2012-04-24 Leo Liu <sdl.web@gmail.com>
13056 * progmodes/python.el: Move hideshow setup to the end.
13058 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13060 * window.el (handle-select-window): Clear echo area since this is
13061 no more done by read_char (Bug#11304).
13063 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13066 and `/ M' to filter-derived-mode.
13067 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13068 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13069 (ibuffer-mark-by-mode): Use default rather than initial-input.
13070 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13072 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13074 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13075 (ibuffer-filter-by-derived-mode): New filter.
13076 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13078 2012-04-23 Andreas Politz <politza@fh-trier.de>
13080 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13082 2012-04-23 Chong Yidong <cyd@gnu.org>
13084 * cus-edit.el (customize-apropos, customize-apropos-options):
13085 Disable matching of non-option variables (Bug#11176).
13086 (customize-option, customize-option-other-window)
13087 (customize-changed-options): Doc fix.
13088 (customize-apropos-options, customize-apropos-faces)
13089 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13091 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13092 Fix word list splitting (Bug#11132).
13093 (apropos-symbol, apropos-keybinding, apropos-label)
13094 (apropos-property, apropos-function-button)
13095 (apropos-variable-button, apropos-misc-button): New faces.
13096 (apropos-symbol-face, apropos-keybinding-face)
13097 (apropos-label-face, apropos-property-face, apropos-match-face):
13098 Variables removed (Bug#8396).
13099 (apropos-library-button, apropos-format-plist, apropos-print)
13100 (apropos-print-doc, apropos-describe-plist): Callers changed.
13102 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13104 * net/xesam.el (xesam-mode-map): Use let-bound map in
13105 initialization. (Bug#11292)
13107 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13109 Preserve ispell session localwords when switching back to
13112 * textmodes/ispell.el (ispell-buffer-session-localwords):
13113 New buffer-local variable to hold buffer session localwords.
13114 (ispell-kill-ispell): Add option 'clear to delete session
13116 (ispell-command-loop, ispell-change-dictionary)
13117 (ispell-buffer-local-words): Preserve session localwords when
13120 * textmodes/flyspell.el (flyspell-process-localwords)
13121 (flyspell-do-correct): Preserve session localwords when needed.
13123 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13125 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13126 using obsolete `translation-table-for-input'.
13127 (ispell-word, ispell-process-line, ispell-complete-word):
13128 Use plain `insert' instead of removed `ispell-insert-word'.
13130 2012-04-22 Chong Yidong <cyd@gnu.org>
13132 * cus-edit.el (custom-variable-menu)
13133 (custom-variable-reset-saved, custom-face-menu)
13134 (custom-face-reset-saved): If there is no saved value, make the
13135 "reset-saved" operation bring back the default (Bug#9509).
13136 (custom-face-state): Properly detect themed faces.
13138 * faces.el (face-spec-set): Stop supporting deprecated form of
13141 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13143 Move functions from C to Lisp. Make non-blocking method calls
13144 the default. Implement further D-Bus standard interfaces.
13146 * net/dbus.el (dbus-message-internal): Declare function.
13147 Remove unneeded function declarations.
13148 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13149 (dbus-message-type-method-return, dbus-message-type-error)
13150 (dbus-message-type-signal): Declare variables. Remove local
13152 (dbus-interface-dbus, dbus-interface-peer)
13153 (dbus-interface-introspectable, dbus-interface-properties)
13154 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13156 (dbus-interface-objectmanager): New defconst.
13157 (dbus-call-method, dbus-call-method-asynchronously)
13158 (dbus-send-signal, dbus-method-return-internal)
13159 (dbus-method-error-internal, dbus-register-service)
13160 (dbus-register-signal, dbus-register-method): New defuns, moved
13162 (dbus-call-method-handler, dbus-setenv)
13163 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13165 (dbus-call-method-non-blocking): Make it an obsolete function.
13166 (dbus-unregister-object, dbus-unregister-service)
13167 (dbus-handle-event, dbus-register-property)
13168 (dbus-property-handler): Obey the new structure of
13169 `bus-registered-objects'.
13170 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13171 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13172 Use `dbus-call-method'.
13174 2012-04-22 Chong Yidong <cyd@gnu.org>
13176 * cus-edit.el (custom-commands, custom-reset-menu)
13177 (Custom-reset-standard): Tweak labels.
13178 (custom-reset-button-menu): Change default to t.
13179 (custom-buffer-create-internal): For the custom-reset-button-menu
13180 case, put the revert button first.
13181 (custom-group-subtitle): New face.
13182 (custom-group-value-create): Align docstring to a specific column.
13184 * wid-edit.el (widget-documentation-link-add): Don't handle
13185 indentation in this function.
13186 (widget-documentation-string-indent-to): New function.
13187 (widget-documentation-string-value-create): Use it.
13189 * autorevert.el (auto-revert):
13190 * epg-config.el (epg):
13191 * ibuffer.el (ibuffer):
13194 * eshell/eshell.el (eshell):
13195 * net/ange-ftp.el (ange-ftp):
13196 * progmodes/ebnf2ps.el (postscript):
13197 * progmodes/flymake.el (flymake):
13198 * progmodes/prolog.el (prolog):
13199 * progmodes/verilog-mode.el (verilog-mode):
13200 * progmodes/which-func.el (which-func):
13201 * term/xterm.el (xterm):
13202 * textmodes/picture.el (picture):
13203 * textmodes/tildify.el (tildify):
13204 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13205 customization buffers.
13207 2012-04-22 Alan Mackenzie <acm@muc.de>
13209 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13210 Adding a ) can hide the resulting (..) from searches. Fix it.
13211 Bound the backward search to the position of the existing (.
13213 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13215 * progmodes/verilog-mode.el (verilog-mode): Check whether
13216 which-func-modes is t before adding verilog-mode.
13217 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13219 2012-04-21 Leo Liu <sdl.web@gmail.com>
13221 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13223 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13225 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13226 filling of the last column of a table (Bug#5635).
13227 (woman-find-next-control-line): New arg, specifying an additional
13228 regexp component for the control line.
13229 (woman2-roff-buffer): Use it.
13230 (woman-break-table): New function.
13231 (woman2-TS): Use it.
13233 2012-04-21 Chong Yidong <cyd@gnu.org>
13235 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13236 (woman-horizontal-escapes, woman-negative-vertical-space)
13237 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13238 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13240 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * minibuffer.el (completion-file-name-table): Complete user names.
13244 2012-04-20 Leo Liu <sdl.web@gmail.com>
13246 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13249 2012-04-20 Chong Yidong <cyd@gnu.org>
13251 * server.el (server-execute): Respect initial-buffer-choice if it
13252 is a string and there are no files to open (Bug#2825).
13253 (server-create-window-system-frame, server-create-tty-frame):
13254 Don't switch buffers here.
13255 (server-process-filter): Only try to open a window system frame if
13256 compiled with graphical support (Bug#8314).
13258 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13260 * battery.el (battery-echo-area-format): Display remaining time
13261 for sysfs backend too (Bug#11269).
13262 (battery-linux-sysfs): Fix conditional for the charge.
13264 2012-04-20 Chong Yidong <cyd@gnu.org>
13266 * progmodes/gdb-mi.el (gdb): Revert previous change.
13267 (gdb-inferior-io--init-proc): New function.
13268 (gdb-init-1): Use it.
13269 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13270 responsible for allocating a new pty and hooking it to gdb when
13271 the old pty gets an EIO due to process exit.
13272 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13273 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13274 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13276 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13278 * window.el (window-min-size, window-sizable, window-min-delta)
13279 (window-max-delta, window--resizable, window-resizable)
13280 (window-total-size, window-full-height-p, window-full-width-p)
13281 (window-in-direction, window--resize-mini-window, window-resize)
13282 (window--resize-child-windows-normal)
13283 (window--resize-child-windows, window--resize-siblings)
13284 (window--resize-this-window, adjust-window-trailing-edge)
13285 (enlarge-window, shrink-window): Doc fixes.
13287 2012-04-20 Chong Yidong <cyd@gnu.org>
13289 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13290 New function to call delete-process on the gdb-inferior buffer's pty.
13291 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13292 pty process (Bug#11273).
13293 (gdb-update): New arg to suppress talking to the gdb process.
13294 (gdb-done-or-error): Use it.
13295 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13296 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13297 sentinel not being called.
13299 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13301 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13303 2012-04-20 Glenn Morris <rgm@gnu.org>
13305 * net/network-stream.el (open-network-stream): Doc fix.
13307 2012-04-20 Chong Yidong <cyd@gnu.org>
13309 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13311 2012-04-20 Alan Mackenzie <acm@muc.de>
13313 Ensure searching for keywords is case sensitive.
13315 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13316 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13317 (c-defun-name, c-mark-function, c-cpp-define-name)
13318 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13319 (c-context-line-break): Bind case-fold-search to nil.
13321 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13322 Bind case-fold-search to nil.
13324 2012-04-20 Chong Yidong <cyd@gnu.org>
13326 * mail/sendmail.el (mail-bury): Call return action with the right
13327 Rmail buffer (Bug#11242).
13329 * server.el (server-process-filter): Handle corner case where both
13330 tty and nowait options are present (Bug#11102).
13332 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13334 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13335 (top level): Put into the executable the ident-style '$Id:' tag on
13336 windows-nt as well.
13338 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13340 * electric.el (electric-indent-post-self-insert-function): Check that
13341 electric-indent-mode is enabled in current buffer.
13343 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13345 * imenu.el (imenu-progress-message): Restore; it is "used" in
13346 erc/erc-imenu.el and net/snmp-mode.el.
13348 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13350 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13351 (mouse-avoidance-nudge-mouse): Remove unused binding.
13353 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13355 * descr-text.el (describe-char):
13356 * progmodes/python.el (python-describe-symbol):
13357 Don't call `toggle-read-only', set `buffer-read-only'.
13359 * imenu.el (imenu-default-goto-function): Mark unused args.
13360 (imenu-progress-message): Remove obsolete macro; all callers changed.
13362 * subr.el (keymap-canonicalize): Remove unused binding.
13363 (read-passwd): Mark unused arg.
13365 * tutorial.el (tutorial--display-changes): Remove unused binding.
13366 (tutorial--save-tutorial-to): Remove unused variable.
13368 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13369 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13370 (package-generate-autoloads, package-menu--generate)
13371 (package-menu--find-upgrades): Remove unused bindings.
13373 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13374 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13375 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13376 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13377 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13378 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13379 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13380 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13381 (cua-delete-char-rectangle): Mark unused args.
13382 (cua-align-rectangle): Remove unused binding.
13384 * mail/rmail.el (compilation--message->loc)
13385 (epa--find-coding-system-for-mime-charset): Declare.
13387 * net/dbus.el (dbus-register-service): Declare.
13388 (dbus-name-owner-changed-handler): Remove unused binding.
13390 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13391 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13392 (nxml-scan-backward-within): Mark unused arg.
13393 (nxml-dynamic-markup-word): Remove unused binding.
13395 * mouse.el (mouse-menu-major-mode-map):
13396 * emacs-lisp/authors.el (authors-scan-change-log)
13397 (authors-add-to-author-list):
13398 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13399 * emacs-lisp/smie.el (smie-auto-fill):
13400 * mail/sendmail.el (mail-bury):
13401 * mail/unrmail.el (unrmail):
13402 * net/tls.el (open-tls-stream):
13403 * textmodes/picture.el (picture-mouse-set-point):
13404 Remove unused bindings.
13406 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13408 * net/tramp.el (tramp-action-password): Let-bind
13409 `enable-recursive-minibuffers' to t.
13411 2012-04-18 Sam Steingold <sds@gnu.org>
13413 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13414 instead of 'string to accommodate values like [f11].
13415 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13416 * progmodes/gdb-mi.el: Likewise.
13418 2012-04-18 Leo Liu <sdl.web@gmail.com>
13420 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13422 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13425 2012-04-18 Chong Yidong <cyd@gnu.org>
13427 * simple.el (line-move): Use forward-line if in batch mode
13430 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13432 * files.el (after-find-file): Do not try to add a final newline if
13433 the buffer is read-only (Bug#11156).
13435 2012-04-17 Richard Stallman <rms@gnu.org>
13437 * mail/rmail.el (rmail-start-mail):
13438 Pass (rmail-mail-return...) for the return-action.
13439 Pass (rmail-yank-current-message...) for the yank-action.
13440 (rmail-yank-current-message): New function.
13441 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13442 (rmail-reply): Likewise.
13443 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13445 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13446 buffer, not the last. Reject temp buffers. Use the rmail-mode
13447 buffer, not newbuf.
13449 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13451 * server.el (server-ensure-safe-dir): Simplify.
13453 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13455 * emacs-lisp/smie.el: Provide smarter auto-filling.
13456 (smie-auto-fill): New function.
13457 (smie-setup): Use it.
13459 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13461 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13463 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13464 (comment-indent): Use it.
13466 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13468 * ses.el: The overall change is to add cell renaming, that is
13469 setting fancy names for cell symbols other than name matching
13470 "\\`[A-Z]+[0-9]+\\'" regexp .
13471 (ses-localvars): Add ses--renamed-cell-symb-list.
13472 (ses-create-cell-variable): New defun.
13473 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13474 (ses-relocate-formula): Relocate formulas only for cells the
13475 symbols of which are not renamed, i.e. symbols whose names do not
13476 match regexp "\\`[A-Z]+[0-9]+\\'".
13477 (ses-relocate-all): Relocate values only for cells the symbols of
13478 which are not renamed.
13479 (ses-load): Create cells variables as the (ses-cell ...) are read,
13480 in order to check row col consistency with cell symbol name only
13481 for cells that are not renamed.
13482 (ses-replace-name-in-formula): New defun.
13483 (ses-rename-cell): New defun.
13485 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13487 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13488 New option (bug#11118).
13489 (perl-calculate-indent): Respect it.
13491 2012-04-17 Glenn Morris <rgm@gnu.org>
13493 * dired-aux.el (dired-mark-read-string): Doc fix.
13495 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13497 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13498 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13500 2012-04-17 Glenn Morris <rgm@gnu.org>
13502 * mouse.el (mouse-drag-track):
13503 * speedbar.el (speedbar-frame-mode):
13504 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13506 2012-04-16 Leo Liu <sdl.web@gmail.com>
13508 * progmodes/python.el: Trivial cleanup.
13510 2012-04-16 Glenn Morris <rgm@gnu.org>
13512 * vc/vc.el (vc-string-prefix-p):
13513 * vc/pcvs-util.el (cvs-string-prefix-p):
13514 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13515 * mpc.el (mpc-string-prefix-p):
13516 Make all of these into obsolete aliases for string-prefix-p.
13518 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13520 * textmodes/two-column.el: Move custom options to the start.
13521 (frame-width): Remove compat definition.
13522 (2C-associate-buffer, 2C-dissociate):
13523 Use with-current-buffer rather than save-excursion.
13524 (2C-dissociate): Force a mode-line update.
13525 (2C-autoscroll): Use ignore-errors.
13527 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13530 * emacs-lisp/cl-extra.el (*random-state*):
13531 Remove unnecessary declaration.
13533 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13535 * play/cookie1.el (cookie-snarf):
13536 Give an explicit error if input file cannot be read.
13538 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13540 * progmodes/perl-mode.el (c-macro-expand):
13541 Remove unnecessary autoload (it is in loaddefs.el).
13543 * textmodes/picture.el (picture-desired-column)
13544 (picture-update-desired-column): Convert comments to doc-strings.
13545 (picture-substitute): Remove function.
13546 (picture-mode-map): Initialize in the defvar.
13548 * woman.el: Remove eval-after-load for tar-mode.
13549 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13550 (woman-tar-extract-file): Autoload it.
13552 * frame.el (automatic-hscrolling): Make this alias obsolete.
13554 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13556 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13557 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13558 (ispell-dictionary-base-alist): Revert to original XEmacs
13559 friendly version for default. [:alpha:] will be added in
13560 `ispell-set-spellchecker-params' if needed.
13562 2012-04-16 Chong Yidong <cyd@gnu.org>
13564 * image.el (imagemagick--file-regexp): New variable.
13565 (imagemagick-register-types): Use it.
13566 (imagemagick-types-inhibit): Add :set function. Allow new value
13567 of t to inhibit all types.
13569 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13570 so we can preload it.
13572 * loadup.el (fboundp): Preload regexp-opt, needed by
13573 imagemagick-register-types.
13575 2012-04-15 Chong Yidong <cyd@gnu.org>
13577 * frame.el (scrolling): Remove nearly unused customization group.
13579 * scroll-all.el (scroll-all-mode): Move to windows group.
13581 2012-04-15 Chong Yidong <cyd@gnu.org>
13583 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13585 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13587 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13588 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13590 2012-04-15 Glenn Morris <rgm@gnu.org>
13592 * simple.el (process-file-side-effects): Doc fix.
13594 2012-04-15 Glenn Morris <rgm@gnu.org>
13596 * international/mule-cmds.el (set-language-environment): Doc fix.
13598 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13600 * server.el (server-auth-key, server-generate-key): Doc fixes.
13601 (server-get-auth-key): Doc fix. Use `string-match-p'.
13602 (server-start): Reflow docstring.
13604 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13606 * server.el (server-generate-key): `called-interactively-p'
13607 requires a parameter.
13609 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13611 * server.el (server-auth-key): New variable.
13612 (server-generate-key, server-get-auth-key): New function.
13613 (server-start): Use the new variable and functions to allow
13614 setting a permanent server key (bug#9423).
13616 2012-04-14 Leo Liu <sdl.web@gmail.com>
13618 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13620 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13623 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13624 Emacs uses American spelling.
13626 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13628 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13629 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13630 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13631 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13633 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * progmodes/which-func.el (which-func-modes): Change default.
13637 2012-04-14 Kim F. Storm <storm@cua.dk>
13639 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13640 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13642 2012-04-14 Chong Yidong <cyd@gnu.org>
13644 * custom.el (custom-theme-set-variables): Doc fix.
13646 2012-04-14 Glenn Morris <rgm@gnu.org>
13648 * international/mule.el (set-auto-coding-for-load): Doc fix.
13650 2012-04-14 Alan Mackenzie <acm@muc.de>
13652 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13653 imenu work again for Objective C Mode. Correct the *-index values,
13654 these having been disturbed by a previous change in 2011-08.
13656 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13657 Correct two search limits.
13659 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13661 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13663 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13665 * international/characters.el: Fix sorting.
13667 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13669 * international/characters.el: Add more missing Latin case pairs.
13671 2012-04-14 Glenn Morris <rgm@gnu.org>
13673 * files.el (dir-locals-set-class-variables): Doc fix.
13675 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13677 * international/characters.el: Add set-case-syntax-pair call for
13678 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13679 counterpart. (Bug#11209)
13681 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13683 2012-04-14 Glenn Morris <rgm@gnu.org>
13685 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13687 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13689 * textmodes/ispell.el (ispell-dictionary-base-alist):
13690 Add data for Hebrew.
13692 2012-04-14 Chong Yidong <cyd@gnu.org>
13694 * net/rcirc.el (rcirc-cmd-quit):
13695 Revert 2012-03-18 change (Bug#11192).
13697 2012-04-14 Glenn Morris <rgm@gnu.org>
13699 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13701 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13703 * minibuffer.el (completion-in-region-mode-map):
13704 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13706 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13708 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13710 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13712 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13713 to allow `C-M-f' and `C-M-b' to move to the nearest path
13714 separator (bug#9511).
13716 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13718 * avoid.el: Require cl when compiling. And also move the
13719 `provide' to the end.
13721 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13723 * avoid.el (mouse-avoidance-banish-position): New variable.
13724 (mouse-avoidance-banish-destination): Use it (bug#10165).
13726 2012-04-13 Leo Liu <sdl.web@gmail.com>
13728 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13730 2012-04-13 Ken Brown <kbrown@cornell.edu>
13732 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13733 this is no longer needed now that cygstart understands file:// URLs.
13734 (browse-url-filename-alist): For the same reason, don't modify
13735 file:// URLs on Cygwin.
13737 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13739 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13740 the region on shift if the binding is already shifted (bug#11221).
13742 2012-04-12 Glenn Morris <rgm@gnu.org>
13744 * mail/mailpost.el: Move to obsolete/.
13746 2012-04-12 Drew Adams <drew.adams@oracle.com>
13748 * imenu.el (imenu--generic-function): Ignore invisible definitions
13751 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13753 * hexl.el (hexl-bits): New variable.
13754 (hexl-options): Mention the variable in the doc string.
13755 (hexl-rulerise, hexl-line-displen): New functions.
13756 (hexl-mode): Mention the new variable.
13757 (hexl-mode, hexl-current-address, hexl-current-address):
13759 (hexl-ascii-start-column): New function.
13760 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13761 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13763 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13765 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13766 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13767 the encoding, as expected by hunspell.
13769 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13771 * battery.el (battery--linux-sysfs-regexp): New const.
13772 (battery-status-function): Use it. Remove yeeloong special case.
13773 (battery-yeeloong-sysfs): Remove.
13774 (battery-echo-area-format): Remove yeeloong special case.
13776 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13778 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13779 Reported by Noah Friedman.
13781 * subr.el (read-passwd): Use read-string.
13783 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13785 * vcursor.el (vcursor-move): Increase the priority of the overlay
13788 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13790 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13791 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13793 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13795 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13796 define-minor-mode (bug#10760).
13798 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13800 * progmodes/grep.el (rgrep): Tweak the find command line so
13801 that directories matching `grep-find-ignored-files' won't be
13802 pruned (bug#10351).
13804 2012-04-11 Chong Yidong <cyd@gnu.org>
13806 * startup.el (command-line): Remove support for long-obsolete
13807 variable font-lock-face-attributes.
13809 2012-04-11 Glenn Morris <rgm@gnu.org>
13811 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13813 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13815 * window.el (window--state-get-1): Obey window-point-insertion-type.
13817 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13819 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13820 to previous function when point is on the first character of a
13821 function. Take care of that in `narrow-to-defun' (bug#6157).
13823 2012-04-11 Glenn Morris <rgm@gnu.org>
13825 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13826 not just file-errors.
13828 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13829 (vc-bzr-sha1): Use internal sha1.
13831 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13833 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13835 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13837 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13838 that start in the middle of the line (bug#10496).
13840 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13842 * battery.el (battery-linux-proc-acpi): Only one battery is
13843 discharged at a time, but that seems to confuse battery.el when
13844 computing `rate-type' for the battery not being discharged
13847 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13849 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13851 * international/quail.el: Use dolist and simplify.
13852 (quail-define-package, quail-update-keyboard-layout)
13853 (quail-define-rules): Use dolist.
13854 (quail-insert-kbd-layout, quail-get-translation): CSE.
13856 * tmm.el: Use dolist, remove left over hook.
13857 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13859 (calendar-load-hook): Don't mess with it.
13861 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13862 Use derived-mode-p. Run the diff asynchronously.
13864 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13868 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13870 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13871 (list-dynamic-libraries--loaded): New function.
13872 (list-dynamic-libraries--refresh): Use it.
13874 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13876 * progmodes/python.el (python-fill-paragraph):
13877 Make python-fill-region in a multiline string work when font-lock is
13878 disabled (bug#7018).
13880 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13882 * language/european.el (cp775): Add oem/legacy (en)coding on
13883 DOS/MS Windows for the Baltic languages. There are still plenty
13884 of texts written in this encoding/codepage (bug#6519).
13886 2012-04-10 Glenn Morris <rgm@gnu.org>
13888 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13889 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13891 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13893 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13894 next-line "n" and previous-line "p" in order to make recentf more
13895 consistent with ibuffer, dired or org-mode (bug#9387).
13897 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13899 * image.el (put-image): Return the overlay created instead of the
13900 optional input string (bug#7834). Note that this may break code
13901 that is (for some reason or other) depending on `put-image'
13902 returning the string.
13904 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13906 * simple.el (zap-to-char): Allow zapping using input methods
13909 * textmodes/fill.el (fill-region): Leave point and mark where they
13910 were before filling (bug#5399).
13912 2012-04-09 Glenn Morris <rgm@gnu.org>
13914 * version.el (emacs-bzr-get-version):
13915 Handle lightweight checkouts of local branches.
13917 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13919 * international/characters.el: Recover lost case pairs. (Bug#11209)
13921 2012-04-09 Chong Yidong <cyd@gnu.org>
13923 * custom.el (custom-variable-p): Return nil for non-symbol
13924 arguments instead of signaling an error.
13925 (user-variable-p): Obsolete alias for custom-variable-p.
13927 * apropos.el (apropos-variable):
13928 * files-x.el (read-file-local-variable):
13929 * simple.el (set-variable):
13930 * woman.el (woman-mini-help):
13931 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13933 2012-04-09 Glenn Morris <rgm@gnu.org>
13935 * startup.el (normal-top-level): Don't look for leim-list.el
13936 in places where it will not be found. (Bug#910)
13938 * international/mule-cmds.el (set-default-coding-systems):
13939 * files.el (normal-mode):
13940 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13941 This function was removed with ucs-tables.el in 2008.
13943 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13945 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13946 ispell-encoding8-command to "-i", without a trailing space.
13947 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13948 separate command-line arguments, to specify the encoding, since
13949 that's how hunspell expects it.
13951 2012-04-08 Glenn Morris <rgm@gnu.org>
13953 * loadup.el: Load bindings before cus-start.
13954 This reduces somewhat the number of "rogue" settings in emacs -Q.
13956 2012-04-07 Glenn Morris <rgm@gnu.org>
13958 * version.el (emacs-bzr-get-version): New function.
13959 (emacs-bzr-version): New variable.
13960 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13961 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13963 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13965 * international/uni-bidi.el, international/uni-category.el:
13966 * international/uni-combining.el, international/uni-decimal.el:
13967 * international/uni-decomposition.el, international/uni-digit.el:
13968 * international/uni-lowercase.el, international/uni-mirrored.el:
13969 * international/uni-name.el, international/uni-numeric.el:
13970 * international/uni-titlecase.el, international/uni-uppercase.el:
13971 Update for Unicode 6.1.
13973 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13975 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13977 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13979 * window.el (shrink-window): Mention the `window-min-height'
13980 variable in the doc string.
13982 2012-04-05 Bastien Guerry <bzg@altern.org>
13984 * color.el (color-lighten-name): Fix typo.
13986 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13988 * server.el (server--on-display-p): New function.
13989 (server--on-display-p): Use it.
13991 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13993 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13996 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13998 * comint.el (comint--common-quoted-suffix): Check string boundary
13999 before comparing (bug#11158).
14000 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14002 2012-04-04 Chong Yidong <cyd@gnu.org>
14004 * minibuffer.el (completion-extra-properties): Doc fix.
14006 * subr.el (delayed-warnings-hook): Doc fix.
14008 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14010 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14011 selection (Bug#11159).
14012 (epa-insert-keys): Inform that the default public key will be
14013 exported if no key is selected.
14015 2012-04-04 Richard Stallman <rms@gnu.org>
14017 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14019 2012-04-03 Chong Yidong <cyd@gnu.org>
14021 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14022 mail-insert-file, not its obsolete alias mail-attach-file.
14024 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14026 * notifications.el (notifications-notify): Fix docstring.
14028 2012-04-02 Glenn Morris <rgm@gnu.org>
14030 * emacs-lisp/authors.el (authors-aliases): Another addition.
14032 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14034 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14035 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14036 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14038 2012-04-01 Chong Yidong <cyd@gnu.org>
14040 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14041 Handle root directory properly.
14042 (copy-directory): Caller changed.
14044 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14045 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14047 2012-03-31 Glenn Morris <rgm@gnu.org>
14049 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14051 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14053 * calendar/calendar.el (calendar-window-list)
14054 (calendar-hide-window): Restore. (Bug#11140)
14055 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14057 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14059 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14061 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14062 Check if file is a symlink (Bug#10489).
14064 * files.el (copy-directory): Likewise.
14066 2012-03-30 Chong Yidong <cyd@gnu.org>
14068 * image.el (imagemagick-types-inhibit)
14069 (imagemagick-register-types): Doc fix.
14071 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14073 * textmodes/ispell.el (ispell-get-extended-character-mode):
14074 Disable extended-char-mode for hunspell. hunspell does not support it
14075 and treats ~word as ordinary words in pipe mode.
14077 2012-03-30 Glenn Morris <rgm@gnu.org>
14079 * tutorial.el (help-with-tutorial): Ensure local variables don't
14080 happen to make the buffer read-only. (Bug#11127)
14082 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14085 (perl-calculate-indent): Return `noindent' in strings.
14087 2012-03-28 Sam Steingold <sds@gnu.org>
14089 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14090 instead of the broken adhockery which does not prevent calendar
14091 buffers from being displayed at random after exit.
14092 (calendar-window-list, calendar-hide-window): Remove the broken
14095 2012-03-28 Glenn Morris <rgm@gnu.org>
14097 * replace.el (query-replace-map): Doc fix.
14099 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14101 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14102 contents. (Bug#11109)
14104 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14106 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14108 (avl-tree--check, avl-tree--check-node): New funs.
14110 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14112 * window.el (switch-to-visible-buffer): New option.
14113 (switch-to-prev-buffer, switch-to-next-buffer):
14114 Observe switch-to-visible-buffer. Make sure that checking for a window
14115 showing a buffer already is done on the same frame.
14117 2012-03-27 Glenn Morris <rgm@gnu.org>
14119 * startup.el (mail-host-address): Doc fix.
14121 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14123 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14124 than 197 variables.
14126 2012-03-26 Ami Fischman <ami@fischman.org>
14128 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14130 2012-03-26 Glenn Morris <rgm@gnu.org>
14132 * files.el (save-buffers-kill-emacs): Doc fix.
14134 * startup.el (normal-top-level, command-line, command-line-1):
14135 Give them doc strings.
14137 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14139 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14140 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14142 2012-03-25 Chong Yidong <cyd@gnu.org>
14144 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14145 theme if it was previously enabled before (Bug#11031).
14147 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14148 spec with custom-face-get-current-spec if its :shown-value is not
14149 determined yet (Bug#9337).
14150 (customize-create-theme, custom-theme-revert): Doc fixes.
14152 * button.el (button-at): Minor addition to docstring.
14154 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14156 * vc/vc.el (vc-merge): Fix a prompt.
14158 2012-03-24 Chong Yidong <cyd@gnu.org>
14160 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14163 * button.el (button-at): Minor addition to docstring.
14165 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14167 * newcomment.el (comment-choose-indent): No space after BOL.
14169 2012-03-22 Sam Steingold <sds@gnu.org>
14171 * window.el (switch-to-prev-buffer): Revert last patch because the
14172 bug turned out to be an advertised feature (Elisp manual 28.14).
14174 2012-03-22 Glenn Morris <rgm@gnu.org>
14176 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14177 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14179 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14181 * net/network-stream.el (network-stream-open-starttls): Make error
14182 message under Windows be less misleading.
14184 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14186 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14187 understands (bug#9942).
14189 2012-03-22 Chong Yidong <cyd@gnu.org>
14191 * simple.el (end-of-visible-line): Handle return value of
14192 next-single-property-change properly (Bug#9371).
14194 2012-03-22 Kenichi Handa <handa@m17n.org>
14196 * international/quail.el (quail-insert-kbd-layout): Fix previous
14197 change. To avoid unwanted bidi reordering, use
14198 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14200 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14202 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14203 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14204 (ruby-beginning-of-indent): Be more careful with the difference
14205 between word-boundary and symbol boundary.
14206 (ruby-mode-syntax-table): Make : a symbol constituent.
14208 2012-03-21 Andreas Politz <politza@fh-trier.de>
14210 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14212 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14214 * progmodes/etags.el (tags-completion-at-point-function):
14217 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14219 2012-03-21 Sam Steingold <sds@gnu.org>
14221 * progmodes/etags.el (tags-completion-at-point-function):
14222 Avoid the error when point is inside the pattern.
14224 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14226 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14229 2012-03-21 Drew Adams <drew.adams@oracle.com>
14231 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14233 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14235 * ido.el (ido-set-current-directory, ido-read-internal)
14236 (ido-choose-completion-string, ido-completion-help): Handle nil
14237 value of ido-completion-buffer (Bug#11008).
14239 2012-03-21 Sam Steingold <sds@gnu.org>
14241 * window.el (switch-to-prev-buffer): Do not switch to a visible
14242 window previous buffer, just like with the frame previous buffers.
14244 2012-03-21 Chong Yidong <cyd@gnu.org>
14246 * faces.el (make-face, make-empty-face, copy-face):
14247 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14250 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14252 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14253 (widget-complete): Remove broken use of it.
14255 2012-03-20 Chong Yidong <cyd@gnu.org>
14257 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14258 Use string-width and truncate-string-width to handle arbitrary
14261 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14263 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14264 to draw rectangles, not squares. (Regression introduced by revno
14265 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14267 2012-03-18 Chong Yidong <cyd@gnu.org>
14269 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14270 it is not yet defined (for temacs).
14272 2012-03-18 Leo Liu <sdl.web@gmail.com>
14274 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14277 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14279 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14280 (ispell-choices-win-default-height, ispell-silently-savep)
14281 (ispell-dictionary-alist, ispell-encoding8-command)
14282 (ispell-check-version, ispell-aspell-find-dictionary)
14283 (ispell-valid-dictionary-list, ispell-words-keyword)
14284 (ispell-get-word, ispell-internal-change-dictionary)
14285 (ispell-region, ispell-skip-region-list)
14286 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14287 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14288 (ispell-message-text-end, ispell-message)
14289 (ispell-buffer-local-parsing): Doc fix.
14291 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14293 * htmlfontify.el: Add support for code block fontification for ODT
14294 export (Bug #9914).
14295 (hfy-optimisations): Define new option
14297 (hfy-fontify-buffer): Honor above setting.
14298 (hfy-begin-span, hfy-end-span): New routines factored out form
14299 `hfy-fontify-buffer'.
14300 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14301 that permit insertion of custom tags.
14302 (hfy-fontify-buffer): Use above handlers.
14303 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14304 (hfy-face-to-css): Re-defined to be a variable.
14305 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14306 over multiple runs. This is made possible by having the caller let
14307 bind a special variable `hfy-user-sheet-assoc'.
14308 (htmlfontify-string): New defun.
14309 (hfy-compile-face-map): Make sure that the last char in the
14310 buffer is correctly fontified.
14311 (hfy-face-resolve-face): Whitespace only change.
14313 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14315 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14316 message more clear.
14318 2012-03-16 Leo Liu <sdl.web@gmail.com>
14320 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14322 2012-03-16 Alan Mackenzie <acm@muc.de>
14324 Further optimize the handling of large macros.
14326 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14327 limit to a call of `c-literal-limits'.
14328 (c-determine-+ve-limit): New function.
14329 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14330 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14331 In CASE 5B, restrict a search limit to 500.
14332 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14334 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14335 Restrict macro bounds to +-500 from after-change's BEG END.
14337 2012-03-16 Leo Liu <sdl.web@gmail.com>
14339 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14341 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14343 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14344 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14346 2012-03-16 Glenn Morris <rgm@gnu.org>
14348 * view.el (view-buffer, view-buffer-other-window)
14349 (view-buffer-other-frame): Doc fixes re special mode-class.
14351 * subr.el (eval-after-load): If named feature is provided not from
14352 a file, run after-load forms. (Bug#10946)
14354 * calendar/calendar.el (calendar-insert-at-column):
14355 Handle non-unit-width characters a bit better. (Bug#10978)
14357 2012-03-15 Chong Yidong <cyd@gnu.org>
14359 * emacs-lisp/ring.el (ring-extend): New function.
14360 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14362 * comint.el (comint-read-input-ring)
14363 (comint-add-to-input-history): Grow comint-input-ring lazily.
14365 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14367 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14368 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14370 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14371 (imenu-add-to-menubar): Don't add a redundant index.
14372 (imenu-update-menubar): Handle a dynamically composed keymap.
14374 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14376 * mail/sendmail.el (mail-encode-header):
14377 Bind rfc2047-encode-encoded-words to nil.
14379 2012-03-13 Glenn Morris <rgm@gnu.org>
14381 * calendar/calendar.el (calendar-string-spread):
14382 Handle non-unit-width characters a bit better. (Bug#10978)
14384 2012-03-13 Leo Liu <sdl.web@gmail.com>
14386 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14387 directory and file as argument (Bug#10822).
14389 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14391 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14392 For dynamically generated code, follow $PC.
14393 (gdb-disassembly-handler-custom): Handle no function name case.
14395 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14397 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14398 * emulation/ws-mode.el (ws-query-replace):
14399 * sort.el (sort-regexp-fields):
14400 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14402 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14404 * dabbrev.el: Fix cycle completion order (bug#10963).
14405 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14406 (dabbrev-completion): Don't use an obarray; provide
14407 a cycle-sort-function.
14409 2012-03-12 Leo Liu <sdl.web@gmail.com>
14411 * simple.el (kill-new): Use equal-including-properties for comparison.
14412 (kill-do-not-save-duplicates): Doc fix.
14414 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14416 * dabbrev.el: Fix cycle completion (bug#10963).
14417 Use lexical binding and wrap to 80 columns.
14418 (dabbrev-completion): Delay computing the list of completions.
14420 2012-03-12 Kenichi Handa <handa@m17n.org>
14422 * international/quail.el (quail-insert-kbd-layout): Surround each
14423 row by LRO and PDF instead of inserting many LRMs. Pad the left
14424 and right of each non-spacing marks. Insert invisible space
14425 between lower and upper characters to prevent composition.
14427 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14429 * minibuffer.el (minibuffer-complete): Don't get confused when the
14430 function is run twice via different commands (bug#10958).
14431 (complete-with-action): Fix docstring.
14433 2012-03-12 Chong Yidong <cyd@gnu.org>
14435 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14436 (nxml-completion-at-point-function): New function.
14437 (nxml-mode): Use it.
14438 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14440 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14441 Load generated autoloads file before byte compiling (Bug#10970).
14442 (package--make-autoloads-and-compile): New helper fun.
14444 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14446 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14448 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14450 * autorevert.el (auto-revert-handler): Ensure, that
14451 file-readable-p is applied only for local files or in
14452 auto-revert-tail-mode.
14454 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14456 * server.el (server-eval-at): Handle non-tcp connections.
14457 Decode result string.
14459 * server.el (server-msg-size): New constant.
14460 (server-reply-print): New function.
14461 (server-eval-and-print): Use it.
14462 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14463 Handle -print-nonl.
14465 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14467 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14470 2012-03-11 Chong Yidong <cyd@gnu.org>
14472 * simple.el (goto-line): Doc fix (Bug#9938).
14474 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14476 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14477 when finished (Bug#10963).
14479 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14481 * window.el (split-window-below): Fix bug in case where
14482 split-window-keep-point is nil (Bug#10971).
14484 2012-03-11 Juri Linkov <juri@jurta.org>
14486 * replace.el (replace-highlight): Set isearch-word to nil
14487 unconditionally. (Bug#10887)
14489 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14491 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14492 mairix-replace-illegal-chars; all callers changed. Don't remove
14493 ^, ~, and = characters: they are meaningful in mairix search specs.
14494 (mairix-widget-create-query): Add usage information about mairix
14495 search forms: negating words, searching for substrings, etc.
14497 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14499 * international/fontset.el (font-encoding-alist): Add an entry for
14500 ksx1001 (Bug#5667).
14502 2012-03-10 Richard Stallman <rms@gnu.org>
14504 * mail/sendmail.el (mail-encode-header):
14505 Set rfc2047-encode-encoded-words.
14507 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14509 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14510 view buffer means not swapped.
14511 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14512 (rmail-write-region-annotate): Error if real text has disappeared.
14514 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14516 2012-03-10 Chong Yidong <cyd@gnu.org>
14518 * emulation/cua-rect.el (cua--init-rectangles):
14519 * emulation/cua-base.el (cua--init-keymaps):
14520 Add delete-forward-char to remappings (Bug#9666).
14522 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14524 * speedbar.el (speedbar-unhighlight-one-tag-line):
14525 Avoid unhighlighting due to frame switching (Bug#10275).
14527 2012-03-10 Chong Yidong <cyd@gnu.org>
14529 * minibuffer.el (completion-in-region, completion-help-at-point):
14530 Give the completion field overlay a high priority (Bug#6830).
14532 * dired.el (dired-goto-file): Recognize absolute file name
14533 listings (Bug#7126).
14534 (dired-goto-file-1): New helper function.
14535 (dired-toggle-read-only): Inhibit warnings.
14537 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14539 * net/dbus.el (dbus-property-handler): Return empty array if
14540 there are no properties.
14542 2012-03-09 Leo Liu <sdl.web@gmail.com>
14544 * savehist.el (savehist-printable): Stricter check for string
14547 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14549 * mail/smtpmail.el (smtpmail-send-it):
14550 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14553 2012-03-09 Glenn Morris <rgm@gnu.org>
14555 * files.el (dir-locals-find-file):
14556 Don't check result is regular, readable.
14557 (dir-locals-read-from-file): Demote errors.
14559 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14561 * international/quail.el (quail-insert-kbd-layout):
14562 Insert invisible LRM characters before each character in a keyboard
14563 layout cell, to prevent their reordering by bidi display engine.
14564 For details, see the discussion in
14565 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14567 2012-03-08 Alan Mackenzie <acm@muc.de>
14569 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14570 the starting position; make it extend the marked region when
14571 invoked repeatedly - all under appropriate circumstances.
14572 Fixes bugs #5525, #10906.
14574 2012-03-08 Glenn Morris <rgm@gnu.org>
14576 * files.el (locate-dominating-file, dir-locals-find-file):
14577 Undo 2012-03-06 change.
14579 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14581 * international/quail.el (quail-help):
14582 Force bidi-paragraph-direction be left-to-right. See discussion in
14583 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14586 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14588 Avoid superfluous registering of signals. (Bug#10807)
14590 * notifications.el (notifications-on-action-object)
14591 (notifications-on-close-object): New defvars.
14592 (notifications-on-action-signal, notifications-on-closed-signal):
14593 Unregister the signal if not needed any longer.
14594 (notifications-notify): Register `notifications-action-signal' or
14595 `notifications-closed-signal', if :on-action or :on-close has been
14596 passed as argument.
14598 2012-03-07 Chong Yidong <cyd@gnu.org>
14600 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14603 2012-03-06 Glenn Morris <rgm@gnu.org>
14605 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14606 (x-disown-selection-internal, x-get-selection-internal):
14607 Doc fix (add arglist signatures). (Bug#10783)
14609 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14611 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14612 Handle breakpoints with no "type".
14614 2012-03-06 Glenn Morris <rgm@gnu.org>
14616 * files.el (locate-dominating-file): Add optional predicate argument.
14617 (dir-locals-find-file): Make use of above change.
14619 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14621 * info.el (Info-insert-dir): Also try "dir.gz".
14623 2012-03-06 Glenn Morris <rgm@gnu.org>
14625 * files.el (dir-locals-find-file):
14626 Ignore non-readable or non-regular files. (Bug#10928)
14628 * files.el (locate-dominating-file): Doc fix.
14630 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14632 * calendar/calendar.el (calendar-set-mode-line):
14633 `getenv' returns a string. (Bug#10951)
14635 2012-03-05 Leo Liu <sdl.web@gmail.com>
14637 * simple.el (backward-delete-char-untabify): Constrain point to
14640 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14642 2012-03-05 Chong Yidong <cyd@gnu.org>
14644 * simple.el (count-words): If called from Lisp, return the word
14645 count, for symmetry with `count-lines'. Arglist changed.
14646 (count-words--message): Args changed. Consolidate counting code
14647 from count-words and count-words-region.
14648 (count-words-region): Caller changed.
14649 (count-lines-region): Make it an obsolete alias.
14651 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14653 * saveplace.el (save-place-to-alist)
14654 (save-place-ignore-files-regexp): Allow value nil to disable this
14657 2012-03-04 Chong Yidong <cyd@gnu.org>
14659 * faces.el (face-spec-reset-face): For the default face, reset the
14660 attributes to default values (Bug#10748).
14662 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14664 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14665 previous patch: Check `message-send-mail-function', and not the
14666 default function (bug#10897).
14668 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14670 * notifications.el (notifications-on-action-signal)
14671 (notifications-on-closed-signal): Check for unique service name of
14672 incoming event. Fix error in removing entry.
14673 (top): Register for signals with wildcard service name.
14674 (notifications-notify): Use daemon unique service name for map entries.
14676 2012-03-04 Chong Yidong <cyd@gnu.org>
14678 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14680 2012-03-04 Glenn Morris <rgm@gnu.org>
14682 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14683 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14684 (expand-abbrev, define-abbrev-table): Doc fixes.
14686 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14688 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14689 `message-default-send-mail-function' and not `send-mail-function'
14690 when doing the prompting for `sendmail-query-once' before sending
14691 in Message buffers (bug#10897).
14693 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14694 This is inconsistent with all the other stream functions, which leave
14695 the setting up to the higher levels (if so wanted) (bug#10931).
14697 2012-03-02 Alan Mackenzie <acm@muc.de>
14699 Depessimize the handling of very large macros.
14701 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14702 (c-macro-cache-syntactic): New variables to implement a one
14703 element macro cache.
14704 (c-invalidate-macro-cache): New function.
14705 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14706 Adapt to use the new cache.
14707 (c-state-safe-place): Use better the cache of safe positions.
14708 (c-state-semi-nonlit-pos-cache)
14709 (c-state-semi-nonlit-pos-cache-limit):
14710 New variables for...
14711 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14712 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14713 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14714 Use c-state-semi-safe-place.
14716 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14717 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14719 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14721 * jka-compr.el (jka-compr-call-process):
14722 Apply `file-accessible-directory-p' only when the default directory is
14725 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14727 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14728 access of FILE2, if FILE1 does not exist.
14730 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14731 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14733 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14734 Add "PAGER=" to `process-environment'.
14736 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14738 * progmodes/sql.el: Bug fix
14739 (sql-get-login-ext): Save login values in globals.
14740 (sql-get-login): Use new version of `sql-get-login-ext'.
14741 (sql-interactive-mode): Set global `sql-connection' to nil.
14742 (sql-connect): Set global values for connection.
14743 (sql-product-interactive): Save global values as buffer local.
14745 2012-02-29 Leo Liu <sdl.web@gmail.com>
14747 * abbrev.el (define-abbrevs): Reset sys to nil.
14749 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14751 * files.el (file-equal-p): Rename from `files-equal-p'.
14752 Return nil when one or both files don't exist.
14753 (file-subdir-of-p): Now only top directory must exists,
14754 return nil if it doesn't.
14755 (copy-directory): No need to test with `file-subdir-of-p' after
14757 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14760 2012-02-28 Glenn Morris <rgm@gnu.org>
14762 * shell.el (shell-mode):
14763 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14764 * play/landmark.el (landmark-font-lock-face-O):
14765 * play/handwrite.el (handwrite):
14766 * play/gomoku.el (gomoku-O):
14767 * net/browse-url.el (browse-url-browser-display):
14768 * international/mule.el (define-charset):
14769 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14770 * filesets.el (filesets-find-file-delay):
14771 * eshell/em-xtra.el (eshell-xtra):
14772 * eshell/em-unix.el (eshell-grep):
14773 * emulation/viper.el (viper-mode):
14774 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14775 * emacs-lisp/easymenu.el (easy-menu-define):
14776 * calendar/timeclock.el (timeclock-use-display-time):
14778 * bookmark.el (bookmark-save-flag):
14779 Doc fix (standardize possessive apostrophe usage).
14781 2012-02-27 Chong Yidong <cyd@gnu.org>
14783 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14784 Fix key-binding lookup for ESC key (Bug#9146).
14786 * font-lock.el (font-lock-specified-p): Rename from
14787 font-lock-spec-present. Callers changed.
14789 2012-02-27 Daniel Hackney <dan@haxney.org>
14791 * emacs-lisp/package.el (package-compute-transaction):
14792 Handle holding a package version to t in package-load-list.
14794 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14796 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14797 (tramp-get-inode, tramp-get-device): Use cached values.
14799 2012-02-26 Alan Mackenzie <acm@muc.de>
14801 Check there is a font-lock specification before doing initial
14804 * font-core.el (font-lock-mode): Move the conditional from
14805 :after-hook to font-lock-initial-fontify.
14806 (font-lock-default-function): Move the check for a specification
14807 to font-lock-spec-present.
14809 * font-lock.el (font-lock-initial-fontify): Call ...
14810 (font-lock-spec-present): New function.
14812 2012-02-26 Jim Blandy <jimb@red-bean.com>
14814 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14815 (gdb-send): Apply it to the operand of the '-interpreter-exec
14816 console' command, so that we can pass arguments with (say) quotes
14817 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14819 2012-02-26 Chong Yidong <cyd@gnu.org>
14821 * help-fns.el (describe-function-1): Clarify description of
14822 remapping (Bug#10844).
14824 * files.el (files-equal-p): Doc fix.
14825 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14826 and quit the loop once a mismatch is found.
14828 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14830 * bs.el (bs--show-with-configuration): Don't throw an error
14831 if the window cannot be split; otherwise, subsequent calls to
14832 bs-show fail, restoring a stale window config. (Bug#10882)
14834 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14836 * term/ns-win.el (global-map): Bind ns-drag-file to
14837 ns-find-file (Bug#5855, Bug#10050).
14839 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14841 * calendar/parse-time.el (parse-time-string): Allow extractor to
14844 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14846 * net/tramp.el (tramp-file-name-for-operation):
14847 Add `files-equal-p' and `file-subdir-of-p'.
14849 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14850 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14851 Add COPY-CONTENTS argument.
14853 2012-02-25 Chong Yidong <cyd@gnu.org>
14855 Add custom groups for VC backends, for consistency with vc-bzr.
14857 * vc/vc-arch.el (vc-arch):
14858 * vc/vc-cvs.el (vc-cvs):
14859 * vc/vc-git.el (vc-git):
14860 * vc/vc-hg.el (vc-hg):
14861 * vc/vc-mtn.el (vc-mtn):
14862 * vc/vc-rcs.el (vc-rcs):
14863 * vc/vc-sccs.el (vc-sccs):
14864 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14865 All relevant defcustoms reassigned.
14867 2012-02-25 Chong Yidong <cyd@gnu.org>
14869 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14871 * term/x-win.el (x-initialize-window-system): Reduce default for
14872 x-selection-timeout to 5 seconds (Bug#8869).
14874 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14876 * files.el (files-equal-p, file-subdir-of-p): New functions.
14877 (copy-directory): Error when trying to copy a directory on itself.
14878 Add missing copy-contents arg to tramp handler.
14879 * dired-aux.el (dired-copy-file-recursive): Same.
14880 (dired-create-files): Modify destination when source is equal to
14881 dest when copying files.
14882 Return also when dest is a subdir of source. (Bug#10489)
14884 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14886 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14889 2012-02-23 Alan Mackenzie <acm@muc.de>
14891 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14892 parameter "after-hook:" to allow the expansion to run code after
14893 the execution of the mode hooks.
14895 * font-lock.el (font-lock-initial-fontify): New function extracted
14896 from font-lock-mode-internal.
14898 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14901 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14903 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14904 (completion--cache-all-sorted-completions): New function.
14905 (completion-all-sorted-completions): Use it.
14906 (completion--do-completion, minibuffer-force-complete):
14907 Use it to re-instate the flush hook.
14909 * icomplete.el (icomplete-completions): Replace last fix with a better
14912 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14914 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14915 when it might call us back infinitely (bug#10797).
14917 2012-02-23 Glenn Morris <rgm@gnu.org>
14919 * minibuffer.el (completion-category-overrides): Doc fix.
14921 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14923 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14924 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14926 2012-02-23 Glenn Morris <rgm@gnu.org>
14928 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14929 (authors-obsolete-files-regexps, authors-ignored-files)
14930 (authors-ambiguous-files, authors-renamed-files-alist):
14933 2012-02-23 Juri Linkov <juri@jurta.org>
14935 * isearch.el (isearch-occur): Sync interactive spec with occur's
14936 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14938 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14940 2012-02-22 Juri Linkov <juri@jurta.org>
14942 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14943 (ucs-insert): Doc fix. Check for hex digits in the string.
14944 Don't display `nil' in the error message. (Bug#10857)
14946 2012-02-22 Alan Mackenzie <acm@muc.de>
14948 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14950 2012-02-22 Glenn Morris <rgm@gnu.org>
14952 * ffap.el (ffap-c-path):
14953 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14955 2012-02-22 Chong Yidong <cyd@gnu.org>
14957 * custom.el (load-theme): Doc fix.
14959 2012-02-22 Glenn Morris <rgm@gnu.org>
14961 * dired-x.el (dired-guess-shell-alist-default):
14962 Remove escape sequences from nroff output. (Bug#172)
14964 2012-02-21 Glenn Morris <rgm@gnu.org>
14966 * vc/emerge.el (emerge-defvar-local):
14967 Set `permanent-local' property rather than unused `preserved'.
14969 * textmodes/picture.el (picture-delete-char): New alias.
14970 (picture-mode-map): Use it. (Bug#10860)
14971 (picture-mode): Doc fix.
14973 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14975 * newcomment.el (uncomment-region-default): Remove unused binding.
14977 2012-02-21 Glenn Morris <rgm@gnu.org>
14979 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14980 (picture-self-insert, picture-tab-chars): Doc fix.
14981 (picture-mode-map): Fix C-a, C-e.
14983 2012-02-20 Glenn Morris <rgm@gnu.org>
14985 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14987 2012-02-20 Leo Liu <sdl.web@gmail.com>
14989 * icomplete.el (icomplete-completions): Check FROM arg before
14990 passing to substring (Bug#10850).
14992 2012-02-19 Chong Yidong <cyd@gnu.org>
14994 * comint.el: Require ansi-color.
14995 (comint-output-filter-functions): Add ansi-color-process-output.
14997 * ansi-color.el: Don't set comint-output-filter-functions; it is
14998 now in the initial value defined in comint.el.
14999 (ansi-color-apply-face-function): New variable.
15000 (ansi-color-apply-on-region): Use it.
15001 (ansi-color-apply-overlay-face): New function.
15003 * shell.el (shell): No need to require ansi-color.
15004 (shell-mode): Use ansi-color-apply-face-function to highlight
15005 color escapes using font-lock-face property (Bug#10835).
15007 2012-02-19 Chong Yidong <cyd@gnu.org>
15009 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15010 mode-line formats (Bug#10839).
15012 2012-02-18 Glenn Morris <rgm@gnu.org>
15014 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15016 * mail/undigest.el (unforward-rmail-message): Doc fix.
15018 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15020 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15022 * international/characters.el (script-list): Sync with the latest
15023 Unicode Character Database.
15025 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15027 * international/titdic-cnv.el: Remove duplicate coding tag.
15028 * language/cham.el: Likewise.
15029 * language/tai-viet.el: Likewise.
15031 2012-02-18 Glenn Morris <rgm@gnu.org>
15033 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15034 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15035 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15036 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15037 * calendar/holidays.el (holiday-bahai-holidays)
15038 (calendar-holidays, list-holidays):
15039 Use utf-8 Bahá'í in doc-strings, menus, etc.
15041 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15043 * saveplace.el (save-place-ignore-files-regexp): New variable
15044 allowing for excluding files from saving their location of point.
15045 The default value matches the temporary commit message editing
15046 files from Git, SVN, Bazaar, and Mercurial.
15047 (save-place-to-alist): Use it.
15049 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15050 Stefan Monnier <monnier@iro.umontreal.ca>
15052 * newcomment.el (uncomment-region-default): Don't leave extra space
15053 when an arg is provided (bug#8150).
15055 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15057 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15059 2012-02-17 Glenn Morris <rgm@gnu.org>
15061 * net/socks.el: Require network-stream. (Bug#10599)
15063 2012-02-17 Kenichi Handa <handa@m17n.org>
15065 * international/charprop.el:
15066 * international/uni-name.el:
15067 * international/uni-old-name.el:
15068 * international/uni-comment.el: Regenerate.
15070 2012-02-16 Glenn Morris <rgm@gnu.org>
15072 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15073 Interactively in calendar buffer, give an error if not on a date.
15075 2012-02-15 Glenn Morris <rgm@gnu.org>
15077 * shell.el (shell-delimiter-argument-list):
15078 Revert 2011-02-17 change. (Bug#8027)
15080 2012-02-15 Chong Yidong <cyd@gnu.org>
15082 * minibuffer.el (completion-at-point-functions): Doc fix.
15084 * custom.el (defcustom): Doc fix; note use of defvar.
15086 2012-02-15 Glenn Morris <rgm@gnu.org>
15088 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15091 2012-02-14 Glenn Morris <rgm@gnu.org>
15093 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15095 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15097 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15098 way the ports list is computed.
15099 (smtpmail-query-smtp-server): Prompt the user for a port number if
15100 we can't connect to any of the standard ports (bug#10810).
15102 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15104 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15106 2012-02-13 Glenn Morris <rgm@gnu.org>
15108 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15110 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15112 * net/gnutls.el (gnutls-trustfiles): New variable.
15113 (gnutls-negotiate): Use it.
15115 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15117 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15118 does its stuff if Gnus is running.
15120 2012-02-13 Alan Mackenzie <acm@muc.de>
15122 Fix a loop in c-set-fl-decl-start.
15124 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15125 c-backward-syntactic-ws actually moves backwards.
15127 2012-02-13 Leo Liu <sdl.web@gmail.com>
15129 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15130 beginning so that all \C-o chars are removed.
15132 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15134 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15136 2012-02-12 Alan Mackenzie <acm@muc.de>
15138 Fix infinite loop with long macros.
15139 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15141 2012-02-12 Chong Yidong <cyd@gnu.org>
15143 * window.el (display-buffer): Doc fix (Bug#10785).
15145 2012-02-12 Glenn Morris <rgm@gnu.org>
15147 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15148 (x-disown-selection-internal, x-get-selection-internal):
15149 Sync docs with the xselect.c versions.
15151 * allout-widgets.el: Add missing license notice.
15153 2012-02-11 Glenn Morris <rgm@gnu.org>
15155 * select.el (x-get-selection-internal, x-own-selection-internal)
15156 (x-disown-selection-internal):
15157 * x-dnd.el (x-get-selection-internal): Update declarations.
15159 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15161 * window.el (window-sides-slots):
15162 * tool-bar.el (tool-bar-position):
15163 * term/xterm.el (xterm-extra-capabilities):
15164 * ses.el (ses-self-reference-early-detection):
15165 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15166 (verilog-auto-wire-type)
15167 (verilog-auto-delete-trailing-whitespace)
15168 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15169 (verilog-auto-tieoff-declaration):
15170 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15171 (sql-oracle-statement-starters, sql-oracle-scan-on):
15172 * progmodes/prolog.el (prolog-align-comments-flag)
15173 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15174 (prolog-left-indent-regexp, prolog-paren-indent-p)
15175 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15176 (prolog-types, prolog-mode-specificators)
15177 (prolog-determinism-specificators, prolog-directives)
15178 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15179 (prolog-electric-dot-flag)
15180 (prolog-electric-dot-full-predicate-template)
15181 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15182 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15183 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15184 (prolog-program-switches, prolog-prompt-regexp)
15185 (prolog-debug-on-string, prolog-debug-off-string)
15186 (prolog-trace-on-string, prolog-trace-off-string)
15187 (prolog-zip-on-string, prolog-zip-off-string)
15188 (prolog-use-standard-consult-compile-method-flag)
15189 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15190 (prolog-imenu-max-lines, prolog-info-predicate-index)
15191 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15192 (prolog-char-quote-workaround):
15193 * progmodes/cc-vars.el (c-defun-tactic):
15194 * net/tramp.el (tramp-encoding-command-interactive)
15195 (tramp-local-end-of-line):
15196 * net/soap-client.el (soap-client):
15197 * net/netrc.el (netrc-file):
15198 * net/gnutls.el (gnutls):
15199 * minibuffer.el (completion-category-overrides)
15200 (completion-cycle-threshold)
15201 (completion-pcm-complete-word-inserts-delimiters):
15202 * man.el (Man-name-local-regexp):
15203 * mail/feedmail.el (feedmail-display-full-frame):
15204 * international/characters.el (glyphless-char-display-control):
15205 * eshell/em-ls.el (eshell-ls-date-format):
15206 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15207 (lisp-lambda-list-keyword-parameter-indentation)
15208 (lisp-lambda-list-keyword-parameter-alignment):
15209 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15210 * dired-x.el (dired-omit-verbose):
15211 * cus-theme.el (custom-theme-allow-multiple-selections):
15212 * calc/calc.el (calc-highlight-selections-with-faces)
15213 (calc-lu-field-reference, calc-lu-power-reference)
15214 (calc-note-threshold):
15215 * battery.el (battery-mode-line-limit):
15216 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15217 (archive-7z-update):
15218 * allout.el (allout-prefixed-keybindings)
15219 (allout-unprefixed-keybindings)
15220 (allout-inhibit-auto-fill-on-headline)
15221 (allout-flattened-numbering-abbreviation):
15222 * allout-widgets.el (allout-widgets-auto-activation)
15223 (allout-widgets-icons-dark-subdir)
15224 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15225 (allout-widgets-theme-dark-background)
15226 (allout-widgets-theme-light-background)
15227 (allout-widgets-item-image-properties-emacs)
15228 (allout-widgets-item-image-properties-xemacs)
15229 (allout-widgets-run-unit-tests-on-load)
15230 (allout-widgets-time-decoration-activity)
15231 (allout-widgets-hook-error-post-time)
15232 (allout-widgets-track-decoration):
15233 Add missing :version tags to new defcustoms and defgroups.
15235 * progmodes/sql.el (sql-ansi-statement-starters)
15236 (sql-oracle-statement-starters): Add custom type.
15238 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15239 (prolog-system-version): Give it a type.
15241 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15243 * term/pc-win.el (x-select-text, x-selection-owner-p)
15244 (x-own-selection-internal, x-disown-selection-internal)
15245 (x-get-selection-internal): Sync doc strings and argument lists
15246 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15248 2012-02-11 Leo Liu <sdl.web@gmail.com>
15250 * progmodes/python.el (python-end-of-statement): Fix infinite
15253 2012-02-10 Glenn Morris <rgm@gnu.org>
15255 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15256 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15258 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15260 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15261 about SMTP before checking the From header.
15263 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15264 into own function for reuse by emacsbug.el.
15266 2012-02-10 Leo Liu <sdl.web@gmail.com>
15268 * subr.el (condition-case-unless-debug): Rename from
15269 condition-case-no-debug. All callers changed.
15270 (with-demoted-errors): Fix caller.
15272 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15273 * nxml/rng-valid.el (rng-do-some-validation):
15274 * emacs-lisp/package.el (package-refresh-contents)
15275 (package-menu-execute):
15276 * desktop.el (desktop-create-buffer):
15277 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15279 2012-02-10 Glenn Morris <rgm@gnu.org>
15281 * textmodes/bibtex.el:
15282 Add missing :version tags for new/changed defcustoms.
15284 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15286 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15288 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15289 (smtpmail-via-smtp): Use it, or fall back on the From address.
15290 (smtpmail-send-it): Ditto.
15292 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15294 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15295 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15296 (byte-compile-tmp-var): New const.
15297 (byte-compile-defvar): Use it to minimize .elc size.
15298 Just use `defvar' rather than simulate it (bug#10761).
15300 2012-02-09 Glenn Morris <rgm@gnu.org>
15302 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15304 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15307 * progmodes/compile.el (compilation-error-screen-columns)
15308 (compilation-first-column, compilation-filter-start): Doc fixes.
15310 * vc/log-view.el (log-view-toggle-entry-display):
15311 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15313 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15314 (report-emacs-bug-can-use-xdg-email):
15315 (report-emacs-bug-insert-to-mailer): Doc fixes.
15316 (report-emacs-bug): Message fix.
15318 * net/browse-url.el (browse-url-can-use-xdg-open)
15319 (browse-url-xdg-open): Doc fixes.
15321 * electric.el (electric-indent-mode, electric-pair-mode)
15322 (electric-layout-rules, electric-layout-mode): Doc fixes.
15323 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15325 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15327 * server.el (server-unselect-display): Don't inadvertently kill
15328 the current buffer. (Bug#10729)
15330 2012-02-08 Glenn Morris <rgm@gnu.org>
15332 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15333 (sql-list-table): Doc fixes.
15335 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15336 Comment out (does nothing).
15338 * completion.el (dynamic-completion-mode):
15339 * dirtrack.el (dirtrack-debug-mode):
15340 * electric.el (electric-layout-mode):
15341 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15342 * face-remap.el (text-scale-mode, buffer-face-mode):
15343 * iimage.el (iimage-mode):
15344 * image-mode.el (image-transform-mode):
15345 * minibuffer.el (completion-in-region-mode):
15346 * scroll-lock.el (scroll-lock-mode):
15347 * simple.el (next-error-follow-minor-mode):
15348 * tar-mode.el (tar-subfile-mode):
15349 * tooltip.el (tooltip-mode):
15350 * vcursor.el (vcursor-use-vcursor-map):
15351 * wid-browse.el (widget-minor-mode):
15352 * emulation/tpu-edt.el (tpu-edt-mode):
15353 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15354 * international/iso-ascii.el (iso-ascii-mode):
15355 * language/thai-util.el (thai-word-mode):
15356 * mail/supercite.el (sc-minor-mode):
15357 * net/goto-addr.el (goto-address-mode):
15358 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15359 * progmodes/cwarn.el (cwarn-mode):
15360 * progmodes/flymake.el (flymake-mode):
15361 * progmodes/glasses.el (glasses-mode):
15362 * progmodes/hideshow.el (hs-minor-mode):
15363 * progmodes/pascal.el (pascal-outline-mode):
15364 * textmodes/enriched.el (enriched-mode):
15365 * vc/smerge-mode.el (smerge-mode):
15366 Doc fixes (minor mode argument).
15368 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15370 * ls-lisp.el (ls-lisp-sanitize): New function.
15371 (ls-lisp-insert-directory): Use it to fix or remove any elements
15372 in file-alist with missing attributes. (Bug#4673)
15374 2012-02-07 Alan Mackenzie <acm@muc.de>
15376 Fix spurious recognition of c-in-knr-argdecl.
15378 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15379 putative K&R region.
15381 2012-02-07 Alan Mackenzie <acm@muc.de>
15383 * progmodes/cc-engine.el (c-forward-objc-directive):
15384 Prevent looping in "#pragma mark @implementation".
15386 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15388 * notifications.el (notifications-on-closed-signal): Make `reason'
15389 optional. (Bug#10744)
15391 2012-02-07 Glenn Morris <rgm@gnu.org>
15393 * emacs-lisp/easy-mmode.el (define-minor-mode):
15394 Doc fixes for the macro and the mode it defines.
15396 * image.el (imagemagick-types-inhibit): Doc fix.
15398 * cus-start.el (imagemagick-render-type): Add it.
15400 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15402 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15403 Set the default at load time, too, so that `font-lock-fontify-buffer'
15404 can be called without setting up the entire mode first. This fixes
15405 a bug in `mm-inline-text' with C MIME parts.
15407 2012-02-06 Chong Yidong <cyd@gnu.org>
15409 * simple.el (list-processes--refresh): Delete exited processes
15412 * comint.el (comint-next-prompt): next-single-char-property-change
15413 and prev-single-char-property-change never return nil (Bug#8657).
15415 * custom.el (defcustom): Doc fix (Bug#9711).
15417 2012-02-05 Chong Yidong <cyd@gnu.org>
15419 * cus-edit.el (custom-variable-reset-backup): Quote the value
15420 before storing it in the customized-value property (Bug#6712).
15421 (custom-display): Add a customization type tag.
15422 (custom-buffer-create-internal): Improve tooltip message.
15424 * wid-edit.el (widget-field-value-get): New optional arg to
15425 suppress trailing whitespace truncation.
15426 (character): Use it (Bug#2689).
15428 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15430 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15431 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15433 2012-02-05 Chong Yidong <cyd@gnu.org>
15435 * cus-edit.el (custom-variable-value-create): For mismatched
15436 types, show the current value (Bug#7600).
15438 * custom.el (defcustom): Doc fix.
15440 2012-02-05 Glenn Morris <rgm@gnu.org>
15442 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15444 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15446 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15447 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15448 (pp-last-sexp): Use `looking-at-p'.
15450 2012-02-04 Glenn Morris <rgm@gnu.org>
15452 * files.el (revert-buffer):
15453 Doc fix (mention revert-buffer-in-progress-p).
15455 * emacs-lisp/ert-x.el (ert-simulate-command):
15456 Check deferred-action-list (which is obsolete) is bound.
15458 * subr.el (with-wrapper-hook): Doc fixes.
15460 * simple.el (filter-buffer-substring-functions)
15461 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15463 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15465 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15466 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15468 2012-02-04 Leo Liu <sdl.web@gmail.com>
15470 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15472 2012-02-04 Glenn Morris <rgm@gnu.org>
15474 * image.el (image-extension-data): Add obsolete alias.
15476 * isearch.el (isearch-update): Doc fix.
15478 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15480 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15482 2012-02-03 Glenn Morris <rgm@gnu.org>
15484 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15485 (image-animate-timeout): Doc fix.
15487 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15489 2012-02-02 Glenn Morris <rgm@gnu.org>
15491 * server.el (server-auth-dir): Doc fix.
15492 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15494 * subr.el (run-mode-hooks): Doc fix.
15496 2012-02-02 Juri Linkov <juri@jurta.org>
15498 * image-mode.el (image-toggle-display-image): Remove tautological
15499 `major-mode' from the `derived-mode-p' test.
15501 2012-02-02 Kenichi Handa <handa@m17n.org>
15503 * composite.el (compose-region): Cancel previous change.
15505 2012-02-02 Kenichi Handa <handa@m17n.org>
15507 * composite.el (compose-region, compose-string): Signal error for
15508 a null string component (Bug#6988).
15510 2012-02-01 Chong Yidong <cyd@gnu.org>
15512 * view.el (view-buffer-other-window, view-buffer-other-frame):
15513 Handle special modes like view-buffer (Bug#10650).
15514 (view-buffer): Simplify.
15516 * frame.el (set-frame-font): Tweak meaning of third argument.
15518 * dynamic-setting.el (font-setting-change-default-font):
15519 Use set-frame-font (Bug#9982).
15521 2012-02-01 Glenn Morris <rgm@gnu.org>
15523 * progmodes/compile.el (compilation-internal-error-properties):
15524 Respect compilation-first-column in the "*compilation*" buffer.
15526 * emacs-lisp/easy-mmode.el (define-minor-mode):
15527 Relax :variable's test for a named function.
15529 2012-01-31 Alan Mackenzie <acm@muc.de>
15531 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15534 2012-01-31 Chong Yidong <cyd@gnu.org>
15536 * frame.el (set-frame-font): New arg ALL-FRAMES.
15538 * menu-bar.el (menu-set-font): Use set-frame-font.
15540 * faces.el (face-spec-reset-face): Don't apply unspecified
15541 attribute values to the default face.
15543 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15545 * progmodes/cwarn.el (cwarn): Remove dead link.
15546 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15547 Remove * from defcustom docstrings.
15548 (turn-on-cwarn-mode): Make obsolete.
15549 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15550 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15552 2012-01-31 Glenn Morris <rgm@gnu.org>
15554 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15555 Fix :variable handling of mode a symbol not equal to modefun.
15556 Allow named functions to be used as the cdr of :variable.
15558 2012-01-30 Glenn Morris <rgm@gnu.org>
15560 * emacs-lisp/authors.el (authors-fixed-entries):
15561 Remove reference to deleted file rnewspost.el.
15563 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15565 * window.el (window-with-parameter): Remove unused variable `windows'.
15566 (window--side-check): Remove unused variable `code'.
15567 (window--resize-siblings): Remove unused variable `first'.
15568 (adjust-window-trailing-edge): Remove unused variable `failed'.
15569 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15570 Use `let', not `let*'.
15571 (balance-windows-2): Remove unused variable `found'.
15572 (window--state-put-2): Remove unused variable `splits'.
15573 (window-state-put): Remove unused variable `selected'.
15574 (same-window-p): Use `string-match-p'.
15575 (display-buffer-assq-regexp): Remove unused variable `value'.
15576 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15577 Mark argument ALIST as ignored.
15578 (pop-to-buffer): Remove unused variable `old-window'.
15580 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15582 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15583 and .lzma compressed files.
15585 2012-01-29 Chong Yidong <cyd@gnu.org>
15587 * frame.el (window-system-default-frame-alist): Doc fix.
15589 * dynamic-setting.el (font-setting-change-default-font): Don't
15590 change the default face if SET-FONT argument is non-nil (Bug#9982).
15592 2012-01-29 Samuel Bronson <naesten@gmail.com>
15594 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15596 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15598 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15599 breakpoints in files outside current directory (Bug#6098).
15601 2012-01-29 Chong Yidong <cyd@gnu.org>
15603 * progmodes/python.el: Require ansi-color at top-level.
15605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15606 Define and use in Emacs Lisp mode (Bug#9360).
15607 (lisp-mode-abbrev-table): Add doc.
15608 (lisp-mode-variables): Don't set local-abbrev-table.
15609 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15611 2012-01-28 Roland Winkler <winkler@gnu.org>
15613 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15615 2012-01-28 Roland Winkler <winkler@gnu.org>
15617 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15618 (bibtex-set-dialect): Use it. Either set global values of
15619 dialect-dependent variables or bind these variables buffer-locally
15621 (bibtex-mode): Call bibtex-set-dialect via
15622 hack-local-variables-hook.
15623 (bibtex-dialect): Update docstring.
15624 Add safe-local-variable predicate.
15625 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15626 bibtex-set-dialect.
15627 (bibtex-mode-map): Define menu for each dialect.
15628 (bibtex-entry): Fix docstring.
15630 2012-01-28 Chong Yidong <cyd@gnu.org>
15632 * eshell/esh-arg.el (eshell-quote-argument): New function.
15634 * eshell/esh-ext.el (eshell-invoke-batch-file):
15635 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15636 first arg to eshell-parse-command (Bug#10523).
15638 2012-01-28 Drew Adams <drew.adams@oracle.com>
15640 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15641 `default-directory' is non-nil.
15643 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15645 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15646 line that displays system-configuration-options. (Bug#9924)
15648 2012-01-28 Drew Adams <drew.adams@oracle.com>
15650 * descr-text.el (describe-char): Show information about POS, in
15651 addition to information about the character at POS. Improve and
15652 update the doc string. Change "code point" to "code point in
15653 charset", to avoid confusion with the character's Unicode code
15654 point shown above that. (Bug#10129)
15656 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15658 * descr-text.el (describe-char): Show the raw character, not only
15659 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15660 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15663 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15665 * emacs-lisp/package.el (package-install):
15666 Run package-refresh-contents if there is no archive yet (Bug#9798).
15668 2012-01-28 Chong Yidong <cyd@gnu.org>
15670 * emacs-lisp/package.el (package-maybe-load-descriptor):
15671 New function, split from package-maybe-load-descriptor.
15672 (package-maybe-load-descriptor): Use it.
15673 (package-download-transaction): Fully load required packages
15674 inside the loop, so that `require' calls work (Bug#10593).
15675 (package-install): No need to call package-initialize now.
15677 2012-01-28 Chong Yidong <cyd@gnu.org>
15679 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15681 * tooltip.el (tooltip-mode): Doc fix.
15682 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15684 * frame.el (set-cursor-color): Doc fix (Bug#352).
15686 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15687 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15689 * cus-edit.el (custom-buffer-create-internal): Fix search button
15690 action (Bug#10542).
15691 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15693 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15695 * dired.el (dired-mark-files-regexp):
15696 Include any subdirectory components. (Bug#10445)
15698 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15700 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15701 Handle [host]:port syntax. (Bug#10533)
15703 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15705 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15707 2012-01-26 Glenn Morris <rgm@gnu.org>
15709 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15710 * term.el (term-raw-escape-map): Use Control-X-prefix.
15711 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15713 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15715 * window.el (window-state-get, window--state-get-1): Don't deal
15716 with fixed-sizeness of windows. Simplify code.
15718 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15720 * window.el (window--state-get-1, window--state-put-2):
15721 Don't save and restore the mark.
15723 2012-01-25 Chong Yidong <cyd@gnu.org>
15725 * custom.el (custom-variable-p): Doc fix.
15727 2012-01-25 Glenn Morris <rgm@gnu.org>
15729 * dired.el (dired-goto-file): Handle some of the more common
15730 characters that `ls -b' escapes. (Bug#10596)
15732 * progmodes/compile.el (compilation-next-error-function):
15733 Respect compilation-first-column in the "*compilation*" buffer.
15734 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15736 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15738 2012-01-24 Glenn Morris <rgm@gnu.org>
15740 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15742 2012-01-24 Julien Danjou <julien@danjou.info>
15744 * color.el (color-rgb-to-hsl): Fix value computing.
15745 (color-hue-to-rgb): New function.
15746 (color-hsl-to-rgb): New function.
15747 (color-clamp, color-saturate-hsl, color-saturate-name)
15748 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15749 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15751 2012-01-24 Glenn Morris <rgm@gnu.org>
15753 * vc/vc-rcs.el (vc-rcs-create-tag):
15754 * vc/vc-sccs.el (vc-sccs-create-tag):
15755 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15757 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15759 * eshell/esh-util.el (eshell-read-hosts-file):
15760 Skip comment lines. (Bug#10549)
15762 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15764 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15766 * subr.el (display-delayed-warnings): Doc fix.
15767 (collapse-delayed-warnings): New function to collapse identical
15769 (delayed-warnings-hook): Add it.
15771 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15773 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15775 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15776 (tramp-default-user-alist): Don't add "pscp".
15777 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15778 property "login-as", if set. (Bug#10530)
15780 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15782 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15783 "plink1" and "psftp". (Bug#10530)
15785 2012-01-21 Kenichi Handa <handa@m17n.org>
15787 * international/mule-cmds.el (prefer-coding-system): Show a
15788 warning message if the default value of file-name-coding-system
15791 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15793 * windmove.el (windmove-reference-loc):
15794 Fix windmove-reference-loc miscalculation.
15796 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15798 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15801 2012-01-21 Glenn Morris <rgm@gnu.org>
15803 * international/mule.el (auto-coding-alist): Add .tbz.
15805 * files.el (local-enable-local-variables): Doc fix.
15806 (inhibit-local-variables-regexps): Rename from
15807 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15808 Doc fix. Add some extensions from auto-coding-alist.
15809 (inhibit-local-variables-suffixes):
15810 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15811 (inhibit-local-variables-p):
15812 New function, extracted from set-auto-mode-1.
15813 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15814 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15815 (hack-local-variables): Doc fix. Make the mode-only case
15816 respect enable-local-variables and friends.
15817 Respect inhibit-local-variables-regexps for file-locals, but
15818 not for directory-locals.
15819 (set-visited-file-name):
15820 Take account of inhibit-local-variables-regexps.
15821 Whether it applies may change as the file name is changed.
15822 * jka-cmpr-hook.el (jka-compr-install):
15823 * jka-compr.el (jka-compr-uninstall):
15824 Update for inhibit-first-line-modes-suffixes name change.
15826 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15828 * help-macro.el (make-help-screen): Temporarily restore original
15829 binding for minor-mode-map-alist (Bug#10454).
15831 2012-01-19 Julien Danjou <julien@danjou.info>
15833 * color.el (color-name-to-rgb): Use the white color to find the max
15834 color component value and return correctly computed values.
15835 (color-name-to-rgb): Add missing float conversion for max value.
15837 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15839 * window.el (window--state-get-1, window-state-get): Do not use
15840 special state value for window-persistent-parameters.
15841 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15842 (window--state-put-2): Reset all window parameters to nil before
15843 assigning values of persistent parameters.
15845 2012-01-18 Alan Mackenzie <acm@muc.de>
15847 Eliminate sluggishness and hangs in fontification of "semicolon
15850 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15851 Change value 10000 -> 3000.
15852 (c-state-safe-place): Reformulate so it doesn't stack up an
15853 infinite number of wrong entries in c-state-nonlit-pos-cache.
15854 (c-determine-limit-get-base, c-determine-limit): New functions to
15855 determine backward search limits disregarding literals.
15856 (c-find-decl-spots): Amend commenting.
15857 (c-cheap-inside-bracelist-p): New function which detects "={".
15859 * progmodes/cc-fonts.el
15860 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15862 (c-font-lock-declarations): Fix an occurrence of point being
15863 undefined. Check additionally for point being in a bracelist or
15864 near a macro invocation without a semicolon so as to avoid a
15865 fruitless time consuming search for a declarator. Give a more
15866 precise search limit for declarators using the new
15869 2012-01-18 Glenn Morris <rgm@gnu.org>
15871 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15872 (set-auto-mode): Doc fixes.
15874 2012-01-17 Glenn Morris <rgm@gnu.org>
15876 * isearch.el (search-nonincremental-instead): Fix doc typo.
15878 * dired.el (dired-insert-directory): Handle newlines in directory name.
15879 (dired-build-subdir-alist): Unescape newlines in directory name.
15881 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15883 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15884 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15885 (tramp-action-terminal): Use it. (Bug#10530)
15887 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15889 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15891 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15893 * window.el (window-state-ignored-parameters): Remove variable.
15894 (window--state-get-1): Rename argument MARKERS to IGNORE.
15895 Handle persistent window parameters. Make copy of clone-of
15896 parameter only if requested. (Bug#10348)
15897 (window--state-put-2): Install a window parameter only if it has
15898 a non-nil value or an existing parameter shall be overwritten.
15900 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15902 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15904 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15906 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15907 don't pass the (nil) value of `upnode' to string-match.
15909 2012-01-14 Chong Yidong <cyd@gnu.org>
15911 * startup.el (command-line): Fix X resource class for cursorColor.
15912 Fix values recognized by the cursorBlink resource.
15914 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15916 * epg.el (epg--make-temp-file): Avoid permission race condition
15917 when running on old Emacs versions (bug#10403).
15919 2012-01-14 Glenn Morris <rgm@gnu.org>
15921 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15923 2012-01-13 Alan Mackenzie <acm@muc.de>
15925 Fix filling for when filladapt mode is enabled.
15927 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15928 c-mask-paragraph, pass in `fill-paragraph' rather than
15929 `fill-region-as-paragraph'. (This is a reversion of a previous
15931 * progmodes/cc-mode.el (c-basic-common-init):
15932 Make fill-paragraph-handle-comment buffer local and set it to nil.
15934 2012-01-13 Glenn Morris <rgm@gnu.org>
15936 * dired.el (dired-switches-escape-p): New function.
15937 (dired-insert-directory): Use dired-switches-escape-p.
15938 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15940 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15942 2012-01-12 Glenn Morris <rgm@gnu.org>
15944 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15945 changes in adaptive-fill-regexp. (Bug#10276)
15947 2012-01-11 Alan Mackenzie <acm@muc.de>
15949 Fix Emacs bug #10463 - put `widen's around the critical spots.
15951 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15952 widen around each invocation of c-state-pp-to-literal. Remove an
15953 unused let variable.
15955 2012-01-11 Glenn Morris <rgm@gnu.org>
15957 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15960 2012-01-10 Chong Yidong <cyd@gnu.org>
15962 * net/network-stream.el (network-stream-open-starttls):
15963 Avoid emitting a confusing error message when the server gives a bad
15964 response to the capability command.
15966 2012-01-10 Glenn Morris <rgm@gnu.org>
15968 * mail/unrmail.el (unrmail): Tweak previous change.
15970 2012-01-09 Chong Yidong <cyd@gnu.org>
15972 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15974 2012-01-08 Alan Mackenzie <acm@muc.de>
15976 Optimize font locking in long enum definitions.
15978 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15979 arm to a cond form to handle enums.
15980 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15981 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15983 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15985 * files.el (move-file-to-trash): Preserve default file modes on error.
15988 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15990 * faces.el (set-face-attribute): Clarify the meaning of the nil
15993 * subr.el (with-selected-frame): Mention that the selected frame
15994 is restored (bug#9980).
15996 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15999 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16000 (password-read): Don't autoload unused function.
16002 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16004 * progmodes/which-func.el (which-func-mode): Turn into a
16005 non-interactive function and mark as obsolete (bug#10428).
16007 2012-01-06 Chong Yidong <cyd@gnu.org>
16009 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16010 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16011 functions, along with 1 and -1.
16013 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16015 * time.el (display-time-load-average)
16016 (display-time-default-load-average): Doc fixes. See the thread
16018 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16021 2012-01-06 Glenn Morris <rgm@gnu.org>
16023 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16024 has no messages. (Bug#10377)
16026 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16027 than Info-edit. (Bug#10385)
16029 * time.el (display-time-load-average, display-time-next-load-average):
16032 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16033 local setting of buffer-read-only to the input buffer. (Bug#10419)
16035 * calendar/calendar.el (calendar-mode):
16036 Locally set scroll-margin to 0. (Bug#10379)
16038 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16040 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16042 2012-01-05 Glenn Morris <rgm@gnu.org>
16044 * eshell/em-unix.el (diff-no-select): Autoload it.
16045 (eshell/diff): Use diff-no-select. (Bug#10420)
16047 2012-01-05 Chong Yidong <cyd@gnu.org>
16049 * shell.el (shell-dynamic-complete-functions): Revert last change.
16050 (shell-command-completion-function): New function.
16051 (shell-completion-vars): Use it to implement
16052 shell-completion-execonly (Bug#10417).
16054 * custom.el (enable-theme): Don't set custom-safe-themes.
16056 * cus-theme.el (custom-theme-merge-theme):
16057 Ignore custom-enabled-themes and custom-safe-themes.
16059 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16061 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16062 first prompt in `sql-interacive-mode'.
16063 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16065 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16066 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16067 context of original buffer. Invoke `sql-login-hook'.
16069 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16071 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16072 letters in cite-prefix.
16074 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16076 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16078 2012-01-03 Chong Yidong <cyd@gnu.org>
16080 * shell.el (shell-dynamic-complete-functions):
16081 Put pcomplete-completions-at-point, so as to try
16082 comint-filename-completion first (Bug#10417).
16084 2012-01-02 Richard Stallman <rms@gnu.org>
16086 * battery.el (battery-status-function):
16087 Detect when to use battery-yeeloong-sysfs.
16088 (battery-echo-area-format): Add string for Yeeloong.
16089 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16090 (battery-yeeloong-sysfs): New function.
16092 2012-01-02 Chong Yidong <cyd@gnu.org>
16094 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16095 (dirtrack): Merge code for handling relative filenames in prompt
16096 from shell-dir-cookie-watcher.
16097 (dirtrack-debug-message): New arg to avoid excess format calls.
16099 * shell.el (shell-dir-cookie-re): Variable deleted.
16100 (shell-dir-cookie-watcher): Function deleted.
16101 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16102 with dirtrack-mode.
16104 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16106 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16107 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16110 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16112 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16114 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16116 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16117 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16119 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16121 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16122 also for alternative shells.
16123 (tramp-open-connection-setup-interactive-shell): Check, whether
16124 the shell is a busybox.
16125 (tramp-send-command): Don't suppress multiple prompts for
16126 busyboxes, it hurts.
16128 2011-12-28 Chong Yidong <cyd@gnu.org>
16130 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16131 (gdb-get-source-file): Move mode line update to
16132 gdb-get-source-file (Bug#10087).
16134 2011-12-25 Chong Yidong <cyd@gnu.org>
16136 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16137 gud-gdb-marker-filter without taking it as an argument.
16138 (gud-gdb-run-command-fetch-lines): Caller changed.
16139 (gud-gdb-completion-function): New variable.
16140 (gud-gdb-completion-at-point): Use it.
16141 (gud-gdb-completions-1): Split from gud-gdb-completions.
16143 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16144 function as separate arguments.
16145 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16146 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16147 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16148 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16149 (gdb-stopped, def-gdb-auto-update-trigger)
16150 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16151 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16153 (gud-gdbmi-completions): New function.
16154 (gdb): Use it for generating the completion table.
16156 2011-12-24 Alan Mackenzie <acm@muc.de>
16158 Introduce a mechanism to widen the region used in context font
16159 locking. Use this to protect declarations from losing their contexts.
16161 * progmodes/cc-langs.el (c-before-font-lock-functions):
16162 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16163 (c-before-context-fontification-functions): New defvar, a list of
16164 functions to be run just before context (etc.) font locking.
16166 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16167 New, functionality extracted from
16168 c-neutralize-syntax-in-and-mark-CPP.
16169 (c-in-after-change-fontification): New variable.
16170 (c-after-change): Set c-in-after-change-fontification.
16171 (c-set-fl-decl-start): Rejig its interface, so it can be called
16172 from both after-change and context fontifying.
16173 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16175 (c-standard-font-lock-fontify-region-function): New variable.
16176 (c-font-lock-fontify-region): New function.
16178 2011-12-24 Juri Linkov <juri@jurta.org>
16180 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16183 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16185 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16186 existence of source file. (Bug#10325)
16188 2011-12-23 Alan Mackenzie <acm@muc.de>
16190 Fix unstable fontification inside templates.
16192 * progmodes/cc-langs.el (c-before-font-lock-functions):
16193 Newly created from the singular version. The (c c++ objc) entry now
16194 additionally has c-set-fl-decl-start. The other languages (apart
16195 from AWK) have that as a single entry.
16197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16198 The functionality for "local" declarations has been extracted to
16199 c-set-fl-decl-start.
16201 * progmodes/cc-mode.el (c-common-init, c-after-change):
16202 Changes due to pluralisation of c-before-font-lock-functions.
16203 (c-set-fl-decl-start): New function, extracted from
16204 c-font-lock-enclosing-decls and enhanced.
16206 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16208 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16210 2011-12-22 Juri Linkov <juri@jurta.org>
16212 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16214 2011-12-22 Chong Yidong <cyd@gnu.org>
16216 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16218 2011-12-21 Drew Adams <drew.adams@oracle.com>
16220 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16222 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16224 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16226 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16228 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16229 highlighting and support. Fix up comments for capitalization.
16230 (cfengine-mode-debug): New var.
16231 (cfengine3-mode): Change the modeline indicator to "CFE3".
16232 (cfengine3-font-lock-keywords): Improve defun highlighting.
16233 (cfengine2-actions): Rename from `cfengine-actions'.
16234 (cfengine2-font-lock-keywords): Rename from
16235 `cfengine-font-lock-keywords'.
16236 (cfengine2-imenu-expression): Rename from
16237 `cfengine-imenu-expression'.
16238 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16239 (cfengine2-beginning-of-defun): Rename from
16240 `cfengine-beginning-of-defun'.
16241 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16242 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16243 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16244 modeline indicator to "CFE2".
16245 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16246 (cfengine-mode-abbrevs): Mark obsolete.
16248 2011-12-21 Chong Yidong <cyd@gnu.org>
16250 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16253 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16255 * window.el (window-normalize-buffer-to-display): Remove.
16256 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16258 2011-12-19 Chong Yidong <cyd@gnu.org>
16260 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16261 Don't signal an error in a predicate function; return non-nil.
16262 (vc-dir-mark-file): Move the error here.
16263 (vc-dir-mark-unmark): If acting on the region, keep going if one
16264 of the entries cannot be marked/unmarked.
16265 (vc-dir-mark-all-files): If current entry is a directory, mark
16266 only child files, as documented.
16268 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16270 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16271 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16274 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16276 * term/ns-win.el (ns-get-selection-internal)
16277 (ns-store-selection-internal): Declare.
16278 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16279 Declare as obsolete.
16280 (ns-get-pasteboard, ns-paste-secondary):
16281 Use ns-get-selection-internal.
16282 (ns-set-pasteboard, ns-copy-including-secondary):
16283 Use ns-store-selection-internal.
16285 2011-12-17 Chong Yidong <cyd@gnu.org>
16287 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16288 (vc-deduce-fileset): Doc fix.
16290 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16292 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16294 2011-12-13 Sam Steingold <sds@gnu.org>
16296 * man.el (Man-getpage-in-background): When running under a
16297 window-system, ignore $MANWIDTH and $COLUMNS.
16299 2011-12-15 Kenichi Handa <handa@m17n.org>
16301 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16302 (setup-ethiopic-environment-internal): Comment out key-binding for
16303 ethio-toggle-punctuation.
16305 2011-12-13 Alan Mackenzie <acm@muc.de>
16307 Add the switch statement to AWK Mode.
16309 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16310 "default" to the keywords regexp.
16312 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16313 expression as the rest.
16314 (c-nonlabel-token-key): Allow string literals for AWK.
16315 Refactor for the other modes.
16317 Large brace-block initialisation makes CC Mode slow: Fix.
16318 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16319 routines. Limit backward searching in c-font-lock-enclosing.decl.
16321 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16322 pp-state and literal type in addition to the limits.
16323 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16324 (c-state-literal-at): Use the above new defun.
16325 (c-slow-in-literal, c-fast-in-literal): Remove.
16326 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16328 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16329 being in a literal. Add a limit for backward searching.
16331 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16334 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16336 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16338 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16340 * window.el (delete-other-windows): Use correct frame in call to
16341 window-with-parameter.
16343 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16345 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16346 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16347 (makefile-gmake-statements, makefile-makepp-statements):
16348 Use it and add new makepp keywords.
16349 (makefile-makepp-font-lock-keywords): Add new patterns.
16350 (makefile-match-function-end): Match new [...] and [[...]].
16352 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16354 * ses.el (ses-call-printer-return, ses-cell-property-get)
16355 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16356 (ses-create-cell-variable, ses-reset-header-string)
16357 (ses-cell-set-formula, ses-repair-cell-reference-all)
16358 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16359 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16360 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16361 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16362 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16363 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16364 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16365 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16366 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16367 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16368 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16369 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16371 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16373 * ses.el: The overall change is to add cell renaming, that is
16374 setting fancy names for cell symbols other than name matching
16375 "\\`[A-Z]+[0-9]+\\'" regexp .
16376 (ses-create-cell-variable): New defun.
16377 (ses-relocate-formula): Relocate formulas only for cells the
16378 symbols of which are not renamed, i.e. symbols whose names do not
16379 match regexp "\\`[A-Z]+[0-9]+\\'".
16380 (ses-relocate-all): Relocate values only for cells the symbols of
16381 which are not renamed.
16382 (ses-load): Create cells variables as the (ses-cell ...) are read,
16383 in order to check row col consistency with cell symbol name only
16384 for cells that are not renamed.
16385 (ses-replace-name-in-formula): New defun.
16386 (ses-rename-cell): New defun.
16388 2011-12-11 Chong Yidong <cyd@gnu.org>
16390 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16391 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16393 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16395 * window.el (other-window): Fix docstring.
16397 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16399 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16400 `from' or `to' address before taking its substring.
16401 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16402 encoded name is chopped in the middle of the encoded string, and
16403 thus displayed encoded.
16405 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16407 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16409 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16411 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16412 to use texinfo-update-node and commands that call it if the
16413 Texinfo file uses @node lines without next/prev/up pointers.
16414 Correct outdated description about texinfo-master-menu.
16415 (texinfo-all-menus-update, texinfo-master-menu)
16416 (texinfo-update-node, texinfo-every-node-update)
16417 (texinfo-multiple-files-update): Doc fix. Warn against updating
16418 all the @node lines.
16419 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16420 argument is numeric. Explain better in the doc string what the
16421 function really does.
16422 (texinfo-insert-master-menu-list): Improve the error message
16423 displayed if there's no menu in the Top node.
16424 (Bug#2975) See also this thread:
16425 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16427 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16429 * speedbar.el (speedbar-supported-extension-expressions):
16430 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16432 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16434 * printing.el (pr-mode-alist):
16435 * simple.el (filter-buffer-substring-functions)
16436 (completion-list-insert-choice-function):
16437 * window.el (window-with-parameter, window-atom-root)
16438 (window-sides-slots, window-size-fixed, window-min-delta)
16439 (window-max-delta, window--resize-mini-window)
16440 (window--resize-child-windows-normal, window-tree)
16441 (delete-other-windows, quit-window, split-window)
16442 (display-buffer-record-window, special-display-buffer-names)
16443 (special-display-regexps, special-display-popup-frame)
16444 (same-window-p, split-window-sensibly)
16445 (display-buffer-overriding-action, display-buffer-alist)
16446 (display-buffer-base-action, display-buffer, switch-to-buffer)
16447 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16448 (fit-window-to-buffer, recenter-positions)
16449 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16450 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16451 and remove unneeded backslashes in docstrings.
16453 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16455 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16457 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16458 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16460 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16461 when reading the makefile (bug#10116).
16463 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16465 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16468 2011-12-06 Glenn Morris <rgm@gnu.org>
16470 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16472 2011-12-06 Chong Yidong <cyd@gnu.org>
16474 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16476 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16478 * textmodes/table.el (table-shorten-cell): Fix typo.
16480 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16482 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16484 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16486 * descr-text.el (describe-char): Fix display of strong
16487 right-to-left characters and directional embeddings and overrides.
16489 * simple.el (what-cursor-position): Fix display of codepoints of
16490 strong right-to-left characters.
16492 2011-12-05 Chong Yidong <cyd@gnu.org>
16494 * faces.el (read-color): Doc fix.
16496 2011-12-05 Glenn Morris <rgm@gnu.org>
16498 * align.el (align--set-marker): Add doc-string.
16499 Don't try to move something that is not a marker. (Bug#10216)
16501 2011-12-04 Glenn Morris <rgm@gnu.org>
16503 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16504 overly zealous deletion of trailing whitespace.
16506 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16508 * server.el (server-delete-client): On Windows, do not try to delete
16510 (server-process-filter): On Windows, treat requests for a tty frame as
16511 if they were for a GUI frame if the running server is in GUI mode.
16513 2011-12-03 Glenn Morris <rgm@gnu.org>
16515 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16517 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16519 * electric.el: Streamline electric-indent's hook.
16520 (electric-indent-chars): Revert to simple list.
16521 (electric-indent-functions): New var.
16522 (electric-indent-post-self-insert-function): Use it.
16524 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16525 there's no inferior buffer (bug#10196).
16526 (prolog-consult-compile): Don't use toggle-read-only.
16528 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16530 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16531 interrupt. (Bug#10187)
16533 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16535 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16538 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16541 2011-12-02 Juri Linkov <juri@jurta.org>
16543 * info.el (Info-search): Display "end of manual" when Isearch
16544 reaches the end of single-file Info manual. (Bug#9918)
16546 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16548 * isearch.el (isearch-message-prefix): Run the input method part
16549 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16551 2011-12-02 Juri Linkov <juri@jurta.org>
16553 * isearch.el (isearch-occur): Use `word-search-regexp' for
16555 (isearch-search-and-update): Add condition for `isearch-word' and
16556 call `word-search-regexp'. (Bug#10145)
16558 2011-12-01 Glenn Morris <rgm@gnu.org>
16560 * eshell/em-hist.el (eshell-hist-initialize):
16561 Handle eshell-history-size nil and HISTSIZE set or unset.
16562 (eshell-history-file-name, eshell-history-size): Fix custom type.
16564 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16566 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16568 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16570 * progmodes/verilog-mode.el (verilog-pretty-expr):
16571 Rework verilog-pretty-expr to handle new assignment operators in system
16572 verilog, such as += *= and the like.
16573 (verilog-assignment-operator-re): Regular expression to find the
16574 assigment operator in a verilog assignment.
16575 (verilog-assignment-operation-re): Regular expression to find an
16576 assignment statement for pretty-expr.
16577 (verilog-in-attribute-p): Query returns true if point is in an
16578 attribute context; used to skip these for expression line up from
16580 (verilog-in-parameter-p): Query returns true if point is in an
16581 parameter definition context; used to skip these for expression
16582 line up from pretty-expr.
16583 (verilog-in-parenthesis-p): Query returns true if point is in a
16584 parenthetical expression, specifically ( ) but not [ ] or { };
16585 used by pretty-expr.
16586 (verilog-just-one-space): If there is no space, don't add one.
16587 (verilog-get-lineup-indent-2): Specifically skip just attribute
16588 contexts for expression lineup, rather than skipping all
16589 parenthetical expressions.
16590 (verilog-calculate-indent): Fix comment, and fix indent.
16591 (verilog-do-indent): Indent declarations in lists (suggested by
16593 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16595 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16598 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16600 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16601 parameters with embedded comments. Reported by Ray Stevens.
16602 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16603 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16604 Reported by Tim Holt.
16605 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16606 instantiated by upper module causing wrong expansion until AUTOed a
16607 second time. Reported by K C Buckenmaier.
16608 (verilog-diff-auto): Fix showing .* as a difference when
16609 `verilog-auto-star-save' off. Reported by Dan Dever.
16610 (verilog-auto-reset, verilog-read-always-signals)
16611 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16612 temporary signals in reset list if
16613 verilog-auto-reset-blocking-in-non is nil, and match assignment
16614 style to each signal's assignment type, bug381.
16615 Reported by Thomas Esposito.
16616 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16617 (verilog-uvm-statement-re): Support UVM indentation and
16618 highlighting, with old OVM keywords only.
16619 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16620 Support AUTOTIEOFF creating non-wire data types.
16621 Suggested by Jonathan Greenlaw.
16622 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16623 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16624 (verilog-inject-sense, verilog-read-inst-pins)
16625 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16626 Fix mismatching parenthesis inside commented out code when deleting
16627 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16628 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16629 non-numeric vector width. Reported by Alex Reed.
16630 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16631 detecting signals with parameter widths. Reported by Alex Reed.
16632 (verilog-auto-delete-trailing-whitespace):
16633 With `verilog-auto-delete-trailing-whitespace' remove trailing
16634 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16635 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16636 Fix verilog-scan-cache corruption when running user AUTO expansion
16637 hooks that call indentation routines.
16638 (verilog-simplify-range-expression): Fix typo ignoring lower case
16640 (verilog-delete-auto): Fix delete-autos to also remove user created
16641 automatics, as long as they start with AUTO.
16642 (verilog-batch-diff-auto, verilog-diff-auto)
16643 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16644 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16645 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16646 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16647 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16648 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16649 is disabled and its cache will get corrupt, causing AUTOS not to
16650 expand. Instead use only -quick functions.
16651 (verilog-scan-region): Fix scanning over escaped quotes.
16652 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16653 (verilog-re-search-backward-quick)
16654 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16655 related functions now ignore strings, to fix misparsing of strings
16656 with magic comments embedded in them.
16657 (verilog-read-auto-template):
16658 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16659 Reported by Brad Dobbie.
16660 (verilog-read-auto-template):
16661 Fix 'verilog-auto-inst-template-numbers' with comments.
16662 Reported by Brad Dobbie.
16663 (verilog-auto-inst, verilog-auto-inst-param)
16664 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16665 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16666 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16667 debugging templates without merge conflicts, bug357.
16668 Reported by Brad Dobbie.
16669 (verilog-read-auto-template):
16670 Fix verilog-auto-inst-template-numbers with multiple templates.
16671 Reported by Brad Dobbie.
16672 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16673 abbrevs so user won't be asked to save.
16674 (verilog-read-auto-lisp-present): Fix to start at beginning of
16675 buffer in case called outside of verilog-auto.
16676 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16677 to "X-2". Reported by Matthew Myers.
16678 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16679 all inputs from module templates. Reported by Leith Johnson.
16680 (verilog-module-inside-filename-p): Fix locating programs as with
16682 (verilog-auto-inst-port): Fix vl-width expressions when using
16683 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16684 (verilog-decls-get-regs, verilog-decls-get-signals,
16685 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16686 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16687 verilog-read-decls): Combine reg and wire structures into one var
16688 structure to represent SystemVerilog concepts.
16689 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16690 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16691 (verilog-auto-wire-type, verilog-insert-definition):
16692 Add verilog-auto-wire-type and AUTOLOGIC to support using
16693 SystemVerilog "logic" keyword instead of "wire"/"reg".
16694 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16695 to declares outputs that also have assignments (presumably in an
16696 ifdef or generate if so there's not a driver conflict).
16697 Reported by Matthew Myers.
16698 (verilog-auto-declare-nettype, verilog-insert-definition):
16699 Add verilog-auto-declare-nettype to fix declarations using
16700 `default_nettype none. Reported by Julian Gorfajn.
16701 (verilog-read-always-signals-recurse, verilog-read-decls)
16702 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16703 malformed end statement, bug325. Reported by Joshua Wise and
16705 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16706 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16707 when expanding .* in interfaces, bug320.
16708 Reported by Pierre-David Pfister.
16709 (verilog-read-module-name): Fix import statements between module
16710 name and open parenthesis, bug317.
16711 Reported by Pierre-David Pfister.
16712 (verilog-simplify-range-expression): Fix simplification of
16713 multiplications inside AUTOWIRE connections, bug303.
16714 (verilog-auto-inst-port): Support parameter expansion in
16715 multidimensional arrays.
16716 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16717 after "assert property". Reported by Julian Gorfajn.
16718 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16719 with multiplication, bug303.
16720 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16721 Reported by Jan Frode Lonnum.
16723 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16725 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16726 (hfy-shell-file-name, hfy-shell):
16727 * international/fontset.el (x-decompose-font-name): Fix typos.
16729 2011-11-29 Ken Brown <kbrown@cornell.edu>
16731 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16732 (gdb-version): Remove defvar.
16733 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16734 (gdb-gud-context-command, gdb-non-stop-handler)
16735 (gdb-current-context-command, gdb-stopped): Use it.
16736 (gdb-init-1): Enable pretty printing here.
16737 (gdb-non-stop-handler): Don't enable pretty-printing here.
16738 Check to see if the target supports non-stop mode; if not, turn off
16739 non-stop mode. Use the following.
16740 (gdb-check-target-async): New defun.
16741 (gud-watch, gdb-stopped): Fix whitespace.
16742 (gdb-get-source-file): Don't try to display the source file if
16743 `gdb-main-file' is nil.
16745 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16747 * align.el: Try to generate fewer markers (bug#10047).
16748 (align--set-marker): New macro.
16749 (align-region): Use it.
16751 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16753 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16755 2011-11-29 Chong Yidong <cyd@gnu.org>
16757 * indent.el (indent-for-tab-command, indent-according-to-mode):
16759 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16761 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16763 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16764 aware of remote file names. (Bug#10124)
16766 2011-11-29 Chong Yidong <cyd@gnu.org>
16768 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16770 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16772 * files.el (find-file): Don't use force-same-window (bug#10144).
16773 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16774 use pop-to-buffer if the selected window can't be used.
16775 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16777 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16779 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16782 2011-11-28 Chong Yidong <cyd@gnu.org>
16784 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16786 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16788 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16789 gdb-get-source-file-list on gdb-create-source-file-list.
16791 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16793 * whitespace.el (whitespace-newline): Use a different foreground
16794 color for 16-color light-background displays.
16796 2011-11-24 Chong Yidong <cyd@gnu.org>
16798 * window.el (display-buffer--special-action): Doc fix.
16800 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16802 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16803 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16804 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16805 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16806 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16807 (avl-tree-stack-first):
16808 * emacs-lisp/cconv.el (cconv--analyse-use):
16809 * net/gnutls.el (gnutls-negotiate): Fix typos.
16811 2011-11-24 Glenn Morris <rgm@gnu.org>
16813 * lpr.el (lpr-windows-system, lpr-lp-system):
16814 * mail/binhex.el (binhex-begin-line):
16815 * progmodes/grep.el (grep-history, grep-find-history):
16816 * textmodes/flyspell.el:
16817 * vc/pcvs-defs.el (cvs-global-menu):
16818 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16819 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16820 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16822 * net/tls.el: Fix case of "GnuTLS".
16824 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16826 * version.el (emacs-build-system): Give it a doc-string.
16828 2011-11-24 Juri Linkov <juri@jurta.org>
16830 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16832 2011-11-24 Glenn Morris <rgm@gnu.org>
16834 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16835 if called on a non-mime message just toggle the headers. (Bug#8006)
16837 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16839 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16840 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16841 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16842 (allout-rebullet-heading, allout-open-sibtopic)
16843 (allout-toggle-current-subtree-encryption)
16844 (allout-toggle-subtree-encryption, allout-encrypt-string)
16845 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16846 (allout-distinctive-bullets-string, allout-auto-activation):
16847 * window.el (window-normalize-buffer-to-display):
16848 * progmodes/verilog-mode.el (verilog-batch-indent):
16849 * textmodes/bibtex.el (bibtex-field-braces-opt)
16850 (bibtex-field-strings-opt):
16851 * vc/cvs-status.el (cvs-tree-merge):
16854 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16856 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16857 `non-essential' to t, in order to avoid remote connections.
16859 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16861 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16862 On MS-DOS and MS-Windows, compare with loaddefs.el
16863 case-insensitively.
16865 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16867 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16869 2011-11-23 Glenn Morris <rgm@gnu.org>
16871 * paths.el (rmail-file-name): Reformat the doc-string so that it
16874 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16875 (rmail-auto-file): Ignore case in the "special" field names,
16876 as mail-fetch-field does for all others.
16878 * mail/rmail.el (rmail-forward):
16879 * mail/rmailkwd.el (rmail-set-label):
16880 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16881 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16883 * mail/rmail.el (rmail-current-message): Doc fix.
16885 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16887 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16889 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16891 2011-11-22 Glenn Morris <rgm@gnu.org>
16893 * mail/rmailmm.el (test-rmail-mime-handler)
16894 (test-rmail-mime-bulk-handler)
16895 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16897 2011-11-21 Juri Linkov <juri@jurta.org>
16899 * calc/calc.el (calc-read-key-sequence):
16900 Let-bind `input-method-function' to nil. (Bug#10018)
16902 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16904 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16905 Tell the caller that the next line needs recomputation, even
16906 though it doesn't start a sexp (bug#10094).
16908 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16912 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16914 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16915 Use force-same-window.
16917 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16919 * descr-text.el (describe-char-unicode-data):
16920 * json.el (json-string-escape):
16921 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16922 (Footnote-unicode, Footnote-style-p):
16923 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16925 2011-11-20 Chong Yidong <cyd@gnu.org>
16927 * window.el (replace-buffer-in-windows): Restore interactive spec.
16929 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16931 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16933 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16934 (byte-compile-global-not-obsolete-vars): New var.
16935 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16937 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16939 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16941 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16942 * progmodes/pascal.el (electric-pascal-equal):
16943 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16944 * xml.el (xml-substitute-special): Fix typos.
16946 2011-11-20 Glenn Morris <rgm@gnu.org>
16948 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16949 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16951 (rmail-decode-mime-charset): Mark as obsolete.
16953 * mail/rmailsum.el (rmail-message-regexp-p-1):
16954 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16955 Before using mime functions, check they are set. (Bug#10077)
16957 2011-11-19 Juri Linkov <juri@jurta.org>
16959 * info.el (Info-finder-find-node): Use `package--builtins' instead
16960 of `package-alist'. Use node names formed by the pattern "Keyword "
16961 and the keyword name.
16963 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16965 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16967 2011-11-19 Juri Linkov <juri@jurta.org>
16969 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16970 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16971 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16972 `old-history', `old-history-forward'. Add let-binding
16973 `window-selected'. Remove calls to `kill-buffer',
16974 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16975 before calling `Info-find-node', so `Info-find-node-2' will reread
16976 the Info file. Restore window positions only when `window-selected'
16979 2011-11-19 Juri Linkov <juri@jurta.org>
16981 * isearch.el (isearch-lazy-highlight-new-loop):
16982 Remove condition `(not isearch-error)'. (Bug#9918)
16984 * misearch.el (multi-isearch-search-fun): Add condition
16985 `(not bound)' to ignore lazy-highlighting search.
16986 Add the search-failed message "end of multi" when the end of
16987 multi-sequence is reached. Uncapitalize the search-failed
16988 message "Repeat for next buffer".
16990 * info.el (Info-search): Add the search-failed message
16991 "end of the manual" when the end of the manual is reached
16994 2011-11-19 Juri Linkov <juri@jurta.org>
16996 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16997 Use non-destructive `remove' instead of `delete' because
16998 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16999 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17001 2011-11-19 Juri Linkov <juri@jurta.org>
17003 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17004 to nil instead of binding `search-ring' and `regexp-search-ring'.
17007 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17009 * simple.el (line-move): Force movement by logical lines for any
17010 hscrolled window, not only when auto-hscroll-mode is on.
17011 (line-move-visual): Update doc string to that effect. (Bug#10076)
17013 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17015 * language/european.el (macintosh): Define as alias for mac-roman.
17017 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17019 * mail/rmailmm.el (rmail-mime-display-header)
17020 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17021 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17022 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17023 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17024 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17026 (rmail-mime-entity-segment): To get past the tagline, move forward
17027 2 more lines, to account for the 2 empty lines that precede and
17028 follow the line with the buttons.
17029 (rmail-mime-update-tagline): Move one more line, to get past the
17030 empty line that follows the buttons in the tagline. (Bug#9520)
17032 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17034 * window.el (window-max-delta-1, window-min-delta-1)
17035 (window-min-size-1, window-state-get-1, window-state-put-1)
17036 (window-state-put-2): Use "window--" prefix.
17038 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17040 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17041 (smie-warning-count): New var.
17042 (smie-set-prec2tab): Use it.
17043 (smie-bnf->prec2): Improve warnings. Add docstring.
17044 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17045 (smie-bnf--set-class): New function.
17046 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17049 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17050 (compilation-error-properties, compilation-move-to-column):
17051 Handle compilation-first-column while in the target buffer.
17053 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17054 Don't hardcode point-min==1.
17056 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17057 (eshell-rewrite-for-command): Remove workaround.
17058 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17059 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17060 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17062 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17064 2011-11-17 Glenn Morris <rgm@gnu.org>
17066 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17067 Ignore buffer-local generated-autoload-file if it is the same
17068 as the global value. (Bug#10049)
17070 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17072 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17073 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17074 (reftex-toc-previous-heading, reftex-toc-max-level)
17075 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17076 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17077 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17078 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17079 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17080 (reftex-toc-rename-label, reftex-toc-visit-location)
17081 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17082 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17083 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17084 leaving "*toc*" only for references to the buffer.
17086 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17088 * window.el (window-resize, delete-window, split-window):
17089 Replace window-splits by window-combination-resize.
17090 * cus-start.el (window-splits): Replace by window-combination-resize.
17092 2011-11-17 Glenn Morris <rgm@gnu.org>
17094 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17095 Make bash entry derive from sh entry, not shell entry.
17097 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17099 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17102 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17104 * menu-bar.el (menu-bar-file-menu):
17105 * printing.el (pr-ps-utility):
17106 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17107 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17108 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17109 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17110 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17111 (icalendar--convert-cyclic-to-ical)
17112 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17113 (icalendar--convert-ical-to-diary)
17114 (icalendar--convert-recurring-to-diary)
17115 (icalendar--convert-non-recurring-all-day-to-diary)
17116 (icalendar-import-format-sample):
17117 * progmodes/idlw-shell.el (idlwave-shell-mode):
17118 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17119 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17120 (vhdl-ps-print-init): Fix typos.
17122 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17124 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17125 FSF and collapse date sequence, obscure author/maintainer email address
17126 better, remove extra version line, track relocation of author's webpage.
17128 * progmodes/python.el (python-pdbtrack-input-prompt)
17129 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17130 regular python pdb prompts. Adjustments shamelessly taken exactly as
17131 suggested in EmacsWiki page (tiny change):
17132 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17134 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17136 * expand.el (expand-pos, expand-index, expand-point):
17137 Remove redundant info from docstring.
17138 (expand-add-abbrevs): Doc fix.
17139 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17140 (expand-sample-perl-mode-expand-list): Fix typos.
17142 * net/dbus.el (dbus-event-member-name):
17143 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17144 * term/pc-win.el (msdos-create-frame-with-faces):
17145 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17147 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17149 * window.el (split-window, window-state-get-1)
17150 (window-state-put-1, window-state-put-2): Rename occurrences of
17151 window-nest to window-combination-limit.
17152 * cus-start.el (window-nest): Rename to window-combination-limit.
17154 2011-11-16 Chong Yidong <cyd@gnu.org>
17156 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17157 regexp (Bug#10033).
17159 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17161 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17162 `completing-read' will remove *Completions* and will preserve
17163 current-buffer for us.
17164 (tmm-add-prompt): Users of *Completions* will always (re)set its
17166 (tmm-old-comp-map): Remove.
17168 2011-11-16 Glenn Morris <rgm@gnu.org>
17170 * mail/rmailedit.el: Require rmailmm when compiling.
17171 (rmail-old-mime-state): New declaration.
17172 (rmail-edit-current-message): If editing a mime message,
17173 edit the "raw" message from the mbox buffer.
17174 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17176 2011-11-15 Glenn Morris <rgm@gnu.org>
17178 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17179 which wasn't being used. Add optional arg to force given state.
17180 (rmail-mime): Add optional arg to force given state.
17182 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17184 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17185 * frame.el (display-mm-dimensions-alist):
17186 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17187 (outline-move-subtree-down):
17188 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17189 (newsticker--treeview-do-get-node):
17190 * net/quickurl.el (quickurl-list-buffer-name):
17191 * progmodes/dcl-mode.el (dcl-mode):
17192 * progmodes/gdb-mi.el (gdb-mapcar*):
17193 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17195 2011-11-15 Glenn Morris <rgm@gnu.org>
17197 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17198 in a boolean sense, so just make it a boolean, and fix the doc.
17199 (rmail-show-mime-function, rmail-mime-feature)
17200 (rmail-require-mime-maybe): Doc fixes.
17201 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17203 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17205 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17207 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17208 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17209 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17210 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17212 2011-11-15 Glenn Morris <rgm@gnu.org>
17214 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17215 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17216 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17217 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17218 (rmail-mime, rmail-show-mime): Doc fixes.
17220 * term/ns-win.el (mode-line-frame-identification):
17221 Leave it alone. (Bug#10051)
17223 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17225 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17226 Handle empty buffers. (Bug#9978)
17228 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17230 * international/mule.el (define-charset):
17231 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17232 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17233 * progmodes/verilog-mode.el (verilog-backward-token):
17234 * textmodes/ispell.el (lookup-words):
17235 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17237 2011-11-14 Glenn Morris <rgm@gnu.org>
17239 * progmodes/executable.el
17240 (executable-make-buffer-file-executable-if-script-p):
17241 Handle file-modes returning nil.
17243 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17244 message - not necessary, and causes problems. (Bug#9831)
17246 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17248 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17250 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17251 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17252 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17254 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17256 * window.el (window-resize, delete-window): Use window-splits
17257 variable instead of function.
17258 (window-state-get-1, window-state-put-2, window-state-put):
17259 Don't deal with windows' splits status.
17261 2011-11-12 Glenn Morris <rgm@gnu.org>
17263 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17264 (apropos-documentation): Doc fixes.
17266 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17268 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17269 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17271 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * electric.el (electric-indent-post-self-insert-function): Make it
17274 possible for a char to only indent in some circumstances.
17275 (electric-indent-mode): Simplify.
17277 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17279 * window.el (windows-with-parameter): Remove unused function.
17280 (windows-at-side): Rename to window-at-side-list.
17281 (window-check, window-atom-check, window-atom-check-1)
17282 (window-side-check, window-size-ignore, window-size-fixed-1)
17283 (window-in-direction-2): Prefix with "window--".
17284 (window-tree-1): Rename to window--subtree, fix doc-string.
17286 2011-11-11 Glenn Morris <rgm@gnu.org>
17288 * subr.el (eval-after-load): If FILE is already loaded,
17289 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17291 2011-11-10 Glenn Morris <rgm@gnu.org>
17293 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17294 Call svn via vc-svn-command rather than vc-do-command.
17295 (vc-svn-command): Add --non-interactive. (Bug#9993)
17296 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17298 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17299 Add toggle-read-only. (Bug#7292)
17300 * files.el (toggle-read-only): Mention that it should only
17301 be used interactively. (Bug#10006)
17303 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17306 Adjust regexp for OCaml warnings.
17308 * electric.el (electric-pair-post-self-insert-function): Let user
17309 turn it off buffer-locally (bug#9932).
17311 * progmodes/python.el (python-beginning-of-statement):
17312 Rewrite (bug#2703).
17314 * progmodes/compile.el: Better handle TABs (bug#9749).
17315 (compilation-internal-error-properties)
17316 (compilation-next-error-function): Obey the target buffer's
17317 compilation-error-screen-columns.
17319 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17321 * progmodes/meta-mode.el: Remove obsolete comments.
17322 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17323 Fix typos in docstrings.
17325 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17327 * window.el (window-size-fixed-p): Rewrite doc-string.
17328 (window-resizable-p): Rename to window--resizable-p. Update callers.
17329 (window--resizable): New function. Make all callers of
17330 window-resizable call window--resizable instead.
17331 (window-resizable): Rewrite in terms of window--resizable.
17333 2011-11-08 Glenn Morris <rgm@gnu.org>
17335 * progmodes/delphi.el (delphi-mode-syntax-table):
17336 Let define-derived-mode define a proper syntax table. (Bug#9994)
17338 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17340 * window.el: Stay away from defsubst.
17341 (window-list-no-nils): Remove.
17342 (window-state-get-1, window-state-get): Use backquote instead.
17344 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17346 * emacs-lisp/find-func.el (find-function-read):
17347 Fix incorrect use of default argument in `completing-read'.
17349 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17351 * window.el (display-buffer-function, special-display-function):
17352 Mention display-buffer-record-window but do not mention
17353 help-setup parameter in doc-strings.
17354 (window-min-delta): Fix doc-string typo.
17356 2011-11-08 Chong Yidong <cyd@gnu.org>
17358 * window.el (window-total-height, window-total-width): Doc fix.
17359 (window-body-size): Move from C.
17360 (window-body-height, window-body-width): Move to C.
17362 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17364 * window.el: Make special-display like display-buffer-alist (bug#9532).
17365 (display-buffer--special-action): New function, morphed
17366 from display-buffer--special.
17367 (display-buffer): Use it to handle special-display-buffers at higher
17368 priority (just after display-buffer-alist).
17369 (display-buffer-fallback-action, display-buffer--other-frame-action)
17370 (pop-to-buffer-same-window): Remove display-buffer--special.
17372 2011-11-07 Glenn Morris <rgm@gnu.org>
17374 * calendar/cal-menu.el (cal-menu-set-date-title):
17375 Do nothing if not in a calendar. (Bug#9976)
17377 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17379 * files.el (find-file): Always use selected-window.
17381 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17383 * window.el (window-combinations): Make WINDOW argument
17384 mandatory. Rewrite doc-string.
17385 (walk-window-subtree, window-atom-check, window-min-delta)
17386 (window-max-delta, window--resize-this-window)
17387 (window--resize-root-window-vertically, window-tree)
17388 (balance-windows, window-state-put): Rewrite doc-strings as to
17389 not mention the term "subwindow".
17390 (window--resize-subwindows-skip-p): Rename to
17391 window--resize-child-windows-skip-p.
17392 (window--resize-subwindows-normal): Rename to
17393 window--resize-child-windows-normal.
17394 (window--resize-subwindows): Rename to
17395 window--resize-child-windows.
17396 (window-or-subwindow-p): Rename to window--in-subtree-p.
17398 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17400 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17401 Ensure that mbox format messages end in two newlines (Bug#9974).
17403 2011-11-06 Chong Yidong <cyd@gnu.org>
17405 * window.el (window-combination-p): Function deleted; its
17406 side-effect is not used in any existing code.
17407 (window-combinations, window-combined-p): Call window-*-child
17410 2011-11-05 Chong Yidong <cyd@gnu.org>
17412 * window.el (window-valid-p): Rename from window-any-p.
17413 (window-size-ignore, window-state-get): Callers changed.
17414 (window-normalize-window): Rename from window-normalize-any-window.
17415 New arg LIVE-ONLY, replacing window-normalize-live-window.
17416 (window-normalize-live-window): Delete.
17417 (window-combination-p, window-combined-p, window-combinations)
17418 (walk-window-subtree, window-atom-root, window-min-size)
17419 (window-sizable, window-sizable-p, window-size-fixed-p)
17420 (window-min-delta, window-max-delta, window-resizable)
17421 (window-resizable-p, window-full-height-p, window-full-width-p)
17422 (window-current-scroll-bars, window-point-1, set-window-point-1)
17423 (window-at-side-p, window-in-direction, window-resize)
17424 (adjust-window-trailing-edge, maximize-window, minimize-window)
17425 (window-deletable-p, delete-window, delete-other-windows)
17426 (record-window-buffer, unrecord-window-buffer)
17427 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17428 (quit-window, split-window, window-state-put)
17429 (set-window-text-height, fit-window-to-buffer)
17430 (shrink-window-if-larger-than-buffer): Callers changed.
17432 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17434 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17435 rfc2047-decode-string.
17436 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17439 * window.el (window-body-height, window-body-width): Mention in
17440 the doc string that the return values are in frame's canonical
17443 2011-11-03 Alan Mackenzie <acm@muc.de>
17445 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17446 change in cc-engine.el.
17448 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17450 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17452 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17454 * window.el (quit-window): Call unrecord-window-buffer after
17455 showing another buffer in the window. (Bug#9937)
17456 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17458 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17460 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17461 Accept status with more than 9 shelves. (Bug#9935)
17462 Reported by Colin D Bennett <colin@gibibit.com>.
17464 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17466 * help.el (with-help-window): Don't reference
17467 temp-buffer-show-specifiers in doc-string.
17469 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17471 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17474 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17476 * whitespace.el: New version 13.2.2.
17477 (whitespace-newline-mode): Disable properly. Reported by Sarah
17480 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17482 * net/newst-treeview.el: Remove "Time-stamp".
17483 (newsticker--group-manage-orphan-feeds): Do not call
17484 newsticker--treeview-tree-update.
17485 (newsticker-treeview-update, newsticker-treeview):
17486 Call newsticker--treeview-tree-update if necessary.
17488 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17490 * window.el (window-iso-combination-p, window-iso-combined-p)
17491 (window-iso-combinations): Remove "iso-" infix.
17492 Suggested by Chong Yidong.
17493 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17494 (window-max-delta-1, window-resize, window--resize-siblings)
17495 (window--resize-this-window, adjust-window-trailing-edge)
17496 (split-window, balance-windows-1)
17497 (shrink-window-if-larger-than-buffer):
17498 * calendar/calendar.el (calendar-generate-window):
17499 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17501 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17503 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17504 in place (bug#9907).
17505 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17506 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17507 (eshell-structure-basic-command, eshell-rewrite-while-command)
17508 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17509 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17510 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17511 (eshell-do-pipelines-synchronously, eshell-eval-command):
17512 Use backquotes and prefer setq to set.
17513 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17514 (eshell-macrop): Use functionp.
17515 (eshell-do-eval): Handle multiple expressions in `while' body.
17517 2011-10-30 Chong Yidong <cyd@gnu.org>
17519 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17520 instead of set-mark (Bug#9810).
17522 2011-10-30 Chong Yidong <cyd@gnu.org>
17524 * window.el (split-window-below, split-window-right): Rename from
17525 split-window-above-each-other and split-window-side-by-side
17526 respectively. All callers changed.
17527 (split-window-sensibly, split-window-sensibly): Use them.
17528 (split-window-keep-point): Doc fix.
17530 * isearch.el: Add isearch-scroll property to split-window-below
17531 and split-window-right.
17533 * follow.el (follow-mode):
17534 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17535 * progmodes/ada-xref.el (ada-gdb-application):
17536 * emulation/vip.el (vip-buffer-in-two-windows):
17537 * image-dired.el (image-dired-dired-with-window-configuration):
17538 * dired-x.el (dired-do-find-marked-files):
17539 * dired.el (dired-pop-to-buffer):
17540 * bs.el (bs--show-with-configuration):
17541 * vc/emerge.el (emerge-setup-windows):
17542 * textmodes/two-column.el (2C-two-columns):
17543 * textmodes/reftex-toc.el (reftex-toc):
17544 * progmodes/gdb-mi.el (gdb-setup-windows):
17545 * progmodes/fortran.el (fortran-window-create):
17546 * net/newst-treeview.el (newsticker--treeview-window-init):
17547 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17548 * emulation/tpu-edt.el (tpu-gold-map):
17549 * emulation/crisp.el (crisp-mode-map):
17550 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17552 2011-10-29 Chong Yidong <cyd@gnu.org>
17554 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17556 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17558 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17559 forged Ispell output (Bug#7904).
17561 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17563 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17565 * doc-view.el: Avoid ugly errors about not finding nil.
17566 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17567 (doc-view-dvipdf-program, doc-view-unoconv-program)
17568 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17569 Avoid nil or absolute file name as default value.
17570 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17572 2011-10-28 Alan Mackenzie <acm@muc.de>
17574 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17576 2011-10-28 Alan Mackenzie <acm@muc.de>
17578 Amend the handling of c-beginning/end-of-defun in nested declaration
17581 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17582 cc-langs.el. Change it to a defcustom.
17584 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17587 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17588 Prevent "class foo : bar" being spuriously recognized as a label.
17590 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17591 Add parameter `inclusive' (to include enclosing braces in the region).
17592 (c-widen-to-enclosing-decl-scope): New function.
17593 (c-while-widening-to-decl-block): New macro.
17594 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17595 outward for defun boundaries, and correspondingly change symbol
17596 `respect-enclosure' to `go-outward'.
17597 (c-declaration-limits): Change algorithm to report only the "innermost"
17598 defun's boundaries.
17600 2011-10-28 Deniz Dogan <deniz@dogan.se>
17602 * net/rcirc.el (rcirc-mode): Use hard newlines.
17604 2011-10-28 Alan Mackenzie <acm@muc.de>
17606 Amend to indent and fontify macros "which include their own semicolon"
17607 correctly, using the "virtual semicolon" mechanism.
17609 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17611 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17612 Recode to scan one line at a time rather than having \n and \r
17613 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17614 (c-forward-label): Amend for virtual semicolons.
17615 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17617 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17618 of the new C macros.
17620 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17621 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17622 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17623 (c-opt-cpp-macro-define): Make into a full language variable.
17624 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17625 AWK Mode (including \n, \r) removed, no longer needed.
17627 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17628 Invoke c-make-macro-with-semi-re.
17630 * progmodes/cc-vars.el (c-macro-with-semi-re):
17631 (c-macro-names-with-semicolon): New variables.
17632 (c-make-macro-with-semi-re): New function.
17634 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * vc/log-edit.el: Fill empty field rather than adding new one.
17637 (log-edit-add-field): New function.
17638 (log-edit-insert-changelog): Use it.
17640 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17642 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17644 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17646 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17647 (gdb--check-interpreter): New function.
17650 2011-10-27 Glenn Morris <rgm@gnu.org>
17652 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17653 (least-positive-float, least-negative-float)
17654 (least-positive-normalized-float, least-negative-normalized-float)
17655 (float-epsilon, float-negative-epsilon):
17656 Remove unnecessary declarations.
17658 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17659 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17660 (least-positive-float, least-negative-float)
17661 (least-positive-normalized-float, least-negative-normalized-float)
17662 (float-epsilon, float-negative-epsilon): Add doc-strings,
17663 based on those in cl.texi.
17665 * files.el (set-visited-file-name): If the major-mode changed,
17666 reload the local variables. (Bug#9796)
17668 2011-10-27 Chong Yidong <cyd@gnu.org>
17670 * subr.el (change-major-mode-after-body-hook): New hook.
17671 (run-mode-hooks): Run it.
17673 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17674 Use change-major-mode-before-body-hook.
17676 * simple.el (fundamental-mode):
17677 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17678 change introducing fundamental-mode-hook.
17680 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17682 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17684 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17686 * ido.el (ido-file-name-all-completions-1): Do not require
17687 tramp.el explicitly. (Bug#7583)
17689 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17691 * progmodes/octave-mod.el:
17692 * progmodes/octave-inf.el: Update maintainer.
17694 2011-10-26 Chong Yidong <cyd@gnu.org>
17696 * subr.el (with-wrapper-hook): Rewrite doc.
17698 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17700 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17701 filenames "/method:foo:". (Bug#9793)
17703 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17705 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17708 2011-10-24 Glenn Morris <rgm@gnu.org>
17710 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17712 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17714 * notifications.el: Add the requirement of a running D-Bus session
17715 bus to the Commentary.
17717 2011-10-24 Juri Linkov <juri@jurta.org>
17719 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17720 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17723 2011-10-24 Juri Linkov <juri@jurta.org>
17725 * info.el (Info-following-node-name-re): Add newline to the list
17726 of allowed characters for leading space. (Bug#9824)
17728 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17730 * progmodes/octave-inf.el (inferior-octave-mode-map):
17731 Fix C-c C-h binding.
17732 * progmodes/octave-mod.el (octave-help): Remove.
17734 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17736 Sync with Tramp 2.2.3.
17738 * net/tramp-cache.el (top): Pacify byte-compiler using
17739 `init-file-user' and `site-run-file'.
17741 * net/trampver.el: Update release number.
17743 2011-10-23 Chong Yidong <cyd@gnu.org>
17745 * files.el (toggle-read-only): Remove obsolete comment about
17748 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17749 for toggle-read-only. Note that this hasn't called vc-next-action
17750 since 2008-05-02, though it wasn't documented at the time.
17752 * vc/ediff-init.el (ediff-toggle-read-only-function):
17753 Use toggle-read-only.
17755 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17757 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17760 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17761 correct faulty logical expression.
17762 (c-parse-state-state, c-record-parse-state-state):
17763 (c-replay-parse-state-state): New defvar/defuns.
17764 (c-debug-parse-state): Use new functions.
17766 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17768 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17769 last fix. Use window-in-direction correctly.
17771 2011-10-21 Chong Yidong <cyd@gnu.org>
17773 * progmodes/idlwave.el (idlwave-mode):
17774 * progmodes/vera-mode.el (vera-mode): No need to set
17775 require-final-newline; that's done in prog-mode.
17776 Suggested by Stefan Monnier.
17778 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17780 * mouse.el (mouse-drag-window-above)
17781 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17782 (mouse-drag-mode-line-1, mouse-drag-header-line)
17783 (mouse-drag-vertical-line-rightward-window): Remove.
17784 (mouse-drag-line): New function.
17785 (mouse-drag-mode-line, mouse-drag-header-line)
17786 (mouse-drag-vertical-line): Call mouse-drag-line.
17787 * window.el (window-at-side-p, windows-at-side): New functions.
17789 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17791 * tar-mode.el (tar-grind-file-mode):
17792 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17794 2011-10-21 Chong Yidong <cyd@gnu.org>
17796 * progmodes/idlwave.el (idlwave-mode):
17797 * progmodes/vera-mode.el (vera-mode):
17798 Use mode-require-final-newline.
17800 2011-10-20 Glenn Morris <rgm@gnu.org>
17802 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17804 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17806 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17808 2011-10-20 Chong Yidong <cyd@gnu.org>
17810 * emulation/cua-base.el (cua-mode):
17811 * mail/footnote.el (footnote-mode):
17812 * mail/mailabbrev.el (mail-abbrevs-mode):
17813 * net/xesam.el (xesam-minor-mode):
17814 * progmodes/bug-reference.el (bug-reference-mode):
17815 * progmodes/cap-words.el (capitalized-words-mode):
17816 * progmodes/compile.el (compilation-minor-mode)
17817 (compilation-shell-minor-mode):
17818 * progmodes/gud.el (gud-tooltip-mode):
17819 * progmodes/hideif.el (hide-ifdef-mode):
17820 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17821 * progmodes/subword.el (subword-mode):
17822 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17823 * progmodes/which-func.el (which-function-mode):
17824 * term/tvi970.el (tvi970-set-keypad-mode):
17825 * term/vt100.el (vt100-wide-mode):
17826 * textmodes/flyspell.el (flyspell-mode):
17827 * textmodes/ispell.el (ispell-minor-mode):
17828 * textmodes/nroff-mode.el (nroff-electric-mode):
17829 * textmodes/paragraphs.el (use-hard-newlines):
17830 * textmodes/refill.el (refill-mode):
17831 * textmodes/reftex.el (reftex-mode):
17832 * textmodes/rst.el (rst-minor-mode):
17833 * textmodes/sgml-mode.el (html-autoview-mode)
17834 (sgml-electric-tag-pair-mode):
17835 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17836 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17837 * emulation/crisp.el (crisp-mode):
17838 * emacs-lisp/eldoc.el (eldoc-mode):
17839 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17840 minor mode behavior.
17842 2011-10-19 Juri Linkov <juri@jurta.org>
17844 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17845 the list of hard-coded chars with escape-glyph face.
17847 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17849 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17851 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17853 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17856 2011-10-19 Glenn Morris <rgm@gnu.org>
17858 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17859 Ignore ignored files. (Bug#9726)
17861 2011-10-19 Chong Yidong <cyd@gnu.org>
17863 Doc fix for minor modes, stating that an omitted argument enables
17864 the mode unconditionally when called from Lisp.
17866 * abbrev.el (abbrev-mode):
17867 * allout.el (allout-mode):
17868 * autoinsert.el (auto-insert-mode):
17869 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17870 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17871 (global-auto-revert-mode):
17872 * battery.el (display-battery-mode):
17873 * composite.el (global-auto-composition-mode)
17874 (auto-composition-mode):
17875 * delsel.el (delete-selection-mode):
17876 * desktop.el (desktop-save-mode):
17877 * dired-x.el (dired-omit-mode):
17878 * dirtrack.el (dirtrack-mode):
17879 * doc-view.el (doc-view-minor-mode):
17880 * double.el (double-mode):
17881 * electric.el (electric-indent-mode, electric-pair-mode):
17882 * emacs-lock.el (emacs-lock-mode):
17883 * epa-hook.el (auto-encryption-mode):
17884 * follow.el (follow-mode):
17885 * font-core.el (font-lock-mode):
17886 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17887 * help.el (temp-buffer-resize-mode):
17888 * hilit-chg.el (highlight-changes-mode)
17889 (highlight-changes-visible-mode):
17890 * hi-lock.el (hi-lock-mode):
17891 * hl-line.el (hl-line-mode, global-hl-line-mode):
17892 * icomplete.el (icomplete-mode):
17893 * ido.el (ido-everywhere):
17894 * image-file.el (auto-image-file-mode):
17895 * image-mode.el (image-minor-mode):
17896 * iswitchb.el (iswitchb-mode):
17897 * jka-cmpr-hook.el (auto-compression-mode):
17898 * linum.el (linum-mode):
17899 * longlines.el (longlines-mode):
17900 * master.el (master-mode):
17901 * mb-depth.el (minibuffer-depth-indicate-mode):
17902 * menu-bar.el (menu-bar-mode):
17903 * minibuf-eldef.el (minibuffer-electric-default-mode):
17904 * mouse-sel.el (mouse-sel-mode):
17905 * msb.el (msb-mode):
17906 * mwheel.el (mouse-wheel-mode):
17907 * outline.el (outline-minor-mode):
17908 * paren.el (show-paren-mode):
17909 * recentf.el (recentf-mode):
17910 * reveal.el (reveal-mode, global-reveal-mode):
17911 * rfn-eshadow.el (file-name-shadow-mode):
17912 * ruler-mode.el (ruler-mode):
17913 * savehist.el (savehist-mode):
17914 * scroll-all.el (scroll-all-mode):
17915 * scroll-bar.el (scroll-bar-mode):
17916 * server.el (server-mode):
17917 * shell.el (shell-dirtrack-mode):
17918 * simple.el (auto-fill-mode, transient-mark-mode)
17919 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17920 (line-number-mode, column-number-mode, size-indication-mode)
17921 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17922 * strokes.el (strokes-mode):
17923 * time.el (display-time-mode):
17924 * t-mouse.el (gpm-mouse-mode):
17925 * tool-bar.el (tool-bar-mode):
17926 * tooltip.el (tooltip-mode):
17927 * type-break.el (type-break-mode-line-message-mode)
17928 (type-break-query-mode):
17929 * view.el (view-mode):
17930 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17931 (global-whitespace-mode, global-whitespace-newline-mode):
17932 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17934 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17935 Fix autogenerated docstring.
17937 2011-10-19 Juri Linkov <juri@jurta.org>
17939 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17940 by checking environment variables "DESKTOP_SESSION" and
17941 "XDG_CURRENT_DESKTOP". (Bug#9779)
17943 2011-10-19 Juri Linkov <juri@jurta.org>
17945 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17946 (browse-url-chromium-program, browse-url-chromium-arguments):
17948 (browse-url-default-browser): Check for `browse-url-chromium' and
17949 call `browse-url-chromium-program'.
17950 (browse-url-chromium): New command. (Bug#9779)
17952 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17954 * facemenu.el (list-colors-duplicates): On Windows, detect more
17955 duplicates by assuming that only colors matching "^System" are
17956 special "system colors". (Bug#9722)
17958 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17960 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17961 to distinguish the author from the committer.
17963 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17965 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17967 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17969 * international/mule.el (sgml-html-meta-auto-coding-function):
17970 Add support for detecting encoding in HTML5 specified only as
17971 <meta charset="UTF-8">. Implementation just makes http-equiv and
17972 content-type parts from HTML4 encoding string optional. (Bug#9716)
17974 2011-10-18 Glenn Morris <rgm@gnu.org>
17976 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17978 2011-10-18 Chong Yidong <cyd@gnu.org>
17980 * faces.el (cursor): Doc fix.
17982 2011-10-17 Chong Yidong <cyd@gnu.org>
17984 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17986 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17988 * dirtrack.el (dirtrack): Support shell buffers with path
17989 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17991 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17993 * json.el: Bump version to 1.3 and note change in History.
17994 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17996 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17998 * comint.el (comint-insert-input, comint-send-input)
17999 (comint-get-old-input-default, comint-backward-matching-input)
18000 (comint-next-prompt): Use nil instead of `input' for field property of
18001 past user input (bug#114).
18003 * minibuffer.el (completion--replace): Inherit surrounding properties
18005 (minibuffer-complete-and-exit): Use it.
18007 * comint.el (comint--table-subvert): Quote the all-completions output
18010 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18012 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18014 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18015 window on right of selected. (Bug#9350) Reword other window
18016 entries and separate them from frame entries.
18018 2011-10-15 Glenn Morris <rgm@gnu.org>
18020 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18023 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18025 * net/network-stream.el (network-stream-open-starttls):
18026 Improve detection of failure due to lack of TLS support.
18028 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18029 putting the input text in front and in bold.
18031 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18033 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18035 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18038 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18039 unread-command-events rather than pushing yet-another event.
18041 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18043 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18044 the explanation of the possible choices. Make the options passed
18045 to completing-read shorter.
18047 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18049 * textmodes/flyspell.el (flyspell-large-region): Make sure
18050 extended character mode is used if defined (Bug#1339).
18052 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18054 * simple.el (what-cursor-position): Fix the display of the
18055 character info for LRE, LRO, RLE, and RLO characters by appending
18058 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18060 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18061 even in case of error; add debug spec; simplify data flow.
18062 (with-timeout-handler): Remove.
18064 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18066 Fix Bug#6019, Bug#9315.
18068 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18069 complete `buffer-file-name', the local file name part could look
18070 remotely (for example on VMS).
18072 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18073 `tramp-run-real-handler'.
18074 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18075 already quoted by '"'.
18077 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18078 Let `file-name-handler-alist' be nil, the local file name part
18079 could look remotely (for example on VMS).
18081 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18083 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18085 (flyspell-post-command-hook): ...to here.
18087 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18089 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18091 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18092 using completion. Protect against "slow" callers.
18093 Remove the "message hack".
18095 2011-10-11 Juri Linkov <juri@jurta.org>
18097 * isearch.el (isearch-lazy-highlight-word): New variable.
18098 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18101 2011-10-11 Glenn Morris <rgm@gnu.org>
18103 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18104 like f90-previous-statement does.
18106 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18108 * eshell/eshell.el (eshell-command): History should be saved
18109 only in interactive use, to avoid error.
18111 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18113 * minibuffer.el (completion-file-name-table): Fix last change,
18114 i.e. ignore normal errors but not the other ones.
18116 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18118 * window.el (special-display-buffer-names)
18119 (special-display-regexps): Remove some remnants of earlier
18120 changes from doc-strings.
18121 (quit-windows-on): New function.
18123 * vc/vc.el (vc-revert, vc-rollback):
18124 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18125 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18126 (Bug#6183) (Bug#7074) (Bug#7447)
18128 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18130 * window.el (frame-auto-hide-function): Add version tag.
18133 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18135 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18138 2011-10-09 Leo Liu <sdl.web@gmail.com>
18140 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18143 2011-10-08 Glenn Morris <rgm@gnu.org>
18145 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18146 before the first code statement zero indent. (Bug#9690)
18148 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18150 * simple.el (count-words-region): Always count in the region.
18151 Report the number of lines and characters too.
18152 (count-words): New command, which counts in the buffer if the
18153 region is inactive, as count-words-region used to.
18154 (count-words--message): New function. Handle plurals.
18155 (count-lines-region): Make it an alias for count-words-region.
18157 * bindings.el (esc-map): Replace count-lines-region with
18158 count-words-region.
18160 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18162 * window.el (window--delete): Delete dedicated frame
18163 unconditionally when argument KILL is non-nil. (Bug#9699)
18164 (switch-to-buffer): Fix doc-string typo.
18166 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18168 * eshell/eshell.el (eshell-command): Avoid using hooks.
18170 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18172 * bindings.el ([M-left],[M-right]): Bind to left-word and
18173 right-word respectively.
18175 2011-10-07 Glenn Morris <rgm@gnu.org>
18177 * cus-start.el (debug-on-quit): Fix custom type.
18179 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18181 * subr.el (define-key-after): Clarify that the function is not
18182 useful for non-menu keymaps.
18184 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18186 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18188 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18189 in current minibuffer (Fix bug with recursive minibuffers).
18191 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18193 * progmodes/gdb-mi.el (gdb): Doc fix.
18195 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18197 * window.el (frame-auto-hide-function): New option replacing
18198 frame-auto-delete. Suggested by Stefan Monnier.
18199 (window--delete): Call frame-auto-hide-function instead of
18200 investigating frame-auto-delete.
18201 (window-point-1, set-window-point-1): New functions.
18202 (window-in-direction, record-window-buffer, window-state-get-1)
18203 (display-buffer-record-window): Use window-point-1 instead of
18205 (set-window-buffer-start-and-point): Use set-window-point-1.
18207 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18209 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18211 2011-10-05 Glenn Morris <rgm@gnu.org>
18213 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18214 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18216 2011-10-05 Leo Liu <sdl.web@gmail.com>
18218 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18219 works with buffer object.
18221 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18223 * mpc.el (mpc-tool-bar-map): Add labels.
18225 2011-10-04 Glenn Morris <rgm@gnu.org>
18227 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18229 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18231 * window.el (window--delete): New function.
18232 (frame-auto-delete): Resuscitate option.
18233 (bury-buffer, replace-buffer-in-windows)
18234 (quit-window): Rewrite using window--delete.
18235 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18236 Pass display-buffer-mark-dedicated to window--display-buffer-2
18239 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18241 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18242 returns a list (bug#9554). Add remote file name completion.
18243 * comint.el (comint--table-subvert): Curry and get quote&unquote
18244 functions as arguments.
18245 (comint--complete-file-name-data): Adjust call accordingly.
18246 * pcomplete.el (pcomplete--table-subvert): Remove.
18247 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18249 * minibuffer.el (completion-table-case-fold): Use currying.
18250 (completion--styles-type, completion--cycling-threshold-type):
18252 (completion-styles, completion-category-overrides)
18253 (completion-cycle-threshold): Use them.
18254 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18255 completion-table-case-fold.
18257 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18259 * minibuffer.el (completion-category-overrides): Fix type of styles
18260 and add more user friendly tags (bug#9660).
18262 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18264 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18265 (mule-input-method-string): New widget.
18266 (default-input-method, language-info-custom-alist): Use it.
18268 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * pcomplete.el: Require comint.
18271 (pcomplete--common-suffix): Remove.
18272 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18273 (pcomplete--table-subvert): Sync with comint--table-subvert.
18274 (pcomplete--entries): Use comint-completion-file-name-table.
18275 * comint.el (comint-unquote-filename): Simplify.
18276 (comint-completion-file-name-table): New function (bug#9616).
18277 (comint--complete-file-name-data): Use it.
18279 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18280 (pcmpl-gnu-tar-buffer): Remove.
18281 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18282 around. Make sure pcomplete-suffix-list is only changed temporarily.
18283 Don't look inside the tar's file if it's too large.
18285 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18287 * cus-edit.el (custom-mode-map):
18288 * epa.el (epa-key-list-mode-map):
18289 * man.el (Man-mode-map):
18290 * startup.el (splash-screen-keymap):
18291 * simple.el (special-mode-map): Use scroll-up-command and
18292 scroll-down-command.
18294 * progmodes/idlw-help.el (idlwave-help-mode-map):
18295 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18296 * net/newst-plainview.el (newsticker-mode-map):
18297 * emulation/ws-mode.el (wordstar-mode-map):
18298 * emulation/vi.el (vi-com-map):
18299 * calc/calc-graph.el (calc-graph-show-dumb):
18300 * term/sun.el (terminal-init-sun):
18301 * term/ns-win.el (global-map):
18302 * progmodes/grep.el (grep-mode-map):
18303 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18304 * mail/rmail.el (rmail-mode-map):
18305 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18307 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18308 custom-safe-themes as special.
18310 2011-10-01 Julien Danjou <julien@danjou.info>
18312 * notifications.el (notifications-notify): Fix docstring.
18314 2011-10-01 Per Starbäck <per@starback.se>
18316 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18318 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18320 * startup.el (command-line-1): Fix last fix by inserting
18321 initial-scratch-message into *scratch* before displaying it.
18322 (Bug#9605) and (Bug#9636)
18324 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18326 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18327 window is hscrolled, move by logical lines. (Bug#9607)
18328 (line-move-visual): Update the doc string to the above effect.
18330 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18332 * window.el (display-buffer-record-window): When WINDOW is the
18333 selected window use `point' instead of `window-point'. (Bug#9626)
18335 * startup.el (command-line-1): Use insert-before-markers when
18336 inserting initial-scratch-message. (Bug#9605)
18338 * help.el (help-window): Remove variable.
18340 2011-09-29 Glenn Morris <rgm@gnu.org>
18342 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18344 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18346 * descr-text.el (describe-char-categories): Accept category
18347 descriptions more than one line long.
18349 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18351 * simple.el (delete-trailing-whitespace): Fix last change.
18353 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18354 Don't confuse "y => 3" as the beginning of a `y' operation.
18356 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18357 object has more than 4 slots (bug#9613).
18359 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18361 * subr.el (with-output-to-temp-buffer):
18362 * net/quickurl.el (quickurl, quickurl-browse-url):
18363 Fix typos in docstrings.
18365 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18367 * minibuffer.el (completion-styles)
18368 (completion-category-overrides): Cross reference each other in doc
18371 2011-09-27 Glenn Morris <rgm@gnu.org>
18373 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18374 to split-string. (Bug#9606)
18376 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18378 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18381 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18383 * emacs-lisp/package.el (list-packages): Fix echo area message.
18385 2011-09-27 Leo Liu <sdl.web@gmail.com>
18387 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18389 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18391 * net/dbus.el (dbus-unregister-object): Don't release services for
18392 registered signals. (Bug#9581)
18394 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18396 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18397 function that picks between cfengine 2 and 3 support
18398 automatically. Update docs accordingly.
18400 2011-09-22 Kenichi Handa <handa@m17n.org>
18402 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18404 (indian-itrans-v5-table-for-tamil): New variable.
18405 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18407 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18409 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18410 that's true if the current command involved collapsing of text.
18411 It's reset to false at the beginning of the next command.
18412 (allout-post-command-business): Move the cursor to the beginning
18413 of entry if the cursor is hidden and collapsing activity just
18416 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18418 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18419 tracking (Bug#9541).
18421 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18423 * net/newst-reader.el (newsticker-html-renderer)
18424 (newsticker-show-news): Automatically load html rendering package
18425 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18426 because w3m-fill-column is let-bound" and the error "Symbol's value
18427 as variable is void: w3m-fill-column".
18429 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18431 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18432 Release services only if they are defined. (Bug#9581)
18434 2011-09-23 Richard Stallman <rms@gnu.org>
18436 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18437 distinguish start of paragraph from start of its text.
18439 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18441 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18442 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18443 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18445 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18447 * international/mule-diag.el (mule-diag): Insert a newline after
18448 each fontset description.
18450 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18452 * simple.el (delete-trailing-whitespace):
18453 Document last change; simplify.
18455 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18457 * simple.el (delete-trailing-whitespace): Also delete
18458 extra newlines at the end of the buffer.
18460 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18461 (picture-newline): Use forward-line so as to ignore fields.
18463 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18465 * subr.el (with-wrapper-hook): Fix edebug spec.
18467 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18472 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18474 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18475 Fix nasty bug using wrong cached values.
18477 2011-09-23 Alan Mackenzie <acm@muc.de>
18479 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18481 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18483 * window.el (pop-to-buffer): Ensure right window is selected if we
18484 chose another frame.
18486 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18488 * simple.el (what-cursor-position): Use get-char-property-change
18489 and next-single-char-property-change, to be able to show display
18490 properties that come from overlays as well as text properties.
18492 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18494 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18496 * cmuscheme.el (run-scheme, switch-to-scheme):
18497 * cus-edit.el (customize-group, custom-buffer-create)
18498 (customize-browse):
18500 * shell.el (shell):
18501 * mail/sendmail.el (mail):
18502 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18504 2011-09-22 Richard Stallman <rms@gnu.org>
18506 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18507 move back only to line beg, don't move back over blank lines.
18509 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18511 * files.el (copy-directory): Set directory attributes only in case
18512 they could be retrieved from the source directory. (Bug#9565)
18514 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18516 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18517 (hs-find-block-beginning, hs-hide-level-recursive):
18518 Ignore strings as well as comments. (Bug#9502)
18520 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18522 * progmodes/sql.el (sql-comint-postgres):
18523 Convert port number to a string. (Bug#9566)
18525 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18527 * window.el (quit-window): Undedicate window when switching to
18528 previous buffer. Reported by Thierry Volpiatto
18529 <thierry.volpiatto@gmail.com>.
18530 (special-display-popup-frame): When popping up a new frame reset
18531 its previous buffers to nil. Simplify code.
18533 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18535 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18536 and process filter, as done also in `shell-command'.
18538 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18540 * window.el (set-window-buffer-start-and-point):
18541 Call set-window-start with NOFORCE argument t.
18542 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18543 (quit-window): Reword doc-string. Handle new format of
18544 quit-restore parameter. Don't delete window if it has a
18545 previous buffer we can show instead of the present one.
18546 (display-buffer-record-window): Rewrite using a new format for
18547 the quit-restore window parameter
18548 (special-display-popup-frame, display-buffer-same-window)
18549 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18550 (display-buffer-pop-up-window, display-buffer-use-some-window):
18551 Adapt symbol passed to display-buffer-record-window.
18552 * help.el (help-window-setup): Handle new format of quit-restore
18555 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18557 * faces.el (face-list): Fix docstring (bug#9564).
18559 * window.el (display-buffer--action-function-custom-type):
18560 Don't include internal functions in the Custom interface.
18562 2011-09-20 Juri Linkov <juri@jurta.org>
18564 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18565 (Info-forward-node, Info-backward-node, Info-next-preorder)
18566 (Info-last-preorder): Use it. (Bug#9528)
18568 2011-09-20 Juri Linkov <juri@jurta.org>
18570 * info.el (Info-last-preorder): Visit last menu item only when
18571 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18573 2011-09-20 Julien Danjou <julien@danjou.info>
18575 * password-cache.el (password-cache-remove): Remove entries even if the
18576 value is nil, so that password with a nil value (negative caching) is
18577 possible to invalidate.
18579 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18581 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18582 all whitespace around breakpoint. (Bug#9553)
18583 (f90-find-breakpoint): Only break at whitespace inside a comment.
18585 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18587 * minibuffer.el (completion-file-name-table): Keep track of errors.
18588 (completion-table-with-predicate): Handle the case where pred1 is nil.
18589 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18591 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18593 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18594 (debugger-return-value): Signal an error if the debugging context does
18595 not await any return value.
18597 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18598 * image-mode.el (image-toggle-display-text)
18599 (image-toggle-display-image): Stay away from evil `intangible'.
18601 2011-09-19 Leo Liu <sdl.web@gmail.com>
18603 * replace.el (occur-revert-arguments): Make it permanent-local.
18604 (occur-mode): Don't call font-lock-defontify.
18606 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18608 * net/ldap.el (ldap-search-internal): Don't push empty search
18611 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18613 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18615 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18617 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18618 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18620 2011-09-18 Juri Linkov <juri@jurta.org>
18622 * buff-menu.el (Buffer-menu-mode-map):
18623 * dired.el (dired-mode-map):
18624 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18625 (lisp-interaction-mode-map):
18626 * emacs-lisp/package.el (package-menu-mode-map):
18627 * epa.el (epa-key-list-mode-map):
18628 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18629 (menu-bar-options-menu):
18630 * outline.el (outline-mode-menu-bar-map):
18631 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18632 * vc/vc-dir.el (vc-dir-menu-map):
18633 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18634 Capitalize non-function content words in menu item strings.
18636 * dired.el (dired-mode-map): Add menu item for
18637 `image-dired-dired-toggle-marked-thumbs'.
18639 2011-09-18 Juri Linkov <juri@jurta.org>
18641 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18642 to `isearch-case-fold-search' and restore its original value
18643 after the `isearch-mode' call.
18645 2011-09-18 Juri Linkov <juri@jurta.org>
18647 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18648 because `zgrep' returns 1 for successful matches (bug#9226).
18650 2011-09-18 Juri Linkov <juri@jurta.org>
18652 * info.el (Info-extract-menu-node-name): Check the second match
18653 for empty string (second test-case of bug#9528).
18654 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18655 intermediate nodes to the history (first test-case of bug#9528).
18657 2011-09-18 Juri Linkov <juri@jurta.org>
18659 * info.el (Info-mode-syntax-table): New variable.
18660 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18662 2011-09-18 Juri Linkov <juri@jurta.org>
18664 * info.el (Info-file-supports-index-cookies):
18665 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18666 outputs one more line for long file names (bug#4142).
18668 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18670 * newcomment.el (comment-normalize-vars): If prompting for
18671 comment-start, set comment-start-skip too (Bug#8424).
18673 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18675 * icomplete.el: Fix previous fix of Bug#5849.
18676 (icomplete-mode): Don't set completion-show-inline-help.
18677 (icomplete-minibuffer-setup): Set completion-show-inline-help
18678 locally during icompletion.
18680 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18682 * woman.el (woman2-process-escapes): Don't delete unrecognized
18683 escapes (Bug#7843).
18685 * files.el (inhibit-first-line-modes-regexps): Add image files.
18686 (hack-local-variables-prop-line): Return nil for malformed
18687 prop-lines (Bug#9044).
18689 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18691 * net/tramp.el (top): Don't require 'shell.
18692 (tramp-methods): Fix docstring.
18693 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18694 Return complete remote file name. Handle "smb" case.
18695 Use `tramp-tmpdir', if defined for the respective method.
18696 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18698 * net/tramp-compat.el (top): Require 'shell.
18700 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18701 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18702 `tramp-current-host'.
18703 (tramp-get-remote-tmpdir): Remove.
18705 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18706 `tramp-tmpdir' entries.
18707 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18708 (tramp-smb-handle-file-attributes): Ignore errors.
18709 (tramp-smb-wait-for-output): Check also for process end.
18711 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18713 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18714 when sending QUIT (bug#9312).
18716 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18718 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18719 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18720 occur-mode-display-occurrence.
18721 (occur-edit-mode): Add usage message.
18722 (occur-cease-edit): New command.
18723 (occur-after-change-function): Use text properties to find the
18724 position of the prefix text.
18725 (occur-engine): Set stickiness of prefix text properties.
18727 2011-09-17 Glenn Morris <rgm@gnu.org>
18729 * progmodes/etags.el (complete-tag):
18730 Fix call to completion-in-region. (Bug#9526)
18732 2011-09-17 Juri Linkov <juri@jurta.org>
18734 * textmodes/ispell.el (ispell-word): Add to the error message
18735 the word, ispell program name and current dictionary (bug#9121).
18736 (ispell-tex-arg-end): Capitalize "error" in the error message.
18738 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18740 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18743 2011-09-17 Juri Linkov <juri@jurta.org>
18745 * window.el (window-safe-min-height, window-safe-min-width):
18746 Fix typos (followup to bug#9522).
18748 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18750 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18752 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18754 * simple.el (line-move): If goal-column is set, move by logical
18755 lines, not by display lines. (Bug#971)
18756 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18757 to reflect the above change.
18759 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * image.el (imagemagick-register-types): Use regexp-opt.
18763 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18765 * window.el (display-buffer-base-action): Rename from
18766 display-buffer-default-action. Make default value empty.
18767 (display-buffer-overriding-action): Convert to defvar.
18768 (display-buffer-fallback-action): New var.
18770 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18772 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18774 (package--add-to-archive-contents): If there is a duplicate entry
18775 with an older version, remove it.
18776 (package-menu-mark-delete, package-menu-mark-install)
18777 (package-menu-mark-unmark): Make unused args optional.
18778 (package-menu-mark-obsolete-for-deletion):
18779 Use package-menu-get-status instead of a regexp search.
18780 (package-menu-get-status): Use tabulated-list-entry.
18781 (package-menu-mark-upgrades): New command.
18782 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18783 (package-menu-execute): Do installation before deletion.
18784 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18785 instead of checking major-mode.
18786 (package-menu--find-upgrades): New function.
18788 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18790 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18791 passwords in the log buffer.
18792 (smtpmail-process-filter): Update the process marker so that the
18793 "broken by peer" status message is inserted in the right place.
18795 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18797 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18798 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18799 bibtex-completion-at-point-function.
18800 (bibtex-completion-at-point-function): Use them.
18802 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18804 * mpc.el (mpc-constraints-tag-lookup): New function.
18805 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18806 also to browser "album|playlist".
18808 2011-09-14 Juri Linkov <juri@jurta.org>
18810 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18811 (isearch-edit-string): Use length of `isearch-string' when
18812 `isearch-fail-pos' returns nil.
18813 (isearch-message): Remove duplicate code and call
18814 `isearch-fail-pos' with arg `t'.
18816 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18818 * replace.el (occur-mode-goto-occurrence): Don't force using other
18821 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18823 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18825 * window.el (display-buffer-window): Remove.
18826 (display-buffer-record-window): Use help-setup window parameter
18827 instead of variable display-buffer-window.
18828 (display-buffer-function, special-display-buffer-names)
18829 (special-display-function): Mention help-setup parameter instead
18830 of display-buffer-window in doc-string.
18831 * help.el (help-window-setup): New argument help-window.
18832 Use help-window-setup parameter instead of display-buffer-window.
18833 Reword some messages.
18834 (with-help-window): Pass window used for displaying the buffer
18835 to help-window-setup. Don't set display-buffer-window.
18837 2011-09-13 Glenn Morris <rgm@gnu.org>
18839 * emacs-lisp/debug.el (debugger-make-xrefs):
18840 Preserve point. (Bug#9462)
18842 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18844 * window.el (window-deletable-p): Use next-frame.
18846 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18848 * window.el (window-auto-delete): Remove.
18849 (window-deletable-p): Remove argument FORCE. Don't deal with
18850 dedication and previous buffers.
18851 (switch-to-prev-buffer): Don't delete window.
18852 (delete-windows-on): Delete a window's frame if and only if the
18853 window is dedicated.
18854 (replace-buffer-in-windows): Delete buffer's window or frame if
18855 and only if window is dedicated.
18856 (quit-window): Handle quit-restore as before last change.
18857 (bury-buffer): Delete window only if window-deletable-p returns t.
18859 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18861 * window.el (window-deletable-p): Never delete the last frame on a
18864 2011-09-13 Glenn Morris <rgm@gnu.org>
18866 * help.el (describe-key-briefly): Copy previous standard-output change.
18868 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18870 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18872 2011-09-13 Glenn Morris <rgm@gnu.org>
18874 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18875 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18877 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18879 * dired-aux.el (dired-mark-read-string): Don't return default
18880 value on empty input (Bug#9361).
18881 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18882 Omit initial minibuffer contents.
18883 (dired-do-chmod): Signal an error on empty input.
18884 (dired-mark-read-string): Don't return default on empty input.
18886 * files.el (file-modes-symbolic-to-number): Doc fix.
18888 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18890 * international/mule-cmds.el (ucs-completions): Remove.
18891 (read-char-by-name): Use complete-with-action instead; add metadata.
18893 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18895 * window.el (display-buffer--action-function-custom-type)
18896 (display-buffer--action-custom-type): New vars.
18897 (display-buffer-alist, display-buffer-default-action)
18898 (display-buffer-overriding-action): Add defcustom types.
18900 * frame.el (delete-other-frames): Doc fix (Bug#276).
18902 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18904 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18906 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18908 Change modes that used same-window-* vars to use switch-to-buffer.
18910 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18911 Use switch-to-buffer.
18913 * cus-edit.el (customize-group, custom-buffer-create)
18914 (customize-browse, custom-buffer-create-other-window):
18915 Use switch-to-buffer or switch-to-buffer-other-window.
18917 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18918 (Info-prev, Info-up, Info-speedbar-goto-node)
18919 (info-display-manual): Use switch-to-buffer.
18920 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18922 * mail/sendmail.el (mail): Use switch-to-buffer.
18923 (mail-recover): Use switch-to-buffer-other-window.
18925 * cmuscheme.el (run-scheme, switch-to-scheme):
18927 * shell.el (shell):
18928 * net/rlogin.el (rlogin):
18929 * net/telnet.el (telnet, rsh):
18930 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18932 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18934 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18936 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18938 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18939 so don't mention it (bug#9301).
18940 (dired-sort-toggle-or-edit): Clarify string further.
18942 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18943 match `x', `w32' and `ns', like the manual says (bug#9029).
18945 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18946 (process-kill-buffer-query-function): Mention the buffer name in
18949 * image-mode.el (image-next-line): The line parameter is mandatory
18952 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18953 which can be useful (bug#9301).
18955 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18957 * subr.el (match-string): Mention that the current buffer should
18958 be the same as the search was done in (bug#9282).
18960 * facemenu.el: Disable the remove-* commands if the mark isn't
18963 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18965 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18967 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18969 * replace.el (occur-mode-goto-occurrence)
18970 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18971 and display-buffer.
18973 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18976 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18977 special-display and same-window variables.
18978 (mail-other-window): Use switch-to-buffer-other-window.
18979 (mail-other-frame): USe switch-to-buffer-other-frame.
18981 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18982 Use display-buffer-other-frame.
18983 (gdb-display-gdb-buffer): Use pop-to-buffer.
18985 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18987 * progmodes/python.el: Don't set same-window-buffer-names.
18989 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18991 * window.el (display-buffer-alist): Add *Python*.
18993 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18995 * window.el (display-buffer-alist): Add entry for buffers
18996 previously handled same-window-*.
18997 (display-buffer-alist, display-buffer-default-action)
18998 (display-buffer-overriding-action): Mark as risky.
18999 (display-buffer-alist): Document action function changes.
19000 (display-buffer--same-window-action)
19001 (display-buffer--other-frame-action): New variables.
19002 (switch-to-buffer, display-buffer-other-frame): Use them.
19003 (display-buffer): Rename reuse-frame entry to reusable-frames.
19004 (display-buffer-reuse-selected-window): Function deleted.
19005 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19006 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19007 (display-buffer-special): New function.
19008 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19009 display-buffer-reuse-or-pop-window. Split off special-display
19010 part into display-buffer-special.
19011 (display-buffer-use-some-window): Don't perform any special
19012 pop-up-frames handling.
19013 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19014 (display-buffer--maybe-same-window): Rename from
19015 display-buffer-maybe-same-window.
19017 * info.el: Don't set same-window-regexps.
19018 (info-setup): New function.
19019 (info-other-window, info): Call it.
19021 * cus-edit.el: Don't set same-window-regexps.
19022 (customize-group): New argument.
19023 (customize-group-other-window): Use it.
19024 (customize-face, customize-face-other-window): Likewise.
19025 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19029 * progmodes/gud.el: Don't set same-window-regexps.
19034 * mail/sendmail.el:
19035 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19037 2011-09-10 Juri Linkov <juri@jurta.org>
19039 * isearch.el (isearch-edit-string): Remove obsolete mention of
19040 `C-w' (`isearch-yank-word-or-char') from docstring.
19041 (isearch-query-replace): Fix typo in docstring (bug#9466).
19043 2011-09-10 Juri Linkov <juri@jurta.org>
19045 * paren.el (show-paren-function): Don't show escaped parens.
19046 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19048 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19050 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19051 (mm-default-file-encoding): Remove autoload forms, they are
19052 replaced with autoload cookies in mml.el and mm-encode.el.
19053 (mail-add-attachment): New command.
19054 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19055 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19057 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19059 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19061 * simple.el (count-words-region): Use buffer if there's no region
19064 2011-09-09 Juri Linkov <juri@jurta.org>
19066 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19067 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19068 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19070 2011-09-09 Alan Mackenzie <acm@muc.de>
19072 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19073 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19075 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19077 Fix for Savannah bug#9392.
19078 * simple.el (mail-encode-mml): New defvar.
19080 * mail/rmail.el (mail-encode-mml): Add a defvar.
19081 (rmail-enable-mime-composing): Default to t.
19082 (rmail-forward): Use MIME method of forwarding only if both
19083 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19084 Set mail-encode-mml non-nil if the MIME method was used.
19086 * mail/sendmail.el (mml-to-mime): Add autoload form.
19087 (mail-encode-mml): Add a defvar.
19088 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19090 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19091 message through mml-to-mime, and reset mail-encode-mml to nil.
19093 2011-09-09 Glenn Morris <rgm@gnu.org>
19095 * woman.el (woman-if-body): When processing an .el block,
19096 do not delete the next .el block as well. (Bug#9447)
19097 (woman-special-characters): Add oq, cq, and hy characters.
19099 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19101 * window.el (window-deletable-p): Make sure window is live before
19102 invoking window-prev-buffers.
19104 2011-09-08 Leo Liu <sdl.web@gmail.com>
19106 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19108 2011-09-08 Juri Linkov <juri@jurta.org>
19110 * progmodes/compile.el (compilation-environment): Make it
19111 a defcustom (bug#8340).
19113 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19115 * window.el (frame-auto-delete): Rename to window-auto-delete.
19116 Make it control auto-deletion of windows and/or frames.
19117 (window-deletable-p): New argument FORCE. Rewrite conditions
19118 for deleting window/frame. (Bug#9419)
19119 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19120 Rewrite handling of case when window/frame can be deleted.
19121 (delete-windows-on): Call window-deletable-p with new FORCE
19122 argument t. (Bug#9456)
19124 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19126 * help-mode.el (help-mode): Restore autoload.
19128 2011-09-07 Juri Linkov <juri@jurta.org>
19130 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19131 `compilation-environment'. Set buffer-local
19132 `compilation-environment' to `thisenv' later after (funcall mode).
19135 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19136 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19137 instead of replacing its value. (Bug#8340)
19139 2011-09-07 Juri Linkov <juri@jurta.org>
19141 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19142 based on text properties put by `grep-filter' instead of matching
19144 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19145 to the value of `grep-error-screen-columns' (bug#9438).
19147 2011-09-07 Juri Linkov <juri@jurta.org>
19149 * simple.el (next-error-highlight, next-error-highlight-no-select):
19150 Doc fix (bug#9432).
19152 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19154 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19155 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19157 2011-09-07 Leo Liu <sdl.web@gmail.com>
19159 * net/rcirc.el (rcirc-mode): Conditionally initialize
19162 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19164 * emacs-lisp/find-func.el (find-function-C-source): Only set
19165 find-function-C-source-directory after checking that we found a source
19166 file there (bug#9440).
19168 2011-09-06 Alan Mackenzie <acm@muc.de>
19170 * isearch.el (isearch-other-meta-char): Wherever a key list is
19171 unread, "unread" the prefix arg, too. This fixes bug #8901.
19173 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19175 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19177 2011-09-05 Juri Linkov <juri@jurta.org>
19179 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19181 2011-09-05 Juri Linkov <juri@jurta.org>
19183 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19184 keeping point where processing of grep matches begins, and
19185 continue to delete remaining escape sequences from the same point.
19186 (grep-filter): Make leading zero optional in "0?1;31m" because
19187 git-grep emits "\033[1;31m" escape sequences unlike expected
19188 "\033[01;31m" as GNU Grep does (bug#9408).
19189 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19191 2011-09-05 Juri Linkov <juri@jurta.org>
19193 * subr.el (y-or-n-p): Capitalize "yes".
19195 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19197 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19198 `tramp-cache-unload-hook' where appropriate.
19199 (tramp-methods): Rename `tramp-remote-sh' to
19200 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19201 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19203 * net/tramp-sh.el (top): Don't require 'shell.
19204 (tramp-methods): Add `tramp-remote-shell' and
19205 `tramp-remote-shell-args' entries.
19206 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19207 (tramp-sh-handle-shell-command): Remove.
19208 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19209 Use `tramp-remote-shell'.
19211 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19213 * mail/sendmail.el (sendmail-query-once-function): Delete.
19214 (sendmail-query-once): Save directly to send-mail-function.
19215 Update message-send-mail-function too.
19217 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19219 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19221 * progmodes/python.el (python-mode-map): Use correct function to
19222 start python interpreter from menu-bar (as reported by Geert
19224 (inferior-python-mode-map): Fix typo.
19225 (python-shell-map): Remove.
19227 2011-09-03 Deniz Dogan <deniz@dogan.se>
19229 * net/rcirc.el (rcirc-print): Simplify code for
19230 rcirc-scroll-show-maximum-output. There is no need to walk
19231 through all windows to find the right one.
19233 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19235 * help.el (help-return-method): Doc fix.
19237 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19239 * window.el (window-deletable-p): Don't return a non-nil value
19240 when there's a buffer that was shown in the window before.
19242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19243 Set window's previous buffers to nil.
19245 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19247 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19248 newline before and after the tag line, so it doesn't interfere
19249 with determining the paragraph direction of bidirectional text.
19251 2011-09-03 Leo Liu <sdl.web@gmail.com>
19253 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19255 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19257 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19258 (pop-to-buffer): Change interactive spec. Pass second argument
19259 directly to display-buffer.
19260 (display-buffer): Fix interactive spec. Use functionp to
19261 distinguish between a function and a list of functions.
19263 * abbrev.el (edit-abbrevs):
19264 * arc-mode.el (archive-extract):
19265 * autoinsert.el (auto-insert):
19266 * bookmark.el (bookmark-bmenu-list):
19267 * files.el (find-file):
19268 * view.el (view-buffer):
19269 * progmodes/compile.el (compilation-goto-locus):
19270 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19272 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19274 * window.el (display-buffer-alist): Doc fix.
19275 (display-buffer): Add docstring. Don't treat
19276 display-buffer-default specially.
19277 (display-buffer-reuse-selected-window)
19278 (display-buffer-same-window, display-buffer-maybe-same-window)
19279 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19280 (display-buffer-pop-up-window)
19281 (display-buffer-reuse-or-pop-window)
19282 (display-buffer-use-some-window): New functions.
19283 (display-buffer-default-action): Use them.
19284 (display-buffer-default): Delete.
19285 (pop-to-buffer-1): Fix choice of actions.
19287 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19289 * minibuffer.el (completion--insert-strings): Don't get confused by
19290 completion entries that end with an LF char.
19292 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19294 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19296 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19298 * window.el (display-buffer): Restore interactive spec.
19299 (display-buffer-same-window, display-buffer-other-window):
19301 (pop-to-buffer-1): New function. Use the above.
19302 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19303 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19305 * view.el (view-buffer-other-window, view-buffer-other-frame):
19306 Just use pop-to-buffer.
19308 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19310 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19312 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19314 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19316 2011-08-31 Richard Stallman <rms@gnu.org>
19318 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19319 of the separation of rmail-view-buffer from rmail-buffer.
19320 If you say no to "replace original", the decrypt is in the
19321 view buffer. If you say yes, the decrypt goes into the
19324 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19326 * window.el (display-buffer-window): Rewrite doc-string.
19327 (display-buffer-record-window): New function.
19328 (display-buffer-macro-specifiers)
19329 (display-buffer-even-window-sizes, display-buffer-set-height)
19330 (display-buffer-set-width, display-buffer-in-window)
19331 (display-buffer-reuse-window, display-buffer-split-specifiers)
19332 (display-buffer-side-specifiers, display-buffer-split-window-1)
19333 (display-buffer-split-window, display-buffer-split-atom-window)
19334 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19335 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19336 (display-buffer-other-window-means-other-frame)
19337 (display-buffer-normalize-special)
19338 (display-buffer-normalize-default)
19339 (display-buffer-normalize-argument)
19340 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19341 (display-buffer-normalize-specifiers, display-buffer-frame)
19342 (display-buffer-same-window, display-buffer-same-frame)
19343 (display-buffer-other-window)
19344 (display-buffer-same-frame-other-window)
19345 (display-buffer-other-frame, pop-to-buffer-same-window)
19346 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19347 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19348 (switch-to-buffer-same-frame)
19349 (switch-to-buffer-other-window-same-frame)
19350 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19351 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19352 (display-buffer-alist-set): Remove.
19353 (display-buffer-function, special-display-buffer-names)
19354 (special-display-regexps, special-display-function):
19355 In doc-string refer to display-buffer-window and quit-restore
19357 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19358 (special-display-frame-alist, special-display-popup-frame)
19359 (same-window-buffer-names, same-window-regexps, same-window-p)
19360 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19361 (split-window-preferred-function, split-height-threshold)
19362 (split-width-threshold, window-splittable-p)
19363 (split-window-sensibly, window--try-to-split-window)
19364 (window--frame-usable-p, even-window-heights)
19365 (window--even-window-heights, window--display-buffer-1)
19366 (window--display-buffer-2, display-buffer-other-frame):
19367 Restore old Emacs 23 code, order and doc-strings where applicable.
19368 (display-buffer-default, display-buffer-assq-regexp): New functions.
19369 (display-buffer-alist): Rewrite doc-string.
19370 (display-buffer-default-action)
19371 (display-buffer-overriding-action): New variables.
19372 (display-buffer, switch-to-buffer): Rewrite.
19373 (pop-to-buffer): Restore Emacs 23 behavior but use
19374 window-normalize-buffer-to-display.
19375 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19376 Restore Emacs 23 behavior but use
19377 window-normalize-buffer-to-switch-to.
19378 (pop-to-buffer-same-window): Rewrite.
19379 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19380 Rewrite using Emacs 23 options.
19382 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19384 * net/tramp.el (tramp-root-regexp): Remove.
19385 (tramp-completion-file-name-regexp-unified)
19386 (tramp-completion-file-name-regexp-separate)
19387 (tramp-completion-file-name-regexp-url): Don't use leading volume
19388 letter on w32 systems. (Bug#5303, Bug#9311)
19389 (tramp-drop-volume-letter): Simplify definition.
19390 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19392 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19394 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19397 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19399 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19401 2011-08-29 Juri Linkov <juri@jurta.org>
19403 * isearch.el (isearch-done): Don't display message "Mark saved"
19404 when arg `edit' is non-nil to prevent its flicker in the echo area.
19406 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19408 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19409 obsolete packages for deletion.
19411 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19413 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19414 (help-mode): Derive help-mode from special-mode. Don't invoke
19415 view-mode from help-mode.
19416 (help-xref-override-view-map): Remove.
19417 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19418 view-mode is not used anymore.
19420 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19422 * server.el (server-port): Doc fix.
19424 * cus-theme.el (custom-theme-choose-mode): Inherit from
19425 special-mode (Bug#9124).
19426 (custom-theme-choose-mode-map): Add special-mode to parent.
19428 2011-08-28 Alan Mackenzie <acm@muc.de>
19430 * progmodes/cc-fonts.el
19431 (c-make-font-lock-BO-decl-search-function): New function.
19432 (c-basic-matchers-after - "Fontify the clauses after various
19433 keywords"): Extract the three keyword lists for the 3 erroneous
19434 constructs from the list of four, and use the new function above
19435 in place of an old one.
19437 2011-08-28 Deniz Dogan <deniz@dogan.se>
19439 * net/rcirc.el (rcirc-insert-prev-input)
19440 (rcirc-insert-next-input): Remove unused argument.
19442 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19444 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19446 2011-08-27 Alan Mackenzie <acm@muc.de>
19448 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19449 handle function pointer parameters properly.
19451 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19453 * window.el (display-buffer-reuse-window): Fix case where
19454 selected window was reused with non-nil OTHER-WINDOW argument.
19457 2011-08-27 Deniz Dogan <deniz@dogan.se>
19459 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19460 oftc's NickServ messages.
19462 2011-08-27 Glenn Morris <rgm@gnu.org>
19464 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19466 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19468 * emacs-lisp/package.el (package-install): Call package-initialize
19469 if called interactively.
19471 2011-08-26 Leo Liu <sdl.web@gmail.com>
19473 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19475 2011-08-25 Juri Linkov <juri@jurta.org>
19477 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19478 `search-whitespace-regexp' (bug#9364).
19480 2011-08-25 Juri Linkov <juri@jurta.org>
19482 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19483 `regexp-search-ring' to their global values to protect from
19484 updating by `read-from-minibuffer' (bug#9185).
19486 2011-08-25 Juri Linkov <juri@jurta.org>
19488 * textmodes/ispell.el (ispell-command-loop): Add newline
19489 at the end of the "Use option `i'..." line.
19491 2011-08-25 Juri Linkov <juri@jurta.org>
19493 * battery.el (display-battery-mode): If `battery-status-function'
19494 or `battery-mode-line-format' is nil, display the message and set
19495 `display-battery-mode' to nil (bug#9363).
19497 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19499 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19500 bidi-string-mark-left-to-right; they are unnecessary now.
19502 2011-08-25 Deniz Dogan <deniz@dogan.se>
19504 * net/quickurl.el: Documentation typo fixes.
19506 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19508 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19510 2011-08-25 Glenn Morris <rgm@gnu.org>
19512 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19514 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19515 (smtpmail-via-smtp): Handle nil response from smtp.
19517 2011-08-24 Juri Linkov <juri@jurta.org>
19519 * proced.el (proced-marked): Inherit from `error' instead of
19520 `font-lock-warning-face'.
19522 * ibuffer.el (ibuffer-marked-face): Change default face from
19523 `font-lock-warning-face' to `warning'.
19524 (ibuffer-deletion-face): Change default face from
19525 `font-lock-type-face' to `error'.
19527 * battery.el (battery-update): Use the face `error' instead of
19528 `font-lock-warning-face' (bug#6117).
19530 2011-08-24 Juri Linkov <juri@jurta.org>
19532 * faces.el (success): Change face color from "Green3" to
19533 "ForestGreen" on light background (bug#9353).
19535 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19537 * window.el (quit-window): Rename from quit-restore-window.
19538 Use same arglist as old quit-window.
19539 (frame-auto-delete): Doc fix.
19541 * view.el (view-mode-exit): Use quit-window.
19543 2011-08-24 Juri Linkov <juri@jurta.org>
19545 * isearch.el (isearch-ring-adjust1): Start visiting previous
19546 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19547 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19548 for empty search string (when the last search string is reused
19549 automatically) to adjust the isearch ring to the last element and
19550 prepare the correct index for further M-p commands (bug#9185).
19552 2011-08-24 Kenichi Handa <handa@m17n.org>
19554 * international/ucs-normalize.el: If decomposition property of
19555 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19557 (nfd, nfkd): Likewise.
19559 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19561 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19562 from process filters aren't reliably transmitted to the surrounding
19563 accept-process-output.
19564 (mpc-proc-check): New function.
19565 (mpc-proc-sync): Use it (bug#8293)
19567 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19569 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19570 Add compatibility functions (bug#9313).
19572 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19574 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19576 * international/uni-bidi.el: Regenerate.
19578 2011-08-23 Kenichi Handa <handa@m17n.org>
19580 * international/charprop.el:
19581 * international/uni-bidi.el:
19582 * international/uni-category.el:
19583 * international/uni-combining.el:
19584 * international/uni-comment.el:
19585 * international/uni-decimal.el:
19586 * international/uni-decomposition.el:
19587 * international/uni-digit.el:
19588 * international/uni-lowercase.el:
19589 * international/uni-mirrored.el:
19590 * international/uni-name.el:
19591 * international/uni-numeric.el:
19592 * international/uni-old-name.el:
19593 * international/uni-titlecase.el:
19594 * international/uni-uppercase.el: Regenerate.
19596 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19598 * help.el (help-window-setup): Fix message displayed when other
19599 window is reused. (Bug#9341)
19601 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19603 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19604 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19606 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19608 * shell.el (shell-parse-pcomplete-arguments): New function.
19609 (shell-completion-vars): Use it instead (bug#9160).
19611 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19613 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19614 strings and comments (bug#9333).
19616 * emacs-lisp/debug.el (debug-arglist): New function.
19617 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19618 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19620 2011-08-22 Juri Linkov <juri@jurta.org>
19622 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19623 Revert regexp that highlights output switches to its old
19624 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19626 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19627 to check for empty output (bug#9226).
19629 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19631 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19632 symbol-constituent as the default, as that stops font-lock from
19633 working properly (Bug#8843).
19635 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19637 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19638 `coding-system-for-*' around the process open call to avoid
19639 auth-source side effects.
19640 (smtpmail-try-auth-methods): Expand the secret password.
19641 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19644 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19646 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19648 * emacs-lisp/find-func.el (find-function-noselect): New arg
19651 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19652 signal an error for built-in functions (Bug#6664).
19654 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19656 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19657 (smtpmail-try-auth-methods): Use it.
19659 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19661 * font-lock.el (font-lock-fontify-region)
19662 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19663 (font-lock-default-unfontify-buffer)
19664 (font-lock-default-fontify-region)
19665 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19667 * progmodes/compile.el (compilation-error-properties):
19668 Fix confusion between file struct and message struct (Bug#9319).
19669 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19672 * net/browse-url.el (browse-url-firefox): Don't call
19673 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19675 2011-08-20 Glenn Morris <rgm@gnu.org>
19677 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19679 * tutorial.el (tutorial--default-keys): Update some default bindings.
19681 * files.el (hack-local-variables): Fully ignore case for "mode:".
19683 2011-08-20 Alan Mackenzie <acm@muc.de>
19685 Resolve invalid use of a regexp in regexp-opt.
19687 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19688 detection for a java annotation.
19690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19691 detection for a java annotation.
19693 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19695 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19697 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19699 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19702 2011-08-20 Alan Mackenzie <acm@muc.de>
19704 Fontify CPP expressions correctly when starting in the middle of
19705 such a construct. Mainly for when jit-lock etc. starts a chunk
19708 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19710 (c-make-font-lock-search-form): New function, extracted from
19711 c-make-font-lock-search-function.
19712 (c-make-font-lock-search-function): Use the above function.
19713 (c-make-font-lock-context-search-function): New function.
19714 (c-cpp-matchers): Enhance the preprocessor expression case with
19716 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19717 which takes an expression.
19719 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19721 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19723 * window.el (display-buffer-reuse-window)
19724 (display-buffer-pop-up-window): Don't reuse or split a side
19727 2011-08-19 Glenn Morris <rgm@gnu.org>
19729 * files.el (hack-local-variables-prop-line, hack-local-variables):
19730 Downcase "Mode:". (Bug#9331)
19732 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19734 * international/characters.el: Add L and R categories.
19736 * subr.el (bidi-string-mark-left-to-right): Rename from
19737 string-mark-left-to-right. Use category search.
19739 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19741 2011-08-18 Juri Linkov <juri@jurta.org>
19743 * faces.el (error, warning, success): New faces with definitions
19744 copied from old default values of `font-lock-warning-face',
19745 `compilation-warning', `compilation-info' (bug#6117).
19747 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19749 * progmodes/compile.el (compilation-error): Inherit from `error'.
19750 (compilation-warning): Inherit from `warning'.
19751 (compilation-info): Inherit from `success'.
19753 * dired.el (dired-marked): Inherit from `warning'.
19754 (dired-flagged): Inherit from `error'.
19756 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19758 * mail/smtpmail.el (auth-source): Require to avoid problems with
19759 binding variables (bug#9298). Also clean up some unused
19762 * net/network-stream.el (network-stream-open-starttls):
19763 Support using starttls.el without using gnutls-cli.
19765 2011-08-17 Juri Linkov <juri@jurta.org>
19767 * progmodes/grep.el (rgrep): Handle the case when
19768 `grep-find-command' is a cons cell (bug#9278).
19770 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19772 * window.el (display-buffer-pop-up-frame): Run frame creation
19773 function with BUFFER current (as special-display-popup-frame
19774 does). Reported by Drew Adams.
19776 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19778 * epa-mail.el: Simplify GnuPG group expansion using
19780 (epa-mail-group-alist, epa-mail-group-modtime)
19781 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19782 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19783 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19786 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19788 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19790 2011-08-16 Alan Mackenzie <acm@muc.de>
19792 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19793 Correct, to avoid the inside of macros.
19795 2011-08-16 Richard Stallman <rms@gnu.org>
19797 * epa-mail.el: Handle GnuPG group definitions.
19798 (epa-mail-group-alist, epa-mail-group-modtime)
19799 (epa-mail-gnupg-conf-file): New variables.
19800 (epa-mail-parse-groups, epa-mail-sync-groups)
19801 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19802 (epa-mail-expand-recipients): New functions.
19803 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19805 * mail/rmail.el (rmail-epa-decrypt): New command.
19807 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19808 Don't bind buffer-read-only, just inhibit-read-only.
19809 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19810 (epa-decrypt-armor-in-region): Make error message clearer.
19812 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19814 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19815 and "a2b" to "ab" for `prefix'.
19817 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19819 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19821 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19822 Fourquet (Bug#8804).
19824 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19826 * startup.el (argi): Declare as global variable (bug#9275).
19828 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19830 * subr.el (string-mark-left-to-right): Search the entire string
19831 for RTL script, not just the terminating character. Doc fix.
19833 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19835 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19837 (js--regexp-literal, js-syntax-propertize-function): Remove.
19838 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19839 (js-mode-map): Don't rebind electric keys.
19840 (js-insert-and-indent): Remove.
19841 (js-mode): Setup electric-layout and electric-indent instead.
19843 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19845 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19847 * epa.el (epa-progress-callback-function): Fix the logic of
19848 displaying progress.
19849 * epa-file.el (epa-file-insert-file-contents): Make progress
19850 display more user-friendly.
19851 (epa-file-write-region): Ditto.
19853 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19855 * subr.el (string-mark-left-to-right): New function.
19857 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19858 Use string-mark-left-to-right.
19859 (list-buffers-noselect): Caller changed.
19861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19862 Use string-mark-left-to-right.
19863 (tabulated-list-print): Recenter after moving point.
19865 2011-08-10 Juri Linkov <juri@jurta.org>
19867 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19868 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19869 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19871 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19873 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19876 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19878 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19879 character. (Bug#6594)
19881 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19883 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19884 (image-dired--with-db-file): New macro.
19885 (image-dired-write-tags, image-dired-remove-tag)
19886 (image-dired-create-gallery-lists, image-dired-write-comments)
19887 (image-dired-get-comment, image-dired-mark-tagged-files)
19888 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19889 (image-dired-gallery-generate): Use insert-file-contents.
19891 * time.el (display-time-world-list, display-time-world-display):
19892 * time-stamp.el (time-stamp-string):
19893 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19894 set-time-zone-rule (Bug#7337).
19896 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19898 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19899 (epg-error-to-string, epg-errors-to-string): New function.
19900 (epg-wait-for-completion): Reverse errors list.
19901 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19902 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19903 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19904 (epg-sign-keys, epg-generate-key-from-file)
19905 (epg-generate-key-from-string): Format errors by using
19906 epg-errors-to-string (bug#9255).
19907 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19909 2011-08-07 Juri Linkov <juri@jurta.org>
19911 * faces.el (list-faces-display): Remove extra angle bracket
19912 from `help-mode-map'.
19914 * info.el (Info-history-toc-nodes): Doc fix.
19916 * longlines.el (longlines-mode): Doc fix.
19918 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19920 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19921 of statements and in a few more cases (bug#9183).
19923 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19925 (cl-transform-lambda): Use them (bug#9239).
19927 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19929 * window.el (display-buffer-same-window)
19930 (display-buffer-same-frame, display-buffer-other-window)
19931 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19932 (pop-to-buffer-other-window)
19933 (pop-to-buffer-same-frame-other-window)
19934 (pop-to-buffer-other-frame): Make them defuns.
19935 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19937 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19939 * subr.el (make-composed-keymap): Move from C. Change calling
19940 convention, and improve docstring to bring attention to a subtle point.
19941 * minibuffer.el (completing-read-default): Adjust accordingly.
19943 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19945 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19946 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19948 * net/trampver.el: Update release number.
19950 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19952 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19955 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19957 * mail/sendmail.el (sendmail-query-once): Restore the current
19958 buffer after querying (bug#9074).
19960 * dired.el (dired-flagged): Use different faces for marked and
19961 flagged files (bug#6117).
19963 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19966 * ido.el (ido-mode): Switch off the message if called
19969 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19970 before 587, since it appears that that's more likely to work for
19973 * cus-edit.el (custom-file): When running under emacs -q, always
19974 refuse to save the customizations, even if the .emacs file doesn't
19977 * info.el: Remove the `Info-beginning-of-buffer' function
19980 * net/network-stream.el (network-stream-open-starttls):
19981 Use `starttls-available-p' to see whether starttls.el can be used.
19983 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19985 * window.el (display-buffer-in-window): Don't set dedicated status
19986 of window here (Bug#9215).
19987 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19988 (display-buffer-pop-up-side-window)
19989 (display-buffer-in-side-window): Set dedicated status of window here.
19991 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19993 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19994 before binding generated-autoload-file.
19996 2011-08-01 Deniz Dogan <deniz@dogan.se>
19998 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20000 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20002 Sync with Tramp 2.2.2.
20004 * net/trampver.el: Update release number.
20006 2011-07-30 Juri Linkov <juri@jurta.org>
20008 * dired-aux.el (dired-touch-initial): Remove function.
20009 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20010 current time, and `default' to the last modification time of the
20011 current marked file (bug#6887).
20013 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20015 * simple.el (goto-line): Use string-to-number to provide a
20016 numeric argument to read-number (bug#9163).
20018 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20020 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20021 connection process, it could be nil.
20023 2011-07-27 Leo Liu <sdl.web@gmail.com>
20025 Simplify url handling in rcirc-mode.
20027 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20028 (rcirc-browse-url-at-mouse): Remove.
20029 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20031 2011-07-26 Alan Mackenzie <acm@muc.de>
20033 Fontify bitfield declarations properly.
20035 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20036 (c-symbol-chars): Now exported as a lang variable.
20037 (c-not-primitive-type-keywords): New lang variable.
20039 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20040 QT keyword "more" to prevent "more slots: ...." being spuriously
20041 parsed as a bitfield declaration.
20043 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20044 Refactor and enhance to handle bitfield declarations.
20045 (c-punctuation-in): New function.
20046 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20047 declarations properly.
20049 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20051 * calendar/icalendar.el (icalendar--all-events): Take care of
20052 multiple vcalendars in a single file.
20053 (icalendar--convert-float-to-ical): Checkdoc fixes.
20055 2011-07-25 Deniz Dogan <deniz@dogan.se>
20057 * image.el (insert-image): Clarifying docstring.
20059 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20061 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20062 `tramp-send-command-and-check' if there is no error.
20063 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20065 2011-07-22 Alan Mackenzie <acm@muc.de>
20067 Prevent cc-langs.elc being loaded at run time.
20069 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20072 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20073 "(require 'cc-langs)". Quote a form so it will evaluate at
20074 (cc-mode's) compilation time.
20076 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20078 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20079 loading. (Bug#9114)
20081 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20083 * window.el (display-buffer-pop-up-window)
20084 (display-buffer-pop-up-side-window)
20085 (display-buffer-in-side-window): Call display-buffer-set-height
20086 and display-buffer-set-width after setting the new window's
20087 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20089 2011-07-20 Sam Steingold <sds@gnu.org>
20091 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20092 (etags-tags-included-tables): Call `convert-standard-filename' on
20093 the file names contained in TAGS so that windows Emacs can handle
20094 TAGS files created by cygwin ctags.
20096 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20098 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20099 which apparently didn't work.
20101 2011-07-19 Roland Winkler <winkler@gnu.org>
20103 * proced.el (proced-send-signal): For *Marked Processes* buffer
20104 put point at beginning of buffer.
20106 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20108 * proced.el (proced-format): Make header lines align with the text
20111 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20113 * view.el (view-buffer): Allow running in `special' modes if we're
20114 visiting a file (bug#8615).
20116 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20118 * window.el (display-buffer-alist-of-strings-p)
20119 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20121 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20124 2011-07-18 Alan Mackenzie <acm@muc.de>
20126 Fontify declarators properly when, e.g., a jit-lock chunk begins
20127 inside a declaration.
20129 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20133 (c-complex-decl-matchers): Insert reference to
20134 c-font-lock-enclosing-decls.
20136 * progmodes/cc-engine.el (c-backward-single-comment):
20137 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20138 to nil around calls to (forward-comment -1).
20140 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20142 * image.el (put-image): Doc typo fix.
20144 * progmodes/etags.el (tags-search): Doc typo fix.
20146 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20147 password if we get errors 550 to 554.
20149 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20151 * net/gnutls.el (gnutls-log-level): Remove.
20153 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20154 indentation character (bug#6380).
20156 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20158 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20159 to clarify what the problem is (bug#4291).
20161 * simple.el (current-kill): Clarify what
20162 `interprogram-paste-function' does (bug#7500).
20163 (auto-fill-mode): Document `auto-fill-function' in relation to
20164 `auto-fill-mode' (bug#2470).
20166 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20168 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20169 method if slot is read-only (bug#9035).
20171 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20173 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20174 * window.el (pop-to-buffer): Select window used even if it was
20175 selected before, see discussion of (Bug#8615), (Bug#6954).
20176 Pass argument NORECORD on to select-frame-set-input-focus.
20178 2011-07-15 Glenn Morris <rgm@gnu.org>
20180 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20183 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20185 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20186 (gnutls-negotiate): Use it.
20188 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20190 * net/gnutls.el (gnutls-negotiate):
20191 Upcase `gnutls-algorithm-priority'.
20193 2011-07-15 Glenn Morris <rgm@gnu.org>
20195 * jka-compr.el (jka-compr-verbose): Move from here...
20196 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20197 Add missing :version tag.
20198 * info.el: No need to require jka-compr when compiling.
20200 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20202 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20203 (gnutls-negotiate): Use it.
20205 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20207 * info.el (Info-beginning-of-buffer): New command.
20208 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20209 announcing `b' as the key (bug#8325).
20210 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20212 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20214 * international/mule-cmds.el
20215 (describe-specified-language-support): Make the error message
20216 clearer (bug#8905).
20218 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20220 * isearch.el (isearch-barrier): Add a doc string, since it's
20221 mentioned in a function doc string (bug#8678).
20223 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20225 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20226 buffer argument (Bug#9083) and self-identifying label argument.
20228 2011-07-15 Glenn Morris <rgm@gnu.org>
20230 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20232 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20234 * man.el (Man-fontify-manpage): Fix message when formatting the
20235 man page (bug#7929).
20237 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20239 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20240 argument LRM; if non-nil, append an invisible LRM character to the
20242 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20243 last argument non-nil, when formatting buffer names.
20244 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20245 paragraph direction.
20247 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20249 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20250 the man page name (bug#7929).
20252 * image.el (put-image): Mention the `put-image' overlay property
20255 * scroll-bar.el (set-scroll-bar-mode): Mention that
20256 `scroll-bar-mode' lists the values (bug#7772).
20258 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20259 command (bug#7729).
20261 * rect.el (apply-on-rectangle): Return the point after the last
20263 (string-rectangle): Go to the point after the last operation
20266 * printing.el (pr-toggle-region): Clarify the documentation
20267 slightly (bug#7493).
20269 * time.el (display-time-update):
20270 Allow `display-time-mail-function' to return nil (bug#7158).
20271 Fix suggested by Detlev Zundel.
20273 * vc/diff.el (diff): Clarify the order the file names are read
20276 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20277 the doc string (bug#7015).
20279 * font-lock.el (font-lock-maximum-decoration): Mention what
20280 numeric levels mean (bug#6935).
20282 * startup.el (initial-buffer-choice): Don't mention the `none'
20283 selection, which is against policy.
20285 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20287 * window.el (display-buffer-normalize-special):
20288 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20290 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20292 * subr.el (version<, version<=, version=): Mention "-CVS" and
20293 "-12345" alpha version numbers.
20295 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20297 * bindings.el: Add advertised binding for set-mark-command
20300 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20302 * bindings.el (mode-line-other-buffer):
20303 * bookmark.el (bookmark-bmenu-2-window):
20304 * bs.el (bs-cycle-next, bs-cycle-previous):
20305 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20308 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20311 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20313 * follow.el (follow-debug-message, follow-redisplay):
20314 * jka-cmpr-hook.el (with-auto-compression-mode):
20315 Fix typos in docstrings.
20317 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20319 * subr.el (with-silent-modifications): Clarify somewhat what the
20320 macro inhibits (bug#6525).
20322 * simple.el (eval-expression): Note what it does if called
20323 interactively (bug#6495).
20325 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20327 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20328 Use pop-to-buffer buffer-or-name if it is nil.
20330 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20331 Remove switch-to-buffer.
20333 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20335 * files.el (make-directory): Clarify that an error will be raised
20336 if there's an error (bug#6397).
20338 * startup.el (initial-buffer-choice): Add `none' as a choice
20341 * subr.el (add-hook): Clarify section about buffer-local hooks
20344 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20346 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20348 * tabify.el (untabify): Preserve the current column so that point
20349 doesn't move (bug#6032).
20351 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20354 Rewrite to avoid awkward possessive "s" (bug#5986).
20356 2011-07-13 Glenn Morris <rgm@gnu.org>
20358 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20359 (dired-insert-directory): Give a message the first time
20360 if ls is found not to support --dired.
20362 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20364 * simple.el (toggle-truncate-lines): Clarify what is toggled
20365 (bug#5580). Text by Drew Adams.
20367 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20369 * simple.el (blink-matching-open): Make the error message from the
20370 last change less verbose.
20372 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20374 * font-lock.el (font-lock-comment-face): Use the high contrast
20375 "yellow" color for font-lock-comment-face on low color terminals
20376 using a dark background color (bug#4221).
20378 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380 * dired.el (dired-insert-set-properties): Make the doc string
20381 reflect what it does now (bug#5325).
20383 * simple.el (blink-matching-open): Say that we were unable to find
20384 the match within the limit, if we're limited (bug#5122).
20386 * international/mule-cmds.el (prefer-coding-system): Add an
20387 example (bug#4869).
20389 * progmodes/etags.el (tags-search): Document `file-list-form'
20392 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20394 * net/browse-url.el (browse-url-default-browser)
20395 (browse-url-browser-function): Make the default browser choice a
20396 bit more logical (bug#4300). Also clean up the doc string.
20398 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20400 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20401 binary endings (bug#4440).
20403 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20405 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20406 which can be pretty annoying (bug#8971).
20408 * jka-compr.el (jka-compr-verbose): New variable, and use
20409 throughout (bug#8971).
20411 * info.el (Info-find-file): Fall back on the installation
20412 directory if we can't find the info node anywhere else.
20414 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20416 * vc/vc.el (vc-revert-file):
20417 Don't set file time-stamp in the past. (Bug#5181)
20419 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20421 * files.el (after-find-file): Give a better error message when
20422 trying to find a symlink that points to a file that doesn't exist
20425 * progmodes/cc-vars.el: Remove (probably) misleading comment
20428 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20430 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20432 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20434 * mouse-sel.el: Hack restoring functionality, while keeping
20435 compatibility with 2010-07-03 changes to mouse selection.
20436 (mouse-sel-primary-overlay): New var.
20437 (mouse-sel-selection-alist): Use it.
20438 (mouse-sel-mode): Doc fix; remove points that are default features
20441 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20444 Fix previous fix (bug#2490).
20446 2011-07-12 Roland Winkler <winkler@gnu.org>
20448 * textmodes/bibtex.el (bibtex-initialize):
20449 Use pop-to-buffer-same-window.
20450 (bibtex-search-entries): Fix interactive call.
20452 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20454 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20455 Fontise bytecomp Error lines more correctly (bug#2490).
20456 Fix suggested by Johan Bockgård.
20458 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20460 * dired-x.el (dired-guess-default): Use `delete-dups'.
20462 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20464 * dired.el (dired-mark-prompt):
20465 * dired-aux.el (dired-read-shell-command): Doc fix.
20467 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20469 * mail/sendmail.el (sendmail-query-once):
20470 Use `customize-save-variable' unconditionally, now that it works under
20473 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20475 * cus-edit.el (custom-file): Take an optional no-error variable.
20476 (customize-save-variable): Set the variable, and give a warning if
20477 running under "emacs -q".
20479 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20481 * loadhist.el (unload-feature-special-hooks):
20482 Add `auto-coding-functions', `fill-nobreak-predicate' and
20483 `find-directory-functions' (bug#5327).
20485 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20487 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20489 * cus-edit.el (custom-guess-name-alist): -alist variables should
20490 use the `alist' type (bug#3120). Suggested by Drew Adams.
20492 * printing.el: Add documentation to all the `pr-toggle-' commands.
20494 2011-07-11 Leo Liu <sdl.web@gmail.com>
20496 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20497 backends where it makes sense (bug#2623).
20499 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20501 * dired-x.el (dired-guess-default): Remove duplicate shell command
20502 entries (bug#2028).
20503 (dired-guess-default): Fix grammar in doc string (bug#2028).
20504 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20506 * subr.el (remove-duplicates): New conveniency function.
20508 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20510 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20513 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20515 * window.el (display-buffer-normalize-default): Don't invert
20516 meaning of even-window-heights. Reported by Eli Zaretskii
20519 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20521 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20523 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20525 * window.el (display-buffer): Fix arguments to
20526 display-buffer-reuse-window in last change.
20528 * faces.el (link): Use a less saturated blue on light backgrounds.
20530 * startup.el (fancy-startup-text, fancy-about-text)
20531 (fancy-startup-tail): Use font-lock faces, for background safety.
20533 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20535 * emulation/viper-cmd.el (viper-change-state-to-vi):
20536 Limit triggering of abbrev expansion (Bug#9038).
20538 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20540 * window.el (display-buffer-default-specifiers): Remove.
20541 (display-buffer-macro-specifiers): Remove default specifiers.
20542 (display-buffer-alist): Default to nil.
20543 (display-buffer-reuse-window): New optional argument other-window.
20544 (display-buffer-pop-up-window): Allow splitting internal
20545 windows. Check whether a live window was created.
20546 (display-buffer-other-window-means-other-frame)
20547 (display-buffer-normalize-arguments): Rename to
20548 display-buffer-normalize-argument and rewrite. Set the
20549 other-window specifier.
20550 (display-buffer-normalize-special): New function.
20551 (display-buffer-normalize-options): Rename to
20552 display-buffer-normalize-default and rewrite.
20553 (display-buffer-normalize-options-inhibit): Remove.
20554 (display-buffer-normalize-specifiers): Rewrite.
20555 (display-buffer): Process other-window specifier and call
20556 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20558 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20559 (display-buffer-alist-set): Don't handle 'unset default values.
20560 (display-buffer-in-window, display-buffer-alist-set):
20561 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20562 <tassilo@member.fsf.org>.
20564 2011-07-09 Leo Liu <sdl.web@gmail.com>
20566 * register.el (insert-register): Restore accidental change on
20567 2011-06-26. (Bug#9028)
20569 2011-07-09 Glenn Morris <rgm@gnu.org>
20571 * subr.el (remq): Handle the empty list. (Bug#9024)
20573 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20575 * mail/sendmail.el (send-mail-function): No longer delay custom
20577 * custom.el (custom-initialize-delay): Doc fix.
20579 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20581 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20583 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20585 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20586 human-friendly prompt.
20588 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20590 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20591 provided by a particular plugin.
20593 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20595 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20596 save customizations (with "emacs -Q"), just set the variable
20597 instead of erroring out.
20599 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20601 2011-07-08 Juri Linkov <juri@jurta.org>
20603 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20604 (archive-zip-update-case): Use 7z if found by `executable-find'.
20605 The order of searching the available programs is the same as in
20606 `archive-zip-extract' (bug#8968).
20608 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20610 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20611 (menu-bar-options-menu): Tweak descriptions.
20613 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20615 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20616 menu items into verb phrases (bug#1421). Also refill to fit under
20619 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20621 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20622 (Info-read-node-name): Doc fix (Bug#1084).
20624 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20625 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20626 (end-of-sexp, beginning-of-sexp)
20627 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20628 (forward-symbol, forward-same-syntax, word-at-point)
20629 (sentence-at-point): Doc fix (Bug#1144).
20631 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20633 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20634 should cover it (bug#1281).
20636 * cus-edit.el (custom-show): Mark as obsolete.
20638 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20639 negotiation fails, then possibly try again with a non-encrypted
20640 connection (bug#9017).
20642 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20645 2011-07-07 Richard Stallman <rms@gnu.org>
20647 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20648 property, and handle its changed format.
20649 Look for the correct line number.
20650 Use file's line contents (but not past first =) to find
20651 correct line in message.
20653 2011-07-07 Kenichi Handa <handa@m17n.org>
20655 * international/characters.el (build-unicode-category-table):
20657 (unicode-category-table): Set it by unicode-property-table-internal.
20659 * international/mule-cmds.el (char-code-property-alist): Move to
20661 (get-char-code-property): Call unicode-property-table-internal to
20662 load a file. Call get-unicode-property-internal where necessary.
20663 (put-char-code-property): Call unicode-property-table-internal to
20664 load a file. Call put-unicode-property-internal where necessary.
20665 put-unicode-property-internal where necessary.
20666 (char-code-property-description):
20667 Call unicode-property-table-internal to load a file.
20669 * international/charprop.el:
20670 * international/uni-bidi.el:
20671 * international/uni-category.el:
20672 * international/uni-combining.el:
20673 * international/uni-comment.el:
20674 * international/uni-decimal.el:
20675 * international/uni-decomposition.el:
20676 * international/uni-digit.el:
20677 * international/uni-lowercase.el:
20678 * international/uni-mirrored.el:
20679 * international/uni-name.el:
20680 * international/uni-numeric.el:
20681 * international/uni-old-name.el:
20682 * international/uni-titlecase.el:
20683 * international/uni-uppercase.el: Regenerate.
20685 * loadup.el: Load international/charprop.el before
20686 international/characters.
20688 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20690 * window.el (next-buffer, previous-buffer): Signal an error if
20691 called from a minibuffer window.
20693 * bindings.el: Revert 2011-07-04 change.
20695 2011-07-06 Richard Stallman <rms@gnu.org>
20697 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20698 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20699 Treat markers like ints.
20700 (rmail-mime-entity): Doc fix.
20702 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20704 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20705 defcustom again for backwards compatibility.
20707 * simple.el (shell-command-on-region): Fill.
20709 * dired-aux.el (dired-kill-line): Add a doc string.
20711 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20712 to "\\sw\\|\\s_" (bug#358).
20714 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20715 (dired-unmark-backward): Ditto.
20716 (dired-flag-backup-files): Ditto.
20718 * dired-x.el (dired-mark-sexp): Ditto.
20720 2011-07-06 Richard Stallman <rms@gnu.org>
20722 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20723 (rmail-mime-entity): New arg TRUNCATED.
20724 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20726 (rmail-mime-save): Warn if entity is truncated.
20727 (rmail-mime-toggle-hidden): Likewise, for showing.
20728 (rmail-mime-process-multipart): Record when an entity is truncated.
20730 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20731 if ENTITY is a string.
20733 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20735 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20736 of faces when `M-C-x'-ing their definitions (bug#8378).
20737 Also clean up the code slightly.
20739 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20740 because that makes the colors go away.
20742 * mail/sendmail.el (send-mail-function): Change the default to
20743 `sendmail-query-once'.
20744 (sendmail-query-once): Add an autoload cookie.
20746 * net/network-stream.el (network-stream-open-starttls): Try using
20747 a plain connection even if the server offered STARTTLS, and we
20748 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20749 capability. This should make smtpmail.el work in slightly more
20752 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20754 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20756 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20758 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20760 * progmodes/sql.el: Version 3.0
20761 (sql-product-alist): Add product :completion-object,
20762 :completion-column, and :statement attributes.
20763 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20764 (sql-mode-syntax-table): Mark all punctuation.
20765 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20767 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20768 (sql-mode-oracle-font-lock-keywords): Improve.
20769 (sql-oracle-show-reserved-words): New function for development.
20770 (sql-product-font-lock): Simplify for source code buffers.
20771 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20773 (sql-highlight-product): Set product specific syntax table.
20774 (sql-mode-map): Add statement movement functions.
20775 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20777 (sql-statement-regexp, sql-beginning-of-statement)
20778 (sql-end-of-statement, sql-signum): New functions.
20779 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20780 (sql-show-sqli-buffer): Bug fix.
20781 (sql-interactive-mode): Store connection data as buffer local.
20782 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20783 with sql-interactive-mode.
20784 (sql-save-connection): Save buffer local settings.
20785 (sql-connection-menu-filter): Change menu entry name.
20786 (sql-product-interactive): Bug fix.
20787 (sql-preoutput-hold): New variable.
20788 (sql-interactive-remove-continuation-prompt): Bug fixes.
20789 (sql-debug-redirect): New variable.
20790 (sql-str-literal): New function.
20791 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20793 (sql-oracle-save-settings, sql-oracle-restore-settings)
20794 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20795 (sql-completion-object, sql-completion-column)
20796 (sql-completion-sqlbuf): New variables.
20797 (sql-build-completions-1, sql-build-completions)
20798 (sql-try-completion): New functions.
20799 (sql-read-table-name): Use them.
20800 (sql-contains-names): New buffer local variable.
20801 (sql-list-all, sql-list-table): Use it.
20802 (sql-oracle-completion-types): New variable.
20803 (sql-oracle-completion-object, sql-sqlite-completion-object)
20804 (sql-postgres-completion-object): New functions.
20806 2011-07-06 Glenn Morris <rgm@gnu.org>
20808 * window.el (pop-to-buffer): Doc fix.
20810 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20812 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20814 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20816 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20818 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20820 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20822 * button.el (button): Inherit from link face. Suggested by Dan
20825 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20827 * progmodes/gdb-mi.el: Fit in 80 columns.
20828 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20831 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20832 if imenu is simply not configured (bug#8941).
20834 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20836 * allout.el (allout-post-undo-hook): New allout outline-change
20837 event hook to signal undo activity.
20838 (allout-post-command-business): Run allout-post-undo-hook if an
20839 undo just occurred.
20840 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20841 * allout-widgets.el (allout-widgets-after-undo-function):
20842 Ensure the integrity of the current item's decoration after it has been
20843 in the vicinity of an undo.
20844 (allout-widgets-mode): Include allout-widgets-after-undo-function
20845 on the new allout-post-undo-hook.
20847 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20849 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20850 Let define-derived-mode define it.
20851 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20852 cycles of abbrev-table inheritance (bug#8998).
20854 2011-07-05 Roland Winkler <winkler@gnu.org>
20856 * textmodes/bibtex.el: Add support for biblatex.
20857 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20858 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20859 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20860 (bibtex-entry-alist, bibtex-field-alist): New variables.
20861 (bibtex-entry-field-alist): Obsolete alias for
20862 bibtex-BibTeX-entry-alist.
20863 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20864 (bibtex-set-dialect): New command.
20865 (bibtex-entry-type, bibtex-entry-head)
20866 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20867 Bind via bibtex-set-dialect.
20868 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20869 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20870 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20871 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20872 Define via bibtex-set-dialect.
20873 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20874 Obey bibtex-no-opt-remove-re.
20875 (bibtex-vec-push, bibtex-vec-incr): New functions.
20876 (bibtex-format-entry, bibtex-field-list)
20877 (bibtex-print-help-message, bibtex-validate)
20878 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20880 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20882 * progmodes/compile.el (compilation-goto-locus):
20883 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20884 * bs.el (bs-cycle-next, bs-cycle-previous):
20885 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20886 * bindings.el (mode-line-other-buffer):
20887 * autoinsert.el (auto-insert):
20888 * arc-mode.el (archive-extract):
20889 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20891 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20893 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20894 Fix check of `emacs-lock-unlockable-modes'.
20895 Coerce true values of `emacs-lock--try-unlocking' to t.
20897 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20899 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20900 * emacs-lock.el: New file.
20902 2011-07-05 Julien Danjou <julien@danjou.info>
20904 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20905 than `boundp' to check if face is set.
20907 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20909 * register.el (registerv-make):
20910 * window.el (window-min-height): Fix typos in docstrings.
20912 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20914 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20917 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20919 * server.el (server-execute): Catch quit and call
20920 `server-return-error' to pass the error back to emacsclient and
20921 close the connection (bug#8942).
20923 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20925 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20926 insecure exception for current topic. Also note that auto-saves
20927 are handled differently.
20929 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20930 State variables for tracking auto-save inhibition situation.
20932 (allout-write-contents-hook-handler): Rename from
20933 'allout-write-file-hook-handler', and describe how it depends on
20934 write-contents-functions sensitivity to non-nil value to prevent
20937 (allout-auto-save-hook-handler): Remove. auto-save does not check
20938 this in individual buffers, only in the starting buffer, so this
20939 is not the right way for us to inhibit auto-save in a buffer
20940 according to its condition.
20942 (allout-mode): Use new allout-write-contents-hook-handler, and
20943 only with write-contents-functions. Remove auto-save provisions -
20944 they're implemented elsewhere.
20946 (allout-before-change-handler): If undo is in progress, note that
20947 for attention of allout-post-command-business.
20949 (allout-post-command-business): If the command we're following was
20950 an undo, check for change in the status of encrypted items and
20951 adjust auto-save inhibitions accordingly.
20953 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20954 according to whether there are or aren't any plain-text topics
20955 pending encryption.
20957 (allout-inhibit-auto-save-info-for-decryption):
20958 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20959 if there are plain-text topics pending encryption.
20961 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20962 buffer-saved-size and some allout state to not inhibit auto-saves
20963 if there are no longer any plain-text topics pending encryption.
20965 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20966 No longer provide for exemption of the current topic.
20968 2011-07-04 Juri Linkov <juri@jurta.org>
20970 Add 7z operations to delete and save changed members (bug#8968).
20971 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20973 (archive-7z-write-file-member): New function.
20974 (archive-7z-summarize): Fix the number of dashes in the
20977 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20979 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20982 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20984 * bindings.el: Ignore next-buffer and previous-buffer in
20985 minibuffer-local-map.
20987 * font-lock.el (font-lock-builtin-face): Change light background
20988 color to dark slate blue (Bug#6693).
20990 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20992 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20994 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20996 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20998 Add switch-to-buffer.
21000 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21002 * isearch.el (isearch-search-fun-function): Clarify further the
21003 meaning of the function returned.
21005 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21007 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21009 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21010 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21012 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21013 `tramp-default-remote-path' does not exist.
21014 (tramp-send-command-and-read): New optional argument NOERROR.
21015 (tramp-open-connection-setup-interactive-shell)
21016 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21017 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21018 (tramp-process-sentinel): Flush also process' connection property.
21019 (tramp-sh-handle-start-file-process): Do not set process
21020 sentinel. It is done now ...
21021 (tramp-maybe-open-connection): ... here. (Bug#8929)
21023 2011-07-04 MON KEY <monkey@sandpframing.com>
21025 * play/animate.el (animate-string): Doc fixes and allow changing
21026 the buffer name (bug#5417).
21028 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21030 * play/animate.el (animation-buffer-name): Rename from *animate*.
21032 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21034 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21035 This is simpler and helps future-proof the code.
21036 (timer-until): Use time-subtract and float-time.
21037 (timer--time-less-p): Use time-less-p.
21039 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21041 * type-break.el (timep): Use the value of `float-time' to avoid a
21042 byte-compiler warning.
21044 * server.el (server-eval-and-print): Return any result, even nil.
21046 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21048 * type-break.el: Accept time formats that the builtins accept.
21049 (timep, type-break-time-difference): Accept any format that
21050 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21051 This is simpler and helps future-proof the code.
21052 (type-break-time-difference): Round rather than ignoring
21053 subseconds components.
21055 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057 * info.el (Info-apropos-matches): Make non-interactive, since it
21058 doesn't seem to do anything useful as a command (bug#8829).
21060 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21062 * frame.el (frame-background-mode, frame-set-background-mode):
21063 Move from faces.el.
21064 (frame-default-terminal-background): New function.
21066 * custom.el (custom-push-theme): Don't record faces in `changed'
21067 theme; this doesn't work correctly for per-frame face settings.
21068 (disable-theme): Use face-set-after-frame-default to reset faces.
21069 (custom--frame-color-default): New function.
21071 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21073 * dired.el (dired-flagging-regexp): Remove unused variable
21076 2011-03-29 Kevin Ryde <user42@zip.com.au>
21078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21079 `perl-Test2' extend to match possible "fail #N" rep count
21082 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21084 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21085 `smtpmail-via-smtp' now returns the error instead of nil.
21087 * isearch.el (isearch-search-fun-function): Clarify the doc string
21090 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21092 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21093 unnecessary spaces (bug#8987).
21095 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21097 * net/network-stream.el (open-network-stream): Use the
21098 :end-of-capability command thoughout.
21100 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21102 * net/network-stream.el (open-network-stream): Add the
21103 :end-of-capability command parameter, used by pop3.el.
21105 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21107 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21109 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21110 for list)" (bug#6475).
21112 * files.el (file-expand-wildcards): Ignore non-readable
21113 sub-directories while trying to find matches instead of signaling
21114 an error (bug#6297).
21116 * man.el (Man-reference-regexp): Allow matching possible
21117 word-wrapped references (bug#6289).
21119 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21120 for consistency with the other vc buffers (bug#6197).
21121 (vc-checkin): Ditto.
21123 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21125 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21127 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21129 * custom.el (defcustom): Clarify that :set is only used in the
21130 Customize user interface (bug#6089).
21132 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21133 associated with a file, refuse to run instead of erroring out
21136 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21137 the doc string, since it appears that using `fill-column' always
21138 controls the width (bug#7845).
21140 * simple.el (shell-command-on-region): Say where the error output
21141 went if `shell-command-default-error-buffer' is set (bug#6857).
21143 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21145 * allout.el (allout-yank-processing): Adjust cursor position for
21146 backwards-deleted space.
21148 (allout-rebullet-heading): Register changes with
21149 allout-exposure-changed-hook, so the modified topic is properly
21152 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21154 * minibuffer.el (completion-in-region): Document PREDICATE
21157 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21158 of keyword/argument pairs (bug#6904).
21160 * replace.el (multi-occur):
21161 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21163 2011-07-02 Drew Adams <drew.adams@oracle.com>
21165 * dired.el (dired-mark-if): Make the message about whether it's
21166 marking or unmarking clearer (bug#8523).
21168 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21170 * disp-table.el (display-table-print-array): New function.
21171 (describe-display-table): Use it to print the vectors more pretty
21174 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21176 * window.el (window-state-get-1): Don't assign clone numbers.
21177 Add clone-of item to list of window parameters.
21178 (window-state-put-2): Don't process clone numbers.
21179 (display-buffer-alist): Fix doc-string.
21181 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21183 * subr.el (remq): Don't allocate if it's not needed.
21184 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21185 (keymap--merge-bindings): New functions.
21186 (keymap-canonicalize): Use them to refine the canonicalization.
21187 * minibuffer.el (minibuffer-local-completion-map)
21188 (minibuffer-local-must-match-map): Move initialization from C.
21189 (minibuffer-local-filename-completion-map): Move initialization from C;
21190 don't inherit from anything here.
21191 (minibuffer-local-filename-must-match-map): Make obsolete.
21192 (completing-read-default): Use make-composed-keymap to combine
21193 minibuffer-local-filename-completion-map with either
21194 minibuffer-local-must-match-map or
21195 minibuffer-local-filename-completion-map.
21197 2011-07-01 Glenn Morris <rgm@gnu.org>
21199 * type-break.el (type-break-time-sum): Use dolist.
21201 * textmodes/flyspell.el (flyspell-word-search-backward):
21202 Replace CL function.
21204 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21206 * mouse.el (mouse--strip-first-event): New function.
21207 (function-key-map): Use it to map fringe clicks to normal clicks
21210 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21211 (vc-bzr-revision-completion-table): Add support for annotate and date.
21213 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21214 inherit from parent.
21216 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21218 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21219 (dired-show-file-type): Doc fixup (bug#8818).
21221 * dired.el (dired-mode): Fix up the doc string as suggested by
21222 Drew Adams (bug#8817).
21224 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21225 cookie, since the manual says that it should be possible to add
21226 this function to `find-file-hook' (bug#8709).
21228 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21230 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21231 here. Noted Ted Zlatanov as the maintainer.
21232 (cfengine-common-settings, cfengine-common-syntax): New functions
21233 to set up common things between `cfengine-mode' and
21235 (cfengine3-mode): New mode.
21236 (cfengine3-defuns cfengine3-defuns-regex
21237 (cfengine3-class-selector-regex cfengine3-category-regex)
21238 (cfengine3-vartypes cfengine3-font-lock-keywords)
21239 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21240 (cfengine3-indent-line): Add from cfengine3.el.
21242 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21244 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21246 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21248 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21250 * window.el (same-window-buffer-names, same-window-regexps)
21251 (same-window-p, special-display-frame-alist)
21252 (special-display-popup-frame, special-display-function)
21253 (special-display-buffer-names, special-display-regexps)
21254 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21255 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21256 (split-window-preferred-function, split-height-threshold)
21257 (split-width-threshold, even-window-heights)
21258 (display-buffer-mark-dedicated, window-splittable-p)
21259 (split-window-sensibly, window-safely-shrinkable-p):
21261 (display-buffer): Don't spread args with function specifier
21262 because special-display-popup-frame won't like it.
21264 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21266 Time-stamp simplifications and fixes.
21267 These improve accuracy slightly, and future-proof the code
21268 against some potential changes to current-time format.
21270 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21271 by using time-since and float-time.
21273 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21274 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21275 + NNN microseconds".
21277 * type-break.el (type-break-time-sum): Rewrite using time-add.
21279 * play/hanoi.el (hanoi-current-time-float): Remove.
21280 All uses replaced by float-time.
21282 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21283 This yields a more-accurate answer.
21284 (rng-time-to-float): Remove; no longer needed.
21286 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21288 * calendar/timeclock.el (timeclock-seconds-to-time):
21289 Defalias to seconds-to-time, since they're the same thing.
21291 * emacs-lisp/elp.el (elp-elapsed-time):
21292 * emacs-lisp/benchmark.el (benchmark-elapse):
21293 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21295 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21297 * window.el (bury-buffer): Don't iconify the only frame.
21298 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21299 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21301 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21303 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21304 Add mouse-yank-primary.
21306 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21308 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21310 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21312 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21313 (find-library-name): Use it to find relative load names when provided
21314 absolute file name (bug#8803).
21316 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21318 * textmodes/flyspell.el (flyspell-word): Consider words that
21319 differ only in case as potential doublons (bug#5687).
21321 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21322 Remove two rather uninteresting debugging-like messages to make
21323 debbugs.el more silent.
21325 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21326 a password-like phrase.
21328 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21330 * progmodes/cc-guess.el: New file.
21332 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21334 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21335 derived from `c-basic-common-init'.
21337 * progmodes/cc-mode.el (top-level): Require cc-guess.
21338 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21340 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21342 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21344 2011-06-30 Alan Mackenzie <acm@muc.de>
21346 * progmodes/cc-engine.el (c-guess-continued-construct):
21347 Correct the handling of template-args-cont, particularly for when font
21348 lock is disabled. Name this case as "CASE G".
21350 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21352 * allout.el (allout-yank-processing): Fix injection of extra space
21353 between bullet and non-whitespace character in first topic when
21354 pasting, ensuring that the actual spacing in the pasted topic
21355 following the bullet char is preserved. This extra space was
21356 causing pasted encrypted topics to get a decrypted status even
21357 when the content was actually still encrypted. Now the decryption
21358 status from before the paste is preserved.
21360 (allout-flag-region): Set all allout overlays so they evaporate
21361 when reduced to zero length (evanescent), to prevent overlay
21364 2011-06-30 Glenn Morris <rgm@gnu.org>
21366 * w32-fns.el (w32-charset-info-alist): Declare.
21368 * find-dired.el (find-grep-options): Simplify.
21370 * term/ns-win.el (ns-set-resource): Declare.
21372 * ses.el (row, col): Declare dynamic variables honestly.
21374 * textmodes/reftex-parse.el (index-tags): Declare.
21376 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21378 * cus-edit.el (customize-push-and-save): New function.
21380 * files.el (hack-local-variables-confirm): Use it.
21382 * custom.el (load-theme): New arg NO-CONFIRM.
21383 Use customize-push-and-save (Bug#8720).
21384 (custom-enabled-themes): Doc fix.
21386 * cus-theme.el (customize-create-theme)
21387 (custom-theme-merge-theme): Callers to load-theme changed.
21389 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21391 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21392 short URLs have at least one dot in them (bug #7614).
21394 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21395 nil, because using a pty is apparently too slow (bug #895).
21397 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21399 * mail/sendmail.el (sendmail-query-once): New function.
21400 (sendmail-query-once-function): New variable.
21402 2011-06-29 Glenn Morris <rgm@gnu.org>
21404 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21406 * ses.el (top-level): Require cl when compiling.
21407 (ses-set-localvars): Fix error statement.
21408 Call it at compile time to silence a storm of warnings.
21410 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21412 * window.el (normalize-live-buffer): Rename to
21413 window-normalize-buffer.
21414 (normalize-live-frame): Rename to window-normalize-frame.
21415 (normalize-any-window): Rename to window-normalize-any-window.
21416 (normalize-live-window): Rename to window-normalize-live-window.
21417 (make-window-atom): Rename to window-make-atom.
21418 (window-resize-reset): Rename to window--resize-reset.
21419 (window-resize-reset-1): Rename to window--resize-reset-1.
21420 (resize-mini-window): Rename to window--resize-mini-window.
21421 (resize-subwindows-skip-p): Rename to
21422 window--resize-subwindows-skip-p.
21423 (resize-subwindows-normal): Rename to
21424 window--resize-subwindows-normal.
21425 (resize-subwindows): Rename to window--resize-subwindows.
21426 (resize-other-windows): Rename to window--resize-siblings.
21427 (resize-this-window): Rename to window--resize-this-window.
21428 (resize-root-window): Rename to window--resize-root-window.
21429 (resize-root-window-vertically): Rename to
21430 window--resize-root-window-vertically.
21431 (normalize-buffer-to-display): Rename to
21432 window-normalize-buffer-to-display.
21433 (normalize-buffer-to-switch-to): Rename to
21434 window-normalize-buffer-to-switch-to.
21435 Correspondingly update all callers of the functions listed
21437 (display-buffer-alist, display-buffer-normalize-arguments)
21438 (display-buffer-normalize-options, display-buffer)
21439 (display-buffer-alist-set): Use "function" instead of
21442 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21444 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21445 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21446 debbugs.gnu.org. Mention acknowledgment email.
21448 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21450 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21451 buffer multibyteness, since it shouldn't matter.
21453 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21455 * window.el (display-buffer-in-side-window): Handle dedicated
21456 windows as in display-buffer-reuse-window.
21457 (display-buffer-normalize-alist): Use value of override
21459 (display-buffer-normalize-specifiers): Use value of
21460 other-window-means-other-frame specifier.
21461 (display-buffer-alist): Rewrite some texts in widgets.
21462 (display-buffer): Spread arguments when calling function
21463 specified by fun-with-args.
21465 2011-06-28 Deniz Dogan <deniz@dogan.se>
21467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21470 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21471 selectors (Bug#5732).
21472 (css-proprietary-nmstart-re): Use `regexp-opt'.
21474 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21476 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21477 (eshell-ls-date-format): New defcustom.
21478 (eshell-ls-file): Use it.
21480 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21482 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21484 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21486 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21487 (ange-ftp-make-tmp-name): New arg.
21488 (ange-ftp-file-local-copy): Use it.
21490 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21492 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21493 no-conversion (Bug#8870).
21495 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21497 * window.el (window-right, window-left, window-child)
21498 (window-child-count, window-last-child)
21499 (window-iso-combination-p, walk-window-tree-1)
21500 (window-atom-check-1, window-tree-1, delete-window)
21501 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21502 new naming conventions - window-vchild, window-hchild,
21503 window-next and window-prev are now called window-top-child,
21504 window-left-child, window-next-sibling and window-prev-sibling
21506 (resize-window-reset): Rename to window-resize-reset.
21507 (resize-window-reset-1): Rename to window-resize-reset-1.
21508 (resize-window): Rename to window-resize.
21509 (window-min-height, window-min-width)
21510 (resize-mini-window, resize-this-window, resize-root-window)
21511 (resize-root-window-vertically, adjust-window-trailing-edge)
21512 (enlarge-window, shrink-window, maximize-window)
21513 (minimize-window, delete-window, quit-restore-window)
21514 (split-window, balance-windows, balance-windows-area-adjust)
21515 (balance-windows-area, window-state-put-2)
21516 (display-buffer-even-window-sizes, display-buffer-set-height)
21517 (display-buffer-set-width, set-window-text-height)
21518 (fit-window-to-buffer): Rename all "resize-window" prefixed
21519 calls to use the "window-resize" prefix convention.
21520 (display-buffer-alist): Fix symbol for label specifier.
21521 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21522 corresponding specifier.
21523 Reported by Juanma Barranquero <lekktu@gmail.com>.
21525 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21527 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21529 (ses-call-printer): Does not pass an empty string to formatter when the
21530 cell is empty to keep from barking printer Calc math-format-value.
21532 2011-06-27 Richard Stallman <rms@gnu.org>
21534 * battery.el (battery-mode-line-limit): New variable.
21535 (battery-update): Handle it.
21537 * mail/rmailmm.el (rmail-mime-process-multipart):
21538 Handle truncated messages.
21540 2011-06-27 Glenn Morris <rgm@gnu.org>
21542 * progmodes/flymake.el (flymake-err-line-patterns):
21543 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21545 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21547 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21548 (ses--clean-!, ses--clean-_): New functions.
21549 (ses-range): Add configurability of readout order, and conversion
21552 * ses.el (ses-repair-cell-reference-all): New function.
21553 (ses-cell-symbol): Set macro as safe, so that it can be used in
21556 * ses.el: Update cycle detection algorithm.
21557 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21558 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21559 (ses-set-localvars): New function.
21560 (ses-make-cell): Add property-list as a cell element.
21561 (ses-cell-property-get-fun, ses-cell-property-get)
21562 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21563 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21565 (ses-cell-property-set, ses-cell-property-pop)
21566 (ses-cell-property-get-handle): New macro.
21567 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21568 New aliases, used for code readability.
21569 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21571 (ses-self-reference-early-detection): New defcustom.
21572 (ses-formula-references): Robustify against self-referring cells.
21573 (ses-mode): Use ses-set-localvars.
21574 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21575 before lauching the update processing.
21576 (ses-initialize-Dijkstra-attempt): New function.
21577 (ses-recalculate-cell): Update for cycle detection based on
21578 Dijkstra algorithm.
21580 * ses.el: Fix commenting and indenting convention.
21582 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21584 * bs.el (bs-cycle-next): Complete last change.
21586 2011-06-27 Drew Adams <drew.adams@oracle.com>
21588 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21590 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21592 * net/network-stream.el (network-stream-open-starttls):
21593 Don't re-get capabilities unless we've reestablished connection.
21594 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21596 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21597 to binary to possibly avoid line encoding issues on Windows (among
21600 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21602 * net/network-stream.el (open-network-stream): Return an :error
21603 saying what the problem was, if possible.
21605 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21608 * net/network-stream.el (network-stream-open-starttls): If we
21609 wanted to use STARTTLS, and the server offered it, but we weren't
21610 able to because we had no STARTTLS support, then close the connection.
21611 (open-network-stream): Return an :error element, if present.
21613 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21615 * hl-line.el (hl-line-sticky-flag): Doc fix.
21616 (global-hl-line-sticky-flag): New option (Bug#8323).
21617 (global-hl-line-highlight): Obey it.
21619 * vc/vc.el (vc-revert-show-diff): Default to t.
21621 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21623 * allout-widgets.el (allout-widgets-post-command-business):
21624 Stop decorating intermediate isearch matches. They're not being
21625 undecorated when an isearch is continued past, and isearch
21626 automatically collapses them. This leads to "widget leaks", where
21627 decorated items accumulate in collapsed areas. Lines with lots of
21628 hidden widgets can slow down cursor travel, substantially.
21629 Too much complicated machinery would be needed to ensure undecoration,
21630 so we're doing without this nicety.
21632 (allout-widgets-tally-string): Don't try to do a hash-table-count
21633 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21634 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21635 *Messages* when allout-widgets-maintain-tally is t.
21637 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21639 * window.el (display-buffer-normalize-argument): Rename to
21640 display-buffer-normalize-arguments. Handle special meaning of
21641 LABEL argument. Respect special-display-function when popping up
21642 a new frame. Fix code searching for a window showing the buffer
21644 (display-buffer-normalize-specifiers):
21645 Call display-buffer-normalize-arguments.
21646 (display-buffer-in-window): Don't undedicate the window if its
21647 buffer remains the same.
21648 Reported by Drew Adams <drew.adams@oracle.com>.
21649 (display-buffer-alist): Add choice for same-window macro
21651 (display-buffer): Mention special meaning of LABEL argument in
21652 doc-string. Fix quoting. Don't pop up a new frame even as
21655 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21657 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21658 avoid deleting the current window in some cases (bug#8911).
21660 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21662 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21665 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21667 * net/network-stream.el (network-stream-open-starttls):
21668 Use built-in TLS support if `gnutls-available-p' is true.
21669 (network-stream-open-tls): Ditto.
21671 2011-06-26 Leo Liu <sdl.web@gmail.com>
21673 * register.el (registerv): New struct.
21674 (registerv-make): New function.
21675 (jump-to-register, describe-register-1, insert-register):
21676 Support the jump-func, print-func and insert-func slot of a registerv
21679 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21681 * vc/vc.el (vc-revert-show-diff): New defcustom.
21682 (vc-diff-internal): New arg specifying diff buffer.
21683 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21684 reuse an existing *vc-diff* buffer (Bug#8927).
21686 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21688 2011-06-26 Glenn Morris <rgm@gnu.org>
21690 * progmodes/f90.el (f90-critical-indent): New option.
21691 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21692 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21693 (f90-mode): Doc fix.
21694 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21695 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21696 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21697 (f90-match-end): Handle block, critical.
21699 2011-06-25 Glenn Morris <rgm@gnu.org>
21701 * calendar/diary-lib.el (diary-included-files): Doc fix.
21702 (diary-include-files): New function, extracted from
21703 diary-include-other-diary-files and diary-mark-included-diary-files.
21704 (diary-include-other-diary-files, diary-mark-included-diary-files):
21705 Just call diary-include-files.
21706 (diary-mark-entries): Reset diary-included-files on first call.
21708 * calendar/diary-lib.el (diary-mark-entries)
21709 (diary-mark-included-diary-files):
21710 Visit included diary-files in temp buffers.
21712 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21713 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21714 (f90-start-block-re, f90-imenu-generic-expression)
21715 (f90-looking-at-program-block-start, f90-no-block-limit):
21716 Add support for submodules.
21718 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21719 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21721 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21723 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21724 buffer-file-type before setting its value, to avoid disastrous
21725 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21727 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21729 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21731 * ses.el (ses-unload-function):
21732 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21734 * proced.el (proced-unload-function):
21735 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21737 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21739 * server.el (server-create-window-system-frame): Add parameters arg.
21740 (server-process-filter): Doc fix. Handle frame-parameters.
21742 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21744 Fix bug#8730, bug#8781.
21746 * loadhist.el (unload--set-major-mode): New function.
21747 (unload-feature): Use it.
21749 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21750 (python-unload-function): New function.
21752 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21754 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21756 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21758 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21759 the candidates list.
21761 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21763 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21765 2011-06-23 Richard Stallman <rms@gnu.org>
21767 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21768 (rmail-variables): Set next-error-move-function.
21769 (rmail-what-message): Take argument POS.
21770 (rmail-next-error-move): New function.
21772 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21774 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21775 messages for adjacent non-terminals.
21777 2011-06-23 Richard Stallman <rms@gnu.org>
21779 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21780 (rmail-show-message-1): Preserve buffer modified flag.
21781 (rmail-start-mail): Don't specify use of rmail-mail-return;
21782 that's done by mail-bury now.
21783 (rmail-mail-return): Handle arg NEWBUF.
21785 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21787 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21790 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21792 * window.el (get-lru-window, get-mru-window)
21793 (get-largest-window): Never return a minibuffer window.
21794 (display-buffer-pop-up-window): Fix a bug that could lead to
21795 reusing the minibuffer window.
21796 (display-buffer): Pass original specifier argument to
21797 display-buffer-function instead of the normalized one.
21798 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21800 2011-06-22 Leo Liu <sdl.web@gmail.com>
21802 * minibuffer.el (completing-read-function)
21803 (completing-read-default): Move from minibuf.c.
21805 2011-06-22 Richard Stallman <rms@gnu.org>
21807 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21808 to Rmail even if not started by a special Rmail command.
21810 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21811 Copy the buffer currently showing just one message.
21813 2011-06-22 Roland Winkler <winkler@gnu.org>
21815 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21816 (bibtex-clean-entry): First delete the old key so that a
21817 customized algorithm for generating the new key does not get
21818 confused by the old key.
21819 (bibtex-url): Obey regexp of first step.
21820 (bibtex-search-entries): Do not use add-to-list with local
21823 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21825 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21826 stored a user name, then query for the password first, instead of
21827 waiting for SMTP to give an error message and the trying again.
21829 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21831 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21832 BUFFER in call-process.
21834 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21836 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21838 (smtpmail-try-auth-methods): Require user name and password from
21841 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21843 * window.el (display-buffer-default-specifiers)
21844 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21845 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21846 (split-window): Normalize SIDE argument (Bug#8916).
21848 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21849 (special-display-frame-alist, special-display-popup-frame):
21850 Remove duplicate declarations. These are now in window.el.
21852 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21854 * mail/smtpmail.el (smtpmail-via-smtp):
21855 Set :use-starttls-if-possible so that we always use STARTTLS if the
21856 server supports it. SMTP servers that support STARTTLS commonly
21859 * net/network-stream.el (network-stream-open-starttls): Support
21860 upgrading to STARTTLS always, even if we don't have built-in support.
21861 (open-network-stream): Add the :always-query-capabilities keyword.
21863 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21864 upgrades with `open-network-stream', and rely solely on
21865 auth-source for all credentials. Big changes throughout the file,
21867 (smtpmail-auth-credentials): Remove.
21868 (smtpmail-starttls-credentials): Remove.
21869 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21872 * net/network-stream.el (network-stream-open-starttls):
21873 Provide support for client certificates both for external and built-in
21875 (auth-source): Require.
21876 (open-network-stream): Document the :client-certificate keyword.
21877 (network-stream-certificate): Change cert-cert to cert and
21880 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21882 * net/tramp-cache.el (top): Don't load the persistency file when
21883 "emacs -Q" has been called.
21885 2011-06-21 Tim Harper <timcharper@gmail.com>
21887 * term/ns-win.el (ns-initialize-window-system):
21888 Set application-specific `ApplePressAndHoldEnabled' system
21889 resource to NO as it is not yet supported by the NS port.
21891 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21893 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21894 (list-dynamic-libraries): ...not here.
21896 2011-06-21 Leo Liu <sdl.web@gmail.com>
21898 * subr.el (sha1): Implement sha1 using secure-hash.
21900 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21902 * window.el (display-buffer-alist): In default value do not
21903 enforce searching a window on any but the selected frame.
21904 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21905 (display-buffer-select-window): Remove function.
21906 (display-buffer-in-window): When a window on another frame gets
21907 reused, do not select it any more but just raise its frame if
21908 necessary (Bug#8851) and (Bug#8856).
21909 (display-buffer-normalize-options): Handle pop-up-frames related
21910 options more faithfully.
21911 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21912 window if it is on another frame.
21913 (display-buffer-alist, display-buffer-default-specifiers):
21914 Don't make new frame unsplittable by default.
21915 (display-buffer-normalize-argument): Fix doc-string typo and use
21916 'same-frame-other-window instead of 'other-window when associating
21917 with display-buffer-macro-specifiers.
21919 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21921 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21923 (5x5-mode-map, 5x5-mode-menu): Bind them.
21924 (5x5-draw-grid): Tweak the solver's rendering.
21926 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21928 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21929 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21931 2011-06-21 Drew Adams <drew.adams@oracle.com>
21933 * menu-bar.el: Use function variable instead of switch-to-buffer.
21934 (menu-bar-select-buffer-function): New variable.
21935 (menu-bar-update-buffers): Use it (bug#8876).
21937 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21939 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21942 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21944 * x-dnd.el (x-dnd-version-from-flags)
21945 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21946 and long as number (Bug#8899).
21947 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21949 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21951 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21952 (completion-try-completion, completion-all-completions): Compute the
21953 metadata argument if it's missing; make it optional (bug#8795).
21955 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21956 (widget-complete): Use new :completion-function property.
21957 (widget-completions-at-point): New function.
21958 (default): Use :completion-function instead of :complete.
21959 (widget-default-completions): Rename from widget-default-complete;
21961 (widget-string-complete, widget-file-complete, widget-color-complete):
21963 (file, symbol, function, variable, coding-system, color):
21964 * international/mule-cmds.el (default-input-method, charset)
21965 (language-info-custom-alist):
21966 * cus-edit.el (face): Use new property :completions.
21968 * progmodes/pascal.el (pascal-completions-at-point): New function.
21969 (pascal-mode): Use it.
21970 (pascal-mode-map): Use completion-at-point.
21971 (pascal-toggle-completions): Make obsolete.
21972 (pascal-complete-word, pascal-show-completions):
21973 * progmodes/octave-mod.el (octave-complete-symbol):
21974 Redefine as obsolete alias.
21975 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21976 Signal absence of completion info for old Octave,
21977 (inferior-octave-complete): Redefine as obsolete alias.
21978 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21979 (meta-completions-at-point): Rename from meta-complete-symbol and
21980 adapt it for use on completion-at-point-functions.
21981 (meta-common-mode): Use it.
21982 (meta-looking-at-backward, meta-match-buffer): Remove.
21983 (meta-complete-symbol): Redefine as obsolete alias.
21984 (meta-common-mode-map): Use completion-at-point.
21985 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21986 (makefile-mode-map): Use completion-at-point.
21987 (makefile-completions-at-point): Rename from makefile-complete and
21988 adapt it for use on completion-at-point-functions.
21989 (makefile-mode): Use it.
21990 (makefile-complete): Redefine as obsolete alias.
21992 2011-06-20 Deniz Dogan <deniz@dogan.se>
21994 * net/rcirc.el: Delete trailing whitespaces once and for all.
21996 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21998 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22000 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22002 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22004 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22006 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22008 * window.el (display-buffer-other-window-means-other-frame):
22009 Call display-buffer-normalize-alist.
22010 (display-buffer-normalize-specifiers-1): Rename to
22011 display-buffer-normalize-argument. New argument other-frame.
22013 (display-buffer-normalize-specifiers-2): Rename to
22014 display-buffer-normalize-options.
22015 (display-buffer-normalize-alist-1): New function.
22016 (display-buffer-normalize-specifiers-3): Rename to
22017 display-buffer-normalize-alist.
22018 Call display-buffer-normalize-alist-1.
22019 (display-buffer-normalize-options-inhibit): New variable.
22020 (display-buffer-normalize-specifiers): Rewrite calling
22021 display-buffer-normalize-alist,
22022 display-buffer-normalize-argument, and
22023 display-buffer-normalize-options. Don't call the latter if
22024 display-buffer-normalize-options-inhibit is non-nil.
22025 (frame-auto-delete): New option.
22026 (window-deletable-p): Use frame-auto-delete.
22027 (window-list-no-nils, window-state-ignored-parameters)
22028 (window-state-get-1, window-state-get, window-state-put-list)
22029 (window-state-put-1, window-state-put-2, window-state-put):
22031 (display-buffer-normalize-options): Move special-display-p group
22032 after pop-up-frame group (Bug#8851) and (Bug#8856).
22034 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22036 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22038 (rx-submatch-n): New function.
22041 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22044 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22046 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22048 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22049 anytime existing face settings are present (Bug#8889).
22051 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22052 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22053 Remove unused argument.
22055 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22057 * window.el (display-buffer-default-specifiers):
22058 Remove pop-up-frame. Add pop-up-window-min-height,
22059 pop-up-window-min-width, and another reuse-window specifier
22060 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22061 (display-buffer-normalize-specifiers-2):
22062 Handle split-height-threshold and split-width-threshold also when
22063 pop-up-windows is unset. Add a reuse-window specifier for the
22064 case popping up a new window fails.
22065 (special-display-popup-frame): Remove double quoting.
22066 (display-buffer-normalize-specifiers-1): Fix thinko.
22068 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22070 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22071 according to comint-completion-addsuffix.
22073 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22074 (pcomplete-suffix-list): Mark as obsolete.
22075 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22076 pcomplete-seen in the closure.
22077 (pcomplete-comint-setup): Setup completion-at-point as well.
22078 (pcomplete--entries): New function.
22079 (pcomplete--env-regexp): New var.
22080 (pcomplete-entries): Rewrite to work with partial-completion and
22081 without relying on pcomplete-suffix-list.
22082 (pcomplete-pare-list): Remove, unused.
22084 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22086 * window.el (display-buffer-alist): Set pop-up-window-min-height
22087 and pop-up-window-min-width in default value. Reported by
22088 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22089 other-window-means-other-frame.
22090 (display-buffer-macro-specifiers): Comment out entry for
22091 other-window specifier.
22092 (display-buffer-other-window-means-other-frame): New function.
22093 (display-buffer-normalize-specifiers-1): New arguments
22094 buffer-name and label. Treat other-window case specially.
22095 (display-buffer-normalize-specifiers-2): Treat other-window case
22097 (display-buffer-normalize-specifiers-3): New function.
22098 (display-buffer-normalize-specifiers):
22099 Call display-buffer-normalize-specifiers-3.
22101 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22103 * window.el (same-window-p): Fix two typos introduced when
22104 adding with-no-warnings.
22105 (display-buffer-normalize-specifiers-1): Don't check
22106 pop-up-frames for 'unset initialization.
22107 (display-buffer-normalize-specifiers-2): Major rewrite using
22108 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22109 (pop-up-frames, display-buffer-reuse-frames)
22110 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22111 Suggested by David Engster <deng@randomsample.de>.
22112 (even-window-heights): Initialize to 'unset.
22113 (display-buffer-alist-set): Handle new 'unset initializations.
22114 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22117 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22119 * window.el (display-buffer-normalize-specifiers-1):
22120 Respect current value of pop-up-frames for most reasonable values of
22121 second argument of display-buffer (Bug#8865).
22122 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22123 (switch-to-buffer-other-window-same-frame)
22124 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22126 (display-buffer): Don't check noninteractive when calling
22127 display-buffer-pop-up-frame.
22128 (display-buffer-pop-up-frame): Never pop up a frame in
22129 noninteractive mode (Bug#8857).
22130 (enlarge-window, shrink-window): Don't report an error when the
22131 window can't be resized as requested (Bug#8862).
22133 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22135 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22137 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22139 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22141 2011-06-15 Alan Mackenzie <acm@muc.de>
22143 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22144 for declarators, disable knr checking to speed up for normal files.
22145 2: Refactor, replacing a sequence of nested if forms by a cond form.
22147 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22149 * net/network-stream.el (open-network-stream): Add the keyword
22150 :always-query-capabilities for the case where you want to force a
22151 `plain' network connection, but the protocol still requires the
22152 capabilitiy command (i.e., SMTP and EHLO).
22154 * subr.el (process-live-p): Rename from `process-alive-p' for
22155 consistency with other `-live-p' functions.
22157 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22159 * window.el (same-window-buffer-names, same-window-regexps)
22160 (special-display-frame-alist, special-display-popup-frame)
22161 (special-display-function, special-display-buffer-names)
22162 (special-display-regexps, pop-up-frame-alist)
22163 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22164 (pop-up-windows, split-window-preferred-function)
22165 (split-height-threshold, split-width-threshold, even-window-heights)
22166 (display-buffer-mark-dedicated): Don't encourage the use of
22167 display-buffer-alist from Elisp code.
22169 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22171 * progmodes/python.el (python-mode): Derive from prog-mode.
22172 * progmodes/ps-mode.el (ps-mode):
22173 * progmodes/mixal-mode.el (mixal-mode):
22174 * progmodes/cfengine.el (cfengine-mode):
22175 * progmodes/ld-script.el (ld-script-mode): Likewise.
22177 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22179 * window.el (display-buffer-alist): Trim default value to avoid
22180 popping up a new frame (Bug#8857) or reusing an arbitrary window
22182 (display-buffer): Do not fall back on popping up a new frame in
22183 batch mode (Bug#8857).
22185 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22187 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22188 (custom-theme-summary): New function.
22189 (customize-themes): Use it.
22191 2011-06-13 Glenn Morris <rgm@gnu.org>
22193 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22195 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22197 * help.el (help-window): Remove variable.
22198 (help-window-point-marker, temp-buffer-max-height)
22199 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22200 (help-print-return-message): Don't set help-window.
22201 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22202 (help-window-setup-finish): Remove.
22203 (help-window-display-message, help-window-setup)
22204 (with-help-window): Major rewrite based on new
22205 display-buffer-window variable.
22207 * help-mode.el (help-mode-finish): Remove help-window related
22210 * view.el (view-exits-all-viewing-windows): Remove reference to
22211 view-return-to-alist in doc-string.
22212 (view-return-to-alist): Make obsolete.
22213 (view-buffer): Call pop-to-buffer-same-window and remove
22215 (view-buffer-other-window): Call pop-to-buffer-other-window and
22216 simplify code. Ignore second argument.
22217 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22218 simplify code. Ignore second argument.
22219 (view-return-to-alist-update): Make obsolete.
22220 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22221 Rewrite using quit-restore window parameters.
22222 (view-mode-exit): Rename second argument to EXIT-ONLY.
22223 Rewrite using quit-restore-window.
22224 (View-exit, View-exit-and-edit, View-leave, View-quit)
22225 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22226 appropriate arguments.
22227 (view-end-message): Use quit-restore window parameter.
22229 * window.el (display-buffer-function): Rewrite doc-string.
22230 (display-buffer-window, display-buffer-alist): New variables.
22231 (display-buffer-split-specifiers)
22232 (display-buffer-side-specifiers)
22233 (display-buffer-macro-specifiers): New constants.
22234 (display-buffer-even-window-sizes, display-buffer-set-height)
22235 (display-buffer-set-width, display-buffer-select-window)
22236 (display-buffer-in-window, display-buffer-reuse-window)
22237 (display-buffer-split-window-1, display-buffer-split-window)
22238 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22239 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22240 (display-buffer-in-side-window, normalize-buffer-to-display)
22241 (display-buffer-normalize-specifiers-1)
22242 (display-buffer-normalize-specifiers-2)
22243 (display-buffer-normalize-specifiers, display-buffer-frame):
22245 (display-buffer): Major rewrite.
22246 (display-buffer-other-window, display-buffer-other-frame)
22247 (pop-to-buffer, switch-to-buffer-other-window)
22248 (switch-to-buffer-other-frame): Rewrite.
22249 (display-buffer-same-window, display-buffer-same-frame)
22250 (display-buffer-same-frame-other-window)
22251 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22252 (pop-to-buffer-other-window)
22253 (pop-to-buffer-same-frame-other-window)
22254 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22255 (switch-to-buffer-other-window-same-frame): New functions.
22256 (same-window-p, special-display-p): Rewrite disabling warnings.
22258 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22259 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22261 (same-window-buffer-names, same-window-regexps)
22262 (special-display-frame-alist, special-display-popup-frame)
22263 (special-display-function, special-display-buffer-names)
22264 (special-display-regexps, pop-up-frame-alist)
22265 (pop-up-frame-function, split-window-preferred-function)
22266 (split-height-threshold, split-width-threshold)
22267 (even-window-heights): Make obsolete.
22269 2011-06-12 Glenn Morris <rgm@gnu.org>
22271 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22272 Misc simplifications.
22274 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22276 * window.el (window-safely-shrinkable-p): Restore function which
22277 was inadvertently removed in change from 2011-06-11. Declare as
22280 * calendar/calendar.el (calendar-generate-window):
22281 Use window-iso-combined-p instead of combination of one-window-p and
22282 window-safely-shrinkable-p.
22284 2011-06-12 Glenn Morris <rgm@gnu.org>
22286 * progmodes/fortran.el (fortran-mode-syntax-table):
22287 * progmodes/f90.el (f90-mode-syntax-table):
22288 Set % to punctuation. (Bug#8820)
22289 (f90-find-tag-default): Remove, no longer needed.
22291 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22293 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22295 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22297 * image.el (image-animated-p): Return animation delay in seconds.
22298 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22299 (image-animate-timeout): Remove DELAY argument. Don't assume
22300 every subimage has the same delay; get it from image-animated-p.
22301 (image-animate): Caller changed.
22303 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22305 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22306 to ignored backtrace functions.
22308 2011-06-11 Glenn Morris <rgm@gnu.org>
22310 * calendar/appt.el (appt-disp-window-function): Doc fix.
22311 (appt-check): Handle overlapping appointments. (Bug#8337)
22313 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22315 * window.el (window-tree-1, window-tree): New functions, moving
22316 the latter to window.el.
22317 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22318 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22319 (bw-refresh-edges): Remove.
22320 (balance-windows-1, balance-windows-2): New functions.
22321 (balance-windows): Rewrite in terms of window tree functions,
22322 balance-windows-1 and balance-windows-2.
22323 (bw-adjust-window): Remove.
22324 (balance-windows-area-adjust): New function with functionality of
22325 bw-adjust-window but using resize-window.
22326 (set-window-text-height): Rewrite doc-string.
22327 Use normalize-live-window and resize-window.
22328 (enlarge-window-horizontally, shrink-window-horizontally):
22329 Rename argument to DELTA.
22330 (window-buffer-height): New function.
22331 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22332 Rewrite using new window resize routines.
22333 (kill-buffer-and-window, mouse-autoselect-window-select):
22334 Use ignore-errors instead of condition-case.
22335 (quit-window): Call delete-frame instead of delete-windows-on
22336 for the only buffer on frame.
22338 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22340 * loadup.el (top-level): Load window before files for the sake
22341 of replace-buffer-in-windows.
22343 * files.el (read-buffer-to-switch)
22344 (switch-to-buffer-other-window)
22345 (switch-to-buffer-other-frame, display-buffer-other-frame):
22348 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22349 (previous-buffer): Move to window.el.
22351 * bindings.el (unbury-buffer): Move to window.el.
22353 * window.el (delete-other-windows-vertically): Move after
22354 definition of delete-other-windows.
22355 (other-window, delete-windows-on, replace-buffer-in-windows):
22356 Move here from window.c.
22357 (record-window-buffer, unrecord-window-buffer)
22358 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22359 (switch-to-next-buffer): New functions.
22360 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22361 from simple.el. Call switch-to-next-buffer.
22362 (previous-buffer): Move here from simple.el.
22363 Call switch-to-prev-buffer.
22364 (bury-buffer): Move here from buffer.c. Switch to previous
22365 buffer when window cannot be deleted.
22366 (unbury-buffer): Move here from bindings.el.
22367 (ctl-x-map): Move binding for other-window from window.c to
22369 (read-buffer-to-switch, switch-to-buffer-other-window)
22370 (switch-to-buffer-other-frame): Move here from files.el.
22371 (normalize-buffer-to-switch-to): New functions.
22372 (switch-to-buffer): Move here from buffer.c.
22373 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22375 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22377 * window.el (window-min-height, window-min-width): Move here
22378 from window.c. Add defcustoms and rewrite doc-strings.
22379 (resize-mini-window, resize-window): New functions.
22380 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22381 Move here from window.c.
22382 (maximize-window, minimize-window): New functions.
22383 (delete-window, delete-other-windows, split-window): Move here
22385 (window-split-min-size): New function.
22386 (split-window-keep-point): Mention split-window-above-each-other
22387 instead of split-window-vertically.
22388 (split-window-above-each-other, split-window-vertically):
22389 Rename split-window-vertically to split-window-above-each-other
22390 and provide defalias for old definition.
22391 (split-window-side-by-side, split-window-horizontally):
22392 Rename split-window-horizontally to split-window-side-by-side
22393 and provide defalias for the old definition.
22394 (ctl-x-map): Move bindings for delete-window,
22395 delete-other-windows and enlarge-window here from window.c.
22396 Replace bindings for split-window-vertically and
22397 split-window-horizontally by bindings for
22398 split-window-above-each-other and split-window-side-by-side.
22400 * cus-start.el (all): Remove entries for window-min-height and
22401 window-min-width. Add entries for window-splits and
22404 2011-06-09 Glenn Morris <rgm@gnu.org>
22406 * calendar/appt.el (appt-mode-line): New function.
22407 (appt-check, appt-disp-window): Use it.
22409 * files.el (hack-one-local-variable-eval-safep):
22410 Allow minor-modes with explicit +/-1 arguments.
22412 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22414 * term/xterm.el (xterm): Add defgroup.
22415 (xterm-extra-capabilities): Add defcustom to supply known xterm
22416 capabilities, skip querying them, or query them (default).
22417 (terminal-init-xterm): Use it.
22418 (terminal-init-xterm-modify-other-keys): New function to set up
22419 modifyOtherKeys support to simplify `terminal-init-xterm'.
22421 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22423 * window.el (resize-window-reset, resize-window-reset-1)
22424 (resize-subwindows-skip-p, resize-subwindows-normal)
22425 (resize-subwindows, resize-other-windows, resize-this-window)
22426 (resize-root-window, resize-root-window-vertically)
22427 (window-deletable-p, window-or-subwindow-p)
22428 (frame-root-window-p): New functions.
22430 2011-06-09 Glenn Morris <rgm@gnu.org>
22432 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22433 (ange-ftp-get-files): Use it.
22435 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22437 * mail/sendmail.el (mail-recover-1, mail-recover):
22438 * files.el (recover-file, recover-session):
22439 Handle dired-listing-switches not being just a single short option.
22441 2011-06-09 Glenn Morris <rgm@gnu.org>
22443 * calendar/appt.el (appt-display-message, appt-disp-window):
22444 Handle lists of appointments.
22446 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22448 * window.el (one-window-p): Move down in code.
22449 Rewrite doc-string.
22450 (window-current-scroll-bars): Rewrite doc-string.
22451 Normalize live window argument.
22452 (walk-windows, get-window-with-predicate, count-windows):
22453 Rewrite doc-string. Use window-list-1.
22454 (window-in-direction-2, window-in-direction, get-mru-window):
22457 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22459 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22460 Doc fix (Bug#8713).
22462 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22464 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22466 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22468 * loadhist.el (unload-feature-special-hooks):
22469 Add `comint-output-filter-functions'.
22471 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22473 * calendar/appt.el (appt-check): Move some initializations into the let.
22475 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22477 * window.el (window-height): Defalias to window-total-height.
22478 (window-width): Defalias to window-body-width.
22480 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22482 * image-mode.el (image-toggle-animation): New command.
22483 (image-mode-map): Bind it to RET.
22484 (image-mode): Update message.
22485 (image-toggle-display-image): Avoid a spurious cache flush.
22486 (image-transform-rotation): Doc fix.
22487 (image-transform-properties): Return quickly in the normal case.
22488 (image-animate-loop): Rename from image-animate-max-time.
22490 * image.el (image-animate-max-time): Move to image-mode.el.
22491 (create-animated-image): Remove unnecessary function.
22492 (image-animate): Rename from image-animate-start. New arg.
22493 (image-animate-stop): Remove; just use image-animate-timer.
22494 (image-animate-timer): Use car-safe.
22495 (image-animate-timeout): Rename argument.
22497 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22499 * window.el (get-lru-window, get-largest-window): Move here from
22500 window.c. Rename first argument to ALL-FRAMES.
22501 Rephrase doc-strings.
22502 (get-buffer-window-list): Rewrite using window-list-1.
22503 Rephrase doc-string.
22504 (window-safe-min-height, window-safe-min-width): New constants.
22505 (window-size-ignore, window-min-size, window-min-size-1)
22506 (window-sizable, window-sizable-p, window-size-fixed-1)
22507 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22508 (window-max-delta-1, window-max-delta, window-resizable)
22509 (window-resizable-p, window-total-height, window-total-width)
22510 (window-body-width): New functions.
22511 (window-full-height-p, window-full-width-p): Rewrite using
22513 (window-body-height): Rewrite using window-body-size.
22515 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22517 * window.el (window-right, window-left, window-child)
22518 (window-child-count, window-last-child, window-any-p)
22519 (normalize-live-buffer, normalize-live-frame)
22520 (normalize-any-window, normalize-live-window)
22521 (window-iso-combination-p, window-iso-combined-p)
22522 (window-iso-combinations)
22523 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22524 (windows-with-parameter, window-with-parameter)
22525 (window-atom-root, make-window-atom, window-atom-check-1)
22526 (window-atom-check, window-side-check, window-check):
22528 (ignore-window-parameters, window-sides, window-sides-vertical)
22529 (window-sides-slots): New variables.
22530 (window-size-fixed): Move down in code. Minor doc-string fix.
22532 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22534 * comint.el (comint-dynamic-complete-as-filename)
22535 (comint-dynamic-complete-filename): Correctly call
22536 completion-in-region.
22538 2011-06-05 Deniz Dogan <deniz@dogan.se>
22540 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22543 2011-06-05 Deniz Dogan <deniz@dogan.se>
22545 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22546 (rcirc): Use it to prompt for encryption.
22548 2011-06-05 Roland Winkler <winkler@gnu.org>
22550 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22551 (bibtex-search-entries): New command bound to C-c C-a.
22552 (bibtex-display-entries): New function.
22554 2011-06-05 Roland Winkler <winkler@gnu.org>
22556 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22557 (bibtex-insert-kill): After yanking insert newline if necessary.
22558 (bibtex-initialize): Call bibtex-string-files-init only once.
22559 (bibtex-mode): Do not call easy-menu-add.
22560 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22561 (bibtex-yank): Set arg properly if nil.
22563 2011-06-05 Roland Winkler <winkler@gnu.org>
22565 * textmodes/bibtex.el (bibtex-search-entry-globally):
22567 (bibtex-search-entry): Use it.
22569 2011-06-05 Roland Winkler <winkler@gnu.org>
22571 * textmodes/bibtex.el (bibtex-entry-format): New option
22573 (bibtex-format-entry, bibtex-reformat): Honor this option.
22574 (bibtex-parse-entry): Return fields in proper order.
22576 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22578 * doc-view.el (doc-view-remove-if): Move computation of result out
22579 of `dolist' to silence misleading lexical-binding warning.
22581 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22583 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22584 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22586 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22588 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22591 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22593 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22594 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22595 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22596 (tramp-parse-putty):
22597 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22598 (tramp-completion-function-alist-ssh)
22599 (tramp-completion-function-alist-telnet)
22600 (tramp-completion-function-alist-su)
22601 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22604 * net/tramp-ftp.el:
22606 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22607 load "tramp.el" `tramp-set-completion-function'.
22609 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22611 * shell.el: Require and use pcomplete.
22612 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22613 (shell-completion-vars): Set pcomplete-default-completion-function.
22615 2011-06-04 Deniz Dogan <deniz@dogan.se>
22617 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22620 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22622 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22624 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22626 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22627 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22628 * vc/log-view.el (log-view-beginning-of-defun):
22629 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22630 (smerge-refine-forward, smerge-refine-chopup-region):
22631 Silence warning for unused `dotimes' counter variables.
22633 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22635 * net/tramp.el (tramp-with-progress-reporter): Rename from
22636 with-progress-reporter. Use `declare'.
22637 * net/tramp-smb.el:
22639 * net/tramp-gvfs.el: Update all uses.
22641 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22643 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22644 buffer isn't killed before making it current.
22646 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22648 Silence various byte-compiler warnings.
22649 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22650 `access-type' and new obsolescence format.
22651 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22653 (byte-compile-check-variable): New `access-type' argument.
22654 Only warn if the access-type is obsolete.
22655 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22656 (byte-compile-variable-set): Adjust callers.
22657 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22658 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22659 setting it as obsolete.
22660 * simple.el (minibuffer-completing-symbol):
22661 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22662 access as obsolete.
22663 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22665 * international/quail.el (quail-mouse-choose-completion): Remove unused
22666 code referring to obsolete var.
22667 (quail-choose-completion-string): Remove.
22668 * server.el (server-clients-with, server-kill-buffer-query-function)
22669 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22670 * proced.el (proced-send-signal):
22671 * emacs-lisp/lisp.el (lisp-complete-symbol):
22672 Replace completion-annotate-function with completion-extra-properties.
22674 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22676 * simple.el (goto-line): Use read-number.
22677 (overriding-map-is-bound): Remove.
22678 (saved-overriding-map): Change default.
22679 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22680 Take the map as argument.
22681 (universal-argument, negative-argument, digit-argument): Use it.
22682 (restore-overriding-map): Adjust.
22683 (do-auto-fill): Use fill-forward-paragraph.
22684 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22686 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22687 (minibuffer-inactive-mode): New major mode.
22688 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22689 the *Messages* buffer" hack.
22690 (mouse-popup-menubar): Don't burp if the event is a normal key.
22692 Miscellaneous tweaks.
22693 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22694 lexical scoping as in subr.el's dolist and dotimes.
22695 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22696 Silence compiler warning.
22697 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22698 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22699 * international/ccl.el (ccl-compile): Trivial simplification.
22700 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22701 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22702 `printflag' argument.
22703 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22704 Purecopy the whole obsolescence data.
22706 2011-06-01 Leo Liu <sdl.web@gmail.com>
22708 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22709 improve doc-string as suggested by Marco Pessotto
22710 <melmothx@gmail.com>.
22711 (rcirc-print): Fix last change.
22713 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22715 * minibuffer.el (complete-with-action): Return nil for the metadata and
22716 boundaries of non-functional tables.
22717 (completion-table-dynamic): Return nil for the metadata.
22718 (completion-table-with-terminator): Add default case, using
22719 complete-with-action.
22720 (completion--metadata): New function.
22721 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22722 to try and avoid pathological performance problems.
22723 (completion--embedded-envvar-table): Return `category' metadata.
22725 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22727 * subr.el (process-alive-p): New tiny convenience function.
22729 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22731 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22732 content but also its previous major mode.
22734 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22736 * emacs-lisp/debug.el (debug): Restore the previous content of the
22737 *Backtrace* buffer when we exit with C-M-c.
22739 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22741 * minibuffer.el: Add metadata method to completion tables.
22742 (completion-category-overrides): New defcustom.
22743 (completion-metadata, completion--field-metadata)
22744 (completion-metadata-get, completion--styles)
22745 (completion--cycle-threshold): New functions.
22746 (completion-try-completion, completion-all-completions):
22747 Add `metadata' argument to choose completion-styles.
22748 (completion--do-completion): Use metadata to choose cycling.
22749 (completion-all-sorted-completions): Use metadata for sorting.
22750 Remove :completion-cycle-penalty which is not needed any more.
22751 (completion--try-word-completion): Add `metadata' argument.
22752 (minibuffer-completion-help): Check metadata for annotation function
22754 (completion-file-name-table): Return `category' metadata.
22755 (minibuffer-completing-file-name): Make obsolete.
22756 * simple.el (minibuffer-completing-symbol): Make obsolete.
22757 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22758 completion-try-completion.
22760 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22762 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22764 2011-05-30 Leo Liu <sdl.web@gmail.com>
22766 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22767 (rcirc-print): Decode all incoming messages (bug#8744).
22768 (rcirc-decode-coding-system): Allow value nil for automatic coding
22771 2011-06-01 Glenn Morris <rgm@gnu.org>
22773 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22775 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22777 * image.el (image-animate-max-time): Allow nil and t values.
22779 (create-animated-image): Doc fix.
22780 (image-animate-start): Remove second arg; just use
22781 image-animate-max-time.
22782 (image-animate-timeout): Doc fix. Args changed.
22784 * image-mode.el (image-toggle-display-image): Ensure that the
22785 image spec passed to the animate timer is the same object as in
22786 the buffer's display property (Bug#6981).
22787 (image-transform-properties): Doc fix.
22789 * image.el (image-animate-max-time): Default to nil.
22791 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22793 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22794 entire buffer list (Bug#8184).
22796 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22798 * image.el (imagemagick-types-inhibit)
22799 (imagemagick-register-types): Doc fix.
22801 2011-05-29 Deniz Dogan <deniz@dogan.se>
22803 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22806 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22808 * select.el: Don't perform clipboard-manager saving in hooks;
22809 leave the hooks empty.
22811 2011-05-28 Leo Liu <sdl.web@gmail.com>
22813 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22814 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22815 (occur-edit-mode): New major mode (Bug#8463).
22816 (occur-after-change-function): New function.
22817 (occur-engine): Give Occur tags a read-only property.
22819 2011-05-28 Kevin Ryde <user42@zip.com.au>
22821 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22823 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22825 * bindings.el (help-echo): Make the initial non-indicator dash
22826 empty on graphical terminals (Bug#7295).
22828 * files.el (auto-mode-alist): Move config rule after the
22829 in-stripping one (Bug#8547).
22831 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22833 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22834 setting (Bug#8740).
22836 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22838 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22839 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22842 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22844 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22846 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22848 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22849 (hs-hide-block-at-point, hs-find-block-beginning)
22850 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22853 2011-05-28 Glenn Morris <rgm@gnu.org>
22855 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22857 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22859 * help-fns.el (describe-function-1): If the function is a derived
22860 major mode, print the parent mode.
22862 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22863 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22865 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22867 * minibuffer.el (completion--capf-wrapper): Check applicability before
22868 returning non-nil for non-exclusive completion data.
22869 * progmodes/etags.el (tags-completion-at-point-function):
22870 * info-look.el (info-lookup-completions-at-point): Mark as
22872 (info-complete): Adjust accordingly.
22874 * info-look.el: Convert to lexical-binding and completion-at-point.
22875 (info-lookup-completions-at-point): New function.
22876 (info-complete): Use it and completion-in-region.
22878 2011-05-28 Drew Adams <drew.adams@oracle.com>
22880 * isearch.el: Let M-e start with point at the first mismatched char.
22881 (isearch-fail-pos): New function.
22882 (isearch-edit-string): Use it.
22884 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22886 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22888 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22890 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22891 traversal functions for avl-trees.
22892 (avl-tree--stack): New struct.
22893 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22894 (avl-tree-enter): Add optional `updatefun' arg.
22895 (avl-tree--do-enter): Add optional `updatefun' arg.
22896 Change return value.
22897 (avl-tree-delete): Add optional `test' and `nilflag' args.
22898 (avl-tree--do-delete): Add `test' and `nilflag' args.
22899 Change return value.
22900 (avl-tree-member): Add optional `nilflag'
22901 (avl-tree-member-p): New function.
22902 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22903 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22904 (avl-tree-stack-empty-p): New functions.
22906 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22907 avl-tree--del-balance1 and make it work both ways.
22908 (avl-tree--del-balance2): Remove.
22909 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22910 make it work both ways.
22911 (avl-tree--enter-balance2): Remove.
22912 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22914 (avl-tree--mapc, avl-tree-map): Add direction argument.
22916 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22918 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22920 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22922 * select.el: Support clipboard managers with built-in function
22923 x-clipboard-manager-save, via delete-frame-functions and
22925 (xselect-convert-to-targets): Add MULTIPLE target to list.
22926 (xselect-convert-to-save-targets): New function.
22928 2011-05-27 Kenichi Handa <handa@m17n.org>
22930 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22931 let-binding rfc2047-encode-encoded-words to nil.
22933 2011-05-27 Glenn Morris <rgm@gnu.org>
22935 * mail/emacsbug.el: Don't require url-util.
22937 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22939 * files.el (set-auto-mode):
22940 Also respect mode: entries at the end of the file. (Bug#8586)
22942 2011-05-26 Glenn Morris <rgm@gnu.org>
22944 * files.el (hack-local-variables-prop-line, hack-local-variables):
22945 Downcase mode names, as seems to be traditional.
22946 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22948 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22949 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22951 2011-05-25 Julien Danjou <julien@danjou.info>
22953 * textmodes/rst.el (rst-define-level-faces): Do not define face
22954 symbol if it is already defined.
22956 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22958 * play/5x5.el (5x5-new-game, 5x5-randomize):
22959 Reset 5x5-solver-output to nil when a new grid is cast.
22960 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22961 these debugging traces, as defmacro breaks the compiled code.
22963 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22965 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22967 2011-05-24 Leo Liu <sdl.web@gmail.com>
22969 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22970 (vc-bzr-sha1): Adapt.
22972 * sha1.el: Remove. Function `sha1' is now builtin.
22974 * bindings.el: Provide sha1 feature.
22976 2011-05-24 Kenichi Handa <handa@m17n.org>
22978 * mail/sendmail.el: Require `rfc2047'.
22979 (mail-insert-from-field): Do not perform RFC2047 encoding.
22980 (mail-encode-header): New function.
22981 (sendmail-send-it): Set buffer-file-coding-system of the work
22982 buffer to the return value of select-message-coding-system.
22983 Call mail-encode-header.
22985 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22987 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22989 * mail/supercite.el (sc-default-cite-frame):
22990 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22992 2011-05-24 Glenn Morris <rgm@gnu.org>
22994 * progmodes/python.el (brm-menu): Declare.
22996 * emulation/viper.el (viper-set-hooks): Declare.
22998 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22999 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23000 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23001 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23002 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23003 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23005 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23007 Add an :exit-function for completion-at-point.
23009 * minibuffer.el (completion--done): New fun.
23010 (completion--do-completion): Use it. New arg `expect-exact'.
23011 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23012 since completion--do-completion does it for us now.
23013 (minibuffer-force-complete): Use completion--done and
23014 completion--replace. Handle sole-completion case with more care.
23015 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23016 (completion-extra-properties): New var.
23017 (completion-annotate-function): Make obsolete.
23018 (minibuffer-completion-help): Adjust accordingly.
23019 Use completion-list-insert-choice-function.
23020 (completion-at-point, completion-help-at-point):
23021 Bind completion-extra-properties.
23022 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23023 * simple.el (completion-list-insert-choice-function): New var.
23024 (completion-setup-function): Preserve it.
23025 (choose-completion): Pay attention to it, shuffle the code a bit.
23026 (choose-completion-string): New arg `insert-function'.
23028 * textmodes/bibtex.el: Convert to lexical binding.
23029 (bibtex-mode-map): Use completion-at-point.
23030 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23031 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23032 (bibtex-complete): Define as obsolete alias.
23033 (bibtex-complete-internal): Remove.
23034 (bibtex-format-entry): Remove unused sub-group in regexp.
23035 * shell.el (shell--command-completion-data)
23036 (shell-environment-variable-completion):
23037 * pcomplete.el (pcomplete-completions-at-point):
23038 * comint.el (comint--complete-file-name-data): Use :exit-function
23039 instead of completion-table-with-terminator so it also works for
23042 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23044 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23046 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23049 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23051 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23053 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23054 customization variable and implement: If non-nil, auto-fill will
23055 be inhibited while on topic's header line.
23057 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23059 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23060 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23061 always have a solution in grid size = 5 cases.
23062 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23063 (5x5-solver-output, 5x5-log-buffer): New vars.
23064 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23065 Make these variables buffer local to achieve 5x5 multi-session-ness.
23066 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23067 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23068 (5x5-solve-suggest): New funs.
23069 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23070 randomize a grid so that we ensure that there is always a solution.
23071 (5x5-make-random-grid): Allow other movement than flipping.
23073 2011-05-23 Kevin Ryde <user42@zip.com.au>
23075 * emacs-lisp/advice.el (ad-read-advised-function):
23076 Use `function-called-at-point' as the default, if it has
23077 advice and passes PREDICATE.
23079 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23081 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23082 byte-compile-lambda if it's actually a lambda.
23084 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23085 Fix function quoting. Use backquote better.
23087 2011-05-22 Yuanle Song <sylecn@gmail.com>
23089 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23090 matching (Bug#8516).
23092 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23094 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23095 different face (Bug#8178).
23097 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23099 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23100 defface (Bug#8144).
23102 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23104 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23105 funcall as well (bug#8712). Warn when performing those conversions.
23106 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23108 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23110 2011-05-22 Glenn Morris <rgm@gnu.org>
23112 * files.el (hack-local-variables-prop-line): Small simplifications.
23113 (hack-local-variables, hack-local-variables-prop-line):
23114 If MODE-ONLY, return the mode, rather than just `t'.
23116 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23118 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23120 2011-05-21 Glenn Morris <rgm@gnu.org>
23122 * files.el (hack-local-variables-prop-line, hack-local-variables):
23123 If only interested in the mode, don't bother doing the other stuff.
23125 * image-mode.el (image-after-revert-hook):
23126 Redraw all frames on which the image is visible. (Bug#8567)
23128 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23130 * wid-edit.el (widget-checklist-match-inline):
23131 Fix 2011-04-19 change. (Bug#8649)
23133 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23135 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23136 Also allow singlespace after single-letter capitals followed by a dot.
23138 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23139 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23141 2011-05-20 Nix <nix@esperi.org.uk>
23143 * files.el (basic-save-buffer-2):
23144 Fix handling of break-hardlink-on-save with non-existent files.
23146 2011-05-19 Deniz Dogan <deniz@dogan.se>
23148 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23149 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23151 2011-05-19 Glenn Morris <rgm@gnu.org>
23153 * progmodes/f90.el (f90-type-def-re):
23154 Handle "type, bind(c)". (Bug#8691)
23156 * emacs-lisp/autoload.el (batch-update-autoloads):
23157 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23159 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23161 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23162 property for the correct connection in case of multihops.
23164 2011-05-18 Glenn Morris <rgm@gnu.org>
23166 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23167 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23169 Rationalize calendar handling of day and month abbrev-arrays.
23170 * calendar/calendar.el (calendar-customized-p): New function.
23171 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23172 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23174 (calendar-abbrev-length, calendar-day-abbrev-array)
23175 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23176 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23177 Elements may no longer be nil.
23178 (calendar-day-name, calendar-month-name):
23179 Update for changed nature of abbrev arrays.
23180 * calendar/diary-lib.el (diary-name-pattern):
23181 Update for changed nature of abbrev arrays.
23182 (diary-mark-entries-1): Update calendar-make-alist calls.
23183 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23184 * calendar/cal-html.el (cal-html-day-abbrev-array):
23185 Simply inherit from calendar-day-abbrev-array.
23187 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23189 * progmodes/grep.el (grep-mode): Disable default
23190 compilation-directory-matcher setting (bug#8684).
23192 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23194 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23195 instead of "head" and "tail". There were problems with SunOS 5.9,
23196 and it performs better.
23198 2011-05-17 Glenn Morris <rgm@gnu.org>
23200 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23202 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23203 Replace obsolete function.
23205 * shell.el (pcomplete-parse-arguments-function): Declare.
23207 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23208 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23209 (appt-check): Doc fixes.
23210 (appt-disp-window-function, appt-delete-window-function):
23211 Remove needless special case in custom :type.
23212 (appt-display-count): Default to 0, not nil.
23213 (appt-check): Reset appt-display-count to 0, not nil.
23215 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23217 * progmodes/python.el (python-font-lock-keywords):
23218 Add the Python 3.X keyword "nonlocal" (bug#8639).
23220 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23222 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23224 2011-05-16 Kevin Ryde <user42@zip.com.au>
23226 * info-look.el (makefile-automake-mode): New setups, looking in
23227 automake manual, then makefile-mode.
23228 (makefile-mode): Remove automake manual, have it just in
23229 makefile-automake-mode since there's various things different or
23230 not relevant to plain make.
23231 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23232 believe a hypothetical automake-mode would go to makefile-mode,
23233 not the other way around.
23235 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23237 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23238 hunk-end tags (Bug#8672).
23240 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23241 vc-annotate-show-diff-revision-at-line (Bug#8671).
23243 2011-05-14 Glenn Morris <rgm@gnu.org>
23245 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23246 in the middle of an existing one with multiple authors. (Bug#8645)
23247 (change-log-font-lock-keywords): Also handle multiple author lines
23248 with leading tabs. (Bug#8644)
23250 * calendar/appt.el (appt-check): Rename some local variables.
23251 Some simplification/reordering.
23253 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23254 (feedmail-sendmail-f-doesnt-sell-me-out)
23255 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23256 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23257 (feedmail-queue-runner-message-sender): Set :version.
23258 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23259 (bbdb-dwim-net-address, vm-mail): Declare.
23260 (feedmail-binmail-gnulinuxish-template):
23261 Rename from feedmail-binmail-linuxish-template.
23262 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23263 Use insert-buffer-substring.
23265 2011-05-14 Bill Carpenter <bill@carpenter.org>
23267 * mail/feedmail.el (feedmail-patch-level): Increase.
23268 (feedmail-debug): New custom group.
23269 (feedmail-confirm-outgoing-timeout)
23270 (feedmail-sendmail-f-doesnt-sell-me-out)
23271 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23272 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23273 (feedmail-sender-line, feedmail-from-line)
23274 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23275 (feedmail-spray-this-address)
23276 (feedmail-spray-address-fiddle-plex-list)
23277 (feedmail-queue-use-send-time-for-date)
23278 (feedmail-queue-use-send-time-for-message-id)
23279 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23280 (feedmail-buffer-eating-function):
23282 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23283 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23284 (feedmail-message-action-scroll-down): New functions.
23285 (feedmail-queue-directory, feedmail-queue-draft-directory):
23286 Use expand-file-name.
23287 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23288 Remove C-v help entry.
23289 (feedmail-queue-buffer-file-name): New variable.
23290 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23291 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23292 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23293 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23294 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23295 (feedmail-message-action-toggle-spray)
23296 (feedmail-run-the-queue-no-prompts)
23297 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23298 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23299 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23300 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23301 (feedmail-envelope-deducer, feedmail-fiddle-from)
23302 (feedmail-fiddle-sender, feedmail-default-date-generator)
23303 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23304 (feedmail-fiddle-spray-address)
23305 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23306 (feedmail-fiddle-list-of-fiddle-plexes)
23307 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23308 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23309 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23310 Change default. Doc fix.
23311 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23312 (feedmail-binmail-linuxish-template): New constant.
23313 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23314 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23315 (feedmail-send-it): Add debug call.
23316 Use feedmail-queue-buffer-file-name, and
23317 feedmail-send-it-immediately-wrapper.
23318 (feedmail-message-action-send): Add debug call.
23319 Use feedmail-send-it-immediately-wrapper.
23320 (feedmail-queue-express-to-queue): Add debug call.
23321 Run feedmail-queue-express-hook.
23322 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23323 (feedmail-message-action-help-blat):
23324 Rename from feedmail-queue-send-edit-prompt-help-first.
23325 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23326 Check line-endings. Handle errors better.
23327 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23328 Doc fix. Add debug call.
23329 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23330 Use feedmail-queue-send-edit-prompt-inner.
23331 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23332 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23333 from feedmail-queue-send-edit-prompt.
23334 (feedmail-queue-send-edit-prompt-help)
23335 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23336 (feedmail-tidy-up-slug): Add debug call.
23337 Respect feedmail-queue-slug-suspect-regexp.
23338 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23339 (feedmail-dump-message-to-queue): Add debug call.
23340 Expand queue-directory.
23341 (feedmail-dump-message-to-queue): Change message slightly.
23342 Use feedmail-say-chatter.
23343 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23344 (feedmail-send-it-immediately-wrapper): New function.
23345 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23346 Insert empty string rather than newline. Handle full-frame case.
23347 Use catch/throw. Use feedmail-say-chatter.
23348 (feedmail-fiddle-from): Try mail-host-address.
23349 (feedmail-default-message-id-generator): Doc fix.
23350 Bind system-time-locale. Handle missing end.
23351 (feedmail-fiddle-x-mailer): Add debug call.
23352 Handle feedmail-x-mailer-line being nil.
23353 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23354 Add debug call. Use buffer-substring-no-properties.
23355 (feedmail-say-debug, feedmail-say-chatter): New functions.
23356 (feedmail-find-eoh): Give an explicit error.
23358 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23360 * net/newst-treeview.el (newsticker-treeview-face): Change default
23361 family from helvetica to sans.
23362 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23363 etc/images/newsticker.
23365 * net/newst-reader.el (newsticker-feed-face): Change default
23366 family from helvetica to sans.
23368 * net/newst-plainview.el (newsticker-new-item-face)
23369 (newsticker-old-item-face, newsticker-immortal-item-face)
23370 (newsticker-obsolete-item-face, newsticker-date-face)
23371 (newsticker-statistics-face): Change default family from
23373 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23374 etc/images/newsticker.
23376 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23377 (newsticker--process-auto-mark-filter-match): Tell user about
23380 2011-05-13 Didier Verna <didier@xemacs.org>
23382 Common Lisp indentation improvements on defmethod and lambda-lists.
23383 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23385 (lisp-lambda-list-keyword-parameter-indentation)
23386 (lisp-lambda-list-keyword-parameter-alignment)
23387 (lisp-lambda-list-keyword-alignment): New customizable user options.
23388 (lisp-indent-defun-method): Improve docstring.
23389 (extended-loop-p): Fix comment.
23390 (lisp-indent-lambda-list-keywords-regexp): New variable.
23391 (lisp-indent-lambda-list): New function.
23392 (lisp-indent-259): Use it.
23393 (lisp-indent-defmethod): Support for more than one
23394 method qualifier and properly indent methods lambda-lists.
23395 (defgeneric): Provide a missing common-lisp-indent-function property.
23397 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23399 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23400 bounds for the empty string (bug#8667).
23402 2011-05-13 Glenn Morris <rgm@gnu.org>
23404 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23406 * mail/sendmail.el (sendmail-program): Try executable-find first.
23407 (sendmail-send-it): `sendmail-program' cannot be unbound.
23409 * calendar/appt.el (appt-make-list): Simplify.
23410 (appt-time-msg-list): Doc fix.
23411 (appt-check): Change mode-line message at the time of the appointment.
23413 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23415 * progmodes/ld-script.el (ld-script-keywords)
23416 (ld-script-builtins): Update keywords list.
23418 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23420 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23422 * shell.el (shell-completion-vars): New function.
23424 * simple.el (read-shell-command): Use it.
23425 (blink-matching-open): No need for " [...]" in minibuffer-message.
23427 2011-05-12 Glenn Morris <rgm@gnu.org>
23429 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23430 (appt-check): Simplify.
23432 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23434 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23435 literal "/dev/null".
23437 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23439 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23442 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23444 * progmodes/which-func.el (which-function):
23445 Use add-log-current-defun instead of add-log-current-defun-function,
23446 which might not be defined (Bug#8260).
23448 2011-05-12 Glenn Morris <rgm@gnu.org>
23450 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23451 Let byte-compile-initial-macro-environment always take precedence.
23453 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23455 * net/rcirc.el: Add support for SSL/TLS connections.
23456 (rcirc-server-alist): New field `encryption'.
23457 (rcirc): Check `encryption' settings.
23458 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23459 Merge make-local-variable into `set'.
23460 (rcirc--connection-open-p): New function.
23461 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23462 the process is not a network process (e.g. running gnutls-cli).
23463 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23464 Make rcirc-(en|de)code-coding-system local here.
23465 (rcirc-mode): Merge make-local-variable into `set'.
23466 (rcirc-parent-buffer): Make permanent buffer-local.
23467 (rcirc-multiline-minor-mode): Don't do it here.
23468 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23469 there's no server buffer.
23471 2011-05-11 Glenn Morris <rgm@gnu.org>
23473 * newcomment.el (comment-kill): Prefix "unused" local.
23475 * term/w32console.el (get-screen-color): Declare.
23477 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23478 Handle symbol elements of byte-compile-initial-macro-environment.
23480 2011-05-10 Leo Liu <sdl.web@gmail.com>
23482 * bookmark.el (bookmark-bmenu-mode-map):
23483 Bind bookmark-bmenu-search to `/'.
23485 * mail/footnote.el: Convert to utf-8 encoding.
23486 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23487 (Footnote-unicode): New function.
23488 (footnote-style-alist): Add unicode style to the list.
23489 (footnote-style): Doc fix.
23491 2011-05-10 Jim Meyering <meyering@redhat.com>
23493 Fix doubled-word typos.
23494 * international/quail.el (quail-insert-kbd-layout): and and -> and
23495 * kermit.el: and and -> and
23496 * net/ldap.el (ldap-search-internal): to to -> to
23497 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23498 * progmodes/js.el (js-mode): and and -> and
23499 * textmodes/artist.el (artist-move-to-xy): at at -> at
23500 (artist-draw-region-trim-line-endings): if if -> if
23501 And Safetyc -> Safety.
23502 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23504 2011-05-10 Glenn Morris <rgm@gnu.org>
23505 Stefan Monnier <monnier@iro.umontreal.ca>
23507 * files.el (hack-one-local-variable-eval-safep):
23508 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23510 2011-05-10 Glenn Morris <rgm@gnu.org>
23512 * calendar/diary-lib.el (diary-list-entries-hook)
23513 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23514 (diary-nongregorian-marking-hook, diary-list-entries)
23515 (diary-include-other-diary-files, diary-mark-entries)
23516 (diary-mark-included-diary-files): Doc fixes.
23518 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23520 * misc.el: Require tabulated-list.el during compilation.
23522 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23524 * progmodes/compile.el (compilation-start):
23525 Run compilation-filter-hook for the async case too.
23526 (compilation-filter-hook): Doc fix.
23528 2011-05-09 Deniz Dogan <deniz@dogan.se>
23530 * wdired.el: Remove outdated installation comment. Fix usage
23533 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23535 * misc.el: Implement new command `list-dynamic-libraries'.
23536 (list-dynamic-libraries--loaded-only-p): New variable.
23537 (list-dynamic-libraries--refresh): New function.
23538 (list-dynamic-libraries): New command.
23540 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23542 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23543 Fix the ant regexp to handle end-line and end-column info from jikes.
23544 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23545 higher priority to avoid clobbering by gnu.
23547 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23549 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23550 if the face has existing theme settings (Bug#8454).
23552 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23554 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23555 Only match variables declared via `my' or `our' (Bug#8261).
23557 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23558 special file names `.' and `..' (Bug#8259).
23560 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23562 * progmodes/grep.el (grep-mode-font-lock-keywords):
23563 Remove buffer-changing entries.
23564 (grep-filter): New function.
23565 (grep-mode): Add it to compilation-filter-hook.
23567 * progmodes/compile.el (compilation-filter-hook)
23568 (compilation-filter-start): New defvars.
23569 (compilation-filter): Call compilation-filter-hook prior to
23570 updating the process mark.
23572 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23574 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23576 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23578 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23579 mailclient-send-it even if window-system is nil. (Bug#8595)
23581 * term/w32console.el (terminal-init-w32console):
23582 Call get-screen-color and use its output to set the frame
23583 background-mode. (Bug#8597)
23585 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23587 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23588 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23590 (defgeneric, eieio--defmethod): Use them.
23591 (eieio-defgeneric): Remove.
23592 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23594 2011-05-07 Glenn Morris <rgm@gnu.org>
23596 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23597 Use let rather than let*.
23598 (timeclock-find-discrep): Remove unused local.
23600 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23602 * calendar/appt.el (appt-time-msg-list): Doc fix.
23604 2011-05-06 Noah Friedman <friedman@splode.com>
23606 * apropos.el (apropos-print-doc): Only use
23607 emacs-lisp-docstring-fill-column when it is bound to an integer,
23608 per that variable's documentation.
23610 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23612 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23613 and warnings are not silently discarded (e.g. use -d instead of -P).
23615 2011-05-06 Glenn Morris <rgm@gnu.org>
23617 * calendar/appt.el (appt-message-warning-time): Doc fix.
23618 (appt-warning-time-regexp): New option.
23619 (appt-make-list): Respect appt-message-warning-time.
23621 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23623 (diary-add-to-list): Strip comments from the displayed string.
23624 (diary-mode): Set comment-start and comment-end.
23626 * vc/diff-mode.el (smerge-refine-subst): Declare.
23627 (diff-refine-hunk): Don't require smerge-mode when compiling.
23629 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23631 * simple.el (list-processes): Return nil as the docstring says.
23633 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23635 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23637 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23638 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23639 determining of binary transfer. (Bug#7383)
23641 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23644 Fix port computation bug. (Bug#8618)
23646 2011-05-05 Glenn Morris <rgm@gnu.org>
23648 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23650 * simple.el (shell-dynamic-complete-functions)
23651 (comint-dynamic-complete-functions): Declare.
23653 * net/network-stream.el (gnutls-negotiate):
23654 * simple.el (tabulated-list-print): Fix declarations.
23656 * progmodes/gud.el (syntax-symbol, syntax-point):
23657 Remove unnecessary and incorrect declarations.
23659 * emacs-lisp/check-declare.el (check-declare-scan):
23660 Handle byte-compile-initial-macro-environment in bytecomp.el.
23662 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23664 Fix earlier half-done eieio-defmethod change (bug#8338).
23665 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23666 Streamline and change calling convention.
23667 (defmethod): Adjust accordingly and simplify.
23668 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23669 new eieio--defmethod.
23670 (slot-boundp): Minor CSE simplification.
23672 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23674 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23675 (glasses-make-readable): Use glasses-separate-capital-groups.
23677 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23679 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23680 (warning-series): Doc fix.
23681 (display-warning): Don't try to create the buffer if we just found it.
23683 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23685 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23686 (autoload-find-generated-file): New function.
23687 (generate-file-autoloads): Bind generated-autoload-file to
23689 (update-file-autoloads, update-directory-autoloads):
23690 Use autoload-find-generated-file. If called interactively, prompt for
23691 output file (Bug#7989).
23692 (batch-update-autoloads): Doc fix.
23694 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23696 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23698 2011-05-04 Glenn Morris <rgm@gnu.org>
23700 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23701 function, so it follows changes in calendar-date-style.
23702 (diary-fancy-date-matcher): New function.
23703 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23704 (diary-fancy-font-lock-fontify-region-function):
23705 Use diary-fancy-date-pattern as a function.
23707 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23708 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23710 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23712 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23713 instead of positional arguments. Allow :keylist and :crlfiles
23715 (open-gnutls-stream): Call it.
23717 * net/network-stream.el (network-stream-open-starttls): Adjust to
23718 call `gnutls-negotiate' with :process and :hostname arguments.
23720 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23722 * minibuffer.el (completion--message): New function.
23723 (completion--do-completion, minibuffer-complete)
23724 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23725 (completion--do-completion): Don't ignore completion-auto-help when in
23728 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23729 internal encoding (e.g. tibetan zero is not whitespace).
23730 (global-whitespace-mode): Prefer save-current-buffer.
23731 (whitespace-trailing-regexp): Remove useless save-match-data.
23732 (whitespace-empty-at-bob-regexp): Minor simplification.
23734 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23736 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23738 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23740 * textmodes/ispell.el (ispell-add-per-file-word-list):
23741 Use `concat' to create string for insertion.
23743 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23745 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23746 Avoid open-line which runs post-self-insert-hook.
23747 (bibtex-fill-entry): Remove unused `end' var.
23749 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23751 * textmodes/ispell.el (ispell-add-per-file-word-list):
23752 Protect against `nil' value of `comment-start' (Bug#8579).
23754 2011-05-03 Leo Liu <sdl.web@gmail.com>
23756 * isearch.el (isearch-yank-pop): New command.
23757 (isearch-mode-map): Bind it to `M-y'.
23758 (isearch-forward): Mention it.
23760 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23762 * simple.el (minibuffer-complete-shell-command): Remove.
23763 (minibuffer-local-shell-command-map): Use completion-at-point.
23764 (read-shell-command): Setup completion vars here instead.
23765 (read-expression-map): Bind TAB to symbol completion.
23767 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23768 error directly rather via storing it into `results'.
23770 2011-05-02 Leo Liu <sdl.web@gmail.com>
23772 * vc/diff.el: Fix description.
23774 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23776 * server.el (server-eval-at): New function.
23778 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23780 * net/network-stream.el (open-network-stream): Take a :nowait
23781 parameter and pass it on to `make-network-process'.
23782 (network-stream-open-plain): Ditto.
23784 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23786 * faces.el (face-spec-set-match-display): Don't match toolkit
23787 options on terminal frames.
23789 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23791 * progmodes/pascal.el: Use lexical binding.
23792 (pascal-mode-map): Remove author preferences.
23794 * pcomplete.el (pcomplete-std-complete): Don't abuse
23795 completion-at-point.
23797 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23799 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23800 removing code that has been dead since 1991 or so.
23802 * startup.el (command-line): When warning about "_emacs", use a
23803 delayed warning to allow the user to filter it out.
23805 2011-04-28 Deniz Dogan <deniz@dogan.se>
23807 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23808 user has not joined.
23810 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23812 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23813 aren't any completions at point.
23815 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23817 * subr.el (display-delayed-warnings): New function.
23818 (delayed-warnings-hook): New variable.
23820 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23822 * minibuffer.el (completion-at-point, completion-help-at-point):
23823 Don't presume that a given completion-at-point-function will always
23824 use the same calling convention.
23826 * pcomplete.el (pcomplete-completions-at-point):
23827 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23828 pcomplete-seen is non-nil.
23829 (pcomplete-comint-setup): Also recognize the new comint/shell
23830 completion functions.
23831 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23832 pcomplete-seen is non-nil.
23834 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23836 * calendar/icalendar.el (diary-lib): Add require statement.
23837 (icalendar--create-uid): Read out a uid from a text-property on
23838 the first character in the entry. This allows for code to add its
23839 own uid to the entry.
23840 (icalendar--convert-float-to-ical): Add export of
23841 `diary-float'-entries save for those with the optional DAY
23844 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23846 * subr.el (shell-quote-argument): Use alternate escaping strategy
23847 when we spot a variable reference in a string.
23849 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23851 * cus-start.el (all): Define customization for debug-on-event.
23853 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23855 * subr.el (shell-quote-argument): Escape correctly under Windows.
23857 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23859 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23861 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23863 * net/tramp.el (tramp-process-actions): Add POS argument.
23864 Delete region between POS and (pos).
23866 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23867 Use `nil' position in `tramp-process-actions' call.
23868 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23870 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23871 position in `tramp-process-actions' call.
23873 * net/trampver.el: Update release number.
23875 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23877 * custom.el (defcustom): Obey lexical-binding.
23879 Fix octave-inf completion problems reported by Alexander Klimov.
23880 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23881 Inherit from octave-mode-syntax-table.
23882 (inferior-octave-mode): Set info-lookup-mode.
23883 (inferior-octave-completion-at-point): New function.
23884 (inferior-octave-complete): Use it and completion-in-region.
23885 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23886 comint-filename-completion.
23887 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23888 symbol elements which shouldn't be word elements.
23889 (octave-font-lock-keywords, octave-beginning-of-defun)
23890 (octave-function-header-regexp): Adjust regexps accordingly.
23891 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23893 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23895 * net/gnutls.el (gnutls-errorp): Declare before first use.
23897 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23899 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23900 verify-error, and verify-hostname-error parameters. Check whether
23901 default trustfile exists before going to use it. Add missing
23902 argument to gnutls-message-maybe call. Return value.
23903 Reported by Claudio Bley <claudio.bley@gmail.com>.
23904 (open-gnutls-stream): Add usage example.
23906 * net/network-stream.el (network-stream-open-starttls): Give host
23907 parameter to `gnutls-negotiate'.
23908 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23909 * subr.el (shell-quote-argument): Escape correctly under Windows.
23911 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23914 Use correct match group (bug#8438).
23916 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23918 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23919 (package-menu--generate): New arg specifying packages to show.
23920 (package-menu-refresh, package-menu-execute, list-packages):
23922 (package-show-package-list): New function, replacing deleted
23923 package--list-packages (renamed because it is non-internal).
23925 * finder.el (finder-list-matches): Use package-show-package-list
23926 instead of deleted package--list-packages.
23928 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23929 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23930 (vc-annotate-mode-map): Bind it to RET.
23932 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23934 * progmodes/etags.el (next-file): Don't use set-buffer to change
23935 buffers (Bug#8478).
23937 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23939 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23941 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23942 (apropos-accumulator): Doc fix.
23943 (apropos-function, apropos-macro, apropos-command)
23944 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23945 (apropos-plist): Add face property.
23946 (apropos-symbols-internal): Fix indentation.
23947 (apropos-print): Simplify help, and recognize apropos-multi-type.
23948 (apropos-print-doc): Use button-type-get to extract the button's
23949 face property. Fill docstring (Bug#8352).
23951 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23953 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23955 * play/mpuz.el (mpuz-silent): Doc fix.
23956 (mpuz-mode-map): Use mapc.
23957 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23958 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23959 Fix typos in docstrings.
23961 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23962 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23964 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23966 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23968 * minibuffer.el (completion--do-completion): Avoid the "Next char
23969 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23971 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23972 mouse-2 into unread-command-events, it is interpreted correctly.
23974 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23975 (image-toggle-display): Doc fix.
23977 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23979 * textmodes/page.el (what-page): Use line-number-at-pos to
23980 calculate line number (Bug#6825).
23982 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23984 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23985 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23986 Pass argument NO-DEFAULT to `find-tag-interactive'.
23988 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23990 Lexical-binding cleanup.
23992 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23993 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23994 * progmodes/ada-prj.el (ada-prj-initialize-values)
23995 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23996 (ada-prj-show-value):
23997 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23998 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23999 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24000 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24001 * progmodes/bug-reference.el (bug-reference-push-button):
24002 * progmodes/fortran.el (fortran-line-length):
24003 * progmodes/glasses.el (glasses-change):
24004 * progmodes/octave-mod.el (octave-fill-paragraph):
24005 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24006 (python-pdbtrack-grub-for-buffer, python-sentinel):
24007 * progmodes/sql.el (sql-save-connection):
24008 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24009 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24010 Mark unused parameters.
24012 * progmodes/compile.el (compilation--flush-directory-cache)
24013 (compilation--flush-parse, compile-internal): Mark unused parameters.
24014 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24015 (compilation-next-error-function): Remove unused variable `timestamp'.
24017 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24018 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24020 * progmodes/dcl-mode.el (dcl-end-of-command):
24021 Remove unused variable `start'.
24022 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24023 (dcl-option-value-basic, dcl-option-value-offset)
24024 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24025 Mark unused parameters.
24026 (dcl-save-local-variable): Remove unused variable `val'.
24029 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24030 Mark unused parameters.
24031 (delphi-ignore-changes): Move before first use.
24032 (delphi-charset-token-at): Remove unused variable `start'.
24033 (delphi-else-start): Remove unused variable `if-count'.
24034 (delphi-comment-block-start, delphi-comment-block-end):
24035 Remove unused variable `kind'.
24036 (delphi-indent-line): Remove unused variable `new-point'.
24038 * progmodes/ebrowse.el (ebrowse-files-list)
24039 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24040 Mark unused parameters. Don't quote `lambda'.
24041 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24042 Don't quote `lambda'.
24043 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24044 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24045 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24046 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24047 Use `ignore-errors'.
24048 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24049 (ebrowse-view/find-file-and-search-pattern)
24050 (ebrowse-view/find-member-declaration/definition):
24051 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24052 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24053 Rename parameter PREFIX-ARG to PREFIX.
24054 (ebrowse-tags-read-name): Remove unused variables `start' and
24056 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24059 * progmodes/etags.el (local-find-tag-hook): Declare.
24060 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24061 Mark unused parameters.
24063 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24064 (executable-interpret): Mark unused parameter.
24066 * progmodes/flymake.el (flymake-process-sentinel)
24067 (flymake-after-change-function)
24068 (flymake-create-temp-with-folder-structure)
24069 (flymake-get-include-dirs-dot): Mark unused parameters.
24070 (flymake-safe-delete-directory): Remove unused variable `err'.
24072 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24073 (speedbar-timer-fn, speedbar-line-text)
24074 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24075 (speedbar-center-buffer-smartly): Declare functions.
24076 (gdb-find-watch-expression): Remove unused variable `array'.
24077 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24078 (gdb-starting): Mark unused parameters.
24079 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24080 (gdb-table-string): Remove unused variable `res'.
24081 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24082 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24083 (gdb-display-buffer): Remove unused variable `cur-size'.
24085 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24086 allow lexical-binding compilation.
24087 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24088 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24089 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24090 Mark unused parameters.
24091 (gud-gdb-marker-filter): Remove unused variable `match'.
24092 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24093 lambda expressions and funcall them, instead of using `fset'.
24095 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24096 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24098 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24099 variable `header-beg'; use `let'.
24101 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24102 `restart', `last-sexp' and `at-do'.
24104 * progmodes/js.el (js--debug): Mark unused parameter.
24105 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24106 (js--splice-into-items): Remove unused variable `item'.
24107 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24109 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24110 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24111 (makefile-complete): Remove unused variable `try'.
24112 (makefile-fill-paragraph, makefile-match-function-end):
24113 Mark unused parameters.
24115 * progmodes/octave-inf.el (inferior-octave-complete):
24116 Remove unused variable `proc'.
24117 (inferior-octave-output-digest): Mark unused parameter.
24119 * progmodes/perl-mode.el (perl-calculate-indent):
24120 Remove unused variable `err'.
24122 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24123 (prolog-indent-line): Mark unused parameters.
24124 (prolog-indent-line): Remove unused variable `beg'.
24126 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24127 (reporter-dont-compact-list): Declare.
24129 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24130 Remove unused variable `char'.
24131 (sh-debug): Mark unused parameter.
24132 (sh-get-indent-info): Remove unused variable `start'.
24133 (sh-calculate-indent): Remove unused variable `var'.
24135 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24136 (simula-electric-keyword): Remove unused variable `null'.
24137 (simula-search-backward, simula-search-forward): Remove unused
24138 variables `begin' and `end'.
24140 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24141 Remove unused variable `pos'.
24142 (vera-electric-tab, vera-comment-uncomment-region):
24143 Mark unused parameters.
24144 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24146 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24148 * emacs-lisp/package.el (package--builtins, package-alist)
24149 (package-load-descriptor, package-built-in-p, package-activate)
24150 (define-package, package-installed-p)
24151 (package-compute-transaction, package-buffer-info)
24152 (package--push): Doc fix. Distinguish more clearly between
24153 version strings and version lists.
24155 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24157 Lexical-binding cleanup.
24159 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24160 (5x5-make-mutate-best):
24161 * play/fortune.el (fortune-in-buffer):
24162 * play/gomoku.el (gomoku-init-display):
24163 * play/solitaire.el (solitaire, solitaire-do-check):
24164 * play/tetris.el (tetris-default-update-speed-function):
24165 Mark unused parameters.
24167 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24168 (bubbles--shift): Remove unused variable `char-org'.
24169 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24170 (bubbles--show-images): Remove unused variable `char'.
24172 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24173 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24174 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24175 (decipher-analyze-buffer): Use ?\s.
24176 (decipher-make-checkpoint): Remove unused variable `mapping'.
24178 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24180 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24181 Remove unused variable `result'; use `let'.
24183 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24184 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24185 (gametree-children-shown-p, gametree-compute-reduced-score):
24186 Use `ignore-errors'.
24188 * play/handwrite.el (ps-lpr-switches): Declare.
24189 (handwrite): Remove unused variables `pmin' and `lastp'.
24191 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24193 * play/landmark.el (landmark-init-display)
24194 (landmark-update-naught-weights): Mark unused parameters.
24195 (landmark-y): Remove unused variable `noise'. Simplify.
24196 (landmark-human-plays): Remove unused variable `score'.
24198 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24199 (mpuz-try-proposal): Remove unused variable `game'.
24201 * play/zone.el (life-patterns): Declare.
24203 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24205 * vc/vc.el (ediff-vc-internal): Declare function.
24207 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24209 * shell.el: Use lexical-binding and std completion UI.
24210 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24211 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24212 comint-preoutput-filter-functions rather than on
24213 comint-output-filter-functions.
24214 (shell-command-completion, shell--command-completion-data)
24215 (shell-filename-completion, shell-environment-variable-completion)
24216 (shell-c-a-p-replace-by-expanded-directory): New functions.
24217 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24218 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24219 (shell-dynamic-complete-environment-variable): Use them.
24220 (shell-dynamic-complete-as-environment-variable)
24221 (shell-dynamic-complete-as-command): Remove.
24222 (shell-match-partial-variable): Match past point.
24223 * comint.el: Clean up use of completion-at-point-functions.
24224 (comint-completion-at-point): New function.
24225 (comint-mode): Use it completion-at-point-functions.
24226 (comint-dynamic-complete): Make it obsolete.
24227 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24228 (comint-c-a-p-replace-by-expanded-history): New function.
24229 (comint-dynamic-complete-functions)
24230 (comint-replace-by-expanded-history): Use it.
24231 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24232 termination strings. Try harder to avoid second try-completion.
24233 (completion-in-region-mode-map): Disable bindings that don't work yet.
24235 * comint.el: Use lexical-binding. Require CL.
24236 (comint-dynamic-complete-functions): Use comint-filename-completion.
24237 (comint-completion-addsuffix): Tweak custom type.
24238 (comint-filename-completion, comint--common-suffix)
24239 (comint--common-quoted-suffix, comint--table-subvert)
24240 (comint--complete-file-name-data): New functions.
24241 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24242 (comint-dynamic-list-filename-completions): Use them.
24243 (comint-dynamic-simple-complete): Make obsolete.
24245 * minibuffer.el (completion-in-region-mode):
24246 Keep completion-in-region-mode--predicate global.
24247 (completion-in-region--postch):
24248 Assume completion-in-region-mode--predicate is not null.
24250 * progmodes/flymake.el (flymake-start-syntax-check-process):
24251 Obey `dir'. Simplify.
24253 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24254 we're in VC after all.
24256 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24258 * vc/vc.el (vc-diff-build-argument-list-internal)
24259 (vc-version-ediff, vc-ediff): New commands.
24260 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24262 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24264 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24267 * obsolete/erc-hecomplete.el: Make obsolete.
24268 * obsolete/: Standardize obsolescence info in the header.
24270 2011-04-20 Glenn Morris <rgm@gnu.org>
24272 * calendar/solar.el (solar-horizontal-coordinates):
24273 Use the longitude argument rather than `calendar-longitude'.
24274 (solar-date-next-longitude): Remove unused locals.
24276 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24278 * whitespace.el: New version 13.2.1.
24280 2011-04-20 felix <EmacsWiki> (tiny change)
24282 * whitespace.el (global-whitespace-mode): Keep highlight when
24283 switching between major modes on a file.
24285 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24287 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24288 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24289 multi-line comments as well.
24291 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24293 Lexical-binding cleanup.
24295 * arc-mode.el (archive-mode-revert):
24296 * cmuscheme.el (scheme-interactively-start-process):
24297 * custom.el (custom-initialize-delay):
24298 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24299 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24300 * emacs-lock.el (emacs-lock-clear-sentinel):
24301 * ezimage.el (defezimage):
24302 * follow.el (follow-avoid-tail-recenter):
24303 * fringe.el (set-fringe-mode-1):
24304 * generic-x.el (bat-generic-mode-compile):
24305 * help-mode.el (help-info-variable, help-do-xref)
24306 (help-mode-revert-buffer):
24307 * help.el (view-emacs-todo):
24308 * iswitchb.el (iswitchb-completion-help):
24309 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24310 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24311 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24312 * locate.el (locate-update):
24313 * longlines.el (longlines-encode-region)
24314 (longlines-after-change-function):
24315 * outline.el (outline-isearch-open-invisible):
24316 * ps-def.el (declare-function, charset-dimension, char-width)
24318 * ps-mule.el (ps-mule-plot-string):
24319 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24320 (recentf-edit-list-select, recentf-edit-list-validate)
24321 (recentf-open-files-action):
24322 * rect.el (delete-whitespace-rectangle-line)
24323 (rectangle-number-line-callback):
24324 * register.el (window-configuration-to-register)
24325 (frame-configuration-to-register):
24326 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24327 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24328 (xselect-convert-to-targets, xselect-convert-to-delete)
24329 (xselect-convert-to-filename, xselect-convert-to-charpos)
24330 (xselect-convert-to-lineno, xselect-convert-to-colno)
24331 (xselect-convert-to-os, xselect-convert-to-host)
24332 (xselect-convert-to-user, xselect-convert-to-class)
24333 (xselect-convert-to-name, xselect-convert-to-integer)
24334 (xselect-convert-to-atom, xselect-convert-to-identity):
24335 * subr.el (declare, ignore, process-kill-without-query)
24336 (text-clone-maintain):
24337 * terminal.el (te-get-char, te-tic-sentinel):
24338 * tool-bar.el (tool-bar-make-keymap):
24339 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24340 * type-break.el (type-break-mode, type-break-noninteractive-query):
24341 * view.el (View-back-to-mark):
24342 * wid-browse.el (widget-browse-action, widget-browse-widget)
24343 (widget-browse-widgets, widget-browse-sexp):
24344 * widget.el (define-widget-keywords):
24345 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24346 Mark unused parameters.
24348 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24349 (align-areas): Remove unused variable `look'.
24350 (align-region): Remove unused variables `real-end' and `pos-list'.
24352 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24354 * bindings.el (mode-line-modified, mode-line-remote):
24355 Mark unused parameters.
24356 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24358 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24359 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24361 * comint.el (comint-history-isearch-pop-state)
24362 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24363 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24364 (comint-substitute-in-file-name): Doc fix.
24366 * completion.el (cmpl-statistics-block): Mark unused parameter.
24367 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24368 (save-completions-to-file, load-completions-from-file):
24369 Remove unused local variable `e'.
24371 * composite.el (compose-chars): Remove unused variable `len'.
24372 (lgstring-insert-glyph): Remove unused variable `g'.
24373 (compose-glyph-string): Remove unused variables `ascent',
24374 `descent', `lbearing' and `rbearing'.
24375 (compose-glyph-string-relative): Remove unused variables
24376 `lbearing', `rbearing' and `wadjust'.
24377 (compose-gstring-for-graphic): Remove unused variables `header',
24378 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24379 (compose-gstring-for-terminal): Remove unused variables `header'
24380 and `nchars'. Use `let', not `let*'.
24382 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24383 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24384 (Custom-buffer-done, custom-buffer-create-internal)
24385 (custom-browse-visibility-action, custom-browse-group-tag-action)
24386 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24387 (widget-magic-mouse-down-action, custom-toggle-parent)
24388 (custom-add-parent-links, custom-toggle-hide-variable)
24389 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24390 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24391 (custom-face-menu-create, custom-variable-menu-create, get)
24392 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24393 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24394 (customize-apropos): Remove unused variable `tests'.
24395 (custom-group-value-create): Remove unused variable `hidden-p'.
24396 (sort-fold-case): Declare.
24398 * cus-theme.el (custom-reset-standard-faces-list)
24399 (custom-reset-standard-variables-list): Declare.
24400 (customize-create-theme, custom-theme-revert, custom-theme-write)
24401 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24402 Mark unused parameters.
24404 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24406 * delim-col.el (delimit-columns-max): Move defvar before first use.
24408 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24409 (describe-char): Don't quote `lambda'. Mark unused parameter.
24411 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24412 (auto-insert): Declare.
24413 (desktop-restore-file-buffer): Rename desktop-* parameters;
24415 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24416 (desktop-buffer): Rename desktop-* parameters.
24418 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24419 (dframe-reposition-frame-xemacs, dframe-help-echo)
24420 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24421 Mark unused parameters.
24423 * dired-aux.el (backup-extract-version-start, overwrite-query)
24424 (overwrite-backup-query, rename-regexp-query)
24425 (rename-non-directory-query): Declare.
24426 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24427 (dired-add-entry): Remove unused variable `orig-file-name'.
24428 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24429 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24430 `dired-copy-preserve-time' directly.
24431 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24432 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24434 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24435 (dired-virtual-revert, dired-make-relative-symlink):
24436 Mark unused parameters.
24437 (manual-program): Declare.
24438 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24439 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24440 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24442 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24444 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24446 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24449 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24451 * electric.el (Electric-command-loop): Rename parameter
24452 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24454 * expand.el (expand-in-literal): Remove unused variable `here'.
24456 * facemenu.el (facemenu-add-new-color):
24457 Remove unused variable `docstring'.
24459 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24460 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24461 (face-attr-construct): Mark unused parameter. Doc fix.
24462 (read-color): Remove unused variable `hex-string'.
24464 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24465 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24466 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24467 (display-buffer-other-frame): Remove unused variable `old-window'.
24468 (kill-buffer-hook): Declare.
24469 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24470 Mark unused parameters.
24471 (after-find-file): Pass 1 to `auto-save-mode', not t.
24473 * files-x.el (auto-insert): Declare.
24474 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24476 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24477 variable `buf'. Mark unused parameter.
24478 (find-lisp-insert-directory): Mark unused parameter.
24480 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24481 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24482 (format-common-tail): Remove, unused.
24483 (format-deannotate-region): Remove unused variable `loc'.
24484 (format-annotate-region): Remove unused variable `p'.
24485 (format-annotate-single-property-change): Remove unused variables
24486 `default' and `tail'.
24488 * forms.el (read-file-filter): Declare.
24489 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24491 * frame.el (frame-creation-function-alist): Mark unused parameter.
24492 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24494 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24495 Remove unused parameters.
24496 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24497 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24499 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24500 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24501 (hfy-prepare-tag-map): Mark unused parameters.
24502 (htmlfontify-buffer): Use `called-interactively-p'.
24504 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24505 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24506 (ibuffer-do-occur): Mark unused parameters.
24507 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24508 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24510 * ibuffer.el: Don't quote `lambda'.
24511 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24512 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24513 Mark unused parameters.
24515 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24516 (ido-completing-read): Mark unused parameters.
24517 (ido-copy-current-word): Mark unused parameters;
24518 remove unused variable `name'.
24519 (ido-sort-merged-list): Remove unused parameter `dirs'.
24521 * ielm.el (ielm-input-sender): Mark unused parameter.
24522 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24523 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24524 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24525 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24526 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24528 * image-dired.el (image-dired-display-thumbs): Remove unused
24529 variables `curr-file' and `count'.
24530 (image-dired-remove-tag): Remove unused variable `start'.
24531 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24532 variable `curr-file'
24533 (image-dired-rotate-original): Remove unused variable `temp-file'.
24534 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24535 Remove unused variable `file'.
24536 (image-dired-gallery-generate): Remove unused variable `curr'.
24537 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24539 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24541 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24543 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24545 * isearch.el (minibuffer-history-symbol): Declare.
24546 (isearch-edit-string): Remove unused variable `err'.
24547 (isearch-message-prefix, isearch-message-suffix):
24548 Mark unused parameters.
24550 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24552 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24554 * makesum.el (double-column): Remove unused variable `cnt'.
24556 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24557 (ido-ignore-item-temp-list): Declare.
24559 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24560 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24561 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24562 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24565 * mouse-sel.el (mouse-extend-internal):
24566 Remove unused variable `orig-window-frame'.
24568 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24569 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24570 Move declarations before first use.
24571 (pcomplete-opt): Mark unused parameters; doc fix.
24573 * proced.el (proced-revert): Mark unused parameter.
24574 (proced-send-signal): Remove unused variable `err'.
24576 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24577 Rename parameter PREFIX-ARG to ARG.
24578 (ps-basic-plot-string, ps-basic-plot-whitespace):
24579 Mark unused parameters.
24581 * replace.el (replace-count): Define.
24582 (occur-revert-function): Mark unused parameters.
24583 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24584 (isearch-case-fold-search, isearch-string): Declare.
24585 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24586 bind `case-fold-search'. Remove unused variables `beg' and `end',
24588 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24589 COUNT and bind `replace-count'.
24590 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24593 * savehist.el (print-readably, print-string-length): Declare.
24595 * shadowfile.el (shadow-expand-cluster-in-file-name):
24596 Remove unused variable `cluster'.
24597 (shadow-copy-file): Remove unused variable `i'.
24598 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24599 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24600 (shadow-define-literal-group, shadow-define-regexp-group)
24601 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24603 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24604 (shell): Use `called-interactively-p'.
24605 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24607 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24608 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24609 (delete-backward-char): Remove unused variable `ocol'.
24610 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24611 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24612 (event-apply-hyper-modifier, event-apply-shift-modifier)
24613 (event-apply-control-modifier, event-apply-meta-modifier):
24614 Mark unused parameters.
24615 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24616 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24618 * speedbar.el (speedbar-ignored-directory-expressions)
24619 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24620 (speedbar-find-file, speedbar-dir-follow)
24621 (speedbar-directory-buttons-follow, speedbar-tag-find)
24622 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24623 (speedbar-buffers-line-directory, speedbar-buffer-click):
24624 Mark unused parameters.
24625 (speedbar-tag-file): Remove unused variable `mode'.
24626 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24628 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24630 * talk.el (talk): Remove unused variable `display'.
24632 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24633 (tar-write-region-annotate): Mark unused parameter.
24635 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24636 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24637 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24638 warning by another.
24640 * time-stamp.el (time-stamp-string-preprocess):
24641 Remove unused variable `require-padding'.
24643 * tree-widget.el (widget-glyph-enable): Declare.
24644 (tree-widget-action): Mark unused parameter.
24646 * w32-fns.el (x-get-selection): Mark unused parameter.
24647 (autoload-make-program, generated-autoload-file): Declare.
24649 * wdired.el (wdired-revert): Mark unused parameters.
24650 (wdired-xcase-word): Remove unused variable `err'.
24652 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24653 (whitespace-help-scroll): Remove unused variable `data-help'.
24655 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24656 (widget-image-insert, widget-after-change, default)
24657 (widget-default-format-handler, widget-default-notify)
24658 (widget-default-prompt-value, widget-info-link-action)
24659 (widget-url-link-action, widget-function-link-action)
24660 (widget-variable-link-action, widget-file-link-action)
24661 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24662 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24663 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24664 (widget-insert-button-action, widget-delete-button-action, visibility)
24665 (widget-documentation-link-action, widget-documentation-string-action)
24666 (widget-const-prompt-value, widget-regexp-match, symbol)
24667 (widget-coding-system-prompt-value)
24668 (widget-key-sequence-value-to-external, sexp)
24669 (widget-sexp-value-to-internal, character, vector, cons)
24670 (widget-choice-prompt-value, widget-boolean-prompt-value)
24671 (widget-color--choose-action): Mark unused parameters.
24672 (widget-item-match-inline, widget-choice-match-inline)
24673 (widget-checklist-match, widget-checklist-match-inline)
24674 (widget-group-match): Rename parameter VALUES to VALS.
24675 (widget-field-value-set): Remove unused variable `size'.
24676 (widget-color-action): Remove unused variables `value' and `start'.
24678 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24679 variable `dir'. Doc fix.
24680 (windmove-find-other-window): Don't pass it.
24682 * window.el (count-windows): Mark unused parameter.
24683 (bw-adjust-window): Remove unused variable `err'.
24685 * woman.el (woman-file-name): Remove unused variable `default'.
24686 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24687 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24688 (global-font-lock-mode): Declare.
24689 (woman-decode-region): Mark unused parameter.
24690 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24692 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24693 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24694 (x-dnd-handle-moz-url): Remove unused variable `title'.
24695 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24697 * xml.el (xml-parse-tag, xml-parse-attlist):
24698 Remove unused variable `pos'.
24700 2011-04-19 Glenn Morris <rgm@gnu.org>
24702 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24703 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24704 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24705 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24706 * calendar/cal-html.el (cal-html-insert-minical):
24707 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24708 (calendar-mark-date-pattern):
24709 Prefix "unused" locals.
24711 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24712 optional argument `style'.
24714 * calendar/appt.el (appt-make-list):
24715 * calendar/cal-china.el (calendar-chinese-date-string):
24716 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24717 (diary-hebrew-yahrzeit):
24718 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24719 * calendar/calendar.el (calendar-generate-window):
24720 * calendar/time-date.el (time-to-days):
24721 Remove unused local variables.
24723 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24725 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24726 glyphless-char-display table.
24727 (tabulated-list-glyphless-char-display): New var.
24729 2011-04-18 Sam Steingold <sds@gnu.org>
24731 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24732 to acknowledgments.
24734 2011-04-17 Glenn Morris <rgm@gnu.org>
24736 * calendar/diary-lib.el (diary-sexp-entry):
24737 * calendar/holidays.el (holiday-sexp):
24738 Set debug-on-error rather than the removed stack-trace-on-error.
24740 2011-04-16 Glenn Morris <rgm@gnu.org>
24742 * progmodes/f90.el: Use lexical-binding.
24743 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24745 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24747 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24748 (mail-mode): Setup mailalias completion here instead.
24749 * mail/mailalias.el: Use lexical-binding.
24750 (pattern, mailalias-done): Declare dynamic.
24751 (mail-completion-at-point-function): New function, from mail-complete.
24752 (mail-complete): Use it.
24753 (mail-completion-expand): New function.
24754 (mail-get-names): Use it.
24755 (mail-directory, mail-directory-process, mail-directory-stream):
24756 Don't use `pattern' for lexically bound arg.
24758 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24760 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24761 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24762 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24764 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24765 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24766 (byte-interactive-p): Define them again, for use when inlining
24769 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24771 * loadup.el: Use `string-to-number', not `string-to-int'.
24773 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24775 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24776 gud-gdb-complete-command.
24777 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24778 (gud-gdb-completion-at-point): New function.
24779 (gud-gdb-completions): Remove.
24781 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24783 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24784 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24785 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24786 whether `executable-find' is bound.
24788 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24790 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24792 * minibuffer.el (completion-in-region-mode-predicate)
24793 (completion-in-region-mode--predicate): New vars.
24794 (completion-in-region, completion-in-region--postch)
24795 (completion-in-region-mode): Use them.
24796 (completion--capf-wrapper): Also return the hook function.
24797 (completion-at-point, completion-help-at-point):
24798 Adjust and provide a predicate.
24800 Preserve arg names for advice of subr and lexical functions (bug#8457).
24801 * help-fns.el (help-function-arglist): Consolidate the subr and
24802 new-byte-code cases. Add argument `preserve-names' to extract names
24803 from the docstring when needed.
24804 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24805 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24806 (ad-arglist): Use help-function-arglist's new arg.
24807 (ad-definition-type): Use cond.
24809 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24811 * autorevert.el (auto-revert-handler):
24812 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24813 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24814 Don't quote lambda.
24816 * image-mode.el (image-transform-set-scale):
24817 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24819 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24821 * net/network-stream.el (network-stream-open-starttls): Only do
24822 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24823 Upgrades via gnutls-cli are too slow to be done opportunistically.
24825 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24827 * dframe.el (dframe-current-frame): Remove spurious quote.
24829 2011-04-12 Glenn Morris <rgm@gnu.org>
24831 * calendar/cal-tex.el (cal-tex-end-document):
24832 Try to automatically use latin1 input if needed.
24834 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24835 Don't try to cons a mark onto an empty element.
24837 2011-04-11 Leo Liu <sdl.web@gmail.com>
24839 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24841 (ido-kill-buffer-at-head): Support killing virtual buffers.
24843 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24845 * minibuffer.el (completion-show-inline-help): New var.
24846 (completion--do-completion, minibuffer-complete)
24847 (minibuffer-force-complete, minibuffer-complete-word):
24848 Inhibit minibuffer messages if completion-show-inline-help is nil.
24850 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24851 to avoid interference from inline help (Bug#5849).
24853 2011-04-10 Leo Liu <sdl.web@gmail.com>
24855 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24858 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24860 * image-mode.el (image-toggle-display-image): Signal an error if
24862 (image-transform-mode, image-transform-resize)
24863 (image-transform-set-rotation): Doc fix.
24864 (image-transform-set-resize): Delete.
24865 (image-transform-set-scale, image-transform-fit-to-height)
24866 (image-transform-fit-to-width): Handle image-toggle-display-image
24867 and image-transform-resize directly.
24869 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24871 * doc-view.el (doc-view-fit-width-to-window)
24872 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24873 New functions for fitting the shown image to the Emacs window size.
24874 (doc-view-mode-map): Add bindings for the new functions.
24876 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24878 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24879 Fix typo in docstring.
24881 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24883 * files.el (file-size-human-readable): Produce one digit after
24884 decimal, like "ls -lh" does.
24886 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24887 the file size representation.
24889 * simple.el (list-processes): If async subprocesses are not
24890 available, error out with a clear error message.
24892 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24894 * help.el (help-form-show): New function, to be called from C.
24895 Put help-form output in a buffer named differently than *Help*.
24897 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24899 * files.el (file-size-human-readable): New function.
24901 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24902 computing the representation inline. Don't require `cl'.
24904 2011-04-08 Glenn Morris <rgm@gnu.org>
24906 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24908 * net/browse-url.el (browse-url-firefox):
24909 Test system-type, not system-configuration.
24911 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24912 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24913 Use log-edit-empty-buffer-p. (Bug#7598)
24915 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24916 (rlogin-mode-map): Initialize in the defvar.
24917 (rlogin): Use ignore-errors.
24919 * replace.el (occur-mode-map): Some fixes for menu items.
24921 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24923 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24925 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24927 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24928 issuing unused warnings.
24930 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24933 * simple.el: Lisp reimplement of list-processes. Based on an
24934 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24935 (process-menu-mode): New major mode.
24936 (list-processes--refresh, list-processes):
24937 (process-menu-visit-buffer): New functions.
24939 * files.el (save-buffers-kill-emacs): Don't assume any return
24940 value of list-processes, which is undocumented anyway.
24942 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24944 * emacs-lisp/tabulated-list.el: New file.
24946 * emacs-lisp/package.el: Use Tabulated List mode.
24947 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24948 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24949 table format using Tabulated List mode variables.
24950 (package--push): New macro, replacing package-list-maybe-add.
24951 (package-menu--generate): Use package--push. Renamed from
24952 package--generate-package-list.
24953 (package-menu-refresh, list-packages): Use it.
24954 (package-menu--print-info): Rename from package-print-package.
24955 Return insertion data instead of inserting it directly.
24956 (package-menu-describe-package, package-menu-execute):
24957 Use tabulated-list-get-id.
24958 (package-menu-mark-delete, package-menu-mark-install)
24959 (package-menu-mark-unmark, package-menu-backup-unmark)
24960 (package-menu-mark-obsolete-for-deletion):
24961 Use tabulated-list-put-tag.
24962 (package--list-packages, package-menu-revert)
24963 (package-menu-get-package, package-menu-get-version)
24964 (package-menu-sort-by-column): Functions deleted.
24965 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24966 (package-menu--status-predicate, package-menu--version-predicate)
24967 (package-menu--name-predicate)
24968 (package-menu--description-predicate): Handle arguments in the
24969 Tabulated List format.
24970 (package-list-packages-no-fetch): Call list-packages.
24972 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24974 * files.el (after-find-file-from-revert-buffer): Remove variable.
24975 (after-find-file): Don't bind it.
24976 (revert-buffer-in-progress-p): New variable.
24977 (revert-buffer): Bind it.
24978 Pass nil for `after-find-file-from-revert-buffer'.
24980 * saveplace.el (save-place-find-file-hook): Use new variable
24981 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24983 2011-04-06 Glenn Morris <rgm@gnu.org>
24985 * Makefile.in (AUTOGEN_VCS): New variable.
24986 (autoloads): Use $AUTOGEN_VCS.
24988 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24989 * calendar/calendar.el (calendar-mode-map):
24990 Check for toolkit scroll bars. (Bug#8305)
24992 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24994 * minibuffer.el (completion-in-region--postch)
24995 (completion-in-region-mode): Remove unnecessary messages.
24997 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24999 * font-lock.el (font-lock-refresh-defaults):
25000 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25001 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25003 * info.el (Info-directory-list, Info-read-node-name-2)
25004 (Info-split-parameter-string): Doc fixes.
25005 (Info-virtual-nodes): Reflow docstring.
25006 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25007 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25008 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25009 Fix typos in docstrings.
25010 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25011 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25012 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25013 (Info-restore-desktop-buffer): Mark unused parameters.
25014 (Info-directory-find-file, Info-directory-find-node)
25015 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25016 (Info-virtual-index-find-node, Info-apropos-find-file)
25017 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25018 Mark unused parameters; fix typos in docstrings.
25019 (Info-virtual-index): Remove unused local variable `nodename'.
25021 2011-04-05 Deniz Dogan <deniz@dogan.se>
25023 * net/rcirc.el: Update my e-mail address.
25024 (rcirc-mode-map): Remove M-o binding.
25026 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25028 * startup.el (command-line): Save the cursor's theme-face
25029 directly, instead of using face-override-spec.
25031 * custom.el (load-theme): Minor optimization in assigning faces.
25033 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25035 * help-fns.el (describe-variable): Complete all variables having
25036 documentation, including keywords.
25037 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25039 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25041 Convert to lexical-binding.
25043 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25044 (bs--get-marked-string, bs--get-modified-string)
25045 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25046 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25047 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25049 * ehelp.el (electric-help-execute-extended)
25050 (electric-help-ctrl-x-prefix):
25051 * hexl.el (hexl-revert-buffer-function):
25052 * linum.el (linum-after-change, linum-after-scroll):
25053 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25055 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25057 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25064 * epg.el: Use lexical binding.
25066 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25068 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25070 * textmodes/flyspell.el (flyspell-word): Recognize default
25071 dictionary case for flyspell-mark-duplications-exceptions.
25072 Use regexp matching for languages.
25073 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25074 default dictionary (Bug#7926).
25076 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25078 * emacs-lisp/package.el (package--with-work-buffer):
25079 Recognize https URLs.
25081 * net/network-stream.el: Move from gnus/proto-stream.el.
25082 Change prefix to network-stream throughout.
25083 (open-protocol-stream): Merge into open-network-stream, leaving
25084 open-protocol-stream as an alias. Handle nil BUFFER args.
25086 * subr.el (open-network-stream): Move to net/network-stream.el.
25088 2011-04-02 Glenn Morris <rgm@gnu.org>
25090 * find-dired.el (find-exec-terminator): New option.
25091 (find-ls-option): Test for -ls support.
25092 (find-ls-subdir-switches): Test for -b in find-ls-option.
25093 (find-dired, find-grep-dired): Doc fixes.
25094 (find-dired): Use find-exec-terminator.
25096 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25097 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25098 (find-name-arg): Remove purecopy.
25100 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25101 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25102 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25103 accordingly. Don't add the null-device if not needed.
25105 * files.el (save-some-buffers): Doc fix.
25107 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25109 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25111 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25113 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25114 Use `dolist' rather than `mapcar'.
25116 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25118 Add lexical binding.
25120 * subr.el (apply-partially): Use new closures rather than CL.
25121 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25122 (dolist, dotimes): Use slightly different expansion for lexical code.
25123 (functionp): Move to C.
25124 (letrec): New macro.
25125 (with-wrapper-hook): Use it and apply-partially instead of CL.
25126 (eval-after-load): Preserve lexical-binding.
25127 (save-window-excursion, with-output-to-temp-buffer): Turn them
25130 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25132 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25134 (help-add-fundoc-usage): Don't add `Not documented'.
25135 (help-function-arglist): Handle closures, subroutines, and new
25136 byte-code-functions.
25137 (help-make-usage): Remove leading underscores.
25138 (describe-function-1): Handle closures.
25139 (describe-variable): Use special-variable-p for completion.
25141 * files.el (lexical-binding): Declare safe.
25143 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25144 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25145 (pcase): Add `let' pattern.
25146 Change memoization so it actually works.
25147 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25148 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25151 * emacs-lisp/macroexp.el: Use lexical binding.
25152 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25153 Don't convert ' to #' without checking that it's indeed quoting
25156 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25157 Use eval-sexp-add-defvars.
25158 (eval-sexp-add-defvars): New fun.
25160 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25162 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25164 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25165 than the internal `byte-compile-lambda'.
25166 (defmethod): Don't hide code under quotes.
25167 (eieio-defmethod): New `code' argument.
25169 * emacs-lisp/eieio-comp.el: Remove.
25171 * emacs-lisp/edebug.el (edebug-eval-defun)
25172 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25173 (edebug-toggle): Avoid `eval'.
25175 * emacs-lisp/disass.el (disassemble-internal): Handle new
25177 (disassemble-1): Handle new byte codes.
25179 * emacs-lisp/cl.el (pushnew): Silence warning.
25181 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25182 (cl-byte-compile-throw): Remove.
25183 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25185 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25188 * emacs-lisp/cconv.el: New file.
25190 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25191 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25192 (byte-compile-initial-macro-environment):
25193 Handle declare-function here.
25194 (byte-compile--lexical-environment): New var.
25195 (byte-stack-ref, byte-stack-set, byte-discardN)
25196 (byte-discardN-preserve-tos): New lap codes.
25197 (byte-interactive-p): Don't use any more.
25198 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25200 (byte-compile-lapcode): Use them and handle new lap codes.
25201 (byte-compile-obsolete): Remove.
25202 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25203 (byte-compile-arglist-warn): Check late def of inlinable funs.
25204 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25205 since they should have been expanded by now.
25206 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25207 (byte-compile-from-buffer): Remove unused second arg.
25208 (byte-compile-preprocess): New function.
25209 (byte-compile-toplevel-file-form): New function to distinguish
25210 file-form calls from outside from file-form calls from hunk-handlers.
25211 (byte-compile-file-form): Simplify.
25212 (byte-compile-file-form-defsubst): Remove.
25213 (byte-compile-file-form-defmumble): Simplify now that
25214 byte-compile-lambda always returns a byte-code-function.
25215 (byte-compile): Preprocess.
25216 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25217 Remove, not used any more.
25218 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25219 (byte-compile-make-args-desc): New funs.
25220 (byte-compile-lambda): Handle lexical functions. Always return
25221 a byte-code-function.
25222 (byte-compile-reserved-constants): New var, to make up room for
25223 closed-over variables.
25224 (byte-compile-constants-vector): Obey it.
25225 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25226 (byte-compile-macroexpand-declare-function): New function.
25227 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25228 byte-code-functions.
25229 (byte-compile-form): Check obsolescence here.
25230 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25231 (byte-compile-variable-ref): Remove.
25232 (byte-compile-dynamic-variable-op): New fun.
25233 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25234 (byte-compile-variable-set): New funs.
25235 (byte-compile-discard): Add 2 args.
25236 (byte-compile-stack-ref, byte-compile-stack-set)
25237 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25238 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25239 macroexpand-all instead.
25240 (byte-compile-quote-form): Remove.
25241 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25242 (byte-compile-bind, byte-compile-unbind): New funs.
25243 (byte-compile-let): Handle let* and lexical binding.
25244 (byte-compile-let*): Remove.
25245 (byte-compile-catch, byte-compile-unwind-protect)
25246 (byte-compile-track-mouse, byte-compile-condition-case):
25247 Handle a new :fun-body form, used for lexical scoping.
25248 (byte-compile-save-window-excursion)
25249 (byte-compile-with-output-to-temp-buffer): Remove.
25250 (byte-compile-defun): Simplify.
25251 (byte-compile-stack-adjustment): New fun.
25252 (byte-compile-out): Use it.
25253 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25255 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25258 * emacs-lisp/byte-opt.el: Use lexical binding.
25259 (byte-inline-lapcode): Remove (to bytecomp).
25260 (byte-compile-inline-expand): Pay attention to inlining to/from
25261 lexically bound code.
25262 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25264 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25265 any more and don't call compiler-macros.
25266 (byte-compile-splice-in-already-compiled-code): Remove.
25267 (byte-code): Don't inline any more.
25268 (disassemble-offset): Receive `bytes' as argument rather than via
25270 (byte-compile-tag-number): Declare before first use.
25271 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25272 `return' even if make-spliceable.
25273 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25274 obsolete interactive-p.
25275 (byte-optimize-lapcode): Optimize new lap-codes.
25276 Don't trip up on new form of `byte-constant' lap code.
25278 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25280 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25282 * custom.el (custom-initialize-default, custom-declare-variable):
25285 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25287 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25288 (COMPILE_FIRST): Add macroexp and cconv.
25289 * makefile.w32-in: Mirror changes in Makefile.in.
25291 * vc/cvs-status.el:
25295 * vc/smerge-mode.el:
25296 * textmodes/bibtex-style.el:
25297 * textmodes/css-mode.el:
25305 * emacs-lisp/smie.el:
25308 * abbrev.el: Use lexical binding.
25310 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25312 * info.el (info-display-manual): New function.
25314 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25316 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25318 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25320 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25321 an entry for that server in rcirc-authinfo. (Bug#8385)
25323 2011-03-31 Glenn Morris <rgm@gnu.org>
25325 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25327 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25329 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25331 * progmodes/python.el (python-default-interpreter)
25332 (python-python-command-args, python-jython-command-args)
25333 (python-which-shell, python-which-args, python-which-bufname)
25334 (python-file-queue, python-comint-output-filter-function)
25335 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25336 variables and functions.
25338 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25340 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25341 (completion-in-region-mode): New minor mode.
25342 (completion-in-region): Use it.
25343 (completion-in-region--data, completion-in-region-mode-map): New vars.
25344 (completion-in-region--postch): New function.
25345 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25347 (completion--capf-wrapper): New function.
25348 (completion-at-point): Use it to track well-behavedness of
25350 (completion-help-at-point): New command.
25352 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25354 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25355 syntax class to search for whitespace on a single line
25356 (Message-ID: <4D938140.4030905@redhat.com>).
25358 2011-03-30 Leo Liu <sdl.web@gmail.com>
25360 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25362 (edit-abbrevs-map): Bind them here.
25363 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25365 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25367 * allout.el (allout-hide-by-annotation, allout-flag-region):
25368 Reduce possibility of overlay leakage by making them volatile.
25370 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25371 hash is not shared between buffers. Mode initialization is
25372 responsible for giving it a useful starting value.
25373 (allout-item-span): Reduce possibility of overlay leakage by
25374 making them volatile.
25375 (allout-widgets-count-buttons-in-region): Add diagnostic function
25376 for tracking down button overlay leaks.
25378 2011-03-29 Leo Liu <sdl.web@gmail.com>
25380 * ido.el (ido-read-internal): Use the default history var
25381 minibuffer-history if no HISTORY is specified.
25383 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25385 * net/imap.el (imap-shell-open, imap-process-connection-type):
25386 Use imap-process-connection-type for 'shell' streams as well as
25387 Kerberos, SSL, other subprocesses.
25389 2011-03-28 Leo Liu <sdl.web@gmail.com>
25391 * abbrev.el (abbrev-table-empty-p): New function.
25392 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25393 nonempty ones. (Bug#5937)
25395 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25397 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25399 2011-03-27 Leo Liu <sdl.web@gmail.com>
25401 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25402 for foreground and background colors.
25403 (ansi-color-make-color-map): Adapt.
25405 2011-03-25 Leo Liu <sdl.web@gmail.com>
25407 * midnight.el (midnight-time-float): Remove. Note it calculates
25408 the microsecond component incorrectly and seconds-to-time does the
25410 Remove redundant (require 'timer).
25412 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25413 (ido-completions): Remove unused arguments. (Bug#8329)
25415 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25417 * minibuffer.el (completion--flush-all-sorted-completions):
25418 Remove itself from hook.
25419 (completion-at-point): Let the functions perform the completion
25420 immediately and return nil or t.
25421 * comint.el (comint-dynamic-complete-functions): Now identical to
25422 completion-at-point-functions.
25423 (comint-dynamic-list-input-ring): Remove unused var `index'.
25424 (comint--match-partial-filename, comint--unquote&expand-filename):
25425 New funs, split from comint-match-partial-filename.
25426 (comint-dynamic-complete): Use completion-at-point.
25427 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25429 2011-03-24 Drew Adams <drew.adams@oracle.com>
25431 * thingatpt.el: Support `defun'.
25433 2011-03-23 Leo Liu <sdl.web@gmail.com>
25435 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25437 * help-mode.el (help-mode-finish): Tweak regexp.
25439 2011-03-23 Glenn Morris <rgm@gnu.org>
25441 * eshell/esh-opt.el (eshell-eval-using-options):
25442 Do not bind unused local variable `eshell-option-stub'.
25444 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25446 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25448 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25449 keymap variable in `with-no-warnings' to avoid a warning when the
25450 keymap has been already `defconst'ed.
25452 2011-03-22 Leo Liu <sdl.web@gmail.com>
25454 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25455 encode all chars in abbrevs; otherwise use emacs-mule or
25456 utf-8-emacs. (Bug#8308)
25458 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25460 * simple.el (backward-delete-char-untabify):
25461 Avoid warning about using `delete-backward-char'.
25463 * image.el (image-type-file-name-regexps): Make it variable.
25464 `imagemagick-register-types' modifies it, and the user may want
25465 to add new extensions for known image types.
25466 (imagemagick-register-types): Throw error if not using ImageMagick.
25468 2011-03-22 Leo Liu <sdl.web@gmail.com>
25470 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25471 located before rcirc-prompt-end-marker.
25472 (rcirc-complete): Error if point is not after rcirc prompt.
25473 Handle the case when table is nil.
25474 (rcirc-user-authenticated): Define to fix compiler warning.
25476 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25478 * custom.el (custom--inhibit-theme-enable): Make it affect only
25479 custom-theme-set-variables and custom-theme-set-faces.
25480 (provide-theme): Ignore custom--inhibit-theme-enable.
25481 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25482 (custom-enabling-themes): Delete variable.
25483 (enable-theme): Accept only loaded themes as arguments.
25484 Ignore the special custom-enabled-themes variable.
25485 (custom-enabled-themes): Forbid themes from setting this.
25486 Eliminate use of custom-enabling-themes.
25487 (custom-push-theme): Quote "changed" custom var entry.
25489 2011-03-21 Leo Liu <sdl.web@gmail.com>
25491 * ido.el (ido-read-internal): Add ido-selected to history instead
25494 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25496 * subr.el (deferred-action-list, deferred-action-function):
25499 2011-03-21 Leo Liu <sdl.web@gmail.com>
25501 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25502 change on 2011-02-13 (bug#8309).
25504 * minibuffer.el (read-file-name-function): Change default value.
25505 (read-file-name--defaults): Rename from read-file-name-defaults.
25506 (read-file-name-default): Rename from read-file-name.
25507 (read-file-name): Call read-file-name-function.
25509 2011-03-21 Glenn Morris <rgm@gnu.org>
25511 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25514 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25516 * cus-theme.el: Add missing provide statement.
25517 (customize-create-theme): Extract theme value correctly.
25518 (custom-theme-visit-theme): Autoload.
25519 (customize-create-theme): Prompt before inserting default faces.
25521 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25523 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25524 units and musical notes.
25526 2011-03-20 Leo Liu <sdl.web@gmail.com>
25528 * ido.el (ido-read-internal): Use completing-read-default.
25529 (ido-completing-read): Fix compatibility with completing-read.
25531 2011-03-20 Christian Ohler <ohler@gnu.org>
25533 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25534 (ert-delete-all-tests): Use `called-interactively-p' rather than
25536 (ert--make-xrefs-region): Respect END.
25538 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25540 * dired-aux.el (dired-create-directory): Signal an error if the
25541 directory already exists (Bug#8246).
25543 * facemenu.el (list-colors-display): Call list-faces-display
25544 inside with-help-window.
25545 (list-colors-print): Use display property to align the final
25546 column, instead of checking window-width.
25548 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25550 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25551 windows-nt systems.
25552 (emerge-protect-metachars): Quote correctly for ms-dos and
25553 windows-nt systems.
25555 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25557 * info.el (info-initialize): Replace all uses of `:' with
25558 path-separator for compatibility with non-Unix systems.
25559 Cache quoting of path-separator. (Bug#8258)
25561 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25563 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25564 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25565 (mouse-avoidance-mode): Fix typos in docstrings.
25567 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25569 * startup.el (package-subdirectory-regexp): Move from package.el.
25570 Omit \\` and \\', and let callers add them.
25572 * emacs-lisp/package.el (package-strip-version)
25573 (package-load-all-descriptors): Add \\` and \\' to
25574 package-subdirectory-regexp before using it.
25575 (package-untar-buffer): New arg DIR; ensure that file untars only
25576 into this expected directory. Remove superfluous delete-region.
25577 (package-unpack): Caller changed.
25578 (package-tar-file-info): Use package-subdirectory-regexp.
25580 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25582 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25583 diff-mode-shared-map (bug#8284).
25584 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25586 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25588 * calendar/time-date.el (format-seconds): Use assoc instead of
25589 assoc-string, since assoc-string doesn't exist in XEmacs.
25591 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25593 * custom.el (custom-known-themes): Reflow docstring.
25594 (custom-theme-load-path): Fix typo in docstring.
25595 (load-theme): Fix typo in error message.
25596 (custom-available-themes, custom-variable-theme-value):
25597 Use `let', not `let*'.
25599 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25601 * calc/README: Mention inclusion of musical notes.
25603 * calc/calc-units.el (calc-lu-quant): Rename from
25604 `calc-logunits-quantity'.
25605 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25606 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25607 (calc-db): Rename from `calc-dblevel'.
25608 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25609 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25610 (calc-np): Rename from `calc-nplevel'.
25611 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25612 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25613 (calc-lu-plus): Rename from `calc-logunits-add'.
25614 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25615 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25616 (calc-lu-minus): Rename from `calc-logunits-sub'.
25617 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25618 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25619 (calc-lu-times): Rename from `calc-logunits-mul'.
25620 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25621 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25622 (calc-lu-divide): Rename from `calc-logunits-div'.
25623 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25624 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25626 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25627 functions being autoloaded.
25629 * calc/calc.el (calc-lu-power-reference): Rename from
25630 `calc-logunits-power-reference'.
25631 (calc-lu-field-reference): Rename from
25632 `calc-logunits-field-reference'.
25634 * calc/calc-help.el (calc-l-prefix-help):
25635 Mention musical note functions.
25637 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25639 * minibuffer.el (completion-all-sorted-completions):
25640 Use :completion-cycle-penalty text property if present.
25642 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25644 * allout.el (allout-yank-processing): Adjust for new rebulleting
25645 regime so bullet being yanked is used without prompting the user
25648 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25650 * startup.el (command-line): Warn the user that _emacs is deprecated.
25652 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25654 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25655 (delphi-verbose, delphi-comment-face, delphi-string-face)
25656 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25657 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25658 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25659 (delphi-new-comment-line, delphi-font-lock-defaults)
25660 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25661 Fix typos in docstrings.
25663 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25665 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25666 Invert the roles of character and string values for INSTEAD, so a
25667 string is used for the more common case of a defaulting prompt.
25669 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25671 * progmodes/ruby-mode.el (ruby-backward-sexp):
25672 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25673 * play/gamegrid.el (gamegrid-make-face):
25674 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25675 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25676 * notifications.el (notifications-notify):
25677 * net/xesam.el (xesam-search-engines):
25678 * net/quickurl.el (quickurl-list-insert):
25679 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25681 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25683 * startup.el (command-line): Update package subdirectory regexp.
25685 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25687 * allout.el (allout-abbreviate-flattened-numbering)
25688 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25690 * subr.el (read-char-choice): Only show the cursor after the prompt,
25691 not after the answer.
25693 2011-03-15 Kevin Ryde <user42@zip.com.au>
25695 * help-fns.el (variable-at-point): Skip leading quotes, if any
25698 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25700 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25703 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25705 * shell.el (shell): When called interactively, offer to change the
25706 shell file name on remote hosts.
25708 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25710 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25711 integration for LDAP parameters. The host, base, user or binddn,
25712 and secret tokens can be specified in a netrc file, for instance.
25713 This is optional because an `auth-source' parameter must be
25714 specified in the search attributes.
25716 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25718 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25720 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25722 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25723 into declaration. Remove redundant and harmful binding.
25725 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25727 * files.el (file-ownership-preserved-p): Pass `integer' as an
25728 explicit 2nd argument to `file-attributes'. If the file's owner
25729 is the Administrators group on Windows, and the current user is
25730 Administrator, consider that a match.
25732 * server.el (server-ensure-safe-dir): Consider server directory
25733 safe on MS-Windows if its owner is the Administrators group while
25734 the current Emacs user is Administrator. Use `=' to compare
25735 numerical UIDs, since they could be integers or floats.
25737 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25739 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25741 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25743 Sync with Tramp 2.2.1.
25745 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25747 * net/trampver.el: Update release number.
25749 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25751 * progmodes/compile.el (compilation--previous-directory): Fix up
25752 various nil/dead-marker mismatches (bug#8014).
25753 (compilation-directory-properties, compilation-error-properties):
25754 Don't call it at a position past the one we're about to change.
25756 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25757 Disable obsolescence warnings in the file that declares it.
25759 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25761 * allout-widgets.el (allout-widgets-tally):
25762 Initialize allout-widgets-tally as a hash table rather than nil to
25763 prevent mode-line redisplay warnings. Also, clarify the module
25764 description and fix a comment typo.
25766 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25768 * help-fns.el (describe-variable): Don't complete keywords.
25769 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25771 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25773 * emacs-lisp/package.el (package-version-join): Impose a standard
25774 string representation for pre/alpha/beta version lists.
25775 (package-unpack-single): Standardize the directory name by passing
25776 it through package-version-join.
25777 (package-strip-rcs-id): Accept any version string that does not
25778 signal an error in version-to-list.
25780 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25782 * simple.el (delete-trailing-whitespace): Return nil for the
25783 benefit of `write-file-functions'.
25785 2011-03-10 Glenn Morris <rgm@gnu.org>
25787 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25789 * vc/vc-git.el (vc-git-program): New option.
25790 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25791 (vc-git--call): Use it.
25793 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25795 * cus-edit.el (Custom-newline): If no button at point, look
25796 for a subgroup button at start-of-line. (Bug#2298)
25798 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25800 2011-03-10 Julien Danjou <julien@danjou.info>
25802 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25803 `cursor-type' is nil.
25805 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25807 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25809 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25811 * allout.el: Change so yank of distinctive-bullet items
25812 preserves the existing header prefix, rebulleting it if necessary,
25813 rather than replacing it. This is necessary for proper operation
25814 of cooperative addons like allout-widgets.
25815 (allout-make-topic-prefix, allout-rebullet-heading):
25816 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25817 value as alternate bullet to be used, instead of prompting the user
25818 for a bullet character.
25820 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25822 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25823 Do not use `tramp-file-name-port', because this returns also
25824 `tramp-default-port'.
25826 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25828 * net/rcirc.el (rcirc-handler-001): Remove useless
25829 with-rcirc-process-buffer.
25830 (rcirc-check-auth-status): Swap arguments to string-match.
25832 2011-03-09 Glenn Morris <rgm@gnu.org>
25834 * shell.el (shell-mode):
25835 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25837 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25838 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25840 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25842 * emacs-lisp/package.el (package-refresh-contents)
25843 (package-menu-execute): Use condition-case-no-debug.
25845 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25847 * simple.el (shell-command-to-string): Use `process-file'.
25849 * emacs-lisp/package.el (package-tar-file-info): Handle also
25852 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25853 Use `equal' for upload base check.
25855 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25857 * textmodes/texinfo.el (texinfo-environments):
25858 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25860 2011-03-08 Glenn Morris <rgm@gnu.org>
25862 * cus-start.el (cursor-in-non-selected-windows):
25863 Fix :set quoting oddness. (Bug#8192)
25865 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25866 in some setf expressions. (Bug#2159)
25868 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25870 * custom.el (custom-available-themes): Return themes in
25871 alphabetical order.
25873 See ChangeLog.15 for earlier changes.
25875 ;; Local Variables:
25879 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25881 This file is part of GNU Emacs.
25883 GNU Emacs is free software: you can redistribute it and/or modify
25884 it under the terms of the GNU General Public License as published by
25885 the Free Software Foundation, either version 3 of the License, or
25886 (at your option) any later version.
25888 GNU Emacs is distributed in the hope that it will be useful,
25889 but WITHOUT ANY WARRANTY; without even the implied warranty of
25890 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25891 GNU General Public License for more details.
25893 You should have received a copy of the GNU General Public License
25894 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.