1 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3 * files.el (normal-mode): Only use default major-mode if no other mode
6 * emacs-lisp/trace.el (trace-values): New function.
8 * files.el: Allow : in local variables (bug#14089).
9 (hack-local-variable-regexp): New var.
10 (hack-local-variables-prop-line, hack-local-variables): Use it.
12 2013-04-13 Roland Winkler <winkler@gnu.org>
14 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15 data before it gets modified by bibtex-beginning-of-entry.
17 2013-04-13 Roland Winkler <winkler@gnu.org>
19 * textmodes/bibtex.el (bibtex-url): Doc fix.
21 2013-04-13 Roland Winkler <winkler@gnu.org>
23 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24 does not visit a BibTeX file, exclude it from the list of buffers
25 returned by bibtex-initialize.
27 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
29 * window.el (split-window): Remove interactive form, since as a
30 command this function is a special case of split-window-below.
33 2013-04-12 Roland Winkler <winkler@gnu.org>
35 * faces.el (read-face-name): Do not override value of arg default.
36 Allow single faces and strings as default values. Remove those
37 elements from return value that are not faces.
38 (describe-face): Simplify.
39 (face-at-point): New optional args thing and multiple so that this
40 function can provide the same functionality previously provided by
42 (make-face-bold, make-face-unbold, make-face-italic)
43 (make-face-unitalic, make-face-bold-italic, invert-face)
44 (modify-face, read-face-and-attribute): Use face-at-point.
46 * cus-edit.el (customize-face, customize-face-other-window)
47 * cus-theme.el (custom-theme-add-face)
48 * face-remap.el (buffer-face-set)
49 * facemenu.el (facemenu-set-face): Use face-at-point.
51 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
53 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
55 2013-04-10 Tassilo Horn <tsdh@gnu.org>
57 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
58 off leading { and trailing } from field values.
60 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/timer.el (timer--check): New function.
63 (timer--time, timer-set-function, timer-event-handler): Use it.
64 (timer-set-idle-time): Simplify.
65 (timer--activate): CSE.
66 (timer-event-handler): Give more info in error message.
67 (internal-timer-start-idle): New function, moved from C.
69 * mpc.el (mpc-proc): Add `restart' argument.
70 (mpc-proc-cmd): Use it.
71 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
72 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
75 2013-04-10 Masatake YAMATO <yamato@redhat.com>
77 * progmodes/sh-script.el: Implement `sh-mode' own
78 `add-log-current-defun-function' (bug#14112).
79 (sh-current-defun-name): New function.
80 (sh-mode): Use the function.
82 2013-04-09 Bastien Guerry <bzg@gnu.org>
84 * simple.el (choose-completion-string): Fix docstring (bug#14163).
86 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
88 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
90 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
93 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
95 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
98 2013-04-07 Leo Liu <sdl.web@gmail.com>
100 * pcmpl-x.el: New file.
102 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
104 Do not set x-display-name until X connection is established.
105 This is needed to prevent from weird situation described at
106 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
107 * frame.el (make-frame): Set x-display-name after call to
108 window system initialization function, not before.
109 * term/x-win.el (x-initialize-window-system): Add optional
110 display argument and use it.
111 * term/w32-win.el (w32-initialize-window-system):
112 * term/ns-win.el (ns-initialize-window-system):
113 * term/pc-win.el (msdos-initialize-window-system):
114 Add compatible optional display argument.
116 2013-04-06 Eli Zaretskii <eliz@gnu.org>
118 * files.el (normal-backup-enable-predicate): On MS-Windows and
119 MS-DOS compare truenames of temporary-file-directory and of the
120 file, so that 8+3 aliases (usually found in $TEMP on Windows)
121 don't fail comparison by compare-strings. Also, compare file
122 names case-insensitively on MS-Windows and MS-DOS.
124 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
126 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
127 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
129 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
131 * whitespace.el (whitespace-color-on, whitespace-color-off):
132 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
134 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
136 * ispell.el (ispell-set-spellchecker-params):
137 Really set `ispell-args' for all equivs.
139 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
141 * ido.el (ido-completions): Use extra elements of ido-decorations
143 (ido-decorations): Update docstring.
145 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
147 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
148 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
149 nil during initialization, in order not to miss changes since the
150 file was opened. (Bug#14140)
152 2013-04-05 Leo Liu <sdl.web@gmail.com>
154 * kmacro.el (kmacro-call-macro): Fix bug#14135.
156 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
158 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
160 2013-04-04 Glenn Morris <rgm@gnu.org>
162 * electric.el (electric-pair-inhibit-predicate): Add :version.
164 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
166 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
167 when a package is required several times (bug#14082).
169 2013-04-04 Roland Winkler <winkler@gnu.org>
171 * faces.el (read-face-name): Behave as promised by the docstring.
172 Assume that arg default is a list of faces.
173 (describe-face): Call read-face-name with list of default faces.
175 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
177 * bookmark.el: Fix deletion of bookmarks (bug#13972).
178 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
179 (bookmark-bmenu-execute-deletions): Only skip first line if it's
181 (bookmark-exit-hook-internal): Save even if list is empty.
183 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
185 * emacs-lisp/package.el (package-pinned-packages): New var.
186 (package--add-to-archive-contents): Obey it (bug#14118).
188 2013-04-03 Alan Mackenzie <acm@muc.de>
190 Handle `parse-partial-sexp' landing inside a comment opener
191 (Bug#13244). Also adapt to the new values of element 7 of a parse
194 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
195 parameter `not-in-delimiter'. Handle being inside comment opener.
196 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
197 character in case we're typing a '*' after a '/'.
198 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
199 instead by passing the parameter to c-state-pp-to-literal.
201 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
202 for elt. 7 of a parse state.
204 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
206 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
207 * international/latin1-disp.el, international/mule-util.el:
208 * language/cyril-util.el, language/european.el, language/ind-util.el:
209 * language/lao-util.el, language/thai.el, language/tibet-util.el:
210 * language/tibetan.el, language/viet-util.el:
211 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
213 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
215 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
216 (electric-pair-post-self-insert-function): Use it.
217 (electric-pair-default-inhibit): New function, extracted from
218 electric-pair-post-self-insert-function.
220 2013-03-31 Roland Winkler <winkler@gnu.org>
222 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
224 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
226 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
228 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
230 Un-indent after "pass" and "return" statements (Bug#13888)
231 * progmodes/python.el (python-indent-block-enders): New var.
232 (python-indent-calculate-indentation): Use it.
234 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
237 defun. Defining it as defalias could introduce too eager
238 byte-compiler optimization. (Bug#14030)
240 2013-03-30 Chong Yidong <cyd@gnu.org>
242 * iswitchb.el (iswitchb-read-buffer): Fix typo.
244 2013-03-30 Leo Liu <sdl.web@gmail.com>
246 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
247 (kmacro-execute-from-register): Pass the keyboard macro to
248 kmacro-call-macro or repeating won't work correctly.
250 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
252 * progmodes/subword.el: Back to using `forward-symbol'.
254 * subr.el (forward-whitespace, forward-symbol)
255 (forward-same-syntax): Move from thingatpt.el.
257 2013-03-29 Leo Liu <sdl.web@gmail.com>
259 * kmacro.el (kmacro-to-register): New command.
260 (kmacro-execute-from-register): New function.
261 (kmacro-keymap): Bind to 'x'. (Bug#14071)
263 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
265 * mpc.el: Use defvar-local and setq-local.
266 (mpc--proc-connect): Connection failures are not bugs.
267 (mpc-mode-map): `follow-link' only applies to the buffer's content.
268 (mpc-volume-map): Bind to the up-events.
270 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
272 * progmodes/subword.el (superword-mode): Use `forward-sexp'
273 instead of `forward-symbol'.
275 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
277 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
278 (edebug--recursive-edit): Use it.
279 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
280 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
282 2013-03-28 Leo Liu <sdl.web@gmail.com>
284 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
286 2013-03-27 Eli Zaretskii <eliz@gnu.org>
288 * facemenu.el (list-colors-callback): New defvar.
289 (list-colors-redisplay): New function.
290 (list-colors-display): Install list-colors-redisplay as the
291 revert-buffer-function. (Bug#14063)
293 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
295 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
296 and suffixes don't overlap (bug#14061).
298 * case-table.el: Use lexical-binding.
299 (case-table-get-table): New function.
300 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
302 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
304 * progmodes/subword.el: Add `superword-mode' to do word motion
305 over symbol_words (parallels and leverages `subword-mode' which
306 does word motion inside MixedCaseWords).
308 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
310 * eshell/em-unix.el: Move su and sudo to...
311 * eshell/em-tramp.el: ...Eshell tramp module
313 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
315 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
316 Change return value to be a sexp. Delay `get-buffer' to after
317 restoring the desktop (bug#13951).
319 2013-03-26 Leo Liu <sdl.web@gmail.com>
321 * register.el: Move semantic tag handling back to
322 cedet/semantic/senator.el. (Bug#14052)
324 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
326 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
327 into the prompt either (bug#13963).
329 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
331 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
332 part of "(error-foo)".
334 2013-03-24 Juri Linkov <juri@jurta.org>
336 * replace.el (list-matching-lines-prefix-face): New defcustom.
337 (occur-1): Pass `list-matching-lines-prefix-face' to the function
338 `occur-engine' if `face-differs-from-default-p' returns t.
339 (occur-engine): Add `,' inside backquote construct to evaluate
340 `prefix-face'. Propertize the prefix with the `prefix-face' face.
341 Pass `prefix-face' to the functions `occur-context-lines' and
342 `occur-engine-add-prefix'.
343 (occur-engine-add-prefix, occur-context-lines): Add optional arg
344 `prefix-face' and propertize the prefix with `prefix-face'.
347 2013-03-24 Leo Liu <sdl.web@gmail.com>
349 * nxml/rng-valid.el (rng-validate-while-idle)
350 (rng-validate-quick-while-idle): Guard against deleted buffer.
353 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
354 is the last entry in kill-buffer-hook.
356 * files.el (kill-buffer-hook): Doc fix.
358 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
360 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
363 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
365 2013-03-23 Leo Liu <sdl.web@gmail.com>
367 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
370 * nxml/rng-valid.el (rng-validate-mode)
371 (rng-after-change-function, rng-do-some-validation):
372 * nxml/rng-maint.el (rng-validate-buffer):
373 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
374 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
375 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
376 (nxml-extend-after-change-region): Use with-silent-modifications.
378 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
381 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
382 (rng-next-error-1, rng-previous-error-1): Do not let-bind
383 timer-idle-list. (Bug#13999)
385 2013-03-23 Juri Linkov <juri@jurta.org>
387 * info.el (info-index-match): New face.
388 (Info-index, Info-apropos-matches): Add a nested subgroup to the
389 main pattern and add text properties with the new face to matches
390 in index entries relative to the beginning of the index entry.
393 2013-03-21 Eric Ludlam <zappo@gnu.org>
395 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
396 Inhibit read only while inserting objects.
398 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
400 * progmodes/cfengine.el: Update docs to mention
401 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
402 symbol motion. Remove "_" from the word syntax.
404 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
406 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
407 syntax for both `cfengine2-mode' and `cfengine3-mode'.
409 2013-03-20 Juri Linkov <juri@jurta.org>
411 * info.el (Info-next-reference-or-link)
412 (Info-prev-reference-or-link): New functions.
413 (Info-next-reference, Info-prev-reference): Use them.
414 (Info-try-follow-nearest-node): Handle footnote navigation.
415 (Info-fontify-node): Fontify footnotes. (Bug#13989)
417 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
419 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
420 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
422 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
424 Suppress unnecessary non-ASCII chatter during build process.
425 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
426 (batch-skkdic-convert): Suppress most of the chatter.
427 It's not needed so much now that machines are faster,
428 and its non-ASCII component was confusing; see Dmitry Gutov in
429 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
431 2013-03-20 Leo Liu <sdl.web@gmail.com>
433 * ido.el (ido-chop): Fix bug#10994.
435 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
437 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
439 (whitespace-color-on, whitespace-color-off):
440 Use `font-lock-fontify-buffer' (Bug#13817).
442 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
444 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
445 remapping in mode-line.
446 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
448 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
450 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
451 value for `whitespace-line' face (Bug#13875).
452 (whitespace-font-lock-keywords): Change description.
453 (whitespace-color-on): Don't save `font-lock-keywords' value, save
454 the constructed keywords instead.
455 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
457 2013-03-19 Leo Liu <sdl.web@gmail.com>
459 * progmodes/compile.el (compilation-display-error): New command.
460 (compilation-mode-map, compilation-minor-mode-map): Bind it to
463 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
465 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
467 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
469 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
471 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
473 * net/tramp-compat.el (tramp-compat-user-error): New defun.
475 * net/tramp-adb.el (tramp-adb-handle-shell-command):
476 * net/tramp-gvfs.el (top):
477 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
478 (tramp-handle-shell-command): Use it.
479 (tramp-dissect-file-name): Raise an error when hostname is a
480 method name, and neither method nor user is specified.
482 * net/trampver.el: Update release number.
484 2013-03-18 Leo Liu <sdl.web@gmail.com>
486 Make sure eldoc can be turned off properly.
487 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
489 (eldoc-display-message-p): Revert last change.
490 (eldoc-display-message-no-interference-p)
491 (eldoc-print-current-symbol-info): Tweak.
493 2013-03-18 Tassilo Horn <tsdh@gnu.org>
495 * doc-view.el (doc-view-new-window-function): Check the new window
496 overlay's display property instead the char property of the
497 buffer's first char. Use `with-selected-window' instead of
498 `save-window-excursion' with `select-window'.
499 (doc-view-document->bitmap): Check the current doc-view overlay's
500 display property instead the char property of the buffer's first char.
502 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
504 Automate the build of ja-dic.el (Bug#13984).
505 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
506 from the input, rather than assume that it's been done for us by the
507 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
508 the current date into a ja-dic.el comment, as that complicates
511 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
513 * whitespace.el: Fix double evaluation.
514 (whitespace-space, whitespace-hspace, whitespace-tab)
515 (whitespace-newline, whitespace-trailing, whitespace-line)
516 (whitespace-space-before-tab, whitespace-indentation)
517 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
519 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
520 (whitespace-color-on): Use a single font-lock-add-keywords call.
521 Fix double-evaluation of face variables.
523 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
525 * net/tramp-adb.el (tramp-adb-parse-device-names):
526 Use `start-process' instead of `call-process'. Otherwise, the
527 function might be blocked under MS Windows. (Bug#13299)
529 2013-03-17 Leo Liu <sdl.web@gmail.com>
531 Extend eldoc to display info in the mode-line. (Bug#13978)
532 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
533 (eldoc-mode-line-string): New variable.
534 (eldoc-minibuffer-message): New function.
535 (eldoc-message-function): New variable.
536 (eldoc-message): Use it.
537 (eldoc-display-message-p)
538 (eldoc-display-message-no-interference-p):
539 Support eldoc-post-insert-mode.
541 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
542 (eval-expression): Run it.
544 2013-03-17 Roland Winkler <winkler@gnu.org>
546 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
547 strings in the list of return values.
549 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
551 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
552 radix before checking for HMS forms.
554 2013-03-16 Leo Liu <sdl.web@gmail.com>
556 * progmodes/scheme.el: Add indentation and font-locking for λ.
559 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
561 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
562 token before point (bug#13942).
564 2013-03-16 Leo Liu <sdl.web@gmail.com>
566 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
568 2013-03-16 Eli Zaretskii <eliz@gnu.org>
570 * startup.el (command-line-normalize-file-name): Fix handling of
571 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
572 <xfq.free@gmail.com> in
573 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
575 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
577 Sync with Tramp 2.2.7.
579 * net/trampver.el: Update release number.
581 2013-03-14 Tassilo Horn <tsdh@gnu.org>
583 * doc-view.el Fix bug#13887.
584 (doc-view-insert-image): Don't modify overlay associated to
585 non-live windows, and implement horizontal centering of image in
586 case it's smaller than the window.
587 (doc-view-new-window-function): Force redisplay of new windows on
590 2013-03-13 Karl Fogel <kfogel@red-bean.com>
592 * saveplace.el (save-place-alist-to-file): Don't sort
593 `save-place-alist', just pretty-print it (bug#13882).
595 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
597 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
598 whether `default-file-name-coding-system' is bound. It isn't in
601 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
603 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
604 backquotes for `obsolete' (bug#13929).
606 * international/mule.el (find-auto-coding): Include file name in
607 obsolescence warning (bug#13922).
609 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
611 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
612 for CFEngine 3-specific indentation.
613 (cfengine3-indent-line): Use it. Fix up category regex.
614 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
616 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
618 * type-break.el (type-break-file-name):
619 * textmodes/remember.el (remember-data-file):
620 * strokes.el (strokes-file):
621 * shadowfile.el (shadow-initialize):
622 * saveplace.el (save-place-file):
623 * ps-bdf.el (bdf-cache-file):
624 * progmodes/idlwave.el (idlwave-config-directory):
625 * net/quickurl.el (quickurl-url-file):
626 * international/kkc.el (kkc-init-file-name):
627 * ido.el (ido-save-directory-list-file):
628 * emulation/viper.el (viper-custom-file-name):
629 * emulation/vip.el (vip-startup-file):
630 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
631 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
633 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
635 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
636 * language/thai-word.el: Switch to UTF-8.
638 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
640 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
642 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
644 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
645 Use with-current-buffer and don't move point.
646 (net-utils-run-simple): Remove useless code.
647 (net-utils-remove-ctl-m): Remove unused custom.
649 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
651 * international/characters.el (glyphless-set-char-table-range): New fun.
652 (update-glyphless-char-display): Use it (bug#13744).
654 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
656 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
657 namespaces in the syntax, indent closer for hanging brace
658 correctly, allow single-quote delimited 'strings', and make
659 `cfengine3-mode' the default.
661 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
663 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
664 Use lexical-binding. Fix up docstring according to conventions.
665 (gdbmi-debug-mode): New var.
666 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
667 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
668 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
669 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
670 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
671 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
672 (gdbmi-bnf-incomplete-record-result): New functions.
673 (gdb-car<): Remove function.
674 (gdbmi-record-list): Remove variable.
675 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
676 (gdbmi-bnf-result-state-configs): New const.
677 (gud-gdbmi-marker-filter): Rewrite.
678 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
679 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
680 Add `token' argument.
681 (gdb-done, gdb-error): New functions.
682 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
684 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
686 * term/xterm.el (xterm--report-background-handler): Don't burp
688 (xterm--version-handler): Extract from terminal-init-xterm.
689 (xterm--query): Don't mishandle timeout. Remove debugging messages.
690 Allow multiple handlers.
691 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
693 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
694 (xterm--report-background-handler, xterm--query): New functions.
695 (terminal-init-xterm): Use them.
697 2013-03-11 Michael R. Mauger <michael@mauger.com>
699 * progmodes/sql.el Version 3.2
700 Please note that my address changed to <michael@mauger.com>;
701 the <mmaug@yahoo.com> address remains active.
702 (sql-connection-alist): Updates documentation to fix bug#13715.
703 (sql-connect): Handle missing `sql-connection-alist' correctly.
704 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
705 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
707 (sql-default-value): New function.
708 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
709 values were not used.
710 (sql-rename-buffer): Make sure alternate buffer name has no text
712 (sql-input-sender, sql-execute-feature): Fetch variable with
713 `buffer-local-value' rather than `with-current-buffer'.
714 (sql-*): Use #' function syntax consistently.
715 (sql-*): Use message/error/user-error consistently.
717 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
719 * xt-mouse.el (xterm-mouse-event-read): Remove.
720 (xterm-mouse--read-event-sequence-1000)
721 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
723 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
725 * term/xterm.el (xterm-function-map): Support format used with
726 formatOtherKeys=1 (bug#13839).
728 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
729 (with-no-warnings): Use `declare'.
731 * whitespace.el (whitespace-enable-predicate): New variable.
732 (whitespace-enable-predicate): Use it.
734 * comint.el (comint-send-input, comint-snapshot-last-prompt)
735 (comint-output-filter, comint-update-fence):
736 Use with-silent-modifications.
738 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
740 * replace.el (occur-read-regexp-defaults-function): New var.
741 (occur-read-regexp-defaults): New defun.
742 (occur-read-primary-args): Propagate above change (bug#13892).
744 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
746 * mouse.el (mouse-drag-track): Remove left-over debugging code.
748 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
750 Major rewrite due to changed D-Bus interface of GVFS 1.14.
752 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
753 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
754 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
756 (tramp-gvfs-file-name-handler-alist) [directory-files]
757 [directory-files-and-attributes, file-exists-p, file-modes]:
758 Use Tramp default handler.
759 [file-acl, file-selinux-context, process-file, set-file-acl]:
760 [set-file-modes, set-file-selinux-context, shell-command]:
761 [start-file-process]: Remove handler.
762 [verify-visited-file-modtime]: New handler.
763 (tramp-gvfs-dbus-string-to-byte-array)
764 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
765 calls of `dbus-string-to-byte-array' and
766 `tramp-gvfs-dbus-byte-array-to-string'.
767 (tramp-gvfs-handle-copy-file)
768 (tramp-gvfs-handle-delete-directory)
769 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
770 (tramp-gvfs-handle-file-directory-p)
771 (tramp-gvfs-handle-file-executable-p)
772 (tramp-gvfs-handle-file-name-all-completions)
773 (tramp-gvfs-handle-file-readable-p)
774 (tramp-gvfs-handle-file-writable-p)
775 (tramp-gvfs-handle-insert-directory)
776 (tramp-gvfs-handle-insert-file-contents)
777 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
778 (tramp-gvfs-handle-set-visited-file-modtime)
779 (tramp-gvfs-handle-write-region): Rewrite.
780 (tramp-gvfs-handle-file-acl)
781 (tramp-gvfs-handle-file-selinux-context)
782 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
783 (tramp-gvfs-handle-set-file-modes)
784 (tramp-gvfs-handle-set-file-selinux-context)
785 (tramp-gvfs-handle-shell-command)
786 (tramp-gvfs-handle-start-file-process)
787 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
788 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
789 over the symlinks. Fix user handling.
790 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
791 of the D-Bus signals.
792 (tramp-gvfs-connection-mounted-p): Handle different names of the
794 (tramp-gvfs-mount-spec-entry): New defun.
795 (tramp-gvfs-mount-spec): Use it.
796 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
797 there is a share name. Handle different names of the D-Bus
798 signals and methods. Set connection properties needed for
799 `tramp-check-cached-permissions'.
800 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
803 * net/tramp.el (tramp-backtrace): Move up.
804 (tramp-error): Dump a backtrace into the debug buffer when
806 (tramp-file-mode-type-map, tramp-file-mode-from-int)
807 (tramp-file-mode-permissions, tramp-get-local-uid)
808 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
811 * net/tramp-sh.el (tramp-file-mode-type-map)
812 (tramp-check-cached-permissions, tramp-file-mode-from-int)
813 (tramp-file-mode-permissions, tramp-get-local-uid)
814 (tramp-get-local-gid): Move to tramp.el.
816 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
818 Separate mouse-1-click-follows-link from mouse-drag-region.
819 * mouse.el (mouse--down-1-maybe-follows-link): New function.
820 (key-translation-map): Use it to implement mouse-1-click-follows-link.
821 (mouse-drag-line, mouse-drag-track):
822 Remove mouse-1-click-follows-link code.
823 (mouse--remap-link-click-p): Remove.
825 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
827 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
828 (hi-lock-read-regexp-defaults): New defun.
829 (hi-lock-line-face-buffer, hi-lock-face-buffer)
830 (hi-lock-face-phrase-buffer): Propagate above change.
831 Update docstring (bug#13892).
833 * subr.el (find-tag-default-as-regexp): New defun.
834 * replace.el (read-regexp): Propagate above change.
836 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
838 * calc/calc-units.el (calc-convert-units): Fix the way that default
839 new units are stored.
841 2013-03-07 Matthias Meulien <orontee@gmail.com>
843 * bookmark.el: Define a face to highlight bookmark names in
844 bookmark menu buffers, where the default is a bold face similarly
845 to buffer names in buffer menu buffers.
846 (bookmark-menu-bookmark): New face to highlight bookmark names.
847 (bookmark-insert-location): Remove duplicated text property to
848 conform to buffer list (see `list-buffers').
849 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
850 `bookmark-menu-bookmark' to bookmark names.
852 2013-03-07 Matthias Meulien <orontee@gmail.com>
853 Karl Fogel <kfogel@red-bean.com>
855 * bookmark.el: Display the bookmark list header similarly to the
856 buffer list header (see `list-buffers'), where the default is now
857 an immovable/immutable header line.
858 (bookmark-bmenu-use-header-line): New variable.
859 (bookmark-bmenu-inline-header-height): New name for
860 `bookmark-bmenu-header-height', to avoid confusion with the code
861 for the new immovable header. All references changed.
862 (bookmark-bmenu-set-header): New function.
863 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
864 Conditionalize header construction accordingly.
865 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
866 the inline header height.
867 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
868 Conditionalize the skipping of the inline header height.
870 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
872 * progmodes/js.el (js--multi-line-declaration-indentation):
873 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
875 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
877 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
878 Only propertize regexp when not inside a string (Bug#13885).
880 2013-03-06 Alan Mackenzie <acm@muc.de>
882 Correct the position of point in some line-up functions.
883 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
884 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
885 point at column 0 rather than at a random place in the line.
887 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
889 * net/tramp-compat.el (tramp-compat-delete-directory):
890 Implement TRASH argument.
892 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
894 Keep pre-existing highlighting in completion candidates (Bug#13250).
895 * minibuffer.el (completions-first-difference): State that the
896 face is "added" in the docstring.
897 (completions-common-part): Same. And don't inherit from default.
898 (completion-hilit-commonality): Prepend 'completions-common-part
899 and 'completion-first-difference faces to the 'face property,
900 instead of replacing the value(s).
901 (completion--insert-strings): Same with 'completions-annotations face.
902 (completion-hilit-commonality): Use 'face instead of
903 'font-lock-face, because it gets priority if the completion
904 strings already have 'face set.
906 2013-03-04 Alan Mackenzie <acm@muc.de>
908 Replace `last-command-event' by `last-command-char' in XEmacs.
909 * progmodes/cc-defs.el (c-last-command-char): New macro.
910 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
911 (c-semi&comma-no-newlines-before-nonblanks)
912 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
913 in place of `last-command-event'.
914 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
915 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
916 (c-electric-paren, c-electric-continued-statement): Use the new
917 macro in place of `last-command-event'.
919 2013-03-04 Glenn Morris <rgm@gnu.org>
921 * files.el (inhibit-local-variables-regexps):
922 Add .diff and .patch. (Bug#13862)
924 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
926 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
927 whether the "su" command is available on the device.
929 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
931 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
932 (tramp-adb-handle-process-file): Remove superfluous setting.
933 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
934 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
935 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
937 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
939 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
940 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
941 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
942 Use dict-key rather than dict-name for the error message.
944 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
946 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
947 when reverting (bug#13831).
949 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
951 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
952 Always expand affix-file before storing to protect against changed
954 (ispell-print-if-debug): Make sure message is printed at the end
957 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
959 * net/tramp.el (tramp-obsolete-methods): New defconst.
960 (tramp-warned-obsolete-methods): New defvar.
961 (tramp-find-method): Check for obsolete methods. Map them to a
962 replacement method if appropriate.
964 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
966 (top): Remove completion functions for "scp1", "scp2", "ssh1",
969 2013-02-28 Dale Sedivec <dale@codefu.org>
971 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
972 Return valid syntax-table property value when converting
973 quotes within text from string syntax to punctuation syntax (bug#13844).
975 2013-02-28 Juri Linkov <juri@jurta.org>
977 * dired-aux.el (dired-diff): If file at point is a backup file,
978 use its original as the default value, and reverse the order
979 of arguments to the `diff' call. Doc fix. (Bug#13772)
981 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
983 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
984 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
986 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
988 Initial support for hunspell dictionaries auto-detection (Bug#13639)
990 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
991 Ask hunspell about available and default dictionaries.
992 (ispell-parse-hunspell-affix-file): Extract relevant info from
994 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
995 `ispell-dictionary-alist' entry for given dictionary after info
996 provided by `ispell-parse-hunspell-affix-file'.
997 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
998 of parsed hunspell dicts and associated affix files.
999 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1000 of parsed hunspell dicts and associated parameters.
1001 (ispell-set-spellchecker-params):
1002 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1004 (ispell-start-process):
1005 Call `ispell-hunspell-fill-dictionary-entry' for current
1006 dictionary if it is not initialized.
1008 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1010 * imenu.el: Comment nitpicks.
1012 2013-02-28 Sam Steingold <sds@gnu.org>
1014 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1015 See <http://stackoverflow.com/questions/14720205>.
1017 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1019 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1020 (net-utils-mode): Use it.
1021 (net-utils--revert-cmd): New var.
1022 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1023 (traceroute): Use net-utils-run-simple.
1025 2013-02-28 Glenn Morris <rgm@gnu.org>
1027 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1029 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1032 (doc-view-fallback-mode): Remove overlays here.
1033 (doc-view-toggle-display): Instead of here. Don't throw away
1034 image-mode-winprops-alist.
1035 (doc-view-goto-page): Don't mess with hscroll.
1037 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1039 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1040 &optional (bug#13819).
1042 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1044 * net/tramp-adb.el (tramp-adb-parse-device-names)
1045 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1047 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1049 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1050 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1051 defined. POSIX environments fall back to the "C" locale then and
1052 emit a warning, which shall be suppressed.
1054 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1057 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1059 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1063 2013-02-25 Juri Linkov <juri@jurta.org>
1065 * replace.el (read-regexp): Let-bind `default' to the first
1066 element of `defaults' if it's a list, otherwise it should be
1067 a string or nil. Let-bind `suggestions' to `defaults' if it's
1068 a list, otherwise make a list with the string value. Doc fix.
1071 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1073 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1074 that match "\`\.#", to avoid compiling lock files, even if they
1075 are readable (as they are on MS-Windows).
1077 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * files.el (basic-save-buffer): Remove redundant directory-creation.
1081 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1083 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1084 Add option to force `pi' to remain symbolic.
1085 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1086 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1087 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1088 derivatives, when necessary.
1090 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1092 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1093 (ps-mode-octal-region): Use string-make-unibyte.
1095 2013-02-23 Glenn Morris <rgm@gnu.org>
1097 * emulation/viper-cmd.el (viper-submit-report):
1098 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1099 * progmodes/vera-mode.el (vera-mode-help-address):
1100 * textmodes/artist.el (artist-maintainer-address):
1101 * textmodes/reftex.el (reftex-report-bug):
1102 * vc/ediff-util.el (ediff-submit-report):
1103 Add bug-gnu-emacs to bug report address.
1105 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1106 Remove bug report entries.
1107 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1109 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1110 (byte-compile-file, byte-compile-from-buffer):
1111 Use separate input/output buffers for each level of recursive
1112 byte-compile-file calls. (Bug#13787)
1114 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1116 * net/tramp.el (tramp-methods): Fix docstring.
1117 (tramp-ssh-controlmaster-options): Rename it from
1118 `tramp-ssh-controlmaster-template'. Return a string.
1119 (tramp-default-method): Adapt check for
1120 `tramp-ssh-controlmaster-options'.
1122 * net/tramp-sh.el (tramp-methods):
1123 Replace `tramp-ssh-controlmaster-template' by "%c".
1124 (tramp-do-copy-or-rename-file-out-of-band)
1125 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1126 that it is applied for the first hop only.
1128 2013-02-22 Juri Linkov <juri@jurta.org>
1130 * isearch.el (isearch-lazy-highlight-new-loop):
1131 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1132 to `isearch-other-end' if it is not nil. (Bug#13402)
1134 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1137 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1138 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1139 and `isearch-error' to nil.
1141 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1143 * progmodes/python.el (python-info-current-defun):
1144 Enhance match-data cluttering prevention.
1146 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1148 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1150 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1151 Handle multibyte file names.
1153 2013-02-22 Glenn Morris <rgm@gnu.org>
1155 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1156 (sgml-transformation-function): Give it a :set function.
1157 (sgml-tag): Doc fix.
1159 * cmuscheme.el (scheme-buffer):
1160 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1161 * progmodes/tcl.el (inferior-tcl-buffer):
1162 * textmodes/tex-mode.el (tex-command): Doc fixes.
1164 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1166 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1168 2013-02-21 Bastien Guerry <bzg@gnu.org>
1170 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1172 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1174 * progmodes/python.el (python-info-current-defun):
1175 Enhance match-data cluttering prevention.
1177 2013-02-21 Glenn Morris <rgm@gnu.org>
1179 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1180 loaded while outline-regexp is let bound. (Bug#9584)
1182 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1184 * progmodes/python.el (python-info-current-defun): Fix failed
1185 defun name retrieval because of unwanted match-data cluttering.
1187 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1189 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1190 defconst. Apply independent check for ControlPersist.
1192 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1193 temporarily, via "env".
1195 2013-02-21 Glenn Morris <rgm@gnu.org>
1197 * info.el (Info-enable-edit): Remove.
1198 (Info-edit): Disable it rather than using Info-enable.
1199 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1200 (Info-cease-edit): Make editing of Info files obsolete.
1202 * informat.el (Info-tagify):
1203 Handle buffers not visiting files. (Bug#13763)
1205 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1207 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1209 2013-02-21 Glenn Morris <rgm@gnu.org>
1211 * files.el (basic-save-buffer): Move check for existing parent
1212 directory after hooks. (Bug#13773)
1214 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * simple.el (command-execute): Move from C. Add obsolete check.
1217 (extended-command-history): Move from C.
1219 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1221 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1222 (jka-compr-mode-alist-additions): Handle .txz suffix for
1223 XZ-compressed tar archives (bug#13770).
1225 2013-02-20 Bastien Guerry <bzg@gnu.org>
1227 * outline.el (outline-regexp, outline-heading-end-regexp):
1228 Make variables, not options (bug#13731).
1230 2013-02-20 Glenn Morris <rgm@gnu.org>
1232 * image.el (image-current-frame): Change from variable to function.
1233 (image-show-frame): Rename from image-nth-frame. Update callers.
1234 * image-mode.el (image-multi-frame): New variable.
1235 (image-mode-map, image-mode, image-goto-frame):
1236 Use image-multi-frame rather than image-current-frame.
1237 (image-mode, image-goto-frame): Use image-current-frame as
1238 function rather than as variable.
1240 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1241 * emacs-lisp/cl-macs.el (cl--make-type-test)
1242 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1244 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1246 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1247 (tramp-get-file-property, tramp-set-file-property)
1248 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1249 (tramp-flush-file-property, tramp-flush-directory-property):
1250 Rename argument to KEY.
1251 (tramp-flush-connection-property): Simplify a little bit.
1252 (tramp-connection-property-p): New defun.
1253 (top): Reapply saved values only if there isn't a corresponding
1254 entry in `tramp-connection-properties'.
1256 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1258 * progmodes/python.el (python-indent-context):
1259 Fix python-info-line-ends-backslash-p call.
1260 (python-info-line-ends-backslash-p)
1261 (python-info-beginning-of-backslash): Respect line-number argument.
1262 (python-info-current-line-comment-p):
1263 Fix behavior when not at beginning-of-line.
1264 (python-util-position): Remove function.
1265 (python-util-goto-line): New function.
1267 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1269 * eshell/em-unix.el (eshell/su): Require tramp.
1270 (eshell/sudo): Require tramp. Remove now unnecessary check.
1272 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1273 `tramp-current-connection' in order to avoid an error when several
1274 commands are invoked in a short time in eshell and friends.
1276 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1278 Cleanup some of EIEIO's namespace.
1279 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1280 Use it to define all the class-* and object-* field accessors (renamed
1281 to eieio--class-* and eieio--object-*). Update all uses.
1282 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1283 class-num-slots and object-num-slots.
1284 (eieio--check-type): New macro.
1285 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1286 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1287 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1288 (object-assoc-list-safe): Use it.
1289 (eieio-defclass): Tighten regexp.
1290 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1291 Remove unreachable code.
1292 (object-class-fast): Declare obsolete.
1293 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1294 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1295 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1296 Rename from class-name, object-name, object-set-name-string,
1297 object-class, object-class-name, class-parents, class-children,
1298 class-precedence-list, class-parent; with obsolete alias.
1299 (class-of, class-direct-superclasses, class-direct-subclasses):
1301 (eieio-defmethod): Use `memq'; remove unreachable code.
1302 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1303 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1304 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1307 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1309 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1312 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1314 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1315 Use font-lock-keyword-face for macros and special forms (bug#8345).
1317 2013-02-17 Didier Verna <didier@didierverna.net>
1319 * net/network-stream.el (network-stream-open-starttls):
1320 Check that response to the starttls-command is non-nil. (Bug#13706)
1322 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1325 Don't assume all identifier chars have syntax word.
1326 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1327 Remove bar-not-symbol. Adjust callers.
1328 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1330 2013-02-17 Leo Liu <sdl.web@gmail.com>
1332 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1334 2013-02-17 Glenn Morris <rgm@gnu.org>
1336 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1338 * image-mode.el (image-mode-map): Add image-dired menu entry.
1340 * image-dired.el (tumme): Make this alias obsolete.
1342 2013-02-16 Glenn Morris <rgm@gnu.org>
1344 * image.el (image-animated-types): Remove.
1345 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1346 (image-animated-p): Make obsolete alias.
1347 (image-animate, image-nth-frame, image-animate-timeout):
1348 Use image-multi-frame-p.
1349 (image-animate-timeout): If no delay, use image-default-frame-delay.
1350 * image-mode.el (image-mode, image-toggle-animation):
1351 Use image-multi-frame-p. (Bug#763, bug#10739)
1352 (image-mode): Adjust startup message for a multi-frame image.
1354 * image-mode.el (image-mode-map): Give it a menu.
1356 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1358 * net/tramp-cache.el (tramp-connection-properties): New customer
1360 (tramp-get-connection-property): Use it.
1362 * net/tramp-compat.el (top): Require 'trampver.
1364 * net/tramp-sh.el (tramp-remote-process-environment):
1365 Set tramp-autoload cookie.
1367 2013-02-16 Kevin Ryde <user42@zip.com.au>
1369 * info-look.el (info-lookup-select-mode): If major-mode has no
1370 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1372 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1374 * replace.el (read-regexp): Tighten the regexp that matches tag.
1375 When tag is retrieved with `find-tag-default', use regexp that
1376 matches tag at point. Also update docstring (Bug#13687).
1378 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1380 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1381 add watch for the file, not its parent directory, since w32notify
1382 sets up the watch for the directory internally. (Bug#13725)
1384 2013-02-16 Glenn Morris <rgm@gnu.org>
1386 * image.el (image-default-frame-delay): New variable.
1387 (image-animated-p): Use image-default-frame-delay.
1388 (image-minimum-frame-delay): New constant.
1389 (image-animate-timeout): Use image-minimum-frame-delay.
1391 * image.el (image-nth-frame): New, split from image-animate-timeout.
1392 (image-animate-timeout): Use image-nth-frame.
1393 * image-mode.el (image-goto-frame, image-next-frame)
1394 (image-previous-frame): New commands.
1395 (image-mode-map): Add new frame commands.
1397 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1399 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1400 If col-desc already has help-echo, use it. (Bug#13563)
1402 2013-02-16 Glenn Morris <rgm@gnu.org>
1404 * image.el (image-current-frame): New variable.
1405 (image-animate-timeout): Set image-current-frame.
1406 * image-mode.el (image-mode): For animated images,
1407 display a frame counter via mode-line-process.
1409 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1411 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1415 2013-02-15 Alan Mackenzie <acm@muc.de>
1417 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1418 global minor mode has been enabled, call the minor mode function
1419 for a new buffer once only, after the major mode hook, whilst
1420 allowing that hook explicitly to disable the minor mode.
1421 (MODE-disable-in-buffer): New (generated) function.
1422 (disable-MODE): New (generated) buffer local variable.
1424 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1426 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1427 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1428 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1429 `ido-next-match' and `ido-prev-match' resply.
1430 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1431 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1432 `icomplete-backward-completions' (Bug#13708).
1434 2013-02-15 Glenn Morris <rgm@gnu.org>
1436 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1438 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1440 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1441 (goto-address-fontify-region): Use them instead of narrowing, so
1442 syntax-ppss has access to the whole buffer.
1444 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1446 * progmodes/python.el: Explain how to restore "cc-mode"-like
1447 forward-sexp movement in header documentation (Bug#13642).
1448 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1449 comments and strings (GH bug 114).
1451 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1453 * progmodes/python.el (python-info-current-defun): Fix current
1454 defun detection (Bug#13618).
1456 2013-02-15 Chong Yidong <cyd@gnu.org>
1458 * xml.el (xml-parse-string): Fix typo in handling of bad character
1461 2013-02-15 Glenn Morris <rgm@gnu.org>
1463 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1465 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1467 * net/tramp.el (tramp-debug-message):
1468 Add `tramp-condition-case-unless-debug'.
1469 (tramp-debug-on-error): New defvar.
1470 (tramp-condition-case-unless-debug): New defun.
1471 (tramp-file-name-handler): Use it.
1473 2013-02-14 Juri Linkov <juri@jurta.org>
1475 * info.el (Info-isearch-filter): Treat non-nil values of
1476 `search-invisible' including its default value `open'
1477 like the value `t' to match hidden text. (Bug#13402)
1479 2013-02-14 Glenn Morris <rgm@gnu.org>
1481 * help-fns.el (find-lisp-object-file-name): Give special treatment
1482 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1484 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1486 * net/quickurl.el (quickurl-save-urls):
1487 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1489 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1491 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1492 depth for unfinished percent literal. Not using it in the caller.
1493 (ruby-move-to-block): Jump over multiline literals of all types,
1494 ignoring code-looking contents inside them.
1495 (ruby-add-log-current-method): Improve performance at the expense
1496 of accuracy. `ruby-block-contains-point' is relatively slow, so
1497 only use it for method and singleton class blocks.
1499 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1501 Use ControlMaster where applicable. (Bug#13677)
1503 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1504 replacing `tramp-detect-ssh-controlmaster'.
1505 (tramp-default-method): Use it.
1507 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1508 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1510 [scpc, rsyncc]: Remove methods.
1511 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1513 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1514 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1516 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1518 * emacs-lisp/package.el (package--initialized): Move before first use.
1520 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1522 * icomplete.el (icomplete-hide-common-prefix): New user option.
1523 (icomplete-first-match): New face.
1524 (icomplete-completions): Correct handling of "complete but not
1525 unique" (Bug#12638).
1527 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1529 * descr-text.el (describe-char): Display the script (bug#13698).
1531 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1533 * tmm.el: Use lexical-binding and current-active-maps.
1534 (tmm-menubar): Use map-keymap and pcase.
1535 (tmm--completion-table): New function.
1536 (tmm-prompt): Use it to fix the menu order.
1537 (tmm-get-keybind): Use current-active-maps.
1539 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1541 Add dired-hide-details-mode. (Bug#6799)
1543 * locate.el (locate-mode): Set parent mode property to dired-mode.
1545 * find-dired.el (find-dired): Call dired-insert-set-properties on
1546 initial information line. Set process mark on end of buffer.
1547 (find-dired-sentinel):
1548 Call dired-insert-set-properties on summary.
1550 * dired.el (dired-hide-details-hide-symlink-targets)
1551 (dired-hide-details-hide-information-lines): New options.
1552 (dired-insert-directory):
1553 Set properties after final treatment of output.
1554 (dired-insert-set-properties):
1555 Set dired-hide-details-* properties.
1556 (dired-mode-map): Bind dired-hide-details-mode.
1557 (dired-mode): Set buffer-invisibility-spec to a list.
1558 (dired-next-line): Skip hidden lines.
1559 (dired-previous-line): Use dired-next-line.
1560 (dired-hide-details-mode): New minor mode.
1561 (dired-hide-details-update-invisibility-spec): New function.
1563 2013-02-13 Glenn Morris <rgm@gnu.org>
1565 * play/yow.el: Move to obsolete/. (Bug#9384)
1567 2013-02-13 Juri Linkov <juri@jurta.org>
1569 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1570 to select `ediff-control-frame' and set input focus correctly on Xfce.
1573 2013-02-13 Juri Linkov <juri@jurta.org>
1575 * image-mode.el (image-mode-map):
1576 * doc-view.el (doc-view-mode-map):
1577 * vc/ediff-util.el (ediff-setup-keymap):
1578 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1580 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1582 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1583 performance. Instead of recalculating indentation fully for each
1584 line, sum up indentation depth based only on visited lines.
1585 (ruby-parse-partial): Increase the depth after "do" even when END
1587 (ruby-parse-partial): When END is in the middle of a percent
1588 literal, increase the depth if the delimiter chars belong to the
1591 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1593 * play/fortune.el (fortune-compile): Also make the compiled file
1594 if it does not exist at all, not just if it is old. (Bug#5338)
1596 2013-02-13 Glenn Morris <rgm@gnu.org>
1598 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1600 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1602 * lisp/emacs-lisp/package.el (package-menu-execute):
1603 Add optional noquery argument. (Bug#13625)
1605 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1607 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1608 if DIR exists and PARENTS is non-nil.
1610 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1612 * progmodes/js.el (js--multi-line-declaration-indentation):
1613 Silence byte-compiler warning.
1615 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1617 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1619 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1620 only if it doesn't exist.
1622 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1625 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1627 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1628 UserInstallation when calling soffice to work around LibreOffice
1631 2013-02-12 Glenn Morris <rgm@gnu.org>
1633 * files.el (basic-save-buffer):
1634 Offer to create a non-existing directory. (Bug#3016)
1636 * calc/calc-graph.el (calc-graph-show-dumb):
1637 * calendar/calendar.el (calendar-mode-map):
1638 * cus-edit.el (custom-mode-map):
1639 * ehelp.el (electric-help-map):
1640 * emulation/vip.el (vip-mode-map):
1641 * epa.el (epa-key-list-mode-map):
1642 * info.el (Info-mode-map):
1643 * mail/rmail.el (rmail-mode-map):
1644 * mail/rmailsum.el (rmail-summary-mode-map):
1645 * man.el (Man-mode-map):
1646 * net/newst-plainview.el (newsticker-mode-map):
1647 * progmodes/cpp.el (cpp-edit-mode-map):
1648 * progmodes/grep.el (grep-mode-map):
1649 * progmodes/idlw-help.el (idlwave-help-mode-map):
1650 * simple.el (special-mode-map):
1651 * startup.el (splash-screen-keymap):
1652 * view.el (view-mode-map):
1653 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1655 2013-02-11 Elias Pipping <pipping@lavabit.com>
1657 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1660 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1662 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1664 2013-02-11 Glenn Morris <rgm@gnu.org>
1666 * vc/diff.el (diff-use-labels): New variable.
1667 (diff-no-select): Use --label rather than -L, and first
1668 check that it is supported. (Bug#11067)
1670 * files.el (enable-dir-local-variables): New variable.
1671 (hack-dir-local-variables): Respect enable-dir-local-variables.
1672 * tutorial.el (help-with-tutorial):
1673 Ignore directory-local variables. (Bug#11127)
1675 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1676 (vc-svn-global-switches): ... to here. (Bug#13513)
1678 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1680 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1681 Handle "foo (bar, default: xxx): " prompts.
1683 2013-02-10 Chong Yidong <cyd@gnu.org>
1685 * files.el (basic-save-buffer-1): Do not set
1686 buffer-file-coding-system-explicit (Bug#4533).
1688 * mail/emacsbug.el (report-emacs-bug): Change binding of
1689 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1691 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1693 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1694 * calc/calc-units.el (calc-convert-units): Use new variable.
1696 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1698 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1700 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1703 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1704 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1705 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1706 coding-system-for-write instead.
1708 * jka-compr.el (jka-compr-write-region): Don't bind
1711 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1714 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1715 (insert-file-contents-literally): Remove reference to
1716 file-name-buffer-file-type-alist.
1718 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1720 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1721 (find-buffer-file-type-coding-system): Remove references to
1722 find-buffer-file-type-match, find-buffer-file-type, and
1724 Don't put find-buffer-file-type-coding-system into
1725 file-coding-system-alist.
1726 (find-file-binary, find-file-text): Bind coding-system-for-read
1727 instead of file-name-buffer-file-type-alist.
1729 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1731 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1732 converter (Bug#13622).
1733 (doc-view-unoconv-program): Make obsolete alias.
1734 (doc-view-odf->pdf-converter-program): New variable.
1735 (doc-view-odf->pdf-converter-function): New variable.
1736 (doc-view-mode-p): Use it.
1737 (doc-view-odf->pdf-converter-unoconv):
1738 Rename from `doc-view-odf->pdf-converter-unoconv'.
1739 (doc-view-odf->pdf-converter-soffice): New function.
1740 (doc-view-convert-current-doc):
1741 Use `doc-view-odf->pdf-converter-function'.
1743 2013-02-09 Chong Yidong <cyd@gnu.org>
1745 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1746 view-echo-area-messages (Bug#13340).
1748 * help.el (view-echo-area-messages): Use display-buffer.
1750 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1753 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1756 Eval body right away, now that we do eager macroexpansion (bug#13605).
1758 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1759 (fundamental-mode): Use run-mode-hooks.
1761 * eshell/esh-proc.el (eshell/kill): Fix last change.
1762 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1764 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1766 * eshell/esh-proc.el (eshell/kill): Rewrite.
1768 * eshell/em-ls.el (show-almost-all): Declare.
1769 (eshell-do-ls): Add support for -A argument.
1771 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1773 * icomplete.el (icomplete-forward-completions)
1774 (icomplete-backward-completions): Handle corner case (bug#13602).
1776 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1778 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1779 be nil. Handle this. (Bug#13636)
1781 2013-02-07 Richard Stallman <rms@gnu.org>
1783 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1784 `save-buffer-coding-system'.
1786 2013-02-07 Alan Mackenzie <acm@muc.de>
1788 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1789 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1790 (c-parse-state-get-strategy): Don't return 'BOD any more.
1791 (c-append-lower-brace-pair-to-state-cache):
1792 Extra parameter HERE instead of narrowing.
1793 Widen to top of buffer before searching backwards for a brace pair.
1794 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1795 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1796 Narrow to parameter HERE, in place of being called narrowed.
1797 (c-remove-stale-state-cache): Extra parameter HERE in place of
1798 narrowing. Check there's an open brace in the cache before
1799 searching for its match.
1800 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1801 (c-parse-state-1): Don't narrow here for 'forward strategy,
1802 instead passing extra parameter HERE to several functions.
1803 Remove 'BOD strategy.
1805 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1807 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1808 used to install the package.
1810 2013-02-06 Glenn Morris <rgm@gnu.org>
1812 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1813 if we can't get user input. (Bug#6567)
1815 * startup.el (command-line): If simple.el is missing,
1816 test and warn about for some possible causes.
1818 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1820 * cus-start.el (all): Add ns-use-native-fullscreen.
1822 2013-02-05 Glenn Morris <rgm@gnu.org>
1824 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1826 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1827 Fix directory creation in fallback case.
1829 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1831 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1832 (vc-update-change-log): Use dolist.
1834 2013-02-04 Chong Yidong <cyd@gnu.org>
1836 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1838 (thing-at-point-beginning-of-url-regexp): New var.
1839 (thing-at-point-uri-schemes): Update list of URI schemes.
1840 (thing-at-point-url-regexp): Variable deleted.
1841 (thing-at-point-markedup-url-regexp): Disallow newlines.
1842 (thing-at-point-newsgroup-regexp)
1843 (thing-at-point-newsgroup-heads)
1844 (thing-at-point-default-mail-uri-scheme): New variables.
1845 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1846 method to find the possible bounds of the URI at point.
1847 New optional argument to find ill-formed URIs.
1848 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1849 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1850 the scheme-adding heuristics from ffap-url-at-point.
1851 (thing-at-point--bounds-of-well-formed-url): New function.
1852 Do parens matching to decide whether to include parens in the URI
1855 * ffap.el: Require thingatpt.
1856 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1857 All URI-valid characters are now recognized (Bug#5673).
1858 (ffap-string-at-point): Use use-region-p.
1859 (ffap-url-regexp): Extra character is handled by thing-at-point.
1860 (ffap-string-at-point-mode-alist): Allow parentheses.
1861 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1862 Convert to aliases; code moved to thingatpt.el.
1863 (ffap-gnus-hook): Use setq-local.
1865 2013-02-04 Glenn Morris <rgm@gnu.org>
1867 * emacs-lisp/ert.el (ert--explain-format-atom):
1868 Don't try to print non-characters as characters. (Bug#13543)
1870 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1872 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1873 (tramp-backtrace): New defun.
1874 (tramp-handle-insert-file-contents): Use `visit' when inserting
1877 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1878 Use `remote-file-name-inhibit-cache'.
1880 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1882 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1885 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1886 current-load-list (bug#13366).
1888 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1890 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1891 Identify g++ template instantiation trace. (Bug#12287)
1892 (compilation-mode-hook, compilation-start-hook)
1893 (compilation-window-height): Simplify docstrings. (Bug#13379)
1895 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1897 * mouse.el (mouse-drag-track): Always deactivate the mark before
1898 running the final event's command since that command is in charge of
1899 activating the mark if needed (bug#13523).
1901 2013-02-02 Juri Linkov <juri@jurta.org>
1903 * replace.el (perform-replace): Move let-bindings of isearch-*
1904 variables deeper to the loop that searches for the next match.
1905 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1906 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1909 * isearch.el (isearch-search-fun-default): Check for null
1910 first element of isearch-cmds as a precaution when it's used
1911 with inactive isearch.
1913 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1915 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1916 error when buffer in question is narrowed so position 1 is out of
1919 2013-02-02 Glenn Morris <rgm@gnu.org>
1921 * textmodes/remember.el (remember-clipboard): Doc fix.
1923 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1926 properties (bug#13179).
1928 2013-02-02 Juri Linkov <juri@jurta.org>
1930 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1931 instead of hard-coded default face `match'. (Bug#9438)
1933 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1935 * vc/vc-arch.el (vc-arch-registered):
1936 * vc/vc-bzr.el (vc-bzr-registered):
1937 * vc/vc-cvs.el (vc-cvs-registered):
1938 * vc/vc-git.el (vc-git-registered):
1939 * vc/vc-hg.el (vc-hg-registered):
1940 * vc/vc-mtn.el (vc-mtn-registered):
1941 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1944 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1945 prefix argument. (Bug#11656)
1947 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1951 2013-02-01 Glenn Morris <rgm@gnu.org>
1953 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1954 if the backend is known not to support it.
1956 * imenu.el (imenu-default-create-index-function):
1957 Tweak infinite loop test to check for forward motion as well as none.
1959 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1961 * net/soap-client.el (soap-invoke): Encode the string for
1962 `url-request-data' as UTF-8.
1963 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1965 2013-02-01 Glenn Morris <rgm@gnu.org>
1967 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1969 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1971 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1973 * net/tramp.el (tramp-tramp-file-p): Comment check for
1974 `string-as-unibyte'. The function does not exist on XEmacs, and
1975 likely we need another approach.
1977 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1978 `tramp-gw-*' variables are bound.
1980 2013-01-31 Glenn Morris <rgm@gnu.org>
1982 * files.el (basic-save-buffer-2): Choose coding system for
1983 writing the file before backing it up, to reduce delay between
1984 backing up and writing the new version. (Bug#13522)
1986 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1988 * simple.el (cycle-spacing): New command.
1989 (just-one-space): Use it.
1991 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1994 (opascal-newline-always-indents): Remove custom.
1995 (opascal-tab, opascal-newline): Remove commands.
1996 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1997 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1998 (opascal-save-match-data): Remove, use save-match-data instead.
1999 (opascal-save-state): Use with-silent-modifications.
2001 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2004 2013-01-30 Juri Linkov <juri@jurta.org>
2006 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2007 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2008 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2010 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2013 column if we're just deleting the backslashes.
2014 (makefile-fill-paragraph): Use eolp.
2016 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2018 * autorevert.el (auto-revert-use-notify): Fix docstring.
2020 2013-01-30 Leo Liu <sdl.web@gmail.com>
2022 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2024 2013-01-30 Glenn Morris <rgm@gnu.org>
2026 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2027 unread-command-events twice in some cases. This tries to implement
2028 the 2012-07-26 changes in a different way. (Bug#13560)
2030 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2032 * progmodes/python.el
2033 (python-pdbtrack-comint-output-filter-function): Enhancements on
2034 stacktrace detection. (thanks @gnovak)
2036 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2039 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2041 (jit-lock-register): Use setq-local.
2043 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2045 * calc-units.el (math-default-units-table): Remove initial value.
2046 (calc-convert-units): Treat expressions where all the units cancel as
2047 if they didn't have units.
2049 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2051 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2052 (tramp-completion-reread-directory-timeout): Fix type.
2053 (tramp-connection-min-time-diff): New defcustom.
2055 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2057 2013-01-30 Glenn Morris <rgm@gnu.org>
2059 * imenu.el (imenu-default-create-index-function):
2060 Put back a version of the infinite loop test removed 2013-01-23.
2062 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2064 * progmodes/python.el (python-shell-parse-command):
2065 Find python-shell-interpreter with modified environment.
2067 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2071 2013-01-29 Alan Mackenzie <acm@muc.de>
2073 Amend to fontify /regexp/s in actions correctly.
2074 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2075 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2076 are no longer included.
2077 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2078 What used to be these variables without "-line" in the name.
2079 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2080 (c-awk-non-arith-op-bra-re): Now also matches {.
2081 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2082 "return", and "case".
2083 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2085 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2086 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2088 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2090 * autorevert.el (auto-revert-use-notify):
2091 Use `custom-initialize-default' for initialization. (Bug#13583)
2093 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2095 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2096 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2097 in `tramp-file-name-handler'.
2098 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2100 (tramp-compute-multi-hops): Check, whether
2101 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2103 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2108 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2110 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2111 checks made superfluous by the \_< operator.
2112 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2113 temporarily) broken indentation.
2114 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2115 Highlight nested constants, too. \_< broke that.
2117 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2122 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2124 * autorevert.el (auto-revert-handler): Notifications which result
2125 from a saved file shall not be taken into account. (Bug#13557)
2127 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2129 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2130 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2131 (lisp-mode): Pass t for it. (Bug#13556)
2133 2013-01-25 Alan Mackenzie <acm@muc.de>
2135 AWK Mode: Fix indentation bug at top level. Bug #12274.
2137 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2138 just before CASE 5D.
2140 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2142 * net/socks.el (socks-nslookup-host): Use string-to-number.
2144 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2146 * autorevert.el (auto-revert-remote-files)
2147 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2148 (auto-revert-notify-enabled, auto-revert-use-notify)
2149 (auto-revert-notify-watch-descriptor-hash-list)
2150 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2151 (auto-revert-notify-event-descriptor)
2152 (auto-revert-notify-event-action)
2153 (auto-revert-notify-event-file-name): Doc fix.
2154 (global-auto-revert-mode): Reorder checks.
2155 (auto-revert-notify-rm-watch): Respect changed values of
2156 `auto-revert-notify-watch-descriptor-hash-list'.
2157 (auto-revert-notify-add-watch): Check for
2158 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2159 `inotify-add-watch'. Watch `default-directory' instead of
2160 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2161 has a changed meaning now. (Bug#13540)
2162 (auto-revert-notify-handler): Change implementation wrt events
2163 returning from a directory.
2164 (auto-revert-handler): Reorder implementation for checks of remote
2166 (auto-revert-buffers): Fix parentheses error.
2168 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2170 * progmodes/python.el: Enhancements to header documentation about
2171 skeletons. (Bug#5716)
2173 * imenu.el (imenu-default-create-index-function): Remove useless
2174 infinite loop check. (Bug#13438)
2176 2013-01-25 Alan Mackenzie <acm@muc.de>
2178 Fix a bug in the state cache mechanism. Refactor this a bit.
2180 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2181 `cache-pos' element from the return value.
2182 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2183 buffer to enable proper searching from beyond HERE. Amend the
2184 test for detecting the sought brace pair. Amend the value written
2185 to the "brace desert cache" when the brace isn't found.
2186 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2187 and several other variables analogously.
2188 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2189 parameter to a locally calculated variable.
2190 (c-parse-state-1): Change the calling conventions to the two
2191 defuns involving `cache-pos'.
2193 2013-01-25 Chong Yidong <cyd@gnu.org>
2195 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2197 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2199 * paren.el (show-paren-function): Make sure to set 'priority and
2200 'face only if the overlay does exist.
2202 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2204 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2206 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2208 (tramp-sh-handle-set-file-acl): Improve error checking.
2210 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2212 * doc-view.el (doc-view-display): Force mode line update until all
2213 document is converted. Suggested by Stefan Monnier (Bug#13164).
2215 2013-01-23 Bastien Guerry <bzg@gnu.org>
2217 * paren.el (show-paren-function): Make sure an overlay exists
2218 before trying to delete it. Also use `pos' as a position only
2219 when it is an integer.
2221 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2223 * play/gametree.el (gametree-break-line-here): Use point-marker.
2225 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2227 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2228 Mark descriptive parts with `display' property.
2230 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2232 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2233 New variable to map standard dict names to hunspell ones.
2234 (ispell-set-spellchecker-params): Make sure specific dict names
2235 are used for standard dicts with hunspell.
2237 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2239 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2240 chars for note (%N) and url (%U).
2241 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2243 2013-01-21 Juri Linkov <juri@jurta.org>
2245 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2246 in addition to existing separate binding `meta f10' in `global-map'.
2249 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2251 Improve XEmacs compatibility.
2253 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2255 * net/tramp-adb.el (top): Require `time-date'.
2256 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2257 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2258 Use `tramp-file-name-handler'.
2259 (tramp-adb-maybe-open-connection):
2260 Use `tramp-compat-set-process-query-on-exit-flag'.
2262 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2263 Use `tramp-compat-funcall'.
2265 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2266 `tramp-compat-funcall'.
2268 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2270 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2271 reimplementation using "adb shell command ..." instead of running
2272 remote shell interactively.
2274 2013-01-20 Glenn Morris <rgm@gnu.org>
2276 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2277 Add native profiler menu entries.
2279 * profiler.el (profiler-running-p): New function.
2280 (profiler-cpu-profile): Use profiler-running-p.
2281 (profiler-report-mode-map): Add some more menu entries.
2283 2013-01-19 Glenn Morris <rgm@gnu.org>
2285 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2286 fixes 2012-12-07 change. (Bug#13499)
2288 2013-01-19 Leo Liu <sdl.web@gmail.com>
2290 * dired.el (dired-get-marked-files): Prune erroneous values due to
2291 last change. (Bug#13152)
2293 2013-01-19 Glenn Morris <rgm@gnu.org>
2295 * progmodes/etags.el (tags-table-check-computed-list):
2296 Preserve point in tags buffer. (Bug#13412)
2298 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2300 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2301 Chong Yidong <cyd@gnu.org>
2303 * image-mode.el (image-next-file, image-previous-file):
2304 New commands (Bug#8453).
2305 (image-mode-map): Bind them to n and p.
2306 (image-mode--images-in-directory): New helper function.
2308 2013-01-19 Chong Yidong <cyd@gnu.org>
2310 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2311 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2312 save and restore the old window configuration.
2314 2013-01-18 Leo Liu <sdl.web@gmail.com>
2316 * progmodes/js.el: Tweak autoload cookie for alias.
2318 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2320 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2321 buffer local, again. This was lost with the fix on 2013-01-12.
2323 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2325 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2326 order to support several eshell buffers in parallel.
2328 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2330 * autorevert.el (auto-revert-use-notify): In the :set function, do
2331 not modify `kill-buffer-hook'.
2332 (auto-revert-notify-rm-watch):
2333 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2334 (auto-revert-notify-add-watch): Do not call
2335 `auto-revert-notify-rm-watch', but add it to a buffer local
2338 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2341 call to `eval' rather than a backquoted lambda.
2343 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2346 to return an explicit nil.
2347 (advice--remove-function): Change accordingly.
2349 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2350 the use of nadvice.el.
2352 * progmodes/which-func.el (which-function): Silence imenu errors
2355 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2357 * progmodes/sql.el: (sql-imenu-generic-expression):
2358 (sql-mode-font-lock-object-name): Match schema qualified names.
2359 (sql-connect): Use string keys.
2360 (sql-product-interactive): Wait for interpreter prompt.
2361 (sql-comint-oracle): Set process coding based on NLS_LANG.
2363 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2365 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2366 (sql-interactive-remove-continuation-prompt):
2367 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2369 2013-01-14 Leo Liu <sdl.web@gmail.com>
2371 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2374 2013-01-14 Glenn Morris <rgm@gnu.org>
2376 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2377 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2379 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2381 * progmodes/python.el (python-nav-end-of-statement):
2382 Fix cornercase when handling multiline strings.
2384 2013-01-13 Richard Stallman <rms@gnu.org>
2386 * mail/sendmail.el (mail-position-on-field): Add doc string.
2388 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2389 Get current message boundaries and pass them to
2390 message-forward-make-body-mime. Minor style changes.
2392 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2394 * cus-start.el (all): Avoid warnings about
2395 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2397 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2399 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2401 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2404 (jit-lock--debug-fontifying): New var.
2405 (jit-lock--debug-fontify): New function.
2406 * subr.el (condition-case-unless-debug): Don't prevent catching the
2407 error, just let the debbugger run.
2408 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2409 timer code and don't drop errors silently.
2411 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2413 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2414 `permanent-local' property.
2415 (auto-revert-notify-handler): Use `file-equal-p'.
2417 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2419 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2420 file notification by ACTION. For filtering by file name, compare
2421 only the non-directory part of the file name.
2423 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * autorevert.el: Use cl-lib instead of cl.
2427 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2428 (vc-bzr-checkin): Use it.
2429 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2430 will preserve match-data.
2432 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2434 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2435 (js--declaration-keyword-re): New var.
2436 (js--multi-line-declaration-indentation): New function.
2437 (js--proper-indentation): Use it.
2439 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2441 * calc/calc.el (calc-highlight-selections-with-faces)
2443 * comint.el (comint-history-isearch-message):
2444 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2445 * ffap.el (ffap-string-at-point-region, ffap-next)
2446 (ffap-string-at-point, ffap-string-around)
2447 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2449 * font-lock.el (font-lock-keywords-alist)
2450 (font-lock-removed-keywords-alist):
2451 * help-mode.el (help-xref-symbol-regexp):
2452 * info.el (Info-find-emacs-command-nodes):
2453 * international/mule.el (add-to-coding-system-list):
2454 * isearch.el (isearch-message-function, isearch-fail-pos):
2455 * misearch.el (multi-isearch-next-buffer-function):
2456 * newcomment.el (comment-box):
2457 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2458 (pr-setting-database):
2459 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2460 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2461 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2462 (pike-font-lock-keywords-3):
2463 * progmodes/compile.el (compile):
2464 * progmodes/etags.el (tags-table-files)
2465 (tags-table-files-function, tags-included-tables-function):
2466 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2467 (gdb-restore-windows):
2468 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2469 (ps-n-up-filling-database):
2470 * server.el (server-buffer, server-log):
2471 * simple.el (newline, delete-backward-char, delete-forward-char)
2472 (minibuffer-history-isearch-message, kill-line, track-eol)
2473 (temporary-goal-column):
2474 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2475 (flyspell-default-deplacement-commands):
2476 * textmodes/ispell.el (ispell-accept-output):
2477 * textmodes/sgml-mode.el (html-tag-help):
2478 * vc/compare-w.el (compare-ignore-whitespace)
2479 (compare-ignore-case, compare-windows-dehighlight):
2480 * vc/diff.el (diff):
2481 * whitespace.el (whitespace-point)
2482 (whitespace-font-lock-refontify, whitespace-bob-marker)
2483 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2485 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2487 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2488 (auto-revert-notify-rm-watch): Ignore errors.
2489 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2490 inotify, and '(size last-write-time) for w32notify.
2491 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2492 watch fails - this is a fallback to the file modification check.
2493 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2494 (auto-revert-notify-event-action)
2495 (auto-revert-notify-event-file-name): New defuns.
2496 (auto-revert-notify-handler): Use them. Implement first
2497 plausibility checks.
2498 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2500 2013-01-11 Julien Danjou <julien@danjou.info>
2502 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2503 max are almost equal. Also return the correct value for V which is
2504 already between 0 and 1.
2506 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2508 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2510 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2512 * autorevert.el (auto-revert-notify-rm-watch)
2513 (auto-revert-notify-add-watch): Fix typos in w32notify function
2516 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2518 * autorevert.el (auto-revert-notify-enabled): Move up.
2519 (auto-revert-use-notify): New defcustom.
2520 (auto-revert-mode, global-auto-revert-mode)
2521 (auto-revert-notify-add-watch, auto-revert-handler)
2522 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2523 `auto-revert-notify-enabled'.
2525 2013-01-10 Elias Pipping <pipping@exherbo.org>
2527 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2528 * doc-view.el (doc-view-document->bitmap):
2529 Use doc-view-single-page-converter-function instead of
2530 single-page-converter arg; adjust callers.
2532 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2534 * progmodes/which-func.el (which-function): Understand Semantic's use
2535 of overlays in imenu--index-alist.
2537 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2539 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2540 (Man-man-k-use-anchor): New var.
2541 (Man-parse-man-k): New function.
2542 (Man-completion-table): Use it.
2543 (man): Flush the completion cache between uses.
2545 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2547 * autorevert.el: Add file watch support.
2548 (auto-revert-notify-enabled): New defconst.
2549 (auto-revert-notify-watch-descriptor-hash-list)
2550 (auto-revert-notify-watch-descriptor)
2551 (auto-revert-notify-modified-p): New defvars.
2552 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2553 (auto-revert-notify-handler): New defuns.
2554 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2555 when mode is disabled.
2556 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2557 (auto-revert-buffers): Add file watches for active buffers.
2559 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2561 * cus-start.el (toplevel): Only allow float values for
2562 scroll-up-aggressively and scroll-down-aggressively.
2563 Allow any number for line-spacing.
2565 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2568 (doc-view-pdf->png-converter-function): Use mupdf if available.
2569 (doc-view-djvu->png-converter-function)
2570 (doc-view-ps->png-converter-function): Remove.
2571 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2572 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2573 (doc-view-already-converted-p): Adjust accordingly.
2574 (doc-view-mode-p): Simplify.
2575 (doc-view-enlarge): Use setq-local.
2576 (doc-view-pdf->png-converter-ghostscript)
2577 (doc-view-djvu->png-converter-ddjvu)
2578 (doc-view-pdf->png-converter-mupdf): Rework to call
2579 doc-view-start-process directly.
2580 (doc-view-pdf/ps->png): Simplify accordingly.
2581 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2582 (doc-view-document->bitmap): Rename from doc-view-document->png.
2583 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2584 (doc-view-set-slice-from-bounding-box): Fix completion table.
2585 (doc-view-mode): Use add-hook for after-revert-hook.
2587 2013-01-10 Glenn Morris <rgm@gnu.org>
2589 * emacs-lisp/authors.el (authors-ignored-files)
2590 (authors-valid-file-names, authors-renamed-files-alist):
2591 Add some more entries.
2593 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2596 `t' pseudo-window entry.
2598 2013-01-10 Alan Mackenzie <acm@muc.de>
2600 Fix bugs in the c-parse-state mechanism. Reuse some markers
2601 instead of continually generating new ones.
2603 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2604 (c-state-old-cpp-end-marker): New variables.
2605 (c-append-lower-brace-pair-to-state-cache): Start a backward
2606 search for "}" definitively outside CPP constructs.
2607 (c-remove-stale-state-cache): Inform the caller of a need to
2608 search back for a brace pair in certain circumstances.
2609 (c-state-maybe-marker): New macro.
2610 (c-parse-state): Reuse markers when appropriate.
2612 2013-01-10 Glenn Morris <rgm@gnu.org>
2614 * simple.el (execute-extended-command): Doc fix.
2615 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2617 2013-01-10 Chong Yidong <cyd@gnu.org>
2619 * faces.el (read-face-name): Doc fix.
2621 2013-01-10 Roland Winkler <winkler@gnu.org>
2623 * emacs-lisp/crm.el: Allow any regexp for separators.
2624 (crm-default-separator): All spaces around the default comma separator.
2625 (crm--completion-command): New macro.
2626 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2627 (crm-complete-and-exit): Handle non-single-char separators.
2629 2013-01-09 Elias Pipping <pipping@lavabit.com>
2631 * doc-view.el: Add support for DjVu (bug#13164).
2632 (doc-view-djvu->png-converter-function): New config var.
2633 (doc-view-single-page-converter-function, doc-view--image-type)
2634 (doc-view--image-file-extension): New vars.
2635 (doc-view-mode): Initialize them.
2636 (doc-view-goto-page): Use them.
2637 (doc-view-mode-p): Add support for ddjvu.
2638 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2639 (doc-view-set-up-single-converter): New funs.
2640 (doc-view-pdf/ps->png): Extend for djvu.
2641 (doc-view-document->png): Rename from doc-view-pdf->png.
2642 (doc-view-convert-current-doc): Handle djvu.
2643 (doc-view-insert-image, doc-view-display)
2644 (doc-view-already-converted-p): Don't hardcode png.
2645 (doc-view-set-doc-type): Recognize djvu docs.
2647 2013-01-09 Elias Pipping <pipping@lavabit.com>
2649 * doc-view.el: Add support for mupdf converter (bug#13164).
2650 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2651 (doc-view-ps->png-converter-function): New config vars.
2652 (doc-view-pdf->png-converter-ghostscript)
2653 (doc-view-ps->png-converter-ghostscript)
2654 (doc-view-pdf->png-converter-mupdf): New functions.
2655 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2657 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2659 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2660 first in session cache: When `tramp-own-remote-path' is in
2661 `tramp-remote-path', the remote path is only set in the session
2664 2013-01-09 Glenn Morris <rgm@gnu.org>
2666 * emacs-lisp/trace.el (trace-function-foreground)
2667 (trace-function-background): Doc fix.
2669 2013-01-09 Juri Linkov <juri@jurta.org>
2671 * international/mule-cmds.el (read-char-by-name): Move let-binding
2672 of completion-ignore-case around completing-read to fix regression
2673 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2674 `string-match-p' using the nil value of `case-fold-search' and
2675 `completion-ignore-case' in `completion-pcm--all-completions'.
2678 2013-01-09 Glenn Morris <rgm@gnu.org>
2680 * progmodes/compile.el (compilation-parse-errors):
2681 Fix typo. (Bug#13369)
2683 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2685 * comint.el (comint-send-input): Check size of buffer before
2686 waiting for process output, in case already accepted. (Bug#13290)
2688 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2691 * net/tramp-adb.el (tramp-adb-get-toolbox):
2692 Fix misspelling of 'unknown'.
2694 2013-01-08 Juri Linkov <juri@jurta.org>
2696 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2697 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2698 Use underline style wave on terminals that support it. (Bug#13000)
2700 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2703 the predicate returns nil.
2705 * simple.el: Use lexical-binding.
2706 (primitive-undo): Use pcase.
2707 (minibuffer-history-isearch-push-state): Use a closure.
2709 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2711 * simple.el (primitive-undo): Move from undo.c.
2713 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2716 (cvs-mode-remove-handled): Use it (bug#13380).
2718 * emacs-lisp/nadvice.el (advice--tweak): New function.
2719 (advice--remove-function, advice--subst-main): Use it.
2721 * emacs-lisp/advice.el: Update commentary.
2723 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2726 Remove spurious entry.
2728 2013-01-08 Glenn Morris <rgm@gnu.org>
2730 * net/tramp.el (tramp-default-host-alist): Add :version.
2732 2013-01-08 Juri Linkov <juri@jurta.org>
2734 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2735 single completion. (Bug#12456)
2736 (info--manual-names): Expand node completions into an explicit list
2737 before appending it to another list. Filter out internal buffers
2738 with the leading space in the buffer name. (Bug#10771)
2740 2013-01-08 Juri Linkov <juri@jurta.org>
2742 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2743 that defaults to the Top node.
2744 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2745 the short format (FILENAME) goes to the Top node.
2746 (Info-build-node-completions): Rename arg `file' to `filename'.
2749 2013-01-07 Bastien Guerry <bzg@gnu.org>
2751 * menu-bar.el (menu-bar-search-documentation-menu):
2752 Use `apropos-user-option' and fix the help message.
2754 2013-01-07 Bastien Guerry <bzg@gnu.org>
2756 * apropos.el (apropos-do-all): Update docstring.
2757 (apropos-user-option-button): New face.
2758 (apropos-user-option): Rename from `apropos-variable' and update
2760 (apropos-variable): Rewrite, now show all variables by default.
2761 (apropos-print): Mention "User option" instead of "Variable" when
2762 printing doc for user options. (Bug#13276)
2764 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2766 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2767 Handle filename correctly, when parsing "source -> target" symlink
2769 (tramp-adb-handle-set-file-times): New defun.
2771 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2773 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2774 advice list when the interactive-spec of ad-Advice-* changes.
2776 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2778 * wid-edit.el (widget-default-get): Work for inlined elements.
2781 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2783 * net/tramp.el (tramp-default-host-alist): New defcustom.
2784 (tramp-find-host): Use it.
2785 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2786 `eshell-directory-change-hook'.
2788 * net/tramp-adb.el (top): Add adb specific entry in
2789 `tramp-default-host-alist'.
2790 (tramp-adb-file-name-host): Remove function.
2791 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2792 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2794 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2796 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2798 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2800 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2802 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2803 consist of more than one digit.
2804 (tramp-adb-file-name-handler-alist):
2805 Use `tramp-handle-file-exists-p' consistently.
2806 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2807 (tramp-adb-handle-file-exists-p): Remove function.
2808 (tramp-adb-file-name-host): New defun.
2809 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2811 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2813 2013-01-06 Chong Yidong <cyd@gnu.org>
2815 * vc/vc.el (vc-next-action): Detect buffer modifications
2816 conflicting with locking VCS operation (Bug#11490).
2818 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2820 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2822 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2823 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2825 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2827 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2828 parsing of ls output using regular expression (handle filenames
2829 with spaces). Use virtual device number.
2830 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2833 2013-01-04 Daiki Ueno <ueno@gnu.org>
2835 * epg.el: Silence byte-compiler warnings.
2836 (epg--start): Use delete-char instead of delete-backward-char.
2837 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2839 2013-01-04 Daiki Ueno <ueno@gnu.org>
2841 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2842 Suggested by Eli Zaretskii <eliz@gnu.org>.
2844 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2846 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2847 non-negative integers. Otherwise, the default values are used.
2848 (tramp-convert-file-attributes): Convert uid and gid to integers.
2850 2013-01-04 Glenn Morris <rgm@gnu.org>
2852 * term.el (term-handle-colors-array): Ensure face attributes
2853 are fully specified, not nil. (Bug#13337)
2855 * term.el (term-default-fg-color, term-default-bg-color):
2858 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2859 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2860 rather than 'jka-compr being loaded. (Bug#13338)
2862 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2864 * icomplete.el (icomplete-completions):
2865 Honor icomplete-prospects-height once more following
2866 2012-11-29 changes. (Bug#13224)
2868 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2871 of called-interactively-p as well (bug#13237).
2873 * view.el (view--enable, view--disable): Rename from view-mode-enable
2874 and view-mode-disable and assume it's called from view-mode.
2875 (view-mode-enable, view-mode-disable): Redefine as obsolete
2876 compatibility layer above view-mode.
2877 (view-mode-enter): Call `view-mode'.
2879 * files.el (after-find-file): Call `view-mode'.
2881 * doc-view.el (doc-view-scale-internally): New var.
2882 (doc-view-enlarge, doc-view-insert-image): Obey it.
2884 2013-01-03 Daiki Ueno <ueno@gnu.org>
2886 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2889 2013-01-03 Glenn Morris <rgm@gnu.org>
2891 * mail/rmail.el (rmail-set-header-1): Ignore case.
2892 Handle multi-line headers. (Bug#13330)
2894 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2895 Handle paragraph starting at beginning of buffer.
2897 * subr.el (eval-after-load): Don't purecopy the form, so that it
2898 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2900 * emacs-lisp/byte-run.el (defun): Place cl declarations
2901 after any interactive spec. (Bug#13265)
2903 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2905 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2906 defun. Don't check for DECL if DOCSTRING isn't a string.
2909 2013-01-02 Glenn Morris <rgm@gnu.org>
2911 * eshell/em-cmpl.el (eshell-pcomplete):
2912 More thoroughly imitate pcomplete. (Bug#13293)
2914 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2915 Return nil for empty path elements. (Bug#13296)
2917 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2919 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2920 order to improve efficiency (Based on Daniel Colascione's
2921 <dancol@dancol.org> patch). (Bug#13182)
2923 2013-01-02 Glenn Morris <rgm@gnu.org>
2925 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2927 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2929 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2930 neither DOCSTRING nor DECL was given. (Bug#13316)
2932 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2934 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2936 (tramp-do-copy-or-rename-file): Ignore errors when calling
2937 `set-file-extended-attributes'.
2939 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2940 Add handler for `file-acl'.
2941 (tramp-smb-handle-file-acl): New defun.
2943 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2945 * calc/README: Mention ISO 8601 week-numbering dates.
2947 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2949 * view.el (view-mode-enable): New argument run-view-mode-hook.
2950 Run view-mode-hook only when it's non-nil (Bug#13315).
2951 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2954 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2956 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2957 (No device connected, invalid device name). (Bug #13299)
2959 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2961 * window.el (window-resizable--p): Rename to window-resizable-p.
2962 (window-resize-no-error): New function.
2964 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2965 broken in fix from 2012-12-28.
2967 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * subr.el (special-form-p): Don't signal errors on undef aliases.
2971 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2973 * calc/calc-forms.el (math-parse-date): Try using
2974 `math-parse-iso-date' when it looks like it might be needed.
2975 Allow times of 24:00.
2976 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2979 2012-12-30 Glenn Morris <rgm@gnu.org>
2981 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2982 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2983 (rmail-summary-displayed, rmail-summary): Declare.
2984 (mairix-rmail-display): Just require rmail.
2986 2012-12-30 Chong Yidong <cyd@gnu.org>
2988 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2989 check for the tarball contents.
2991 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2993 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2994 tarfile content listings (Bug#13136).
2996 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2998 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2999 Insert the undecoded text of the message being forwarded. (Bug#9521)
3001 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3004 integers, if they are real numbers. (Bug#13282)
3006 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3007 Return `t' on success.
3009 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3010 Add handler for `set-file-selinux-context'.
3012 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3014 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3015 (tramp-sh-handle-set-file-acl): Return `t' on success.
3017 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3019 * files.el (backup-buffer-copy, basic-save-buffer-2):
3020 If set-file-extended-attributes fails, fall back on set-file-modes
3021 instead of signaling an error. (Bug#13298)
3022 (basic-save-buffer): Likewise.
3024 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3026 * progmodes/python.el: Support other commands triggering
3027 python-indent-line so indentation cycling continues to work.
3028 (python-indent-trigger-commands): New defcustom.
3029 (python-indent-line): Use it.
3031 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3033 * progmodes/python.el (python-shell-send-region): Add blank lines
3034 for non sent code so backtraces remain correct.
3036 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3038 * progmodes/python.el: Remove cl dependency.
3039 (python-syntax-count-quotes): Replace incf call.
3040 (python-fill-string): Replace setf call.
3042 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3044 * info.el (info-other-window): New arg, for consistency with info.
3046 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3048 * mail/rmail.el (rmail-maybe-display-summary):
3049 Rewrite (Bug#13066).
3051 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3053 * epg.el (epg--start): Modify process-environment locally.
3055 2012-12-28 Daiki Ueno <ueno@gnu.org>
3057 * epg.el: Support pinentry-curses.
3058 Suggested by Werner Koch in
3059 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3060 (epg-agent-file, epg-agent-mtime): New variable.
3061 (epg--start): Record the modified time of gpg-agent socket file,
3062 to restore Emacs frame after pinentry-curses termination.
3063 (epg-wait-for-completion): Restore Emacs frame here.
3065 2012-12-27 Juri Linkov <juri@jurta.org>
3067 * info.el (Info-file-completions): New variable.
3068 (Info-read-node-name-1): Complete node names in the Info file
3069 when a file name is given. Call `Info-build-node-completions'
3071 (Info-build-node-completions): Add new arg `file'. When it is
3072 non-nil, visit it in a temporary buffer and cache its completions in
3073 `Info-current-file-completions'. Move most of the function body to
3074 `Info-build-node-completions-1'.
3075 (Info-build-node-completions-1): New function with the body from
3076 `Info-build-node-completions'. (Bug#12456)
3078 2012-12-27 Juri Linkov <juri@jurta.org>
3080 * frame.el (frame-maximization-style): Remove user option.
3081 (cycle-frame-maximized): Remove function.
3082 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3083 (toggle-frame-fullscreen): New command bound to <f11> instead of
3084 `toggle-frame-maximized'.
3085 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3087 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3089 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3091 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3093 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3094 for `file-accessible-directory-p'. (Bug#13275)
3096 2012-12-27 Sam Steingold <sds@gnu.org>
3098 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3099 continuations, see <http://stackoverflow.com/questions/3582436>.
3101 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3103 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3104 "module" and "def" to have indentation before them.
3105 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3107 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3109 2012-12-27 Alan Mackenzie <acm@muc.de>
3111 Speed up fontification where there's large brace blocks.
3112 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3113 to a call of c-beginning-of-decl-1.
3115 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3117 * comint.el (comint-adjust-window-point): New function.
3118 (comint-postoutput-scroll-to-bottom):
3119 Call comint-adjust-window-point (Bug#13248).
3121 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3123 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3125 (auto-mode-alist): Associate .gemspec files with ruby-mode
3126 (https://bugs.ruby-lang.org/issues/5453).
3128 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3130 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3131 Suppress coloring, if possible (required for BusyBox based systems like
3133 (tramp-adb-handle-file-attributes)
3134 (tramp-adb-handle-insert-directory)
3135 (tramp-adb-handle-file-name-all-completions): Use it.
3136 (tramp-adb-get-toolbox): New defun. Check for remote shell
3137 implementation (BusyBox or Toolbox).
3139 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3141 * startup.el (initial-buffer-choice): Allow function as value
3143 (command-line-1): Handle case where initial-buffer-choice
3144 specifies a function.
3145 * server.el (server-execute): Handle case where
3146 initial-buffer-choice specifies a function.
3148 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3150 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3152 (smtpmail-try-auth-methods): Forget the user name/password if the
3153 login is unsuccessful (bug#12424).
3155 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3157 * notifications.el (notifications-notify): Protect body with
3158 `with-demoted-errors'.
3160 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3161 Check properties of remote device. Restart connection, if there is a
3164 2012-12-21 Chong Yidong <cyd@gnu.org>
3166 * sort.el (sort-subr): Doc fix (Bug#13056).
3168 2012-12-21 Bastien Guerry <bzg@gnu.org>
3170 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3172 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3174 * simple.el (process-file): Overwrite stderr file, if exists.
3176 2012-12-21 Daiki Ueno <ueno@gnu.org>
3178 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3179 (epg-error): Set `error-message' property.
3181 2012-12-21 Chong Yidong <cyd@gnu.org>
3183 * international/mule-cmds.el (read-char-by-name): Signal an error
3184 if the user does not supply a valid character (Bug#13177).
3186 * simple.el (transpose-subr-1): Preserve marker positions by
3187 changing the insertion sequence (Bug#13122).
3189 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3191 * simple.el (kill-region): Deactivate mark even for empty regions
3194 2012-12-21 Chong Yidong <cyd@gnu.org>
3196 * help-fns.el (describe-variable): Make sure we get the right
3197 buffer name (Bug#13105). Suggested by Kelly Dean.
3199 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3201 * comint.el (comint-redirect-previous-input-string): New variable.
3202 (comint-redirect-setup, comint-redirect-cleanup)
3203 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3204 (comint-redirect-preoutput-filter): Fix verbose message.
3206 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3208 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3209 is too long for Tramp. See discussion in
3210 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3212 * progmodes/compile.el (compilation-start): Remove line escape
3215 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3217 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3220 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3222 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3223 following non-comment text (bug#13207).
3224 (lm-header-multiline): Continuation lines need to be indented more than
3226 (lm-homepage): New function.
3227 (lm-with-file): Don't be confused if narrowing is in effect.
3229 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3232 very beginning of a hunk (e.g. killing the first line).
3234 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3236 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3237 and text properties from returned ACL string.
3238 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3239 for "setfacl" command.
3241 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3243 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3244 `tramp-cleanup-this-connection', when the process has died.
3247 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3251 2012-12-17 Kevin Ryde <user42@zip.com.au>
3253 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3255 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3257 Add support for preserving ACL entries of files.
3259 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3260 `set-file-acl' handlers.
3262 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3263 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3265 * net/tramp-compat.el (tramp-compat-copy-file):
3266 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3269 Add `file-acl' and `set-file-acl' handlers.
3270 (tramp-gvfs-handle-copy-file):
3271 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3272 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3275 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3276 Add `file-acl' and `set-file-acl' handlers.
3277 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3278 (tramp-sh-handle-set-file-acl): New defuns.
3279 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3280 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3282 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3283 Add `file-acl' and `set-file-acl' handlers.
3284 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3286 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3288 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3289 use pop-to-buffer with NORECORD argument t. As buffer name, use
3290 *Metahelp* with a leading space (Bug#13190).
3292 2012-12-16 Romain Francoise <romain@orebokech.com>
3294 * files.el (file-extended-attributes)
3295 (set-file-extended-attributes): New functions.
3296 (backup-buffer): Use them to handle both SELinux context and ACL
3298 (backup-buffer-copy): Work with an alist of extended attributes,
3299 rather than an SELinux context.
3300 (basic-save-buffer-2): Ditto.
3302 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3304 * battery.el (battery-bsd-apm): New function.
3306 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3308 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3309 standard date formats.
3311 2012-12-15 Juri Linkov <juri@jurta.org>
3313 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3314 `isearch-insert-char-by-name'.
3315 (with-isearch-suspended): New defmacro with body mostly from
3316 `isearch-edit-string' except the part that sets
3317 `isearch-new-string' and `isearch-new-message'.
3318 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3319 body that sets `isearch-new-string' and `isearch-new-message'.
3320 (isearch-insert-char-by-name): New command.
3321 * international/mule-cmds.el (read-char-by-name): Let-bind
3322 `enable-recursive-minibuffers' to t.
3323 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3325 2012-12-15 Juri Linkov <juri@jurta.org>
3327 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3330 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3332 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3333 the prompt. (Bug#13045)
3335 2012-12-14 Glenn Morris <rgm@gnu.org>
3337 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3338 Try to include filename in non-bytecomp warning. (Bug#13132)
3340 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3342 Fix permissions bugs with setgid directories etc. (Bug#13125)
3343 * files.el (backup-buffer): Don't rely on 9th output of
3344 file-attributes, as it's now a placeholder. Instead, use the new
3345 optional arg of file-ownership-preserved-p.
3346 (file-ownership-preserved-p): New optional arg GROUP.
3347 Fix mishandling of setuid directories that would cause this
3348 function to return t when it should have returned nil.
3349 Document what happens if the file does not exist, and when
3350 it's not known whether the ownership will be preserved.
3351 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3353 (tramp-get-local-gid): Use group-gid for integer, as that's
3354 faster and more reliable.
3356 2012-12-14 Julien Danjou <julien@danjou.info>
3358 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3359 Update keywords list, data type and PL/pgSQL.
3361 2012-12-14 Dave Abrahams <dave@boostpro.com>
3363 * vc/ediff-util.el (ediff-buffer-type): New function.
3364 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3365 rather than taking it as as argument.
3366 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3368 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3370 * json.el: Add pretty-print option (bug#12634).
3371 (json-encoding-separator, json-encoding-default-indentation)
3372 (json--encoding-current-indentation, json-encoding-pretty-print)
3373 (json-encoding-lisp-style-closings): New vars.
3374 (json--with-indentation): New macro.
3375 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3376 (json-encode-array): Use it to obey json-encoding-pretty-print.
3377 (json-pretty-print-buffer, json-pretty-print): New commands.
3379 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3381 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3382 Extract `ruby-syntax-propertize-expansions'.
3383 (ruby-syntax-propertize-expansions): Only change syntax on
3384 certain string delimiters, to punctuation. This way the common
3385 functions like forward-word and thing-at-point still work.
3386 (ruby-match-expression-expansion): Improve readability.
3387 (ruby-block-contains-point): New function.
3388 (ruby-add-log-current-method): Handle several edge cases.
3390 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3392 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3393 unload-feature finishes even when aborting an ongoing edebug session.
3394 Also, do not worry about edebug-mode, unload-feature takes care of it.
3396 2012-12-13 Andreas Schwab <schwab@suse.de>
3398 * net/tls.el (tls-program): Update customize type.
3400 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3402 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3403 (edebug-setup-hook, cl-read-load-hooks): Use it.
3404 (edebug-unload-function): New function. (Bug#13163)
3406 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3409 Otherwise, there could be errors in autoloading. (Bug#13151)
3411 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3413 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3416 2012-12-13 Alan Mackenzie <acm@muc.de>
3418 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3419 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3420 around `forward-comment' not recognizing ^M as whitespace.
3422 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3424 * progmodes/python.el (python-skeleton-class)
3425 (python-skeleton-def): Do not add space after defun name.
3427 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3429 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3430 (cl--symbol-function): Remove (now that funbound is like nil).
3432 2012-12-12 Glenn Morris <rgm@gnu.org>
3434 * button.el (button--area-button-p): Fix typo.
3436 2012-12-12 Sam Steingold <sds@gnu.org>
3438 * frame.el (frame-maximization-style): New user option.
3439 (toggle-frame-maximized): Toggle frame maximization according to
3440 `frame-maximization-style', bound to <f11>.
3441 (cycle-frame-maximized): Cycle between all maximization styles and
3442 non-maximized frame, bound to shift-<f11>.
3444 2012-12-12 David Cadé <codename68@gmail.com>
3446 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3448 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3450 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3451 (eieio-override-prin1): Don't quote kewords and booleans.
3452 (object-write) <eieio-default-superclass>: Don't put closing parens
3453 on new line, avoid needless empty lines, align values that are objects
3454 with the slot keyword (instead of beginning on the same line).
3455 (eieio-list-prin1): Align value with slot keyword; increase
3456 eieio-print-depth before printing members of the list.
3458 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3460 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3461 a display text-property.
3462 (report-emacs-bug-hook): Don't bother deleting it any more.
3464 * hilit-chg.el (highlight-save-buffer-state): Delete.
3465 Use with-silent-modifications instead.
3466 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3468 * button.el: Handle buttons in display text-properties.
3469 (button--area-button-p, button--area-button-string):
3470 Use (STRING . STRING-POS) representation instead of just STRING.
3472 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3474 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3475 subdirectory be skipped.
3477 2012-12-11 Glenn Morris <rgm@gnu.org>
3479 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3481 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3482 Treat preprocessor lines embedded in continuations like comments.
3483 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3485 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3487 * calc/calc.el (calc-standard-date-formats): Add more date
3489 * calc/calc-forms.el (math-parse-iso-date): New function.
3490 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3491 (math-parse-iso-date-validate): Add extra error checking.
3492 (calc-date-notation): Add ability to access new date formats.
3494 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3497 font-lock as well as when there's no text-property.
3499 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3501 * hi-lock.el: Refine the choice of default face.
3502 (hi-lock-keyword->face): New function. Use it wherever we used
3504 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3505 (hi-lock--last-face): Remove var.
3506 (hi-lock--unused-faces): New var to replace it.
3507 (hi-lock-read-face-name): Use/maintain it.
3508 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3509 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3510 if it has another face.
3512 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3514 * subr.el (w32notify-handle-event): New function.
3515 (inotify-handle-event): Doc fix.
3517 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3519 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3521 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3523 * simple.el (just-one-space): Doc fix.
3525 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3527 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3529 2012-12-10 Le Wang <l26wang@gmail.com>
3531 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3532 narrowed buffer (bug#12361).
3534 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3536 * vc/vc-hooks.el (vc-state): Doc fix.
3538 2012-12-10 Glenn Morris <rgm@gnu.org>
3540 * mail/rmail.el (rmail-maybe-display-summary):
3541 Preserve buffer, in case select-window changes it. (Bug#13066)
3543 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3546 cl-load-hook where they belong.
3548 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3552 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3554 Parallelize byte compilation on MS-Windows.
3555 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3556 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3557 (WINS_BASIC): Define as concatenation of the above.
3558 (compile): Subdivide into 4 separate and independent jobs that can
3560 (compile0-CMD, compile0-SH): New targets for compiling
3561 COMPILE_FIRST files, which are prerequisites for the rest of the
3563 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3564 New targets for parallel compilation with cmd.exe.
3565 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3566 compiling under a Unixy shell.
3568 2012-12-09 Chong Yidong <cyd@gnu.org>
3570 * simple.el (set-mark-default-inactive): Delete this
3571 accidentally-introduced option.
3572 (set-mark-command, exchange-point-and-mark): Remove calls.
3574 2012-12-09 Glenn Morris <rgm@gnu.org>
3576 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3577 Respect a defcustom's :set function, if appropriate. (Bug#109)
3578 (eval-defun): Doc fix.
3580 2012-12-08 Juri Linkov <juri@jurta.org>
3582 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3583 (Info-fontify-node, Info-bookmark-make-record): Remove the
3584 file extension from Info-current-file (Bug#13016).
3586 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3589 point, still provide some default.
3590 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3591 names, since we don't use it right now. Actually return the list.
3592 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3594 2012-12-07 Chong Yidong <cyd@gnu.org>
3596 * novice.el (disabled-command-function): Remove a spurious help
3597 xref (Bug#13043). Suggested by Kelly Dean.
3599 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3600 syntax is specified (Bug#13025).
3602 * info.el (Info-set-mode-line): Remove the file extension from
3603 Info-current-file if there is one (Bug#13016).
3605 2012-12-07 Glenn Morris <rgm@gnu.org>
3607 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3608 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3609 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3610 and rmail-mime-decoded. (Bug#9841)
3612 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3613 (batch-unrmail, unrmail): Doc fixes.
3614 (unrmail): Respect unrmail-mbox-format.
3615 * mail/rmail.el (rmail-mbox-format): New option.
3616 (rmail-show-message-1): Respect rmail-mbox-format.
3618 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3622 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3624 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3625 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3626 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3627 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3628 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3629 (cl-progv): Don't rely on dynamic scoping to find the body.
3630 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3631 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3632 (cl-declaim): Use backquotes.
3633 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3634 Use "cl--" prefix for the object's tag.
3636 * ses.el: Use advice-add/remove.
3637 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3638 (copy-region-as-kill, yank): Use advice-add.
3639 (ses-unload-function): Use advice-remove.
3641 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3643 * button.el: Make them work in header-lines (bug#12817).
3644 (button-map): Add bindings for header-line and mode-line use.
3645 (button-get, button-put, button-label): `button' may now be a string.
3646 (button-activate): Don't make it a defsubst.
3647 (button--area-button-p, button--area-button-string): New functions.
3648 (make-text-button): Fix the return value when `beg' was a string.
3649 (push-button): Handle the mode-line case.
3651 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3654 (sql-signum): Remove. Use `cl-signum' instead.
3655 (sql-read-passwd): Remove; use read-passwd instread.
3656 (sql-get-login-ext): Use read-string.
3657 (sql-get-login): Use dolist and pcase.
3658 (sql--completion-table): Rename from sql-try-completion.
3659 Use complete-with-action.
3660 (sql-mode): Don't change abbrev-all-caps globally.
3661 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3662 (sql-postgres-completion-object): Initialize vars in their `let'.
3663 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3664 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3665 (sql-comint-interbase): Use a single append, without setq.
3666 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3668 * hi-lock.el: Rework the default face and the serialize regexp code.
3669 (hi-lock--auto-select-face-defaults): Remove.
3670 (hi-lock-string-serialize-serial): Remove.
3671 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3673 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3675 (hi-lock-set-pattern): Adjust accordingly.
3676 (hi-lock--regexps-at-point): Simplify accordingly.
3677 (hi-lock--auto-select-face-defaults): Remove.
3678 (hi-lock--last-face): New var to replace it.
3679 (hi-lock-read-face-name): Rewrite (bug#11095).
3680 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3682 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3684 * net/tramp.el (tramp-replace-environment-variables):
3685 Hide compiler warning.
3686 (tramp-file-name-for-operation): Remove `executable-find',
3687 `start-process', `call-process' and `call-process-region'.
3689 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3691 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3694 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3696 2012-12-06 Chong Yidong <cyd@gnu.org>
3698 * ffap.el (ffap-replace-file-component): Fix typo.
3700 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3702 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3703 fix open-paren-like token test (bug#12785).
3705 2012-12-06 Glenn Morris <rgm@gnu.org>
3707 * mail/rmailsum.el (rmail-new-summary): Tweak for
3708 rmail-maybe-display-summary changing buffer. (Bug#13066)
3710 2012-12-06 Juri Linkov <juri@jurta.org>
3712 * info.el (Info-fontify-node): Don't hide the last newline.
3715 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3717 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3718 so as to enable message-read-from-minibuffer to expand mail aliases.
3720 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3723 the `intangible' property.
3724 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3726 2012-12-05 Deniz Dogan <deniz@dogan.se>
3728 * net/rcirc.el (rcirc-urls): Update documentation.
3729 (rcirc-condition-filter): New function.
3730 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3731 and exclude consecutive duplicate URLs (Bug#6082).
3733 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3736 Check return code of copy command.
3738 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3739 Use group `tramp'. Add version.
3741 2012-12-05 Chong Yidong <cyd@gnu.org>
3743 * ffap.el (ffap-url-regexp): Don't require matching at front of
3745 (ffap-url-p): If only a substring matches, return that.
3746 (ffap-url-at-point): Use the return value of ffap-url-p.
3747 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3748 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3749 (ffap-guess-file-name-at-point): Likewise.
3750 (ffap-replace-file-component): Fix typo.
3752 * info.el (info-display-manual): Add existing Info buffers, whose
3753 files may not be in Info-directory-list, to the completion.
3754 (info--manual-names): New helper function.
3756 2012-12-05 Glenn Morris <rgm@gnu.org>
3758 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3759 New functions, for detecting and resolving conflicts. (Bug#10709)
3761 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3763 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3764 (hi-lock-auto-select-face-defaults): New buffer local variable.
3765 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3766 (hi-lock-unface-buffer): Prompt user with useful defaults.
3767 With prefix arg, unhighlight all hi-lock patterns in buffer.
3769 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3773 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3775 * Makefile.in (TRAMP_SRC):
3776 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3778 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3780 * net/tramp-adb.el: New package.
3782 2012-12-04 Chong Yidong <cyd@gnu.org>
3784 * terminal.el: Move to obsolete/.
3786 * longlines.el: Move to obsolete/.
3788 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3789 Remove code referring to longlines mode.
3791 2012-12-03 Juri Linkov <juri@jurta.org>
3793 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3795 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3797 * textmodes/ispell.el (ispell-init-process)
3798 (ispell-start-process, ispell-internal-change-dictionary):
3799 Make sure personal dictionary name is expanded after initial
3800 `default-directory' value. Use expanded strings for
3801 keep/restart checks and for value (Bug#13019).
3803 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3805 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3807 2012-12-03 Leo Liu <sdl.web@gmail.com>
3809 * files.el (dir-locals-read-from-file): Check file non-empty
3810 before reading. (Bug#13038)
3812 2012-12-03 Glenn Morris <rgm@gnu.org>
3814 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3815 Remove any version extension before checking filename. (Bug#13006)
3816 (jka-compr-compression-info-list): Belated :version bump.
3818 2012-12-03 Chong Yidong <cyd@gnu.org>
3820 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3822 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3823 (buffer-menu): Doc fix (Bug#12294).
3825 2012-12-03 Roland Winkler <winkler@gnu.org>
3827 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3828 of diary-show-all-entries in the diary buffer (Bug#12994).
3830 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3832 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3833 "<STDIN>". This is binary safe.
3835 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3837 * calc/calc-forms.el (math-absolute-from-iso-dt)
3838 (math-date-to-iso-dt, math-parse-iso-date-validate)
3839 (math-iso-dt-to-date): New functions.
3840 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3841 (math-fd-isoweekday): New variables.
3842 (calc-date-notation, math-parse-standard-date, math-format-date)
3843 (math-format-date-part): Add support for more formatting codes.
3845 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3847 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3848 current buffer's file name when called interactively (Bug#12488).
3850 2012-12-02 Juri Linkov <juri@jurta.org>
3852 * info.el (info-display-manual): Don't clobber an existing Info
3853 buffer (Bug#10770). Add completion (Bug#10771).
3855 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3857 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3858 before using it for comparison (Bug#5297).
3860 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3862 * textmodes/css-mode.el (css-current-defun-name): New function.
3865 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3866 (html-mode): Use it.
3868 2012-12-01 Chong Yidong <cyd@gnu.org>
3870 Modularize add-log-current-defun (Bug#2224).
3871 Suggested by Jari Aalto.
3873 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3874 (add-log-current-defun): Move mode-specific code to other files.
3875 (add-log-lisp-like-modes, add-log-c-like-modes)
3876 (add-log-tex-like-modes): Variables deleted.
3878 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3879 (lisp-mode-variables): Use it.
3881 * progmodes/cc-mode.el (c-common-init):
3882 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3883 add-log-current-defun-function.
3885 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3888 * progmodes/perl-mode.el (perl-current-defun-name): New.
3889 (perl-mode): Use it.
3891 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3892 Use lisp-current-defun-name.
3894 * textmodes/tex-mode.el (tex-current-defun-name): New.
3895 (tex-common-initialization): Use it.
3897 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3898 (texinfo-mode): Use it.
3900 2012-12-01 Chong Yidong <cyd@gnu.org>
3902 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3903 * progmodes/autoconf.el (autoconf-mode):
3904 * progmodes/js.el (js-mode):
3905 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3906 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3907 * progmodes/perl-mode.el (perl-mode):
3908 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3909 * textmodes/css-mode.el (css-mode):
3910 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3911 (sgml-tags-invisible, sgml-guess-indent):
3912 * textmodes/tex-mode.el (tex-common-initialization)
3913 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3914 (doctex-mode, plain-tex-mode, latex-mode):
3915 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3917 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3919 * vc/vc-hg.el (vc-hg-next-revision):
3920 Ensure use of default "tip" output format. (Bug#6968)
3922 2012-12-01 Kim F. Storm <storm@cua.dk>
3924 * startup.el (fancy-startup-tail): Add a clickable link
3927 2012-12-01 Chong Yidong <cyd@gnu.org>
3929 * startup.el (fancy-startup-tail): Improve the message about
3930 auto-save files (Bug#2176).
3932 * files.el (recover-session): Improve the descriptive message, and
3933 use substitute-command-keys.
3935 2012-12-01 Glenn Morris <rgm@gnu.org>
3937 * ido.el (ido-file-internal):
3938 Handle other-window, other-frame for dired. (Bug#13036)
3940 2012-11-30 Glenn Morris <rgm@gnu.org>
3942 * icomplete.el (icomplete-separator): Fix :version.
3944 2012-11-30 Chong Yidong <cyd@gnu.org>
3946 * shell.el (shell): For C-u M-x shell, use an inactive shell
3947 buffer as the default (Bug#1975).
3948 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3949 (shell-mode): Use them to reapply ansi colorization if Shell mode
3952 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3954 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3956 2012-11-30 Samuel Bronson <naesten@gmail.com>
3958 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3959 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3961 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3963 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3964 by move-to-column (Bug#3234).
3966 2012-11-30 Chong Yidong <cyd@gnu.org>
3968 * longlines.el (longlines-wrap-line, longlines-encode-region):
3969 Preserve text properties (Bug#1425).
3971 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3973 * vc/vc.el (vc-register): Allow registering a file which is
3974 already registered with a different backend (Bug#10589).
3976 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3977 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * icomplete.el: Change separator; add ido-style commands.
3980 (icomplete-show-key-bindings): Remove custom var.
3981 (icomplete-get-keys): Remove function.
3982 (icomplete-forward-completions, icomplete-backward-completions):
3984 (icomplete-minibuffer-map): New var.
3985 (icomplete-minibuffer-setup): Use it.
3986 (icomplete-exhibit): Don't delay if the list of completions is known.
3987 (icomplete-separator): New custom.
3988 (icomplete-completions): Use it.
3989 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3990 (minibuffer-force-complete-and-exit): New command.
3991 (minibuffer--complete-and-exit): New function extracted from
3992 minibuffer-complete-and-exit.
3993 (minibuffer-complete-and-exit): Use it.
3995 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3996 error message when the file doesn't exist (bug#12974).
3998 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4000 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4002 2012-11-29 Glenn Morris <rgm@gnu.org>
4004 * files.el (hack-dir-local-variables): Warn if try to set
4005 coding via dir-locals, since it doesn't work. (Bug#7169)
4007 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4008 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4009 Set buffer-local value of desktop-save-buffer.
4010 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4012 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4013 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4015 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4016 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4018 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4021 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4023 * calc/calc-forms.el (calc-date-notation): Fix regexp
4024 used to find time codes. Fix symbol for seconds.
4026 2012-11-27 Glenn Morris <rgm@gnu.org>
4028 * emacs-lisp/derived.el (derived-mode-make-docstring):
4029 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4031 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4033 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4034 lexically scoped variables (bug#13005).
4036 2012-11-27 Glenn Morris <rgm@gnu.org>
4038 * vc/vc-hooks.el (vc-mistrust-permissions):
4039 Default to t, to avoid data-loss. (Bug#11490)
4041 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4043 * progmodes/python.el (python-indent-guess-indent-offset):
4044 If indentation is guessed make python-indent-offset buffer-local.
4046 Fix Imenu regression.
4047 * progmodes/python.el (python-nav-beginning-of-defun):
4048 Fix forward movement when statement(s) separates point from defun.
4049 (python-imenu-prev-index-position): New function.
4051 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4053 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4055 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4056 Don't set buffer-file-type. Return nil. (Bug#12989)
4058 2012-11-27 Glenn Morris <rgm@gnu.org>
4060 * hippie-exp.el (hippie-expand-try-functions-list):
4061 Re-autoload it. (Bug#12982)
4063 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4065 * descr-text.el (describe-char-padded-string):
4066 Call internal-char-font only on GUI frames. (Bug#11964)
4068 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4070 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4071 and obsoletion message.
4073 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4076 the constructs to keep outside of the `cl-block' (bug#12977).
4078 2012-11-27 Chong Yidong <cyd@gnu.org>
4080 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4081 keep reading until we get the up-event anyway, in order to process
4082 the up-event for mouse-1-click-follows-link (Bug#12971).
4084 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4087 base function is not yet defined (bug#12965).
4088 (ad-activate-advised-definition): Use ad-compile-function.
4089 (ad-activate): Use cond.
4091 2012-11-25 Leo Liu <sdl.web@gmail.com>
4093 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4096 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4098 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4099 reftex-section-info-function in order to be compatible with
4100 Texinfo integration.
4102 * textmodes/reftex.el (reftex-section-pre-regexp)
4103 (reftex-section-post-regexp, reftex-section-info-function):
4105 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4106 reftex-section-post-regexp, and reftex-section-info-function in order
4107 to be compatible with Texinfo integration.
4109 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4110 use reftex-section-pre-regexp variable in order to be compatible with
4111 Texinfo integration.
4113 2012-11-25 Chong Yidong <cyd@gnu.org>
4115 * faces.el: Make face-spec-set more analogous to setq.
4116 (face-spec-set): Change the third arg to specify whether this
4117 function is being called via defface, customize, or a third party.
4118 Set the appropriate symbol properties. Clear the override spec if
4119 setting via Custom. Initialize face if necessary. (Bug#4988)
4120 (face-spec-recalc): Allow theme faces to completely replace the
4121 defface spec, in the same way as custom faces (Bug#8454).
4123 * cus-face.el (custom-declare-face): Move face initialization to
4125 (custom-theme-set-faces): Don't initialize the face name here, as
4126 that is now done in face-spec-set.
4128 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4129 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4130 Simplify by using the new arg to face-spec-set.
4132 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4133 reset face-override-spec too, and use custom-declare-face.
4135 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4137 * term/ns-win.el (ns-initialize-window-system): Move creation of
4138 fontsets here (Bug#11964).
4140 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4142 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4145 2012-11-24 Chong Yidong <cyd@gnu.org>
4147 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4150 * custom.el (custom-theme-set-variables): Use a topological sort
4151 for ordering by custom dependencies (Bug#12952).
4152 (custom--sort-vars, custom--sort-vars-1): New functions.
4154 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4157 lexical-binding (bug#12938).
4159 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4161 * image-mode.el (image-transform-check-size): Use assertions only
4162 for images of type imagemagick.
4164 Otherwise no error, image-transform-fit-to-{width,height} is
4165 silently ignored, as before. Doc fix.
4167 2012-11-24 Chong Yidong <cyd@gnu.org>
4169 * faces.el (color-defined-p): Doc fix (Bug#12853).
4171 2012-11-24 Juri Linkov <juri@jurta.org>
4173 * dired.el (dired-mark): Add optional arg `interactive'.
4174 Check for `use-region-p' if `interactive' is non-nil.
4175 (dired-unmark, dired-flag-file-deletion): Add optional arg
4176 `interactive'. Call `dired-mark' with the arg `interactive'.
4179 * wdired.el: Revert 2012-10-17 change partly and replace it with
4180 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4181 (wdired-finish-edit): Add marks for new file names to
4182 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4183 after `revert-buffer'.
4184 (wdired-do-renames): Remove calls to `dired-remove-file',
4185 `dired-add-file', `dired-add-entry'. (Bug#11795)
4187 2012-11-24 Alan Mackenzie <acm@muc.de>
4189 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4191 Fix bugs in the state cache. Enhance a debugging mechanism.
4192 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4193 "brace at column zero" strategy for C++.
4194 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4195 (c-parse-state-point): New variable.
4196 (c-record-parse-state-state): Record old parse state with
4197 `copy-tree'. Record previous value of point.
4198 (c-debug-parse-state-double-cons): New debugging function.
4199 (c-debug-parse-state): Call the above new function.
4200 (c-toggle-parse-state-debug): Output a confirmatory message.
4202 * progmodes/cc-mode.el (c-before-change, c-after-change):
4203 Call c-invalidate-state-cache from `c-before-change' instead of
4206 2012-11-23 Chong Yidong <cyd@gnu.org>
4208 * find-cmd.el (find-constituents): Add executable, ipath,
4209 readable, samefile, writable, daystart, regextype (Bug#12856).
4211 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4215 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4217 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4218 definition. This fixes a bootstrap failure.
4219 (calc-gregorian-switch): In menu, put dates before regions.
4220 This is easier to follow, lines up better in the menu, and lets us
4221 coalesce regions that switch at the same time. Give country
4222 names, not "Vatican", as that's better for non-expert users.
4223 Use names that are stable between the date of switch and now, e.g.,
4224 Bohemia and Moravia (which existed then and now) and not
4225 Czechoslovakia (which didn't exist then and doesn't exist now).
4226 What is now the U.S. mostly did not switch at the same time as
4227 Britain, so omit the U.S. Correct spelling of "Britain".
4228 Catholic Switzerland was too much of a mess, so omit it.
4230 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4232 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4233 after the variable is changed.
4235 2012-11-21 Daniel Colascione <dancol@dancol.org>
4237 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4238 in SQL declarations for font-lock.
4239 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4241 2012-11-21 Glenn Morris <rgm@gnu.org>
4243 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4244 (face-italic-p): Add optional argument "inherit".
4246 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4247 Remove -p suffix from names, for consistency with other set-face-*.
4248 (set-face-inverse-video): Fix interactive spec.
4249 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4250 * textmodes/table.el (table--update-cell-face):
4251 Use set-face-inverse-video rather than now obsolete alias.
4253 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4255 * simple.el (line-move): Don't call line-move-partial if
4256 scroll-conservatively is in effect. (Bug#12927)
4258 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4261 Fallback on completion-at-point rather than
4262 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4263 (eshell-cmpl-initialize): Setup completion-at-point.
4265 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4267 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4269 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4271 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4272 are remote, check out-of-band property for both.
4274 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4279 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4281 More minor time fixes.
4282 * calendar/time-date.el: Commentary fix.
4283 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4284 too much other code depends on (0 0) time stamps.
4285 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4286 Add a couple of FIXME comments.
4288 Minor cleanup for times as lists of four integers.
4289 * files.el (dir-locals-directory-cache):
4290 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4292 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4293 * ps-bdf.el (bdf-file-newer-than-time):
4294 Process four-integers time stamps, not two. Doc fixes.
4296 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4298 * uniquify.el (uniquify-managed): Use defvar-local.
4299 (rename-buffer, create-file-buffer): Advise with advice-add.
4300 (uniquify-unload-function): Unadvise accordingly.
4302 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4303 (trace-buffer): Don't purecopy.
4304 (trace-entry-message, trace-exit-message): Add `context' arg.
4305 (trace--timer): New var.
4306 (trace-make-advice): Adjust for use in nadvice.
4307 Add `context' argument. Delay `display-buffer' via a timer.
4308 (trace-function-internal): Use advice-add.
4309 (trace--read-args): New function.
4310 (trace-function-foreground, trace-function-background): Use it.
4311 (trace-function): Rename to trace-function-foreground and redefine as
4312 an alias to that new name.
4313 (untrace-function, untrace-all): Adjust to the use of nadvice.
4315 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4317 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4319 * subr.el (called-interactively-p-functions): New var.
4320 (internal--called-interactively-p--get-frame): New macro.
4321 (called-interactively-p, interactive-p): Rewrite in Lisp.
4322 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4323 (called-interactively-p-functions): Use it.
4324 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4325 (called-interactively-p-functions): Use it.
4326 * allout.el (allout-called-interactively-p): Don't assume
4327 called-interactively-p is a subr.
4329 2012-11-20 Glenn Morris <rgm@gnu.org>
4331 * profiler.el (profiler-report-mode-map): Add a menu.
4332 No need to bind `q' because we derive from special-mode.
4333 (profiler-report-find-entry): Handle calls from the menu-bar.
4335 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * emacs-lisp/byte-run.el (defun-declarations-alist):
4338 Allow a compiler-macro to be a lambda expression.
4340 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4342 (python-syntax-context): Add compiler-macro.
4343 (python-font-lock-keywords): Simplify with De Morgan.
4345 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4347 * files.el (load-file): Require match in minibuffer selection, as was
4348 the case in Emacs-20 before we changed the spec to allow .elc files
4351 * json.el: Don't require cl since we don't use it.
4352 * color.el: Don't require cl.
4353 (color-complement): `caddr' -> `nth 2'.
4355 * calendar/time-date.el (time-to-seconds): De-obsolete.
4357 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4359 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4361 (math-date-to-julian-dt): Adjust the initial approximation for the
4362 year to deal with the new definition of the DATE.
4364 2012-11-19 Daniel Colascione <dancol@dancol.org>
4366 * term/w32-win.el (cygwin-convert-path-from-windows):
4367 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4369 2012-11-18 Chong Yidong <cyd@gnu.org>
4371 * filecache.el (file-cache--read-list): New function.
4372 (file-cache-add-directory-list, file-cache-add-file-list)
4373 (file-cache-delete-file-list, file-cache-delete-directory-list):
4374 Use it to read a list of files or directories (Bug#12846).
4375 (file-cache-add-file, file-cache-add-directory)
4376 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4377 (file-cache-delete-directory): Print an message.
4379 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4381 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4382 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4384 2012-11-18 Glenn Morris <rgm@gnu.org>
4386 * image.el (insert-image, insert-sliced-image): Doc fix.
4388 2012-11-18 Chong Yidong <cyd@gnu.org>
4390 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4393 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4395 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4396 response when the target file is in a subdirectory (Bug#12757).
4398 2012-11-18 Chong Yidong <cyd@gnu.org>
4400 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4402 2012-11-18 Glenn Morris <rgm@gnu.org>
4404 * emacs-lisp/cl-lib.el (face-underline-p):
4405 Use set-face-underline rather than the alias set-face-underline-p.
4407 * window.el (with-temp-buffer-window): Doc fix.
4408 * subr.el (with-output-to-temp-buffer):
4409 Add doc xref to with-temp-buffer-window.
4411 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4413 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4414 * calc/calc.el (math-format-date-cache): Declare.
4416 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4418 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4419 It also uses January 1, 1 AD as its day number 1.
4420 * calc/calc-forms.el (math-julian-date-beginning)
4421 (math-julian-date-beginning-int): Implement this.
4423 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4425 * descr-text.el (quail-find-key):
4426 * dired.el (desktop-file-name):
4427 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4428 * generic-x.el (comint-mode, comint-exec):
4429 * image-dired.el (widget-forward):
4430 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4431 (speedbar-change-expand-button-char)
4432 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4433 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4434 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4435 (widget-field-action, widget-value-set):
4436 * speedbar.el (imenu--make-index-alist):
4437 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4438 (ring-length, ring-insert):
4439 * vcursor.el (compare-windows-skip-whitespace):
4440 * woman.el (dired-get-filename):
4443 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4445 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4447 * calc/calc.el (calc-gregorian-switch): New variable.
4449 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4450 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4451 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4452 (math-leap-year-p): Add option to distinguish between Julian
4453 and Gregorian calendars.
4454 (math-day-number): Use `math-day-in-year' to do the computations.
4455 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4456 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4457 to do the computations.
4458 (math-date-to-dt): Use `math-date-to-julian-dt' and
4459 `math-date-to-gregorian-dt' to do the computations.
4460 (calcFunc-weekday, math-format-date-part): Use the new version of
4461 the DATE to determine the weekday.
4462 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4465 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4467 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4468 Cygwin; otherwise use 'file:'. (Bug#12914)
4469 (cygwin-convert-path-from-windows): Declare, to avoid
4470 byte-compiler warnings.
4472 2012-11-17 Andreas Politz <politza@fh-trier.de>
4474 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4475 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4476 prefix and negative numeric prefix args (Bug#12795).
4478 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4480 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4481 Don't signal an error with a score that is too low to add to the
4482 list of top scores. (Bug#12779)
4484 2012-11-17 Chong Yidong <cyd@gnu.org>
4486 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4488 * filecache.el (file-cache-add-file): Handle relative file name in
4489 the argument (Bug#12694).
4491 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4493 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4495 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4497 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4499 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4501 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4503 * window.el (enlarge-window, shrink-window): Don't mention return
4504 value in doc-string (Bug#12896).
4505 (window--display-buffer): Don't resize frames - it won't work
4506 with all window managers and defeat pop-up-frame-alist.
4507 (display-buffer-alist): In doc-string explain that CONDITION can
4508 be a function and which arguments are passed to it (Bug#12854).
4509 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4510 expressions (Bug#12854).
4511 (display-buffer): Pass ACTION argument to
4512 display-buffer-assq-regexp.
4514 2012-11-16 Glenn Morris <rgm@gnu.org>
4516 * window.el (fit-frame-to-buffer-bottom-margin)
4517 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4519 * faces.el (face-underline-p): Use face-attribute-specified-or.
4521 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4523 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4525 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4527 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4529 2012-11-16 Glenn Morris <rgm@gnu.org>
4531 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4532 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4534 * faces.el (face-underline-p): Doc fix. Handle :underline being
4535 things other than `t' (a string, a list).
4536 (face-inverse-video-p): Doc fix.
4537 (set-face-underline): Rename it back from set-face-underline-p.
4538 Doc fix. Allow interactive input of values other than t.
4539 (read-face-attribute): Apply formatting to :underline,
4540 since like :box and :stipple it can take list values.
4542 * term.el (ansi-term): Don't let C-x escape-char binding
4543 clobber the more standard C-c binding. (Bug#12842)
4545 * subr.el (set-temporary-overlay-map): Doc fix.
4547 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4549 * window.el (record-window-buffer)
4550 (display-buffer-record-window): When copying the markers to
4551 window-point preserve window-point-insertion-type. (Bug#12588)
4553 2012-11-16 Glenn Morris <rgm@gnu.org>
4555 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4556 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4557 Use new names for hooks rather than obsolete aliases.
4559 2012-11-15 Daniel Colascione <dancol@dancol.org>
4561 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4562 prefix instead of "file:" so that when FILE-NAME begins with "//",
4563 as it does when the target file is on a network share, url-handler
4566 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4569 a preactivated advice from an old advice.el; they're not compatible!
4571 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4573 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4574 Fix string-spec case.
4576 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4578 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4580 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4581 (advice--buffer-local-function-sample): New var.
4582 (advice--set-buffer-local, advice--buffer-local): New functions.
4583 (add-function, remove-function): Use them.
4585 2012-11-15 Drew Adams <drew.adams@oracle.com>
4587 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4589 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4592 potential binding of print-gensym to t, and prettify (back)quotes in
4593 case they appear in args's default values (bug#12884).
4595 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4598 (advice-eval-interactive-spec): New function.
4599 (advice--make-interactive-form): Support around advice (bug#12844).
4601 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4603 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4604 more strict. Add docstring.
4605 (ruby-expression-expansion-re): Extract from
4606 `ruby-match-expression-expansion'.
4607 (ruby-syntax-propertize-function): After everything else, search
4608 for expansions in string literals, mark their insides as
4609 whitespace syntax and save match data for font-lock.
4610 (ruby-font-lock-keywords): Use the 2nd group from expression
4612 (ruby-match-expression-expansion): Use the match data saved to the
4613 text property in ruby-syntax-propertize-function.
4615 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4620 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4622 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4623 start/end keyword a bit harder. Works with different values of N.
4625 (ruby-end-of-block): Update accordingly.
4627 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * woman.el (woman-file-name): Don't mess with unread-command-events
4632 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4633 Remove out of date self-require hack.
4634 (ad-do-advised-functions): Use simple `dolist'.
4635 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4636 (ad-advice-definition): Redefine as functions.
4637 (ad-advice-classes): Move before first use.
4638 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4639 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4640 (ad--defalias-fset): Remove functions.
4641 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4642 (ad-get-orig-definition): Rewrite.
4643 (ad-make-advised-definition-docstring): Change base docstring.
4644 (ad-real-orig-definition): Rewrite.
4645 (ad-map-arglists): Change name of called function.
4646 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4647 (ad-make-advised-definition): Simplify.
4648 (ad-assemble-advised-definition): Tweak for new calling context.
4649 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4650 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4651 function and call ad-activate if needed.
4652 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4653 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4654 (ad-compile-function): Compile ad-Advice-*.
4655 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4656 (ad-start-advice, ad-stop-advice): Remove.
4658 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4660 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4661 period before class method names, not after. Remove handling of
4662 one impossible case. Add comments.
4664 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * emacs-lisp/advice.el: Remove support for freezing.
4667 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4668 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4669 Remove support for `freeze'.
4671 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4672 override the default.
4673 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4675 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4678 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4680 (advice--strip-macro): New function.
4681 (advice--defalias-fset): Use them to handle macros.
4682 (advice-add): Use them.
4683 (advice-member-p): Correctly handle macros.
4685 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4687 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4688 Never font-lock the beginning of singleton class as heredoc.
4690 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4694 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4696 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4697 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4698 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4700 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4702 Fix end-of-defun misbehavior.
4703 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4704 python-beginning-of-defun-function. Handle nested defuns
4706 (python-nav-end-of-defun): Rename from
4707 python-end-of-defun-function. Ensure forward movement.
4708 (python-info-current-defun): Reimplement to work as intended
4709 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4710 parent defuns as soon as possible.
4712 2012-11-13 Glenn Morris <rgm@gnu.org>
4714 * progmodes/flymake.el (flymake-error-bitmap)
4715 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4716 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4718 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4720 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4721 backward, always stop at indentation. Reverts the change from
4722 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4724 2012-11-13 Glenn Morris <rgm@gnu.org>
4726 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4727 Add ibuffer-filter-by-derived-mode.
4729 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4730 the same name shadowing each other.
4732 * window.el (with-temp-buffer-window): Doc tweak.
4734 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4736 * help.el (temp-buffer-max-height):
4737 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4738 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4740 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * emacs-lisp/nadvice.el: New package.
4743 * subr.el (special-form-p): New function.
4744 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4745 (elp-all-instrumented-list): Remove var.
4746 (elp-not-profilable): Remove elp-wrapper.
4747 (elp-profilable-p): Use autoloadp and special-form-p.
4748 (elp--advice-name): New const.
4749 (elp-instrument-function): Use advice-add.
4750 (elp--instrumented-p): New predicate.
4751 (elp-restore-function): Use advice-remove.
4752 (elp-restore-all, elp-reset-all): Use mapatoms.
4753 (elp-set-master): Use elp--instrumented-p.
4754 (elp--make-wrapper): Rename from elp-wrapper, return a function
4755 suitable for advice-add. Use cl-inf.
4756 (elp-results): Use mapatoms+elp--instrumented-p.
4757 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4758 (debug-function-list): Remove var.
4759 (debug): Rename arg, and then let-bind it explicitly inside.
4760 (debugger-setup-buffer): Rename arg.
4761 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4762 (debugger-frame-number): Adjust to new debug-on-entry setup.
4763 (debug--implement-debug-on-entry): Rename from
4764 implement-debug-on-entry, add argument.
4765 (debugger-special-form-p): Remove, use special-form-p instead.
4766 (debug-on-entry): Use advice-add.
4767 (debug--function-list): New function.
4768 (cancel-debug-on-entry): Use it, along with advice-remove.
4769 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4770 (debugger-list-functions): Use debug--function-list instead of
4771 debug-function-list.
4772 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4773 (ad-special-form-p): Remove, use special-form-p instead.
4774 (ad-set-advice-info): Use add-function and remove-function.
4775 (ad--defalias-fset): Adjust accordingly.
4777 2012-11-10 Glenn Morris <rgm@gnu.org>
4779 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4780 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4781 (report-emacs-bug-create-existing-bugs-buffer)
4782 (report-emacs-bug-parse-query-results)
4783 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4785 * term.el (term-default-fg-color, term-default-bg-color):
4786 Make obsolete, rather than just saying "deprecated" in the doc.
4788 * term.el (term): Rename from `term-face'.
4789 (term-current-face, ansi-term-color-vector)
4790 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4793 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4795 * server.el (server-create-window-system-frame): Handle Nextstep
4796 specially (Bug#12780).
4798 2012-11-10 Glenn Morris <rgm@gnu.org>
4800 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4801 Unautoload, and make obsolete. (Bug#7449)
4803 2012-11-10 Chong Yidong <cyd@gnu.org>
4805 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4806 rename from diff-remove-trailing-whitespace (Bug#12831).
4808 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4810 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4811 miscompilation of trace.el.
4813 2012-11-10 Glenn Morris <rgm@gnu.org>
4815 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4817 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4819 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4822 2012-11-10 Chong Yidong <cyd@gnu.org>
4824 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4825 a defcustom with an appropriate :set function.
4826 (minibuffer-default--in-prompt-regexps): New function.
4828 2012-11-10 Glenn Morris <rgm@gnu.org>
4830 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4831 (define-modify-macro): Doc fixes.
4833 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4834 (gv-define-simple-setter): Update doc of `fix-return'.
4836 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4839 twice when `fix-return' is set (bug#12813).
4841 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4842 gv-define-simple-setter (bug#12812).
4844 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4847 2012-11-10 Glenn Morris <rgm@gnu.org>
4849 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4851 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4852 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4853 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4854 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4856 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4858 2012-11-10 Leo Liu <sdl.web@gmail.com>
4860 * ido.el (ido-set-matches-1): Improve flex matching performance by
4861 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4863 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4866 (ad--defalias-fset): New function.
4867 (ad-safe-fset): Remove.
4868 (ad-make-freeze-definition): Use cl-letf*.
4870 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4872 * subr.el (dolist): Don't bind VAR in RESULT.
4874 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4875 (fset, documentation): Don't save real def since we don't advise.
4876 (ad-do-advised-functions): Remove problematic `result-form'.
4877 (ad-safe-fset): `ad-real-fset' => `fset'.
4878 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4879 uses CL's dolist internally.
4880 (ad-arglist): Remove unused arg `name'.
4881 (ad-docstring, ad-make-advised-docstring):
4882 `ad-real-documentation' => `documentation'.
4883 (warning-suppress-types): Declare.
4884 (ad-set-arguments): Simple CSE.
4885 (ad-recover-normality): Sanity check.
4887 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4888 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4890 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4892 * ses.el: symbol to coordinate mapping is made by symbol property
4893 `ses-cell'. This means that the same mapping is done for all SES
4894 sheets. That is good enough for cells with standard A1 names, but
4895 not for named cell. So a hash map is added for the latter.
4896 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4897 (ses-sym-rowcol): Use hashmap for named cell.
4898 (ses-is-cell-sym-p): New defun.
4899 (ses-decode-cell-symbol): New defun.
4900 (ses-create-cell-variable): Add cell to hashmap when name is not
4902 (ses-rename-cell): Check that cell new name is not already in
4903 spreadsheet with the use of ses-is-cell-sym-p
4904 (ses-rename-cell): Use hash map for named cells, but accept also
4905 renaming back to A1-like.
4907 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * emacs-lisp/advice.el: Use new dynamic docstrings.
4910 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4911 Use dynamic-docstring-function instead of ad-advice-info.
4912 (ad--make-advised-docstring): New function extracted from
4913 ad-make-advised-docstring.
4914 (ad-make-advised-docstring): Use it.
4915 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4917 (sql-help): Use it with dynamic-docstring-function.
4919 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4921 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4923 * files.el (hack-one-local-variable--obsolete): New function.
4924 (hack-one-local-variable): Use it for obsolete settings.
4926 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4929 * progmodes/js.el (js--filling-paragraph): New var.
4930 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4931 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4934 2012-11-08 Julien Danjou <julien@danjou.info>
4936 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4937 `auto-mode-alist' (Bug#12835).
4939 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4941 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4942 (perl--prettify-symbols-alist): New const.
4943 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4945 (perl-font-lock-keywords-2): Use them.
4946 (perl-electric-noindent-p): New function.
4947 (perl-mode): Use it to set up electric-indent-mode.
4948 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4949 (perl-mode-map): Remove bindings for them.
4950 (perl-imenu-generic-expression, perl-outline-level):
4951 Match functions&packages in column>0.
4953 * env.el (env--substitute-vars-regexp): New const.
4954 (substitute-env-vars): Use it. Add `only-defined' arg.
4955 * net/tramp.el (tramp-replace-environment-variables): Use it.
4957 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4958 Byte-compile *before* eval in eval-and-compile.
4959 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4960 (byte-compile-file-form-autoload): Don't hide actual definition.
4961 (byte-compile-maybe-guarded): Accept `functionp' as well.
4963 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4965 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4967 * notifications.el (notifications-get-server-information-method):
4969 (notifications-get-capabilities): Fix docstring.
4970 (notifications-get-server-information): New defun.
4972 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4974 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4977 * textmodes/ispell.el: Experimental support for support debugging.
4978 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4980 (ispell-print-if-debug): New function to print stuff to
4981 `ispell-debug-buffer' if debugging is enabled.
4982 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4983 show some debugging info.
4984 (ispell-buffer-with-debug): New function that creates a debugging
4985 buffer and calls `ispell-buffer' with debugging enabled.
4987 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4988 comment in autoconf mode. (Bug#12768)
4990 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4992 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4993 frame-first-window, frame-root-window, frame-selected-window,
4994 minibuffer-selected-window, minibuffer-window,
4995 window-absolute-pixel-edges, window-at, window-body-height,
4996 window-body-width, window-display-table, window-combination-limit,
4997 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4998 window-inside-edges, window-inside-pixel-edges, window-left-child,
4999 window-left-column, window-margins, window-next-buffers,
5000 window-next-sibling, window-new-normal, window-new-total,
5001 window-normal-size, window-parameter, window-parameters, window-parent,
5002 window-pixel-edges, window-point, window-prev-buffers,
5003 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5004 window-start, window-text-height, window-top-child, window-top-line,
5005 window-total-height, window-total-width and window-use-time to the list
5006 of functions without side-effects.
5007 (toplevel): Add window-valid-p to the list of error-free functions
5008 without side-effects.
5010 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5012 * textmodes/ispell.el (ispell-program-name):
5013 Update spellchecker parameters when customized.
5015 2012-11-04 Glenn Morris <rgm@gnu.org>
5017 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5019 2012-11-04 Chong Yidong <cyd@gnu.org>
5021 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5022 same-window-* variables.
5024 2012-11-04 Juri Linkov <juri@jurta.org>
5026 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5027 (isearch-describe-key, isearch-describe-mode): Use a display
5028 action instead of binding same-window-* variables (Bug#10040).
5030 2012-11-03 Glenn Morris <rgm@gnu.org>
5032 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5033 Rename handler properties back from cl-- to cl-. (Bug#12788)
5035 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5037 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5039 * term/pc-win.el: Don't load term/internal from here.
5041 * loadup.el: Load term/internal from here.
5043 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5045 * progmodes/python.el (inferior-python-mode): Fix hang in
5046 jit-lock (Bug#12645).
5048 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5050 * window.el (switch-to-visible-buffer)
5051 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5053 2012-11-03 Glenn Morris <rgm@gnu.org>
5055 * emacs-lisp/cl-lib.el (cl--random-time):
5056 Rename from cl-random-time. (Bug#12773)
5057 (cl--gensym-counter, cl--random-state): Update callers.
5058 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5060 2012-11-03 Chong Yidong <cyd@gnu.org>
5062 * cus-start.el: Make cursor-type customizable (Bug#11633).
5064 2012-11-02 Glenn Morris <rgm@gnu.org>
5066 * filecache.el: No need to load find-lisp when compiling.
5067 (find-lisp-find-files): Autoload it.
5068 (file-cache-add-directory-recursively): Don't require find-lisp.
5070 * image.el (image-type-from-file-name): Trivial simplification.
5072 * emacs-lisp/bytecomp.el (byte-compile-eval):
5073 Decouple "noruntime" and "cl-functions" warnings.
5075 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5077 * play/gomoku.el (gomoku-display-statistics): Update mode line
5078 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5080 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5082 * window.el (quit-restore-window): If the window has been
5083 created on an existing frame and ended up as the sole window on
5084 that frame, do not delete it (Bug#12764).
5086 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5088 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5089 Rename from sh--inside-arithmetic-expression, handle more cases
5092 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5093 (sh-font-lock-open-heredoc): Use it (bug#12770).
5095 2012-10-30 Glenn Morris <rgm@gnu.org>
5097 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5099 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5101 2012-10-29 Chong Yidong <cyd@gnu.org>
5103 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5104 function key is stored in a keyboard macro (Bug#4894).
5106 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5108 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5112 (diff-unified->context, diff-context->unified)
5113 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5115 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5117 * files.el (find-alternate-file): Only ask one question (bug#12487).
5119 2012-10-29 Chong Yidong <cyd@gnu.org>
5121 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5122 Suggested by Dan Nicolaescu (Bug#6326).
5124 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5126 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5128 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5130 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5132 * face-remap.el (face-remap-add-relative): Handle the case where a
5133 face-remapping-alist entry is a cons cell (Bug#12762).
5135 2012-10-29 Kevin Ryde <user42@zip.com.au>
5137 * woman.el (woman-parse-numeric-value): Handle picas correctly
5140 2012-10-29 Glenn Morris <rgm@gnu.org>
5142 * emacs-lisp/cl.el (defsetf): Doc fix.
5144 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5147 syntax to the matching opener, if any (bug#12547).
5148 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5149 matching open as a "case-(".
5150 (sh-smie-rc-grammar): Add a corresponding rule for it.
5152 2012-10-28 Daniel Hackney <dan@haxney.org>
5154 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5155 "PKGNAME-autoloads.el" in case we created it.
5157 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5160 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5161 (completion--twq-all): Disable too-strict assertions.
5163 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5165 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5167 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5168 text to match the real keybindings.
5170 2012-10-27 Juri Linkov <juri@jurta.org>
5172 * wdired.el (wdired-keep-marker-rename): New defcustom.
5173 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5176 * dired.el (dired-keep-marker-rename): Add reference to
5177 `wdired-keep-marker-rename' in the docstring.
5178 Add default character value ?R to display initially in
5179 Customization UI instead of ?@.
5181 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5183 * window.el (display-buffer): In doc-string describe
5184 window-height and window-width alist entries.
5186 * time.el (display-time-world): Restore fit-window-to-buffer
5189 2012-10-27 Chong Yidong <cyd@gnu.org>
5191 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5193 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5195 * minibuffer.el (completion-category-overrides): New completion
5196 category `bookmark' (bug#11131).
5198 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5201 Silence bogus compiler warnings for ad-do-it.
5203 * bookmark.el (bookmark-completing-read): Set the completion category
5204 to `bookmark' (bug#11131).
5206 2012-10-26 Bastien <bzg@altern.org>
5207 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * face-remap.el: Use lexical-binding.
5210 (text-scale-adjust): Improve docstring. Use itself for the temporary
5211 overlay-map bindings, so as to repeat the "Use..." message each time.
5213 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * emacs-lisp/macroexp.el (macroexp--expand-all):
5216 Obey byte-compile-warning-enabled-p (bug#12486).
5218 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5219 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5221 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5223 * mouse.el (mouse-drag-line): Move last form into preceding when
5226 * help.el (resize-temp-buffer-window): Fix doc-string.
5228 2012-10-25 David Engster <deng@randomsample.de>
5230 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5231 Remove. This feature is already integrated in imenu.
5233 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5234 always loaded. Require `speedbar' unconditionally.
5236 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5240 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5242 * net/ldap.el (ldap-search-internal): The official ldif format starts
5243 with a "version: 1" header (bug#12724).
5245 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5248 2012-10-25 Glenn Morris <rgm@gnu.org>
5250 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5252 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5254 * minibuffer.el (minibuffer-force-complete): Use one more marker
5255 for the temporary-overlay-map command (bug#12619).
5257 2012-10-24 Chong Yidong <cyd@gnu.org>
5259 * time.el (display-time-world-mode): Derive from special-mode.
5260 (display-time-world): Use display-buffer (Bug#12708).
5261 (display-time-world-mode-map): Variable deleted.
5262 (display-time-world-display): Wrap the final delete-char inside
5265 2012-10-24 Chong Yidong <cyd@gnu.org>
5267 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5270 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5272 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * minibuffer.el (completion--all-sorted-completions-location): New var.
5275 (completion--cache-all-sorted-completions)
5276 (completion--flush-all-sorted-completions): Use it.
5277 (completion-in-region, completion-in-region--postch)
5278 (completion-at-point, completion-help-at-point): Use markers in
5279 completion-in-region--data (bug#12619).
5281 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * progmodes/compile.el (compilation-start): Try to handle common
5284 quoting of `cd' argument (bug#12640).
5286 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5289 2012-10-23 Glenn Morris <rgm@gnu.org>
5291 * progmodes/gud.el (gud-menu-map):
5292 Check gdb-active-process is bound. (Bug#12358)
5294 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * repeat.el (repeat): Set real-this-command (bug#12232).
5298 * htmlfontify.el (hfy-post-html-hook):
5299 * filesets.el (filesets-cache-fill-content-hook):
5300 * arc-mode.el (archive-extract-hook):
5301 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5302 * net/rcirc.el (rcirc-sentinel-functions)
5303 (rcirc-receive-message-functions, rcirc-activity-functions)
5304 (rcirc-print-functions):
5305 * net/dbus.el (dbus-event-error-functions):
5306 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5307 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5308 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5309 * term/sun.el (sun-raw-prefix-hooks):
5310 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5312 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5314 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5315 Set `tramp-chunksize' to 1. This improves the performance.
5316 (tramp-smb-wait-for-output): Add timeout to
5317 `tramp-accept-process-output' calls.
5319 2012-10-23 Chong Yidong <cyd@gnu.org>
5321 * faces.el (font-list-limit): Define as an obsolete variable.
5323 * startup.el (command-line):
5324 * cus-start.el: Don't refer to font-list-limit.
5326 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5328 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * subr.el (internal-temp-output-buffer-show): Rename from
5331 temp-output-buffer-show, since previously compiled files expect this name.
5333 2012-10-23 Glenn Morris <rgm@gnu.org>
5335 * image.el (image-type-from-file-name): If multiple types match,
5336 return the first one that is supported. (Bug#9045)
5338 2012-10-22 Glenn Morris <rgm@gnu.org>
5340 * image.el (imagemagick-enabled-types): Doc fix.
5342 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5344 * progmodes/which-func.el (which-func-current): The hash-table may have
5345 an explicit nil (bug#12338).
5347 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5349 * electric.el (electric-pair-delete-selection-self-insert-function):
5350 Rename to electric-pair-will-use-region, return a boolean.
5351 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5353 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5354 (delete-selection-pre-hook): Use use-region-p.
5355 (delete-selection-self-insert-function): Remove.
5356 (self-insert-command): Obey self-insert-uses-region-functions.
5357 (self-insert-iso): Revert to previous setting, since we don't actually
5358 know what that command does.
5359 (delete-selection-self-insert-hooks): Remove.
5361 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5363 * delsel.el (delete-selection-helper): New function, extracted from
5364 delete-selection-pre-hook.
5365 (delete-selection-pre-hook): Use it.
5366 (delete-selection-self-insert-function): New function.
5367 (delete-selection-self-insert-hooks): New hook.
5368 (self-insert-command, self-insert-iso): Use it.
5369 * electric.el (electric-pair-syntax): New function, extracted from
5370 electric-pair-post-self-insert-function.
5371 (electric-pair-post-self-insert-function): Use it.
5372 (electric-pair-delete-selection-self-insert-function): New function.
5373 (electric-pair-mode): Require delsel and setup
5374 delete-selection-self-insert-hooks (bug#11520).
5376 2012-10-20 Chong Yidong <cyd@gnu.org>
5378 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5379 no changes to show (Bug#12586).
5381 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5382 list explicitly (Bug#12571).
5384 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5386 * progmodes/flymake.el (flymake-create-temp-inplace):
5389 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5391 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5393 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5395 * calc/calc-units.el (math-extract-units): Properly extract powers
5398 2012-10-20 Daniel Colascione <dancol@dancol.org>
5400 * frame.el (make-frame): Set x-display-name as we used to in order
5401 to unbreak creating an X11 frame from an Emacs daemon started
5404 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5406 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5407 the same completion-field (bug#12221).
5409 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5411 * emacs-lisp/debug.el (debug): Record height of debugger window
5412 also when debugger will be back (Bug#8789).
5414 2012-10-18 Chong Yidong <cyd@gnu.org>
5416 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5417 Convert to defcustom.
5418 (gdb-get-source-file): Don't bind pop-up-windows.
5420 * progmodes/gud.el (gud-display-line): Don't specially re-use
5421 other frames for the gdb-mi case (Bug#12648).
5423 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * emacs-lisp/advice.el: Clean up commentary a bit.
5426 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5427 (byte-code-function-p): Never redefine.
5429 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5431 2012-10-18 Glenn Morris <rgm@gnu.org>
5433 * dired.el (dired-sort-toggle): Some ls implementations only allow
5434 a single option string. (Bug#12666)
5436 * minibuffer.el (completion-cycle-threshold): Doc fix.
5438 2012-10-17 Kenichi Handa <handa@gnu.org>
5440 * international/mule.el (set-keyboard-coding-system):
5441 Recover input meta mode when the new coding system doesn not use 8-bit.
5442 Supply TERMINAL arg to set-input-meta-mode.
5444 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5446 * wdired.el (wdired-old-marks): New variable.
5447 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5448 (wdired-do-renames): Move point with renamed file and don't lose
5449 mark status (Bug#11795).
5451 2012-10-16 Juri Linkov <juri@jurta.org>
5453 * replace.el (query-replace-help): Mention multi-buffer replacement
5454 keys in the Help message. (Bug#12655)
5456 2012-10-15 Chong Yidong <cyd@gnu.org>
5458 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5460 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5462 * window.el (display-buffer): Doc fix.
5464 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5465 Adjust the msft regexp to the output of Studio 2010, and move msft
5466 before edg-1. See the discussion on emacs-devel,
5467 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5470 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5472 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5473 (oset): Move uses of object-class-fast macro after its definition.
5475 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5477 2012-10-13 Chong Yidong <cyd@gnu.org>
5479 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5480 enabled, re-enable it (Bug#11963).
5482 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5484 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5485 non-nil, restore window configuration (Bug#12623).
5487 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * help-fns.el (describe-variable, describe-function-1):
5490 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5492 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5494 2012-10-12 Glenn Morris <rgm@gnu.org>
5496 * mail/rmailsum.el (rmail-header-summary):
5497 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5499 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5501 * progmodes/python.el (python-mode-map):
5502 Replace subtitute-key-definition with proper command remapping.
5503 (python-nav--up-list): Fix behavior for blocks on the same level.
5505 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5509 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5510 changes to the format of load-history.
5512 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5513 completion-ignore-case in case that var is buffer-local (bug#12615).
5515 2012-10-11 Kenichi Handa <handa@gnu.org>
5517 * international/eucjp-ms.el: Re-generated.
5519 2012-10-10 Kenichi Handa <handa@gnu.org>
5521 * select.el (xselect--encode-string): If a coding is specified for
5522 selection, and that is compatible with COMPOUND_TEXT, use it.
5524 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5526 * window.el (switch-to-buffer-preserve-window-point): New option.
5528 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5530 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5533 Don't document nil as a useful value (bug#12583).
5535 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5537 * net/tramp.el (tramp-debug-message):
5538 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5539 (with-tramp-progress-reporter): Rename from
5540 `tramp-with-progress-reporter'.
5541 (with-tramp-file-property, with-tramp-connection-property):
5542 Move from tramp-cache.el, rename from `with-file-property' and
5543 `with-connection-property', respectively.
5545 * net/tramp-cache.el: Remove `with-file-property' and
5546 `with-connection-property'.
5549 * net/tramp-gvfs.el:
5551 * net/tramp-smb.el: Adapt callees.
5553 * net/trampver.el: Update release number.
5555 2012-10-09 Glenn Morris <rgm@gnu.org>
5557 * w32-fns.el (set-message-beep):
5558 * term/w32-win.el (set-message-beep): Update declarations.
5560 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5563 (mode-line-widen, mode-line-input-method-map)
5564 (mode-line-coding-system-map, mode-line-remote)
5565 (mode-line-unbury-buffer, mode-line-bury-buffer)
5566 (mode-line-next-buffer, mode-line-previous-buffer):
5567 Replace save-selected-window+select-window => with-selected-window.
5569 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5570 * progmodes/cc-vars.el (bq-process): Remove, unused.
5572 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5574 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5576 Implemented `backward-up-list'-like navigation.
5577 * progmodes/python.el (python-nav-up-list)
5578 (python-nav-backward-up-list): New functions.
5579 (python-mode-map): Define substitute key for backward-up-list to
5580 python-nav-backward-up-list.
5582 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5584 * progmodes/python.el (python-fill-paragraph): Rename from
5585 python-fill-paragraph-function. Fixed fill-paragraph for
5586 decorators (Bug#12605).
5588 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5590 * progmodes/python.el (python-shell-output-filter): Handle extra
5591 carriage return in OSX (Bug#12409).
5593 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5595 Fix shell handling of unbalanced quotes and parens in output.
5596 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5597 (python-syntax-propertize-function): Use it.
5598 (python-shell-output-syntax-table): New var.
5599 (inferior-python-mode): Prevent unbalanced parens/quotes from
5600 previous output mess with current input context.
5602 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5604 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5605 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5607 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5609 * ffap.el (ffap-replace-file-component): Support Tramp file name
5610 syntax, not only ange-ftp's one.
5612 2012-10-08 Glenn Morris <rgm@gnu.org>
5614 * cus-start.el (message-log-max): Set :version.
5616 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5618 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5620 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5621 the minibuffer window (Bug#10851).
5623 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5625 Enhancements on forward-sexp movement.
5626 * progmodes/python.el (python-nav-beginning-of-statement)
5627 (python-nav-end-of-statement): Return point-marker.
5628 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5629 (python-info-current-symbol)
5630 (python-info-statement-starts-block-p): Rename from
5631 python-info-beginning-of-block-p.
5632 (python-info-statement-ends-block-p): Rename from
5633 python-info-end-of-block-p.
5634 (python-info-beginning-of-statement-p)
5635 (python-info-end-of-statement-p)
5636 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5639 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5642 frame-selected-windows.
5644 2012-10-08 Daniel Colascione <dancol@dancol.org>
5646 * battery.el (battery-status-function): Check for
5647 w32-battery-status itself, not system-time windows-nt.
5649 * frame.el: Require cl-lib.
5650 (display-format-alist): New variable mapping frame types to
5651 functions that initialize them.
5652 (window-system-for-display): New function: interprets
5653 display-format-alist.
5654 (make-frame-on-display): Remove existing display-selection logic
5655 and just forward to make-frame, which will now DTRT.
5656 (make-frame): Restructure to use window-system-for-display to
5657 figure out how to create a frame on a given display.
5658 (display-mouse-p): Look for frame-type w32, not a particular
5661 * loadup.el: Load w32 lisp code when we have the w32 feature.
5663 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5664 system-type windows-nt.
5666 * server.el (server-create-window-system-frame): Look for window
5668 (server-proces-filter): Only force a window system when windows-nt
5669 _and_ w32. Explain why.
5671 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5672 of window systems we configure for the mode.
5674 * startup.el (command-line): Mark window system is initialized
5675 after we've done it.
5677 * common-win.el (x-select-text): Look for w32, not windows-nt.
5679 * ns-win.el: Require cl-lib. Add ourselves to
5680 display-format-alist.
5681 (ns-initialize-window-system): Assert we're not initialized twice.
5683 * w32-win.el: Enable lexical binding; require cl-lib; add
5684 ourselves to display-format-alist.
5685 (w32-handle-dropped-file): Convert incoming dropped files from
5686 Windows paths to Cygwin ones before passing them on to the rest of
5688 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5689 (w32-initialize-window-system): Assert we're not initialized twice.
5691 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5692 (x-initialize-window-system): Assert we're not initialized twice.
5694 * w32-common-fns.el: New File.
5695 (w32-version, w32-using-nt, w32-get-clipboard-data)
5696 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5697 (w32-charset-info-alist, x-last-selected, text)
5698 (x-get-selection-value, x-selection-value): Move here.
5700 * w32-fns.el: Require w32-common-fns.
5701 (w32-version, w32-using-nt, w32-get-clipboard-data)
5702 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5703 (w32-charset-info-alist, x-last-selected, text)
5704 (x-get-selection-value, x-selection-value): Move to
5708 (w32-allow-system-shell, w32-system-shells): Define only in
5711 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5714 (read-passwd): Remove a few more potential sources of leaks.
5716 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5718 * progmodes/python.el (inferior-python-mode)
5719 (python-shell-make-comint): Fix initialization of local
5720 variables copied from parent buffer.
5722 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5724 * term/ns-win.el (ns-read-file-name): Update declaration to match
5726 (ns-respond-to-change-font): Change fontsize separately so we are sure
5727 it is set when font is acted upon.
5729 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5731 Enhancements to indentation.
5732 * progmodes/python.el (python-indent-context): Give priority to
5733 inside-string context. Make comments indentation markers.
5734 (python-indent-region): Do not mess with strings, unless it's the
5735 enclosing set of quotes.
5737 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * window.el (internal--before-save-selected-window)
5740 (internal--after-save-selected-window): New functions extracted from
5741 save-selected-window. Make sure we return the `alist' we construct.
5742 (save-selected-window): Use them.
5744 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5745 Use with-selected-window.
5747 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5748 forms that define macros (bug#12593).
5750 2012-10-07 Kenichi Handa <handa@gnu.org>
5752 * international/mule-conf.el (compound-text-with-extensions):
5753 Add :mime-charset property as x-ctext.
5755 2012-10-07 Stefan Merten <smerten@oekonux.de>
5757 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5758 (rst-indent-literal-normal, rst-indent-literal-minimized)
5759 (rst-indent-comment): Correct :version tag.
5760 (rst-official-cvs-rev): Correct version string.
5762 2012-10-07 Glenn Morris <rgm@gnu.org>
5764 * mail/rmailmm.el (rmail-mime-process-multipart):
5765 Do not confuse a multipart message with an epilogue
5766 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5768 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5770 Fix shell output retrieval and comint-prompt-regexp init.
5771 * progmodes/python.el (inferior-python-mode):
5772 (python-shell-make-comint): Fix initialization of
5773 comint-prompt-regexp from copied file local variables.
5774 (python-shell-fetched-lines): Remove var.
5775 (python-shell-output-filter-in-progress): Rename from
5776 python-shell-fetch-lines-in-progress.
5777 (python-shell-output-filter-buffer): Rename from
5778 python-shell-fetch-lines-string.
5779 (python-shell-fetch-lines-filter): Delete function.
5780 (python-shell-output-filter): New function.
5781 (python-shell-send-string-no-output): Use them.
5783 2012-10-07 Glenn Morris <rgm@gnu.org>
5785 * hi-lock.el (hi-lock-process-phrase):
5786 Try to make it less fragile. (Bug#7161)
5788 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5790 2012-10-06 Glenn Morris <rgm@gnu.org>
5792 * ehelp.el (electric-help-mode): Use help-mode rather than
5793 non-existent mode `help'.
5794 (electric-help-map): Use button-buffer-map. (Bug#10917)
5796 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5797 (reftex-create-bibtex-footer): Fix custom types.
5799 * progmodes/sh-script.el (sh-indent-after-continuation):
5800 Add explicit :group.
5802 * textmodes/rst.el (rst-preferred-decorations)
5803 (rst-shift-basic-offset): Clarify obsolescence versions.
5805 * profiler.el (profiler): Add missing group :version tag.
5806 * avoid.el (mouse-avoidance-banish-position):
5807 * proced.el (proced-renice-command):
5808 * calc/calc.el (calc-ensure-consistent-units):
5809 * calendar/icalendar.el (icalendar-import-format-uid):
5810 * net/tramp.el (tramp-save-ad-hoc-proxies):
5811 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5812 * progmodes/flymake.el (flymake-error-bitmap)
5813 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5814 * progmodes/sh-script.el (sh-indent-after-continuation):
5815 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5816 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5817 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5818 (vhdl-array-index-record-field-in-sensitivity-list)
5819 (vhdl-indent-comment-like-next-code-line):
5820 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5821 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5822 (reftex-cite-key-separator, reftex-create-bibtex-header)
5823 (reftex-create-bibtex-footer):
5824 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5825 (rst-indent-literal-normal, rst-indent-literal-minimized)
5826 (rst-indent-comment): Add missing custom :version tags.
5828 * calendar/timeclock.el (timeclock-modeline-display):
5829 Add missing obsolete alias for renamed user option.
5831 * strokes.el (strokes-modeline-string):
5832 * emulation/crisp.el (crisp-mode-modeline-string):
5833 * eshell/esh-mode.el (eshell-status-in-modeline):
5834 Aliases to defcustoms must come before the defcustom.
5836 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5837 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5838 (cal-tex-cursor-week-monday): Doc fixes.
5839 (cal-tex-cursor-week2-summary): Doc fix.
5840 Rename from cal-tex-cursor-week-at-a-glance.
5842 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5843 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5845 * calendar/calendar.el (calendar-mode-map):
5846 Add cal-tex-cursor-week2-summary.
5848 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5852 * subr.el (read-passwd-map): New var.
5853 (read-passwd): Use `read-string' again.
5854 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5856 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5858 * register.el (append-to-register, prepend-to-register):
5859 Deactivate mark, as does `copy-to-register' (bug#12389).
5861 2012-10-06 Chong Yidong <cyd@gnu.org>
5863 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5865 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5867 * international/characters.el: Fix simple mistake ((car chars) ->
5868 elt), delete duplicated code.
5870 2012-10-06 Glenn Morris <rgm@gnu.org>
5872 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5874 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5876 * color.el (color-hsl-to-rgb): Fix incorrect results for
5877 small and large hue values. (Bug#12559)
5879 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5881 Enhancements to docstring formatting when filling paragraphs.
5882 * progmodes/python.el (python-fill-docstring-style): Rename from
5883 python-fill-string-style. Added new style.
5884 (python-fill-string): Use new style. Better checks for
5887 2012-10-05 Glenn Morris <rgm@gnu.org>
5889 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5891 * color.el (color-name-to-rgb, color-rgb-to-hex)
5892 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5893 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5894 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5895 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5897 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5899 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5901 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5902 to get the correct size across symlinks.
5904 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5906 2012-10-04 Juri Linkov <juri@jurta.org>
5908 * replace.el (query-replace-interactive): Declare obsolete.
5909 (query-replace-read-from): Add the last incremental search string
5910 to the list of default values accessible via M-n.
5911 (map-query-replace-regexp): Use `read-regexp'.
5912 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5913 (map-query-replace-regexp, replace-string, replace-regexp):
5914 Fix docstrings to replace mentions of `query-replace-interactive'
5915 with alternatives. (Bug#12526)
5917 2012-10-04 Juri Linkov <juri@jurta.org>
5919 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5920 (dired-pop-to-buffer): Declare obsolete.
5921 (dired-mark-pop-up): Doc fix.
5923 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5925 Allow user to set docstring style for fill-paragraph.
5926 * progmodes/python.el
5927 (python-fill-comment-function, python-fill-string-function)
5928 (python-fill-decorator-function, python-fill-paren-function):
5929 Remove :safe for defcustoms.
5930 (python-fill-string-style): New defcustom
5931 (python-fill-paragraph-function): Enhance context detection.
5932 (python-fill-string): Honor python-fill-string-style settings.
5934 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5936 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5937 after setting its buffer (Bug#10805).
5939 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5941 Fix cornercase for string syntax.
5942 * progmodes/python.el (python-syntax-propertize-function):
5943 Simplify and enhance the regexp for unescaped quotes. Now it also
5944 matches quotes in weird situations like the single quote in
5946 (python-syntax-stringify): Simplify num-quotes detecting code.
5948 2012-10-03 Glenn Morris <rgm@gnu.org>
5950 * help-macro.el (three-step-help):
5951 Revert 2012-09-29 change. (Bug#12567)
5953 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5955 * menu-bar.el (kill-this-buffer): Don't do anything when
5956 `menu-frame' is not alive or visible (Bug#8184).
5958 * emacs-lisp/debug.el (debug): When quitting the debugger window
5959 restore current buffer (Bug#12502).
5961 2012-10-02 Chong Yidong <cyd@gnu.org>
5963 * progmodes/hideif.el (hif-lookup, hif-defined):
5964 Handle semantic-c-takeover-hideif.
5966 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5968 Change sampling interval units from ms to ns.
5969 * profiler.el (profiler-sampling-interval): Change units
5970 from ms to ns, multiplying the default by 1000000 so that
5972 (profiler-report-cpu-line-format): Give enough room for
5973 the maximum counters on 64-bit hosts.
5974 (profiler-report-render-calltree-1): Call them "CPU samples",
5975 not "Time (ms)", since they are not milliseconds now (and
5978 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5980 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5981 Fix querying BBDB for entries without a last name (Bug#11580).
5983 2012-10-02 Chong Yidong <cyd@gnu.org>
5985 * emacs-lisp/eieio.el: Restore Version header.
5987 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * vc/diff-mode.el (diff--auto-refine-data): New var.
5990 (diff-hunk): Use it to delay refinement.
5991 (diff-mode): Remove overlays when we turn off font-lock.
5993 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5994 (table-initialize-table-fixed-width-mode)
5995 (table-set-table-fixed-width-mode): Remove functions.
5996 (table-command-list): Move initialization into declaration.
5997 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5998 (table-with-cache-buffer): Use `declare'.
5999 (table-span-cell): Simplify via CSE.
6000 (table-fixed-width-mode): Use define-minor-mode.
6001 (table-call-interactively, table-funcall, table-apply): Remove.
6002 (table-function): New function, to replace them.
6004 * bookmark.el (bookmark-search-pattern): Remove var.
6005 (bookmark-read-search-input): Remove function.
6006 (bookmark-bmenu-search): Reimplement using a minibuffer.
6008 * faces.el (modeline): Remove obsolete face name.
6010 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6011 and give a non-nil default value.
6012 (add-change-log-entry): Simplify accordingly.
6014 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6016 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6017 (vc-git-log-edit-toggle-amend): New function.
6018 (vc-git-log-edit-toggle-signoff): New function.
6019 (vc-git-log-edit-mode): New major mode.
6020 (vc-git-log-edit-mode-map): Keymap for it.
6021 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6023 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6025 (log-edit-toggle-header): New function.
6026 (log-edit-extract-headers): Accept function values in HEADERS alist.
6028 2012-10-01 David Engster <deng@randomsample.de>
6030 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6031 from symbol property and change message to be more consistent with
6033 (eieio-describe-generic): Add filename for each implementation.
6034 Fix indices for generic and normal methods.
6035 (eieio-method-def, eieio-class-def): New buttons.
6036 (eieio-help-find-method-definition)
6037 (eieio-help-find-class-definition): New functions.
6038 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6039 class, constructor and method definitions.
6041 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6042 information in symbol property.
6043 (scoped-class): Remove.
6044 (eieio-slot-name-index, call-next-method): Check if it is bound.
6046 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6048 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6049 (eieio-custom-mode): New major mode.
6050 (eieio-customize-object): Use it.
6052 2012-10-01 Eric Ludlam <zappo@gnu.org>
6054 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6055 specifying the expected class, and whether subclassing is allowed.
6056 (eieio-persistent-convert-list-to-object):
6057 (eieio-persistent-validate/fix-slot-value)
6058 (eieio-persistent-slot-type-is-class-p): New functions.
6059 (eieio-named::slot-missing): Doc fix.
6061 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6062 Stop using unused publd variable.
6064 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6065 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6066 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6067 (eieio-speedbar-handle-click): Do not specify a class for the
6068 method. Fixes method invocation order problems with EDE.
6070 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6073 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6075 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6077 * bookmark.el (bookmark-version-control): Give tags in the
6078 :type choices (Bug#12309), and improve doc string.
6079 (bookmark-write-file): Bind `print-circle' to `t' to allow
6080 circular custom bookmark types. (Bug#12503)
6082 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6084 Revert the FOLLOW-SYMLINKS change for file-attributes.
6085 * files.el (remote-file-name-inhibit-cache, after-find-file):
6086 * time.el (display-time-file-nonempty-p): Undo last change.
6088 * profiler.el (profiler-sampling-interval): Change default back to 1.
6089 See Stefan Monnier in
6090 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6092 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6094 Shell output catching a la gud-gdb.
6095 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6096 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6098 (python-shell-fetch-lines-filter): New function.
6099 (python-shell-send-string-no-output): Use them.
6101 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6103 * profiler.el (profiler-sampling-interval): Rename from
6104 profiler-sample-interval.
6105 (profiler-sampling-interval): Default to 10.
6106 (profiler-find-profile): New command (was profiler-find-log).
6107 (profiler-find-profile-other-window): New command.
6108 (profiler-find-profile-other-frame): New command.
6109 (profiler-profile): Introduce API-level data structure.
6111 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6113 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6114 * files.el (remote-file-name-inhibit-cache):
6115 * time.el (display-time-file-nonempty-p): Use it.
6116 * files.el (after-find-file): Don't chase links before calling
6117 file-exists-p, as file-exists-p already does the right thing.
6119 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6121 Merge from standalone RefTeX repository.
6123 The following ChangeLog entries are shortened versions of the
6124 original ones with file paths adapted. A not so strongly edited
6125 version of the original ChangeLog can be found in the commit log.
6127 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6128 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6129 Correctly handle new value type returned by `reftex-citation'.
6131 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6132 that entries with whitespace at various places are found.
6133 Doc fix. Include entries that are cross-referenced from cited entries.
6134 Include @String definitions in the resulting bib file. Add header
6135 and footer defined in `reftex-create-bibtex-header' and
6136 `reftex-create-bibtex-footer'.
6137 (reftex-do-citation): Make it possible again to insert
6138 non-existent entries. Save match data when asking for optional
6139 arguments. Return all keys, not just the first one.
6140 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6141 all citations in the same line.
6142 (reftex-parse-bibtex-entry): Accept additional optional argument
6143 `raw' and keep quotes or braces if it is non-nil. Match fields
6144 containing hyphens besides word constituents.
6145 (reftex-get-string-refs): New function.
6146 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6147 and ask if it should be reread in case it did.
6148 (reftex-pop-to-bibtex-entry)
6149 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6150 entries with spaces or tabs in front of arguments.
6151 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6152 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6153 Match entries containing numbers and symbol constituents.
6154 (reftex-do-citation, reftex-figure-out-cite-format):
6155 Use `reftex-cite-key-separator'.
6157 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6158 (reftex-mouse-view-crossref): Explain why point is set.
6160 * textmodes/reftex-global.el: Whitespace changes.
6162 * textmodes/reftex-index.el: Move provide statement to end of
6164 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6165 (reftex-index-visit-phrases-buffer): Set marker when visiting
6166 buffer. This allows for returning from the phrases file to the
6167 file one was just editing instead of the file where the last
6168 phrases was added from.
6169 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6170 punctuation syntax as it usually is not used as string quote in
6171 TeX-related modes and may occur unmatched. The change also
6172 prevents fontification of quoted content.
6173 (reftex-index-phrases-mode): Use it.
6175 * textmodes/reftex-parse.el (reftex-parse-from-file):
6176 Move backward one char if a `\' was matched after a section macro.
6177 (reftex-parse-from-file): Use beginning of match instead of end as
6180 * textmodes/reftex-ref.el: Adapt creation of
6181 `reftex-<package>-<macro>' functions to new structure of
6182 `reftex-ref-style-alist'.
6183 (reftex-reference): Use `reftex-ref-style-list' function.
6184 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6185 reference macro if `reftex-ref-macro-prompt' is non-nil.
6186 (reftex-reference): Pass refstyle to `reftex-format-special'.
6187 Determine reference macro by looking at
6188 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6189 Use only one special format function.
6190 (reftex-varioref-vref, reftex-fancyref-fref)
6191 (reftex-fancyref-Fref): Remove definitions. The functions are now
6192 generated from `reftex-ref-style-alist'.
6193 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6195 (reftex-format-special): New function.
6197 * textmodes/reftex-sel.el
6198 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6199 of `reftex-ref-style-alist'. Remove code for testing macro type.
6200 (reftex-select-toggle-varioref)
6201 (reftex-select-toggle-fancyref): Remove.
6202 (reftex-select-cycle-ref-style-internal)
6203 (reftex-select-cycle-ref-style-forward)
6204 (reftex-select-cycle-ref-style-backward): New functions.
6205 (reftex-select-label-map): Use `v' and `V' for general cycling
6206 through reference styles. Add `p' for switching between number
6207 and page reference types.
6209 * textmodes/reftex-toc.el (reftex-re-enlarge):
6210 Call `enlarge-window' only if there is something to do because in Emacs
6211 the horizontal version throws an error even if the parameter is 0.
6213 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6214 (reftex-plug-into-AUCTeX): Doc fix.
6215 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6216 string. Adapt to new name.
6217 (reftex-ref-style-alist): Change structure so that it is not
6218 possible to use multiple different package names within a style.
6219 Remove the symbols for symbols for macro type distinction.
6220 Add characters for macro selection.
6221 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6222 (reftex-create-bibtex-footer): New variables.
6223 (reftex-format-ref-function): Mention third argument of special
6225 (reftex-ref-style-alist, reftex-ref-style-default-list):
6227 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6228 to new implementation. Mark as obsolete. Add compatibility code
6229 for honoring the variable values in case they are set.
6230 (reftex-cite-format-builtin, reftex-bibliography-commands):
6231 Add support for ConTeXt.
6232 (reftex-format-ref-function, reftex-format-cite-function):
6234 (reftex-cite-key-separator): New variable.
6236 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6237 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6238 `reftex-syntax-table' because parens have to retain their paren
6239 syntax in order for parsing of BibTeX entries like @book(...) to
6241 (reftex-in-comment): Do not error out if `comment-start-skip' is
6242 not set. Deal correctly with escaped comment characters.
6243 (reftex-tie-multifile-symbols): Add doc string.
6244 Initialize `reftex-ref-style-list'.
6245 (reftex-untie-multifile-symbols): Add doc string.
6246 (reftex-add-index-macros): Doc fix.
6247 (reftex-ref-style-activate, reftex-ref-style-toggle)
6248 (reftex-ref-style-list): New functions.
6249 (reftex-mode-menu): Use them. Adapt to new structure of
6250 `reftex-ref-style-alist'.
6251 (reftex-select-with-char): Kill the RefTeX Select buffer when
6253 (reftex-remove-if): New function.
6254 (reftex-erase-all-selection-and-index-buffers)
6255 (reftex-mode-menu): Reference styles are now computed from
6256 `reftex-ref-style-alist'. Fix typo.
6257 (reftex-report-bug): New function.
6258 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6259 algorithms with O(n log n). Introduce optional argument SORT (not
6262 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6264 Enhancements for triple-quote string syntax.
6265 * progmodes/python.el (python-syntax-propertize-function):
6266 Match both quote cases in one regexp.
6267 (python-syntax-stringify): Handle matches properly.
6269 2012-09-30 Juri Linkov <juri@jurta.org>
6271 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6272 to nil around the call to `insert' to prevent
6273 directory time modification by lock_file. (Bug#2295)
6274 * tar-mode.el (tar-summarize-buffer): Idem.
6276 2012-09-30 Juri Linkov <juri@jurta.org>
6278 * facemenu.el (list-colors-sort): Add option "Luminance".
6279 (list-colors-sort-key): Implement it.
6281 * vc/diff-mode.el (diff-refine-removed):
6282 * vc/ediff-init.el (ediff-fine-diff-A):
6283 * vc/smerge-mode.el (smerge-refined-removed):
6284 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6286 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6288 * term/ns-win.el (x-file-dialog): New function.
6290 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6292 * ido.el (ido-max-directory-size): Default to nil; the current
6293 default is small for POSIX systems, and impractical on Windows 7
6294 now that lstat returns directory sizes for NTFS.
6296 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6298 In buffer display functions handle window-height/window-width
6299 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6300 * window.el (window--display-buffer): New argument ALIST.
6301 Obey window-height and window-width alist entries.
6302 (window--try-to-split-window): New argument ALIST.
6303 Bind window-combination-limit to t when the window's size shall be
6304 changed and window-combination-limit equals `window-size'.
6305 (display-buffer-in-atom-window)
6306 (display-buffer-in-major-side-window)
6307 (display-buffer-in-side-window, display-buffer-same-window)
6308 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6309 (display-buffer-pop-up-window, display-buffer-below-selected)
6310 (display-buffer-at-bottom, display-buffer-in-previous-window)
6311 (display-buffer-use-some-window): Adjust all callers of
6312 window--display-buffer and window--try-to-split-window.
6313 (fit-frame-to-buffer): New option.
6314 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6316 (display-buffer-in-major-side-window): Evaluate window-height /
6317 window-width alist entries.
6319 * help.el (temp-buffer-resize-frames)
6320 (temp-buffer-resize-regexps): Remove options.
6321 (temp-buffer-resize-mode): Adjust doc-string.
6322 (resize-temp-buffer-window): Don't consult
6323 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6324 temp-buffer-resize-frames.
6326 * dired.el (dired-mark-pop-up):
6327 Call display-buffer-below-selected with a fit-window-to-buffer alist
6330 2012-09-30 Chong Yidong <cyd@gnu.org>
6332 * server.el (server-host): Document the security implications.
6333 (server-auth-key): Doc fix.
6335 * startup.el (initial-buffer-choice): Doc fix.
6337 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6339 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6342 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6344 * help-fns.el (help-fns--obsolete): Fix last change.
6346 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6349 (minor-mode-map-alist): Remove redundant code.
6351 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6352 visited in a buffer.
6353 (cvs-insert-visited-file): New function.
6354 (find-file-hook): Use it.
6356 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6358 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6360 (log-edit-empty-buffer-p): Don't require a space after a header.
6362 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6364 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6366 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6367 a proper minor-mode.
6369 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6371 2012-09-29 Glenn Morris <rgm@gnu.org>
6373 * winner.el (winner-mode): Remove variable (let define-minor-mode
6375 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6377 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6378 (winner-mode): Use define-minor-mode.
6380 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6381 the full definition in loaddefs, rather than duplicating it.
6383 * help-macro.el (three-step-help): No need to autoload defcustom.
6385 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6386 (inferior-lisp-program, inferior-lisp-load-command)
6387 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6388 No need to autoload defcustoms.
6390 * hippie-exp.el (hippie-expand-try-functions-list)
6391 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6392 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6393 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6394 (hippie-expand-only-buffers): No need to autoload defcustoms.
6395 * progmodes/vhdl-mode.el (vhdl-line-expand):
6396 Explicitly load hippie-exp, so it does not get autoloaded
6397 while hippie-expand-try-functions-list is let-bound.
6399 2012-09-28 Glenn Morris <rgm@gnu.org>
6401 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6403 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6404 Only "cl.el" counts as cl these days.
6406 2012-09-28 Juri Linkov <juri@jurta.org>
6408 Display archive errors in the echo area instead of inserting
6411 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6412 to STDERR-TEST that can be a regexp matching a successful output.
6413 Create a temporary file and redirect stderr to it. Search for
6414 STDERR-TEST in the stderr output and display it in the echo area
6415 if no match is found.
6416 (archive-extract-by-file): New function like
6417 `archive-extract-by-stdout' but extracting archives to files
6418 and looking for successful matches in stdout. Function body is
6419 mostly copied from `archive-rar-extract'.
6420 (archive-rar-extract): Use `archive-extract-by-file'.
6421 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6423 2012-09-28 Leo Liu <sdl.web@gmail.com>
6425 * pcomplete.el (pcomplete-show-completions):
6426 Use minibuffer-message to make pcomplete usable in minibuffer.
6428 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6430 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6432 * type-break.el: Use lexical-binding.
6433 (type-break-mode): Use define-minor-mode.
6435 * emacs-lisp/pcase.el (pcase--mark-used): New.
6436 (pcase--u1): Use it (bug#12512).
6438 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6439 in load-history with the right file name.
6441 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6443 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6444 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6445 (doc-view-get-bounding-box): Make bounding box slicing work for
6446 ODF and DVI documents.
6448 2012-09-28 Glenn Morris <rgm@gnu.org>
6450 * type-break.el (type-break-mode, type-break-interval)
6451 (type-break-good-rest-interval, type-break-keystroke-threshold):
6452 No need to autoload.
6453 (type-break-good-rest-interval, type-break-keystroke-threshold):
6456 2012-09-28 Chong Yidong <cyd@gnu.org>
6458 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6461 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6465 2012-09-27 Glenn Morris <rgm@gnu.org>
6467 * faces.el (x-display-name): Declare (for without-x builds).
6469 * linum.el (linum-format): Don't autoload it. Improve :type.
6471 * progmodes/tcl.el: Don't require outline when compiling.
6472 (outline-regexp, outline-level): Declare.
6473 * textmodes/sgml-mode.el: Don't require outline when compiling.
6474 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6476 * term.el (term-ansi-reset):
6477 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6479 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6480 files for RCS and SCCS. (Bug#9781)
6482 2012-09-27 Chong Yidong <cyd@gnu.org>
6484 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6485 change; value should be t.
6487 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * image-mode.el: Use lexical-binding.
6490 (image-mode-winprops): Use t to stand for the window of
6491 a buffer that's not displayed.
6492 * doc-view.el (doc-view-new-window-function): Handle the new
6494 (doc-view-enlarge): Make it a real nop if the size is not changed.
6495 (doc-view-display): Handle the case where the buffer is not (yet?)
6496 displayed in any window.
6497 (doc-view-saved-settings): New var.
6498 (doc-view-mode): Use it.
6499 (doc-view-fallback-mode): Set it.
6501 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6502 Set lexical-binding.
6503 (minibuffer-eldef-shorten-default): New var.
6504 (minibuffer-default-in-prompt-regexps): Use it for new default.
6505 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6507 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6509 * international/uni-bidi.el:
6510 * international/uni-category.el:
6511 * international/uni-name.el:
6512 * international/uni-numeric.el: Regenerate.
6514 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6515 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * profiler.el: New file.
6519 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6521 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6522 (testcover-reinstrument): Simplify with CSE.
6524 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6526 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6528 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6530 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6531 (verilog-auto-input, verilog-auto-insert-lisp)
6532 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6533 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6534 (verilog-auto-unused, verilog-auto-wire)
6535 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6536 newline. Reported by Andrew Jones.
6537 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6538 Reported by Brad Dobbie.
6539 (verilog-batch-delete-trailing-whitespace):
6540 Create verilog-batch-delete-trailing-whitespace.
6541 Reported by Brad Dobbie.
6542 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6543 parameters from another module. Reported by Dan Katz.
6544 (verilog-auto, verilog-auto-assign-modport)
6545 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6546 AUTOINOUTMODPORT for UVM interface module shell generation.
6547 Reported by Brad Dobbie.
6548 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6550 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6551 Reported by Matt Martin.
6553 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6555 * window.el (window--resize-child-windows): When resizing child
6556 windows proportionally, process them in reverse order to
6557 preserve the "when splitting a window the new one gets the odd
6559 (window--resize-root-window-vertically): When resizing the
6560 minibuffer window try to affect only windows at the bottom of the
6563 2012-09-25 Chong Yidong <cyd@gnu.org>
6565 * subr.el (declare): Doc fix.
6567 * help-fns.el (help-fns--obsolete): Handle macros properly.
6569 2012-09-25 Chong Yidong <cyd@gnu.org>
6571 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6572 this function obsolete.
6574 * calendar/cal-x.el (calendar-two-frame-setup)
6575 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6576 * calendar/calendar.el (american-calendar, european-calendar)
6577 (calendar-for-loop):
6578 * comint.el (comint-dynamic-simple-complete)
6579 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6580 * desktop.el (desktop-load-default):
6581 * dired-x.el (dired-omit-here-always)
6582 (dired-hack-local-variables, dired-default-directory):
6583 * emacs-lisp/derived.el (derived-mode-class):
6584 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6585 * emacs-lock.el (toggle-emacs-lock):
6586 * epa.el (epa-display-verify-result):
6587 * epg.el (epg-sign-keys, epg-start-sign-keys)
6588 (epg-passphrase-callback-function):
6589 * eshell/esh-util.el (eshell-for):
6590 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6591 (eshell-add-to-window-buffer-names):
6592 * files.el (locate-file-completion):
6593 * imenu.el (imenu-example--create-c-index)
6594 (imenu-example--create-lisp-index)
6595 (imenu-example--lisp-extract-index-name)
6596 (imenu-example--name-and-position):
6597 * international/mule-cmds.el (princ-list):
6598 * international/mule-diag.el (decode-codepage-char):
6599 * international/mule-util.el (detect-coding-with-priority):
6600 * iswitchb.el (iswitchb-read-buffer):
6601 * mail/mailalias.el (mail-complete):
6602 * mail/sendmail.el (mail-sent-via):
6603 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6604 (mouse-major-mode-menu):
6605 * password-cache.el (password-read-and-add):
6606 * pcomplete.el (pcomplete-parse-comint-arguments):
6607 * progmodes/sh-script.el (sh-maybe-here-document):
6608 * replace.el (query-replace-regexp-eval):
6609 * savehist.el (savehist-load):
6610 * simple.el (choose-completion-delete-max-match):
6611 * term.el (term-dynamic-simple-complete):
6612 * vc/ediff-init.el (ediff-check-version):
6613 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6614 * vc/vc.el (vc-diff-switches-list):
6615 * view.el (view-return-to-alist-update): Likewise.
6617 * subr.el (eval-next-after-load, makehash, insert-string)
6618 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6620 (mode-line-inverse-video): Variable deleted.
6622 * international/mule-util.el (string-to-sequence): Remove.
6624 * calendar/calendar.el (calendar-version):
6625 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6626 (icalendar-convert-diary-to-ical):
6627 * cus-edit.el (custom-mode):
6628 * ansi-color.el (ansi-color-unfontify-region):
6629 * international/latin1-disp.el (latin1-char-displayable-p):
6630 * progmodes/cwarn.el (turn-on-cwarn-mode):
6631 * progmodes/which-func.el (which-func-update-1):
6632 Use define-obsolete-function-alias.
6634 * net/newst-backend.el (newsticker-cache-filename):
6635 * net/newst-treeview.el (newsticker-groups-filename):
6636 Fix incorrect obsolescence declaration.
6638 * allout.el (allout-passphrase-hint-string): Likewise.
6639 (allout-init): Use a declare form to mark obsolete.
6641 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6642 this applies to functions.
6644 * iswitchb.el (iswitchb-read-buffer): Move code of
6645 iswitchb-define-mode-map here, and delete that obsolete function.
6647 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6648 font-lock-reference-face.
6650 2012-09-25 Glenn Morris <rgm@gnu.org>
6652 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6655 * eshell/em-term.el (eshell-term-name):
6656 Default to term-term-name. (Bug#12485)
6658 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6660 * progmodes/python.el (python-shell-send-buffer): Better handling
6661 of "if __name__ == '__main__':" conditionals when sending the buffer.
6663 2012-09-24 Glenn Morris <rgm@gnu.org>
6665 * eshell/esh-cmd.el (eshell-find-alias-function):
6666 Tighten up file-name regexp. (Bug#12499)
6668 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6670 Enhancements for triple-quote string syntax.
6671 * progmodes/python.el (python-quote-syntax): Remove.
6672 (python-syntax-propertize-function): New value.
6673 (python-syntax-count-quotes, python-syntax-stringify):
6676 2012-09-24 Chong Yidong <cyd@gnu.org>
6678 * mail/supercite.el (sc-version): Remove obsolete function.
6679 (sc-describe): Don't mark as obsolete, since it is bound.
6680 (sc-submit-bug-report): Remove.
6682 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6683 (cvs-commit-buffer-require-final-newline): Remove.
6684 (log-edit-require-final-newline)
6685 (log-edit-changelog-full-paragraphs): Default to t.
6687 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6688 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6689 * vc/vc.el (vc-checkout-carefully): Likewise.
6691 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6692 (emerge-version): Remove.
6694 * progmodes/compile.el (compile-internal): Remove.
6695 (compilation-parse-errors-function): Fix typo.
6697 * international/mule.el (set-char-table-default): Remove.
6698 (set-coding-priority, make-coding-system, generic-char-p)
6699 (charset-list, charset-bytes, charset-id): Use declare to mark
6700 functions as obsolete.
6702 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6703 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6704 * vc/vc-hooks.el (vc-default-registered): Don't use
6705 vc-master-templates.
6707 * font-lock.el (font-lock-reference-face):
6708 Use define-obsolete-variable-alias.
6710 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6711 * calendar/calendar.el (calendar-font-lock-keywords):
6712 * calendar/diary-lib.el (diary-font-lock-keywords)
6713 (diary-fancy-font-lock-keywords):
6714 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6715 * textmodes/reftex-index.el (reftex-insert-index):
6716 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6717 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6718 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6719 * progmodes/prolog.el (prolog-font-lock-keywords):
6720 * progmodes/idlwave.el (idlwave-idl-keywords):
6721 * progmodes/ada-mode.el (ada-font-lock-keywords):
6722 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6724 2012-09-24 Glenn Morris <rgm@gnu.org>
6726 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6728 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6730 * progmodes/python.el (python-indent-line): More consistent cursor
6733 2012-09-23 Stefan Merten <smerten@oekonux.de>
6735 * textmodes/rst.el: Fix compiler warning.
6737 2012-09-23 Roland Winkler <winkler@gnu.org>
6739 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6740 Transcribe also LaTeX hyphenation.
6741 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6742 bibtex-reformat-previous-options.
6744 2012-09-23 Roland Winkler <winkler@gnu.org>
6746 * proced.el (proced-renice-command): New variable.
6747 (proced-marked-processes): New function.
6748 (proced-with-processes-buffer): New macro.
6749 (proced-send-signal): Use them.
6750 (proced-renice): New command bound to r.
6752 2012-09-23 Roland Winkler <winkler@gnu.org>
6754 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6755 ibuffer-saved-filter-groups has one element, shortcut the call of
6756 completing-read. (Bug#12331)
6758 2012-09-23 Chong Yidong <cyd@gnu.org>
6760 * bindings.el (mode-line-toggle-read-only):
6761 * bs.el (bs-toggle-readonly):
6762 * buff-menu.el (Buffer-menu-toggle-read-only):
6763 * dired.el (dired-toggle-read-only):
6764 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6766 2012-09-23 Chong Yidong <cyd@gnu.org>
6768 * image.el (image-type-available-p): Adapt to init-image-library
6771 2012-09-22 Juri Linkov <juri@jurta.org>
6773 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6774 `dired-toggle-read-only'. (Bug#12462)
6776 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6778 * subr.el (temp-output-buffer-show): New function.
6779 (with-output-to-temp-buffer): Call temp-output-buffer-show
6780 instead of internal-temp-output-buffer-show.
6782 2012-09-22 Chong Yidong <cyd@gnu.org>
6784 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6787 * repeat.el (repeat): Doc fix (Bug#12348).
6789 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6792 * simple.el (shell-command-on-region): Doc fix.
6793 (read-only-mode): Doc fix.
6795 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6797 * emacs-lisp/timer.el (run-with-idle-timer)
6798 (timer-activate-when-idle): Warn against reinvoking an idle timer
6799 from within its own timer action. (Bug#12447)
6801 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6803 * cus-start.el (window-combination-limit): Add new optional
6805 * window.el (temp-buffer-window-show)
6806 (window--try-to-split-window): Handle new values of
6807 window-combination-limit (Bug#1806).
6808 (split-window): Test window-combination-limit for t instead of
6810 (display-buffer-at-bottom): New buffer display action function.
6811 * help.el (temp-buffer-resize-regexps): New option.
6812 (temp-buffer-resize-mode): Rewrite doc-string.
6813 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6814 Don't resize reused window. Suggested by Glenn Morris.
6816 2012-09-22 Stefan Merten <smerten@oekonux.de>
6818 * textmodes/rst.el: Revamp section title faces.
6819 (rst-official-version)
6820 (rst-package-emacs-version-alist): Sync with official version
6822 (rst-faces-defaults, rst-set-level-default)
6823 (rst-level-face-max, rst-level-face-base-color)
6824 (rst-level-face-base-light, rst-level-face-format-light)
6825 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6826 (rst-adornment-faces-alist): Match new setup.
6827 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6828 (rst-level-5, rst-level-6): New faces.
6830 2012-09-22 Chong Yidong <cyd@gnu.org>
6832 * simple.el (undo): Handle indirect buffers (Bug#8207).
6834 2012-09-21 Leo Liu <sdl.web@gmail.com>
6836 IDO: Disable match re-ordering for buffer switching.
6837 * ido.el (ido-buffer-disable-smart-matches): New variable.
6838 (ido-set-matches-1): Use it. (Bug#2042)
6840 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6842 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6843 Fix 2011-05-17 change. (Bug#12418)
6845 2012-09-21 Leo Liu <sdl.web@gmail.com>
6847 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6849 2012-09-21 Glenn Morris <rgm@gnu.org>
6851 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6852 Be more robust about locating simple.el.
6854 2012-09-21 Glenn Morris <rgm@gnu.org>
6856 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6858 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6860 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6862 2012-09-20 Juri Linkov <juri@jurta.org>
6864 * replace.el (query-replace-read-from): Use `read-regexp' instead
6865 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6866 (occur-read-primary-args): Use `read-regexp' instead of
6868 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6869 `read-from-minibuffer'.
6870 * isearch.el (isearch-occur): Use `read-regexp' instead of
6872 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6873 `read-from-minibuffer'.
6874 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6875 of `read-string'. (Bug#7567)
6877 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6878 and allow accepting a list of strings prepended to a list of
6879 standard default values. Doc fix. (Bug#12321)
6881 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6883 * replace.el (read-regexp): Don't add ": " when PROMPT already
6884 ends with a colon and space. (Bug#12321)
6886 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6888 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6891 2012-09-20 Stefan Merten <smerten@oekonux.de>
6893 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6894 Fixes feature request bug#11711.
6895 (rst-mode): Create `imenu-create-index-function'.
6896 (rst-get-stripped-line): Delete after refactoring.
6897 (rst-section-tree, rst-section-tree-rec)
6898 (rst-section-tree-point): Refactor and document properly.
6899 (rst-imenu-find-adornments-for-position)
6900 (rst-imenu-convert-cell, rst-imenu-create-index):
6903 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6905 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6906 (macroexp--expand-all): Use it.
6907 (macroexp--funcall-and-return): Remove by folding it into its sole
6908 caller (macroexp--warn-and-return).
6909 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6910 Use macroexp--obsolete-warning.
6912 * calc/calc.el: Fix last change by removing the whole chunk, since it
6913 was only needed back when Calc was not bundled.
6915 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6917 * emacs-lisp/debug.el (debug): Restore assignment to
6918 debugger-old-buffer removed on 2012-09-08.
6920 2012-09-20 Juri Linkov <juri@jurta.org>
6922 * dired-aux.el (dired-diff): Remove (require 'diff) since
6923 `diff-latest-backup-file' is now autoloaded.
6925 2012-09-20 Chong Yidong <cyd@gnu.org>
6927 * vc/diff.el (diff-latest-backup-file): Autoload.
6929 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6931 * calc/calc.el: Remove redundant autoload shape check.
6932 (sel-mode): Don't defvar.
6933 (calc-get-stack-element): Add `sel-mode' arg instead.
6934 (calc-top, calc-top-list): Pass it this additional argument.
6935 * calc/calc-store.el (calc-store-map):
6936 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6937 (calc-map-equation, calc-outer-product, calc-inner-product):
6938 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6940 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6942 2012-09-19 Juri Linkov <juri@jurta.org>
6944 * dired-aux.el (dired-diff): Add (require 'diff) because
6945 `diff-latest-backup-file' is not autoloaded.
6946 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6947 of `dired-get-filename' to t to not report error when there is
6948 no default file on the current line.
6950 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6953 macroexp--eval-if-compile.
6954 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6955 (macroexp--expand-all): Use them (bug#12371).
6957 * doc-view.el (doc-view-guess-paper-size)
6958 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6960 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6962 New feature: set optimal slice from BoundingBox information.
6963 * doc-view.el (doc-view-mode-map): Add keybinding.
6964 (doc-view-menu): Add menu entry.
6965 (doc-view-set-slice): Adapt docstring.
6966 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6967 (doc-view-scale-bounding-box)
6968 (doc-view-set-slice-from-bounding-box): New functions.
6969 (doc-view-paper-sizes): New defvar.
6971 2012-09-19 Glenn Morris <rgm@gnu.org>
6973 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6974 (byte-compile-log-warning): Autoload. (Bug#12371)
6976 * calendar/calendar.el (calendar-american-month-header)
6977 (calendar-european-month-header, calendar-iso-month-header)
6978 (calendar-month-header): New options.
6979 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6980 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6982 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6984 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6986 2012-09-18 Juri Linkov <juri@jurta.org>
6988 * dired-aux.el (dired-diff): Restore original functionality of
6989 getting the default value, but keep new feature of using the
6990 latest existing backup file (`diff-latest-backup-file').
6992 2012-09-18 Juri Linkov <juri@jurta.org>
6994 * dired.el (dired-mark): If the region is active in Transient Mark
6995 mode, mark all files in the active region. Doc fix.
6996 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6997 Doc fix. (Bug#10624)
6999 2012-09-18 Juri Linkov <juri@jurta.org>
7001 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7002 attributes for M-n are pulled from the file at point.
7003 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7004 Suggested by Drew Adams. (Bug#10624)
7006 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7008 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7009 whitespace after "end".
7010 (ruby-do-end-to-brace): Collapse block to one line if it fits
7013 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7015 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7017 (debug): Don't remove debugger window when debugger is expected
7020 2012-09-18 Chong Yidong <cyd@gnu.org>
7022 * custom.el (defface): Doc fix.
7024 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7026 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7028 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7029 to initialize query-on-exit; then test that instead (bug#12288).
7031 2012-09-17 Stefan Merten <smerten@oekonux.de>
7033 * textmodes/rst.el: Add support for `testcover'.
7034 (rst-defcustom-testcover, rst-testcover-add-compose)
7035 (rst-testcover-add-1value): New functions.
7036 (rst-portable-mark-active-p): Replace by `use-region-p'.
7037 (rst-update-section, rst-classify-adornment)
7038 (rst-find-title-line): Mark `1value' forms.
7039 (rst-classify-adornment): Remove superfluous form.
7040 (rst-update-section, rst-get-adornments-around)
7041 (rst-adornment-complete-p, rst-get-next-adornment)
7042 (rst-adjust, rst-promote-region)
7043 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7044 (rst-find-pfx-in-region, rst-section-tree-rec)
7045 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7046 (rst-toc-node, rst-toc, rst-forward-section)
7047 (rst-iterate-leftmost-paragraphs)
7048 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7049 (rst-bullet-list-region)
7050 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7051 (rst-compile-find-conf, rst-compile)
7052 (rst-repeat-last-character): Fix style.
7054 2012-09-17 Chong Yidong <cyd@gnu.org>
7056 * comint.el (comint--complete-file-name-data): Don't add a space
7057 if the status is `sole'; that adds a gratuitous space in the
7058 completion-cycling case (Bug#12092).
7060 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7062 2012-09-17 Richard Stallman <rms@gnu.org>
7064 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7065 only in the mime-shown mode, not in raw mode.
7066 (rmail-mime): Toggle off mime by displaying the message without
7067 mime processing. (Bug#12305)
7069 * mail/rmail.el (rmail-retry-failure):
7070 Turn off mime processing first. (Bug#12037)
7072 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7074 2012-09-17 Chong Yidong <cyd@gnu.org>
7076 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7077 (shell-dynamic-complete-functions): Convert to defcustom.
7078 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7080 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7081 * comint.el (comint-prompt-read-only):
7082 * custom.el (defcustom):
7083 * hi-lock.el (hi-lock-mode):
7084 * ibuffer.el (ibuffer-formats):
7085 * ielm.el (ielm-prompt-read-only):
7086 * novice.el (disable-command):
7087 * saveplace.el (toggle-save-place):
7088 * speedbar.el (speedbar-supported-extension-expressions):
7089 * startup.el (auto-save-list-file-prefix, init-file-user)
7090 (after-init-hook, inhibit-startup-echo-area-message):
7091 * strokes.el (strokes-help):
7092 * time-stamp.el (time-stamp):
7093 * calendar/calendar.el (calendar, diary-file):
7094 * calendar/diary-lib.el (diary-mail-entries, diary)
7095 (diary-list-entries-hook):
7096 * calendar/holidays.el (holidays, calendar-holidays):
7097 * calendar/lunar.el (lunar-phases):
7098 * calendar/solar.el (sunrise-sunset):
7099 * emulation/edt.el (edt-load-keys):
7100 * emulation/viper.el (viper-mode):
7101 * eshell/em-alias.el (eshell-command-aliases-list):
7102 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7103 * international/ogonek.el (ogonek-information):
7104 * net/tramp-cmds.el (tramp-bug):
7105 * net/quickurl.el (quickurl-reread-hook-postfix):
7106 * play/decipher.el (decipher-font-lock-keywords):
7107 * progmodes/cc-styles.el (c-set-style):
7108 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7109 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7110 * progmodes/octave-mod.el (octave-mode):
7111 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7112 * progmodes/verilog-mode.el (verilog-read-defines):
7113 * textmodes/two-column.el (2C-mode): Likewise.
7115 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7117 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7118 that holds many addresses.
7120 2012-09-16 Chong Yidong <cyd@gnu.org>
7122 * align.el (align-areas): Call the indication function with
7123 positions instead of markers for arguments (Bug#12343).
7125 * files.el (parse-colon-path): Use split-string (Bug#12351).
7127 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7128 (display-buffer-function): Mark as obsolete.
7130 * progmodes/compile.el (compilation-parse-errors): Accept list
7131 values similar to font-lock-keywords (Bug#12136).
7132 Suggested by Oleksandr Manzyuk.
7133 (compilation-error-regexp-alist): Doc fix.
7135 2012-09-15 Glenn Morris <rgm@gnu.org>
7137 * version.el (emacs-bzr-version-bzr): New function.
7138 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7140 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7141 checkouts, check the parent dirstate matches the branch.
7142 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7145 * version.el (emacs-bzr-version): Doc fix.
7146 (emacs-bzr-version-dirstate): New function.
7147 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7148 is local try and check that it matches the branch. If not, just
7149 use dirstate information. (Bug#12441)
7151 2012-09-14 Juri Linkov <juri@jurta.org>
7153 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7156 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7158 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7160 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7161 Remove obsolete byte-compiler hack that tried to silence some warnings.
7162 (edebug-submit-bug-report): Remove.
7163 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7164 Remove aliases, use the un-prefixed name instead.
7165 (edebug-pop-to-buffer): Consider other frames.
7166 (edebug-original-read):: Make it more obvious that it's always defined.
7167 (edebug--make-form-data-entry, edebug--form-data-name)
7168 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7169 single-dashed name, and implement with cl-defstruct.
7170 (edebug-set-form-data-entry): Use the standard accessors.
7171 (edebug-make-top-form-data-entry): Use push.
7172 (edebug-no-match): Drop useless `funcall'.
7173 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7175 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7176 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7177 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7178 (easy-menu-define, with-custom-print): Remove redundant specs.
7179 (edebug-outside-overriding-local-map)
7180 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7181 (edebug--display): Bind unread-command-events directly to nil rather
7182 than binding it to unread-command-events and later setting it to nil.
7183 (edebug--display): Kill edebug-eval-buffer here...
7184 (edebug--recursive-edit): ...rather than here.
7185 Bind standard-output and standard-input.
7186 (edebug-eval): Check cl-macroexpand-all is fboundp.
7187 (edebug-temp-display-freq-count): Fix last change.
7189 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7190 * subr.el (noreturn, 1value): Add `debug' spec.
7191 * emacs-lisp/advice.el: Require cl-lib.
7192 (ad-copy-tree): Remove, use copy-tree instead.
7193 (ad-dolist): Remove use dolist or cl-dolist instead.
7194 (ad-do-return): Remove, use cl-return instead.
7195 (defadvice): Add `debug' spec.
7197 2012-09-13 Juri Linkov <juri@jurta.org>
7199 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7202 2012-09-13 Glenn Morris <rgm@gnu.org>
7204 * calc/calc.el (math-compose-expr):
7205 * calc/calc-ext.el (math-compose-expr):
7206 * progmodes/cc-defs.el (cl-macroexpand-all):
7207 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7208 (cl-macroexpand-all): Update declarations.
7210 * vc/vc.el: No need to require ediff.
7211 (ediff-load-version-control): Declare.
7212 (ediff-vc-internal): Fix declaration.
7213 (vc-version-ediff): Require ediff.
7215 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7217 Use a more backwards-compatible timer format (Bug#12430).
7218 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7219 being right after USECS, as that better supports old code that
7220 inadvisedly looked directly at the timer vector.
7222 2012-09-13 Kenichi Handa <handa@gnu.org>
7224 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7225 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7226 `coding-priority' property of these language environment.
7228 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7230 Fix glitches caused by addition of psec to timers (Bug#12430).
7231 * image.el (image-animate-timer):
7232 * time.el (display-time-world-timer):
7233 Use timer--function and timer--args rather than raw access to
7236 2012-09-13 Glenn Morris <rgm@gnu.org>
7238 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7239 If not compiling a file, try using load-file-name.
7241 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7245 (edebug-update-eval-list): Use `push'.
7247 * emacs-lisp/edebug.el: Use lexical-binding.
7248 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7249 Mark unused args with underscore.
7250 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7251 (edebug-form-data): Use defvar-local.
7252 (edebug-make-before-and-after-form, edebug-make-after-form):
7254 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7255 Not dynamically scoped any more.
7256 (edebug--enter-trace): Add arguments `function' and `args'.
7257 Rename from edebug-enter-trace.
7258 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7259 (edebug--update-coverage): Add `after-index' and `value' args.
7260 Rename from edebug-update-coverage.
7261 (edebug-slow-after): Call it accordingly.
7262 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7263 edebug-recursive-edit.
7264 (edebug--display): Call it accordingly. Add args `value',
7265 `offset-index', and `arg-mode'. Rename from edebug-display.
7266 (edebug-debugger, edebug): Call it accordingly.
7267 (edebug-eval-display-list): Use dolist.
7269 2012-09-12 Juri Linkov <juri@jurta.org>
7271 * info.el (Info-search): Don't check for isearch-mode and
7272 isearch-regexp before let-binding search-spaces-regexp to
7273 Info-search-whitespace-regexp.
7274 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7275 search-whitespace-regexp if isearch-lax-whitespace or
7276 isearch-regexp-lax-whitespace is non-nil.
7277 (Info-mode): Don't set local variable search-whitespace-regexp.
7278 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7280 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7283 (debugger-env-macro): Remove support for unread-command-char.
7285 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7286 the temporary map re-appearing on emulation-mode-map-alists.
7288 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7291 * ehelp.el (with-electric-help): Accept functions in
7292 electric-help-form-to-execute.
7293 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7294 And replace unread-command-char -> unread-command-events.
7296 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7298 Sync with Tramp 2.2.6.
7300 * net/tramp.el (tramp-accept-process-output): Don't use
7301 JUST-THIS-ONE in the XEmacs case.
7303 * net/trampver.el: Update release number.
7305 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7307 * emacs-lisp/debug.el (debugger-previous-window-height):
7309 (debug): When debugger-jumping-flag is non-nil try to restore
7310 height of debugger window. (Bug#8789)
7312 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7315 overriding-local-map and pre/post-command-hook here.
7316 (edebug-recursive-edit): Do it here instead (bug#12345).
7317 (edebug-outside-unread-command-char): Remove all uses of
7318 unread-command-char.
7320 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7321 inhibit-debugger is bound instead.
7323 2012-09-11 Bastien Guerry <bzg@gnu.org>
7325 * subr.el (set-temporary-overlay-map): Add a docstring.
7328 2012-09-11 Bastien Guerry <bzg@gnu.org>
7330 * minibuffer.el (completion-table-subvert): Fix docstring.
7333 2012-09-11 Bastien Guerry <bzg@gnu.org>
7335 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7337 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7339 * progmodes/sql.el: Version 3.1
7340 (sql-db2-escape-newlines): New variable.
7341 (sql-escape-newlines-filter): Use it.
7343 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7345 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7347 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7349 * vc/diff-mode.el (diff-mode-menu):
7350 Bind diff-remove-trailing-whitespace.
7352 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7355 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7356 (emacs-lisp-byte-code-mode): New functions.
7357 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7358 (eval-defun-2): Remove bogus interactive spec.
7359 (lisp-indent-line): Remove redundant whole-exp code, now done in
7360 indent-according-to-mode.
7361 (save-match-data): Remove redundant indent data.
7363 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7366 2012-09-09 Juri Linkov <juri@jurta.org>
7368 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7369 (replace-lax-whitespace, query-replace-regexp)
7370 (query-replace-regexp-eval, replace-regexp): Doc fix.
7371 (perform-replace, replace-highlight): Let-bind
7372 isearch-lax-whitespace to replace-lax-whitespace and
7373 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7375 * isearch.el (isearch-query-replace): Let-bind
7376 replace-lax-whitespace to isearch-lax-whitespace and
7377 replace-regexp-lax-whitespace to
7378 isearch-regexp-lax-whitespace. (Bug#10885)
7380 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7382 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7384 2012-09-09 Alan Mackenzie <acm@muc.de>
7386 * progmodes/cc-engine.el (c-state-cache-init):
7387 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7388 (c-record-parse-state-state):
7389 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7391 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7393 * register.el (register-separator): Rename from
7394 separator-register. All uses changed. Doc fix.
7395 (register): Fix version.
7397 2012-09-09 Chong Yidong <cyd@gnu.org>
7399 * replace.el (query-replace-map): Bind four new symbols for
7400 requesting window scrolling.
7402 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7403 query-replace-map (Bug#8948).
7405 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7407 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7408 since they are now in query-replace-map.
7410 * window.el (scroll-other-window-down): Make the arg optional.
7412 2012-09-09 Chong Yidong <cyd@gnu.org>
7414 * files.el (hack-local-variables-confirm): Use quit-window to kill
7415 the *Local Variables* buffer.
7417 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7419 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7420 not just expect to be at its beginning. Adjust callees.
7421 Succeed when do-end block has no space before the pipe character.
7422 (ruby-brace-to-do-end): When the original block is one-liner,
7423 convert to multiline. Reindent the result.
7425 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7427 * register.el (register): New group.
7428 (separator-register): New user option.
7429 (increment-register): Route it to `append-to-register', if
7430 register contains text. Implication is that `C-x r +' can now be
7431 used for appending to a text register (bug#12217).
7432 (append-to-register, prepend-to-register): Add separator based on
7433 `separator-register'.
7435 2012-09-08 Alan Mackenzie <acm@muc.de>
7437 AWK Mode: make auto-newline work when there's "==" in the pattern.
7438 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7440 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7441 Test more rigorously for "=" token.
7443 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7445 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7446 Only fail when reached LIMIT.
7448 2012-09-08 Chong Yidong <cyd@gnu.org>
7450 * dired.el (dired-mode-map): Don't bind M-=.
7452 * dired-aux.el (dired-diff): Use backup file as default.
7454 2012-09-08 Drew Adams <drew.adams@oracle.com>
7456 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7458 2012-09-08 Chong Yidong <cyd@gnu.org>
7460 * subr.el (syntax-after, syntax-class): Doc fix.
7462 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7464 * window.el (display-buffer-in-previous-window): New buffer
7465 display action function.
7467 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7468 (debugger-previous-window): New variable.
7469 (debug): Rewrite using display-buffer-in-previous-window,
7470 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7472 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7476 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7478 * progmodes/python.el (python-shell-send-string):
7479 When default-directory is remote, create temp file on remote
7481 (python-shell-send-file): When file is remote, pass local view of
7482 file paths to remote Python interpreter. (Bug#12340)
7484 2012-09-07 Chong Yidong <cyd@gnu.org>
7486 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7488 * files.el (after-find-file): Don't fail on a read-only buffer if
7489 require-final-newline is `visit' or `visit-save' (Bug#11156).
7491 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7493 * userlock.el (ask-user-about-supersession-threat):
7494 Use read-char-choice (Bug#12093).
7496 2012-09-07 Chong Yidong <cyd@gnu.org>
7498 * subr.el (buffer-narrowed-p): New function.
7500 * ses.el (ses-widen):
7501 * simple.el (count-words--buffer-message):
7502 * net/browse-url.el (browse-url-of-buffer): Use it.
7504 * simple.el (count-words-region): Don't signal an error if there
7505 is a non-nil prefix arg and the mark is not set.
7507 * help.el (describe-key-briefly): Allow the message to be seen
7508 when invoked from the minibuffer (Bug#7014).
7510 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7512 * progmodes/ruby-mode.el (ruby-end-of-defun)
7513 (ruby-beginning-of-defun): Simplify, allow indentation before
7514 block beginning and end keywords.
7515 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7516 (ruby-end-of-defun): Expect that the point is at the beginning of
7519 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7523 (cl--make-usage-args): Strip _ from argument names.
7525 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7527 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7528 obsolete alias speedbar-key-map.
7529 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7530 (vhdl-index-menu-init): Don't use obsolete variable
7531 font-lock-maximum-size.
7533 2012-09-06 Chong Yidong <cyd@gnu.org>
7535 * frame.el (window-system-version): Mark as obsolete.
7537 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7538 of obsolete variable speedbar-key-map.
7540 2012-09-06 Juri Linkov <juri@jurta.org>
7542 * replace.el (replace-lax-whitespace): New defcustom.
7543 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7544 (replace-string, replace-regexp): Mention it in docstrings.
7545 (perform-replace, replace-highlight): Let-bind
7546 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7547 to the values of replace-lax-whitespace and regexp-flag.
7548 Don't let-bind search-whitespace-regexp. (Bug#10885)
7550 * isearch.el (isearch-query-replace): Let-bind
7551 replace-lax-whitespace instead of let-binding
7552 replace-search-function and replace-re-search-function.
7553 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7554 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7555 (isearch-toggle-symbol): Set isearch-regexp to nil
7556 in isearch-word mode (like in isearch-toggle-word).
7558 2012-09-06 Juri Linkov <juri@jurta.org>
7560 * replace.el (replace-search-function)
7561 (replace-re-search-function): Set default values to nil.
7562 (perform-replace): Let-bind isearch-related variables based on
7563 replace-related values, call `isearch-search-fun' and let-bind
7564 the result to `search-function'. Remove code that sets
7565 `search-function' and `search-string' separately for
7567 (replace-highlight): Add new argument `delimited-flag' and
7568 rename other arguments to the names used in `perform-replace'.
7569 Let-bind `isearch-word' to the argument `delimited-flag'.
7570 (Bug#10885, bug#10887)
7572 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7574 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7575 ruby-beginning-of-indent, simplify, allow all keywords to have
7576 indentation before them.
7577 (ruby-beginning-of-indent): Adjust for above. Search until the
7578 found point is not inside a string or comment.
7579 (ruby-font-lock-keywords): Allow symbols to start with "@"
7580 character, give them higher priority than variables.
7581 (ruby-syntax-propertize-function)
7582 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7583 matchers. Expression expansions are not comments when inside a
7584 string, and there comment syntax status is irrelevant.
7585 (ruby-match-expression-expansion): New function. Check that
7586 expression expansion is inside a string, and it's not escaped.
7587 (ruby-font-lock-keywords): Use it.
7589 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7591 * help.el (temp-buffer-max-height): New default value.
7592 (temp-buffer-resize-frames): New option.
7593 (resize-temp-buffer-window): Optionally resize frame.
7595 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7596 (fit-frame-to-buffer): New function.
7598 2012-09-05 Glenn Morris <rgm@gnu.org>
7600 * emulation/cua-rect.el (cua--init-rectangles):
7601 * textmodes/picture.el (picture-mode-map):
7602 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7603 like forward-char and backward-char. (Bug#12317)
7605 2012-09-05 Leo Liu <sdl.web@gmail.com>
7607 * progmodes/flymake.el (flymake-warning-re): New variable.
7608 (flymake-parse-line): Use it.
7610 2012-09-05 Glenn Morris <rgm@gnu.org>
7612 * calendar/holidays.el (holiday-christian-holidays):
7613 Rename an entry. (Bug#12289)
7615 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7617 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7620 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * loadup.el: Load macroexp. Remove hack.
7623 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7624 (macroexp--expand-all): Use it to get better warnings.
7625 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7626 (internal-macroexpand-for-load): New functions.
7627 (macroexp--pending-eager-loads): New var.
7628 (emacs-startup-hook): New hack to replace one in loadup.el.
7629 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7630 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7631 (cl-psetf): Simplify.
7632 (cl-defstruct): Add indent rule.
7634 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7636 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7637 over `user-mail-address' for the SMTP MAIL FROM envelope.
7638 (smtpmail-via-smtp): Ditto.
7640 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7642 * progmodes/ruby-mode.el: Clean up keybindings.
7643 (ruby-mode-map): Don't bind ruby-electric-brace,
7644 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7645 backward-kill-word, reindent-then-newline-and-indent.
7646 (ruby-mark-defun): Remove.
7647 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7648 (ruby-mode): Set local beginning-of-defun-function and
7649 end-of-defun-function values.
7651 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7653 * window.el (temp-buffer-window-setup-hook)
7654 (temp-buffer-window-show-hook): New hooks.
7655 (temp-buffer-window-setup, temp-buffer-window-show)
7656 (with-temp-buffer-window): New functions.
7657 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7658 (special-display-popup-frame): Make sure the window used shows BUFFER.
7660 * help.el (temp-buffer-resize-mode): Fix doc-string.
7661 (resize-temp-buffer-window): New optional argument WINDOW.
7663 * files.el (recover-file, save-buffers-kill-emacs):
7664 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7666 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7668 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7669 remote definition of `default-directory', ensure we can connect.
7671 2012-09-02 Juri Linkov <juri@jurta.org>
7673 Toggle whitespace matching mode with M-s SPC.
7674 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7676 * isearch.el (search-whitespace-regexp): Doc fix.
7677 Remove cons cell customization.
7678 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7679 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7681 (isearch-forward, isearch-forward-regexp): Doc fix.
7682 (isearch-toggle-lax-whitespace): New command.
7683 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7684 (re-search-forward-lax-whitespace)
7685 (re-search-backward-lax-whitespace): New functions.
7686 (isearch-whitespace-regexp): Remove function.
7687 (isearch-query-replace): Let-bind replace-search-function and
7688 replace-re-search-function.
7689 (isearch-occur): Let-bind search-spaces-regexp according to the
7690 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7691 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7692 condition for C-q SPC.
7693 (isearch-search-fun-default): Use new functions mentioned above.
7694 (isearch-search-forward, isearch-search-backward): Remove functions.
7695 (isearch-search): Don't let-bind search-spaces-regexp.
7696 (isearch-lazy-highlight-space-regexp): Remove variable.
7697 (isearch-lazy-highlight-lax-whitespace)
7698 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7699 (isearch-lazy-highlight-new-loop): Use them.
7700 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7702 2012-09-02 Chong Yidong <cyd@gnu.org>
7704 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7706 2012-09-02 Glenn Morris <rgm@gnu.org>
7708 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7710 2012-09-01 Glenn Morris <rgm@gnu.org>
7712 * term.el: Tidy up menu definitions.
7713 (term-mode-map): Use easymenu for In/Out, Complete menus.
7714 (term-pager-break-map): Initialize in the defvar.
7715 (term-terminal-menu, term-signals-menu): Define with easymenu.
7716 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7717 (term-pager-menu): New, extracted from term-process-pager.
7718 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7719 (term-update-mode-line): Propertize line/char and page items.
7720 (term-process-pager): Move keymap initialization elsewhere.
7722 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7724 * window.el (switch-to-prev-buffer): Handle additional values of
7725 BURY-OR-KILL argument. Don't switch in minibuffer window.
7726 (switch-to-next-buffer): Don't switch in minibuffer window.
7727 (quit-restore-window): New function based on quit-window.
7728 Handle additional values of former KILL argument.
7729 (quit-window): Call quit-restore-window with appropriate
7730 interpretation of KILL argument.
7731 (display-buffer-below-selected): New buffer display action
7734 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7736 * minibuffer.el (completion-at-point-functions): Complete docstring
7739 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7741 Better seed support for (random).
7742 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7743 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7744 * play/mpuz.el, play/tetris.el, play/zone.el:
7745 * calc/calc-comb.el (math-init-random-base):
7746 * play/blackbox.el (bb-init-board):
7747 * play/life.el (life):
7748 * server.el (server-use-tcp):
7749 * type-break.el (type-break):
7750 Remove unnecessary call to (random t).
7751 * net/sasl.el (sasl-unique-id-function):
7752 Change (random t) to (random), now that the latter is more random.
7753 * play/life.el (life-initialized): Remove no-longer-needed var.
7755 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7757 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7758 Consider frame's buffer predicate when choosing the buffer.
7761 2012-08-30 Richard Stallman <rms@gnu.org>
7763 * simple.el (special-mode-map): Delete binding for `z'.
7765 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7767 * progmodes/compile.el (compilation-always-kill): Doc fix.
7769 2012-08-30 Chong Yidong <cyd@gnu.org>
7771 * window.el (display-buffer-reuse-frames): Make the obsolescence
7772 message more informative.
7774 2012-08-30 Glenn Morris <rgm@gnu.org>
7776 * paren.el (show-paren-delay):
7777 Add a :set function. Doc fix. (Bug#12297)
7779 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7781 * progmodes/compile.el (compilation-always-kill): New var.
7782 (compilation-start): Use it.
7784 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7787 * files.el (read-only-mode): Move to simple.el.
7789 * files.el (read-only-mode): New minor mode.
7790 (toggle-read-only): Use it and mark obsolete.
7791 (find-file--read-only):
7792 * vc/vc.el (vc-next-action, vc-checkout):
7793 * vc/vc-cvs.el (vc-cvs-checkout):
7794 * obsolete/vc-mcvs.el (vc-mcvs-update):
7795 * ffap.el (ffap--toggle-read-only): Update callers.
7797 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7799 * eshell/esh-ext.el (eshell-external-command): Do not examine
7800 remote shell scripts.
7801 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7803 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7806 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7810 2012-08-28 Leo Liu <sdl.web@gmail.com>
7812 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7813 completion-at-point. (Bug#12220)
7815 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7817 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7819 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7822 be buffer-local; add delete-trailing-whitespace (bug#12259).
7824 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7826 * progmodes/hideif.el (hif-compress-define-list):
7827 Fix typo. (Bug#11951)
7829 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7831 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7832 buffer local setting.
7834 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7835 rcirc-encode-coding-system.
7837 2012-08-28 Leo Liu <sdl.web@gmail.com>
7839 * net/rcirc.el (rcirc-split-message): New function.
7840 (rcirc-send-message): Use it. (Bug#12051)
7842 2012-08-28 Juri Linkov <juri@jurta.org>
7844 * info.el (Info-fontify-node): Hide empty lines at the end of
7845 the node. (Bug#12272)
7847 2012-08-27 Drew Adams <drew.adams@oracle.com>
7849 * dired.el (dired-pop-to-buffer): Make window start at beginning
7850 of buffer (Bug#12281).
7852 2012-08-26 Chong Yidong <cyd@gnu.org>
7854 * window.el (special-display-regexps, special-display-frame-alist)
7855 (special-display-buffer-names, special-display-function)
7856 (display-buffer-reuse-frames): Mark as obsolete.
7858 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7860 * help.el (help-print-return-message): Don't treat
7861 display-buffer-reuse-frames specially.
7863 2012-08-26 Chong Yidong <cyd@gnu.org>
7865 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7866 New variable, replacing gdb-frame-parameters.
7867 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7868 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7869 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7870 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7871 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7872 the functions directly with gdb-display-buffer-other-frame-action.
7873 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7874 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7875 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7876 (gdb-display-registers-buffer): Define directly.
7877 (def-gdb-display-buffer): Macro deleted.
7878 (gdb-display-buffer): Remove second and third args, callers don't
7879 use them. Defer to the default display-buffer behavior, apart
7880 from making windows dedicated.
7881 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7883 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7885 * window.el (display-buffer-pop-up-frame): Handle a
7886 pop-up-frame-parameters alist entry.
7887 (display-buffer): Document it.
7889 2012-08-26 Chong Yidong <cyd@gnu.org>
7891 * isearch.el (search-whitespace-regexp): Make string and nil
7892 values apply to both ordinary and regexp search. Allow a cons
7893 cell value to distinguish between the two.
7894 (isearch-whitespace-regexp, isearch-search-forward)
7895 (isearch-search-backward): New functions.
7896 (isearch-occur, isearch-search-fun-default, isearch-search)
7897 (isearch-lazy-highlight-new-loop): Use them.
7898 (isearch-forward, isearch-forward-regexp): Doc fix.
7900 2012-08-26 Chong Yidong <cyd@gnu.org>
7902 * faces.el (help-argument-name): Always inherit from italic
7905 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7907 * window.el (window--even-window-heights): Even heights when
7908 WINDOW and the selected window form a vertical combination.
7909 (display-buffer-use-some-window): Provide that window used gets
7910 sized back by quit-window. (Bug#11880) and (Bug#12091)
7912 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7914 Fix file time stamp problem with bzr and CVS (Bug#12001).
7915 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7916 in the file's time stamp, since the version control system loses
7919 2012-08-22 Juri Linkov <juri@jurta.org>
7921 * info.el (Info-fontify-node): Hide the suffix of the
7922 Info file name in the header line. (Bug#12187)
7924 2012-08-22 Glenn Morris <rgm@gnu.org>
7926 * calendar/cal-tex.el (cal-tex-weekly-common):
7927 Restore leading blank page.
7929 2012-08-22 Le Wang <l26wang@gmail.com>
7931 * misc.el (forward-to-word, backward-to-word): Activate or extend
7932 the region under `shift-select-mode'. (Bug#12231)
7934 2012-08-22 Bastien Guerry <bzg@gnu.org>
7936 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7937 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7938 gives details on why the space is never needed.
7940 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7942 * window.el (walk-window-tree, window-with-parameter):
7943 New optional argument MINIBUF to control whether these functions
7944 should run on the minibuffer window.
7945 (window-at-side-list): Don't operate on minibuffer window.
7946 (window-in-direction): Simplify and rewrite doc-string.
7947 (window--size-ignore): Rename to window--size-ignore-p.
7949 (display-buffer-in-atom-window, window--major-non-side-window)
7950 (window--major-side-window, display-buffer-in-major-side-window)
7951 (delete-side-window, display-buffer-in-side-window):
7953 (window--side-check, window-deletable-p, delete-window)
7954 (delete-other-windows, split-window): Handle side windows and
7955 atomic windows appropriately.
7956 (window--display-buffer): Call display-buffer-record-window also
7957 when the window buffer did not change.
7959 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7961 * help-fns.el (help-fns--key-bindings):
7962 Abbreviate non-symbol remap targets. (Bug#12174)
7964 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7966 * dired.el (dired-mark-remembered): Don't clobber point.
7969 2012-08-22 Glenn Morris <rgm@gnu.org>
7971 * progmodes/bug-reference.el (bug-reference): New custom group.
7972 (bug-reference-bug-regexp): Make it a defcustom.
7974 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7976 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7977 (js-paren-indent-offset, js-square-indent-offset)
7978 (js-curly-indent-offset): Add :safe (Bug#12257).
7980 2012-08-22 Edward O'Connor <hober0@gmail.com>
7982 * json.el (json-key-format): Add error properties.
7983 (json-encode-key): New function.
7984 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7985 Use json-encode-key.
7987 2012-08-22 Glenn Morris <rgm@gnu.org>
7989 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7990 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7991 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7992 Update for above change.
7994 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7996 * cus-face.el (custom-face-attributes): Fix customize type for the
7997 :underline attribute. (Bug#11805)
7999 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8001 * window.el (window-point-1, set-window-point-1): Remove.
8002 (window-in-direction, record-window-buffer)
8003 (set-window-buffer-start-and-point, split-window-below)
8004 (window--state-get-1, display-buffer-record-window):
8005 Replace calls to window-point-1 and set-window-point-1 by calls to
8006 window-point and set-window-point respectively.
8008 2012-08-21 Glenn Morris <rgm@gnu.org>
8010 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8011 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8014 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8015 (cal-tex-shortday): New function.
8016 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8017 (cal-tex-cursor-filofax-daily): Use the above.
8019 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8021 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8022 (cal-tex-cursor-filofax-week): Use them.
8024 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8026 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8027 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8029 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8030 (cal-tex-end-document): Don't rely on buffer name.
8032 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8034 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8035 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8036 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8039 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8040 (cal-tex-cursor-week, cal-tex-cursor-week2)
8041 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8042 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8043 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8044 (cal-tex-insert-preamble, cal-tex-b-document)
8045 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8046 Improve cal-tex-cmd usage.
8048 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8049 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8050 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8051 (cal-tex-weekly-paper): New function.
8052 (cal-tex-cursor-week, cal-tex-cursor-week2)
8053 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8054 (cal-tex-cursor-day): Use it.
8056 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8057 (cal-tex-cursor-filofax-week): Remove leading blank page.
8059 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8060 Add autoload cookie. For now at least, don't use color, since
8061 no other cal-tex function does.
8063 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8064 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8065 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8067 2012-08-21 Juri Linkov <juri@jurta.org>
8069 * info.el (Info-file-attributes): New variable.
8070 (info-insert-file-contents): Add file attributes to
8071 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8072 `Info-toc-nodes' when previous modtime of the Info file is less
8074 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8075 of info.el. (Bug#12230)
8077 2012-08-20 Glenn Morris <rgm@gnu.org>
8079 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8080 * calendar/holidays.el (calendar-holiday-list):
8081 Report errors with display-warning rather than beep'n'sleep.
8083 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8085 * net/tramp.el (tramp-accept-process-output): Accept only output
8086 from PROC. Otherwise, process filters and sentinels might be
8087 confused. (Bug#12145)
8089 2012-08-20 Chong Yidong <cyd@gnu.org>
8091 * descr-text.el (describe-text-properties-1): Use overlays-in to
8092 report on empty overlays (Bug#3322).
8094 2012-08-20 Glenn Morris <rgm@gnu.org>
8096 * mail/rmailout.el (rmail-output-read-file-name):
8097 Trap and report errors in rmail-output-file-alist elements.
8099 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8100 since most non-font-lock faces are not also variables).
8102 2012-08-20 Edward Reingold <reingold@iit.edu>
8104 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8105 New function. (Bug12160)
8107 2012-08-19 Glenn Morris <rgm@gnu.org>
8109 * mail/rmailout.el (rmail-output-read-file-name):
8110 Fix previous change (when the alist is nil or does not match).
8112 2012-08-19 Chong Yidong <cyd@gnu.org>
8114 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8117 2012-08-18 Chong Yidong <cyd@gnu.org>
8119 * simple.el (yank-handled-properties): New defcustom.
8120 (yank-excluded-properties): Add font-lock-face and category.
8123 * subr.el (remove-yank-excluded-properties):
8124 Obey yank-handled-properties. The special handling of font-lock-face
8125 and category is now done this way, instead of being hard-coded.
8126 (insert-for-yank-1): Remove font-lock-face handling.
8127 (yank-handle-font-lock-face-property)
8128 (yank-handle-category-property): New function.
8130 2012-08-17 Glenn Morris <rgm@gnu.org>
8132 * mail/rmailout.el (rmail-output-read-file-name):
8133 Check rmail-output-file-alist against the full message body
8134 in the correct rmail buffer. (Bug#12214)
8136 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8138 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8139 Eliminate superfluous prompt. (Bug#12203)
8141 2012-08-17 Chong Yidong <cyd@gnu.org>
8143 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8144 font spec, set the font directly (Bug#3228).
8146 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8148 * window.el (delete-window): Fix last fix.
8150 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8152 * window.el (window-valid-p): Move to window.c.
8153 (window-child, window-child-count, window-last-child)
8154 (window-normalize-window, window-combined-p)
8155 (window-combinations, window-atom-root, window-min-size)
8156 (window-sizable, window-sizable-p, window-size-fixed-p)
8157 (window-min-delta, window-max-delta, window--resizable)
8158 (window--resizable-p, window-resizable, window-total-size)
8159 (window-full-height-p, window-full-width-p, window-body-size)
8160 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8161 (minimize-window, window-deletable-p, delete-window)
8162 (delete-other-windows, set-window-buffer-start-and-point)
8163 (next-buffer, previous-buffer, split-window, balance-windows-2)
8164 (set-window-text-height, window-buffer-height)
8165 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8166 (truncated-partial-width-window-p): Minor code adjustments.
8167 In doc-strings state whether the argument window has to denote a
8168 live, valid or any window.
8170 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8172 * progmodes/subword.el (subword-forward-function)
8173 (subword-backward-function, subword-forward-regexp)
8174 (subword-backward-regexp): New variables.
8175 (subword-forward, subword-forward-internal, subword-backward-internal):
8176 Use new variables, eg so that different "word" definitions
8177 can be easily used. (Bug#11411)
8179 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8181 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8182 for composite selectors.
8183 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8184 operation just because we can't find a previous revision.
8186 2012-08-15 Chong Yidong <cyd@gnu.org>
8188 * frame.el (set-frame-font): Accept font objects.
8190 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8194 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8196 * man.el (Man-overstrike-face, Man-underline-face)
8197 (Man-reverse-face): Remove variables.
8198 (Man-overstrike, Man-underline, Man-reverse): New faces.
8199 (Man-fontify-manpage): Use them instead of the variables.
8200 (Man-cleanup-manpage): Comment change.
8201 (Man-ansi-color-map): New variable.
8202 (Man-fontify-manpage): Use it.
8203 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8205 Implement ANSI SGR parameters 22-27 (bug#12146).
8206 * ansi-color.el (ansi-colors): Doc fix.
8207 (ansi-color-context, ansi-color-context-region): Doc fix.
8208 (ansi-color--find-face): New function.
8209 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8210 Rename the local variable `face' to `codes' since it is now a list of
8211 ansi codes. Doc fix.
8212 (ansi-color-get-face): Remove.
8213 (ansi-color-parse-sequence): New function, derived from
8214 ansi-color-get-face.
8215 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8218 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * subr.el (read-passwd): Allow use from a minibuffer.
8222 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8224 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8225 inside comments and strings as identifiers.
8227 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8228 expression to evaluate. This allows to evaluate expressions with
8229 embedded whitespace.
8230 (gud-tooltip-tips): Add a blank before the newline in the
8231 message-box text, for the benefit of message-box emulation on
8234 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8235 messages from GDB, pop them up in a tooltip to give feedback to
8237 (gdb-tooltip-print-1): Quote the expression to evaluate.
8238 This allows to evaluate expressions with embedded whitespace.
8239 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8240 if the TTY name is nil or empty (which happens when communicating
8241 with the inferior via pipes, e.g. on MS-Windows).
8242 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8243 don't send that to the GUD buffer.
8245 2012-08-14 Glenn Morris <rgm@gnu.org>
8247 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8248 Optimize away setq-default with no args, as for setq. (Bug#12195)
8250 2012-08-14 Chong Yidong <cyd@gnu.org>
8252 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8254 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8257 2012-08-14 Glenn Morris <rgm@gnu.org>
8259 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8261 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8263 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8264 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8265 Use cached shell name.
8267 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8269 * progmodes/python.el (python-shell-send-string):
8270 (python-shell-send-setup-code): Do not use `format' with `message'.
8272 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8274 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8275 (ruby-percent-literal-beg-re): New constant.
8276 (ruby-syntax-general-delimiters-goto-beg): Rename to
8277 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8278 (ruby-syntax-propertize-general-delimiters): Rename to
8279 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8280 popular term. Adjust comments everywhere.
8281 (ruby-syntax-propertize-percent-literal): Only propertize when not
8282 inside a simple string or comment. When the literal is unclosed,
8283 leave the text after it unpropertized.
8284 (ruby-syntax-methods-before-regexp): New constant.
8285 (ruby-syntax-propertize-function): Use it to recognize regexps.
8286 Don't look at the text after regexp, just use the whitelist.
8288 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8290 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8291 non-nil always load the compiled file if it exists. (Bug#12197)
8293 2012-08-14 Chong Yidong <cyd@gnu.org>
8295 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8296 (hi-lock-set-pattern): When deciding whether to use font lock or
8297 overlays, look at font-lock-mode instead of font-lock-fontified
8299 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8300 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8302 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8304 * subr.el (internal--after-with-selected-window): Fix typo
8307 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8309 Use `completion-table-dynamic' for completion functions.
8310 * progmodes/python.el
8311 (python-shell-completion--do-completion-at-point)
8312 (python-shell-completion--get-completions):
8314 (python-shell-completion-complete-at-point): New function.
8315 (python-completion-complete-at-point): Use it.
8317 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8319 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8320 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8322 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8324 * subr.el (function-get): Refine `autoload' arg so it can also
8325 autoload functions for gv.el (bug#12191).
8326 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8329 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8330 Prefer pcase-let over destructuring-bind.
8331 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8332 Also, remove whitespace as we go, rather than after accumulating the
8335 * subr.el (internal--before-with-selected-window)
8336 (internal--after-with-selected-window): Fix typo seleted->selected.
8337 (with-selected-window): Adjust callers.
8338 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8340 2012-08-13 Bastien Guerry <bzg@gnu.org>
8342 * window.el (special-display-popup-frame): Minor docstring
8343 enhancement. (Bug#12172)
8345 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8347 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8349 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8352 * files.el (hack-local-variables-filter): Remove useless eval.
8354 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8356 * subr.el (with-selected-window): Fix last change.
8358 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8360 * subr.el (internal--before-with-seleted-window)
8361 (internal--after-with-seleted-window): New functions.
8362 (with-selected-window): Use them, to replace dependency on
8365 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8367 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8368 binding for `newline'.
8369 (ruby-move-to-block): When moving backward, stop at block opening,
8371 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8372 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8373 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8374 `ruby-toggle-block'.
8376 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * ibuffer.el (ibuffer-do-toggle-read-only):
8379 * dired.el (dired-toggle-read-only):
8380 * buff-menu.el (Buffer-menu-toggle-read-only):
8381 * bindings.el (mode-line-toggle-read-only):
8382 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8384 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8386 * descr-text.el (describe-char): Put the overlays over the
8387 "displayed as" character.
8389 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8391 * calc/calc-units.el (math-default-units-table): Give an
8393 (math-put-default-units): Add options to put composite units and
8394 unit systems in the default units table.
8395 (calc-convert-units): Send composite units to
8396 `math-put-default-units' when appropriate.
8398 2012-08-11 Glenn Morris <rgm@gnu.org>
8400 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8402 * tutorial.el (help-with-tutorial):
8403 * emacs-lisp/copyright.el (copyright-update-directory):
8404 * emacs-lisp/autoload.el (autoload-find-generated-file)
8405 (autoload-find-file): Disable local eval: (for insurance).
8407 * files.el (hack-local-variables-filter): If an eval: form is not
8408 known to be safe, and enable-local-variables is :safe, then ignore
8409 the form totally, as is done for non-eval forms. (Bug#12155)
8410 This is CVE-2012-3479.
8412 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8415 (rx-form): Simplify.
8417 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8419 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8420 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8421 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8422 (ruby-syntax-propertize-function): Adjust for changes in
8423 `ruby-syntax-propertize-heredoc'.
8425 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8427 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8428 binding (use `M-;' instead).
8429 (ruby-singleton-class-p): New function.
8430 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8432 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8436 2012-08-10 Chong Yidong <cyd@gnu.org>
8438 * progmodes/python.el (python-shell-get-process-name): Don't mess
8439 with same-window-buffer-names.
8441 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8442 (eshell-remove-from-window-buffer-names): Make obsolete.
8443 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8444 (eshell): Just use pop-to-buffer-same-window instead.
8446 2012-08-10 Chong Yidong <cyd@gnu.org>
8448 * bindings.el: Bind M-= back to count-words-region.
8450 * simple.el (count-words-region): Accept a prefix arg for acting
8451 on the entire buffer.
8452 (count-words--buffer-message): New helper function.
8454 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8457 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8458 (event-start, event-end): Use posn-at-point to return a more
8460 (posnp): New function.
8461 * mouse.el (popup-menu-normalize-position): Use it.
8463 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8465 * mouse.el (popup-menu-normalize-position): New function.
8466 (popup-menu): Use `popup-menu-normalize-position' to normalize
8467 the form for POSITION argument.
8469 * term/x-win.el (x-menu-bar-open):
8470 Use the value returend from (posn-at-point) as position
8471 passed to `popup-menu'.
8473 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8475 * calc/calccomp.el (math-compose-expr): Add extra argument
8476 indicating that parentheses should be put around products in
8477 denominators. Give multiplication precedence over division during
8480 2012-08-09 Chong Yidong <cyd@gnu.org>
8482 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8483 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8484 (Man-untabify-command, manual-program): Convert to defcustom
8487 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8489 * descr-text.el (describe-char): Don't insert extra newlines
8492 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8493 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8495 * align.el (align-region): Delete temporary markers (Bug#10047).
8496 Plus some code cleanups.
8498 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8500 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8501 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8502 (python-shell-internal-last-output): Use make-local-variable
8503 instead of make-variable-buffer-local.
8505 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8507 * progmodes/python.el: Enhancements to forward-sexp.
8508 (python-nav-forward-sexp): Rename from
8509 python-nav-forward-sexp-function.
8510 (python-nav--forward-sexp, python-nav--backward-sexp):
8513 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8515 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8516 modes and simplification modes.
8518 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * delsel.el (delete-selection-pre-hook): Don't propagate the
8521 file-supersession signals (bug#12161).
8523 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8525 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8526 (cl-map-extents): Add compatibility aliases (bug#12135).
8528 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8531 tests by `ignore-error'.
8532 (tramp-find-shell): Open also a new shell, when cache is already
8533 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8535 2012-08-08 Juri Linkov <juri@jurta.org>
8537 * bookmark.el: Add `defaults' property to the bookmark record.
8538 (bookmark-current-buffer): Doc fix.
8539 (bookmark-make-record): Add `defaults' property with default values
8540 to the bookmark record.
8541 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8542 with `bookmark-insert-current-bookmark'.
8543 (bookmark-set): Get `defaults' property from the bookmark record
8544 and use it in `read-from-minibuffer'.
8545 (bookmark-insert-current-bookmark): Remove function.
8547 * info.el (Info-bookmark-make-record): Add `defaults' property
8548 with values of canonical Info node name, the current Info file
8549 name and the current Info node name. (Bug#12107)
8551 2012-08-08 Juri Linkov <juri@jurta.org>
8553 * files.el (basic-save-buffer): Use `buffer-name' as the default
8554 of `read-file-name' when buffer is not visiting a file (bug#12128).
8556 2012-08-08 Juri Linkov <juri@jurta.org>
8558 * info.el (Info-isearch-search): Doc fix.
8559 (Info-search): Change search-failed message from "initial node" to
8560 "end of node" (bug#12078).
8561 (Info-isearch-search): Change `isearch-string-state' to
8562 `isearch--state-string'.
8564 2012-08-08 Glenn Morris <rgm@gnu.org>
8566 * language/persian.el: Remove file.
8567 * language/misc-lang.el: Move unique part of persian.el here.
8568 * loadup.el: Remove language/persian.
8570 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8572 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8574 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8576 * progmodes/python.el: Fix defsubst warning.
8577 (python-syntax-context) Rename from python-info-ppss-context.
8578 (python-syntax-context-type): Rename from
8579 python-info-ppss-context-type.
8580 (python-syntax-comment-or-string-p): Rename from
8581 python-info-ppss-comment-or-string-p.
8583 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8585 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8587 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8589 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8590 a defcustom that is quoted with backquote.
8592 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8593 Fix handling of interactive spec when the body uses return.
8594 (math-do-arg-check, math-define-function-body): Use backquote forms.
8595 * calc/calc-ext.el (math-defcache): Likewise.
8596 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8597 * allout.el (allout-new-exposure): Likewise.
8598 * calc/calcalg2.el (math-tracing-integral): Likewise.
8599 * info.el (Info-last-menu-item): Likewise.
8600 * emulation/vip.el (vip-loop): Likewise.
8601 * textmodes/artist.el (artist-funcall): Likewise.
8602 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8603 Construct menu-item directly.
8605 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8608 2012-08-07 Chong Yidong <cyd@gnu.org>
8610 * simple.el (deactivate-mark): Preserve text properties when
8611 saving the primary selection (Bug#8384).
8613 2012-08-07 Kevin Ryde <user42@zip.com.au>
8615 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8616 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8617 and continue processing (Bug#12110).
8619 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8621 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8622 syntax-propertize-function (bug#10095).
8624 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8626 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8627 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8628 describe-function-1.
8629 (describe-function-1): Use them. Move compiler macro after sig.
8630 (help-fns--compiler-macro): Use function-get. Assume we're already in
8631 standard-output. Adjust layout to new call order.
8633 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8634 re-binding a symbol that has a symbol-macro (bug#12119).
8636 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8638 * language/persian.el: New file. (Bug#11812)
8639 * loadup.el: Add language/persian.el.
8641 2012-08-06 Chong Yidong <cyd@gnu.org>
8643 * window.el (window--maybe-raise-frame): New function.
8644 (window--display-buffer): Split off from here.
8645 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8646 (display-buffer-pop-up-window, display-buffer-use-some-window):
8647 Obey an inhibit-switch-frame action alist entry.
8648 (display-buffer): Update doc.
8650 * replace.el (occur-after-change-function): Avoid losing focus by
8651 using the inhibit-switch-frame display parameter (Bug#12139).
8653 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8655 Make internal shell process buffer names start with space.
8656 * progmodes/python.el (python-shell-make-comint): Add optional
8658 (run-python-internal): Use it.
8659 (python-shell-internal-get-or-create-process): Check for new
8660 internal buffer names.
8662 2012-08-06 Glenn Morris <rgm@gnu.org>
8664 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8665 Do less getting and setting of environment variables.
8667 2012-08-05 Chong Yidong <cyd@gnu.org>
8669 * proced.el (proced): Add substitution string to docstring to
8670 trigger autoloading of the proced library on C-h f (Bug#1768).
8672 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8673 Don't show defvars which have no second argument (Bug#8638).
8675 * imenu.el (imenu-generic-expression): Move documentation here
8676 from imenu--generic-function.
8677 (imenu--generic-function): Refer to imenu-generic-expression.
8679 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8681 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8682 indentation declaration.
8683 (viper-loop): Add indentation declaration (Bug#7025).
8685 2012-08-05 Chong Yidong <cyd@gnu.org>
8687 * help-fns.el (describe-variable): Add hyperlink for
8688 directory-local variables files. Improve buffer-local and
8689 permanent-local reporting; suggested by MON KEY (Bug#6644).
8691 * help-mode.el (help-dir-local-var-def): New button type.
8693 * files.el (kill-buffer-hook): Provide a defvar.
8695 2012-08-05 Glenn Morris <rgm@gnu.org>
8697 * eshell/esh-ext.el (eshell/addpath):
8698 Also update eshell-path-env. (Bug#12013)
8700 2012-08-05 Chong Yidong <cyd@gnu.org>
8702 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8704 * fringe.el (fringe-styles): Add docstring.
8705 (fringe--check-mode): New function.
8706 (set-fringe-mode, set-fringe-style): Use it.
8707 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8709 * files.el (set-auto-mode): Fix invalid setq call.
8711 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * isearch.el: Misc simplification; use defstruct.
8714 (isearch-mode-map): Dense maps now work like sparse ones.
8715 (isearch--state): New defstruct.
8716 (isearch-string-state, isearch-message-state, isearch-point-state)
8717 (isearch-success-state, isearch-forward-state)
8718 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8719 (isearch-wrapped-state, isearch-barrier-state)
8720 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8721 replaced by defstruct's accessors.
8722 (isearch--set-state): Rename from isearch-top-state and change
8724 (isearch-push-state): Use new isearch--get-state.
8725 (isearch-toggle-word): Disable regexp when enabling word.
8726 (isearch-message-prefix): Remove unused arg _c-q-hack.
8727 (isearch-message-suffix): Remove unused arg _ellipsis.
8729 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8731 * simple.el (list-processes--refresh): For a server use :host or
8732 :local as the address.
8733 (list-processes): Doc fix.
8735 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8737 * lisp/mpc.el: Support password in host argument.
8738 (mpc--proc-connect): Parse and use new password element.
8739 Set mpc-proc variable instead of returning process.
8740 (mpc-proc): Adjust accordingly.
8742 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8744 * whitespace.el (whitespace-display-mappings): Use Unicode
8745 codepoints, instead of emacs-mule codepoints. See
8746 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8749 * files.el (file-truename): Don't skip symlink-chasing part on
8750 windows-nt. Incorporate the resolution of 8+3 short aliases on
8751 Windows into the loop that recursively chases symlinks.
8752 Compare directory and its parent case-insensitively on MS-Windows and
8755 2012-08-03 Chong Yidong <cyd@gnu.org>
8757 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8759 * sort.el (sort-regexp-fields): Doc fix.
8761 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8763 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8764 labels regex position point at the expected place.
8766 2012-08-03 MON KEY <monkey@sandpframing.com>
8768 * net/imap.el (imap-interactive-login, imap-authenticate)
8769 (imap-mailbox-lsub, imap-mailbox-list)
8770 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8771 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8772 (imap-parse-response): Doc fix.
8774 2012-08-03 João Távora <joaotavora@gmail.com>
8776 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8777 if sexp scanning does not move point (Bug#5734).
8779 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8781 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8782 Add listings, minted, and ctable packages.
8783 (reftex-label-alist-builtin): Move listings, minted, and ctable
8784 entries before LaTeX.
8785 (reftex-label-alist): Docfix.
8787 2012-08-02 Bastien Guerry <bzg@gnu.org>
8789 * replace.el (occur): Fix docstring (bug#12122).
8791 2012-08-02 Glenn Morris <rgm@gnu.org>
8793 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8795 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8797 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8798 * international/mule-cmds.el: Create
8799 inactivate-current-input-method-function as an obsolete alias for
8800 deactivate-current-input-method-function. See Katsumi Yamaoka in
8801 <http://bugs.gnu.org/10150#46>.
8803 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8805 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8808 2012-08-01 Glenn Morris <rgm@gnu.org>
8810 * progmodes/autoconf.el (autoconf-definition-regexp):
8811 Add AH_TEMPLATE, adjust submatch numbering.
8812 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8813 (autoconf-current-defun-function): Update for above change.
8814 (autoconf-current-defun-function): First skip to end of current word.
8816 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8818 * calendar/cal-html.el (cal-html-insert-agenda-days):
8819 Fix typo. (Bug#12018)
8821 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8823 Shell processes: enhancements to startup and CEDET compatibility.
8824 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8825 (python-shell-make-comint): accept-process-output at startup.
8826 (run-python-internal): Set inferior-python-mode-hook to nil.
8827 (python-shell-internal-get-or-create-process): call sit-for.
8828 (python-preoutput-result): Add obsolete alias.
8829 (python-shell-internal-send-string): Use it.
8830 (python-shell-send-setup-code): Remove call to
8831 accept-process-output.
8833 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8835 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8838 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8840 * calc-mode.el (calc-basic-simplification-mode): Rename from
8841 `calc-limited-simplification-mode'.
8842 (calc-alg-simplification-mode): New function.
8843 (calc-set-simplify-mode): Adjust message.
8845 * calc.el (calc-set-mode-line): Adjust mode line display for
8846 basic simplification mode.
8848 * calc-help.el (calc-m-prefix-help): Update help message.
8850 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8851 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8853 2012-07-31 Bastien Guerry <bzg@gnu.org>
8855 * man.el (man): Fix comment. (bug#12101)
8857 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8859 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8860 Don't return a non-nil value when no suitable buffer was found.
8862 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8864 * progmodes/python.el (run-python-internal): Disable font lock for
8867 2012-07-30 Stefan Merten <smerten@oekonux.de>
8869 * textmodes/rst.el: Silence `checkdoc-ispell'.
8870 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8871 (rst-official-version, rst-official-cvs-rev)
8872 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8873 (rst-mode-map): New key binding.
8875 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8877 Update .PHONY listings in makefiles.
8878 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8879 autoloads, update-subdirs, updates, bzr-update, update-authors,
8880 compile-onefile, compile-calc, backup-compiled-files,
8881 compile-after-backup, compile-one-process, mh-autoloads,
8882 bootstrap-clean, distclean, maintainer-clean.
8884 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8886 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8887 (calc-set-mode-line): Don't display "AlgSimp ".
8889 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8890 (calc-lim-simplify-mode): New function.
8891 (calc-set-simplify-mode): Default to 'alg.
8892 (calc-default-simplify-mode): Make algebraic simplifications
8895 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8896 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8898 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8899 indicate new simplification modes.
8901 * calc/README: Mention new default simplification mode.
8903 * calc/calc.el (math-normalize-error): New variable.
8904 (math-normalize): Set `math-normalize-error' to t
8905 when there's an error.
8907 * calc/calc-alg.el (math-simplify): Don't simplify when
8908 `math-normalize' returns an error.
8910 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8912 * international/mule-cmds.el (set-locale-environment): Revert last
8913 change, since display-graphic-p returns nil when this function is
8914 called during startup. Instead...
8916 * term/w32console.el (terminal-init-w32console): ...setup the
8917 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8919 2012-07-29 Juri Linkov <juri@jurta.org>
8921 * simple.el (goto-line): Don't display default line number in the
8922 prompt because it should be displayed by `read-number' (bug#9952).
8923 Add the current line number to the defaults of `goto-line' to
8924 allow its easier modification by users with `M-n' (bug#9201).
8926 * subr.el (read-number): Support multiple default values like in
8927 other minibuffer reading functions. Replace `read' with
8928 `string-to-number' for consistency with `number-to-string'.
8930 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8932 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8933 * emulation/viper-init.el (viper-deactivate-input-method-action):
8934 Rename from viper-inactivate-input-method-action.
8935 (viper-deactivate-input-method):
8936 Rename from viper-inactivate-input-method.
8937 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8938 * international/mule-cmds.el (deactivate-input-method):
8939 Rename from inactivate-input-method.
8940 Also run input-method-deactivate-hook.
8941 (deactivate-current-input-method-function):
8942 Rename from inactivate-current-input-method-function.
8943 (input-method-deactivate-hook): New hook.
8944 (input-method-inactivate-hook): Mark obsolete.
8945 (inactivate-input-method): Mark obsolete.
8947 * international/quail.el (quail-activate):
8948 Also run quail-deactivate-hook.
8949 (quail-deactivate): Rename from quail-inactivate.
8950 * international/robin.el (robin-activate):
8951 Also run robin-deactivate-hook.
8952 (robin-deactivate): Rename from robin-inactivate.
8954 2012-07-29 Chong Yidong <cyd@gnu.org>
8956 * simple.el (indicate-copied-region): New function.
8957 (kill-ring-save): Split off from here.
8959 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8960 (kill-rectangle): Set deactivate-mark to t on read-only error.
8962 * register.el (copy-to-register, copy-rectangle-to-register):
8963 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8964 (append-to-register, prepend-to-register): Call indicate-copied-region.
8966 2012-07-29 Juri Linkov <juri@jurta.org>
8968 * simple.el (async-shell-command-buffer): New defcustom.
8969 (shell-command): Use it. (Bug#4719)
8971 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8973 * international/mule-cmds.el (set-locale-environment): In a
8974 console session on MS-Windows, set up keyboard and terminal
8975 encoding from the OEM codepage, not the ANSI codepage.
8978 2012-07-28 Chong Yidong <cyd@gnu.org>
8980 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8983 2012-07-28 Leo Liu <sdl.web@gmail.com>
8985 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8986 the alist (bug#12029).
8988 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8990 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8991 (compile-always, compile-first)
8992 ($(lisp)/calendar/cal-loaddefs.el)
8993 ($(lisp)/calendar/diary-loaddefs.el)
8994 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8995 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8996 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8997 instead of on update-subdirs.
8998 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9000 2012-07-28 Chong Yidong <cyd@gnu.org>
9002 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9003 directory if vc-deduce-backend returns nil (Bug#7350).
9005 * simple.el (delete-trailing-lines): New option.
9006 (delete-trailing-whitespace): Obey it (Bug#11879).
9008 2012-07-28 David Engster <deng@randomsample.de>
9010 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9011 Explanation of new 'symbol-qnames feature in doc-strings.
9012 (xml-maybe-do-ns): Return expanded names as plain symbols if
9013 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9014 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9016 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9018 Consistent completion in inferior python with emacs -nw.
9019 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9020 binding in inferior-python-mode-map with "\t".
9021 (python-shell-completion-complete-at-point)
9022 (python-completion-complete-at-point): Remove interactive spec.
9024 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9026 * calc/calccomp.el (math-compose-expr): Undo previous change.
9028 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9030 * progmodes/python.el (python-mode-map): Add keybinding for
9032 (python-shell-make-comint): Fix pop-to-buffer call.
9033 (run-python): Autoload. New arg SHOW.
9034 (python-shell-get-or-create-process): Do not pop python process
9037 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9039 * notifications.el (notifications-on-action-signal)
9040 (notifications-on-closed-signal): Use also the bus address for the map.
9041 (notifications-notify, notifications-close-notification)
9042 (notifications-get-capabilities): Add optional argument BUS.
9044 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9046 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9047 Add support for the lstlisting and minted environments, and for the
9049 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9050 labels written in keyvals syntax.
9052 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9054 * calc/calccomp.el (math-compose-expr): Use parentheses when
9055 there is a product in the denominator of a fraction.
9057 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9059 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9060 ($(lisp)/calendar/diary-loaddefs.el)
9061 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9062 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9063 Fixes failures in parallel bootstrap because subdirs.el is being
9064 rewritten while the autoload files are built at the same time,
9065 which needs to load subdirs.el.
9067 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9069 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9070 (mouse-drag-line): Don't exit tracking when a switch-frame or
9071 switch-window event occurs (Bug#12006).
9073 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * mouse.el (popup-menu): Fix last change.
9077 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9079 Autoload from Lisp with more care. Follow aliases when looking for
9080 function properties.
9081 * subr.el (autoloadp): New function.
9082 (symbol-file): Use it.
9083 (function-get): New function.
9084 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9086 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9087 (lisp-indent-function):
9088 * emacs-lisp/gv.el (gv-get):
9089 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9090 * emacs-lisp/byte-opt.el (byte-optimize-form):
9091 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9092 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9094 * emacs-lisp/cl.el: Don't propagate function properties any more.
9096 * speedbar.el (speedbar-add-localized-speedbar-support):
9097 * emacs-lisp/disass.el (disassemble-internal):
9098 * desktop.el (desktop-load-file):
9099 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9100 (describe-function-1):
9101 * emacs-lisp/find-func.el (find-function-noselect):
9102 * emacs-lisp/elp.el (elp-instrument-function):
9103 * emacs-lisp/advice.el (ad-has-proper-definition):
9104 * apropos.el (apropos-safe-documentation, apropos-macrop):
9105 * emacs-lisp/debug.el (debug-on-entry):
9106 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9107 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9108 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9110 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9112 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9113 function, not an obsolete variable (Bug#12046).
9115 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9117 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9119 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9121 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9122 window only if it is still live (Bug#12034).
9124 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9126 * subr.el (redirect-frame-focus): Add advertised calling
9127 convention (Bug#12030).
9129 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9131 Prefer typical American spelling for "acknowledgment".
9132 * vc/add-log.el (change-log-acknowledgment): Rename from
9133 change-log-acknowledgement, with an alias for the old name.
9135 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9137 * calc-alg.el (math-simplify-divide): Don't cross multiply
9138 in an equation when the lhs is a variable.
9140 2012-07-24 Julien Danjou <julien@danjou.info>
9142 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9145 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9147 * startup.el (command-line): Don't display an empty user name in
9148 the error message about non-existent home directory, when
9149 init-file-user was set to an empty string. See
9150 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9151 for the details and context.
9153 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9155 * ses.el (ses-cell-formula-aset): New macro.
9156 (ses-cell-references-aset): New macro.
9157 (ses-cell-p): New function.
9158 (ses-rename-cell): Do no longer rely on complex operations like
9159 ses-cell-set-formula or ses-set-cell to change the cell and handle
9160 the undo at the same time, but rather use lower level new macros
9161 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9162 the undo directly. Refresh the mode line.
9164 2012-07-21 Leo Liu <sdl.web@gmail.com>
9166 * progmodes/cc-cmds.el (c-defun-name):
9167 Use match-string-no-properties instead for consistency.
9169 2012-07-20 Leo Liu <sdl.web@gmail.com>
9171 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9174 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9176 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9179 * progmodes/bug-reference.el, misearch.el: Provide themselves
9182 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9183 of narrowed buffer (bug#11966).
9185 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9187 * ses.el (ses-rename-cell): Set new name also in reference list of
9188 cells of which the renamed cell depends.
9190 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9192 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9193 to check whether menu-bar is shown or not. If not shown,
9194 show the menu-bar as a popup menu instead of using tmm.
9195 * mouse.el (popup-menu): Accept `point' as `position' argument.
9197 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9199 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9200 up inside string symbol literal (bug#11923).
9202 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9204 * startup.el (fancy-startup-text): Read the whole tutorial, not
9205 just its first 256 bytes. Prevents gibberish in display of the
9208 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9210 Drop idle buffer compaction due to an absence of the
9212 * compact.el: Remove.
9214 2012-07-19 Sam Steingold <sds@gnu.org>
9216 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9217 vc-bzr-pull & vc-bzr-merge-branch.
9218 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9219 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9220 for consistency with compilation-error-regexp-alist.
9221 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9222 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9223 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9224 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9226 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9228 * emacs-lisp/chart.el: Use lexical-binding.
9229 (chart-emacs-storage): Don't hardcode the list of entries.
9231 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9233 Next round of tweaks caused by Fgarbage_collect changes.
9234 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9236 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9238 Compact buffers when idle.
9239 * compact.el: New file.
9241 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9243 * subr.el (eventp): Presume that if it looks vaguely like an event,
9244 it's an event (bug#10190).
9246 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9248 Enhancements to ppss related code (thanks Stefan).
9249 * progmodes/python.el (python-indent-context)
9250 (python-indent-calculate-indentation, python-indent-dedent-line)
9251 (python-indent-electric-colon, python-nav-forward-block)
9252 (python-mode-abbrev-table)
9253 (python-info-assignment-continuation-line-p): Simplify checks
9255 (python-info-continuation-line-p): Cleanup.
9256 (python-info-ppss-context): Do not catch 'quote.
9257 (python-info-ppss-context-type)
9258 (python-info-ppss-comment-or-string-p): Simplify.
9260 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9262 * progmodes/python.el: Enhancements to eldoc support.
9263 (python-info-current-symbol): New function.
9264 (python-eldoc-at-point): Use python-info-current-symbol.
9265 (python-info-current-defun): Fix cornercase on first defun scan.
9266 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9267 and signal error when no inferior python process is available.
9269 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9271 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9272 assume it's always t.
9273 (vc-git-registered): Remove caching, the function is only called
9275 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9277 2012-07-18 Chong Yidong <cyd@gnu.org>
9279 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9281 * simple.el (count-words): Report on narrowing (Bug#9959).
9283 * bindings.el: Bind M-= to count-words.
9285 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9287 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9289 * progmodes/sh-script.el (sh-imenu-generic-expression):
9290 Capture a function with `function' keyword and without parentheses
9291 like "function FOO" (bug#11856).
9293 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9295 * window.el (split-window-sensibly): Make WINDOW argument
9298 2012-07-18 Chong Yidong <cyd@gnu.org>
9300 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9302 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9303 and make C-x 8 RET exit isearch (Bug#11439).
9305 * international/iso-transl.el: Move isearch-mode-map key
9306 definitions to isearch.el.
9308 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9311 (eieio-defclass): Use gv-define-setter when possible.
9313 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9315 Reflect recent changes in Fgarbage_collect.
9316 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9317 reflect new format of data returned by Fgarbage_collect.
9319 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9321 New utility functions + python-info-ppss-context fix (Bug#11910).
9322 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9323 (python-info-ppss-comment-or-string-p): New functions.
9324 (python-info-ppss-context): Small fix for string check.
9326 2012-07-17 Juri Linkov <juri@jurta.org>
9328 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9329 (dired-do-async-shell-command): Don't add `*' at the end of the
9330 command (Bug#11815).
9331 (dired-do-shell-command): Doc fix.
9332 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9333 Join the individual commands using either "&" or ";" as the
9334 separator depending on the values of these trailing characters.
9335 At the end re-add the trailing "&". (Bug#10598)
9337 * simple.el (async-shell-command): Sync the interactive spec with
9338 `shell-command'. Doc fix.
9339 (shell-command): Doc fix.
9341 2012-07-17 Juri Linkov <juri@jurta.org>
9343 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9345 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9347 Final renames and doc fixes for movement commands (bug#11899).
9348 * progmodes/python.el (python-nav-beginning-of-statement):
9349 Rename from python-nav-statement-start.
9350 (python-nav-end-of-statement): Rename from
9351 python-nav-statement-end.
9352 (python-nav-beginning-of-block): Rename from
9353 python-nav-block-start.
9354 (python-nav-end-of-block): Rename from python-nav-block-end.
9356 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9358 * progmodes/python.el (python-shell-send-string-no-output):
9359 Allow accept-process-output to quit, keeping shell process ready for
9360 future interactions (Bug#11868).
9362 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9366 * emacs-lisp/elint.el (elint-find-args-in-code):
9367 Use help-function-arglist, so as to handle lexical byte-code.
9369 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9372 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9375 Avoid spuriously marking the buffer as modified because of c-is-sws.
9377 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9378 as not-a-comment (bug#11946).
9380 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9381 for uninterned vars.
9383 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9384 Use read-event since we don't really want to read chars but bytes.
9386 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9387 $$..$$ but also $..$ using regexps (bug#11953).
9388 Use tex-verbatim for \url and \path.
9389 (tex-font-lock-keywords): Define as defconst like the others.
9390 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9392 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9394 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9395 alias for insert-char.
9397 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9399 * progmodes/python.el: Simplified imenu implementation.
9400 (python-nav-jump-to-defun): Remove command.
9401 (python-mode-map): Use `imenu' instead.
9402 (python-nav-list-defun-positions-cache)
9403 (python-imenu-include-defun-type, python-imenu-make-tree)
9404 (python-imenu-subtree-root-label, python-imenu-index-alist):
9406 (python-nav-list-defun-positions, python-nav-read-defun)
9407 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9408 (python-imenu-make-tree, python-imenu-create-index):
9410 (python-mode): Update to interact with imenu by setting
9411 `imenu-extract-index-name-function' only.
9413 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9415 * progmodes/python.el: Enhancements to navigation commands.
9416 (python-nav-backward-sentence)
9417 (python-nav-forward-sentence): Remove.
9418 (python-nav-backward-statement, python-nav-forward-statement)
9419 (python-nav-statement-start, python-nav-statement-end)
9420 (python-nav-backward-block, python-nav-forward-block)
9421 (python-nav-block-start, python-nav-block-end)
9422 (python-nav-forward-sexp-function)
9423 (python-info-current-line-comment-p)
9424 (python-info-current-line-empty-p): New functions.
9425 (python-indent-context): Use `python-nav-statement-start'.
9427 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9429 * eshell/em-ls.el (eshell/ls): Use `apply'.
9431 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9432 multi-hops, instead of Tramp internals.
9434 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9436 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9437 when F1 and F2 are located on different hosts.
9439 2012-07-14 Chong Yidong <cyd@gnu.org>
9441 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9442 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9443 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9444 (xterm-mouse--read-event-sequence-1000)
9445 (xterm-mouse--read-event-sequence-1006): New functions. For old
9446 mouse protocol, handle M-mouse-X events correctly.
9447 (xterm-mouse-event): New arg specifying mouse protocol.
9448 (turn-on-xterm-mouse-tracking-on-terminal)
9449 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9450 sequence to toggle extended coordinates on newer XTerms.
9451 This appears to be harmless on terminals which do not support this.
9453 2012-07-14 Leo Liu <sdl.web@gmail.com>
9455 Add fringe bitmap indicators for flymake. (Bug#11253)
9456 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9457 (flymake-make-overlay): New arg BITMAP.
9458 (flymake-error-bitmap, flymake-warning-bitmap)
9459 (flymake-fringe-indicator-position): New user variables.
9461 * fringe.el: New bitmap exclamation-mark.
9463 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9465 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9468 2012-07-14 Chong Yidong <cyd@gnu.org>
9470 * electric.el (electric-pair-post-self-insert-function): Fix pair
9471 insertion in empty-region case (Bug#11520).
9473 2012-07-14 Chong Yidong <cyd@gnu.org>
9475 * bindings.el: Consolidate ctl-x-r-map bindings.
9476 Bind copy-rectangle-as-kill to C-x r w.
9478 * rect.el, register.el: Move bindings to bindings.el.
9480 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9482 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9484 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9486 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9488 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9490 * bindings.el (top): Use `mapc' instead of `mapcar'.
9492 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9494 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9496 * progmodes/sql.el (sql-comint): Suppress the check for program on
9497 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9500 2012-07-13 Chong Yidong <cyd@gnu.org>
9502 * bindings.el: Assign a non-nil permanent-local property to
9503 per-buffer variables which lack a default value (Bug#11930).
9505 * help-fns.el (describe-variable): In the "automatically becomes
9506 local" notice, take note of permanent-local variables.
9508 2012-07-13 Chong Yidong <cyd@gnu.org>
9510 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9511 to allow printing the message when called from Lisp.
9513 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9514 Remove toggle-read-only.
9516 * bs.el (bs-toggle-readonly):
9517 * buff-menu.el (Buffer-menu-toggle-read-only):
9518 Remove with-no-warnings around toggle-read-only.
9520 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9521 Remove with-no-warnings around toggle-read-only.
9522 (ffap-read-only, ffap-read-only-other-window)
9523 (ffap-read-only-other-frame): Callers changed.
9525 * help-mode.el: Don't require view package.
9526 (help-mode-finish): Set buffer-read-only instead of calling
9529 * bindings.el (mode-line-toggle-read-only):
9530 * dired.el (dired-toggle-read-only):
9531 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9532 with non-nil second arg.
9534 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9535 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9538 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9540 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9543 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9545 More CL cleanups and reduction of use of cl.el.
9546 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9547 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9548 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9549 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9550 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9551 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9552 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9553 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9554 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9555 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9556 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9557 * eshell/em-cmpl.el, eshell/em-banner.el:
9558 * calendar/parse-time.el: Use cl-lib.
9559 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9560 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9561 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9562 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9563 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9564 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9565 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9566 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9567 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9568 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9569 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9570 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9571 `lambda' rather than with `quote'.
9572 (eshell-do-opt): Adjust accordingly.
9573 (eshell-process-option): Simplify.
9574 * eshell/esh-var.el:
9575 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9576 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9577 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9578 to `pcase--dontcare'.
9579 * emacs-lisp/cl.el (labels): Mark obsolete.
9580 (cl--letf, letf): Move to cl-lib.
9581 (cl--letf*, letf*): Remove.
9582 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9583 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9584 (cl-progv): Rewrite.
9585 (cl--letf, cl-letf): Move from cl.el.
9586 (cl-letf*): New macro.
9587 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9589 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9591 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9593 2012-07-11 Chong Yidong <cyd@gnu.org>
9595 * vc/log-edit.el (log-edit-vc-backend): New variable.
9596 (log-edit): Doc fix.
9598 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9599 argument of log-edit to set up all local variables.
9600 (vc-start-logentry): New optional arg specifying VC backend.
9602 * vc/vc.el (vc-checkin): Use it.
9603 (vc-deduce-fileset): Handle Log Edit buffers.
9604 (vc-diff): Make first argument optional too.
9606 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9608 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9610 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9611 command, just in case. The function is not needed anymore.
9612 (eshell-external-command): Do not call `eshell-remote-command'.
9614 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9616 Reduce use of (require 'cl).
9617 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9618 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9619 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9620 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9621 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9622 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9623 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9624 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9625 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9626 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9627 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9628 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9629 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9630 (byte-compile-unfold-bcf, byte-compile-check-variable):
9631 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9632 (byte-compile-nilconstp):
9633 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9634 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9636 * emacs-lisp/gv.el (cond): Make it a valid place.
9637 (if): Simplify slightly.
9639 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9640 (pcase--self-quoting-p): New function.
9641 (pcase--u1): Use it.
9643 2012-07-10 Glenn Morris <rgm@gnu.org>
9645 * emacs-lisp/authors.el (authors-fixed-entries):
9646 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9648 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9650 Rename configure.in to configure.ac (Bug#11603).
9651 * emacs-lisp/authors.el (authors-canonical-file-name):
9652 * progmodes/autoconf.el (autoconf-mode):
9653 Prefer configure.ac to configure.in.
9655 2012-07-08 Chong Yidong <cyd@gnu.org>
9657 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9658 Implement the mouse-1-click-follows-link handling properly.
9660 * info.el (Info-link-keymap): Use follow-link mechanism for
9661 header-line links (Bug#374).
9663 * simple.el (deactivate-mark): Do not set the primary selection
9664 if another program has acquired it (Bug#11772).
9666 2012-07-07 Kevin Ryde <user42@zip.com.au>
9668 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9669 (woman-decode-region): Replace escaped-escapes without destroying
9670 bold or underline (Bug#11552).
9671 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9673 2012-07-07 Chong Yidong <cyd@gnu.org>
9675 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9676 (interprogram-cut-function, interprogram-paste-function):
9677 Mention that we typically mean the clipboard.
9679 2012-07-06 Glenn Morris <rgm@gnu.org>
9681 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9683 * files.el (toggle-read-only): Restrict message to interactive use.
9685 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9687 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9689 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9691 2012-07-06 Glenn Morris <rgm@gnu.org>
9693 * Makefile.in (compile-one-process): Rename from "recompile".
9695 * Makefile.in (bzr-update): "compile" is the same as "recompile
9696 autoloads", but parallelizable, so use that instead.
9698 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9700 * window.el (quit-window): Always restore window height when
9701 it's saved in quit-restore parameter (Bug#11810).
9703 2012-07-06 Glenn Morris <rgm@gnu.org>
9705 * simple.el (kill-whole-line): Doc tweak.
9707 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9709 * files.el (file-relative-name): Compare file names
9710 case-insensitively if on MS-Windows or MS-DOS, or if
9711 read-file-name-completion-ignore-case is non-nil. Don't use
9712 case-fold-search for this purpose. (Bug#11827)
9714 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9716 * calendar/cal-dst.el (calendar-current-time-zone):
9717 Return calendar-current-time-zone-cache if non-nil.
9719 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9720 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9722 * calendar/cal-dst.el (calendar-current-time-zone):
9723 Return calendar-current-time-zone-cache if non-nil.
9725 2012-07-06 Glenn Morris <rgm@gnu.org>
9727 * Makefile.in (cvs-update): Remove old alias.
9729 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9731 Sync with Tramp 2.2.6-pre.
9733 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9734 compatible declaration.
9736 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9737 Protect `list-load-path-shadows' call.
9739 * net/tramp-compat.el (top): Require packages, which aren't
9740 autoloaded anymore for XEmacs. Protect call of
9741 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9742 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9743 it hurts at least for SXEmacs.
9744 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9745 standard-value for `temporary-file-directory'.
9747 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9748 Redirect stderr to /dev/null.
9749 (tramp-sh-handle-write-region): uid and gid can be floats.
9750 Reported by Russell Sim <russell.sim@gmail.com>.
9751 (tramp-sh-handle-vc-registered): Hide errors.
9752 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9753 and `start-file-process'.
9754 (tramp-maybe-open-connection): Check also whether `non-essential'
9757 2012-07-04 Chong Yidong <cyd@gnu.org>
9759 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9760 (xml-parse-tag): Likewise, and avoid changing entity tables.
9761 (xml-syntax-table): Define from scratch, making sure not to give
9762 x2000 and other Unicode spaces whitespace syntax, since those are
9764 (xml-parse-fragment): Delete unused function.
9765 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9766 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9767 (xml-entity-ref, xml-pe-reference-re)
9768 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9769 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9770 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9771 (xml-entity-value-re): Use syntax references in regexps where
9772 possible; no need to define inside a let-binding.
9773 (xml-parse-dtd): Use xml-pe-reference-re.
9774 (xml-entity-or-char-ref-re): New defconst.
9775 (xml-parse-string, xml-substitute-special): Use it.
9777 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9780 (find-file--read-only): New function.
9781 (find-file-read-only, find-file-read-only-other-window)
9782 (find-file-read-only-other-frame): Use it.
9783 (insert-file-contents-literally): Don't `fset'.
9784 (get-free-disk-space): Use locate-dominating-file.
9786 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9787 function is already compiled.
9789 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9791 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9793 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9794 files on the same host.
9796 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9798 * help-fns.el (describe-function-1): Only call
9799 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9801 2012-07-03 Chong Yidong <cyd@gnu.org>
9803 * xml.el: Protect parser against XML bombs.
9804 (xml-entity-expansion-limit): New variable.
9805 (xml-parse-string, xml-substitute-special): Use it.
9806 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9808 2012-07-03 Glenn Morris <rgm@gnu.org>
9810 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9811 Allow linking to specific messages in debbugs reports (eg 123#5).
9813 2012-07-02 Chong Yidong <cyd@gnu.org>
9815 * xml.el: Fix entity and character reference expansion, allowing
9816 them to expand into markup as per XML spec.
9817 (xml-default-ns): New variable.
9818 (xml-entity-alist): Use XML spec definitions for lt and amp.
9819 (xml-parse-region): Make first two arguments optional.
9820 Discard text properties.
9821 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9822 All callers changed.
9823 (xml-parse-tag): Call xml-parse-tag-1. For backward
9824 compatibility, this function should not modify buffer contents.
9825 (xml-parse-tag-1): Fix opening-tag regexp.
9826 (xml-parse-string): Rewrite, handling entity and character
9827 references properly.
9828 (xml--entity-replacement-text): Signal an error if a parameter
9829 entity is undefined.
9831 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9833 * comint.el (comint-output-filter): Filter out repeated prompts.
9835 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9836 and file-name-absolute-p.
9837 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9840 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9843 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9844 Rename from byte-compile--refiy-function. All uses changed.
9846 2012-07-01 Chong Yidong <cyd@gnu.org>
9848 * xml.el (xml--parse-buffer): New function. Move most of
9849 xml-parse-region here.
9850 (xml-parse-region): Copy region into a temporary buffer, since
9851 parameter entity substitution requires changing buffer contents.
9852 Use xml--parse-buffer.
9853 (xml-parse-file): Use xml--parse-buffer.
9854 (xml-parse-dtd): Make parameter entity substitution work right.
9855 Use proper regexps for ELEMENT declarations (Bug#7172).
9857 2012-06-30 Glenn Morris <rgm@gnu.org>
9859 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9861 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9862 Remove outdated and unnecessary dbus declarations.
9864 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9866 * emacs-lisp/timer.el (timer-until): Subtract results of
9867 float-time, instead of taking float-time of the result of
9868 time-subtract, since float-time signals an error for negative time
9871 2012-06-30 Chong Yidong <cyd@gnu.org>
9873 * xml.el (xml-*-re): Convert defvars into defconsts, and
9874 eval-and-compile them so eval-and-compile works on derivatives.
9875 (xml--entity-replacement-text): Use eval-and-comple.
9877 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9879 * vc/vc-git.el (vc-git-registered): Use cache property
9881 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9882 `vc-git-working-revision' in order to benefit from the cache.
9883 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9885 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9887 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9888 removed (likely outside Emacs). (Bug#11757)
9890 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9892 * emacs-lisp/cl-lib.el: Require macroexp.
9894 2012-06-30 Chong Yidong <cyd@gnu.org>
9896 * xml.el: Implement XML parameter entities.
9897 (xml-parameter-entity-alist): New variable.
9898 (xml-parse-region, xml-parse-fragment): Preserve previous values
9899 of xml-entity-alist and xml-parameter-entity-alist, so that
9900 repeated calls on different documents do not change them.
9901 (xml-parse-tag): Fix doctype regexp.
9902 (xml--entity-replacement-text): New function.
9903 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9904 properly requires url retrieval which is unimplemented.
9905 (xml-escape-string): Doc fix.
9907 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9911 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9913 * fringe.el (fringe-mode): Doc fix.
9915 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9917 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9919 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9920 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9922 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9924 * calendar/cal-dst.el (calendar-current-time-zone):
9925 Return calendar-current-time-zone-cache if non-nil.
9927 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9929 * progmodes/which-func.el (which-func-format):
9930 Add mouse-face. (Bug#11698)
9932 2012-06-29 Leo Liu <sdl.web@gmail.com>
9934 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9936 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * minibuffer.el (minibuffer-confirm-exit-commands):
9939 Add completion-at-point (bug#11725).
9941 2012-06-29 Glenn Morris <rgm@gnu.org>
9943 * progmodes/f90.el (f90-font-lock-keywords-2):
9944 Add some preprocessor elements. (Bug#10499)
9946 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9949 Use syntax-propertize (bug#11739).
9951 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9953 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9955 2012-06-28 Julien Danjou <julien@danjou.info>
9957 * term.el (term-handle-colors-array): Use a set of new faces to
9958 color the terminal. Also uses :inverse-video property.
9959 (term-default-fg-color): Set to nil by default, deprecate in favor
9961 (term-default-bg-color): Set to nil by default, deprecate in favor
9963 (term-current-face): Use `term-face' by default.
9964 (term-bold-attribute): Variable deleted.
9966 2012-06-28 Glenn Morris <rgm@gnu.org>
9968 * simple.el (completion-list-mode-finish):
9969 Don't use toggle-read-only. (Since completion-list-mode has
9970 a special mode-class, it wasn't doing anything extra anyway.)
9972 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9974 Make inlining of other-mode interpreted functions work (bug#11799).
9975 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9976 (byte-compile): Use it to fix compilation of lexical-binding closures.
9977 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9978 function, if needed.
9980 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * help-mode.el (help-make-xrefs): Don't just withstand
9983 cyclic-variable-indirection but any error in documentation-property.
9985 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9987 * bindings.el (bindings--define-key): New function.
9988 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9989 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9990 * bindings.el: Use it to purecopy define-key bindings.
9992 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9994 * emacs-lisp/cl.el (flet): Mark obsolete.
9995 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9996 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9997 * progmodes/js.el (js-c-fill-paragraph):
9998 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9999 (ebrowse-switch-member-buffer-to-derived-class):
10000 * play/5x5.el (5x5-solver): Use cl-flet.
10002 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10003 (cl--symbol-function): New macro.
10004 (cl--letf, cl--letf*): Use it.
10006 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10007 Strip "toggle-" if any.
10009 2012-06-27 Glenn Morris <rgm@gnu.org>
10011 * info.el (Info-default-directory-list): Move here from paths.el.
10012 * paths.el: Remove file, which is now empty.
10013 * loadup.el: No longer load "paths".
10015 * custom.el (custom-initialize-delay): Doc fix.
10017 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10018 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10019 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10020 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10021 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10022 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10023 * eshell/eshell.el (eshell-defgroup): Remove alias.
10025 2012-06-27 Chong Yidong <cyd@gnu.org>
10027 * help.el (help-enable-auto-load): New variable.
10029 * help-fns.el (help-fns--autoloaded-p): New function.
10030 (describe-function-1): Refer to a function as "autoloaded" if it
10031 was autoloaded at any time in the past. Perform autoloading if
10032 help-enable-auto-load is non-nil.
10034 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10036 * makefile.w32-in (compile, compile-always): Depend on
10037 update-subdirs, not on subdirs.el. Otherwise, several different
10038 sub-targets of 'bootstrap' running in parallel could
10039 simultaneously write to subdirs.el, producing a garbled file.
10041 2012-06-26 Sam Steingold <sds@gnu.org>
10043 * files.el (file-name-base): New convenience function.
10044 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10045 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10046 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10047 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10048 * textmodes/ispell.el, textmodes/reftex-ref.el:
10049 * textmodes/tex-mode.el: Use it.
10050 Did not touch cedet and org because they are maintained elsewhere.
10052 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10054 * calendar/calendar.el (calendar-exit): Don't try to delete or
10055 iconify last frame. See:
10056 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10058 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10060 * server.el (server-process-filter): Remember dir in the
10061 process's `server-client-directory' properties.
10063 2012-06-24 Chong Yidong <cyd@gnu.org>
10065 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10068 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10070 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10072 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10074 * help-fns.el (describe-variable): Don't croak when doc is not found.
10075 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10076 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10077 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10078 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10079 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10081 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10083 2012-06-23 Chong Yidong <cyd@gnu.org>
10085 * info.el (Info-mouse-follow-link): Accept symbol values of
10086 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10087 (Info-fontify-node): Use Info-link-keymap for all navigation
10088 buttons, with link-args property to perform the desired action.
10089 (Info-link-keymap): Doc fix.
10090 (Info-next-link-keymap, Info-prev-link-keymap)
10091 (Info-up-link-keymap): Delete now-unused keymaps.
10093 2012-06-23 Chong Yidong <cyd@gnu.org>
10095 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10097 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10100 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10102 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10104 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10107 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10108 the requote function doesn't work properly (bug#11714).
10110 2012-06-23 Glenn Morris <rgm@gnu.org>
10112 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10114 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10116 Further GV/CL cleanups.
10117 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10119 (gv--defun-declaration): New function.
10120 (defun-declarations-alist): Use it.
10121 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10122 (gv-place): Autoload.
10123 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10124 original definition of dotimes and dolist.
10125 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10126 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10127 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10128 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10129 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10130 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10131 to the function's definition.
10132 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10136 * env.el: Don't use CL.
10138 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10140 Support higher-resolution time stamps (Bug#9000).
10142 * calendar/time-date.el (with-decoded-time-value): New arg
10143 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10144 (encode-time-value): New optional arg PICO. New type 3.
10145 (time-to-seconds) [!float-time]: Support the new picoseconds
10146 component if it's used.
10147 (seconds-to-time, time-subtract, time-add):
10148 Support ps-resolution time stamps as well.
10150 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10151 (timerp): Timer vectors now have length 9, not 8.
10152 (timer--time): Support new-style (4-part) time stamps.
10153 (timer-next-integral-multiple-of-time): Time stamps now have
10154 picosecond resolution, so take a bit more care about rounding.
10155 (timer-relative-time, timer-inc-time): New optional arg psecs.
10156 (timer-set-time-with-usecs): Set psecs to 0.
10157 (timer--activate): Check psecs component, too.
10159 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10161 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10163 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10164 Move the non-essential binding to the post/pre-command-hook where it is
10165 more obviously correct.
10167 * subr.el (read-passwd): Don't use a history at all.
10168 * savehist.el (savehist-save): Remove password saved accidentally
10169 because of the above bug.
10171 2012-06-22 Bastien Guerry <bzg@gnu.org>
10173 * files.el (toggle-read-only): Display a message telling whether
10174 the buffer is read-only or not (bug#11726).
10176 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10178 * emacs-lisp/gv.el: New file.
10179 * subr.el (push, pop): Extend to generalized variables.
10180 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10181 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10182 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10183 gv-define-simple-setter, and gv-define-expander.
10184 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10185 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10186 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10187 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10188 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10190 (cl-defstruct): Don't define setf-method any more.
10191 * emacs-lisp/cl.el (flet): Don't autoload.
10192 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10193 (define-setf-expander, defsetf, define-modify-macro)
10194 (cl-struct-setf-expander): Move from cl-lib.el.
10195 * emacs-lisp/syntax.el:
10196 * emacs-lisp/ewoc.el:
10197 * emacs-lisp/smie.el:
10198 * emacs-lisp/cconv.el:
10199 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10200 (timer--time): Use gv-define-simple-setter.
10201 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10202 to avoid coding-system problems in subr.el. Adjust all users.
10203 (macroexp--maxsize, macroexp-small-p): New functions.
10204 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10205 * scroll-bar.el (scroll-bar-mode):
10206 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10207 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10208 * winner.el (winner-configuration, winner-make-point-alist)
10209 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10210 * files.el (locate-file-completion-table): Avoid list*.
10212 2012-06-22 Chong Yidong <cyd@gnu.org>
10214 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10215 (dired-create-files): Doc fix (Bug#11329).
10216 (dired-do-copy): Doc fix (Bug#11334).
10217 (dired-mark-read-string): Doc fix (Bug#11553).
10219 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10220 Doc fix (Bug#11326).
10221 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10222 (dired-dwim-target): Doc fix.
10224 * wdired.el (wdired-mode): Doc fix.
10226 2012-06-22 Glenn Morris <rgm@gnu.org>
10228 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10229 (pcmpl-rpm-cache-stamp-file): New constant.
10230 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10231 (pcmpl-rpm-packages): Optionally cache list of packages.
10233 * pcmpl-rpm.el (pcmpl-rpm): New group.
10234 (pcmpl-rpm-query-options): New option.
10235 (pcmpl-rpm-packages): No need to inline it.
10236 Use pcmpl-rpm-query-options.
10238 * calendar/calendar.el (calendar-in-read-only-buffer):
10239 Avoid some needless mode changes.
10241 2012-06-21 Chong Yidong <cyd@gnu.org>
10243 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10244 (desktop-path): Remove . from the default value (Bug#10977).
10245 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10247 2012-06-20 Chong Yidong <cyd@gnu.org>
10249 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10251 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10253 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10256 2012-06-20 Chong Yidong <cyd@gnu.org>
10258 * term.el (term-window-width): Handle the case of a missing right
10260 (term-check-size): Use window-text-height (Bug#5445).
10261 (term-mode): Use define-derived-mode. Minor cleanups.
10262 Set font-lock-defaults (Bug#7692).
10263 (term-move-columns, term-insert-char, term-emulate-terminal)
10264 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10266 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10268 * net/ange-ftp.el (ange-ftp-get-passwd):
10269 Bind `enable-recursive-minibuffers'.
10270 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10272 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10274 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10276 2012-06-19 Glenn Morris <rgm@gnu.org>
10278 * progmodes/python.el (python-mode): Derive from prog-mode.
10280 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10282 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10283 (edt-user-menu-bar-update-buffers): New functions.
10284 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10286 2012-06-19 Chong Yidong <cyd@gnu.org>
10288 * subr.el (with-selected-window): Preserve the selected window's
10289 terminal's top-frame (Bug#4702).
10291 * window.el (save-selected-window): Likewise.
10293 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * progmodes/python.el (python-rx-constituents): Move backquote.
10296 (python-skeleton-define, python-define-auxiliary-skeleton):
10299 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10301 * minibuffer.el (read-file-name-default): Revert the patch from
10304 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10307 (pcase--u1, pcase--q1): Don't use apply-partially.
10309 2012-06-18 Glenn Morris <rgm@gnu.org>
10311 * progmodes/python.el (python-proc, python-buffer)
10312 (python-send-receive, python-send-string): Fix obsolete versions.
10314 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10316 * window.el (special-display-p): Completely remove stringp
10317 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10319 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10321 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10323 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10325 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10326 * net/tramp-sh.el (tramp-maybe-open-connection):
10327 Throw if `non-essential' is non-nil.
10329 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10331 * window.el (special-display-p): Signal an error if BUFFER-NAME
10332 is not a string (Bug#11713).
10334 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10336 * progmodes/python.el (python-info-beginning-of-backslash):
10337 Rename from python-info-beginning-of-backlash, as a spelling fix.
10339 2012-06-17 Chong Yidong <cyd@gnu.org>
10341 * term.el (term-emulate-terminal): If term-check-size is called,
10342 move point to the process mark without resetting point (Bug#4635).
10344 2012-06-17 Glenn Morris <rgm@gnu.org>
10346 * international/mule-cmds.el (mule-menu-keymap)
10347 (set-language-environment, set-locale-environment): Doc tweaks.
10349 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10351 * cus-face.el (custom-face-attributes): Add wave-style underline
10353 * faces.el (set-face-attribute): Update docstring to describe
10354 wave-style underline attribute.
10356 2012-06-16 Chong Yidong <cyd@gnu.org>
10358 * term/xterm.el (terminal-init-xterm): Discard input before
10359 querying background mode (Bug#10959).
10361 2012-06-16 Stefan Merten <smerten@oekonux.de>
10363 * textmodes/rst.el: Added and corrected some comments.
10364 (rst-re-alist-def): Improve symbol syntax.
10365 (rst-mode-syntax-table): Correct syntax entries.
10366 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10367 (rst-official-version, rst-official-cvs-rev): Update version
10370 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10372 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10373 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10375 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10377 * progmodes/python.el: New python.el merge.
10378 (python-guess-indent): Obsolete var.
10379 (python-indent-guess-indent-offset): New defcustom.
10380 (python-indent): Obsolete var.
10381 (python-indent-offset): New defcustom.
10382 (python-python-command, python-jython-command): Delete var.
10383 (python-shell-interpreter): New defcustom.
10384 (python-pdbtrack-do-tracking-p): Delete var.
10385 (python-pdbtrack-activate): New defcustom.
10386 (python-use-skeletons): Obsolete var.
10387 (python-skeleton-autoinsert): New defcustom.
10388 (inferior-python-filter-regexp, python-continuation-offset)
10389 (python-honour-comment-indentation, python-indent-string-contents)
10390 (python-jython-packages, python-mode-hook)
10391 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10392 (python-shell-prompt-alist)
10393 (python-source-modes): Delete defcustoms.
10394 (python-check-buffer-name, python-eldoc-setup-code)
10395 (python-eldoc-string-code, python-ffap-setup-code)
10396 (python-ffap-string-code, python-fill-comment-function)
10397 (python-fill-decorator-function, python-fill-paren-function)
10398 (python-fill-string-function, python-imenu-include-defun-type)
10399 (python-imenu-make-tree, python-imenu-subtree-root-label)
10400 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10401 (python-shell-compilation-regexp-alist)
10402 (python-shell-completion-module-string-code)
10403 (python-shell-completion-pdb-string-code)
10404 (python-shell-completion-setup-code)
10405 (python-shell-completion-string-code)
10406 (python-shell-enable-font-lock, python-shell-exec-path)
10407 (python-shell-extra-pythonpaths)
10408 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10409 (python-shell-process-environment)
10410 (python-shell-prompt-block-regexp)
10411 (python-shell-prompt-output-regexp)
10412 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10413 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10414 (python-shell-virtualenv-path): New defcustoms.
10415 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10416 (inferior-python-mode-syntax-table, python--prompt-regexp)
10417 (python-buffer, python-command python-python-command)
10418 (python-default-template, python-imports, python-indent-index)
10419 (python-indent-list, python-indent-list-length)
10420 (python-mode-running, python-pdbtrack-is-tracking-p)
10421 (python-preoutput-continuation, python-preoutput-leftover)
10422 (python-preoutput-result, python-preoutput-skip-next-prompt)
10423 (python-prev-dir/file, python-recursing)
10424 (python-saved-check-command, python-version-checked)
10425 (python-which-func-length-limit)
10426 (view-return-to-alist): Delete vars.
10427 (python-check-custom-command, python-dotty-syntax-table)
10428 (python-imenu-index-alist, python-indent-current-level)
10429 (python-indent-dedenters, python-indent-levels)
10430 (python-nav-beginning-of-defun-regexp)
10431 (python-nav-list-defun-positions-cache)
10432 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10433 (python-shell-internal-buffer)
10434 (python-skeleton-available): New vars.
10435 (def-python-skeleton): Delete macro.
10436 (python-skeleton-define): New macro.
10437 (python-define-auxiliary-skeleton, python-rx): New macros.
10438 (python-insert-class): Delete command.
10439 (python-skeleton-class): New command.
10440 (python-insert-def): Delete command.
10441 (python-skeleton-def): New command.
10442 (python-insert-for): Delete command.
10443 (python-skeleton-for): New command.
10444 (python-insert-if): Delete command.
10445 (python-skeleton-if): New command.
10446 (python-insert-try/except, python-insert-try/finally): Delete commands.
10447 (python-skeleton-try): New command.
10448 (python-insert-while): Delete command.
10449 (python-skeleton-while): New command.
10450 (python-backspace): Delete command.
10451 (python-indent-dedent-line-backspace): New command.
10452 (python-electric-colon): Delete command.
10453 (python-indent-electric-colon): New command.
10454 (python-guess-indent): Delete command.
10455 (python-indent-guess-indent-offset): New command.
10456 (python-shift-left): Delete command.
10457 (python-indent-shift-left): New command.
10458 (python-shift-right): Delete command.
10459 (python-indent-shift-right): New command.
10460 (python-find-function): Delete command.
10461 (python-nav-jump-to-defun): New command.
10462 (python-next-statement): Delete command.
10463 (python-nav-forward-sentence): New command.
10464 (python-previous-statement): Delete command.
10465 (python-nav-backward-sentence): New command.
10466 (python-fill-paragraph): Delete command.
10467 (python-fill-paragraph-function): New command.
10468 (python-send-buffer): Delete command.
10469 (python-shell-send-buffer): New command.
10470 (python-send-defun): Delete command.
10471 (python-shell-send-defun): New command.
10472 (python-send-region, python-send-region-and-go): Delete commands.
10473 (python-shell-send-region)
10474 (python-shell-switch-to-shell): New commands.
10475 (python-send-string): Delete command.
10476 (python-shell-send-string): New command.
10477 (python-switch-to-python): Delete command.
10478 (python-shell-switch-to-shell): New command.
10479 (python-describe-symbol): Delete command.
10480 (python-eldoc-at-point): New command.
10481 (python--set-prompt-regexp, python-args-to-list)
10482 (python-after-info-look, python-check-version)
10483 (python-check-comint-prompt, python-find-imports)
10484 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10485 (python-unload-function, python-expand-template)
10486 (python-maybe-jython, python-preoutput-filter)
10487 (python-pdbtrack-get-source-buffer)
10488 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10489 (python-pdbtrack-toggle-stack-tracking)
10490 (python-pdbtrack-track-stack-file, python-initial-text)
10491 (python-first-word, python-comment-line-p, python-send-command)
10492 (python-setup-brm, python-sentinel, python-set-proc)
10493 (python-skip-out, python-input-filter, python-outdent-p)
10494 (python-outline-level, python-backslash-continuation-line-p)
10495 (python-end-of-block, python-end-of-statement, python-mark-block)
10496 (python-beginning-of-block, python-beginning-of-statement)
10497 (python-blank-line-p, python-beginning-of-string)
10498 (python-open-block-statement-p): Delete functions.
10499 (python-indent-line, python-indent-line-1): Delete functions.
10500 (python-indent-line): New function.
10501 (python-indentation-levels): Delete function.
10502 (python-indent-calculate-levels): New function.
10503 (python-proc): Delete function.
10504 (python-shell-get-process): New function.
10505 (python-send-receive): Delete function.
10506 (python-shell-send-string-no-output): New function.
10507 (python-module-path): Delete function.
10508 (python-ffap-module-path): New function.
10509 (python-completion-at-point)
10510 (python-symbol-completions): Delete functions.
10511 (python-completion-complete-at-point): New function.
10512 (python-load-file): Delete function.
10513 (python-shell-send-file): New function.
10514 (python-calculate-indentation): Delete function.
10515 (python-indent-calculate-indentation): New function.
10516 (python-skip-comments/blanks): Delete function.
10517 (python-util-forward-comment): New function.
10518 (python-continuation-line-p): Delete function.
10519 (python-info-continuation-line-p): New function.
10520 (python-which-func, python-current-defun): Delete function.
10521 (python-info-current-defun): New function.
10522 (python-beginning-of-defun): Delete function.
10523 (python-nav-beginning-of-defun): New function.
10524 (python-close-block-statement-p)
10525 (python-block-end-p): Delete function.
10526 (python-info-closing-block): New function.
10527 (python-comint-output-filter-function)
10528 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10529 (python-fill-comment, python-fill-decorator, python-fill-paren)
10530 (python-fill-string, python-imenu-make-element-tree)
10531 (python-imenu-make-tree, python-imenu-tree-assoc)
10532 (python-indent-context, python-indent-dedent-line)
10533 (python-indent-line-function)
10534 (python-indent-post-self-insert-function)
10535 (python-indent-toggle-levels)
10536 (python-info-assignment-continuation-line-p)
10537 (python-info-beginning-of-backlash)
10538 (python-info-block-continuation-line-p)
10539 (python-info-closing-block-message)
10540 (python-info-line-ends-backslash-p)
10541 (python-info-looking-at-beginning-of-defun)
10542 (python-info-ppss-context, python-info-ppss-context-type)
10543 (python-nav-list-defun-positions, python-nav-read-defun)
10544 (python-nav-sentence-end, python-nav-sentence-start)
10545 (python-pdbtrack-comint-output-filter-function)
10546 (python-pdbtrack-set-tracked-buffer)
10547 (python-shell-calculate-exec-path)
10548 (python-shell-calculate-process-environment)
10549 (python-shell-completion--do-completion-at-point)
10550 (python-shell-completion--get-completions)
10551 (python-shell-completion-complete-at-point)
10552 (python-shell-completion-complete-or-indent)
10553 (python-shell-get-or-create-process)
10554 (python-shell-get-process-name)
10555 (python-shell-internal-get-or-create-process)
10556 (python-shell-internal-get-process-name)
10557 (python-shell-internal-send-string, python-shell-make-comint)
10558 (python-shell-parse-command, python-shell-send-setup-code)
10559 (python-skeleton-add-menu-items)
10560 (python-util-clone-local-variables, python-util-position)
10561 (run-python-internal, python-indentation-levels)
10562 (python-nav-beginning-of-defun)
10563 (python-completion-complete-at-point): New functions.
10564 (run-python): Change arguments. New API requirements.
10566 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10568 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10571 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10572 (macroexp--expand-all): Use it.
10574 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10575 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10576 Use `cl-function' instead.
10578 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10580 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10581 Suggested by Stefan Monnier while discussing bug#11657.
10583 2012-06-14 Sam Steingold <sds@gnu.org>
10585 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10587 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10589 * play/doctor.el (doctor-doc): Remove parameter and use
10590 doctor-sent instead of sent.
10591 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10593 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * files.el: Require cl-lib.
10596 (file-name-non-special): Replace case -> cl-case.
10598 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10600 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10601 mapping from #' to function*.
10603 2012-06-13 Chong Yidong <cyd@gnu.org>
10605 * mouse.el (mouse-drag-track): Do not set the mark if the user
10606 releases the mouse without selecting anything (Bug#11588).
10608 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10611 as well (bug#11646).
10613 * loadup.el: Count byte-code functions as well.
10615 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10616 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10618 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10619 (bug#11649). Add cl-defun and cl-defmacro.
10621 2012-06-13 Drew Adams <drew.adams@oracle.com>
10623 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10626 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10628 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10629 Otherwise, it blocks in batch mode.
10631 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10633 * help-mode.el (bookmark-make-record-default): Declare.
10635 2012-06-13 Chong Yidong <cyd@gnu.org>
10637 * emacs-lisp/package.el (list-packages): Compute a list of
10638 packages that are newly-available since the last list-packages
10640 (package-menu--new-package-list): New var.
10641 (package-menu--generate, package-menu--print-info)
10642 (package-menu--status-predicate, package-menu-mark-install):
10643 Handle new status label "new".
10645 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10647 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10648 conversion to backquotes.
10650 2012-06-12 Chong Yidong <cyd@gnu.org>
10652 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10653 Rename from gud-inhibit-global-bindings.
10655 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10657 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10658 hook from nxml-glyph-set-hook.
10660 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10663 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10665 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10666 Convert to defcustom.
10668 2012-06-12 Drew Adams <drew.adams@oracle.com>
10670 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10672 (help-mode): Use them.
10674 2012-06-11 Glenn Morris <rgm@gnu.org>
10676 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10677 Use preprocessor face for directives.
10678 (fortran-directive-re): Doc fix.
10680 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10682 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10683 conversion to backquotes (bug#11652).
10685 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10686 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10687 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10688 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10689 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10690 (cl-ninth, cl-tenth): Mark them as inlinable.
10691 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10692 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10693 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10694 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10695 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10696 (cl-list*, cl-adjoin): Don't put an autoload manually.
10697 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10698 (cl--compiler-macro-list*): Add autoload cookie.
10699 (cl--compiler-macro-cXXr): New function.
10701 * help-fns.el (help-fns--compiler-macro): New function extracted from
10702 describe-function-1; follow aliases and use `compiler-macro' property.
10703 (describe-function-1): Use it.
10705 2012-06-11 Chong Yidong <cyd@gnu.org>
10707 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10708 is uninstalled, if imagemagick is installed.
10710 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10712 * emacs-lisp/cl-lib.el: Use lexical-binding.
10713 (cl-map-extents, cl-maclisp-member): Remove.
10714 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10715 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10716 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10717 * emacs-lisp/cl-extra.el: Use lexical-binding.
10718 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10719 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10720 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10721 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10722 * emacs-lisp/cl-seq.el: Use lexical-binding.
10723 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10724 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10725 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10726 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10727 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10730 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10732 Sync with Tramp 2.2.6-pre.
10734 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10735 `print-length' and `print-level' to nil, in order to avoid
10736 truncation. Reported by Christopher Schmidt
10737 <christopher@ristopher.com>.
10739 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10741 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10743 (tramp-compat-copy-directory): Add optional argument
10744 COPY-CONTENTS. It is not handled yet.
10746 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10747 (tramp-ftp-file-name-p): Simplify.
10749 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10750 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10753 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10754 (tramp-methods): Do not use `tramp-password-end-of-line'.
10755 (tramp-completion-function-alist-putty): Handle UNIX case.
10756 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10757 (tramp-do-file-attributes-with-stat)
10758 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10759 gid as real numbers. They could run out of integer range on cygwin.
10760 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10761 (tramp-sh-handle-expand-file-name): Handle hops.
10762 (tramp-open-connection-setup-interactive-shell):
10763 Use `tramp-cleanup'. Move check for busyboxes ...
10764 (tramp-find-shell): ... here. Simplify implementation.
10765 Set "remote-shell" property also for alternative shells.
10766 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10767 If failing, a regular file would be written otherwise.
10768 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10769 (tramp-find-inline-encoding): Cache the coding commands in the
10770 process cache. Apply test command on the remote side, if defined.
10771 (tramp-find-inline-compress): Cache the compress commands in the
10773 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10774 when requested. Handle hops.
10775 (tramp-current-connection): New defvar.
10776 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10777 Throw `suppress', if there was a failed connection shortly before.
10778 Handle user interrupt. (Bug#10187)
10779 (tramp-get-inline-compress, tramp-get-inline-coding):
10780 Read connection properties from the process cache.
10782 * net/tramp-smb.el (tramp-smb-server-version)
10783 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10785 (tramp-smb-prompt): Extend for powershell prompt.
10786 (tramp-smb-file-name-handler-alist): Add handlers for
10787 `process-file', `shell-command' and `start-file-process'.
10788 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10789 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10790 (tramp-smb-file-name-p): Simplify.
10791 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10792 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10793 (tramp-smb-shell-quote-argument): New defuns.
10794 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10795 Implement using "tar". By this, time-stamps are preserved.
10796 (tramp-smb-handle-copy-file): Handle also the case of directories.
10797 (tramp-smb-do-file-attributes-with-stat)
10798 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10799 Use `tramp-get-connection-buffer').
10800 (tramp-smb-handle-rename-file): Use "rename", when source and
10801 target are on the same share.
10802 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10803 Use `tramp-smb-server-version'.
10804 (tramp-smb-wait-for-output): Remove prompt.
10806 * net/tramp.el (top): Require 'cl.
10807 (tramp-methods, tramp-rsh-end-of-line):
10808 Remove `tramp-password-end-of-line' from docstring.
10809 (tramp-save-ad-hoc-proxies): New defcustom.
10810 (tramp-completion-function-alist): Adapt docstring.
10811 (tramp-default-password-end-of-line): Remove defcustom.
10812 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10813 (tramp-user-regexp, tramp-file-name-regexp-unified)
10814 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10815 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10816 (tramp-remote-file-name-spec-regexp): New defconst.
10817 (tramp-file-name-structure): Extend structure for hops.
10818 (tramp-get-method-parameter): Move up.
10819 (tramp-file-name-p, tramp-dissect-file-name)
10820 (with-parsed-tramp-file-name): Handle hops.
10821 (tramp-file-name-hop): New defun.
10822 (tramp-make-tramp-file-name): New optional arg HOP.
10823 (tramp-message-show-progress-reporter-message): New defvar.
10824 (tramp-with-progress-reporter): Use it. We cannot use
10825 `tramp-message-show-message' here, because this suppresses also
10827 (tramp-error-with-buffer): Suppress buffer view, if
10828 `tramp-message-show-message' is nil.
10829 Use `tramp-get-connection-buffer'.
10830 (tramp-cleanup): New defun.
10831 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10832 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10833 an error unchanged.
10834 (tramp-completion-handle-file-name-all-completions): Handle hops.
10835 Fix an error when called from ido.
10836 (tramp-completion-dissect-file-name): Use better local variable
10837 name. Add hop to the vector.
10838 (tramp-handle-insert-file-contents): Use progress-reporter for the
10840 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10842 (tramp-check-for-regexp): Simplify search.
10843 (tramp-enter-password): Remove it. Move implementation ...
10844 (tramp-action-password): ... here.
10845 (tramp-mode-string-to-int, tramp-local-host-p)
10846 (tramp-make-tramp-temp-file, tramp-read-passwd)
10847 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10848 Set tramp-autoload cookie.
10850 * net/trampver.el: Update release number.
10852 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10853 Michael Albinus <michael.albinus@gmx.de>
10855 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10856 (tramp-parse-group, tramp-parse-file)
10857 (tramp-parse-shostkeys-sknownhosts): New defuns.
10858 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10859 (tramp-parse-shosts-group, tramp-parse-sconfig)
10860 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10861 (tramp-parse-sknownhosts, tramp-parse-hosts)
10862 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10864 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10865 (tramp-parse-putty-group): Don't narrow.
10866 (tramp-parse-putty): Make a loop.
10867 (tramp-file-name-handler): Catch the `suppress' signal.
10869 2012-06-11 Chong Yidong <cyd@gnu.org>
10871 * image.el (imagemagick-register-types): Put the ImageMagick entry
10872 at the end of image-type-file-name-regexps.
10874 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10876 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10877 (pcase, pcase-let*, pcase-dolist): Use them.
10879 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10881 * emacs-lisp/pcase.el (pcase--let*): New function.
10882 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10883 (pcase--expand): Use macroexp-let².
10885 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10887 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10888 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10889 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10890 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10891 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10892 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10894 2012-06-10 Glenn Morris <rgm@gnu.org>
10896 * mail/rmail.el (rmail-yank-current-message): Leave point at
10897 correct position. (Bug#11660)
10899 2012-06-10 Chong Yidong <cyd@gnu.org>
10901 * allout-widgets.el: Fix code header.
10903 2012-06-10 Chong Yidong <cyd@gnu.org>
10905 * cus-edit.el (customize-changed-options-previous-release):
10908 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10910 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10912 2012-06-09 Chong Yidong <cyd@gnu.org>
10914 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10916 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10918 * window.el (special-display-popup-frame): Don't use
10919 window--display-buffer (Bug#11651).
10921 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10923 Fix parallel builds: make sure loaddefs.el is not being written
10924 while Lisp files are compiled.
10925 (compile): Don't depend on 'mh-autoloads'.
10926 (compile-CMD, compile-SH): Depend on 'autoloads'.
10927 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10929 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10931 2012-06-09 Chong Yidong <cyd@gnu.org>
10933 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10934 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10935 Doc fixes (Bug#11225).
10937 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10940 a function if there's a clear indication that it has a compiler-macro.
10941 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10942 (macro-declarations-alist): Add arglist to declaration functions.
10943 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10944 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10945 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10946 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10947 Also add autoload to find the compiler macro.
10948 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10949 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10950 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10951 (cl--compiler-macro-get): New functions, replacing calls to
10952 cl-define-compiler-macro.
10953 (cl-typep) [compiler-macro]: Use macroexp-let².
10955 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10957 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10958 string properly, fixes Bug#11473.
10960 2012-06-08 Chong Yidong <cyd@gnu.org>
10962 * faces.el (set-face-attribute): Doc fix.
10963 (modify-face): Don't use :bold and :italic.
10964 (error, warning, success): Tweak definitions.
10966 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10967 (custom-modified, custom-set, custom-changed, custom-themed)
10968 (custom-saved, custom-button, custom-button-mouse)
10969 (custom-button-pressed, custom-state, custom-comment-tag)
10970 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10971 (custom-group-subtitle): Use new-style face specs.
10972 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10973 (custom-set-face, custom-changed-face, custom-saved-face)
10974 (custom-button-face, custom-button-pressed-face)
10975 (custom-documentation-face, custom-state-face)
10976 (custom-comment-face, custom-comment-tag-face)
10977 (custom-variable-tag-face, custom-variable-button-face)
10978 (custom-face-tag-face, custom-group-tag-face-1)
10979 (custom-group-tag-face): Remove obsolete face alias.
10981 * epa.el (epa-validity-high, epa-validity-medium)
10982 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10983 (epa-field-name, epa-field-body):
10984 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10985 (font-lock-keyword-face, font-lock-builtin-face)
10986 (font-lock-function-name-face, font-lock-variable-name-face)
10987 (font-lock-type-face, font-lock-constant-face):
10988 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10989 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10990 * speedbar.el (speedbar-button-face, speedbar-file-face)
10991 (speedbar-directory-face, speedbar-tag-face)
10992 (speedbar-selected-face, speedbar-highlight-face)
10993 (speedbar-separator-face):
10994 * whitespace.el (whitespace-newline, whitespace-space)
10995 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10996 (whitespace-line, whitespace-space-before-tab)
10997 (whitespace-space-after-tab, whitespace-indentation)
10998 (whitespace-empty):
10999 * emulation/cua-base.el (cua-global-mark):
11000 * eshell/em-prompt.el (eshell-prompt):
11001 * net/newst-plainview.el (newsticker-new-item-face)
11002 (newsticker-old-item-face, newsticker-immortal-item-face)
11003 (newsticker-obsolete-item-face, newsticker-date-face)
11004 (newsticker-statistics-face, newsticker-default-face):
11005 * net/newst-reader.el (newsticker-feed-face)
11006 (newsticker-extra-face, newsticker-enclosure-face):
11007 * net/newst-treeview.el (newsticker-treeview-face)
11008 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11009 (newsticker-treeview-immortal-face)
11010 (newsticker-treeview-obsolete-face)
11011 (newsticker-treeview-selection-face):
11012 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11013 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11014 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11015 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11016 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11017 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11018 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11020 * progmodes/vera-mode.el (vera-font-lock-number)
11021 (vera-font-lock-function, vera-font-lock-interface):
11022 * textmodes/table.el (table-cell): Use new-style face specs, and
11023 don't use the old :bold and :italic attributes.
11025 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11026 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11027 (ebrowse-member-class, ebrowse-progress): Likewise.
11028 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11029 (ebrowse-file-name-face, ebrowse-default-face)
11030 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11031 (ebrowse-progress-face): Remove obsolete faces.
11033 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11034 Inherit from error and warning faces respectively.
11036 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11038 (flyspell-incorrect-face, flyspell-duplicate-face):
11039 Remove obsolete aliases.
11041 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11043 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11046 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11048 * startup.el (argv, argi): Make lexically scoped.
11049 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11050 * emacs-lisp/cl-macs.el: Use lexical-binding.
11051 Rename cl-bind-* to cl--bind-*.
11052 * files.el: Don't require `cl' since it doesn't use it.
11053 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11055 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11057 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11058 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11059 instead of calling external sort utility.
11060 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11062 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11064 * descr-text.el (describe-char): Mention how to insert the
11065 character, if the current input method doesn't support it.
11066 See the discussion in this thread for the details:
11067 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11069 2012-06-08 Sam Steingold <sds@gnu.org>
11071 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11072 XF86Back to previous-buffer.
11073 (minibuffer-local-map): Bind them to next-history-element and
11074 previous-history-element respectively.
11075 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11076 help-go-back respectively.
11077 * info.el (Info-mode-map): Bind them to Info-history-forward and
11078 Info-history-back respectively.
11079 These are the keys next to Up on the ThinkPad keyboard.
11081 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11083 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11084 * emacs-lisp/cl-macs.el: Provide itself.
11085 (cl--labels-convert-cache): New var.
11086 (cl--labels-convert): New function.
11087 (cl-flet, cl-labels): New implementation with new semantics, relying on
11089 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11090 (cl-closure-vars, cl--function-convert-cache)
11091 (cl--function-convert): Move from cl-macs.el.
11092 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11093 rename by removing the "cl-" prefix.
11094 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11096 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11098 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11099 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11100 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11101 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11102 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11103 (cl-hash-table-count): Add old compatibility aliases.
11105 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11106 Use macroexpand-all-environment instead.
11107 (cl--old-macroexpand): New var.
11108 (cl--sm-macroexpand): New function.
11109 (cl-symbol-macrolet): Use it during macro expansion.
11110 (cl--function-convert-cache): New var.
11111 (cl--function-convert): New function, extracted from
11112 cl-macroexpand-all.
11113 (cl-lexical-let): Use it.
11115 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11116 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11117 (cl-member): Remove old alias.
11119 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11120 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11121 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11122 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11123 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11124 (cl-macroexpand-cmacs): Remove var.
11125 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11126 Use macroexpand-all instead.
11128 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11130 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11131 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11132 (macroexp-copyable-p): New functions and macros.
11133 * emacs-lisp/edebug.el (edebug-unwrap):
11134 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11135 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11136 (pcase--let*): Remove.
11137 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11138 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11139 macroexp-const-p instead.
11140 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11142 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11143 instead of "cl-" for internal definitions. Use macroexp-const-p.
11144 (cl-old-bc-file-form): Remove var.
11145 (cl-const-exprs-p): Remove fun.
11146 (cl-labels, cl-macrolet): Use backquote.
11147 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11148 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11149 (cl-define-setf-expander): Rename from cl-define-setf-method.
11150 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11152 * international/mule-cmds.el: Don't require CL.
11153 (view-hello-file): Don't use `letf'.
11155 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11157 * tmm.el (tmm-prompt): Use string-prefix-p.
11158 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11159 (tmm-add-prompt): Use minibuffer-completion-help.
11160 (tmm-delete-map): Remove.
11162 * subr.el (kbd): Make it its own function.
11164 2012-06-07 Stefan Merten <smerten@oekonux.de>
11166 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11167 Silence compiler warnings. Fix versions.
11168 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11169 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11170 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11171 (rst-package-emacs-version-alist): Correct Emacs version to
11172 represent major merge with upstream.
11173 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11175 2012-06-06 Glenn Morris <rgm@gnu.org>
11177 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11178 Only print environment variables if set.
11180 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11182 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11183 (macroexp--cons): Rename from maybe-cons.
11184 (macroexp--accumulate): Rename from macroexp-accumulate.
11185 (macroexp--all-forms): Rename from macroexpand-all-forms.
11186 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11187 (macroexp--expand-all): Rename from macroexpand-all-1.
11189 2012-06-06 Sam Steingold <sds@gnu.org>
11191 * calendar/calendar.el (calendar-in-read-only-buffer):
11192 Call `special-mode' to enable the standard read-only keybindings.
11194 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11197 with "loading" messages (bug#11635).
11199 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11201 * files.el (enable-remote-dir-locals): New option.
11202 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11204 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11205 Ensure, that the temp directory is local.
11207 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11208 `temporary-file-directory'.
11210 * progmodes/python.el (python-send-region): Ensure, that the
11211 temporary file is created also in the remote case.
11213 2012-06-06 Glenn Morris <rgm@gnu.org>
11215 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11216 (vc-rcs-update-changelog): Use it.
11218 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11220 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11221 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11222 (vc-sccs-diff): Replace use of the external vcdiff script.
11224 2012-06-05 Glenn Morris <rgm@gnu.org>
11226 * ledit.el: Move to obsolete/.
11228 2012-06-05 Sam Steingold <sds@gnu.org>
11230 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11233 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * emacs-lisp/cust-print.el: Move to obsolete.
11237 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11238 compiler-macro expansion.
11240 Add native compiler-macro support.
11241 * emacs-lisp/macroexp.el (macroexpand-all-1):
11242 Support compiler-macros directly. Properly follow aliases and apply
11243 the compiler macros more thoroughly.
11244 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11245 macroexpand now properly follows aliases.
11246 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11247 (cl-compiler-macroexpand): Use new prop.
11248 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11250 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11252 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11254 * window.el (get-lru-window, get-mru-window, get-largest-window):
11255 New argument NOT-SELECTED to avoid picking the selected window.
11256 (window--display-buffer-1, window--display-buffer-2): Replace by
11257 new function window--display-buffer
11258 (display-buffer-same-window, display-buffer-reuse-window)
11259 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11260 Use window--display-buffer.
11261 (display-buffer-use-some-window): Remove temporary dedication
11262 hack by calling get-lru-window and get-largest-window with
11263 NOT-SELECTED argument non-nil. Call window--display-buffer.
11265 2012-06-05 Glenn Morris <rgm@gnu.org>
11267 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11268 Replace external vcdiff script.
11270 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11272 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11274 2012-06-04 Chong Yidong <cyd@gnu.org>
11276 * image.el (imagemagick-types-inhibit): Revert last change.
11278 (imagemagick-enabled-types): Remove CIN and EPS*.
11280 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11282 * emacs-lisp/cl-lib.el: Rename from cl.el.
11283 * emacs-lisp/cl.el: New compatibility file.
11284 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11285 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11286 to obey the "cl-" prefix.
11287 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11289 2012-06-03 Glenn Morris <rgm@gnu.org>
11291 * emacs-lisp/authors.el (authors-aliases): Addition.
11293 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11296 2012-06-03 Stefan Merten <smerten@oekonux.de>
11298 * textmodes/rst.el: Add comments.
11299 (rst-transition, rst-adornment): New faces.
11300 (rst-adornment-faces-alist): Make default safe to reevaluate.
11302 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11303 Improve customization tags.
11304 (rst-define-level-faces): Clarify meaning.
11306 2012-06-03 Chong Yidong <cyd@gnu.org>
11308 * progmodes/compile.el (compilation-mode-line-fail)
11309 (compilation-mode-line-run, compilation-mode-line-exit):
11311 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11313 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11315 * progmodes/which-func.el (which-func-update-ediff-windows):
11316 New function. Use it in ediff-select-hook (Bug#11478).
11318 2012-06-03 Chong Yidong <cyd@gnu.org>
11320 * bindings.el: Remove explicit help text from format-mode-line.
11321 It is now supplied by mode-line-default-help-echo.
11322 (mode-line-front-space, mode-line-end-spaces)
11323 (mode-line-misc-info): New variables.
11324 (mode-line-modes, mode-line-position): Move the default value to
11325 the variable definition.
11326 (mode-line-default-help-echo): New defcustom.
11327 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11328 (mode-line-modified-help-echo): New functions.
11329 (mode-line-mule-info, mode-line-modified): Use them.
11330 (mode-line-eol-desc, propertized-buffer-identification):
11331 Consistency fixes for help text.
11332 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11333 set-buffer-file-coding-system (Bug#289).
11334 (mode-line-mule-info-help-echo): Update help text.
11336 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * simple.el (execute-extended-command): Set real-this-command
11341 2012-06-02 Chong Yidong <cyd@gnu.org>
11343 Remove incorrect uses of "modeline" in comments, docstrings, and
11344 function/variable names (Bug#10329).
11346 * cus-edit.el (mode-line):
11347 * dframe.el (dframe-mouse-hscroll):
11348 * emacs-lisp/re-builder.el:
11349 * emacs-lisp/easy-mmode.el (define-minor-mode):
11350 * frame.el (set-frame-name):
11351 * help.el (lookup-minor-mode-from-indicator):
11352 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11353 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11354 (c-toggle-hungry-state):
11355 * progmodes/antlr-mode.el (antlr-language-alist):
11356 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11357 * progmodes/vhdl-mode.el (vhdl-mode):
11358 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11359 * term/ns-win.el (ns-face-at-pos):
11360 * term/sup-mouse.el (sup-mouse-report):
11361 * textmodes/flyspell.el (flyspell-mode-line-string):
11362 * textmodes/ispell.el (ispell-highlight-face):
11363 * textmodes/reftex-global.el:
11364 * vc/vc-arch.el (vc-arch-mode-line-string):
11365 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11366 * vc/vc-git.el (vc-git-mode-line-string):
11367 * vc/vc-hooks.el (vc-display-status)
11368 (vc-default-mode-line-string):
11369 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11371 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11373 * dired.el (dired-sort-set-mode-line): Rename from
11374 dired-sort-set-modeline. All callers changed.
11376 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11377 eshell-status-in-modeline.
11379 * foldout.el (foldout-mode-line-string): Rename from
11380 foldout-modeline-string. All callers changed.
11381 (foldout-update-mode-line): Rename from foldout-update-modeline.
11383 * subr.el (redraw-modeline): Make into obsolete alias.
11385 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11386 timeclock-modeline-display. Make old name an alias.
11387 (timeclock-update-mode-line): Likewise. All callers changed.
11388 (timeclock-mode-line-display): No need to check before using
11390 (timeclock-relative, timeclock-day-over-hook)
11391 (timeclock-use-elapsed, timeclock-mode-string)
11392 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11394 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11395 crisp-mode-modeline-string.
11397 * play/solitaire.el (solitaire-build-mode-line): Rename from
11398 solitaire-build-modeline. All callers changed.
11400 * play/zone.el (zone-hiding-mode-line): Rename from
11401 zone-hiding-modeline. All callers changed.
11402 (zone): Remove unusued `modeline-hidden-level' property.
11404 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11405 xscheme-modeline-initialize. All callers changed.
11407 * strokes.el (strokes-lighter): Rename from
11408 strokes-modeline-string.
11410 * textmodes/sgml-mode.el (html-face-tag-alist)
11411 (html-tag-face-alist): Use mode-line face instead of obsolete
11414 2012-06-02 Stefan Merten <smerten@oekonux.de>
11416 * textmodes/rst.el: Always require `cl'.
11417 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11419 2012-06-02 Chong Yidong <cyd@gnu.org>
11421 * image.el (imagemagick-enabled-types): Rename from
11422 imagemagick-types-enable. Add many more types.
11423 (imagemagick-types-inhibit): Change default to nil.
11424 (imagemagick-filter-types): Caller changed.
11426 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11428 * emacs-lisp/cl-macs.el: Use backquotes.
11429 (cl-transform-function-property): Use eval-and-compile rather than
11431 (defstruct): Use declare-function instead of with-no-warnings.
11433 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11434 (byte-compile-output-docform): Re-add the print-circle bindings.
11435 (byte-compile-fix-header): Use #$ just because it's shorter.
11436 (byte-compile-output-file-form): Remove defun/defmacro.
11438 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11440 * simple.el (choose-completion): Remove now obsolete binding for
11443 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11445 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11446 in order to avoid "Stack overflow in regexp matcher".
11448 2012-05-31 Glenn Morris <rgm@gnu.org>
11450 * image.el: For clarity, call imagemagick-register-types at
11451 top-level, rather than relying on a custom :initialize.
11452 (imagemagick-types-enable): New option. (Bug#11557)
11453 (imagemagick-filter-types): New function. (Bug#7406)
11454 (imagemagick-register-types): Use imagemagick-filter-types.
11455 If disabling support, remove elements altogether rather
11456 than using an impossible regexp.
11457 (imagemagick-types-inhibit): Give it the default init function.
11459 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11461 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11462 Handle arbitrary file name lengths (Bug#11585).
11464 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11466 * desktop.el (desktop-read): Clear previous and next buffers for
11467 all windows and bury *Messages* buffer (bug#11556).
11469 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11471 Add `declare' for `defun'. Align `defmacro's with it.
11472 * emacs-lisp/easy-mmode.el (define-minor-mode)
11473 (define-globalized-minor-mode): Don't autoload the var definitions.
11474 * emacs-lisp/byte-run.el: Use lexical-binding.
11475 (defun-declarations-alist, macro-declarations-alist): New vars.
11476 (defmacro, defun): Use them.
11477 (make-obsolete, define-obsolete-function-alias)
11478 (make-obsolete-variable, define-obsolete-variable-alias):
11480 (macro-declaration-function): Mark obsolete.
11481 * emacs-lisp/autoload.el: Use lexical-binding.
11482 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11484 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11486 * textmodes/ispell.el (ispell-with-no-warnings):
11488 (ispell-kill-ispell, ispell-change-dictionary):
11489 Use `called-interactively-p' for Emacs instead of obsolete
11492 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11494 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11495 (macro-declaration-function): Move var from C code.
11496 (macro-declaration-function): Define function with defalias.
11497 * emacs-lisp/macroexp.el (macroexpand-all-1):
11498 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11499 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11500 defun/defmacro any more.
11501 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11502 Provide fallback for unknown arglist.
11503 (byte-compile-arglist-warn): Change calling convention.
11504 (byte-compile-output-file-form): Move print-vars binding.
11505 (byte-compile-output-docform): Simplify accordingly.
11506 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11507 (byte-compile-defmacro-declaration): Remove.
11508 (byte-compile-file-form-defmumble): Generalize to defalias.
11509 (byte-compile-output-as-comment): Return byte-positions.
11510 Simplify callers accordingly.
11511 (byte-compile-lambda): Use `assert'.
11512 (byte-compile-defun, byte-compile-defmacro): Remove.
11513 (byte-compile-file-form-defalias):
11514 Use byte-compile-file-form-defmumble.
11515 (byte-compile-defalias-warn): Remove.
11517 2012-05-29 Stefan Merten <smerten@oekonux.de>
11519 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11520 possible. Fix authors. Improve comments. Improve loading of `cl'.
11522 (rst-mode-abbrev-table): Merge definition.
11523 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11524 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11526 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11528 * calendar/icalendar.el
11529 (icalendar-export-region): Export UID properly.
11531 2012-05-29 Leo Liu <sdl.web@gmail.com>
11532 * calendar/icalendar.el (icalendar-import-format):
11533 Add `icalendar-import-format-uid' (Bug#11525).
11534 (icalendar-import-format-uid): New.
11535 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11538 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11540 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11541 different alternative patterns.
11542 (pcase-codegen): Be more careful to preserve identity.
11543 (pcase--u1): Don't forget to mark vars as used.
11545 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11546 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11547 (byte-compile-from-buffer): ...rather than here.
11549 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11550 functions from byte-compile-function-environment.
11552 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11554 * window.el (window-deletable-p): Avoid deleting the root window
11555 of a frame with an active minibuffer.
11557 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11559 * simple.el (choose-completion): Use quit-window (Bug#11567).
11561 2012-05-29 Chong Yidong <cyd@gnu.org>
11563 * whitespace.el (whitespace-cleanup): Fix usage of
11564 whitespace-empty-at-bob-regexp (Bug#11492).
11566 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11568 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11569 revert (Bug#11488).
11571 2012-05-29 Juri Linkov <juri@jurta.org>
11573 * isearch.el (isearch-mode-map): Bind `M-s _' to
11574 `isearch-toggle-symbol'. Bind `M-s c' to
11575 `isearch-toggle-case-fold'.
11576 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11577 (isearch-forward): Add `M-s _' to the docstring.
11578 (isearch-forward-symbol, isearch-toggle-case-fold)
11579 (isearch-symbol-regexp): New functions. (Bug#11381)
11581 2012-05-29 Juri Linkov <juri@jurta.org>
11583 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11584 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11585 a function, call it to get the regexp.
11586 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11587 property `isearch-message-prefix' instead of the string "word ".
11588 (isearch-search-fun-default): For the case of `isearch-word',
11589 return a lambda that calls re-search-forward/re-search-backward
11590 with a regexp returned by `word-search-regexp' or by the function
11593 2012-05-29 Juri Linkov <juri@jurta.org>
11595 * isearch.el (isearch-search-fun-default): New function.
11596 (isearch-search-fun): Move default part to the new function
11597 `isearch-search-fun-default'.
11598 (isearch-search-fun-function): Set the default value to
11599 `isearch-search-fun-default'. (Bug#11381)
11601 * comint.el (comint-history-isearch-end):
11602 Use `isearch-search-fun-default'.
11603 (comint-history-isearch-search): Use `isearch-search-fun-default'
11604 and remove spacial case for `isearch-word'.
11605 (comint-history-isearch-wrap): Remove spacial case for
11608 * hexl.el (hexl-isearch-search-function):
11609 Use `isearch-search-fun-default'.
11611 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11612 Use `word-search-regexp' for `isearch-word'.
11614 * misearch.el (multi-isearch-search-fun):
11615 Use `isearch-search-fun-default'.
11617 * simple.el (minibuffer-history-isearch-search):
11618 Use `isearch-search-fun-default' and remove spacial case for
11620 (minibuffer-history-isearch-wrap): Remove spacial case for
11623 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11624 Remove spacial case for `isearch-word'.
11625 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11627 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11629 Decrease XEmacs incompatibilities.
11630 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11631 Use `string-match'.
11632 (flyspell-delete-region-overlays): Use alternative definition for
11634 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11635 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11636 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11637 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11638 `define-obsolete-face-alias' under XEmacs, but old method.
11640 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11641 `with-no-warnings' definition or Emacs alias.
11642 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11643 (ispell-word): Do not use `region-p' if XEmacs.
11645 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11647 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11648 Check for `ispell-dictionary-base-alist' instead of full
11649 `ispell-dictionary-alist'.
11650 (ispell-init-process): Show spellchecker when starting new Ispell
11653 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11655 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11656 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11658 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11660 * version.el (motif-version-string, gtk-version-string)
11661 (ns-version-string): Declare.
11663 2012-05-27 Juri Linkov <juri@jurta.org>
11665 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11666 after the `eval-defun-1' specialcaseing
11667 like in `edebug-eval-defun' (bug#10181).
11669 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11670 like in `eval-defun-1'.
11672 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11674 * mail/sendmail.el (mail-yank-region):
11675 Recognize rmail-yank-current-message in addition to insert-buffer.
11676 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11677 a *mail* buffer created through rmail-start-mail with sendmail as
11680 2012-05-27 Chong Yidong <cyd@gnu.org>
11682 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11683 Default to 256 (Bug#11267).
11685 * help.el (describe-mode): Doc fix.
11687 2012-05-26 Glenn Morris <rgm@gnu.org>
11689 * w32-fns.el (w32-init-info): Remove.
11690 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11692 * info.el (info-initialize): For self-contained NS builds, put the
11693 included info/ directory at the front. (Bug#2791)
11695 * paths.el (Info-default-directory-list): Make it a defcustom,
11696 mainly so that we can use custom-initialize-delay.
11698 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11700 * subr.el (buffer-has-markers-at): Mark obsolete.
11702 * subr.el (lambda): Use declare.
11704 * emacs-lisp/lisp-mode.el (lambda):
11705 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11707 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11709 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11711 2012-05-26 Glenn Morris <rgm@gnu.org>
11713 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11715 2012-05-25 Glenn Morris <rgm@gnu.org>
11717 * paths.el: Remove no-byte-compile.
11718 * loadup.el: No need to load paths.el uncompiled.
11720 * image.el (imagemagick-types-inhibit): Doc fix.
11722 * version.el: Remove no-byte-compile and associated formatting.
11723 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11724 is ancient code from when there was an "inc-vers.el".
11726 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * progmodes/gdb-mi.el: Minor style changes.
11729 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11730 Turn into minor modes.
11731 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11732 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11733 (gdb-shell): Remove unneeded let-binding.
11734 (gdb-get-many-fields): Eliminate O(n²) behavior.
11736 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11738 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11739 platforms that don't link in fontset.c.
11741 2012-05-25 Juri Linkov <juri@jurta.org>
11743 Use the same diff color scheme as in modern VCSes (bug#10181).
11745 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11746 to avoid confusion with `diff-added' that now uses green colors.
11747 (diff-removed): Use shades of red.
11748 (diff-added): Use shades of green.
11749 (diff-changed): Leave just the yellow color.
11750 (diff-use-changed-face): New variable.
11751 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11752 how to highlight context diff changes.
11753 (diff-refine-change): Use shades of yellow.
11754 (diff-refine-removed): New face that uses shades of red.
11755 (diff-refine-added): New face that uses shades of green.
11756 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11757 `diff-refine-removed' in the call to `smerge-refine-subst'
11758 depending on the value of `diff-use-changed-face'.
11760 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11761 (smerge-other): Use shades of green.
11762 (smerge-base): Use shades of yellow.
11763 (smerge-refined-change): Empty face.
11764 (smerge-refined-removed): New face that uses shades of red.
11765 (smerge-refined-added): New face that uses shades of green.
11766 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11767 args `props-r' and `props-a', and use them. Doc fix.
11768 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11769 on its value use different faces `smerge-refined-change',
11770 `smerge-refined-removed', `smerge-refined-added' in the call to
11771 `smerge-refine-subst'.
11773 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11774 Add face condition `min-colors 88' with shades of red.
11775 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11776 `min-colors 88' with shades of green.
11777 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11778 `min-colors 88' with shades of yellow.
11780 2012-05-24 Glenn Morris <rgm@gnu.org>
11782 * paths.el (prune-directory-list, remote-shell-program): Move to...
11783 * files.el (prune-directory-list, remote-shell-program): ...here.
11784 For the latter, delay initialization, prefer ssh, just search PATH.
11786 * paths.el (term-file-prefix): Move to faces.el (the only user).
11787 * faces.el (term-file-prefix): Move here, make it a defcustom.
11789 * paths.el (news-directory, news-path, news-inews-program):
11790 Move to gnus/nnspool.el.
11792 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11794 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11795 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11796 Make the latter a defcustom, with a delayed initialization.
11798 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11799 These were deleted from Gnus itself late 2010.
11801 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11803 * progmodes/which-func.el (which-func-ff-hook):
11804 Check against user-error, not error.
11806 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11807 cl-specs.el, which no longer exists.
11809 2012-05-22 Glenn Morris <rgm@gnu.org>
11811 * info.el (info-emacs-bug): New command.
11812 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11813 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11815 2012-05-21 Glenn Morris <rgm@gnu.org>
11817 * makefile.w32-in (update-subdirs-SH):
11818 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11820 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11825 Simplify Maven regexp, and make sure the file can't start with a space
11828 2012-05-21 Glenn Morris <rgm@gnu.org>
11830 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11831 Scrap superfluous subshells.
11833 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11835 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11836 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11838 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11840 * calc/calc.el (calc-ensure-consistent-units): New variable.
11842 * calc/calc-units.el (math-consistent-units-p)
11843 (math-check-unit-consistency): New functions.
11844 (calc-quick-units, calc-convert-units):
11845 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11847 (calc-extract-units): Fix typo.
11849 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11851 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11853 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11854 (flyspell-default-deplacement-commands): Don't spell check after
11855 repeated window/frame switches (e.g. triggered by mouse-movement).
11856 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11857 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11858 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11859 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11860 Remove unused vars.
11861 (flyspell-get-casechars, flyspell-get-not-casechars):
11862 Simplify; Don't bother removing a ] just to add it back.
11863 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11865 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11867 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11869 (math-function-table): Add support for more C functions.
11871 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11873 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11874 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11875 Protect delay handling for otherchars against empty otherchars.
11877 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11879 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11880 their respective macro declarations.
11881 * skeleton.el (define-skeleton):
11882 * progmodes/compile.el (define-compilation-mode):
11883 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11884 (define-ibuffer-filter):
11885 * emacs-lisp/generic.el (define-generic-mode):
11886 * emacs-lisp/easy-mmode.el (define-minor-mode)
11887 (define-globalized-minor-mode):
11888 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11889 * emacs-lisp/byte-run.el (defsubst):
11890 * custom.el (deftheme): Add doc-string metadata.
11892 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11894 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11896 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11900 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11901 * emacs-lisp/cl-macs.el: Idem.
11902 * emacs-lisp/cl-specs.el: Remove.
11904 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11906 Minor renaming of internal CL functions and variables.
11907 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11908 (cl--position): Rename from cl-position.
11909 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11910 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11911 (cl--random-state): Rename from *random-state*.
11913 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11915 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11916 parens around the arg list (bug#11499).
11918 2012-05-17 Juri Linkov <juri@jurta.org>
11920 * isearch.el (word-search-regexp, word-search-backward)
11921 (word-search-forward, word-search-backward-lax)
11922 (word-search-forward-lax): Move functions from search.c
11923 (bug#10145, bug#11381).
11925 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11927 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11928 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11929 Delay for otherchars as for normal word components.
11931 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * minibuffer.el (completion--sifn-requote): Fix last change.
11934 (minibuffer-local-must-match-filename-map):
11935 Move define-obsolete-variable-alias before its var.
11937 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11939 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11941 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11943 (completion--string-equal-p): New function.
11944 (completion--twq-all): Use it to get better assertion failure data.
11946 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11947 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11948 (shell--requote-argument): New functions.
11949 (shell-completion-vars): Use them.
11950 (shell--parse-pcomplete-arguments): Rename from
11951 shell-parse-pcomplete-arguments.
11952 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11953 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11954 Obey comint-file-name-quote-list.
11956 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11957 (smie-indent-keyword): Use it.
11959 2012-05-14 Stefan Merten <smerten@oekonux.de>
11961 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11963 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * net/rlogin.el (rlogin-mode-map): Fix last change.
11967 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11969 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11970 the following \r\n using a single `process-send-string', since the
11971 Lotus SMTP server refuses to accept any commands if they are sent
11972 with two `process-send-string's (Bug#11444).
11974 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11976 * shell.el (shell-parse-pcomplete-arguments):
11977 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11979 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11981 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11982 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11983 (image-transform-width, image-transform-fit-width): New functions.
11984 (image-transform-properties): Use them.
11985 (image-transform-check-size): New function.
11986 (image-toggle-display-image): Use it (for testing).
11987 (image-transform-set-rotation): Reduce angle mod 360.
11988 Delete obsolete comment.
11990 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11992 * image-mode.el: Fix scaling (bug#11399).
11993 (image-transform-resize): Doc fix.
11994 (image-transform-properties): Default scale is 1 and height should
11997 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11999 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12000 than hard-coding `car', to fix misbehavior when moving forward.
12002 2012-05-13 Chong Yidong <cyd@gnu.org>
12004 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12005 (tabulated-list-entries, tabulated-list-padding)
12006 (tabulated-list-sort-key): Make permanent-local.
12008 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12009 (electric-buffer-list): Put electric buffer menu
12010 command descriptions in this docstring, instead of the docstring
12011 of electric-buffer-menu-mode. Code cleanups.
12012 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12013 Electric-buffer-menu-mode.
12014 (electric-buffer-update-highlight): Minor code cleanup.
12016 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12018 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12021 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12023 Move define-obsolete-variable-alias before the var's definition.
12024 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12025 * tooltip.el (tooltip-hook):
12026 * textmodes/reftex-toc.el (reftex-toc-map):
12027 * textmodes/reftex-sel.el (reftex-select-label-map)
12028 (reftex-select-bib-map):
12029 * textmodes/reftex-index.el (reftex-index-map)
12030 (reftex-index-phrases-map):
12031 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12032 * progmodes/meta-mode.el (meta-mode-map):
12033 * novice.el (disabled-command-hook):
12034 * loadhist.el (unload-hook-features-list):
12035 * frame.el (blink-cursor):
12036 * files.el (find-file-not-found-hooks, write-file-hooks)
12037 (write-contents-hooks):
12038 * emulation/tpu-edt.el (GOLD-map):
12039 * emacs-lock.el (emacs-lock-from-exiting):
12040 * emacs-lisp/generic.el (generic-font-lock-defaults):
12041 * emacs-lisp/chart.el (chart-map):
12042 * dos-fns.el (register-name-alist):
12043 * dired-x.el (dired-omit-files-p):
12044 * desktop.el (desktop-enable):
12045 * cus-edit.el (custom-mode-hook):
12046 * buff-menu.el (buffer-menu-mode-hook):
12047 * bookmark.el (bookmark-read-annotation-text-func)
12048 (bookmark-exit-hooks):
12049 * allout.el (allout-mode-deactivate-hook)
12050 (allout-exposure-change-hook, allout-structure-added-hook)
12051 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12052 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12053 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12054 comes before the corresponding variable's definition.
12056 2012-05-12 Chong Yidong <cyd@gnu.org>
12058 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12059 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12060 (Buffer-menu-mode-map): Bind it.
12061 (Buffer-menu--pretty-name): Add a mouse-face property.
12063 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12065 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12066 (prolog-upper-case-string, prolog-lower-case-string)
12067 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12068 (prolog-use-smie, prolog-smie-grammar): New vars.
12069 (prolog-smie-forward-token, prolog-smie-backward-token)
12070 (prolog-smie-rules): New funs.
12071 (prolog-comment-indent): Remove.
12072 (prolog-mode-variables): Use default comment indentation instead.
12074 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12075 (prolog-mode): Don't call them any more.
12076 (prolog-electric-colon, prolog-electric-dash)
12077 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12079 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12081 * minibuffer.el (completion--twq-all): Again, allow case differences.
12083 * term.el: Move keymap initialization code to be more idiomatic.
12084 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12085 (term-terminal-menu): Move initialization into declaration.
12086 (term-escape-char): Let the user set it in her .emacs.
12088 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12089 Provide SMIE-based indentation (not enabled by default yet).
12090 (sh-mode-map): Don't bind electric keys.
12091 Use electric-pair-mode instead of skeleton-pair.
12092 (sh-assignment-regexp): Fit within 80 columns.
12093 (sh-indent-supported): Specify actual shell name instead of boolean.
12094 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12095 (sh-maybe-here-document): Use it. Make obsolete.
12096 (sh-electric-here-document-mode) New minor mode.
12097 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12098 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12099 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12100 (sh-smie-rc-grammar, sh-use-smie): New vars.
12101 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12102 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12103 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12104 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12105 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12106 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12107 (sh-set-shell): Use smie-setup if requested.
12109 * term.el (term-set-escape-char): Properly set term-escape-char.
12110 See http://stackoverflow.com/questions/10524656.
12112 2012-05-10 Chong Yidong <cyd@gnu.org>
12114 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12115 Use url-generic-parse-url, and handle host names and Windows
12116 filenames properly.
12117 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12118 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12119 URL schemes to work on.
12120 (ffap--toggle-read-only): New function.
12121 (ffap-read-only, ffap-read-only-other-window)
12122 (ffap-read-only-other-frame): Use it.
12123 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12124 necessary for ffap-url-unwrap-remote.
12126 2012-05-10 Dave Abrahams <dave@boostpro.com>
12128 * cus-start.el (create-lockfiles): Add it.
12130 2012-05-09 Chong Yidong <cyd@gnu.org>
12132 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12133 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12135 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12137 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12139 2012-05-09 Chong Yidong <cyd@gnu.org>
12141 * ansi-color.el (ansi-color-process-output): Check for validity of
12142 comint-last-output-start before using it. This avoids a bad
12143 interaction with gdb-mi's input/output buffer.
12145 2012-05-09 Glenn Morris <rgm@gnu.org>
12147 * files.el (dir-locals-read-from-file):
12148 Mention dir-locals in any error message.
12150 2012-05-09 Chong Yidong <cyd@gnu.org>
12152 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12153 package (Bug#11410).
12155 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12156 variables into description.
12158 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12161 shell-delimiter-argument-list (bug#11348).
12162 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12164 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12166 * textmodes/rst.el: Silence byte-compiler warnings.
12167 (rst-re-alist, rst-reset-section-caches): Move around.
12168 (rst-re): Use `characterp', not `char-valid-p'.
12169 (font-lock-beg, font-lock-end): Declare.
12171 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12172 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12174 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12176 2012-05-08 Glenn Morris <rgm@gnu.org>
12178 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12180 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * vc/log-edit.el: Add GNU coding standards highlighting.
12183 (log-edit-font-lock-gnu-style)
12184 (log-edit-font-lock-gnu-keywords): New vars.
12185 (log-edit-font-lock-keywords): New fun.
12186 (log-edit-mode): Don't fold case in font-lock.
12187 (log-edit-font-lock-keywords): Do not assume case-folding.
12189 * imenu.el: Misc cleanup. Make docstrings out of comments.
12190 Use lexical-binding.
12191 (imenu--index-alist, imenu--last-menubar-index-alist)
12192 (imenu-menubar-modified-tick): Use defvar-local.
12193 (imenu--split-menu): Remove unused var.
12194 (imenu--cleanup-seen): Declare as global.
12195 (imenu--cleanup): Use dolist.
12197 * subr.el (defvar-local): Add debug spec and doc-string position.
12199 2012-05-08 Glenn Morris <rgm@gnu.org>
12201 * language/burmese.el, language/cham.el, language/czech.el:
12202 * language/english.el, language/georgian.el, language/greek.el:
12203 * language/japanese.el, language/khmer.el, language/korean.el:
12204 * language/lao.el, language/misc-lang.el, language/romanian.el:
12205 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12206 * language/thai.el, language/utf-8-lang.el:
12207 Remove no-byte-compile setting.
12209 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12211 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12213 * progmodes/make-mode.el (makefile-browse):
12214 Remove unnecessary interactive. (Bug#11324)
12216 2012-05-07 Glenn Morris <rgm@gnu.org>
12218 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12220 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12222 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12224 * loadup.el: Preload newcomment.el.
12225 * newcomment.el: Move autoload-only code to toplevel.
12227 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12228 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12229 Handle new :right-align column property.
12230 (tabulated-list-print-col): Idem, plus use `display' text-property to
12231 try and preserve alignment for variable pitch fonts.
12233 2012-05-07 Chong Yidong <cyd@gnu.org>
12235 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12236 (tabulated-list-use-header-line): New var.
12237 (tabulated-list-init-header): Use it.
12238 (tabulated-list-print-fake-header): New function.
12239 (tabulated-list-print): Use it.
12240 (tabulated-list-sort-button-map): Add non-header-line commands.
12241 (tabulated-list-init-header): Add column name property to basic
12243 (tabulated-list-col-sort): Handle non-header-line button case.
12244 (tabulated-list--sort-by-column-name): Fix a corner case.
12246 * buff-menu.el (list-buffers--refresh):
12247 Handle Buffer-menu-use-header-line.
12249 2012-05-06 Chong Yidong <cyd@gnu.org>
12251 * buff-menu.el: Convert to Tabulated List mode.
12252 (Buffer-menu-buffer+size-width): Make obsolete.
12253 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12254 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12255 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12256 documentation into docstring of buffer-menu.
12257 (Buffer-menu-toggle-files-only): Add an informative message.
12258 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12259 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12260 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12261 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12262 (Buffer-menu-execute, Buffer-menu-select)
12263 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12264 (Buffer-menu-bury): Use Tabulated List machinery.
12265 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12266 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12268 (list-buffers--refresh): New function.
12269 (list-buffers-noselect): Use it.
12270 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12271 (Buffer-menu--pretty-file-name): New helper functions.
12273 * loadup.el: Preload tabulated-list.
12275 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12276 tabulated-list-sort-column.
12277 (tabulated-list-init-header): Add the initial aligning space even
12278 if tabulated-list-padding is zero.
12280 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12282 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12283 whose cdr is not a cons cell correctly (bug#11038).
12285 2012-05-06 Chong Yidong <cyd@gnu.org>
12287 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12288 Accept additional plist in column descriptors.
12289 (tabulated-list-init-header): Obey it.
12290 (tabulated-list-get-entry): New function.
12291 (tabulated-list-put-tag): Use it. Use string-width instead of
12293 (tabulated-list--column-number): New function.
12294 (tabulated-list-print): Use it.
12295 (tabulated-list-print-col): New function.
12296 Set `tabulated-list-column-name' property on each column's text.
12297 (tabulated-list-print-entry): Use it.
12298 (tabulated-list-delete-entry, tabulated-list-set-col):
12300 (tabulated-list-sort-column): New command (Bug#11337).
12302 * buff-menu.el (list-buffers): Move C-x C-b binding from
12303 buff-menu.el to bindings.el.
12305 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12306 :advertised-binding feature.
12308 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12310 * progmodes/compile.el (compilation-internal-error-properties):
12311 Calculate start position correctly when end-col is set but
12312 end-line is not (Bug#11382).
12314 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12316 * man.el (Man-unindent): Use text-property-default-nonsticky to
12317 prevent untabify from inheriting face properties (Bug#11408).
12319 2012-05-05 Stefan Merten <smerten@oekonux.de>
12321 * textmodes/rst.el: Major merge with upstream development up to
12322 Docutils SVN r7399 / rst.el V1.2.1.
12324 Clarify maintainership and authors.
12326 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12327 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12328 (rst-official-version, rst-official-cvs-rev, rst-version)
12329 (rst-package-emacs-version-alist): New functions and variables
12330 for version information.
12332 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12333 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12334 (rst-mode-syntax-table, rst-mode): New and corrected functions
12335 and variables representing reStructuredText features.
12337 (rst-re): New function for reStructuredText regexes. Use in
12340 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12341 (rst-mode-map): Rebind keys.
12343 (rst-mode-lazy, rst-font-lock-keywords)
12344 (rst-font-lock-extend-region)
12345 (rst-font-lock-extend-region-internal)
12346 (rst-font-lock-extend-region-extend)
12347 (rst-font-lock-find-unindented-line-limit)
12348 (rst-font-lock-find-unindented-line-match)
12349 (rst-adornment-level, rst-font-lock-adornment-level)
12350 (rst-font-lock-adornment-match)
12351 (rst-font-lock-handle-adornment-pre-match-form)
12352 (rst-font-lock-handle-adornment-matcher): Major revision of
12353 font-locking. Integrate with other code. Use `jit-lock-mode'.
12355 (rst-preferred-adornments, rst-adjust-hook)
12356 (rst-new-adornment-down, rst-preferred-bullets)
12357 (rst-preferred-bullets, rst-indent, rst-indent-width)
12358 (rst-indent-field, rst-indent-literal-normal)
12359 (rst-indent-literal-minimized, rst-indent-comment): Change,
12360 extend and improve customization.
12362 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12363 (rst-normalize-cursor-position, rst-get-decoration)
12364 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12365 (rst-rstrip, rst-toc-insert-find-delete-contents)
12366 (rst-shift-fill-region, rst-compute-bullet-tabs)
12367 (rst-debug-print-tabs, rst-debug-mark-found)
12368 (rst-shift-region-guts, rst-shift-region-right)
12369 (rst-shift-region-left, rst-use-char-classes)
12370 (rst-font-lock-keywords-function)
12371 (rst-font-lock-indentation-point)
12372 (rst-font-lock-find-unindented-line-begin)
12373 (rst-font-lock-find-unindented-line-end)
12374 (rst-font-lock-find-unindented-line)
12375 (rst-font-lock-adornment-point, rst-font-lock-level)
12376 (rst-adornment-level-alist): Remove functions and variables.
12378 (rst-compare-adornments, rst-get-adornment-match)
12379 (rst-suggest-new-adornment, rst-get-adornments-around)
12380 (rst-adornment-complete-p, rst-get-next-adornment)
12381 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12382 (rst-straighten-adornments): Standardize function names to
12383 use "adornment" instead of "decoration". Correct callers.
12384 Similar standardizing in many places.
12386 (rst-update-section, rst-adjust, rst-promote-region)
12387 (rst-enumerate-region, rst-bullet-list-region)
12388 (rst-repeat-last-character): Correct use of `interactive'.
12390 (rst-classify-adornment, rst-find-all-adornments)
12391 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12392 (rst-find-leftmost-column, rst-repeat-last-character):
12393 Refactor functions.
12395 (rst-find-title-line, rst-reset-section-caches)
12396 (rst-get-adornments-around, rst-adjust-adornment-work)
12397 (rst-arabic-to-roman, rst-roman-to-arabic)
12398 (rst-insert-list-pos, rst-insert-list-new-item)
12399 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12402 (rst-all-sections, rst-section-hierarchy)
12403 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12406 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12407 configuration instead of only buffer. Change where necessary.
12409 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12410 (rst-shift-region, rst-adaptive-fill): New functions for
12411 indentation and filling.
12413 (rst-comment-line-break, rst-comment-indent)
12414 (rst-comment-insert-comment, rst-comment-region)
12415 (rst-uncomment-region): New functions for handling comments.
12417 (rst-compile): Quote shell arguments.
12419 (rst-compile-pdf-preview, rst-compile-slides-preview):
12420 Delete temporary files after use.
12422 2012-05-05 Glenn Morris <rgm@gnu.org>
12424 * calendar/cal-html.el: Optionally include holidays in the output.
12425 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12426 (cal-html-holidays): New option.
12427 (cal-html-css-default): Add holiday entry.
12428 (holiday-in-range): Autoload it.
12429 (cal-html-htmlify-entry): Add optional class argument.
12430 (cal-html-htmlify-list): Add optional holidays argument.
12431 (cal-html-insert-agenda-days): Include holidays in the output.
12432 (cal-html-one-month): Maybe include holidays.
12434 * calendar/holidays.el (holiday-in-range):
12435 Move here from cal-tex-list-holidays.
12436 * calendar/cal-tex.el (cal-tex-list-holidays):
12437 Make it an obsolete alias for holiday-in-range. Update all callers.
12439 2012-05-05 Chong Yidong <cyd@gnu.org>
12441 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12444 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12446 * files.el (file-auto-mode-skip): New var.
12447 (set-auto-mode-1): Use it.
12449 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12451 * repeat.el: Use lexical-binding.
12452 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12453 (repeat-undo-count): Remove.
12455 * progmodes/octave-mod.el (octave-abbrev-start):
12456 * progmodes/f90.el (f90-abbrev-start):
12457 * face-remap.el (text-scale-adjust):
12458 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12460 * emacs-lisp/pcase.el (pcase--let*): New function.
12461 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12463 (pcase--split-pred): Be more clever about ruling out overlap between
12464 a predicate and some constant pattern.
12465 (pcase--q1): Use `null' instead of (eq foo nil).
12467 * subr.el (setq-local, defvar-local): New macros.
12468 (kbd): Redefine as an alias.
12469 (with-selected-window): Leave unrelated frames alone.
12470 (set-temporary-overlay-map): New function.
12472 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * subr.el (user-error): New function.
12475 * window.el (switch-to-buffer):
12476 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12477 (smerge-match-conflict):
12478 * simple.el (previous-matching-history-element)
12479 (next-matching-history-element, goto-history-element, undo-more)
12481 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12482 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12483 (next-file, tags-loop-scan, list-tags, complete-tag):
12484 * progmodes/compile.el (compilation-loop):
12485 * mouse.el (mouse-minibuffer-check):
12486 * man.el (Man-bgproc-sentinel, Man-goto-page):
12487 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12488 (Info-history-forward, Info-follow-reference, Info-menu)
12489 (Info-extract-menu-item, Info-extract-menu-counting)
12490 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12491 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12492 (Info-next-reference, Info-prev-reference, Info-index)
12493 (Info-index-next, Info-follow-nearest-node)
12494 (Info-copy-current-node-name):
12495 * imenu.el (imenu--make-index-alist)
12496 (imenu-default-create-index-function, imenu-add-to-menubar):
12497 * files.el (basic-save-buffer, recover-file):
12498 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12499 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12500 (checkdoc-message-text, checkdoc-defun):
12501 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12502 * cus-edit.el (customize-changed-options, customize-rogue)
12503 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12504 (custom-variable-mark-to-reset-standard)
12505 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12507 * completion.el (check-completion-length):
12508 * comint.el (comint-search-arg)
12509 (comint-previous-matching-input-string-position)
12510 (comint-previous-matching-input)
12511 (comint-replace-by-expanded-history-before-point, comint-send-input)
12512 (comint-copy-old-input, comint-backward-matching-input)
12513 (comint-goto-process-mark, comint-set-process-mark):
12514 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12515 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12517 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12519 * dabbrev.el (dabbrev--ignore-case-p): New function.
12520 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12523 * files.el (automount-dir-prefix): Mark as obsolete.
12525 2012-05-04 Glenn Morris <rgm@gnu.org>
12527 * patcomp.el, play/bruce.el: Move to obsolete/.
12529 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12531 Fix minor Y10k bugs.
12532 * arc-mode.el (archive-unixdate):
12533 * autoinsert.el (auto-insert-alist):
12534 * calc/calc-forms.el (math-this-year):
12535 * emacs-lisp/copyright.el (copyright-current-year)
12536 (copyright-update-year, copyright):
12537 * tar-mode.el (tar-clip-time-string):
12538 * time.el (display-time-update):
12539 Don't assume years have 4 digits.
12541 2012-05-04 Chong Yidong <cyd@gnu.org>
12543 * dos-w32.el (file-name-buffer-file-type-alist)
12544 (direct-print-region-use-command-dot-com):
12545 * ffap.el (ffap-menu-regexp):
12546 * find-file.el (ff-special-constructs):
12547 * follow.el (follow-debug):
12548 * forms.el (forms--debug):
12549 * iswitchb.el (iswitchb-all-frames):
12550 * ido.el (ido-all-frames):
12551 * emacs-lisp/timer.el (timer-max-repeats):
12552 * mail/feedmail.el (feedmail-mail-send-hook)
12553 (feedmail-mail-send-hook-queued):
12554 * mail/footnote.el (footnote-signature-separator):
12555 * mail/mailabbrev.el (mail-alias-separator-string)
12556 (mail-abbrev-mode-regexp):
12557 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12558 * progmodes/idlwave.el (idlwave-libinfo-file)
12559 (idlwave-default-completion-case-is-down)
12560 (idlwave-library-routines): Convert defvars to defcustoms.
12562 * mail/rmail.el (rmail-decode-mime-charset):
12563 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12564 (idlwave-shell-fix-inserted-breaks)
12565 (idlwave-shell-activate-alt-keybindings)
12566 (idlwave-shell-use-breakpoint-glyph):
12567 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12569 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12571 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12573 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12575 * progmodes/verilog-mode.el (font-lock-keywords):
12576 Fix mis-highligting auto. Reported by Craig Barner.
12577 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12578 defines from global name space. Reported by Dan Dever.
12579 (verilog-auto-reset, verilog-auto-reset-widths)
12580 (verilog-auto-tieoff): Support using unbased numbers for
12581 AUTORESET and AUTOTIEOFF.
12582 (verilog-submit-bug-report): Update variable list.
12583 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12584 parenthesis from not matching. Reported by Michael Rytting.
12585 (verilog-auto-template-lint): Fix hash error when linting modules
12586 with no used templates.
12587 (verilog-warn, verilog-warn-error)
12588 (verilog-warn-fatal): When non-interactive report multiple
12589 warnings before exiting. Suggested by Brad Dobbie.
12590 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12591 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12592 to report unused template errors. Reported by Brad Dobbie.
12593 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12594 nets, bug438. Reported by Vns Blore.
12595 (verilog-auto-inout-module, verilog-auto-reg)
12596 (verilog-read-decls, verilog-read-sub-decls-sig)
12597 (verilog-signals-edit-wire-reg, verilog-signals-with):
12598 Fix passing of Verilog data types in ANSI input/output ports
12599 such as "output logic" into the AUTOs. Special case "wire" and
12600 "reg" for backwards compatibility presuming Verilog 2001.
12601 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12602 (verilog-preprocess): Fix replication of preprocess output.
12603 Reported by Brad Dobbie.
12604 (verilog-auto-inst-interfaced-ports):
12605 Create verilog-auto-inst-interfaced-ports, bug429.
12606 Reported by Julian Gorfajn.
12607 (verilog-after-save-font-hook)
12608 (verilog-before-save-font-hook): New variable.
12609 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12610 (verilog-save-font-mods): Wrap disabling fontification, reported
12612 (verilog-do-indent, verilog-pretty-declarations-auto)
12613 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12614 Reported by Pierre-David Pfister.
12615 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12616 of class declarations, bug292. Reported by Kevin Heilman.
12617 (verilog-read-decls): Fix 'parameter type' not appearing in
12618 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12619 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12620 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12621 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12622 Reported by David Kravitz.
12624 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12626 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12627 assignment with tests in ifs and for loops.
12628 (verilog-extended-complete-re, verilog-complete-reg): Change so
12629 that DPI inport functions don't look like fuction declarations.
12630 (verilog-pretty-expr): Don't line up assignment
12631 operations to the test and increment in if and for loops
12632 (verilog-extended-complete-re, verilog-complete-reg): Change so
12633 that DPI inport functions don't look like fuction declarations.
12635 2012-05-03 Kenichi Handa <handa@m17n.org>
12637 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12638 decoding, and show a warning message without signaling an error
12641 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12643 * emacs-lisp/bytecomp.el
12644 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12645 since cconv.el might have introduced :fun-body, internal-make-closure,
12646 and friends for bytecomp to handle (bug#11391).
12647 * custom.el (defcustom): Avoid ((λ ..) ..).
12649 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12653 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12655 * notifications.el (dbus-debug):
12656 * term/linux.el (gpm-mouse-enable):
12657 * term/screen.el (xterm-register-default-colors): Declare.
12659 2012-05-02 Chong Yidong <cyd@gnu.org>
12661 * cus-start.el (gc-cons-percentage, exec-suffixes)
12662 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12663 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12664 (make-cursor-line-fully-visible, void-text-area-pointer)
12665 (font-list-limit): Add customization data.
12667 * allout.el (allout-exposure-change-functions)
12668 (allout-structure-added-functions)
12669 (allout-structure-deleted-functions)
12670 (allout-structure-shifted-functions): Rename abnormal hooks from
12671 *-hook, and convert to defcustoms.
12672 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12673 Convert to defcustoms.
12674 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12676 * allout-widgets.el: Hook callers changed.
12678 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12680 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12681 the yanked message in preference to the default value of
12682 buffer-file-coding-system.
12684 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12686 * window.el (display-buffer--action-function-custom-type):
12689 2012-05-02 Alan Mackenzie <acm@muc.de>
12691 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12693 2012-05-01 Glenn Morris <rgm@gnu.org>
12695 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12697 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12699 * cus-edit.el (custom-variable-documentation): Simplify with format.
12701 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12702 Stefan Monnier <monnier@iro.umontreal.ca>
12704 * simple.el (suggest-key-bindings, execute-extended-command):
12705 Move from keyboard.c.
12707 2012-05-01 Chong Yidong <cyd@gnu.org>
12709 * follow.el: Eliminate advice.
12710 (set-process-filter, process-filter, sit-for): Advice deleted.
12711 (follow-mode-off-hook): Obsolete hook removed.
12712 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12714 (follow-auto): Use a :set function.
12715 (follow-mode): Rewritten. Don't advise process filters.
12716 (follow-switch-to-current-buffer-all, follow-scroll-up)
12717 (follow-scroll-down): Assume follow-mode is bound.
12718 (follow-comint-scroll-to-bottom)
12719 (follow-align-compilation-windows): New functions.
12720 (follow--window-sorter): New function.
12721 (follow-all-followers): Use it to explicitly sort windows by their
12722 positions; don't make assumptions about next-window order.
12723 (follow-windows-start-end, follow-delete-other-windows-and-split)
12724 (follow-calc-win-start): Doc fix.
12725 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12726 vertical-motion unnecessarily.
12727 (follow-adjust-window): New function.
12728 (follow-post-command-hook): Use it.
12729 (follow-call-set-process-filter, follow-call-process-filter)
12730 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12731 (follow-stop-intercept-process-output, follow-generic-filter):
12733 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12734 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12735 New functions, replacing advice on scroll-bar-* commands.
12736 (follow-mwheel-scroll): New function (Bug#4112).
12738 * comint.el (comint-adjust-point): New function.
12739 (comint-postoutput-scroll-to-bottom): Use it.
12740 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12742 2012-05-01 Glenn Morris <rgm@gnu.org>
12744 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12745 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12746 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12747 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12748 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12749 Remove no-byte-compile setting.
12751 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12753 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12754 all-completions code to not return a number in the last cdr.
12756 2012-04-30 Leo Liu <sdl.web@gmail.com>
12758 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12761 2012-04-29 Chong Yidong <cyd@gnu.org>
12763 * follow.el (follow-calc-win-end): Rewrite to handle partial
12764 screen lines correctly (Bug#8390).
12765 (follow-avoid-tail-recenter): Minor cleanup.
12767 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12769 Avoid the obsolete `assoc' package.
12770 * speedbar.el (speedbar-refresh): Avoid adelete.
12771 (speedbar-file-lists): Simplify and avoid aput.
12772 * man.el (Man--sections, Man--refpages): New vars, replacing
12773 Man-sections-alist and Man-refpages-alist.
12774 (Man-build-section-alist, Man-build-references-alist):
12775 Use them; avoid aput.
12776 (Man--last-section, Man--last-refpage): New vars.
12777 (Man-follow-manual-reference): Use them.
12778 Use the `default' arg of completing-read.
12779 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12781 2012-04-27 Chong Yidong <cyd@gnu.org>
12783 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12785 * startup.el (x-apply-session-resources): New function.
12787 * term/ns-win.el (ns-initialize-window-system):
12788 * term/w32-win.el (w32-initialize-window-system):
12789 * term/x-win.el (x-initialize-window-system): Use it to properly
12790 set menu-bar-mode and other vars from X resources, even if the
12791 initial frame is not a window-system frame (Bug#2299).
12793 * subr.el (read-key): Avoid running filter function when setting
12794 up temporary tool bar entries (Bug#9922).
12796 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12798 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12801 2012-04-27 Chong Yidong <cyd@gnu.org>
12803 * select.el (xselect--encode-string): New function, split from
12804 xselect-convert-to-string.
12805 (xselect-convert-to-string): Use it.
12806 (xselect-convert-to-filename, xselect-convert-to-os)
12807 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12808 returned strings are properly encoded (Bug#11315).
12810 2012-04-27 Chong Yidong <cyd@gnu.org>
12812 * simple.el (delete-active-region): Move to killing custom group.
12814 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12816 * progmodes/which-func.el (which-func-current): Quote %
12817 characters for mode-line processing.
12819 2012-04-27 Chong Yidong <cyd@gnu.org>
12821 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12822 reaching eob (Bug#11286).
12824 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12826 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12827 (gdb): Make it buffer-local and init to zero.
12828 (gdb-control-commands-regexp): New variable.
12829 (gdb-send): Don't wrap in "-interpreter-exec console" if
12830 gdb-control-level is positive. Increment gdb-control-level
12831 whenever the command matches gdb-control-commands-regexp, and
12832 decrement it each time the command is "end". (Bug#11279)
12834 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12836 * window.el (adjust-window-trailing-edge, enlarge-window)
12837 (shrink-window, window-resize):
12838 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12839 windows (Bug#11276).
12841 2012-04-27 Chong Yidong <cyd@gnu.org>
12843 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12844 fix "missing prefix" warning. All callers changed.
12846 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12848 * emacs-lisp/assoc.el: Move to obsolete/.
12850 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12854 * term/ns-win.el (ns-define-service):
12855 * progmodes/pascal.el (pascal-goto-defun):
12856 * progmodes/js.el (js--read-tab):
12857 * progmodes/etags.el (tags-lazy-completion-table):
12858 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12859 * emacs-lisp/ewoc.el (ewoc--wrap):
12860 * emacs-lisp/assoc.el (aput, adelete, amake):
12861 * doc-view.el (doc-view-convert-current-doc):
12862 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12864 2012-04-26 Chong Yidong <cyd@gnu.org>
12866 * image.el (image-type-from-buffer): Only return supported image
12869 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12870 value, for symmetry with diff-end-of-hunk.
12871 (diff-split-hunk, diff-find-source-location)
12872 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12873 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12874 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12875 compute the relevant hunk or file properly (Bug#6005).
12876 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12878 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * vc/vc.el: Replace lexical-let by lexical-binding.
12888 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12889 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12890 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12892 2012-04-26 Chong Yidong <cyd@gnu.org>
12894 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12895 (diff-mode-shared-map): Bind it to / and [remap undo].
12897 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12898 (ediff-window-setup-function): Use it as the default, to set up
12899 windows based on whether the current frame is graphical (Bug#2138).
12900 (ediff-choose-window-setup-function-automatically): Make obsolete.
12902 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12904 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * ffap.el: Remove old code for obsolete package.
12907 (ffap-complete-as-file-p): Remove.
12909 Use completion-table-with-quoting for comint and pcomplete.
12910 * comint.el (comint--unquote&requote-argument)
12911 (comint--unquote-argument, comint--requote-argument): New functions.
12912 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12913 (comint-quote-filename): Use regexp-opt-charset.
12914 (comint--common-suffix, comint--common-quoted-suffix)
12915 (comint--table-subvert): Remove.
12916 (comint-unquote-function, comint-requote-function): New vars.
12917 (comint--complete-file-name-data): Use them with
12918 completion-table-with-quoting.
12919 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12920 * pcomplete.el (pcomplete-arg-quote-list)
12921 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12922 (pcomplete-unquote-argument-function): Default to non-nil.
12923 (pcomplete-unquote-argument): Simplify.
12924 (pcomplete--common-quoted-suffix): Remove.
12925 (pcomplete-requote-argument-function): New var.
12926 (pcomplete--common-suffix): New function.
12927 (pcomplete-completions-at-point): Use completion-table-with-quoting
12928 and completion-table-subvert.
12930 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12931 (minibuffer--double-dollars): Preserve properties.
12932 (completion--sifn-requote): New function.
12933 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12935 * minibuffer.el: Add support for completion of quoted/escaped data.
12936 (completion-table-with-quoting, completion-table-subvert): New funs.
12937 (completion--twq-try, completion--twq-all): New functions.
12938 (completion--nth-completion): New function.
12939 (completion-try-completion, completion-all-completions): Use it.
12941 2012-04-25 Leo Liu <sdl.web@gmail.com>
12943 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12944 Use compilation-message if available to find real filename.
12946 2012-04-25 Chong Yidong <cyd@gnu.org>
12948 * vc/diff-mode.el (diff-setup-whitespace): New function.
12949 (diff-mode): Use it.
12951 * vc/diff.el (diff-sentinel):
12952 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12953 Whitespace mode variables based on diff style (Bug#8612).
12955 2012-04-25 Leo Liu <sdl.web@gmail.com>
12957 * progmodes/python.el (python-send-region): Add suffix .py to the
12960 * files.el (auto-mode-alist): Use javascript-mode instead.
12962 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12964 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12966 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12967 (soap-resolve-references-for-array-type): Hack to prevent self
12968 references, see Bug#9.
12969 (soap-parse-envelope): Report the contents of the 'detail' node
12970 when receiving a fault reply.
12971 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12973 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12974 (soap-inspect-simple-type): New function.
12976 * net/soap-client.el (soap-simple-type): New struct.
12977 (soap-default-xsd-types, soap-default-soapenc-types)
12978 (soap-decode-basic-type, soap-encode-basic-type):
12979 support unsignedInt and double basic types.
12980 (soap-resolve-references-for-simple-type)
12981 (soap-parse-simple-type, soap-encode-simple-type): New function.
12982 (soap-parse-schema): Parse xsd:simpleType declarations.
12984 * net/soap-client.el (soap-default-xsd-types)
12985 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12986 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12987 the local name of "soapenc:Array".
12988 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12989 decoding integer, byte and anyURI xsd types.
12991 2012-04-25 Chong Yidong <cyd@gnu.org>
12993 * cus-edit.el (custom-buffer-create-internal): Update header text.
12995 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12997 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12998 settings on 'system-type', not on 'window-system'. On MS-Windows,
12999 set interactive-mode on in GDB.
13001 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13003 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13004 (ruby-syntax-propertize-regexp): Remove.
13005 (ruby-syntax-propertize-function): Split regexp into chunks.
13006 Match following code directly.
13008 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13010 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13011 (ruby-syntax-propertize-regexp): New function.
13012 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13013 by a special keyword.
13015 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13016 (ruby-syntax-general-delimiters-goto-beg)
13017 (ruby-syntax-propertize-general-delimiters): New functions.
13018 (ruby-syntax-propertize-function): Use them to handle GDL.
13019 (ruby-font-lock-keywords): Move old handling of GDL...
13020 (ruby-font-lock-syntactic-keywords): .. to here.
13021 (ruby-calculate-indent): Adjust indentation for GDL.
13023 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13025 * notifications.el (top): Remove unneeded declarations.
13026 (notifications-specification-version): Change to "1.2".
13027 (notifications-interface, notifications-notify-method)
13028 (notifications-close-notification-method): Fix docstring.
13029 (notifications-get-capabilities-method): New defconst.
13030 (notifications-notify): Add :action-items, :resident and
13031 :transient hints. Change "image_data" to "image-data" and
13032 "image_path" to "image-path".
13033 (notifications-get-capabilities): New defun.
13035 2012-04-24 Leo Liu <sdl.web@gmail.com>
13037 * progmodes/python.el: Move hideshow setup to the end.
13039 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13041 * window.el (handle-select-window): Clear echo area since this is
13042 no more done by read_char (Bug#11304).
13044 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13047 and `/ M' to filter-derived-mode.
13048 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13049 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13050 (ibuffer-mark-by-mode): Use default rather than initial-input.
13051 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13053 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13055 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13056 (ibuffer-filter-by-derived-mode): New filter.
13057 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13059 2012-04-23 Andreas Politz <politza@fh-trier.de>
13061 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13063 2012-04-23 Chong Yidong <cyd@gnu.org>
13065 * cus-edit.el (customize-apropos, customize-apropos-options):
13066 Disable matching of non-option variables (Bug#11176).
13067 (customize-option, customize-option-other-window)
13068 (customize-changed-options): Doc fix.
13069 (customize-apropos-options, customize-apropos-faces)
13070 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13072 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13073 Fix word list splitting (Bug#11132).
13074 (apropos-symbol, apropos-keybinding, apropos-label)
13075 (apropos-property, apropos-function-button)
13076 (apropos-variable-button, apropos-misc-button): New faces.
13077 (apropos-symbol-face, apropos-keybinding-face)
13078 (apropos-label-face, apropos-property-face, apropos-match-face):
13079 Variables removed (Bug#8396).
13080 (apropos-library-button, apropos-format-plist, apropos-print)
13081 (apropos-print-doc, apropos-describe-plist): Callers changed.
13083 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13085 * net/xesam.el (xesam-mode-map): Use let-bound map in
13086 initialization. (Bug#11292)
13088 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13090 Preserve ispell session localwords when switching back to
13093 * textmodes/ispell.el (ispell-buffer-session-localwords):
13094 New buffer-local variable to hold buffer session localwords.
13095 (ispell-kill-ispell): Add option 'clear to delete session
13097 (ispell-command-loop, ispell-change-dictionary)
13098 (ispell-buffer-local-words): Preserve session localwords when
13101 * textmodes/flyspell.el (flyspell-process-localwords)
13102 (flyspell-do-correct): Preserve session localwords when needed.
13104 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13106 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13107 using obsolete `translation-table-for-input'.
13108 (ispell-word, ispell-process-line, ispell-complete-word):
13109 Use plain `insert' instead of removed `ispell-insert-word'.
13111 2012-04-22 Chong Yidong <cyd@gnu.org>
13113 * cus-edit.el (custom-variable-menu)
13114 (custom-variable-reset-saved, custom-face-menu)
13115 (custom-face-reset-saved): If there is no saved value, make the
13116 "reset-saved" operation bring back the default (Bug#9509).
13117 (custom-face-state): Properly detect themed faces.
13119 * faces.el (face-spec-set): Stop supporting deprecated form of
13122 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13124 Move functions from C to Lisp. Make non-blocking method calls
13125 the default. Implement further D-Bus standard interfaces.
13127 * net/dbus.el (dbus-message-internal): Declare function.
13128 Remove unneeded function declarations.
13129 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13130 (dbus-message-type-method-return, dbus-message-type-error)
13131 (dbus-message-type-signal): Declare variables. Remove local
13133 (dbus-interface-dbus, dbus-interface-peer)
13134 (dbus-interface-introspectable, dbus-interface-properties)
13135 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13137 (dbus-interface-objectmanager): New defconst.
13138 (dbus-call-method, dbus-call-method-asynchronously)
13139 (dbus-send-signal, dbus-method-return-internal)
13140 (dbus-method-error-internal, dbus-register-service)
13141 (dbus-register-signal, dbus-register-method): New defuns, moved
13143 (dbus-call-method-handler, dbus-setenv)
13144 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13146 (dbus-call-method-non-blocking): Make it an obsolete function.
13147 (dbus-unregister-object, dbus-unregister-service)
13148 (dbus-handle-event, dbus-register-property)
13149 (dbus-property-handler): Obey the new structure of
13150 `bus-registered-objects'.
13151 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13152 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13153 Use `dbus-call-method'.
13155 2012-04-22 Chong Yidong <cyd@gnu.org>
13157 * cus-edit.el (custom-commands, custom-reset-menu)
13158 (Custom-reset-standard): Tweak labels.
13159 (custom-reset-button-menu): Change default to t.
13160 (custom-buffer-create-internal): For the custom-reset-button-menu
13161 case, put the revert button first.
13162 (custom-group-subtitle): New face.
13163 (custom-group-value-create): Align docstring to a specific column.
13165 * wid-edit.el (widget-documentation-link-add): Don't handle
13166 indentation in this function.
13167 (widget-documentation-string-indent-to): New function.
13168 (widget-documentation-string-value-create): Use it.
13170 * autorevert.el (auto-revert):
13171 * epg-config.el (epg):
13172 * ibuffer.el (ibuffer):
13175 * eshell/eshell.el (eshell):
13176 * net/ange-ftp.el (ange-ftp):
13177 * progmodes/ebnf2ps.el (postscript):
13178 * progmodes/flymake.el (flymake):
13179 * progmodes/prolog.el (prolog):
13180 * progmodes/verilog-mode.el (verilog-mode):
13181 * progmodes/which-func.el (which-func):
13182 * term/xterm.el (xterm):
13183 * textmodes/picture.el (picture):
13184 * textmodes/tildify.el (tildify):
13185 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13186 customization buffers.
13188 2012-04-22 Alan Mackenzie <acm@muc.de>
13190 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13191 Adding a ) can hide the resulting (..) from searches. Fix it.
13192 Bound the backward search to the position of the existing (.
13194 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13196 * progmodes/verilog-mode.el (verilog-mode): Check whether
13197 which-func-modes is t before adding verilog-mode.
13198 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13200 2012-04-21 Leo Liu <sdl.web@gmail.com>
13202 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13204 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13206 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13207 filling of the last column of a table (Bug#5635).
13208 (woman-find-next-control-line): New arg, specifying an additional
13209 regexp component for the control line.
13210 (woman2-roff-buffer): Use it.
13211 (woman-break-table): New function.
13212 (woman2-TS): Use it.
13214 2012-04-21 Chong Yidong <cyd@gnu.org>
13216 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13217 (woman-horizontal-escapes, woman-negative-vertical-space)
13218 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13219 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13221 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * minibuffer.el (completion-file-name-table): Complete user names.
13225 2012-04-20 Leo Liu <sdl.web@gmail.com>
13227 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13230 2012-04-20 Chong Yidong <cyd@gnu.org>
13232 * server.el (server-execute): Respect initial-buffer-choice if it
13233 is a string and there are no files to open (Bug#2825).
13234 (server-create-window-system-frame, server-create-tty-frame):
13235 Don't switch buffers here.
13236 (server-process-filter): Only try to open a window system frame if
13237 compiled with graphical support (Bug#8314).
13239 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13241 * battery.el (battery-echo-area-format): Display remaining time
13242 for sysfs backend too (Bug#11269).
13243 (battery-linux-sysfs): Fix conditional for the charge.
13245 2012-04-20 Chong Yidong <cyd@gnu.org>
13247 * progmodes/gdb-mi.el (gdb): Revert previous change.
13248 (gdb-inferior-io--init-proc): New function.
13249 (gdb-init-1): Use it.
13250 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13251 responsible for allocating a new pty and hooking it to gdb when
13252 the old pty gets an EIO due to process exit.
13253 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13254 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13255 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13257 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13259 * window.el (window-min-size, window-sizable, window-min-delta)
13260 (window-max-delta, window--resizable, window-resizable)
13261 (window-total-size, window-full-height-p, window-full-width-p)
13262 (window-in-direction, window--resize-mini-window, window-resize)
13263 (window--resize-child-windows-normal)
13264 (window--resize-child-windows, window--resize-siblings)
13265 (window--resize-this-window, adjust-window-trailing-edge)
13266 (enlarge-window, shrink-window): Doc fixes.
13268 2012-04-20 Chong Yidong <cyd@gnu.org>
13270 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13271 New function to call delete-process on the gdb-inferior buffer's pty.
13272 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13273 pty process (Bug#11273).
13274 (gdb-update): New arg to suppress talking to the gdb process.
13275 (gdb-done-or-error): Use it.
13276 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13277 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13278 sentinel not being called.
13280 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13282 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13284 2012-04-20 Glenn Morris <rgm@gnu.org>
13286 * net/network-stream.el (open-network-stream): Doc fix.
13288 2012-04-20 Chong Yidong <cyd@gnu.org>
13290 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13292 2012-04-20 Alan Mackenzie <acm@muc.de>
13294 Ensure searching for keywords is case sensitive.
13296 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13297 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13298 (c-defun-name, c-mark-function, c-cpp-define-name)
13299 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13300 (c-context-line-break): Bind case-fold-search to nil.
13302 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13303 Bind case-fold-search to nil.
13305 2012-04-20 Chong Yidong <cyd@gnu.org>
13307 * mail/sendmail.el (mail-bury): Call return action with the right
13308 Rmail buffer (Bug#11242).
13310 * server.el (server-process-filter): Handle corner case where both
13311 tty and nowait options are present (Bug#11102).
13313 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13315 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13316 (top level): Put into the executable the ident-style '$Id:' tag on
13317 windows-nt as well.
13319 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * electric.el (electric-indent-post-self-insert-function): Check that
13322 electric-indent-mode is enabled in current buffer.
13324 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13326 * imenu.el (imenu-progress-message): Restore; it is "used" in
13327 erc/erc-imenu.el and net/snmp-mode.el.
13329 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13331 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13332 (mouse-avoidance-nudge-mouse): Remove unused binding.
13334 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13336 * descr-text.el (describe-char):
13337 * progmodes/python.el (python-describe-symbol):
13338 Don't call `toggle-read-only', set `buffer-read-only'.
13340 * imenu.el (imenu-default-goto-function): Mark unused args.
13341 (imenu-progress-message): Remove obsolete macro; all callers changed.
13343 * subr.el (keymap-canonicalize): Remove unused binding.
13344 (read-passwd): Mark unused arg.
13346 * tutorial.el (tutorial--display-changes): Remove unused binding.
13347 (tutorial--save-tutorial-to): Remove unused variable.
13349 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13350 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13351 (package-generate-autoloads, package-menu--generate)
13352 (package-menu--find-upgrades): Remove unused bindings.
13354 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13355 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13356 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13357 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13358 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13359 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13360 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13361 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13362 (cua-delete-char-rectangle): Mark unused args.
13363 (cua-align-rectangle): Remove unused binding.
13365 * mail/rmail.el (compilation--message->loc)
13366 (epa--find-coding-system-for-mime-charset): Declare.
13368 * net/dbus.el (dbus-register-service): Declare.
13369 (dbus-name-owner-changed-handler): Remove unused binding.
13371 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13372 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13373 (nxml-scan-backward-within): Mark unused arg.
13374 (nxml-dynamic-markup-word): Remove unused binding.
13376 * mouse.el (mouse-menu-major-mode-map):
13377 * emacs-lisp/authors.el (authors-scan-change-log)
13378 (authors-add-to-author-list):
13379 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13380 * emacs-lisp/smie.el (smie-auto-fill):
13381 * mail/sendmail.el (mail-bury):
13382 * mail/unrmail.el (unrmail):
13383 * net/tls.el (open-tls-stream):
13384 * textmodes/picture.el (picture-mouse-set-point):
13385 Remove unused bindings.
13387 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13389 * net/tramp.el (tramp-action-password): Let-bind
13390 `enable-recursive-minibuffers' to t.
13392 2012-04-18 Sam Steingold <sds@gnu.org>
13394 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13395 instead of 'string to accommodate values like [f11].
13396 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13397 * progmodes/gdb-mi.el: Likewise.
13399 2012-04-18 Leo Liu <sdl.web@gmail.com>
13401 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13403 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13406 2012-04-18 Chong Yidong <cyd@gnu.org>
13408 * simple.el (line-move): Use forward-line if in batch mode
13411 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13413 * files.el (after-find-file): Do not try to add a final newline if
13414 the buffer is read-only (Bug#11156).
13416 2012-04-17 Richard Stallman <rms@gnu.org>
13418 * mail/rmail.el (rmail-start-mail):
13419 Pass (rmail-mail-return...) for the return-action.
13420 Pass (rmail-yank-current-message...) for the yank-action.
13421 (rmail-yank-current-message): New function.
13422 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13423 (rmail-reply): Likewise.
13424 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13426 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13427 buffer, not the last. Reject temp buffers. Use the rmail-mode
13428 buffer, not newbuf.
13430 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13432 * server.el (server-ensure-safe-dir): Simplify.
13434 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * emacs-lisp/smie.el: Provide smarter auto-filling.
13437 (smie-auto-fill): New function.
13438 (smie-setup): Use it.
13440 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13442 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13444 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13445 (comment-indent): Use it.
13447 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13449 * ses.el: The overall change is to add cell renaming, that is
13450 setting fancy names for cell symbols other than name matching
13451 "\\`[A-Z]+[0-9]+\\'" regexp .
13452 (ses-localvars): Add ses--renamed-cell-symb-list.
13453 (ses-create-cell-variable): New defun.
13454 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13455 (ses-relocate-formula): Relocate formulas only for cells the
13456 symbols of which are not renamed, i.e. symbols whose names do not
13457 match regexp "\\`[A-Z]+[0-9]+\\'".
13458 (ses-relocate-all): Relocate values only for cells the symbols of
13459 which are not renamed.
13460 (ses-load): Create cells variables as the (ses-cell ...) are read,
13461 in order to check row col consistency with cell symbol name only
13462 for cells that are not renamed.
13463 (ses-replace-name-in-formula): New defun.
13464 (ses-rename-cell): New defun.
13466 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13468 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13469 New option (bug#11118).
13470 (perl-calculate-indent): Respect it.
13472 2012-04-17 Glenn Morris <rgm@gnu.org>
13474 * dired-aux.el (dired-mark-read-string): Doc fix.
13476 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13478 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13479 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13481 2012-04-17 Glenn Morris <rgm@gnu.org>
13483 * mouse.el (mouse-drag-track):
13484 * speedbar.el (speedbar-frame-mode):
13485 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13487 2012-04-16 Leo Liu <sdl.web@gmail.com>
13489 * progmodes/python.el: Trivial cleanup.
13491 2012-04-16 Glenn Morris <rgm@gnu.org>
13493 * vc/vc.el (vc-string-prefix-p):
13494 * vc/pcvs-util.el (cvs-string-prefix-p):
13495 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13496 * mpc.el (mpc-string-prefix-p):
13497 Make all of these into obsolete aliases for string-prefix-p.
13499 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13501 * textmodes/two-column.el: Move custom options to the start.
13502 (frame-width): Remove compat definition.
13503 (2C-associate-buffer, 2C-dissociate):
13504 Use with-current-buffer rather than save-excursion.
13505 (2C-dissociate): Force a mode-line update.
13506 (2C-autoscroll): Use ignore-errors.
13508 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13511 * emacs-lisp/cl-extra.el (*random-state*):
13512 Remove unnecessary declaration.
13514 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13516 * play/cookie1.el (cookie-snarf):
13517 Give an explicit error if input file cannot be read.
13519 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13521 * progmodes/perl-mode.el (c-macro-expand):
13522 Remove unnecessary autoload (it is in loaddefs.el).
13524 * textmodes/picture.el (picture-desired-column)
13525 (picture-update-desired-column): Convert comments to doc-strings.
13526 (picture-substitute): Remove function.
13527 (picture-mode-map): Initialize in the defvar.
13529 * woman.el: Remove eval-after-load for tar-mode.
13530 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13531 (woman-tar-extract-file): Autoload it.
13533 * frame.el (automatic-hscrolling): Make this alias obsolete.
13535 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13537 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13538 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13539 (ispell-dictionary-base-alist): Revert to original XEmacs
13540 friendly version for default. [:alpha:] will be added in
13541 `ispell-set-spellchecker-params' if needed.
13543 2012-04-16 Chong Yidong <cyd@gnu.org>
13545 * image.el (imagemagick--file-regexp): New variable.
13546 (imagemagick-register-types): Use it.
13547 (imagemagick-types-inhibit): Add :set function. Allow new value
13548 of t to inhibit all types.
13550 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13551 so we can preload it.
13553 * loadup.el (fboundp): Preload regexp-opt, needed by
13554 imagemagick-register-types.
13556 2012-04-15 Chong Yidong <cyd@gnu.org>
13558 * frame.el (scrolling): Remove nearly unused customization group.
13560 * scroll-all.el (scroll-all-mode): Move to windows group.
13562 2012-04-15 Chong Yidong <cyd@gnu.org>
13564 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13566 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13568 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13569 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13571 2012-04-15 Glenn Morris <rgm@gnu.org>
13573 * simple.el (process-file-side-effects): Doc fix.
13575 2012-04-15 Glenn Morris <rgm@gnu.org>
13577 * international/mule-cmds.el (set-language-environment): Doc fix.
13579 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13581 * server.el (server-auth-key, server-generate-key): Doc fixes.
13582 (server-get-auth-key): Doc fix. Use `string-match-p'.
13583 (server-start): Reflow docstring.
13585 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13587 * server.el (server-generate-key): `called-interactively-p'
13588 requires a parameter.
13590 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13592 * server.el (server-auth-key): New variable.
13593 (server-generate-key, server-get-auth-key): New function.
13594 (server-start): Use the new variable and functions to allow
13595 setting a permanent server key (bug#9423).
13597 2012-04-14 Leo Liu <sdl.web@gmail.com>
13599 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13601 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13604 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13605 Emacs uses American spelling.
13607 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13609 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13610 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13611 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13612 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13614 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * progmodes/which-func.el (which-func-modes): Change default.
13618 2012-04-14 Kim F. Storm <storm@cua.dk>
13620 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13621 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13623 2012-04-14 Chong Yidong <cyd@gnu.org>
13625 * custom.el (custom-theme-set-variables): Doc fix.
13627 2012-04-14 Glenn Morris <rgm@gnu.org>
13629 * international/mule.el (set-auto-coding-for-load): Doc fix.
13631 2012-04-14 Alan Mackenzie <acm@muc.de>
13633 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13634 imenu work again for Objective C Mode. Correct the *-index values,
13635 these having been disturbed by a previous change in 2011-08.
13637 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13638 Correct two search limits.
13640 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13644 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13646 * international/characters.el: Fix sorting.
13648 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13650 * international/characters.el: Add more missing Latin case pairs.
13652 2012-04-14 Glenn Morris <rgm@gnu.org>
13654 * files.el (dir-locals-set-class-variables): Doc fix.
13656 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13658 * international/characters.el: Add set-case-syntax-pair call for
13659 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13660 counterpart. (Bug#11209)
13662 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13664 2012-04-14 Glenn Morris <rgm@gnu.org>
13666 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13668 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13670 * textmodes/ispell.el (ispell-dictionary-base-alist):
13671 Add data for Hebrew.
13673 2012-04-14 Chong Yidong <cyd@gnu.org>
13675 * net/rcirc.el (rcirc-cmd-quit):
13676 Revert 2012-03-18 change (Bug#11192).
13678 2012-04-14 Glenn Morris <rgm@gnu.org>
13680 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13684 * minibuffer.el (completion-in-region-mode-map):
13685 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13687 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13689 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13691 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13693 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13694 to allow `C-M-f' and `C-M-b' to move to the nearest path
13695 separator (bug#9511).
13697 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13699 * avoid.el: Require cl when compiling. And also move the
13700 `provide' to the end.
13702 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13704 * avoid.el (mouse-avoidance-banish-position): New variable.
13705 (mouse-avoidance-banish-destination): Use it (bug#10165).
13707 2012-04-13 Leo Liu <sdl.web@gmail.com>
13709 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13711 2012-04-13 Ken Brown <kbrown@cornell.edu>
13713 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13714 this is no longer needed now that cygstart understands file:// URLs.
13715 (browse-url-filename-alist): For the same reason, don't modify
13716 file:// URLs on Cygwin.
13718 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13721 the region on shift if the binding is already shifted (bug#11221).
13723 2012-04-12 Glenn Morris <rgm@gnu.org>
13725 * mail/mailpost.el: Move to obsolete/.
13727 2012-04-12 Drew Adams <drew.adams@oracle.com>
13729 * imenu.el (imenu--generic-function): Ignore invisible definitions
13732 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13734 * hexl.el (hexl-bits): New variable.
13735 (hexl-options): Mention the variable in the doc string.
13736 (hexl-rulerise, hexl-line-displen): New functions.
13737 (hexl-mode): Mention the new variable.
13738 (hexl-mode, hexl-current-address, hexl-current-address):
13740 (hexl-ascii-start-column): New function.
13741 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13742 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13744 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13746 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13747 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13748 the encoding, as expected by hunspell.
13750 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13752 * battery.el (battery--linux-sysfs-regexp): New const.
13753 (battery-status-function): Use it. Remove yeeloong special case.
13754 (battery-yeeloong-sysfs): Remove.
13755 (battery-echo-area-format): Remove yeeloong special case.
13757 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13759 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13760 Reported by Noah Friedman.
13762 * subr.el (read-passwd): Use read-string.
13764 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13766 * vcursor.el (vcursor-move): Increase the priority of the overlay
13769 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13771 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13772 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13774 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13776 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13777 define-minor-mode (bug#10760).
13779 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13781 * progmodes/grep.el (rgrep): Tweak the find command line so
13782 that directories matching `grep-find-ignored-files' won't be
13783 pruned (bug#10351).
13785 2012-04-11 Chong Yidong <cyd@gnu.org>
13787 * startup.el (command-line): Remove support for long-obsolete
13788 variable font-lock-face-attributes.
13790 2012-04-11 Glenn Morris <rgm@gnu.org>
13792 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13794 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13796 * window.el (window--state-get-1): Obey window-point-insertion-type.
13798 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13800 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13801 to previous function when point is on the first character of a
13802 function. Take care of that in `narrow-to-defun' (bug#6157).
13804 2012-04-11 Glenn Morris <rgm@gnu.org>
13806 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13807 not just file-errors.
13809 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13810 (vc-bzr-sha1): Use internal sha1.
13812 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13814 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13816 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13818 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13819 that start in the middle of the line (bug#10496).
13821 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13823 * battery.el (battery-linux-proc-acpi): Only one battery is
13824 discharged at a time, but that seems to confuse battery.el when
13825 computing `rate-type' for the battery not being discharged
13828 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13830 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13832 * international/quail.el: Use dolist and simplify.
13833 (quail-define-package, quail-update-keyboard-layout)
13834 (quail-define-rules): Use dolist.
13835 (quail-insert-kbd-layout, quail-get-translation): CSE.
13837 * tmm.el: Use dolist, remove left over hook.
13838 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13840 (calendar-load-hook): Don't mess with it.
13842 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13843 Use derived-mode-p. Run the diff asynchronously.
13845 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13847 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13849 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13851 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13852 (list-dynamic-libraries--loaded): New function.
13853 (list-dynamic-libraries--refresh): Use it.
13855 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13857 * progmodes/python.el (python-fill-paragraph):
13858 Make python-fill-region in a multiline string work when font-lock is
13859 disabled (bug#7018).
13861 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13863 * language/european.el (cp775): Add oem/legacy (en)coding on
13864 DOS/MS Windows for the Baltic languages. There are still plenty
13865 of texts written in this encoding/codepage (bug#6519).
13867 2012-04-10 Glenn Morris <rgm@gnu.org>
13869 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13870 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13872 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13874 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13875 next-line "n" and previous-line "p" in order to make recentf more
13876 consistent with ibuffer, dired or org-mode (bug#9387).
13878 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13880 * image.el (put-image): Return the overlay created instead of the
13881 optional input string (bug#7834). Note that this may break code
13882 that is (for some reason or other) depending on `put-image'
13883 returning the string.
13885 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13887 * simple.el (zap-to-char): Allow zapping using input methods
13890 * textmodes/fill.el (fill-region): Leave point and mark where they
13891 were before filling (bug#5399).
13893 2012-04-09 Glenn Morris <rgm@gnu.org>
13895 * version.el (emacs-bzr-get-version):
13896 Handle lightweight checkouts of local branches.
13898 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13900 * international/characters.el: Recover lost case pairs. (Bug#11209)
13902 2012-04-09 Chong Yidong <cyd@gnu.org>
13904 * custom.el (custom-variable-p): Return nil for non-symbol
13905 arguments instead of signaling an error.
13906 (user-variable-p): Obsolete alias for custom-variable-p.
13908 * apropos.el (apropos-variable):
13909 * files-x.el (read-file-local-variable):
13910 * simple.el (set-variable):
13911 * woman.el (woman-mini-help):
13912 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13914 2012-04-09 Glenn Morris <rgm@gnu.org>
13916 * startup.el (normal-top-level): Don't look for leim-list.el
13917 in places where it will not be found. (Bug#910)
13919 * international/mule-cmds.el (set-default-coding-systems):
13920 * files.el (normal-mode):
13921 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13922 This function was removed with ucs-tables.el in 2008.
13924 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13926 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13927 ispell-encoding8-command to "-i", without a trailing space.
13928 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13929 separate command-line arguments, to specify the encoding, since
13930 that's how hunspell expects it.
13932 2012-04-08 Glenn Morris <rgm@gnu.org>
13934 * loadup.el: Load bindings before cus-start.
13935 This reduces somewhat the number of "rogue" settings in emacs -Q.
13937 2012-04-07 Glenn Morris <rgm@gnu.org>
13939 * version.el (emacs-bzr-get-version): New function.
13940 (emacs-bzr-version): New variable.
13941 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13942 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13944 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13946 * international/uni-bidi.el, international/uni-category.el:
13947 * international/uni-combining.el, international/uni-decimal.el:
13948 * international/uni-decomposition.el, international/uni-digit.el:
13949 * international/uni-lowercase.el, international/uni-mirrored.el:
13950 * international/uni-name.el, international/uni-numeric.el:
13951 * international/uni-titlecase.el, international/uni-uppercase.el:
13952 Update for Unicode 6.1.
13954 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13956 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13958 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13960 * window.el (shrink-window): Mention the `window-min-height'
13961 variable in the doc string.
13963 2012-04-05 Bastien Guerry <bzg@altern.org>
13965 * color.el (color-lighten-name): Fix typo.
13967 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13969 * server.el (server--on-display-p): New function.
13970 (server--on-display-p): Use it.
13972 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13974 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13977 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13979 * comint.el (comint--common-quoted-suffix): Check string boundary
13980 before comparing (bug#11158).
13981 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13983 2012-04-04 Chong Yidong <cyd@gnu.org>
13985 * minibuffer.el (completion-extra-properties): Doc fix.
13987 * subr.el (delayed-warnings-hook): Doc fix.
13989 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13991 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13992 selection (Bug#11159).
13993 (epa-insert-keys): Inform that the default public key will be
13994 exported if no key is selected.
13996 2012-04-04 Richard Stallman <rms@gnu.org>
13998 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14000 2012-04-03 Chong Yidong <cyd@gnu.org>
14002 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14003 mail-insert-file, not its obsolete alias mail-attach-file.
14005 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14007 * notifications.el (notifications-notify): Fix docstring.
14009 2012-04-02 Glenn Morris <rgm@gnu.org>
14011 * emacs-lisp/authors.el (authors-aliases): Another addition.
14013 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14015 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14016 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14017 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14019 2012-04-01 Chong Yidong <cyd@gnu.org>
14021 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14022 Handle root directory properly.
14023 (copy-directory): Caller changed.
14025 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14026 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14028 2012-03-31 Glenn Morris <rgm@gnu.org>
14030 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14032 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14034 * calendar/calendar.el (calendar-window-list)
14035 (calendar-hide-window): Restore. (Bug#11140)
14036 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14038 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14040 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14042 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14043 Check if file is a symlink (Bug#10489).
14045 * files.el (copy-directory): Likewise.
14047 2012-03-30 Chong Yidong <cyd@gnu.org>
14049 * image.el (imagemagick-types-inhibit)
14050 (imagemagick-register-types): Doc fix.
14052 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14054 * textmodes/ispell.el (ispell-get-extended-character-mode):
14055 Disable extended-char-mode for hunspell. hunspell does not support it
14056 and treats ~word as ordinary words in pipe mode.
14058 2012-03-30 Glenn Morris <rgm@gnu.org>
14060 * tutorial.el (help-with-tutorial): Ensure local variables don't
14061 happen to make the buffer read-only. (Bug#11127)
14063 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14065 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14066 (perl-calculate-indent): Return `noindent' in strings.
14068 2012-03-28 Sam Steingold <sds@gnu.org>
14070 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14071 instead of the broken adhockery which does not prevent calendar
14072 buffers from being displayed at random after exit.
14073 (calendar-window-list, calendar-hide-window): Remove the broken
14076 2012-03-28 Glenn Morris <rgm@gnu.org>
14078 * replace.el (query-replace-map): Doc fix.
14080 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14082 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14083 contents. (Bug#11109)
14085 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14087 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14089 (avl-tree--check, avl-tree--check-node): New funs.
14091 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14093 * window.el (switch-to-visible-buffer): New option.
14094 (switch-to-prev-buffer, switch-to-next-buffer):
14095 Observe switch-to-visible-buffer. Make sure that checking for a window
14096 showing a buffer already is done on the same frame.
14098 2012-03-27 Glenn Morris <rgm@gnu.org>
14100 * startup.el (mail-host-address): Doc fix.
14102 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14104 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14105 than 197 variables.
14107 2012-03-26 Ami Fischman <ami@fischman.org>
14109 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14111 2012-03-26 Glenn Morris <rgm@gnu.org>
14113 * files.el (save-buffers-kill-emacs): Doc fix.
14115 * startup.el (normal-top-level, command-line, command-line-1):
14116 Give them doc strings.
14118 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14120 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14121 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14123 2012-03-25 Chong Yidong <cyd@gnu.org>
14125 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14126 theme if it was previously enabled before (Bug#11031).
14128 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14129 spec with custom-face-get-current-spec if its :shown-value is not
14130 determined yet (Bug#9337).
14131 (customize-create-theme, custom-theme-revert): Doc fixes.
14133 * button.el (button-at): Minor addition to docstring.
14135 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14137 * vc/vc.el (vc-merge): Fix a prompt.
14139 2012-03-24 Chong Yidong <cyd@gnu.org>
14141 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14144 * button.el (button-at): Minor addition to docstring.
14146 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14148 * newcomment.el (comment-choose-indent): No space after BOL.
14150 2012-03-22 Sam Steingold <sds@gnu.org>
14152 * window.el (switch-to-prev-buffer): Revert last patch because the
14153 bug turned out to be an advertised feature (Elisp manual 28.14).
14155 2012-03-22 Glenn Morris <rgm@gnu.org>
14157 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14158 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14160 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14162 * net/network-stream.el (network-stream-open-starttls): Make error
14163 message under Windows be less misleading.
14165 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14167 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14168 understands (bug#9942).
14170 2012-03-22 Chong Yidong <cyd@gnu.org>
14172 * simple.el (end-of-visible-line): Handle return value of
14173 next-single-property-change properly (Bug#9371).
14175 2012-03-22 Kenichi Handa <handa@m17n.org>
14177 * international/quail.el (quail-insert-kbd-layout): Fix previous
14178 change. To avoid unwanted bidi reordering, use
14179 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14181 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14183 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14184 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14185 (ruby-beginning-of-indent): Be more careful with the difference
14186 between word-boundary and symbol boundary.
14187 (ruby-mode-syntax-table): Make : a symbol constituent.
14189 2012-03-21 Andreas Politz <politza@fh-trier.de>
14191 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14193 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14195 * progmodes/etags.el (tags-completion-at-point-function):
14198 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14200 2012-03-21 Sam Steingold <sds@gnu.org>
14202 * progmodes/etags.el (tags-completion-at-point-function):
14203 Avoid the error when point is inside the pattern.
14205 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14207 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14210 2012-03-21 Drew Adams <drew.adams@oracle.com>
14212 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14214 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14216 * ido.el (ido-set-current-directory, ido-read-internal)
14217 (ido-choose-completion-string, ido-completion-help): Handle nil
14218 value of ido-completion-buffer (Bug#11008).
14220 2012-03-21 Sam Steingold <sds@gnu.org>
14222 * window.el (switch-to-prev-buffer): Do not switch to a visible
14223 window previous buffer, just like with the frame previous buffers.
14225 2012-03-21 Chong Yidong <cyd@gnu.org>
14227 * faces.el (make-face, make-empty-face, copy-face):
14228 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14231 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14233 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14234 (widget-complete): Remove broken use of it.
14236 2012-03-20 Chong Yidong <cyd@gnu.org>
14238 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14239 Use string-width and truncate-string-width to handle arbitrary
14242 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14244 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14245 to draw rectangles, not squares. (Regression introduced by revno
14246 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14248 2012-03-18 Chong Yidong <cyd@gnu.org>
14250 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14251 it is not yet defined (for temacs).
14253 2012-03-18 Leo Liu <sdl.web@gmail.com>
14255 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14258 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14260 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14261 (ispell-choices-win-default-height, ispell-silently-savep)
14262 (ispell-dictionary-alist, ispell-encoding8-command)
14263 (ispell-check-version, ispell-aspell-find-dictionary)
14264 (ispell-valid-dictionary-list, ispell-words-keyword)
14265 (ispell-get-word, ispell-internal-change-dictionary)
14266 (ispell-region, ispell-skip-region-list)
14267 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14268 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14269 (ispell-message-text-end, ispell-message)
14270 (ispell-buffer-local-parsing): Doc fix.
14272 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14274 * htmlfontify.el: Add support for code block fontification for ODT
14275 export (Bug #9914).
14276 (hfy-optimisations): Define new option
14278 (hfy-fontify-buffer): Honor above setting.
14279 (hfy-begin-span, hfy-end-span): New routines factored out form
14280 `hfy-fontify-buffer'.
14281 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14282 that permit insertion of custom tags.
14283 (hfy-fontify-buffer): Use above handlers.
14284 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14285 (hfy-face-to-css): Re-defined to be a variable.
14286 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14287 over multiple runs. This is made possible by having the caller let
14288 bind a special variable `hfy-user-sheet-assoc'.
14289 (htmlfontify-string): New defun.
14290 (hfy-compile-face-map): Make sure that the last char in the
14291 buffer is correctly fontified.
14292 (hfy-face-resolve-face): Whitespace only change.
14294 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14296 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14297 message more clear.
14299 2012-03-16 Leo Liu <sdl.web@gmail.com>
14301 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14303 2012-03-16 Alan Mackenzie <acm@muc.de>
14305 Further optimize the handling of large macros.
14307 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14308 limit to a call of `c-literal-limits'.
14309 (c-determine-+ve-limit): New function.
14310 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14311 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14312 In CASE 5B, restrict a search limit to 500.
14313 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14315 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14316 Restrict macro bounds to +-500 from after-change's BEG END.
14318 2012-03-16 Leo Liu <sdl.web@gmail.com>
14320 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14322 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14324 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14325 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14327 2012-03-16 Glenn Morris <rgm@gnu.org>
14329 * view.el (view-buffer, view-buffer-other-window)
14330 (view-buffer-other-frame): Doc fixes re special mode-class.
14332 * subr.el (eval-after-load): If named feature is provided not from
14333 a file, run after-load forms. (Bug#10946)
14335 * calendar/calendar.el (calendar-insert-at-column):
14336 Handle non-unit-width characters a bit better. (Bug#10978)
14338 2012-03-15 Chong Yidong <cyd@gnu.org>
14340 * emacs-lisp/ring.el (ring-extend): New function.
14341 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14343 * comint.el (comint-read-input-ring)
14344 (comint-add-to-input-history): Grow comint-input-ring lazily.
14346 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14348 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14349 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14351 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14352 (imenu-add-to-menubar): Don't add a redundant index.
14353 (imenu-update-menubar): Handle a dynamically composed keymap.
14355 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14357 * mail/sendmail.el (mail-encode-header):
14358 Bind rfc2047-encode-encoded-words to nil.
14360 2012-03-13 Glenn Morris <rgm@gnu.org>
14362 * calendar/calendar.el (calendar-string-spread):
14363 Handle non-unit-width characters a bit better. (Bug#10978)
14365 2012-03-13 Leo Liu <sdl.web@gmail.com>
14367 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14368 directory and file as argument (Bug#10822).
14370 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14372 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14373 For dynamically generated code, follow $PC.
14374 (gdb-disassembly-handler-custom): Handle no function name case.
14376 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14378 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14379 * emulation/ws-mode.el (ws-query-replace):
14380 * sort.el (sort-regexp-fields):
14381 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14383 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14385 * dabbrev.el: Fix cycle completion order (bug#10963).
14386 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14387 (dabbrev-completion): Don't use an obarray; provide
14388 a cycle-sort-function.
14390 2012-03-12 Leo Liu <sdl.web@gmail.com>
14392 * simple.el (kill-new): Use equal-including-properties for comparison.
14393 (kill-do-not-save-duplicates): Doc fix.
14395 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14397 * dabbrev.el: Fix cycle completion (bug#10963).
14398 Use lexical binding and wrap to 80 columns.
14399 (dabbrev-completion): Delay computing the list of completions.
14401 2012-03-12 Kenichi Handa <handa@m17n.org>
14403 * international/quail.el (quail-insert-kbd-layout): Surround each
14404 row by LRO and PDF instead of inserting many LRMs. Pad the left
14405 and right of each non-spacing marks. Insert invisible space
14406 between lower and upper characters to prevent composition.
14408 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14410 * minibuffer.el (minibuffer-complete): Don't get confused when the
14411 function is run twice via different commands (bug#10958).
14412 (complete-with-action): Fix docstring.
14414 2012-03-12 Chong Yidong <cyd@gnu.org>
14416 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14417 (nxml-completion-at-point-function): New function.
14418 (nxml-mode): Use it.
14419 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14421 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14422 Load generated autoloads file before byte compiling (Bug#10970).
14423 (package--make-autoloads-and-compile): New helper fun.
14425 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14427 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14429 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14431 * autorevert.el (auto-revert-handler): Ensure, that
14432 file-readable-p is applied only for local files or in
14433 auto-revert-tail-mode.
14435 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14437 * server.el (server-eval-at): Handle non-tcp connections.
14438 Decode result string.
14440 * server.el (server-msg-size): New constant.
14441 (server-reply-print): New function.
14442 (server-eval-and-print): Use it.
14443 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14444 Handle -print-nonl.
14446 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14448 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14451 2012-03-11 Chong Yidong <cyd@gnu.org>
14453 * simple.el (goto-line): Doc fix (Bug#9938).
14455 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14457 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14458 when finished (Bug#10963).
14460 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14462 * window.el (split-window-below): Fix bug in case where
14463 split-window-keep-point is nil (Bug#10971).
14465 2012-03-11 Juri Linkov <juri@jurta.org>
14467 * replace.el (replace-highlight): Set isearch-word to nil
14468 unconditionally. (Bug#10887)
14470 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14472 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14473 mairix-replace-illegal-chars; all callers changed. Don't remove
14474 ^, ~, and = characters: they are meaningful in mairix search specs.
14475 (mairix-widget-create-query): Add usage information about mairix
14476 search forms: negating words, searching for substrings, etc.
14478 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14480 * international/fontset.el (font-encoding-alist): Add an entry for
14481 ksx1001 (Bug#5667).
14483 2012-03-10 Richard Stallman <rms@gnu.org>
14485 * mail/sendmail.el (mail-encode-header):
14486 Set rfc2047-encode-encoded-words.
14488 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14490 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14491 view buffer means not swapped.
14492 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14493 (rmail-write-region-annotate): Error if real text has disappeared.
14495 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14497 2012-03-10 Chong Yidong <cyd@gnu.org>
14499 * emulation/cua-rect.el (cua--init-rectangles):
14500 * emulation/cua-base.el (cua--init-keymaps):
14501 Add delete-forward-char to remappings (Bug#9666).
14503 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14505 * speedbar.el (speedbar-unhighlight-one-tag-line):
14506 Avoid unhighlighting due to frame switching (Bug#10275).
14508 2012-03-10 Chong Yidong <cyd@gnu.org>
14510 * minibuffer.el (completion-in-region, completion-help-at-point):
14511 Give the completion field overlay a high priority (Bug#6830).
14513 * dired.el (dired-goto-file): Recognize absolute file name
14514 listings (Bug#7126).
14515 (dired-goto-file-1): New helper function.
14516 (dired-toggle-read-only): Inhibit warnings.
14518 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14520 * net/dbus.el (dbus-property-handler): Return empty array if
14521 there are no properties.
14523 2012-03-09 Leo Liu <sdl.web@gmail.com>
14525 * savehist.el (savehist-printable): Stricter check for string
14528 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14530 * mail/smtpmail.el (smtpmail-send-it):
14531 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14534 2012-03-09 Glenn Morris <rgm@gnu.org>
14536 * files.el (dir-locals-find-file):
14537 Don't check result is regular, readable.
14538 (dir-locals-read-from-file): Demote errors.
14540 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14542 * international/quail.el (quail-insert-kbd-layout):
14543 Insert invisible LRM characters before each character in a keyboard
14544 layout cell, to prevent their reordering by bidi display engine.
14545 For details, see the discussion in
14546 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14548 2012-03-08 Alan Mackenzie <acm@muc.de>
14550 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14551 the starting position; make it extend the marked region when
14552 invoked repeatedly - all under appropriate circumstances.
14553 Fixes bugs #5525, #10906.
14555 2012-03-08 Glenn Morris <rgm@gnu.org>
14557 * files.el (locate-dominating-file, dir-locals-find-file):
14558 Undo 2012-03-06 change.
14560 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14562 * international/quail.el (quail-help):
14563 Force bidi-paragraph-direction be left-to-right. See discussion in
14564 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14567 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14569 Avoid superfluous registering of signals. (Bug#10807)
14571 * notifications.el (notifications-on-action-object)
14572 (notifications-on-close-object): New defvars.
14573 (notifications-on-action-signal, notifications-on-closed-signal):
14574 Unregister the signal if not needed any longer.
14575 (notifications-notify): Register `notifications-action-signal' or
14576 `notifications-closed-signal', if :on-action or :on-close has been
14577 passed as argument.
14579 2012-03-07 Chong Yidong <cyd@gnu.org>
14581 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14584 2012-03-06 Glenn Morris <rgm@gnu.org>
14586 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14587 (x-disown-selection-internal, x-get-selection-internal):
14588 Doc fix (add arglist signatures). (Bug#10783)
14590 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14592 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14593 Handle breakpoints with no "type".
14595 2012-03-06 Glenn Morris <rgm@gnu.org>
14597 * files.el (locate-dominating-file): Add optional predicate argument.
14598 (dir-locals-find-file): Make use of above change.
14600 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14602 * info.el (Info-insert-dir): Also try "dir.gz".
14604 2012-03-06 Glenn Morris <rgm@gnu.org>
14606 * files.el (dir-locals-find-file):
14607 Ignore non-readable or non-regular files. (Bug#10928)
14609 * files.el (locate-dominating-file): Doc fix.
14611 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14613 * calendar/calendar.el (calendar-set-mode-line):
14614 `getenv' returns a string. (Bug#10951)
14616 2012-03-05 Leo Liu <sdl.web@gmail.com>
14618 * simple.el (backward-delete-char-untabify): Constrain point to
14621 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14623 2012-03-05 Chong Yidong <cyd@gnu.org>
14625 * simple.el (count-words): If called from Lisp, return the word
14626 count, for symmetry with `count-lines'. Arglist changed.
14627 (count-words--message): Args changed. Consolidate counting code
14628 from count-words and count-words-region.
14629 (count-words-region): Caller changed.
14630 (count-lines-region): Make it an obsolete alias.
14632 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14634 * saveplace.el (save-place-to-alist)
14635 (save-place-ignore-files-regexp): Allow value nil to disable this
14638 2012-03-04 Chong Yidong <cyd@gnu.org>
14640 * faces.el (face-spec-reset-face): For the default face, reset the
14641 attributes to default values (Bug#10748).
14643 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14645 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14646 previous patch: Check `message-send-mail-function', and not the
14647 default function (bug#10897).
14649 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14651 * notifications.el (notifications-on-action-signal)
14652 (notifications-on-closed-signal): Check for unique service name of
14653 incoming event. Fix error in removing entry.
14654 (top): Register for signals with wildcard service name.
14655 (notifications-notify): Use daemon unique service name for map entries.
14657 2012-03-04 Chong Yidong <cyd@gnu.org>
14659 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14661 2012-03-04 Glenn Morris <rgm@gnu.org>
14663 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14664 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14665 (expand-abbrev, define-abbrev-table): Doc fixes.
14667 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14669 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14670 `message-default-send-mail-function' and not `send-mail-function'
14671 when doing the prompting for `sendmail-query-once' before sending
14672 in Message buffers (bug#10897).
14674 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14675 This is inconsistent with all the other stream functions, which leave
14676 the setting up to the higher levels (if so wanted) (bug#10931).
14678 2012-03-02 Alan Mackenzie <acm@muc.de>
14680 Depessimize the handling of very large macros.
14682 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14683 (c-macro-cache-syntactic): New variables to implement a one
14684 element macro cache.
14685 (c-invalidate-macro-cache): New function.
14686 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14687 Adapt to use the new cache.
14688 (c-state-safe-place): Use better the cache of safe positions.
14689 (c-state-semi-nonlit-pos-cache)
14690 (c-state-semi-nonlit-pos-cache-limit):
14691 New variables for...
14692 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14693 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14694 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14695 Use c-state-semi-safe-place.
14697 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14698 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14700 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14702 * jka-compr.el (jka-compr-call-process):
14703 Apply `file-accessible-directory-p' only when the default directory is
14706 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14708 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14709 access of FILE2, if FILE1 does not exist.
14711 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14712 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14714 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14715 Add "PAGER=" to `process-environment'.
14717 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14719 * progmodes/sql.el: Bug fix
14720 (sql-get-login-ext): Save login values in globals.
14721 (sql-get-login): Use new version of `sql-get-login-ext'.
14722 (sql-interactive-mode): Set global `sql-connection' to nil.
14723 (sql-connect): Set global values for connection.
14724 (sql-product-interactive): Save global values as buffer local.
14726 2012-02-29 Leo Liu <sdl.web@gmail.com>
14728 * abbrev.el (define-abbrevs): Reset sys to nil.
14730 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14732 * files.el (file-equal-p): Rename from `files-equal-p'.
14733 Return nil when one or both files don't exist.
14734 (file-subdir-of-p): Now only top directory must exists,
14735 return nil if it doesn't.
14736 (copy-directory): No need to test with `file-subdir-of-p' after
14738 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14741 2012-02-28 Glenn Morris <rgm@gnu.org>
14743 * shell.el (shell-mode):
14744 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14745 * play/landmark.el (landmark-font-lock-face-O):
14746 * play/handwrite.el (handwrite):
14747 * play/gomoku.el (gomoku-O):
14748 * net/browse-url.el (browse-url-browser-display):
14749 * international/mule.el (define-charset):
14750 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14751 * filesets.el (filesets-find-file-delay):
14752 * eshell/em-xtra.el (eshell-xtra):
14753 * eshell/em-unix.el (eshell-grep):
14754 * emulation/viper.el (viper-mode):
14755 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14756 * emacs-lisp/easymenu.el (easy-menu-define):
14757 * calendar/timeclock.el (timeclock-use-display-time):
14759 * bookmark.el (bookmark-save-flag):
14760 Doc fix (standardize possessive apostrophe usage).
14762 2012-02-27 Chong Yidong <cyd@gnu.org>
14764 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14765 Fix key-binding lookup for ESC key (Bug#9146).
14767 * font-lock.el (font-lock-specified-p): Rename from
14768 font-lock-spec-present. Callers changed.
14770 2012-02-27 Daniel Hackney <dan@haxney.org>
14772 * emacs-lisp/package.el (package-compute-transaction):
14773 Handle holding a package version to t in package-load-list.
14775 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14777 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14778 (tramp-get-inode, tramp-get-device): Use cached values.
14780 2012-02-26 Alan Mackenzie <acm@muc.de>
14782 Check there is a font-lock specification before doing initial
14785 * font-core.el (font-lock-mode): Move the conditional from
14786 :after-hook to font-lock-initial-fontify.
14787 (font-lock-default-function): Move the check for a specification
14788 to font-lock-spec-present.
14790 * font-lock.el (font-lock-initial-fontify): Call ...
14791 (font-lock-spec-present): New function.
14793 2012-02-26 Jim Blandy <jimb@red-bean.com>
14795 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14796 (gdb-send): Apply it to the operand of the '-interpreter-exec
14797 console' command, so that we can pass arguments with (say) quotes
14798 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14800 2012-02-26 Chong Yidong <cyd@gnu.org>
14802 * help-fns.el (describe-function-1): Clarify description of
14803 remapping (Bug#10844).
14805 * files.el (files-equal-p): Doc fix.
14806 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14807 and quit the loop once a mismatch is found.
14809 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14811 * bs.el (bs--show-with-configuration): Don't throw an error
14812 if the window cannot be split; otherwise, subsequent calls to
14813 bs-show fail, restoring a stale window config. (Bug#10882)
14815 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14817 * term/ns-win.el (global-map): Bind ns-drag-file to
14818 ns-find-file (Bug#5855, Bug#10050).
14820 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14822 * calendar/parse-time.el (parse-time-string): Allow extractor to
14825 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14827 * net/tramp.el (tramp-file-name-for-operation):
14828 Add `files-equal-p' and `file-subdir-of-p'.
14830 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14831 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14832 Add COPY-CONTENTS argument.
14834 2012-02-25 Chong Yidong <cyd@gnu.org>
14836 Add custom groups for VC backends, for consistency with vc-bzr.
14838 * vc/vc-arch.el (vc-arch):
14839 * vc/vc-cvs.el (vc-cvs):
14840 * vc/vc-git.el (vc-git):
14841 * vc/vc-hg.el (vc-hg):
14842 * vc/vc-mtn.el (vc-mtn):
14843 * vc/vc-rcs.el (vc-rcs):
14844 * vc/vc-sccs.el (vc-sccs):
14845 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14846 All relevant defcustoms reassigned.
14848 2012-02-25 Chong Yidong <cyd@gnu.org>
14850 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14852 * term/x-win.el (x-initialize-window-system): Reduce default for
14853 x-selection-timeout to 5 seconds (Bug#8869).
14855 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14857 * files.el (files-equal-p, file-subdir-of-p): New functions.
14858 (copy-directory): Error when trying to copy a directory on itself.
14859 Add missing copy-contents arg to tramp handler.
14860 * dired-aux.el (dired-copy-file-recursive): Same.
14861 (dired-create-files): Modify destination when source is equal to
14862 dest when copying files.
14863 Return also when dest is a subdir of source. (Bug#10489)
14865 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14867 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14870 2012-02-23 Alan Mackenzie <acm@muc.de>
14872 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14873 parameter "after-hook:" to allow the expansion to run code after
14874 the execution of the mode hooks.
14876 * font-lock.el (font-lock-initial-fontify): New function extracted
14877 from font-lock-mode-internal.
14879 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14882 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14884 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14885 (completion--cache-all-sorted-completions): New function.
14886 (completion-all-sorted-completions): Use it.
14887 (completion--do-completion, minibuffer-force-complete):
14888 Use it to re-instate the flush hook.
14890 * icomplete.el (icomplete-completions): Replace last fix with a better
14893 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14895 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14896 when it might call us back infinitely (bug#10797).
14898 2012-02-23 Glenn Morris <rgm@gnu.org>
14900 * minibuffer.el (completion-category-overrides): Doc fix.
14902 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14904 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14905 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14907 2012-02-23 Glenn Morris <rgm@gnu.org>
14909 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14910 (authors-obsolete-files-regexps, authors-ignored-files)
14911 (authors-ambiguous-files, authors-renamed-files-alist):
14914 2012-02-23 Juri Linkov <juri@jurta.org>
14916 * isearch.el (isearch-occur): Sync interactive spec with occur's
14917 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14919 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14921 2012-02-22 Juri Linkov <juri@jurta.org>
14923 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14924 (ucs-insert): Doc fix. Check for hex digits in the string.
14925 Don't display `nil' in the error message. (Bug#10857)
14927 2012-02-22 Alan Mackenzie <acm@muc.de>
14929 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14931 2012-02-22 Glenn Morris <rgm@gnu.org>
14933 * ffap.el (ffap-c-path):
14934 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14936 2012-02-22 Chong Yidong <cyd@gnu.org>
14938 * custom.el (load-theme): Doc fix.
14940 2012-02-22 Glenn Morris <rgm@gnu.org>
14942 * dired-x.el (dired-guess-shell-alist-default):
14943 Remove escape sequences from nroff output. (Bug#172)
14945 2012-02-21 Glenn Morris <rgm@gnu.org>
14947 * vc/emerge.el (emerge-defvar-local):
14948 Set `permanent-local' property rather than unused `preserved'.
14950 * textmodes/picture.el (picture-delete-char): New alias.
14951 (picture-mode-map): Use it. (Bug#10860)
14952 (picture-mode): Doc fix.
14954 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14956 * newcomment.el (uncomment-region-default): Remove unused binding.
14958 2012-02-21 Glenn Morris <rgm@gnu.org>
14960 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14961 (picture-self-insert, picture-tab-chars): Doc fix.
14962 (picture-mode-map): Fix C-a, C-e.
14964 2012-02-20 Glenn Morris <rgm@gnu.org>
14966 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14968 2012-02-20 Leo Liu <sdl.web@gmail.com>
14970 * icomplete.el (icomplete-completions): Check FROM arg before
14971 passing to substring (Bug#10850).
14973 2012-02-19 Chong Yidong <cyd@gnu.org>
14975 * comint.el: Require ansi-color.
14976 (comint-output-filter-functions): Add ansi-color-process-output.
14978 * ansi-color.el: Don't set comint-output-filter-functions; it is
14979 now in the initial value defined in comint.el.
14980 (ansi-color-apply-face-function): New variable.
14981 (ansi-color-apply-on-region): Use it.
14982 (ansi-color-apply-overlay-face): New function.
14984 * shell.el (shell): No need to require ansi-color.
14985 (shell-mode): Use ansi-color-apply-face-function to highlight
14986 color escapes using font-lock-face property (Bug#10835).
14988 2012-02-19 Chong Yidong <cyd@gnu.org>
14990 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14991 mode-line formats (Bug#10839).
14993 2012-02-18 Glenn Morris <rgm@gnu.org>
14995 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14997 * mail/undigest.el (unforward-rmail-message): Doc fix.
14999 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15001 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15003 * international/characters.el (script-list): Sync with the latest
15004 Unicode Character Database.
15006 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15008 * international/titdic-cnv.el: Remove duplicate coding tag.
15009 * language/cham.el: Likewise.
15010 * language/tai-viet.el: Likewise.
15012 2012-02-18 Glenn Morris <rgm@gnu.org>
15014 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15015 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15016 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15017 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15018 * calendar/holidays.el (holiday-bahai-holidays)
15019 (calendar-holidays, list-holidays):
15020 Use utf-8 Bahá'í in doc-strings, menus, etc.
15022 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15024 * saveplace.el (save-place-ignore-files-regexp): New variable
15025 allowing for excluding files from saving their location of point.
15026 The default value matches the temporary commit message editing
15027 files from Git, SVN, Bazaar, and Mercurial.
15028 (save-place-to-alist): Use it.
15030 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15031 Stefan Monnier <monnier@iro.umontreal.ca>
15033 * newcomment.el (uncomment-region-default): Don't leave extra space
15034 when an arg is provided (bug#8150).
15036 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15038 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15040 2012-02-17 Glenn Morris <rgm@gnu.org>
15042 * net/socks.el: Require network-stream. (Bug#10599)
15044 2012-02-17 Kenichi Handa <handa@m17n.org>
15046 * international/charprop.el:
15047 * international/uni-name.el:
15048 * international/uni-old-name.el:
15049 * international/uni-comment.el: Regenerate.
15051 2012-02-16 Glenn Morris <rgm@gnu.org>
15053 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15054 Interactively in calendar buffer, give an error if not on a date.
15056 2012-02-15 Glenn Morris <rgm@gnu.org>
15058 * shell.el (shell-delimiter-argument-list):
15059 Revert 2011-02-17 change. (Bug#8027)
15061 2012-02-15 Chong Yidong <cyd@gnu.org>
15063 * minibuffer.el (completion-at-point-functions): Doc fix.
15065 * custom.el (defcustom): Doc fix; note use of defvar.
15067 2012-02-15 Glenn Morris <rgm@gnu.org>
15069 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15072 2012-02-14 Glenn Morris <rgm@gnu.org>
15074 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15076 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15078 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15079 way the ports list is computed.
15080 (smtpmail-query-smtp-server): Prompt the user for a port number if
15081 we can't connect to any of the standard ports (bug#10810).
15083 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15085 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15087 2012-02-13 Glenn Morris <rgm@gnu.org>
15089 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15091 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15093 * net/gnutls.el (gnutls-trustfiles): New variable.
15094 (gnutls-negotiate): Use it.
15096 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15098 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15099 does its stuff if Gnus is running.
15101 2012-02-13 Alan Mackenzie <acm@muc.de>
15103 Fix a loop in c-set-fl-decl-start.
15105 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15106 c-backward-syntactic-ws actually moves backwards.
15108 2012-02-13 Leo Liu <sdl.web@gmail.com>
15110 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15111 beginning so that all \C-o chars are removed.
15113 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15115 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15117 2012-02-12 Alan Mackenzie <acm@muc.de>
15119 Fix infinite loop with long macros.
15120 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15122 2012-02-12 Chong Yidong <cyd@gnu.org>
15124 * window.el (display-buffer): Doc fix (Bug#10785).
15126 2012-02-12 Glenn Morris <rgm@gnu.org>
15128 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15129 (x-disown-selection-internal, x-get-selection-internal):
15130 Sync docs with the xselect.c versions.
15132 * allout-widgets.el: Add missing license notice.
15134 2012-02-11 Glenn Morris <rgm@gnu.org>
15136 * select.el (x-get-selection-internal, x-own-selection-internal)
15137 (x-disown-selection-internal):
15138 * x-dnd.el (x-get-selection-internal): Update declarations.
15140 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15142 * window.el (window-sides-slots):
15143 * tool-bar.el (tool-bar-position):
15144 * term/xterm.el (xterm-extra-capabilities):
15145 * ses.el (ses-self-reference-early-detection):
15146 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15147 (verilog-auto-wire-type)
15148 (verilog-auto-delete-trailing-whitespace)
15149 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15150 (verilog-auto-tieoff-declaration):
15151 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15152 (sql-oracle-statement-starters, sql-oracle-scan-on):
15153 * progmodes/prolog.el (prolog-align-comments-flag)
15154 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15155 (prolog-left-indent-regexp, prolog-paren-indent-p)
15156 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15157 (prolog-types, prolog-mode-specificators)
15158 (prolog-determinism-specificators, prolog-directives)
15159 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15160 (prolog-electric-dot-flag)
15161 (prolog-electric-dot-full-predicate-template)
15162 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15163 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15164 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15165 (prolog-program-switches, prolog-prompt-regexp)
15166 (prolog-debug-on-string, prolog-debug-off-string)
15167 (prolog-trace-on-string, prolog-trace-off-string)
15168 (prolog-zip-on-string, prolog-zip-off-string)
15169 (prolog-use-standard-consult-compile-method-flag)
15170 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15171 (prolog-imenu-max-lines, prolog-info-predicate-index)
15172 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15173 (prolog-char-quote-workaround):
15174 * progmodes/cc-vars.el (c-defun-tactic):
15175 * net/tramp.el (tramp-encoding-command-interactive)
15176 (tramp-local-end-of-line):
15177 * net/soap-client.el (soap-client):
15178 * net/netrc.el (netrc-file):
15179 * net/gnutls.el (gnutls):
15180 * minibuffer.el (completion-category-overrides)
15181 (completion-cycle-threshold)
15182 (completion-pcm-complete-word-inserts-delimiters):
15183 * man.el (Man-name-local-regexp):
15184 * mail/feedmail.el (feedmail-display-full-frame):
15185 * international/characters.el (glyphless-char-display-control):
15186 * eshell/em-ls.el (eshell-ls-date-format):
15187 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15188 (lisp-lambda-list-keyword-parameter-indentation)
15189 (lisp-lambda-list-keyword-parameter-alignment):
15190 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15191 * dired-x.el (dired-omit-verbose):
15192 * cus-theme.el (custom-theme-allow-multiple-selections):
15193 * calc/calc.el (calc-highlight-selections-with-faces)
15194 (calc-lu-field-reference, calc-lu-power-reference)
15195 (calc-note-threshold):
15196 * battery.el (battery-mode-line-limit):
15197 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15198 (archive-7z-update):
15199 * allout.el (allout-prefixed-keybindings)
15200 (allout-unprefixed-keybindings)
15201 (allout-inhibit-auto-fill-on-headline)
15202 (allout-flattened-numbering-abbreviation):
15203 * allout-widgets.el (allout-widgets-auto-activation)
15204 (allout-widgets-icons-dark-subdir)
15205 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15206 (allout-widgets-theme-dark-background)
15207 (allout-widgets-theme-light-background)
15208 (allout-widgets-item-image-properties-emacs)
15209 (allout-widgets-item-image-properties-xemacs)
15210 (allout-widgets-run-unit-tests-on-load)
15211 (allout-widgets-time-decoration-activity)
15212 (allout-widgets-hook-error-post-time)
15213 (allout-widgets-track-decoration):
15214 Add missing :version tags to new defcustoms and defgroups.
15216 * progmodes/sql.el (sql-ansi-statement-starters)
15217 (sql-oracle-statement-starters): Add custom type.
15219 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15220 (prolog-system-version): Give it a type.
15222 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15224 * term/pc-win.el (x-select-text, x-selection-owner-p)
15225 (x-own-selection-internal, x-disown-selection-internal)
15226 (x-get-selection-internal): Sync doc strings and argument lists
15227 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15229 2012-02-11 Leo Liu <sdl.web@gmail.com>
15231 * progmodes/python.el (python-end-of-statement): Fix infinite
15234 2012-02-10 Glenn Morris <rgm@gnu.org>
15236 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15237 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15239 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15241 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15242 about SMTP before checking the From header.
15244 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15245 into own function for reuse by emacsbug.el.
15247 2012-02-10 Leo Liu <sdl.web@gmail.com>
15249 * subr.el (condition-case-unless-debug): Rename from
15250 condition-case-no-debug. All callers changed.
15251 (with-demoted-errors): Fix caller.
15253 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15254 * nxml/rng-valid.el (rng-do-some-validation):
15255 * emacs-lisp/package.el (package-refresh-contents)
15256 (package-menu-execute):
15257 * desktop.el (desktop-create-buffer):
15258 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15260 2012-02-10 Glenn Morris <rgm@gnu.org>
15262 * textmodes/bibtex.el:
15263 Add missing :version tags for new/changed defcustoms.
15265 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15267 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15269 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15270 (smtpmail-via-smtp): Use it, or fall back on the From address.
15271 (smtpmail-send-it): Ditto.
15273 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15275 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15276 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15277 (byte-compile-tmp-var): New const.
15278 (byte-compile-defvar): Use it to minimize .elc size.
15279 Just use `defvar' rather than simulate it (bug#10761).
15281 2012-02-09 Glenn Morris <rgm@gnu.org>
15283 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15285 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15288 * progmodes/compile.el (compilation-error-screen-columns)
15289 (compilation-first-column, compilation-filter-start): Doc fixes.
15291 * vc/log-view.el (log-view-toggle-entry-display):
15292 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15294 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15295 (report-emacs-bug-can-use-xdg-email):
15296 (report-emacs-bug-insert-to-mailer): Doc fixes.
15297 (report-emacs-bug): Message fix.
15299 * net/browse-url.el (browse-url-can-use-xdg-open)
15300 (browse-url-xdg-open): Doc fixes.
15302 * electric.el (electric-indent-mode, electric-pair-mode)
15303 (electric-layout-rules, electric-layout-mode): Doc fixes.
15304 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15306 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15308 * server.el (server-unselect-display): Don't inadvertently kill
15309 the current buffer. (Bug#10729)
15311 2012-02-08 Glenn Morris <rgm@gnu.org>
15313 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15314 (sql-list-table): Doc fixes.
15316 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15317 Comment out (does nothing).
15319 * completion.el (dynamic-completion-mode):
15320 * dirtrack.el (dirtrack-debug-mode):
15321 * electric.el (electric-layout-mode):
15322 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15323 * face-remap.el (text-scale-mode, buffer-face-mode):
15324 * iimage.el (iimage-mode):
15325 * image-mode.el (image-transform-mode):
15326 * minibuffer.el (completion-in-region-mode):
15327 * scroll-lock.el (scroll-lock-mode):
15328 * simple.el (next-error-follow-minor-mode):
15329 * tar-mode.el (tar-subfile-mode):
15330 * tooltip.el (tooltip-mode):
15331 * vcursor.el (vcursor-use-vcursor-map):
15332 * wid-browse.el (widget-minor-mode):
15333 * emulation/tpu-edt.el (tpu-edt-mode):
15334 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15335 * international/iso-ascii.el (iso-ascii-mode):
15336 * language/thai-util.el (thai-word-mode):
15337 * mail/supercite.el (sc-minor-mode):
15338 * net/goto-addr.el (goto-address-mode):
15339 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15340 * progmodes/cwarn.el (cwarn-mode):
15341 * progmodes/flymake.el (flymake-mode):
15342 * progmodes/glasses.el (glasses-mode):
15343 * progmodes/hideshow.el (hs-minor-mode):
15344 * progmodes/pascal.el (pascal-outline-mode):
15345 * textmodes/enriched.el (enriched-mode):
15346 * vc/smerge-mode.el (smerge-mode):
15347 Doc fixes (minor mode argument).
15349 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15351 * ls-lisp.el (ls-lisp-sanitize): New function.
15352 (ls-lisp-insert-directory): Use it to fix or remove any elements
15353 in file-alist with missing attributes. (Bug#4673)
15355 2012-02-07 Alan Mackenzie <acm@muc.de>
15357 Fix spurious recognition of c-in-knr-argdecl.
15359 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15360 putative K&R region.
15362 2012-02-07 Alan Mackenzie <acm@muc.de>
15364 * progmodes/cc-engine.el (c-forward-objc-directive):
15365 Prevent looping in "#pragma mark @implementation".
15367 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15369 * notifications.el (notifications-on-closed-signal): Make `reason'
15370 optional. (Bug#10744)
15372 2012-02-07 Glenn Morris <rgm@gnu.org>
15374 * emacs-lisp/easy-mmode.el (define-minor-mode):
15375 Doc fixes for the macro and the mode it defines.
15377 * image.el (imagemagick-types-inhibit): Doc fix.
15379 * cus-start.el (imagemagick-render-type): Add it.
15381 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15383 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15384 Set the default at load time, too, so that `font-lock-fontify-buffer'
15385 can be called without setting up the entire mode first. This fixes
15386 a bug in `mm-inline-text' with C MIME parts.
15388 2012-02-06 Chong Yidong <cyd@gnu.org>
15390 * simple.el (list-processes--refresh): Delete exited processes
15393 * comint.el (comint-next-prompt): next-single-char-property-change
15394 and prev-single-char-property-change never return nil (Bug#8657).
15396 * custom.el (defcustom): Doc fix (Bug#9711).
15398 2012-02-05 Chong Yidong <cyd@gnu.org>
15400 * cus-edit.el (custom-variable-reset-backup): Quote the value
15401 before storing it in the customized-value property (Bug#6712).
15402 (custom-display): Add a customization type tag.
15403 (custom-buffer-create-internal): Improve tooltip message.
15405 * wid-edit.el (widget-field-value-get): New optional arg to
15406 suppress trailing whitespace truncation.
15407 (character): Use it (Bug#2689).
15409 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15411 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15412 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15414 2012-02-05 Chong Yidong <cyd@gnu.org>
15416 * cus-edit.el (custom-variable-value-create): For mismatched
15417 types, show the current value (Bug#7600).
15419 * custom.el (defcustom): Doc fix.
15421 2012-02-05 Glenn Morris <rgm@gnu.org>
15423 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15425 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15427 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15428 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15429 (pp-last-sexp): Use `looking-at-p'.
15431 2012-02-04 Glenn Morris <rgm@gnu.org>
15433 * files.el (revert-buffer):
15434 Doc fix (mention revert-buffer-in-progress-p).
15436 * emacs-lisp/ert-x.el (ert-simulate-command):
15437 Check deferred-action-list (which is obsolete) is bound.
15439 * subr.el (with-wrapper-hook): Doc fixes.
15441 * simple.el (filter-buffer-substring-functions)
15442 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15444 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15446 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15447 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15449 2012-02-04 Leo Liu <sdl.web@gmail.com>
15451 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15453 2012-02-04 Glenn Morris <rgm@gnu.org>
15455 * image.el (image-extension-data): Add obsolete alias.
15457 * isearch.el (isearch-update): Doc fix.
15459 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15461 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15463 2012-02-03 Glenn Morris <rgm@gnu.org>
15465 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15466 (image-animate-timeout): Doc fix.
15468 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15470 2012-02-02 Glenn Morris <rgm@gnu.org>
15472 * server.el (server-auth-dir): Doc fix.
15473 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15475 * subr.el (run-mode-hooks): Doc fix.
15477 2012-02-02 Juri Linkov <juri@jurta.org>
15479 * image-mode.el (image-toggle-display-image): Remove tautological
15480 `major-mode' from the `derived-mode-p' test.
15482 2012-02-02 Kenichi Handa <handa@m17n.org>
15484 * composite.el (compose-region): Cancel previous change.
15486 2012-02-02 Kenichi Handa <handa@m17n.org>
15488 * composite.el (compose-region, compose-string): Signal error for
15489 a null string component (Bug#6988).
15491 2012-02-01 Chong Yidong <cyd@gnu.org>
15493 * view.el (view-buffer-other-window, view-buffer-other-frame):
15494 Handle special modes like view-buffer (Bug#10650).
15495 (view-buffer): Simplify.
15497 * frame.el (set-frame-font): Tweak meaning of third argument.
15499 * dynamic-setting.el (font-setting-change-default-font):
15500 Use set-frame-font (Bug#9982).
15502 2012-02-01 Glenn Morris <rgm@gnu.org>
15504 * progmodes/compile.el (compilation-internal-error-properties):
15505 Respect compilation-first-column in the "*compilation*" buffer.
15507 * emacs-lisp/easy-mmode.el (define-minor-mode):
15508 Relax :variable's test for a named function.
15510 2012-01-31 Alan Mackenzie <acm@muc.de>
15512 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15515 2012-01-31 Chong Yidong <cyd@gnu.org>
15517 * frame.el (set-frame-font): New arg ALL-FRAMES.
15519 * menu-bar.el (menu-set-font): Use set-frame-font.
15521 * faces.el (face-spec-reset-face): Don't apply unspecified
15522 attribute values to the default face.
15524 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15526 * progmodes/cwarn.el (cwarn): Remove dead link.
15527 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15528 Remove * from defcustom docstrings.
15529 (turn-on-cwarn-mode): Make obsolete.
15530 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15531 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15533 2012-01-31 Glenn Morris <rgm@gnu.org>
15535 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15536 Fix :variable handling of mode a symbol not equal to modefun.
15537 Allow named functions to be used as the cdr of :variable.
15539 2012-01-30 Glenn Morris <rgm@gnu.org>
15541 * emacs-lisp/authors.el (authors-fixed-entries):
15542 Remove reference to deleted file rnewspost.el.
15544 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15546 * window.el (window-with-parameter): Remove unused variable `windows'.
15547 (window--side-check): Remove unused variable `code'.
15548 (window--resize-siblings): Remove unused variable `first'.
15549 (adjust-window-trailing-edge): Remove unused variable `failed'.
15550 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15551 Use `let', not `let*'.
15552 (balance-windows-2): Remove unused variable `found'.
15553 (window--state-put-2): Remove unused variable `splits'.
15554 (window-state-put): Remove unused variable `selected'.
15555 (same-window-p): Use `string-match-p'.
15556 (display-buffer-assq-regexp): Remove unused variable `value'.
15557 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15558 Mark argument ALIST as ignored.
15559 (pop-to-buffer): Remove unused variable `old-window'.
15561 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15563 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15564 and .lzma compressed files.
15566 2012-01-29 Chong Yidong <cyd@gnu.org>
15568 * frame.el (window-system-default-frame-alist): Doc fix.
15570 * dynamic-setting.el (font-setting-change-default-font): Don't
15571 change the default face if SET-FONT argument is non-nil (Bug#9982).
15573 2012-01-29 Samuel Bronson <naesten@gmail.com>
15575 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15577 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15579 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15580 breakpoints in files outside current directory (Bug#6098).
15582 2012-01-29 Chong Yidong <cyd@gnu.org>
15584 * progmodes/python.el: Require ansi-color at top-level.
15586 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15587 Define and use in Emacs Lisp mode (Bug#9360).
15588 (lisp-mode-abbrev-table): Add doc.
15589 (lisp-mode-variables): Don't set local-abbrev-table.
15590 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15592 2012-01-28 Roland Winkler <winkler@gnu.org>
15594 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15596 2012-01-28 Roland Winkler <winkler@gnu.org>
15598 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15599 (bibtex-set-dialect): Use it. Either set global values of
15600 dialect-dependent variables or bind these variables buffer-locally
15602 (bibtex-mode): Call bibtex-set-dialect via
15603 hack-local-variables-hook.
15604 (bibtex-dialect): Update docstring.
15605 Add safe-local-variable predicate.
15606 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15607 bibtex-set-dialect.
15608 (bibtex-mode-map): Define menu for each dialect.
15609 (bibtex-entry): Fix docstring.
15611 2012-01-28 Chong Yidong <cyd@gnu.org>
15613 * eshell/esh-arg.el (eshell-quote-argument): New function.
15615 * eshell/esh-ext.el (eshell-invoke-batch-file):
15616 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15617 first arg to eshell-parse-command (Bug#10523).
15619 2012-01-28 Drew Adams <drew.adams@oracle.com>
15621 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15622 `default-directory' is non-nil.
15624 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15626 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15627 line that displays system-configuration-options. (Bug#9924)
15629 2012-01-28 Drew Adams <drew.adams@oracle.com>
15631 * descr-text.el (describe-char): Show information about POS, in
15632 addition to information about the character at POS. Improve and
15633 update the doc string. Change "code point" to "code point in
15634 charset", to avoid confusion with the character's Unicode code
15635 point shown above that. (Bug#10129)
15637 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15639 * descr-text.el (describe-char): Show the raw character, not only
15640 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15641 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15644 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15646 * emacs-lisp/package.el (package-install):
15647 Run package-refresh-contents if there is no archive yet (Bug#9798).
15649 2012-01-28 Chong Yidong <cyd@gnu.org>
15651 * emacs-lisp/package.el (package-maybe-load-descriptor):
15652 New function, split from package-maybe-load-descriptor.
15653 (package-maybe-load-descriptor): Use it.
15654 (package-download-transaction): Fully load required packages
15655 inside the loop, so that `require' calls work (Bug#10593).
15656 (package-install): No need to call package-initialize now.
15658 2012-01-28 Chong Yidong <cyd@gnu.org>
15660 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15662 * tooltip.el (tooltip-mode): Doc fix.
15663 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15665 * frame.el (set-cursor-color): Doc fix (Bug#352).
15667 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15668 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15670 * cus-edit.el (custom-buffer-create-internal): Fix search button
15671 action (Bug#10542).
15672 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15674 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15676 * dired.el (dired-mark-files-regexp):
15677 Include any subdirectory components. (Bug#10445)
15679 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15681 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15682 Handle [host]:port syntax. (Bug#10533)
15684 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15686 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15688 2012-01-26 Glenn Morris <rgm@gnu.org>
15690 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15691 * term.el (term-raw-escape-map): Use Control-X-prefix.
15692 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15694 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15696 * window.el (window-state-get, window--state-get-1): Don't deal
15697 with fixed-sizeness of windows. Simplify code.
15699 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15701 * window.el (window--state-get-1, window--state-put-2):
15702 Don't save and restore the mark.
15704 2012-01-25 Chong Yidong <cyd@gnu.org>
15706 * custom.el (custom-variable-p): Doc fix.
15708 2012-01-25 Glenn Morris <rgm@gnu.org>
15710 * dired.el (dired-goto-file): Handle some of the more common
15711 characters that `ls -b' escapes. (Bug#10596)
15713 * progmodes/compile.el (compilation-next-error-function):
15714 Respect compilation-first-column in the "*compilation*" buffer.
15715 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15717 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15719 2012-01-24 Glenn Morris <rgm@gnu.org>
15721 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15723 2012-01-24 Julien Danjou <julien@danjou.info>
15725 * color.el (color-rgb-to-hsl): Fix value computing.
15726 (color-hue-to-rgb): New function.
15727 (color-hsl-to-rgb): New function.
15728 (color-clamp, color-saturate-hsl, color-saturate-name)
15729 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15730 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15732 2012-01-24 Glenn Morris <rgm@gnu.org>
15734 * vc/vc-rcs.el (vc-rcs-create-tag):
15735 * vc/vc-sccs.el (vc-sccs-create-tag):
15736 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15738 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15740 * eshell/esh-util.el (eshell-read-hosts-file):
15741 Skip comment lines. (Bug#10549)
15743 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15745 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15747 * subr.el (display-delayed-warnings): Doc fix.
15748 (collapse-delayed-warnings): New function to collapse identical
15750 (delayed-warnings-hook): Add it.
15752 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15754 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15756 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15757 (tramp-default-user-alist): Don't add "pscp".
15758 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15759 property "login-as", if set. (Bug#10530)
15761 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15763 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15764 "plink1" and "psftp". (Bug#10530)
15766 2012-01-21 Kenichi Handa <handa@m17n.org>
15768 * international/mule-cmds.el (prefer-coding-system): Show a
15769 warning message if the default value of file-name-coding-system
15772 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15774 * windmove.el (windmove-reference-loc):
15775 Fix windmove-reference-loc miscalculation.
15777 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15779 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15782 2012-01-21 Glenn Morris <rgm@gnu.org>
15784 * international/mule.el (auto-coding-alist): Add .tbz.
15786 * files.el (local-enable-local-variables): Doc fix.
15787 (inhibit-local-variables-regexps): Rename from
15788 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15789 Doc fix. Add some extensions from auto-coding-alist.
15790 (inhibit-local-variables-suffixes):
15791 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15792 (inhibit-local-variables-p):
15793 New function, extracted from set-auto-mode-1.
15794 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15795 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15796 (hack-local-variables): Doc fix. Make the mode-only case
15797 respect enable-local-variables and friends.
15798 Respect inhibit-local-variables-regexps for file-locals, but
15799 not for directory-locals.
15800 (set-visited-file-name):
15801 Take account of inhibit-local-variables-regexps.
15802 Whether it applies may change as the file name is changed.
15803 * jka-cmpr-hook.el (jka-compr-install):
15804 * jka-compr.el (jka-compr-uninstall):
15805 Update for inhibit-first-line-modes-suffixes name change.
15807 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15809 * help-macro.el (make-help-screen): Temporarily restore original
15810 binding for minor-mode-map-alist (Bug#10454).
15812 2012-01-19 Julien Danjou <julien@danjou.info>
15814 * color.el (color-name-to-rgb): Use the white color to find the max
15815 color component value and return correctly computed values.
15816 (color-name-to-rgb): Add missing float conversion for max value.
15818 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15820 * window.el (window--state-get-1, window-state-get): Do not use
15821 special state value for window-persistent-parameters.
15822 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15823 (window--state-put-2): Reset all window parameters to nil before
15824 assigning values of persistent parameters.
15826 2012-01-18 Alan Mackenzie <acm@muc.de>
15828 Eliminate sluggishness and hangs in fontification of "semicolon
15831 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15832 Change value 10000 -> 3000.
15833 (c-state-safe-place): Reformulate so it doesn't stack up an
15834 infinite number of wrong entries in c-state-nonlit-pos-cache.
15835 (c-determine-limit-get-base, c-determine-limit): New functions to
15836 determine backward search limits disregarding literals.
15837 (c-find-decl-spots): Amend commenting.
15838 (c-cheap-inside-bracelist-p): New function which detects "={".
15840 * progmodes/cc-fonts.el
15841 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15843 (c-font-lock-declarations): Fix an occurrence of point being
15844 undefined. Check additionally for point being in a bracelist or
15845 near a macro invocation without a semicolon so as to avoid a
15846 fruitless time consuming search for a declarator. Give a more
15847 precise search limit for declarators using the new
15850 2012-01-18 Glenn Morris <rgm@gnu.org>
15852 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15853 (set-auto-mode): Doc fixes.
15855 2012-01-17 Glenn Morris <rgm@gnu.org>
15857 * isearch.el (search-nonincremental-instead): Fix doc typo.
15859 * dired.el (dired-insert-directory): Handle newlines in directory name.
15860 (dired-build-subdir-alist): Unescape newlines in directory name.
15862 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15864 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15865 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15866 (tramp-action-terminal): Use it. (Bug#10530)
15868 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15870 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15872 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15874 * window.el (window-state-ignored-parameters): Remove variable.
15875 (window--state-get-1): Rename argument MARKERS to IGNORE.
15876 Handle persistent window parameters. Make copy of clone-of
15877 parameter only if requested. (Bug#10348)
15878 (window--state-put-2): Install a window parameter only if it has
15879 a non-nil value or an existing parameter shall be overwritten.
15881 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15883 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15885 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15887 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15888 don't pass the (nil) value of `upnode' to string-match.
15890 2012-01-14 Chong Yidong <cyd@gnu.org>
15892 * startup.el (command-line): Fix X resource class for cursorColor.
15893 Fix values recognized by the cursorBlink resource.
15895 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15897 * epg.el (epg--make-temp-file): Avoid permission race condition
15898 when running on old Emacs versions (bug#10403).
15900 2012-01-14 Glenn Morris <rgm@gnu.org>
15902 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15904 2012-01-13 Alan Mackenzie <acm@muc.de>
15906 Fix filling for when filladapt mode is enabled.
15908 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15909 c-mask-paragraph, pass in `fill-paragraph' rather than
15910 `fill-region-as-paragraph'. (This is a reversion of a previous
15912 * progmodes/cc-mode.el (c-basic-common-init):
15913 Make fill-paragraph-handle-comment buffer local and set it to nil.
15915 2012-01-13 Glenn Morris <rgm@gnu.org>
15917 * dired.el (dired-switches-escape-p): New function.
15918 (dired-insert-directory): Use dired-switches-escape-p.
15919 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15921 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15923 2012-01-12 Glenn Morris <rgm@gnu.org>
15925 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15926 changes in adaptive-fill-regexp. (Bug#10276)
15928 2012-01-11 Alan Mackenzie <acm@muc.de>
15930 Fix Emacs bug #10463 - put `widen's around the critical spots.
15932 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15933 widen around each invocation of c-state-pp-to-literal. Remove an
15934 unused let variable.
15936 2012-01-11 Glenn Morris <rgm@gnu.org>
15938 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15941 2012-01-10 Chong Yidong <cyd@gnu.org>
15943 * net/network-stream.el (network-stream-open-starttls):
15944 Avoid emitting a confusing error message when the server gives a bad
15945 response to the capability command.
15947 2012-01-10 Glenn Morris <rgm@gnu.org>
15949 * mail/unrmail.el (unrmail): Tweak previous change.
15951 2012-01-09 Chong Yidong <cyd@gnu.org>
15953 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15955 2012-01-08 Alan Mackenzie <acm@muc.de>
15957 Optimize font locking in long enum definitions.
15959 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15960 arm to a cond form to handle enums.
15961 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15962 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15964 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15966 * files.el (move-file-to-trash): Preserve default file modes on error.
15969 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971 * faces.el (set-face-attribute): Clarify the meaning of the nil
15974 * subr.el (with-selected-frame): Mention that the selected frame
15975 is restored (bug#9980).
15977 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15980 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15981 (password-read): Don't autoload unused function.
15983 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15985 * progmodes/which-func.el (which-func-mode): Turn into a
15986 non-interactive function and mark as obsolete (bug#10428).
15988 2012-01-06 Chong Yidong <cyd@gnu.org>
15990 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15991 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15992 functions, along with 1 and -1.
15994 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15996 * time.el (display-time-load-average)
15997 (display-time-default-load-average): Doc fixes. See the thread
15999 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16002 2012-01-06 Glenn Morris <rgm@gnu.org>
16004 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16005 has no messages. (Bug#10377)
16007 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16008 than Info-edit. (Bug#10385)
16010 * time.el (display-time-load-average, display-time-next-load-average):
16013 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16014 local setting of buffer-read-only to the input buffer. (Bug#10419)
16016 * calendar/calendar.el (calendar-mode):
16017 Locally set scroll-margin to 0. (Bug#10379)
16019 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16021 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16023 2012-01-05 Glenn Morris <rgm@gnu.org>
16025 * eshell/em-unix.el (diff-no-select): Autoload it.
16026 (eshell/diff): Use diff-no-select. (Bug#10420)
16028 2012-01-05 Chong Yidong <cyd@gnu.org>
16030 * shell.el (shell-dynamic-complete-functions): Revert last change.
16031 (shell-command-completion-function): New function.
16032 (shell-completion-vars): Use it to implement
16033 shell-completion-execonly (Bug#10417).
16035 * custom.el (enable-theme): Don't set custom-safe-themes.
16037 * cus-theme.el (custom-theme-merge-theme):
16038 Ignore custom-enabled-themes and custom-safe-themes.
16040 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16042 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16043 first prompt in `sql-interacive-mode'.
16044 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16046 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16047 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16048 context of original buffer. Invoke `sql-login-hook'.
16050 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16052 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16053 letters in cite-prefix.
16055 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16057 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16059 2012-01-03 Chong Yidong <cyd@gnu.org>
16061 * shell.el (shell-dynamic-complete-functions):
16062 Put pcomplete-completions-at-point, so as to try
16063 comint-filename-completion first (Bug#10417).
16065 2012-01-02 Richard Stallman <rms@gnu.org>
16067 * battery.el (battery-status-function):
16068 Detect when to use battery-yeeloong-sysfs.
16069 (battery-echo-area-format): Add string for Yeeloong.
16070 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16071 (battery-yeeloong-sysfs): New function.
16073 2012-01-02 Chong Yidong <cyd@gnu.org>
16075 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16076 (dirtrack): Merge code for handling relative filenames in prompt
16077 from shell-dir-cookie-watcher.
16078 (dirtrack-debug-message): New arg to avoid excess format calls.
16080 * shell.el (shell-dir-cookie-re): Variable deleted.
16081 (shell-dir-cookie-watcher): Function deleted.
16082 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16083 with dirtrack-mode.
16085 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16087 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16088 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16091 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16093 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16095 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16097 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16098 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16100 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16102 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16103 also for alternative shells.
16104 (tramp-open-connection-setup-interactive-shell): Check, whether
16105 the shell is a busybox.
16106 (tramp-send-command): Don't suppress multiple prompts for
16107 busyboxes, it hurts.
16109 2011-12-28 Chong Yidong <cyd@gnu.org>
16111 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16112 (gdb-get-source-file): Move mode line update to
16113 gdb-get-source-file (Bug#10087).
16115 2011-12-25 Chong Yidong <cyd@gnu.org>
16117 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16118 gud-gdb-marker-filter without taking it as an argument.
16119 (gud-gdb-run-command-fetch-lines): Caller changed.
16120 (gud-gdb-completion-function): New variable.
16121 (gud-gdb-completion-at-point): Use it.
16122 (gud-gdb-completions-1): Split from gud-gdb-completions.
16124 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16125 function as separate arguments.
16126 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16127 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16128 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16129 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16130 (gdb-stopped, def-gdb-auto-update-trigger)
16131 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16132 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16134 (gud-gdbmi-completions): New function.
16135 (gdb): Use it for generating the completion table.
16137 2011-12-24 Alan Mackenzie <acm@muc.de>
16139 Introduce a mechanism to widen the region used in context font
16140 locking. Use this to protect declarations from losing their contexts.
16142 * progmodes/cc-langs.el (c-before-font-lock-functions):
16143 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16144 (c-before-context-fontification-functions): New defvar, a list of
16145 functions to be run just before context (etc.) font locking.
16147 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16148 New, functionality extracted from
16149 c-neutralize-syntax-in-and-mark-CPP.
16150 (c-in-after-change-fontification): New variable.
16151 (c-after-change): Set c-in-after-change-fontification.
16152 (c-set-fl-decl-start): Rejig its interface, so it can be called
16153 from both after-change and context fontifying.
16154 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16156 (c-standard-font-lock-fontify-region-function): New variable.
16157 (c-font-lock-fontify-region): New function.
16159 2011-12-24 Juri Linkov <juri@jurta.org>
16161 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16164 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16166 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16167 existence of source file. (Bug#10325)
16169 2011-12-23 Alan Mackenzie <acm@muc.de>
16171 Fix unstable fontification inside templates.
16173 * progmodes/cc-langs.el (c-before-font-lock-functions):
16174 Newly created from the singular version. The (c c++ objc) entry now
16175 additionally has c-set-fl-decl-start. The other languages (apart
16176 from AWK) have that as a single entry.
16178 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16179 The functionality for "local" declarations has been extracted to
16180 c-set-fl-decl-start.
16182 * progmodes/cc-mode.el (c-common-init, c-after-change):
16183 Changes due to pluralisation of c-before-font-lock-functions.
16184 (c-set-fl-decl-start): New function, extracted from
16185 c-font-lock-enclosing-decls and enhanced.
16187 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16189 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16191 2011-12-22 Juri Linkov <juri@jurta.org>
16193 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16195 2011-12-22 Chong Yidong <cyd@gnu.org>
16197 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16199 2011-12-21 Drew Adams <drew.adams@oracle.com>
16201 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16203 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16205 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16207 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16209 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16210 highlighting and support. Fix up comments for capitalization.
16211 (cfengine-mode-debug): New var.
16212 (cfengine3-mode): Change the modeline indicator to "CFE3".
16213 (cfengine3-font-lock-keywords): Improve defun highlighting.
16214 (cfengine2-actions): Rename from `cfengine-actions'.
16215 (cfengine2-font-lock-keywords): Rename from
16216 `cfengine-font-lock-keywords'.
16217 (cfengine2-imenu-expression): Rename from
16218 `cfengine-imenu-expression'.
16219 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16220 (cfengine2-beginning-of-defun): Rename from
16221 `cfengine-beginning-of-defun'.
16222 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16223 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16224 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16225 modeline indicator to "CFE2".
16226 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16227 (cfengine-mode-abbrevs): Mark obsolete.
16229 2011-12-21 Chong Yidong <cyd@gnu.org>
16231 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16234 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16236 * window.el (window-normalize-buffer-to-display): Remove.
16237 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16239 2011-12-19 Chong Yidong <cyd@gnu.org>
16241 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16242 Don't signal an error in a predicate function; return non-nil.
16243 (vc-dir-mark-file): Move the error here.
16244 (vc-dir-mark-unmark): If acting on the region, keep going if one
16245 of the entries cannot be marked/unmarked.
16246 (vc-dir-mark-all-files): If current entry is a directory, mark
16247 only child files, as documented.
16249 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16251 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16252 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16255 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16257 * term/ns-win.el (ns-get-selection-internal)
16258 (ns-store-selection-internal): Declare.
16259 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16260 Declare as obsolete.
16261 (ns-get-pasteboard, ns-paste-secondary):
16262 Use ns-get-selection-internal.
16263 (ns-set-pasteboard, ns-copy-including-secondary):
16264 Use ns-store-selection-internal.
16266 2011-12-17 Chong Yidong <cyd@gnu.org>
16268 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16269 (vc-deduce-fileset): Doc fix.
16271 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16273 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16275 2011-12-13 Sam Steingold <sds@gnu.org>
16277 * man.el (Man-getpage-in-background): When running under a
16278 window-system, ignore $MANWIDTH and $COLUMNS.
16280 2011-12-15 Kenichi Handa <handa@m17n.org>
16282 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16283 (setup-ethiopic-environment-internal): Comment out key-binding for
16284 ethio-toggle-punctuation.
16286 2011-12-13 Alan Mackenzie <acm@muc.de>
16288 Add the switch statement to AWK Mode.
16290 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16291 "default" to the keywords regexp.
16293 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16294 expression as the rest.
16295 (c-nonlabel-token-key): Allow string literals for AWK.
16296 Refactor for the other modes.
16298 Large brace-block initialisation makes CC Mode slow: Fix.
16299 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16300 routines. Limit backward searching in c-font-lock-enclosing.decl.
16302 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16303 pp-state and literal type in addition to the limits.
16304 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16305 (c-state-literal-at): Use the above new defun.
16306 (c-slow-in-literal, c-fast-in-literal): Remove.
16307 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16309 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16310 being in a literal. Add a limit for backward searching.
16312 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16315 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16317 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16319 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16321 * window.el (delete-other-windows): Use correct frame in call to
16322 window-with-parameter.
16324 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16326 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16327 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16328 (makefile-gmake-statements, makefile-makepp-statements):
16329 Use it and add new makepp keywords.
16330 (makefile-makepp-font-lock-keywords): Add new patterns.
16331 (makefile-match-function-end): Match new [...] and [[...]].
16333 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16335 * ses.el (ses-call-printer-return, ses-cell-property-get)
16336 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16337 (ses-create-cell-variable, ses-reset-header-string)
16338 (ses-cell-set-formula, ses-repair-cell-reference-all)
16339 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16340 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16341 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16342 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16343 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16344 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16345 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16346 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16347 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16348 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16349 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16350 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16352 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16354 * ses.el: The overall change is to add cell renaming, that is
16355 setting fancy names for cell symbols other than name matching
16356 "\\`[A-Z]+[0-9]+\\'" regexp .
16357 (ses-create-cell-variable): New defun.
16358 (ses-relocate-formula): Relocate formulas only for cells the
16359 symbols of which are not renamed, i.e. symbols whose names do not
16360 match regexp "\\`[A-Z]+[0-9]+\\'".
16361 (ses-relocate-all): Relocate values only for cells the symbols of
16362 which are not renamed.
16363 (ses-load): Create cells variables as the (ses-cell ...) are read,
16364 in order to check row col consistency with cell symbol name only
16365 for cells that are not renamed.
16366 (ses-replace-name-in-formula): New defun.
16367 (ses-rename-cell): New defun.
16369 2011-12-11 Chong Yidong <cyd@gnu.org>
16371 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16372 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16374 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16376 * window.el (other-window): Fix docstring.
16378 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16380 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16381 `from' or `to' address before taking its substring.
16382 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16383 encoded name is chopped in the middle of the encoded string, and
16384 thus displayed encoded.
16386 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16388 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16390 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16392 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16393 to use texinfo-update-node and commands that call it if the
16394 Texinfo file uses @node lines without next/prev/up pointers.
16395 Correct outdated description about texinfo-master-menu.
16396 (texinfo-all-menus-update, texinfo-master-menu)
16397 (texinfo-update-node, texinfo-every-node-update)
16398 (texinfo-multiple-files-update): Doc fix. Warn against updating
16399 all the @node lines.
16400 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16401 argument is numeric. Explain better in the doc string what the
16402 function really does.
16403 (texinfo-insert-master-menu-list): Improve the error message
16404 displayed if there's no menu in the Top node.
16405 (Bug#2975) See also this thread:
16406 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16408 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16410 * speedbar.el (speedbar-supported-extension-expressions):
16411 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16413 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16415 * printing.el (pr-mode-alist):
16416 * simple.el (filter-buffer-substring-functions)
16417 (completion-list-insert-choice-function):
16418 * window.el (window-with-parameter, window-atom-root)
16419 (window-sides-slots, window-size-fixed, window-min-delta)
16420 (window-max-delta, window--resize-mini-window)
16421 (window--resize-child-windows-normal, window-tree)
16422 (delete-other-windows, quit-window, split-window)
16423 (display-buffer-record-window, special-display-buffer-names)
16424 (special-display-regexps, special-display-popup-frame)
16425 (same-window-p, split-window-sensibly)
16426 (display-buffer-overriding-action, display-buffer-alist)
16427 (display-buffer-base-action, display-buffer, switch-to-buffer)
16428 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16429 (fit-window-to-buffer, recenter-positions)
16430 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16431 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16432 and remove unneeded backslashes in docstrings.
16434 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16436 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16438 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16439 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16441 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16442 when reading the makefile (bug#10116).
16444 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16449 2011-12-06 Glenn Morris <rgm@gnu.org>
16451 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16453 2011-12-06 Chong Yidong <cyd@gnu.org>
16455 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16457 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16459 * textmodes/table.el (table-shorten-cell): Fix typo.
16461 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16463 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16465 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16467 * descr-text.el (describe-char): Fix display of strong
16468 right-to-left characters and directional embeddings and overrides.
16470 * simple.el (what-cursor-position): Fix display of codepoints of
16471 strong right-to-left characters.
16473 2011-12-05 Chong Yidong <cyd@gnu.org>
16475 * faces.el (read-color): Doc fix.
16477 2011-12-05 Glenn Morris <rgm@gnu.org>
16479 * align.el (align--set-marker): Add doc-string.
16480 Don't try to move something that is not a marker. (Bug#10216)
16482 2011-12-04 Glenn Morris <rgm@gnu.org>
16484 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16485 overly zealous deletion of trailing whitespace.
16487 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16489 * server.el (server-delete-client): On Windows, do not try to delete
16491 (server-process-filter): On Windows, treat requests for a tty frame as
16492 if they were for a GUI frame if the running server is in GUI mode.
16494 2011-12-03 Glenn Morris <rgm@gnu.org>
16496 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16498 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16500 * electric.el: Streamline electric-indent's hook.
16501 (electric-indent-chars): Revert to simple list.
16502 (electric-indent-functions): New var.
16503 (electric-indent-post-self-insert-function): Use it.
16505 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16506 there's no inferior buffer (bug#10196).
16507 (prolog-consult-compile): Don't use toggle-read-only.
16509 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16511 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16512 interrupt. (Bug#10187)
16514 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16516 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16519 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16522 2011-12-02 Juri Linkov <juri@jurta.org>
16524 * info.el (Info-search): Display "end of manual" when Isearch
16525 reaches the end of single-file Info manual. (Bug#9918)
16527 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16529 * isearch.el (isearch-message-prefix): Run the input method part
16530 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16532 2011-12-02 Juri Linkov <juri@jurta.org>
16534 * isearch.el (isearch-occur): Use `word-search-regexp' for
16536 (isearch-search-and-update): Add condition for `isearch-word' and
16537 call `word-search-regexp'. (Bug#10145)
16539 2011-12-01 Glenn Morris <rgm@gnu.org>
16541 * eshell/em-hist.el (eshell-hist-initialize):
16542 Handle eshell-history-size nil and HISTSIZE set or unset.
16543 (eshell-history-file-name, eshell-history-size): Fix custom type.
16545 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16547 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16549 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16551 * progmodes/verilog-mode.el (verilog-pretty-expr):
16552 Rework verilog-pretty-expr to handle new assignment operators in system
16553 verilog, such as += *= and the like.
16554 (verilog-assignment-operator-re): Regular expression to find the
16555 assigment operator in a verilog assignment.
16556 (verilog-assignment-operation-re): Regular expression to find an
16557 assignment statement for pretty-expr.
16558 (verilog-in-attribute-p): Query returns true if point is in an
16559 attribute context; used to skip these for expression line up from
16561 (verilog-in-parameter-p): Query returns true if point is in an
16562 parameter definition context; used to skip these for expression
16563 line up from pretty-expr.
16564 (verilog-in-parenthesis-p): Query returns true if point is in a
16565 parenthetical expression, specifically ( ) but not [ ] or { };
16566 used by pretty-expr.
16567 (verilog-just-one-space): If there is no space, don't add one.
16568 (verilog-get-lineup-indent-2): Specifically skip just attribute
16569 contexts for expression lineup, rather than skipping all
16570 parenthetical expressions.
16571 (verilog-calculate-indent): Fix comment, and fix indent.
16572 (verilog-do-indent): Indent declarations in lists (suggested by
16574 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16576 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16579 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16581 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16582 parameters with embedded comments. Reported by Ray Stevens.
16583 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16584 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16585 Reported by Tim Holt.
16586 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16587 instantiated by upper module causing wrong expansion until AUTOed a
16588 second time. Reported by K C Buckenmaier.
16589 (verilog-diff-auto): Fix showing .* as a difference when
16590 `verilog-auto-star-save' off. Reported by Dan Dever.
16591 (verilog-auto-reset, verilog-read-always-signals)
16592 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16593 temporary signals in reset list if
16594 verilog-auto-reset-blocking-in-non is nil, and match assignment
16595 style to each signal's assignment type, bug381.
16596 Reported by Thomas Esposito.
16597 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16598 (verilog-uvm-statement-re): Support UVM indentation and
16599 highlighting, with old OVM keywords only.
16600 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16601 Support AUTOTIEOFF creating non-wire data types.
16602 Suggested by Jonathan Greenlaw.
16603 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16604 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16605 (verilog-inject-sense, verilog-read-inst-pins)
16606 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16607 Fix mismatching parenthesis inside commented out code when deleting
16608 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16609 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16610 non-numeric vector width. Reported by Alex Reed.
16611 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16612 detecting signals with parameter widths. Reported by Alex Reed.
16613 (verilog-auto-delete-trailing-whitespace):
16614 With `verilog-auto-delete-trailing-whitespace' remove trailing
16615 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16616 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16617 Fix verilog-scan-cache corruption when running user AUTO expansion
16618 hooks that call indentation routines.
16619 (verilog-simplify-range-expression): Fix typo ignoring lower case
16621 (verilog-delete-auto): Fix delete-autos to also remove user created
16622 automatics, as long as they start with AUTO.
16623 (verilog-batch-diff-auto, verilog-diff-auto)
16624 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16625 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16626 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16627 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16628 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16629 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16630 is disabled and its cache will get corrupt, causing AUTOS not to
16631 expand. Instead use only -quick functions.
16632 (verilog-scan-region): Fix scanning over escaped quotes.
16633 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16634 (verilog-re-search-backward-quick)
16635 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16636 related functions now ignore strings, to fix misparsing of strings
16637 with magic comments embedded in them.
16638 (verilog-read-auto-template):
16639 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16640 Reported by Brad Dobbie.
16641 (verilog-read-auto-template):
16642 Fix 'verilog-auto-inst-template-numbers' with comments.
16643 Reported by Brad Dobbie.
16644 (verilog-auto-inst, verilog-auto-inst-param)
16645 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16646 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16647 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16648 debugging templates without merge conflicts, bug357.
16649 Reported by Brad Dobbie.
16650 (verilog-read-auto-template):
16651 Fix verilog-auto-inst-template-numbers with multiple templates.
16652 Reported by Brad Dobbie.
16653 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16654 abbrevs so user won't be asked to save.
16655 (verilog-read-auto-lisp-present): Fix to start at beginning of
16656 buffer in case called outside of verilog-auto.
16657 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16658 to "X-2". Reported by Matthew Myers.
16659 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16660 all inputs from module templates. Reported by Leith Johnson.
16661 (verilog-module-inside-filename-p): Fix locating programs as with
16663 (verilog-auto-inst-port): Fix vl-width expressions when using
16664 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16665 (verilog-decls-get-regs, verilog-decls-get-signals,
16666 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16667 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16668 verilog-read-decls): Combine reg and wire structures into one var
16669 structure to represent SystemVerilog concepts.
16670 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16671 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16672 (verilog-auto-wire-type, verilog-insert-definition):
16673 Add verilog-auto-wire-type and AUTOLOGIC to support using
16674 SystemVerilog "logic" keyword instead of "wire"/"reg".
16675 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16676 to declares outputs that also have assignments (presumably in an
16677 ifdef or generate if so there's not a driver conflict).
16678 Reported by Matthew Myers.
16679 (verilog-auto-declare-nettype, verilog-insert-definition):
16680 Add verilog-auto-declare-nettype to fix declarations using
16681 `default_nettype none. Reported by Julian Gorfajn.
16682 (verilog-read-always-signals-recurse, verilog-read-decls)
16683 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16684 malformed end statement, bug325. Reported by Joshua Wise and
16686 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16687 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16688 when expanding .* in interfaces, bug320.
16689 Reported by Pierre-David Pfister.
16690 (verilog-read-module-name): Fix import statements between module
16691 name and open parenthesis, bug317.
16692 Reported by Pierre-David Pfister.
16693 (verilog-simplify-range-expression): Fix simplification of
16694 multiplications inside AUTOWIRE connections, bug303.
16695 (verilog-auto-inst-port): Support parameter expansion in
16696 multidimensional arrays.
16697 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16698 after "assert property". Reported by Julian Gorfajn.
16699 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16700 with multiplication, bug303.
16701 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16702 Reported by Jan Frode Lonnum.
16704 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16706 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16707 (hfy-shell-file-name, hfy-shell):
16708 * international/fontset.el (x-decompose-font-name): Fix typos.
16710 2011-11-29 Ken Brown <kbrown@cornell.edu>
16712 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16713 (gdb-version): Remove defvar.
16714 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16715 (gdb-gud-context-command, gdb-non-stop-handler)
16716 (gdb-current-context-command, gdb-stopped): Use it.
16717 (gdb-init-1): Enable pretty printing here.
16718 (gdb-non-stop-handler): Don't enable pretty-printing here.
16719 Check to see if the target supports non-stop mode; if not, turn off
16720 non-stop mode. Use the following.
16721 (gdb-check-target-async): New defun.
16722 (gud-watch, gdb-stopped): Fix whitespace.
16723 (gdb-get-source-file): Don't try to display the source file if
16724 `gdb-main-file' is nil.
16726 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16728 * align.el: Try to generate fewer markers (bug#10047).
16729 (align--set-marker): New macro.
16730 (align-region): Use it.
16732 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16734 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16736 2011-11-29 Chong Yidong <cyd@gnu.org>
16738 * indent.el (indent-for-tab-command, indent-according-to-mode):
16740 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16742 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16744 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16745 aware of remote file names. (Bug#10124)
16747 2011-11-29 Chong Yidong <cyd@gnu.org>
16749 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16751 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16753 * files.el (find-file): Don't use force-same-window (bug#10144).
16754 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16755 use pop-to-buffer if the selected window can't be used.
16756 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16758 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16760 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16763 2011-11-28 Chong Yidong <cyd@gnu.org>
16765 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16767 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16769 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16770 gdb-get-source-file-list on gdb-create-source-file-list.
16772 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16774 * whitespace.el (whitespace-newline): Use a different foreground
16775 color for 16-color light-background displays.
16777 2011-11-24 Chong Yidong <cyd@gnu.org>
16779 * window.el (display-buffer--special-action): Doc fix.
16781 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16783 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16784 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16785 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16786 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16787 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16788 (avl-tree-stack-first):
16789 * emacs-lisp/cconv.el (cconv--analyse-use):
16790 * net/gnutls.el (gnutls-negotiate): Fix typos.
16792 2011-11-24 Glenn Morris <rgm@gnu.org>
16794 * lpr.el (lpr-windows-system, lpr-lp-system):
16795 * mail/binhex.el (binhex-begin-line):
16796 * progmodes/grep.el (grep-history, grep-find-history):
16797 * textmodes/flyspell.el:
16798 * vc/pcvs-defs.el (cvs-global-menu):
16799 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16800 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16801 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16803 * net/tls.el: Fix case of "GnuTLS".
16805 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16807 * version.el (emacs-build-system): Give it a doc-string.
16809 2011-11-24 Juri Linkov <juri@jurta.org>
16811 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16813 2011-11-24 Glenn Morris <rgm@gnu.org>
16815 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16816 if called on a non-mime message just toggle the headers. (Bug#8006)
16818 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16820 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16821 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16822 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16823 (allout-rebullet-heading, allout-open-sibtopic)
16824 (allout-toggle-current-subtree-encryption)
16825 (allout-toggle-subtree-encryption, allout-encrypt-string)
16826 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16827 (allout-distinctive-bullets-string, allout-auto-activation):
16828 * window.el (window-normalize-buffer-to-display):
16829 * progmodes/verilog-mode.el (verilog-batch-indent):
16830 * textmodes/bibtex.el (bibtex-field-braces-opt)
16831 (bibtex-field-strings-opt):
16832 * vc/cvs-status.el (cvs-tree-merge):
16835 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16837 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16838 `non-essential' to t, in order to avoid remote connections.
16840 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16842 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16843 On MS-DOS and MS-Windows, compare with loaddefs.el
16844 case-insensitively.
16846 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16848 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16850 2011-11-23 Glenn Morris <rgm@gnu.org>
16852 * paths.el (rmail-file-name): Reformat the doc-string so that it
16855 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16856 (rmail-auto-file): Ignore case in the "special" field names,
16857 as mail-fetch-field does for all others.
16859 * mail/rmail.el (rmail-forward):
16860 * mail/rmailkwd.el (rmail-set-label):
16861 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16862 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16864 * mail/rmail.el (rmail-current-message): Doc fix.
16866 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16868 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16870 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16872 2011-11-22 Glenn Morris <rgm@gnu.org>
16874 * mail/rmailmm.el (test-rmail-mime-handler)
16875 (test-rmail-mime-bulk-handler)
16876 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16878 2011-11-21 Juri Linkov <juri@jurta.org>
16880 * calc/calc.el (calc-read-key-sequence):
16881 Let-bind `input-method-function' to nil. (Bug#10018)
16883 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16885 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16886 Tell the caller that the next line needs recomputation, even
16887 though it doesn't start a sexp (bug#10094).
16889 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16891 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16893 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16895 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16896 Use force-same-window.
16898 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16900 * descr-text.el (describe-char-unicode-data):
16901 * json.el (json-string-escape):
16902 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16903 (Footnote-unicode, Footnote-style-p):
16904 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16906 2011-11-20 Chong Yidong <cyd@gnu.org>
16908 * window.el (replace-buffer-in-windows): Restore interactive spec.
16910 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16912 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16914 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16915 (byte-compile-global-not-obsolete-vars): New var.
16916 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16918 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16920 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16922 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16923 * progmodes/pascal.el (electric-pascal-equal):
16924 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16925 * xml.el (xml-substitute-special): Fix typos.
16927 2011-11-20 Glenn Morris <rgm@gnu.org>
16929 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16930 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16932 (rmail-decode-mime-charset): Mark as obsolete.
16934 * mail/rmailsum.el (rmail-message-regexp-p-1):
16935 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16936 Before using mime functions, check they are set. (Bug#10077)
16938 2011-11-19 Juri Linkov <juri@jurta.org>
16940 * info.el (Info-finder-find-node): Use `package--builtins' instead
16941 of `package-alist'. Use node names formed by the pattern "Keyword "
16942 and the keyword name.
16944 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16946 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16948 2011-11-19 Juri Linkov <juri@jurta.org>
16950 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16951 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16952 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16953 `old-history', `old-history-forward'. Add let-binding
16954 `window-selected'. Remove calls to `kill-buffer',
16955 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16956 before calling `Info-find-node', so `Info-find-node-2' will reread
16957 the Info file. Restore window positions only when `window-selected'
16960 2011-11-19 Juri Linkov <juri@jurta.org>
16962 * isearch.el (isearch-lazy-highlight-new-loop):
16963 Remove condition `(not isearch-error)'. (Bug#9918)
16965 * misearch.el (multi-isearch-search-fun): Add condition
16966 `(not bound)' to ignore lazy-highlighting search.
16967 Add the search-failed message "end of multi" when the end of
16968 multi-sequence is reached. Uncapitalize the search-failed
16969 message "Repeat for next buffer".
16971 * info.el (Info-search): Add the search-failed message
16972 "end of the manual" when the end of the manual is reached
16975 2011-11-19 Juri Linkov <juri@jurta.org>
16977 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16978 Use non-destructive `remove' instead of `delete' because
16979 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16980 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16982 2011-11-19 Juri Linkov <juri@jurta.org>
16984 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16985 to nil instead of binding `search-ring' and `regexp-search-ring'.
16988 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16990 * simple.el (line-move): Force movement by logical lines for any
16991 hscrolled window, not only when auto-hscroll-mode is on.
16992 (line-move-visual): Update doc string to that effect. (Bug#10076)
16994 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16996 * language/european.el (macintosh): Define as alias for mac-roman.
16998 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17000 * mail/rmailmm.el (rmail-mime-display-header)
17001 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17002 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17003 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17004 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17005 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17007 (rmail-mime-entity-segment): To get past the tagline, move forward
17008 2 more lines, to account for the 2 empty lines that precede and
17009 follow the line with the buttons.
17010 (rmail-mime-update-tagline): Move one more line, to get past the
17011 empty line that follows the buttons in the tagline. (Bug#9520)
17013 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17015 * window.el (window-max-delta-1, window-min-delta-1)
17016 (window-min-size-1, window-state-get-1, window-state-put-1)
17017 (window-state-put-2): Use "window--" prefix.
17019 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17021 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17022 (smie-warning-count): New var.
17023 (smie-set-prec2tab): Use it.
17024 (smie-bnf->prec2): Improve warnings. Add docstring.
17025 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17026 (smie-bnf--set-class): New function.
17027 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17030 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17031 (compilation-error-properties, compilation-move-to-column):
17032 Handle compilation-first-column while in the target buffer.
17034 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17035 Don't hardcode point-min==1.
17037 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17038 (eshell-rewrite-for-command): Remove workaround.
17039 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17040 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17041 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17043 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17045 2011-11-17 Glenn Morris <rgm@gnu.org>
17047 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17048 Ignore buffer-local generated-autoload-file if it is the same
17049 as the global value. (Bug#10049)
17051 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17053 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17054 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17055 (reftex-toc-previous-heading, reftex-toc-max-level)
17056 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17057 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17058 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17059 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17060 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17061 (reftex-toc-rename-label, reftex-toc-visit-location)
17062 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17063 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17064 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17065 leaving "*toc*" only for references to the buffer.
17067 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17069 * window.el (window-resize, delete-window, split-window):
17070 Replace window-splits by window-combination-resize.
17071 * cus-start.el (window-splits): Replace by window-combination-resize.
17073 2011-11-17 Glenn Morris <rgm@gnu.org>
17075 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17076 Make bash entry derive from sh entry, not shell entry.
17078 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17080 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17083 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17085 * menu-bar.el (menu-bar-file-menu):
17086 * printing.el (pr-ps-utility):
17087 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17088 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17089 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17090 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17091 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17092 (icalendar--convert-cyclic-to-ical)
17093 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17094 (icalendar--convert-ical-to-diary)
17095 (icalendar--convert-recurring-to-diary)
17096 (icalendar--convert-non-recurring-all-day-to-diary)
17097 (icalendar-import-format-sample):
17098 * progmodes/idlw-shell.el (idlwave-shell-mode):
17099 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17100 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17101 (vhdl-ps-print-init): Fix typos.
17103 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17105 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17106 FSF and collapse date sequence, obscure author/maintainer email address
17107 better, remove extra version line, track relocation of author's webpage.
17109 * progmodes/python.el (python-pdbtrack-input-prompt)
17110 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17111 regular python pdb prompts. Adjustments shamelessly taken exactly as
17112 suggested in EmacsWiki page (tiny change):
17113 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17115 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17117 * expand.el (expand-pos, expand-index, expand-point):
17118 Remove redundant info from docstring.
17119 (expand-add-abbrevs): Doc fix.
17120 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17121 (expand-sample-perl-mode-expand-list): Fix typos.
17123 * net/dbus.el (dbus-event-member-name):
17124 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17125 * term/pc-win.el (msdos-create-frame-with-faces):
17126 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17128 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17130 * window.el (split-window, window-state-get-1)
17131 (window-state-put-1, window-state-put-2): Rename occurrences of
17132 window-nest to window-combination-limit.
17133 * cus-start.el (window-nest): Rename to window-combination-limit.
17135 2011-11-16 Chong Yidong <cyd@gnu.org>
17137 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17138 regexp (Bug#10033).
17140 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17142 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17143 `completing-read' will remove *Completions* and will preserve
17144 current-buffer for us.
17145 (tmm-add-prompt): Users of *Completions* will always (re)set its
17147 (tmm-old-comp-map): Remove.
17149 2011-11-16 Glenn Morris <rgm@gnu.org>
17151 * mail/rmailedit.el: Require rmailmm when compiling.
17152 (rmail-old-mime-state): New declaration.
17153 (rmail-edit-current-message): If editing a mime message,
17154 edit the "raw" message from the mbox buffer.
17155 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17157 2011-11-15 Glenn Morris <rgm@gnu.org>
17159 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17160 which wasn't being used. Add optional arg to force given state.
17161 (rmail-mime): Add optional arg to force given state.
17163 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17165 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17166 * frame.el (display-mm-dimensions-alist):
17167 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17168 (outline-move-subtree-down):
17169 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17170 (newsticker--treeview-do-get-node):
17171 * net/quickurl.el (quickurl-list-buffer-name):
17172 * progmodes/dcl-mode.el (dcl-mode):
17173 * progmodes/gdb-mi.el (gdb-mapcar*):
17174 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17176 2011-11-15 Glenn Morris <rgm@gnu.org>
17178 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17179 in a boolean sense, so just make it a boolean, and fix the doc.
17180 (rmail-show-mime-function, rmail-mime-feature)
17181 (rmail-require-mime-maybe): Doc fixes.
17182 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17184 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17186 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17188 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17189 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17190 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17191 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17193 2011-11-15 Glenn Morris <rgm@gnu.org>
17195 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17196 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17197 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17198 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17199 (rmail-mime, rmail-show-mime): Doc fixes.
17201 * term/ns-win.el (mode-line-frame-identification):
17202 Leave it alone. (Bug#10051)
17204 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17206 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17207 Handle empty buffers. (Bug#9978)
17209 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17211 * international/mule.el (define-charset):
17212 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17213 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17214 * progmodes/verilog-mode.el (verilog-backward-token):
17215 * textmodes/ispell.el (lookup-words):
17216 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17218 2011-11-14 Glenn Morris <rgm@gnu.org>
17220 * progmodes/executable.el
17221 (executable-make-buffer-file-executable-if-script-p):
17222 Handle file-modes returning nil.
17224 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17225 message - not necessary, and causes problems. (Bug#9831)
17227 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17229 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17231 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17232 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17233 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17235 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17237 * window.el (window-resize, delete-window): Use window-splits
17238 variable instead of function.
17239 (window-state-get-1, window-state-put-2, window-state-put):
17240 Don't deal with windows' splits status.
17242 2011-11-12 Glenn Morris <rgm@gnu.org>
17244 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17245 (apropos-documentation): Doc fixes.
17247 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17249 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17250 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17252 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17254 * electric.el (electric-indent-post-self-insert-function): Make it
17255 possible for a char to only indent in some circumstances.
17256 (electric-indent-mode): Simplify.
17258 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17260 * window.el (windows-with-parameter): Remove unused function.
17261 (windows-at-side): Rename to window-at-side-list.
17262 (window-check, window-atom-check, window-atom-check-1)
17263 (window-side-check, window-size-ignore, window-size-fixed-1)
17264 (window-in-direction-2): Prefix with "window--".
17265 (window-tree-1): Rename to window--subtree, fix doc-string.
17267 2011-11-11 Glenn Morris <rgm@gnu.org>
17269 * subr.el (eval-after-load): If FILE is already loaded,
17270 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17272 2011-11-10 Glenn Morris <rgm@gnu.org>
17274 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17275 Call svn via vc-svn-command rather than vc-do-command.
17276 (vc-svn-command): Add --non-interactive. (Bug#9993)
17277 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17279 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17280 Add toggle-read-only. (Bug#7292)
17281 * files.el (toggle-read-only): Mention that it should only
17282 be used interactively. (Bug#10006)
17284 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17287 Adjust regexp for OCaml warnings.
17289 * electric.el (electric-pair-post-self-insert-function): Let user
17290 turn it off buffer-locally (bug#9932).
17292 * progmodes/python.el (python-beginning-of-statement):
17293 Rewrite (bug#2703).
17295 * progmodes/compile.el: Better handle TABs (bug#9749).
17296 (compilation-internal-error-properties)
17297 (compilation-next-error-function): Obey the target buffer's
17298 compilation-error-screen-columns.
17300 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17302 * progmodes/meta-mode.el: Remove obsolete comments.
17303 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17304 Fix typos in docstrings.
17306 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17308 * window.el (window-size-fixed-p): Rewrite doc-string.
17309 (window-resizable-p): Rename to window--resizable-p. Update callers.
17310 (window--resizable): New function. Make all callers of
17311 window-resizable call window--resizable instead.
17312 (window-resizable): Rewrite in terms of window--resizable.
17314 2011-11-08 Glenn Morris <rgm@gnu.org>
17316 * progmodes/delphi.el (delphi-mode-syntax-table):
17317 Let define-derived-mode define a proper syntax table. (Bug#9994)
17319 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17321 * window.el: Stay away from defsubst.
17322 (window-list-no-nils): Remove.
17323 (window-state-get-1, window-state-get): Use backquote instead.
17325 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17327 * emacs-lisp/find-func.el (find-function-read):
17328 Fix incorrect use of default argument in `completing-read'.
17330 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17332 * window.el (display-buffer-function, special-display-function):
17333 Mention display-buffer-record-window but do not mention
17334 help-setup parameter in doc-strings.
17335 (window-min-delta): Fix doc-string typo.
17337 2011-11-08 Chong Yidong <cyd@gnu.org>
17339 * window.el (window-total-height, window-total-width): Doc fix.
17340 (window-body-size): Move from C.
17341 (window-body-height, window-body-width): Move to C.
17343 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17345 * window.el: Make special-display like display-buffer-alist (bug#9532).
17346 (display-buffer--special-action): New function, morphed
17347 from display-buffer--special.
17348 (display-buffer): Use it to handle special-display-buffers at higher
17349 priority (just after display-buffer-alist).
17350 (display-buffer-fallback-action, display-buffer--other-frame-action)
17351 (pop-to-buffer-same-window): Remove display-buffer--special.
17353 2011-11-07 Glenn Morris <rgm@gnu.org>
17355 * calendar/cal-menu.el (cal-menu-set-date-title):
17356 Do nothing if not in a calendar. (Bug#9976)
17358 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17360 * files.el (find-file): Always use selected-window.
17362 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17364 * window.el (window-combinations): Make WINDOW argument
17365 mandatory. Rewrite doc-string.
17366 (walk-window-subtree, window-atom-check, window-min-delta)
17367 (window-max-delta, window--resize-this-window)
17368 (window--resize-root-window-vertically, window-tree)
17369 (balance-windows, window-state-put): Rewrite doc-strings as to
17370 not mention the term "subwindow".
17371 (window--resize-subwindows-skip-p): Rename to
17372 window--resize-child-windows-skip-p.
17373 (window--resize-subwindows-normal): Rename to
17374 window--resize-child-windows-normal.
17375 (window--resize-subwindows): Rename to
17376 window--resize-child-windows.
17377 (window-or-subwindow-p): Rename to window--in-subtree-p.
17379 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17381 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17382 Ensure that mbox format messages end in two newlines (Bug#9974).
17384 2011-11-06 Chong Yidong <cyd@gnu.org>
17386 * window.el (window-combination-p): Function deleted; its
17387 side-effect is not used in any existing code.
17388 (window-combinations, window-combined-p): Call window-*-child
17391 2011-11-05 Chong Yidong <cyd@gnu.org>
17393 * window.el (window-valid-p): Rename from window-any-p.
17394 (window-size-ignore, window-state-get): Callers changed.
17395 (window-normalize-window): Rename from window-normalize-any-window.
17396 New arg LIVE-ONLY, replacing window-normalize-live-window.
17397 (window-normalize-live-window): Delete.
17398 (window-combination-p, window-combined-p, window-combinations)
17399 (walk-window-subtree, window-atom-root, window-min-size)
17400 (window-sizable, window-sizable-p, window-size-fixed-p)
17401 (window-min-delta, window-max-delta, window-resizable)
17402 (window-resizable-p, window-full-height-p, window-full-width-p)
17403 (window-current-scroll-bars, window-point-1, set-window-point-1)
17404 (window-at-side-p, window-in-direction, window-resize)
17405 (adjust-window-trailing-edge, maximize-window, minimize-window)
17406 (window-deletable-p, delete-window, delete-other-windows)
17407 (record-window-buffer, unrecord-window-buffer)
17408 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17409 (quit-window, split-window, window-state-put)
17410 (set-window-text-height, fit-window-to-buffer)
17411 (shrink-window-if-larger-than-buffer): Callers changed.
17413 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17415 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17416 rfc2047-decode-string.
17417 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17420 * window.el (window-body-height, window-body-width): Mention in
17421 the doc string that the return values are in frame's canonical
17424 2011-11-03 Alan Mackenzie <acm@muc.de>
17426 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17427 change in cc-engine.el.
17429 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17431 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17433 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17435 * window.el (quit-window): Call unrecord-window-buffer after
17436 showing another buffer in the window. (Bug#9937)
17437 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17439 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17441 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17442 Accept status with more than 9 shelves. (Bug#9935)
17443 Reported by Colin D Bennett <colin@gibibit.com>.
17445 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17447 * help.el (with-help-window): Don't reference
17448 temp-buffer-show-specifiers in doc-string.
17450 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17452 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17455 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17457 * whitespace.el: New version 13.2.2.
17458 (whitespace-newline-mode): Disable properly. Reported by Sarah
17461 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17463 * net/newst-treeview.el: Remove "Time-stamp".
17464 (newsticker--group-manage-orphan-feeds): Do not call
17465 newsticker--treeview-tree-update.
17466 (newsticker-treeview-update, newsticker-treeview):
17467 Call newsticker--treeview-tree-update if necessary.
17469 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17471 * window.el (window-iso-combination-p, window-iso-combined-p)
17472 (window-iso-combinations): Remove "iso-" infix.
17473 Suggested by Chong Yidong.
17474 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17475 (window-max-delta-1, window-resize, window--resize-siblings)
17476 (window--resize-this-window, adjust-window-trailing-edge)
17477 (split-window, balance-windows-1)
17478 (shrink-window-if-larger-than-buffer):
17479 * calendar/calendar.el (calendar-generate-window):
17480 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17482 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17485 in place (bug#9907).
17486 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17487 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17488 (eshell-structure-basic-command, eshell-rewrite-while-command)
17489 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17490 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17491 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17492 (eshell-do-pipelines-synchronously, eshell-eval-command):
17493 Use backquotes and prefer setq to set.
17494 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17495 (eshell-macrop): Use functionp.
17496 (eshell-do-eval): Handle multiple expressions in `while' body.
17498 2011-10-30 Chong Yidong <cyd@gnu.org>
17500 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17501 instead of set-mark (Bug#9810).
17503 2011-10-30 Chong Yidong <cyd@gnu.org>
17505 * window.el (split-window-below, split-window-right): Rename from
17506 split-window-above-each-other and split-window-side-by-side
17507 respectively. All callers changed.
17508 (split-window-sensibly, split-window-sensibly): Use them.
17509 (split-window-keep-point): Doc fix.
17511 * isearch.el: Add isearch-scroll property to split-window-below
17512 and split-window-right.
17514 * follow.el (follow-mode):
17515 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17516 * progmodes/ada-xref.el (ada-gdb-application):
17517 * emulation/vip.el (vip-buffer-in-two-windows):
17518 * image-dired.el (image-dired-dired-with-window-configuration):
17519 * dired-x.el (dired-do-find-marked-files):
17520 * dired.el (dired-pop-to-buffer):
17521 * bs.el (bs--show-with-configuration):
17522 * vc/emerge.el (emerge-setup-windows):
17523 * textmodes/two-column.el (2C-two-columns):
17524 * textmodes/reftex-toc.el (reftex-toc):
17525 * progmodes/gdb-mi.el (gdb-setup-windows):
17526 * progmodes/fortran.el (fortran-window-create):
17527 * net/newst-treeview.el (newsticker--treeview-window-init):
17528 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17529 * emulation/tpu-edt.el (tpu-gold-map):
17530 * emulation/crisp.el (crisp-mode-map):
17531 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17533 2011-10-29 Chong Yidong <cyd@gnu.org>
17535 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17537 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17539 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17540 forged Ispell output (Bug#7904).
17542 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17544 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * doc-view.el: Avoid ugly errors about not finding nil.
17547 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17548 (doc-view-dvipdf-program, doc-view-unoconv-program)
17549 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17550 Avoid nil or absolute file name as default value.
17551 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17553 2011-10-28 Alan Mackenzie <acm@muc.de>
17555 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17557 2011-10-28 Alan Mackenzie <acm@muc.de>
17559 Amend the handling of c-beginning/end-of-defun in nested declaration
17562 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17563 cc-langs.el. Change it to a defcustom.
17565 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17568 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17569 Prevent "class foo : bar" being spuriously recognized as a label.
17571 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17572 Add parameter `inclusive' (to include enclosing braces in the region).
17573 (c-widen-to-enclosing-decl-scope): New function.
17574 (c-while-widening-to-decl-block): New macro.
17575 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17576 outward for defun boundaries, and correspondingly change symbol
17577 `respect-enclosure' to `go-outward'.
17578 (c-declaration-limits): Change algorithm to report only the "innermost"
17579 defun's boundaries.
17581 2011-10-28 Deniz Dogan <deniz@dogan.se>
17583 * net/rcirc.el (rcirc-mode): Use hard newlines.
17585 2011-10-28 Alan Mackenzie <acm@muc.de>
17587 Amend to indent and fontify macros "which include their own semicolon"
17588 correctly, using the "virtual semicolon" mechanism.
17590 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17592 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17593 Recode to scan one line at a time rather than having \n and \r
17594 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17595 (c-forward-label): Amend for virtual semicolons.
17596 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17598 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17599 of the new C macros.
17601 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17602 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17603 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17604 (c-opt-cpp-macro-define): Make into a full language variable.
17605 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17606 AWK Mode (including \n, \r) removed, no longer needed.
17608 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17609 Invoke c-make-macro-with-semi-re.
17611 * progmodes/cc-vars.el (c-macro-with-semi-re):
17612 (c-macro-names-with-semicolon): New variables.
17613 (c-make-macro-with-semi-re): New function.
17615 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17617 * vc/log-edit.el: Fill empty field rather than adding new one.
17618 (log-edit-add-field): New function.
17619 (log-edit-insert-changelog): Use it.
17621 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17623 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17625 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17627 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17628 (gdb--check-interpreter): New function.
17631 2011-10-27 Glenn Morris <rgm@gnu.org>
17633 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17634 (least-positive-float, least-negative-float)
17635 (least-positive-normalized-float, least-negative-normalized-float)
17636 (float-epsilon, float-negative-epsilon):
17637 Remove unnecessary declarations.
17639 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17640 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17641 (least-positive-float, least-negative-float)
17642 (least-positive-normalized-float, least-negative-normalized-float)
17643 (float-epsilon, float-negative-epsilon): Add doc-strings,
17644 based on those in cl.texi.
17646 * files.el (set-visited-file-name): If the major-mode changed,
17647 reload the local variables. (Bug#9796)
17649 2011-10-27 Chong Yidong <cyd@gnu.org>
17651 * subr.el (change-major-mode-after-body-hook): New hook.
17652 (run-mode-hooks): Run it.
17654 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17655 Use change-major-mode-before-body-hook.
17657 * simple.el (fundamental-mode):
17658 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17659 change introducing fundamental-mode-hook.
17661 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17663 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17665 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17667 * ido.el (ido-file-name-all-completions-1): Do not require
17668 tramp.el explicitly. (Bug#7583)
17670 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17672 * progmodes/octave-mod.el:
17673 * progmodes/octave-inf.el: Update maintainer.
17675 2011-10-26 Chong Yidong <cyd@gnu.org>
17677 * subr.el (with-wrapper-hook): Rewrite doc.
17679 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17681 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17682 filenames "/method:foo:". (Bug#9793)
17684 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17686 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17689 2011-10-24 Glenn Morris <rgm@gnu.org>
17691 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17693 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17695 * notifications.el: Add the requirement of a running D-Bus session
17696 bus to the Commentary.
17698 2011-10-24 Juri Linkov <juri@jurta.org>
17700 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17701 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17704 2011-10-24 Juri Linkov <juri@jurta.org>
17706 * info.el (Info-following-node-name-re): Add newline to the list
17707 of allowed characters for leading space. (Bug#9824)
17709 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17711 * progmodes/octave-inf.el (inferior-octave-mode-map):
17712 Fix C-c C-h binding.
17713 * progmodes/octave-mod.el (octave-help): Remove.
17715 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17717 Sync with Tramp 2.2.3.
17719 * net/tramp-cache.el (top): Pacify byte-compiler using
17720 `init-file-user' and `site-run-file'.
17722 * net/trampver.el: Update release number.
17724 2011-10-23 Chong Yidong <cyd@gnu.org>
17726 * files.el (toggle-read-only): Remove obsolete comment about
17729 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17730 for toggle-read-only. Note that this hasn't called vc-next-action
17731 since 2008-05-02, though it wasn't documented at the time.
17733 * vc/ediff-init.el (ediff-toggle-read-only-function):
17734 Use toggle-read-only.
17736 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17738 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17741 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17742 correct faulty logical expression.
17743 (c-parse-state-state, c-record-parse-state-state):
17744 (c-replay-parse-state-state): New defvar/defuns.
17745 (c-debug-parse-state): Use new functions.
17747 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17749 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17750 last fix. Use window-in-direction correctly.
17752 2011-10-21 Chong Yidong <cyd@gnu.org>
17754 * progmodes/idlwave.el (idlwave-mode):
17755 * progmodes/vera-mode.el (vera-mode): No need to set
17756 require-final-newline; that's done in prog-mode.
17757 Suggested by Stefan Monnier.
17759 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17761 * mouse.el (mouse-drag-window-above)
17762 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17763 (mouse-drag-mode-line-1, mouse-drag-header-line)
17764 (mouse-drag-vertical-line-rightward-window): Remove.
17765 (mouse-drag-line): New function.
17766 (mouse-drag-mode-line, mouse-drag-header-line)
17767 (mouse-drag-vertical-line): Call mouse-drag-line.
17768 * window.el (window-at-side-p, windows-at-side): New functions.
17770 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17772 * tar-mode.el (tar-grind-file-mode):
17773 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17775 2011-10-21 Chong Yidong <cyd@gnu.org>
17777 * progmodes/idlwave.el (idlwave-mode):
17778 * progmodes/vera-mode.el (vera-mode):
17779 Use mode-require-final-newline.
17781 2011-10-20 Glenn Morris <rgm@gnu.org>
17783 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17785 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17787 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17789 2011-10-20 Chong Yidong <cyd@gnu.org>
17791 * emulation/cua-base.el (cua-mode):
17792 * mail/footnote.el (footnote-mode):
17793 * mail/mailabbrev.el (mail-abbrevs-mode):
17794 * net/xesam.el (xesam-minor-mode):
17795 * progmodes/bug-reference.el (bug-reference-mode):
17796 * progmodes/cap-words.el (capitalized-words-mode):
17797 * progmodes/compile.el (compilation-minor-mode)
17798 (compilation-shell-minor-mode):
17799 * progmodes/gud.el (gud-tooltip-mode):
17800 * progmodes/hideif.el (hide-ifdef-mode):
17801 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17802 * progmodes/subword.el (subword-mode):
17803 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17804 * progmodes/which-func.el (which-function-mode):
17805 * term/tvi970.el (tvi970-set-keypad-mode):
17806 * term/vt100.el (vt100-wide-mode):
17807 * textmodes/flyspell.el (flyspell-mode):
17808 * textmodes/ispell.el (ispell-minor-mode):
17809 * textmodes/nroff-mode.el (nroff-electric-mode):
17810 * textmodes/paragraphs.el (use-hard-newlines):
17811 * textmodes/refill.el (refill-mode):
17812 * textmodes/reftex.el (reftex-mode):
17813 * textmodes/rst.el (rst-minor-mode):
17814 * textmodes/sgml-mode.el (html-autoview-mode)
17815 (sgml-electric-tag-pair-mode):
17816 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17817 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17818 * emulation/crisp.el (crisp-mode):
17819 * emacs-lisp/eldoc.el (eldoc-mode):
17820 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17821 minor mode behavior.
17823 2011-10-19 Juri Linkov <juri@jurta.org>
17825 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17826 the list of hard-coded chars with escape-glyph face.
17828 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17832 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17834 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17837 2011-10-19 Glenn Morris <rgm@gnu.org>
17839 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17840 Ignore ignored files. (Bug#9726)
17842 2011-10-19 Chong Yidong <cyd@gnu.org>
17844 Doc fix for minor modes, stating that an omitted argument enables
17845 the mode unconditionally when called from Lisp.
17847 * abbrev.el (abbrev-mode):
17848 * allout.el (allout-mode):
17849 * autoinsert.el (auto-insert-mode):
17850 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17851 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17852 (global-auto-revert-mode):
17853 * battery.el (display-battery-mode):
17854 * composite.el (global-auto-composition-mode)
17855 (auto-composition-mode):
17856 * delsel.el (delete-selection-mode):
17857 * desktop.el (desktop-save-mode):
17858 * dired-x.el (dired-omit-mode):
17859 * dirtrack.el (dirtrack-mode):
17860 * doc-view.el (doc-view-minor-mode):
17861 * double.el (double-mode):
17862 * electric.el (electric-indent-mode, electric-pair-mode):
17863 * emacs-lock.el (emacs-lock-mode):
17864 * epa-hook.el (auto-encryption-mode):
17865 * follow.el (follow-mode):
17866 * font-core.el (font-lock-mode):
17867 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17868 * help.el (temp-buffer-resize-mode):
17869 * hilit-chg.el (highlight-changes-mode)
17870 (highlight-changes-visible-mode):
17871 * hi-lock.el (hi-lock-mode):
17872 * hl-line.el (hl-line-mode, global-hl-line-mode):
17873 * icomplete.el (icomplete-mode):
17874 * ido.el (ido-everywhere):
17875 * image-file.el (auto-image-file-mode):
17876 * image-mode.el (image-minor-mode):
17877 * iswitchb.el (iswitchb-mode):
17878 * jka-cmpr-hook.el (auto-compression-mode):
17879 * linum.el (linum-mode):
17880 * longlines.el (longlines-mode):
17881 * master.el (master-mode):
17882 * mb-depth.el (minibuffer-depth-indicate-mode):
17883 * menu-bar.el (menu-bar-mode):
17884 * minibuf-eldef.el (minibuffer-electric-default-mode):
17885 * mouse-sel.el (mouse-sel-mode):
17886 * msb.el (msb-mode):
17887 * mwheel.el (mouse-wheel-mode):
17888 * outline.el (outline-minor-mode):
17889 * paren.el (show-paren-mode):
17890 * recentf.el (recentf-mode):
17891 * reveal.el (reveal-mode, global-reveal-mode):
17892 * rfn-eshadow.el (file-name-shadow-mode):
17893 * ruler-mode.el (ruler-mode):
17894 * savehist.el (savehist-mode):
17895 * scroll-all.el (scroll-all-mode):
17896 * scroll-bar.el (scroll-bar-mode):
17897 * server.el (server-mode):
17898 * shell.el (shell-dirtrack-mode):
17899 * simple.el (auto-fill-mode, transient-mark-mode)
17900 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17901 (line-number-mode, column-number-mode, size-indication-mode)
17902 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17903 * strokes.el (strokes-mode):
17904 * time.el (display-time-mode):
17905 * t-mouse.el (gpm-mouse-mode):
17906 * tool-bar.el (tool-bar-mode):
17907 * tooltip.el (tooltip-mode):
17908 * type-break.el (type-break-mode-line-message-mode)
17909 (type-break-query-mode):
17910 * view.el (view-mode):
17911 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17912 (global-whitespace-mode, global-whitespace-newline-mode):
17913 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17915 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17916 Fix autogenerated docstring.
17918 2011-10-19 Juri Linkov <juri@jurta.org>
17920 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17921 by checking environment variables "DESKTOP_SESSION" and
17922 "XDG_CURRENT_DESKTOP". (Bug#9779)
17924 2011-10-19 Juri Linkov <juri@jurta.org>
17926 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17927 (browse-url-chromium-program, browse-url-chromium-arguments):
17929 (browse-url-default-browser): Check for `browse-url-chromium' and
17930 call `browse-url-chromium-program'.
17931 (browse-url-chromium): New command. (Bug#9779)
17933 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17935 * facemenu.el (list-colors-duplicates): On Windows, detect more
17936 duplicates by assuming that only colors matching "^System" are
17937 special "system colors". (Bug#9722)
17939 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17941 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17942 to distinguish the author from the committer.
17944 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17946 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17948 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17950 * international/mule.el (sgml-html-meta-auto-coding-function):
17951 Add support for detecting encoding in HTML5 specified only as
17952 <meta charset="UTF-8">. Implementation just makes http-equiv and
17953 content-type parts from HTML4 encoding string optional. (Bug#9716)
17955 2011-10-18 Glenn Morris <rgm@gnu.org>
17957 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17959 2011-10-18 Chong Yidong <cyd@gnu.org>
17961 * faces.el (cursor): Doc fix.
17963 2011-10-17 Chong Yidong <cyd@gnu.org>
17965 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17967 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17969 * dirtrack.el (dirtrack): Support shell buffers with path
17970 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17972 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17974 * json.el: Bump version to 1.3 and note change in History.
17975 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17977 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17979 * comint.el (comint-insert-input, comint-send-input)
17980 (comint-get-old-input-default, comint-backward-matching-input)
17981 (comint-next-prompt): Use nil instead of `input' for field property of
17982 past user input (bug#114).
17984 * minibuffer.el (completion--replace): Inherit surrounding properties
17986 (minibuffer-complete-and-exit): Use it.
17988 * comint.el (comint--table-subvert): Quote the all-completions output
17991 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17993 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17995 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17996 window on right of selected. (Bug#9350) Reword other window
17997 entries and separate them from frame entries.
17999 2011-10-15 Glenn Morris <rgm@gnu.org>
18001 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18004 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18006 * net/network-stream.el (network-stream-open-starttls):
18007 Improve detection of failure due to lack of TLS support.
18009 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18010 putting the input text in front and in bold.
18012 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18014 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18016 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18019 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18020 unread-command-events rather than pushing yet-another event.
18022 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18024 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18025 the explanation of the possible choices. Make the options passed
18026 to completing-read shorter.
18028 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18030 * textmodes/flyspell.el (flyspell-large-region): Make sure
18031 extended character mode is used if defined (Bug#1339).
18033 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18035 * simple.el (what-cursor-position): Fix the display of the
18036 character info for LRE, LRO, RLE, and RLO characters by appending
18039 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18041 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18042 even in case of error; add debug spec; simplify data flow.
18043 (with-timeout-handler): Remove.
18045 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18047 Fix Bug#6019, Bug#9315.
18049 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18050 complete `buffer-file-name', the local file name part could look
18051 remotely (for example on VMS).
18053 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18054 `tramp-run-real-handler'.
18055 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18056 already quoted by '"'.
18058 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18059 Let `file-name-handler-alist' be nil, the local file name part
18060 could look remotely (for example on VMS).
18062 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18064 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18066 (flyspell-post-command-hook): ...to here.
18068 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18070 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18072 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18073 using completion. Protect against "slow" callers.
18074 Remove the "message hack".
18076 2011-10-11 Juri Linkov <juri@jurta.org>
18078 * isearch.el (isearch-lazy-highlight-word): New variable.
18079 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18082 2011-10-11 Glenn Morris <rgm@gnu.org>
18084 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18085 like f90-previous-statement does.
18087 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18089 * eshell/eshell.el (eshell-command): History should be saved
18090 only in interactive use, to avoid error.
18092 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18094 * minibuffer.el (completion-file-name-table): Fix last change,
18095 i.e. ignore normal errors but not the other ones.
18097 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18099 * window.el (special-display-buffer-names)
18100 (special-display-regexps): Remove some remnants of earlier
18101 changes from doc-strings.
18102 (quit-windows-on): New function.
18104 * vc/vc.el (vc-revert, vc-rollback):
18105 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18106 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18107 (Bug#6183) (Bug#7074) (Bug#7447)
18109 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18111 * window.el (frame-auto-hide-function): Add version tag.
18114 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18116 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18119 2011-10-09 Leo Liu <sdl.web@gmail.com>
18121 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18124 2011-10-08 Glenn Morris <rgm@gnu.org>
18126 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18127 before the first code statement zero indent. (Bug#9690)
18129 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18131 * simple.el (count-words-region): Always count in the region.
18132 Report the number of lines and characters too.
18133 (count-words): New command, which counts in the buffer if the
18134 region is inactive, as count-words-region used to.
18135 (count-words--message): New function. Handle plurals.
18136 (count-lines-region): Make it an alias for count-words-region.
18138 * bindings.el (esc-map): Replace count-lines-region with
18139 count-words-region.
18141 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18143 * window.el (window--delete): Delete dedicated frame
18144 unconditionally when argument KILL is non-nil. (Bug#9699)
18145 (switch-to-buffer): Fix doc-string typo.
18147 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18149 * eshell/eshell.el (eshell-command): Avoid using hooks.
18151 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18153 * bindings.el ([M-left],[M-right]): Bind to left-word and
18154 right-word respectively.
18156 2011-10-07 Glenn Morris <rgm@gnu.org>
18158 * cus-start.el (debug-on-quit): Fix custom type.
18160 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18162 * subr.el (define-key-after): Clarify that the function is not
18163 useful for non-menu keymaps.
18165 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18167 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18169 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18170 in current minibuffer (Fix bug with recursive minibuffers).
18172 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18174 * progmodes/gdb-mi.el (gdb): Doc fix.
18176 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18178 * window.el (frame-auto-hide-function): New option replacing
18179 frame-auto-delete. Suggested by Stefan Monnier.
18180 (window--delete): Call frame-auto-hide-function instead of
18181 investigating frame-auto-delete.
18182 (window-point-1, set-window-point-1): New functions.
18183 (window-in-direction, record-window-buffer, window-state-get-1)
18184 (display-buffer-record-window): Use window-point-1 instead of
18186 (set-window-buffer-start-and-point): Use set-window-point-1.
18188 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18190 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18192 2011-10-05 Glenn Morris <rgm@gnu.org>
18194 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18195 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18197 2011-10-05 Leo Liu <sdl.web@gmail.com>
18199 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18200 works with buffer object.
18202 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18204 * mpc.el (mpc-tool-bar-map): Add labels.
18206 2011-10-04 Glenn Morris <rgm@gnu.org>
18208 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18210 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18212 * window.el (window--delete): New function.
18213 (frame-auto-delete): Resuscitate option.
18214 (bury-buffer, replace-buffer-in-windows)
18215 (quit-window): Rewrite using window--delete.
18216 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18217 Pass display-buffer-mark-dedicated to window--display-buffer-2
18220 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18222 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18223 returns a list (bug#9554). Add remote file name completion.
18224 * comint.el (comint--table-subvert): Curry and get quote&unquote
18225 functions as arguments.
18226 (comint--complete-file-name-data): Adjust call accordingly.
18227 * pcomplete.el (pcomplete--table-subvert): Remove.
18228 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18230 * minibuffer.el (completion-table-case-fold): Use currying.
18231 (completion--styles-type, completion--cycling-threshold-type):
18233 (completion-styles, completion-category-overrides)
18234 (completion-cycle-threshold): Use them.
18235 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18236 completion-table-case-fold.
18238 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18240 * minibuffer.el (completion-category-overrides): Fix type of styles
18241 and add more user friendly tags (bug#9660).
18243 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18245 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18246 (mule-input-method-string): New widget.
18247 (default-input-method, language-info-custom-alist): Use it.
18249 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18251 * pcomplete.el: Require comint.
18252 (pcomplete--common-suffix): Remove.
18253 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18254 (pcomplete--table-subvert): Sync with comint--table-subvert.
18255 (pcomplete--entries): Use comint-completion-file-name-table.
18256 * comint.el (comint-unquote-filename): Simplify.
18257 (comint-completion-file-name-table): New function (bug#9616).
18258 (comint--complete-file-name-data): Use it.
18260 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18261 (pcmpl-gnu-tar-buffer): Remove.
18262 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18263 around. Make sure pcomplete-suffix-list is only changed temporarily.
18264 Don't look inside the tar's file if it's too large.
18266 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18268 * cus-edit.el (custom-mode-map):
18269 * epa.el (epa-key-list-mode-map):
18270 * man.el (Man-mode-map):
18271 * startup.el (splash-screen-keymap):
18272 * simple.el (special-mode-map): Use scroll-up-command and
18273 scroll-down-command.
18275 * progmodes/idlw-help.el (idlwave-help-mode-map):
18276 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18277 * net/newst-plainview.el (newsticker-mode-map):
18278 * emulation/ws-mode.el (wordstar-mode-map):
18279 * emulation/vi.el (vi-com-map):
18280 * calc/calc-graph.el (calc-graph-show-dumb):
18281 * term/sun.el (terminal-init-sun):
18282 * term/ns-win.el (global-map):
18283 * progmodes/grep.el (grep-mode-map):
18284 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18285 * mail/rmail.el (rmail-mode-map):
18286 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18288 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18289 custom-safe-themes as special.
18291 2011-10-01 Julien Danjou <julien@danjou.info>
18293 * notifications.el (notifications-notify): Fix docstring.
18295 2011-10-01 Per Starbäck <per@starback.se>
18297 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18299 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18301 * startup.el (command-line-1): Fix last fix by inserting
18302 initial-scratch-message into *scratch* before displaying it.
18303 (Bug#9605) and (Bug#9636)
18305 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18307 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18308 window is hscrolled, move by logical lines. (Bug#9607)
18309 (line-move-visual): Update the doc string to the above effect.
18311 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18313 * window.el (display-buffer-record-window): When WINDOW is the
18314 selected window use `point' instead of `window-point'. (Bug#9626)
18316 * startup.el (command-line-1): Use insert-before-markers when
18317 inserting initial-scratch-message. (Bug#9605)
18319 * help.el (help-window): Remove variable.
18321 2011-09-29 Glenn Morris <rgm@gnu.org>
18323 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18325 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18327 * descr-text.el (describe-char-categories): Accept category
18328 descriptions more than one line long.
18330 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * simple.el (delete-trailing-whitespace): Fix last change.
18334 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18335 Don't confuse "y => 3" as the beginning of a `y' operation.
18337 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18338 object has more than 4 slots (bug#9613).
18340 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18342 * subr.el (with-output-to-temp-buffer):
18343 * net/quickurl.el (quickurl, quickurl-browse-url):
18344 Fix typos in docstrings.
18346 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18348 * minibuffer.el (completion-styles)
18349 (completion-category-overrides): Cross reference each other in doc
18352 2011-09-27 Glenn Morris <rgm@gnu.org>
18354 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18355 to split-string. (Bug#9606)
18357 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18359 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18362 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18364 * emacs-lisp/package.el (list-packages): Fix echo area message.
18366 2011-09-27 Leo Liu <sdl.web@gmail.com>
18368 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18370 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18372 * net/dbus.el (dbus-unregister-object): Don't release services for
18373 registered signals. (Bug#9581)
18375 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18377 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18378 function that picks between cfengine 2 and 3 support
18379 automatically. Update docs accordingly.
18381 2011-09-22 Kenichi Handa <handa@m17n.org>
18383 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18385 (indian-itrans-v5-table-for-tamil): New variable.
18386 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18388 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18390 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18391 that's true if the current command involved collapsing of text.
18392 It's reset to false at the beginning of the next command.
18393 (allout-post-command-business): Move the cursor to the beginning
18394 of entry if the cursor is hidden and collapsing activity just
18397 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18399 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18400 tracking (Bug#9541).
18402 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18404 * net/newst-reader.el (newsticker-html-renderer)
18405 (newsticker-show-news): Automatically load html rendering package
18406 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18407 because w3m-fill-column is let-bound" and the error "Symbol's value
18408 as variable is void: w3m-fill-column".
18410 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18412 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18413 Release services only if they are defined. (Bug#9581)
18415 2011-09-23 Richard Stallman <rms@gnu.org>
18417 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18418 distinguish start of paragraph from start of its text.
18420 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18422 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18423 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18424 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18426 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18428 * international/mule-diag.el (mule-diag): Insert a newline after
18429 each fontset description.
18431 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18433 * simple.el (delete-trailing-whitespace):
18434 Document last change; simplify.
18436 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18438 * simple.el (delete-trailing-whitespace): Also delete
18439 extra newlines at the end of the buffer.
18441 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18442 (picture-newline): Use forward-line so as to ignore fields.
18444 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18446 * subr.el (with-wrapper-hook): Fix edebug spec.
18448 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18450 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18453 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18455 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18456 Fix nasty bug using wrong cached values.
18458 2011-09-23 Alan Mackenzie <acm@muc.de>
18460 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18462 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18464 * window.el (pop-to-buffer): Ensure right window is selected if we
18465 chose another frame.
18467 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18469 * simple.el (what-cursor-position): Use get-char-property-change
18470 and next-single-char-property-change, to be able to show display
18471 properties that come from overlays as well as text properties.
18473 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18475 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18477 * cmuscheme.el (run-scheme, switch-to-scheme):
18478 * cus-edit.el (customize-group, custom-buffer-create)
18479 (customize-browse):
18481 * shell.el (shell):
18482 * mail/sendmail.el (mail):
18483 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18485 2011-09-22 Richard Stallman <rms@gnu.org>
18487 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18488 move back only to line beg, don't move back over blank lines.
18490 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18492 * files.el (copy-directory): Set directory attributes only in case
18493 they could be retrieved from the source directory. (Bug#9565)
18495 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18497 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18498 (hs-find-block-beginning, hs-hide-level-recursive):
18499 Ignore strings as well as comments. (Bug#9502)
18501 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18503 * progmodes/sql.el (sql-comint-postgres):
18504 Convert port number to a string. (Bug#9566)
18506 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18508 * window.el (quit-window): Undedicate window when switching to
18509 previous buffer. Reported by Thierry Volpiatto
18510 <thierry.volpiatto@gmail.com>.
18511 (special-display-popup-frame): When popping up a new frame reset
18512 its previous buffers to nil. Simplify code.
18514 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18516 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18517 and process filter, as done also in `shell-command'.
18519 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18521 * window.el (set-window-buffer-start-and-point):
18522 Call set-window-start with NOFORCE argument t.
18523 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18524 (quit-window): Reword doc-string. Handle new format of
18525 quit-restore parameter. Don't delete window if it has a
18526 previous buffer we can show instead of the present one.
18527 (display-buffer-record-window): Rewrite using a new format for
18528 the quit-restore window parameter
18529 (special-display-popup-frame, display-buffer-same-window)
18530 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18531 (display-buffer-pop-up-window, display-buffer-use-some-window):
18532 Adapt symbol passed to display-buffer-record-window.
18533 * help.el (help-window-setup): Handle new format of quit-restore
18536 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18538 * faces.el (face-list): Fix docstring (bug#9564).
18540 * window.el (display-buffer--action-function-custom-type):
18541 Don't include internal functions in the Custom interface.
18543 2011-09-20 Juri Linkov <juri@jurta.org>
18545 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18546 (Info-forward-node, Info-backward-node, Info-next-preorder)
18547 (Info-last-preorder): Use it. (Bug#9528)
18549 2011-09-20 Juri Linkov <juri@jurta.org>
18551 * info.el (Info-last-preorder): Visit last menu item only when
18552 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18554 2011-09-20 Julien Danjou <julien@danjou.info>
18556 * password-cache.el (password-cache-remove): Remove entries even if the
18557 value is nil, so that password with a nil value (negative caching) is
18558 possible to invalidate.
18560 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18562 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18563 all whitespace around breakpoint. (Bug#9553)
18564 (f90-find-breakpoint): Only break at whitespace inside a comment.
18566 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18568 * minibuffer.el (completion-file-name-table): Keep track of errors.
18569 (completion-table-with-predicate): Handle the case where pred1 is nil.
18570 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18572 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18574 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18575 (debugger-return-value): Signal an error if the debugging context does
18576 not await any return value.
18578 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18579 * image-mode.el (image-toggle-display-text)
18580 (image-toggle-display-image): Stay away from evil `intangible'.
18582 2011-09-19 Leo Liu <sdl.web@gmail.com>
18584 * replace.el (occur-revert-arguments): Make it permanent-local.
18585 (occur-mode): Don't call font-lock-defontify.
18587 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18589 * net/ldap.el (ldap-search-internal): Don't push empty search
18592 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18594 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18596 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18598 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18599 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18601 2011-09-18 Juri Linkov <juri@jurta.org>
18603 * buff-menu.el (Buffer-menu-mode-map):
18604 * dired.el (dired-mode-map):
18605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18606 (lisp-interaction-mode-map):
18607 * emacs-lisp/package.el (package-menu-mode-map):
18608 * epa.el (epa-key-list-mode-map):
18609 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18610 (menu-bar-options-menu):
18611 * outline.el (outline-mode-menu-bar-map):
18612 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18613 * vc/vc-dir.el (vc-dir-menu-map):
18614 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18615 Capitalize non-function content words in menu item strings.
18617 * dired.el (dired-mode-map): Add menu item for
18618 `image-dired-dired-toggle-marked-thumbs'.
18620 2011-09-18 Juri Linkov <juri@jurta.org>
18622 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18623 to `isearch-case-fold-search' and restore its original value
18624 after the `isearch-mode' call.
18626 2011-09-18 Juri Linkov <juri@jurta.org>
18628 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18629 because `zgrep' returns 1 for successful matches (bug#9226).
18631 2011-09-18 Juri Linkov <juri@jurta.org>
18633 * info.el (Info-extract-menu-node-name): Check the second match
18634 for empty string (second test-case of bug#9528).
18635 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18636 intermediate nodes to the history (first test-case of bug#9528).
18638 2011-09-18 Juri Linkov <juri@jurta.org>
18640 * info.el (Info-mode-syntax-table): New variable.
18641 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18643 2011-09-18 Juri Linkov <juri@jurta.org>
18645 * info.el (Info-file-supports-index-cookies):
18646 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18647 outputs one more line for long file names (bug#4142).
18649 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18651 * newcomment.el (comment-normalize-vars): If prompting for
18652 comment-start, set comment-start-skip too (Bug#8424).
18654 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18656 * icomplete.el: Fix previous fix of Bug#5849.
18657 (icomplete-mode): Don't set completion-show-inline-help.
18658 (icomplete-minibuffer-setup): Set completion-show-inline-help
18659 locally during icompletion.
18661 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18663 * woman.el (woman2-process-escapes): Don't delete unrecognized
18664 escapes (Bug#7843).
18666 * files.el (inhibit-first-line-modes-regexps): Add image files.
18667 (hack-local-variables-prop-line): Return nil for malformed
18668 prop-lines (Bug#9044).
18670 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18672 * net/tramp.el (top): Don't require 'shell.
18673 (tramp-methods): Fix docstring.
18674 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18675 Return complete remote file name. Handle "smb" case.
18676 Use `tramp-tmpdir', if defined for the respective method.
18677 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18679 * net/tramp-compat.el (top): Require 'shell.
18681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18682 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18683 `tramp-current-host'.
18684 (tramp-get-remote-tmpdir): Remove.
18686 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18687 `tramp-tmpdir' entries.
18688 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18689 (tramp-smb-handle-file-attributes): Ignore errors.
18690 (tramp-smb-wait-for-output): Check also for process end.
18692 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18694 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18695 when sending QUIT (bug#9312).
18697 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18699 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18700 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18701 occur-mode-display-occurrence.
18702 (occur-edit-mode): Add usage message.
18703 (occur-cease-edit): New command.
18704 (occur-after-change-function): Use text properties to find the
18705 position of the prefix text.
18706 (occur-engine): Set stickiness of prefix text properties.
18708 2011-09-17 Glenn Morris <rgm@gnu.org>
18710 * progmodes/etags.el (complete-tag):
18711 Fix call to completion-in-region. (Bug#9526)
18713 2011-09-17 Juri Linkov <juri@jurta.org>
18715 * textmodes/ispell.el (ispell-word): Add to the error message
18716 the word, ispell program name and current dictionary (bug#9121).
18717 (ispell-tex-arg-end): Capitalize "error" in the error message.
18719 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18721 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18724 2011-09-17 Juri Linkov <juri@jurta.org>
18726 * window.el (window-safe-min-height, window-safe-min-width):
18727 Fix typos (followup to bug#9522).
18729 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18731 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18733 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18735 * simple.el (line-move): If goal-column is set, move by logical
18736 lines, not by display lines. (Bug#971)
18737 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18738 to reflect the above change.
18740 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18742 * image.el (imagemagick-register-types): Use regexp-opt.
18744 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18746 * window.el (display-buffer-base-action): Rename from
18747 display-buffer-default-action. Make default value empty.
18748 (display-buffer-overriding-action): Convert to defvar.
18749 (display-buffer-fallback-action): New var.
18751 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18753 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18755 (package--add-to-archive-contents): If there is a duplicate entry
18756 with an older version, remove it.
18757 (package-menu-mark-delete, package-menu-mark-install)
18758 (package-menu-mark-unmark): Make unused args optional.
18759 (package-menu-mark-obsolete-for-deletion):
18760 Use package-menu-get-status instead of a regexp search.
18761 (package-menu-get-status): Use tabulated-list-entry.
18762 (package-menu-mark-upgrades): New command.
18763 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18764 (package-menu-execute): Do installation before deletion.
18765 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18766 instead of checking major-mode.
18767 (package-menu--find-upgrades): New function.
18769 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18771 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18772 passwords in the log buffer.
18773 (smtpmail-process-filter): Update the process marker so that the
18774 "broken by peer" status message is inserted in the right place.
18776 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18778 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18779 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18780 bibtex-completion-at-point-function.
18781 (bibtex-completion-at-point-function): Use them.
18783 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18785 * mpc.el (mpc-constraints-tag-lookup): New function.
18786 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18787 also to browser "album|playlist".
18789 2011-09-14 Juri Linkov <juri@jurta.org>
18791 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18792 (isearch-edit-string): Use length of `isearch-string' when
18793 `isearch-fail-pos' returns nil.
18794 (isearch-message): Remove duplicate code and call
18795 `isearch-fail-pos' with arg `t'.
18797 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18799 * replace.el (occur-mode-goto-occurrence): Don't force using other
18802 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18804 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18806 * window.el (display-buffer-window): Remove.
18807 (display-buffer-record-window): Use help-setup window parameter
18808 instead of variable display-buffer-window.
18809 (display-buffer-function, special-display-buffer-names)
18810 (special-display-function): Mention help-setup parameter instead
18811 of display-buffer-window in doc-string.
18812 * help.el (help-window-setup): New argument help-window.
18813 Use help-window-setup parameter instead of display-buffer-window.
18814 Reword some messages.
18815 (with-help-window): Pass window used for displaying the buffer
18816 to help-window-setup. Don't set display-buffer-window.
18818 2011-09-13 Glenn Morris <rgm@gnu.org>
18820 * emacs-lisp/debug.el (debugger-make-xrefs):
18821 Preserve point. (Bug#9462)
18823 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18825 * window.el (window-deletable-p): Use next-frame.
18827 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18829 * window.el (window-auto-delete): Remove.
18830 (window-deletable-p): Remove argument FORCE. Don't deal with
18831 dedication and previous buffers.
18832 (switch-to-prev-buffer): Don't delete window.
18833 (delete-windows-on): Delete a window's frame if and only if the
18834 window is dedicated.
18835 (replace-buffer-in-windows): Delete buffer's window or frame if
18836 and only if window is dedicated.
18837 (quit-window): Handle quit-restore as before last change.
18838 (bury-buffer): Delete window only if window-deletable-p returns t.
18840 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18842 * window.el (window-deletable-p): Never delete the last frame on a
18845 2011-09-13 Glenn Morris <rgm@gnu.org>
18847 * help.el (describe-key-briefly): Copy previous standard-output change.
18849 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18851 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18853 2011-09-13 Glenn Morris <rgm@gnu.org>
18855 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18856 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18858 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18860 * dired-aux.el (dired-mark-read-string): Don't return default
18861 value on empty input (Bug#9361).
18862 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18863 Omit initial minibuffer contents.
18864 (dired-do-chmod): Signal an error on empty input.
18865 (dired-mark-read-string): Don't return default on empty input.
18867 * files.el (file-modes-symbolic-to-number): Doc fix.
18869 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * international/mule-cmds.el (ucs-completions): Remove.
18872 (read-char-by-name): Use complete-with-action instead; add metadata.
18874 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18876 * window.el (display-buffer--action-function-custom-type)
18877 (display-buffer--action-custom-type): New vars.
18878 (display-buffer-alist, display-buffer-default-action)
18879 (display-buffer-overriding-action): Add defcustom types.
18881 * frame.el (delete-other-frames): Doc fix (Bug#276).
18883 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18885 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18887 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18889 Change modes that used same-window-* vars to use switch-to-buffer.
18891 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18892 Use switch-to-buffer.
18894 * cus-edit.el (customize-group, custom-buffer-create)
18895 (customize-browse, custom-buffer-create-other-window):
18896 Use switch-to-buffer or switch-to-buffer-other-window.
18898 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18899 (Info-prev, Info-up, Info-speedbar-goto-node)
18900 (info-display-manual): Use switch-to-buffer.
18901 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18903 * mail/sendmail.el (mail): Use switch-to-buffer.
18904 (mail-recover): Use switch-to-buffer-other-window.
18906 * cmuscheme.el (run-scheme, switch-to-scheme):
18908 * shell.el (shell):
18909 * net/rlogin.el (rlogin):
18910 * net/telnet.el (telnet, rsh):
18911 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18913 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18915 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18917 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18919 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18920 so don't mention it (bug#9301).
18921 (dired-sort-toggle-or-edit): Clarify string further.
18923 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18924 match `x', `w32' and `ns', like the manual says (bug#9029).
18926 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18927 (process-kill-buffer-query-function): Mention the buffer name in
18930 * image-mode.el (image-next-line): The line parameter is mandatory
18933 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18934 which can be useful (bug#9301).
18936 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18938 * subr.el (match-string): Mention that the current buffer should
18939 be the same as the search was done in (bug#9282).
18941 * facemenu.el: Disable the remove-* commands if the mark isn't
18944 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18946 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18948 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18950 * replace.el (occur-mode-goto-occurrence)
18951 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18952 and display-buffer.
18954 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18957 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18958 special-display and same-window variables.
18959 (mail-other-window): Use switch-to-buffer-other-window.
18960 (mail-other-frame): USe switch-to-buffer-other-frame.
18962 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18963 Use display-buffer-other-frame.
18964 (gdb-display-gdb-buffer): Use pop-to-buffer.
18966 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18968 * progmodes/python.el: Don't set same-window-buffer-names.
18970 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18972 * window.el (display-buffer-alist): Add *Python*.
18974 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18976 * window.el (display-buffer-alist): Add entry for buffers
18977 previously handled same-window-*.
18978 (display-buffer-alist, display-buffer-default-action)
18979 (display-buffer-overriding-action): Mark as risky.
18980 (display-buffer-alist): Document action function changes.
18981 (display-buffer--same-window-action)
18982 (display-buffer--other-frame-action): New variables.
18983 (switch-to-buffer, display-buffer-other-frame): Use them.
18984 (display-buffer): Rename reuse-frame entry to reusable-frames.
18985 (display-buffer-reuse-selected-window): Function deleted.
18986 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18987 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18988 (display-buffer-special): New function.
18989 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18990 display-buffer-reuse-or-pop-window. Split off special-display
18991 part into display-buffer-special.
18992 (display-buffer-use-some-window): Don't perform any special
18993 pop-up-frames handling.
18994 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18995 (display-buffer--maybe-same-window): Rename from
18996 display-buffer-maybe-same-window.
18998 * info.el: Don't set same-window-regexps.
18999 (info-setup): New function.
19000 (info-other-window, info): Call it.
19002 * cus-edit.el: Don't set same-window-regexps.
19003 (customize-group): New argument.
19004 (customize-group-other-window): Use it.
19005 (customize-face, customize-face-other-window): Likewise.
19006 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19010 * progmodes/gud.el: Don't set same-window-regexps.
19015 * mail/sendmail.el:
19016 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19018 2011-09-10 Juri Linkov <juri@jurta.org>
19020 * isearch.el (isearch-edit-string): Remove obsolete mention of
19021 `C-w' (`isearch-yank-word-or-char') from docstring.
19022 (isearch-query-replace): Fix typo in docstring (bug#9466).
19024 2011-09-10 Juri Linkov <juri@jurta.org>
19026 * paren.el (show-paren-function): Don't show escaped parens.
19027 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19029 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19031 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19032 (mm-default-file-encoding): Remove autoload forms, they are
19033 replaced with autoload cookies in mml.el and mm-encode.el.
19034 (mail-add-attachment): New command.
19035 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19036 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19038 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19040 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19042 * simple.el (count-words-region): Use buffer if there's no region
19045 2011-09-09 Juri Linkov <juri@jurta.org>
19047 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19048 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19049 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19051 2011-09-09 Alan Mackenzie <acm@muc.de>
19053 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19054 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19056 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19058 Fix for Savannah bug#9392.
19059 * simple.el (mail-encode-mml): New defvar.
19061 * mail/rmail.el (mail-encode-mml): Add a defvar.
19062 (rmail-enable-mime-composing): Default to t.
19063 (rmail-forward): Use MIME method of forwarding only if both
19064 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19065 Set mail-encode-mml non-nil if the MIME method was used.
19067 * mail/sendmail.el (mml-to-mime): Add autoload form.
19068 (mail-encode-mml): Add a defvar.
19069 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19071 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19072 message through mml-to-mime, and reset mail-encode-mml to nil.
19074 2011-09-09 Glenn Morris <rgm@gnu.org>
19076 * woman.el (woman-if-body): When processing an .el block,
19077 do not delete the next .el block as well. (Bug#9447)
19078 (woman-special-characters): Add oq, cq, and hy characters.
19080 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19082 * window.el (window-deletable-p): Make sure window is live before
19083 invoking window-prev-buffers.
19085 2011-09-08 Leo Liu <sdl.web@gmail.com>
19087 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19089 2011-09-08 Juri Linkov <juri@jurta.org>
19091 * progmodes/compile.el (compilation-environment): Make it
19092 a defcustom (bug#8340).
19094 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19096 * window.el (frame-auto-delete): Rename to window-auto-delete.
19097 Make it control auto-deletion of windows and/or frames.
19098 (window-deletable-p): New argument FORCE. Rewrite conditions
19099 for deleting window/frame. (Bug#9419)
19100 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19101 Rewrite handling of case when window/frame can be deleted.
19102 (delete-windows-on): Call window-deletable-p with new FORCE
19103 argument t. (Bug#9456)
19105 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19107 * help-mode.el (help-mode): Restore autoload.
19109 2011-09-07 Juri Linkov <juri@jurta.org>
19111 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19112 `compilation-environment'. Set buffer-local
19113 `compilation-environment' to `thisenv' later after (funcall mode).
19116 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19117 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19118 instead of replacing its value. (Bug#8340)
19120 2011-09-07 Juri Linkov <juri@jurta.org>
19122 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19123 based on text properties put by `grep-filter' instead of matching
19125 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19126 to the value of `grep-error-screen-columns' (bug#9438).
19128 2011-09-07 Juri Linkov <juri@jurta.org>
19130 * simple.el (next-error-highlight, next-error-highlight-no-select):
19131 Doc fix (bug#9432).
19133 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19135 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19136 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19138 2011-09-07 Leo Liu <sdl.web@gmail.com>
19140 * net/rcirc.el (rcirc-mode): Conditionally initialize
19143 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19145 * emacs-lisp/find-func.el (find-function-C-source): Only set
19146 find-function-C-source-directory after checking that we found a source
19147 file there (bug#9440).
19149 2011-09-06 Alan Mackenzie <acm@muc.de>
19151 * isearch.el (isearch-other-meta-char): Wherever a key list is
19152 unread, "unread" the prefix arg, too. This fixes bug #8901.
19154 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19156 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19158 2011-09-05 Juri Linkov <juri@jurta.org>
19160 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19162 2011-09-05 Juri Linkov <juri@jurta.org>
19164 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19165 keeping point where processing of grep matches begins, and
19166 continue to delete remaining escape sequences from the same point.
19167 (grep-filter): Make leading zero optional in "0?1;31m" because
19168 git-grep emits "\033[1;31m" escape sequences unlike expected
19169 "\033[01;31m" as GNU Grep does (bug#9408).
19170 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19172 2011-09-05 Juri Linkov <juri@jurta.org>
19174 * subr.el (y-or-n-p): Capitalize "yes".
19176 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19178 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19179 `tramp-cache-unload-hook' where appropriate.
19180 (tramp-methods): Rename `tramp-remote-sh' to
19181 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19182 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19184 * net/tramp-sh.el (top): Don't require 'shell.
19185 (tramp-methods): Add `tramp-remote-shell' and
19186 `tramp-remote-shell-args' entries.
19187 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19188 (tramp-sh-handle-shell-command): Remove.
19189 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19190 Use `tramp-remote-shell'.
19192 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19194 * mail/sendmail.el (sendmail-query-once-function): Delete.
19195 (sendmail-query-once): Save directly to send-mail-function.
19196 Update message-send-mail-function too.
19198 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19200 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19202 * progmodes/python.el (python-mode-map): Use correct function to
19203 start python interpreter from menu-bar (as reported by Geert
19205 (inferior-python-mode-map): Fix typo.
19206 (python-shell-map): Remove.
19208 2011-09-03 Deniz Dogan <deniz@dogan.se>
19210 * net/rcirc.el (rcirc-print): Simplify code for
19211 rcirc-scroll-show-maximum-output. There is no need to walk
19212 through all windows to find the right one.
19214 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19216 * help.el (help-return-method): Doc fix.
19218 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19220 * window.el (window-deletable-p): Don't return a non-nil value
19221 when there's a buffer that was shown in the window before.
19223 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19224 Set window's previous buffers to nil.
19226 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19228 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19229 newline before and after the tag line, so it doesn't interfere
19230 with determining the paragraph direction of bidirectional text.
19232 2011-09-03 Leo Liu <sdl.web@gmail.com>
19234 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19236 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19238 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19239 (pop-to-buffer): Change interactive spec. Pass second argument
19240 directly to display-buffer.
19241 (display-buffer): Fix interactive spec. Use functionp to
19242 distinguish between a function and a list of functions.
19244 * abbrev.el (edit-abbrevs):
19245 * arc-mode.el (archive-extract):
19246 * autoinsert.el (auto-insert):
19247 * bookmark.el (bookmark-bmenu-list):
19248 * files.el (find-file):
19249 * view.el (view-buffer):
19250 * progmodes/compile.el (compilation-goto-locus):
19251 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19253 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19255 * window.el (display-buffer-alist): Doc fix.
19256 (display-buffer): Add docstring. Don't treat
19257 display-buffer-default specially.
19258 (display-buffer-reuse-selected-window)
19259 (display-buffer-same-window, display-buffer-maybe-same-window)
19260 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19261 (display-buffer-pop-up-window)
19262 (display-buffer-reuse-or-pop-window)
19263 (display-buffer-use-some-window): New functions.
19264 (display-buffer-default-action): Use them.
19265 (display-buffer-default): Delete.
19266 (pop-to-buffer-1): Fix choice of actions.
19268 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19270 * minibuffer.el (completion--insert-strings): Don't get confused by
19271 completion entries that end with an LF char.
19273 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19275 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19277 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19279 * window.el (display-buffer): Restore interactive spec.
19280 (display-buffer-same-window, display-buffer-other-window):
19282 (pop-to-buffer-1): New function. Use the above.
19283 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19284 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19286 * view.el (view-buffer-other-window, view-buffer-other-frame):
19287 Just use pop-to-buffer.
19289 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19291 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19293 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19295 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19297 2011-08-31 Richard Stallman <rms@gnu.org>
19299 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19300 of the separation of rmail-view-buffer from rmail-buffer.
19301 If you say no to "replace original", the decrypt is in the
19302 view buffer. If you say yes, the decrypt goes into the
19305 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19307 * window.el (display-buffer-window): Rewrite doc-string.
19308 (display-buffer-record-window): New function.
19309 (display-buffer-macro-specifiers)
19310 (display-buffer-even-window-sizes, display-buffer-set-height)
19311 (display-buffer-set-width, display-buffer-in-window)
19312 (display-buffer-reuse-window, display-buffer-split-specifiers)
19313 (display-buffer-side-specifiers, display-buffer-split-window-1)
19314 (display-buffer-split-window, display-buffer-split-atom-window)
19315 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19316 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19317 (display-buffer-other-window-means-other-frame)
19318 (display-buffer-normalize-special)
19319 (display-buffer-normalize-default)
19320 (display-buffer-normalize-argument)
19321 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19322 (display-buffer-normalize-specifiers, display-buffer-frame)
19323 (display-buffer-same-window, display-buffer-same-frame)
19324 (display-buffer-other-window)
19325 (display-buffer-same-frame-other-window)
19326 (display-buffer-other-frame, pop-to-buffer-same-window)
19327 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19328 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19329 (switch-to-buffer-same-frame)
19330 (switch-to-buffer-other-window-same-frame)
19331 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19332 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19333 (display-buffer-alist-set): Remove.
19334 (display-buffer-function, special-display-buffer-names)
19335 (special-display-regexps, special-display-function):
19336 In doc-string refer to display-buffer-window and quit-restore
19338 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19339 (special-display-frame-alist, special-display-popup-frame)
19340 (same-window-buffer-names, same-window-regexps, same-window-p)
19341 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19342 (split-window-preferred-function, split-height-threshold)
19343 (split-width-threshold, window-splittable-p)
19344 (split-window-sensibly, window--try-to-split-window)
19345 (window--frame-usable-p, even-window-heights)
19346 (window--even-window-heights, window--display-buffer-1)
19347 (window--display-buffer-2, display-buffer-other-frame):
19348 Restore old Emacs 23 code, order and doc-strings where applicable.
19349 (display-buffer-default, display-buffer-assq-regexp): New functions.
19350 (display-buffer-alist): Rewrite doc-string.
19351 (display-buffer-default-action)
19352 (display-buffer-overriding-action): New variables.
19353 (display-buffer, switch-to-buffer): Rewrite.
19354 (pop-to-buffer): Restore Emacs 23 behavior but use
19355 window-normalize-buffer-to-display.
19356 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19357 Restore Emacs 23 behavior but use
19358 window-normalize-buffer-to-switch-to.
19359 (pop-to-buffer-same-window): Rewrite.
19360 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19361 Rewrite using Emacs 23 options.
19363 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19365 * net/tramp.el (tramp-root-regexp): Remove.
19366 (tramp-completion-file-name-regexp-unified)
19367 (tramp-completion-file-name-regexp-separate)
19368 (tramp-completion-file-name-regexp-url): Don't use leading volume
19369 letter on w32 systems. (Bug#5303, Bug#9311)
19370 (tramp-drop-volume-letter): Simplify definition.
19371 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19373 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19375 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19378 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19380 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19382 2011-08-29 Juri Linkov <juri@jurta.org>
19384 * isearch.el (isearch-done): Don't display message "Mark saved"
19385 when arg `edit' is non-nil to prevent its flicker in the echo area.
19387 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19389 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19390 obsolete packages for deletion.
19392 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19394 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19395 (help-mode): Derive help-mode from special-mode. Don't invoke
19396 view-mode from help-mode.
19397 (help-xref-override-view-map): Remove.
19398 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19399 view-mode is not used anymore.
19401 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19403 * server.el (server-port): Doc fix.
19405 * cus-theme.el (custom-theme-choose-mode): Inherit from
19406 special-mode (Bug#9124).
19407 (custom-theme-choose-mode-map): Add special-mode to parent.
19409 2011-08-28 Alan Mackenzie <acm@muc.de>
19411 * progmodes/cc-fonts.el
19412 (c-make-font-lock-BO-decl-search-function): New function.
19413 (c-basic-matchers-after - "Fontify the clauses after various
19414 keywords"): Extract the three keyword lists for the 3 erroneous
19415 constructs from the list of four, and use the new function above
19416 in place of an old one.
19418 2011-08-28 Deniz Dogan <deniz@dogan.se>
19420 * net/rcirc.el (rcirc-insert-prev-input)
19421 (rcirc-insert-next-input): Remove unused argument.
19423 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19425 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19427 2011-08-27 Alan Mackenzie <acm@muc.de>
19429 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19430 handle function pointer parameters properly.
19432 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19434 * window.el (display-buffer-reuse-window): Fix case where
19435 selected window was reused with non-nil OTHER-WINDOW argument.
19438 2011-08-27 Deniz Dogan <deniz@dogan.se>
19440 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19441 oftc's NickServ messages.
19443 2011-08-27 Glenn Morris <rgm@gnu.org>
19445 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19447 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19449 * emacs-lisp/package.el (package-install): Call package-initialize
19450 if called interactively.
19452 2011-08-26 Leo Liu <sdl.web@gmail.com>
19454 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19456 2011-08-25 Juri Linkov <juri@jurta.org>
19458 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19459 `search-whitespace-regexp' (bug#9364).
19461 2011-08-25 Juri Linkov <juri@jurta.org>
19463 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19464 `regexp-search-ring' to their global values to protect from
19465 updating by `read-from-minibuffer' (bug#9185).
19467 2011-08-25 Juri Linkov <juri@jurta.org>
19469 * textmodes/ispell.el (ispell-command-loop): Add newline
19470 at the end of the "Use option `i'..." line.
19472 2011-08-25 Juri Linkov <juri@jurta.org>
19474 * battery.el (display-battery-mode): If `battery-status-function'
19475 or `battery-mode-line-format' is nil, display the message and set
19476 `display-battery-mode' to nil (bug#9363).
19478 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19480 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19481 bidi-string-mark-left-to-right; they are unnecessary now.
19483 2011-08-25 Deniz Dogan <deniz@dogan.se>
19485 * net/quickurl.el: Documentation typo fixes.
19487 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19489 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19491 2011-08-25 Glenn Morris <rgm@gnu.org>
19493 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19495 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19496 (smtpmail-via-smtp): Handle nil response from smtp.
19498 2011-08-24 Juri Linkov <juri@jurta.org>
19500 * proced.el (proced-marked): Inherit from `error' instead of
19501 `font-lock-warning-face'.
19503 * ibuffer.el (ibuffer-marked-face): Change default face from
19504 `font-lock-warning-face' to `warning'.
19505 (ibuffer-deletion-face): Change default face from
19506 `font-lock-type-face' to `error'.
19508 * battery.el (battery-update): Use the face `error' instead of
19509 `font-lock-warning-face' (bug#6117).
19511 2011-08-24 Juri Linkov <juri@jurta.org>
19513 * faces.el (success): Change face color from "Green3" to
19514 "ForestGreen" on light background (bug#9353).
19516 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19518 * window.el (quit-window): Rename from quit-restore-window.
19519 Use same arglist as old quit-window.
19520 (frame-auto-delete): Doc fix.
19522 * view.el (view-mode-exit): Use quit-window.
19524 2011-08-24 Juri Linkov <juri@jurta.org>
19526 * isearch.el (isearch-ring-adjust1): Start visiting previous
19527 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19528 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19529 for empty search string (when the last search string is reused
19530 automatically) to adjust the isearch ring to the last element and
19531 prepare the correct index for further M-p commands (bug#9185).
19533 2011-08-24 Kenichi Handa <handa@m17n.org>
19535 * international/ucs-normalize.el: If decomposition property of
19536 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19538 (nfd, nfkd): Likewise.
19540 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19542 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19543 from process filters aren't reliably transmitted to the surrounding
19544 accept-process-output.
19545 (mpc-proc-check): New function.
19546 (mpc-proc-sync): Use it (bug#8293)
19548 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19550 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19551 Add compatibility functions (bug#9313).
19553 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19555 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19557 * international/uni-bidi.el: Regenerate.
19559 2011-08-23 Kenichi Handa <handa@m17n.org>
19561 * international/charprop.el:
19562 * international/uni-bidi.el:
19563 * international/uni-category.el:
19564 * international/uni-combining.el:
19565 * international/uni-comment.el:
19566 * international/uni-decimal.el:
19567 * international/uni-decomposition.el:
19568 * international/uni-digit.el:
19569 * international/uni-lowercase.el:
19570 * international/uni-mirrored.el:
19571 * international/uni-name.el:
19572 * international/uni-numeric.el:
19573 * international/uni-old-name.el:
19574 * international/uni-titlecase.el:
19575 * international/uni-uppercase.el: Regenerate.
19577 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19579 * help.el (help-window-setup): Fix message displayed when other
19580 window is reused. (Bug#9341)
19582 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19584 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19585 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19587 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19589 * shell.el (shell-parse-pcomplete-arguments): New function.
19590 (shell-completion-vars): Use it instead (bug#9160).
19592 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19594 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19595 strings and comments (bug#9333).
19597 * emacs-lisp/debug.el (debug-arglist): New function.
19598 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19599 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19601 2011-08-22 Juri Linkov <juri@jurta.org>
19603 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19604 Revert regexp that highlights output switches to its old
19605 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19607 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19608 to check for empty output (bug#9226).
19610 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19612 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19613 symbol-constituent as the default, as that stops font-lock from
19614 working properly (Bug#8843).
19616 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19618 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19619 `coding-system-for-*' around the process open call to avoid
19620 auth-source side effects.
19621 (smtpmail-try-auth-methods): Expand the secret password.
19622 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19625 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19627 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19629 * emacs-lisp/find-func.el (find-function-noselect): New arg
19632 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19633 signal an error for built-in functions (Bug#6664).
19635 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19637 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19638 (smtpmail-try-auth-methods): Use it.
19640 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19642 * font-lock.el (font-lock-fontify-region)
19643 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19644 (font-lock-default-unfontify-buffer)
19645 (font-lock-default-fontify-region)
19646 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19648 * progmodes/compile.el (compilation-error-properties):
19649 Fix confusion between file struct and message struct (Bug#9319).
19650 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19653 * net/browse-url.el (browse-url-firefox): Don't call
19654 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19656 2011-08-20 Glenn Morris <rgm@gnu.org>
19658 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19660 * tutorial.el (tutorial--default-keys): Update some default bindings.
19662 * files.el (hack-local-variables): Fully ignore case for "mode:".
19664 2011-08-20 Alan Mackenzie <acm@muc.de>
19666 Resolve invalid use of a regexp in regexp-opt.
19668 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19669 detection for a java annotation.
19671 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19672 detection for a java annotation.
19674 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19676 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19678 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19680 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19683 2011-08-20 Alan Mackenzie <acm@muc.de>
19685 Fontify CPP expressions correctly when starting in the middle of
19686 such a construct. Mainly for when jit-lock etc. starts a chunk
19689 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19691 (c-make-font-lock-search-form): New function, extracted from
19692 c-make-font-lock-search-function.
19693 (c-make-font-lock-search-function): Use the above function.
19694 (c-make-font-lock-context-search-function): New function.
19695 (c-cpp-matchers): Enhance the preprocessor expression case with
19697 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19698 which takes an expression.
19700 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19702 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19704 * window.el (display-buffer-reuse-window)
19705 (display-buffer-pop-up-window): Don't reuse or split a side
19708 2011-08-19 Glenn Morris <rgm@gnu.org>
19710 * files.el (hack-local-variables-prop-line, hack-local-variables):
19711 Downcase "Mode:". (Bug#9331)
19713 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19715 * international/characters.el: Add L and R categories.
19717 * subr.el (bidi-string-mark-left-to-right): Rename from
19718 string-mark-left-to-right. Use category search.
19720 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19722 2011-08-18 Juri Linkov <juri@jurta.org>
19724 * faces.el (error, warning, success): New faces with definitions
19725 copied from old default values of `font-lock-warning-face',
19726 `compilation-warning', `compilation-info' (bug#6117).
19728 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19730 * progmodes/compile.el (compilation-error): Inherit from `error'.
19731 (compilation-warning): Inherit from `warning'.
19732 (compilation-info): Inherit from `success'.
19734 * dired.el (dired-marked): Inherit from `warning'.
19735 (dired-flagged): Inherit from `error'.
19737 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19739 * mail/smtpmail.el (auth-source): Require to avoid problems with
19740 binding variables (bug#9298). Also clean up some unused
19743 * net/network-stream.el (network-stream-open-starttls):
19744 Support using starttls.el without using gnutls-cli.
19746 2011-08-17 Juri Linkov <juri@jurta.org>
19748 * progmodes/grep.el (rgrep): Handle the case when
19749 `grep-find-command' is a cons cell (bug#9278).
19751 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19753 * window.el (display-buffer-pop-up-frame): Run frame creation
19754 function with BUFFER current (as special-display-popup-frame
19755 does). Reported by Drew Adams.
19757 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19759 * epa-mail.el: Simplify GnuPG group expansion using
19761 (epa-mail-group-alist, epa-mail-group-modtime)
19762 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19763 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19764 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19767 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19769 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19771 2011-08-16 Alan Mackenzie <acm@muc.de>
19773 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19774 Correct, to avoid the inside of macros.
19776 2011-08-16 Richard Stallman <rms@gnu.org>
19778 * epa-mail.el: Handle GnuPG group definitions.
19779 (epa-mail-group-alist, epa-mail-group-modtime)
19780 (epa-mail-gnupg-conf-file): New variables.
19781 (epa-mail-parse-groups, epa-mail-sync-groups)
19782 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19783 (epa-mail-expand-recipients): New functions.
19784 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19786 * mail/rmail.el (rmail-epa-decrypt): New command.
19788 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19789 Don't bind buffer-read-only, just inhibit-read-only.
19790 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19791 (epa-decrypt-armor-in-region): Make error message clearer.
19793 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19795 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19796 and "a2b" to "ab" for `prefix'.
19798 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19800 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19802 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19803 Fourquet (Bug#8804).
19805 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19807 * startup.el (argi): Declare as global variable (bug#9275).
19809 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19811 * subr.el (string-mark-left-to-right): Search the entire string
19812 for RTL script, not just the terminating character. Doc fix.
19814 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19816 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19818 (js--regexp-literal, js-syntax-propertize-function): Remove.
19819 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19820 (js-mode-map): Don't rebind electric keys.
19821 (js-insert-and-indent): Remove.
19822 (js-mode): Setup electric-layout and electric-indent instead.
19824 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19826 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19828 * epa.el (epa-progress-callback-function): Fix the logic of
19829 displaying progress.
19830 * epa-file.el (epa-file-insert-file-contents): Make progress
19831 display more user-friendly.
19832 (epa-file-write-region): Ditto.
19834 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19836 * subr.el (string-mark-left-to-right): New function.
19838 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19839 Use string-mark-left-to-right.
19840 (list-buffers-noselect): Caller changed.
19842 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19843 Use string-mark-left-to-right.
19844 (tabulated-list-print): Recenter after moving point.
19846 2011-08-10 Juri Linkov <juri@jurta.org>
19848 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19849 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19850 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19852 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19854 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19857 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19859 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19860 character. (Bug#6594)
19862 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19864 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19865 (image-dired--with-db-file): New macro.
19866 (image-dired-write-tags, image-dired-remove-tag)
19867 (image-dired-create-gallery-lists, image-dired-write-comments)
19868 (image-dired-get-comment, image-dired-mark-tagged-files)
19869 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19870 (image-dired-gallery-generate): Use insert-file-contents.
19872 * time.el (display-time-world-list, display-time-world-display):
19873 * time-stamp.el (time-stamp-string):
19874 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19875 set-time-zone-rule (Bug#7337).
19877 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19879 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19880 (epg-error-to-string, epg-errors-to-string): New function.
19881 (epg-wait-for-completion): Reverse errors list.
19882 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19883 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19884 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19885 (epg-sign-keys, epg-generate-key-from-file)
19886 (epg-generate-key-from-string): Format errors by using
19887 epg-errors-to-string (bug#9255).
19888 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19890 2011-08-07 Juri Linkov <juri@jurta.org>
19892 * faces.el (list-faces-display): Remove extra angle bracket
19893 from `help-mode-map'.
19895 * info.el (Info-history-toc-nodes): Doc fix.
19897 * longlines.el (longlines-mode): Doc fix.
19899 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19901 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19902 of statements and in a few more cases (bug#9183).
19904 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19906 (cl-transform-lambda): Use them (bug#9239).
19908 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19910 * window.el (display-buffer-same-window)
19911 (display-buffer-same-frame, display-buffer-other-window)
19912 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19913 (pop-to-buffer-other-window)
19914 (pop-to-buffer-same-frame-other-window)
19915 (pop-to-buffer-other-frame): Make them defuns.
19916 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19918 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19920 * subr.el (make-composed-keymap): Move from C. Change calling
19921 convention, and improve docstring to bring attention to a subtle point.
19922 * minibuffer.el (completing-read-default): Adjust accordingly.
19924 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19926 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19927 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19929 * net/trampver.el: Update release number.
19931 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19933 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19936 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19938 * mail/sendmail.el (sendmail-query-once): Restore the current
19939 buffer after querying (bug#9074).
19941 * dired.el (dired-flagged): Use different faces for marked and
19942 flagged files (bug#6117).
19944 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19947 * ido.el (ido-mode): Switch off the message if called
19950 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19951 before 587, since it appears that that's more likely to work for
19954 * cus-edit.el (custom-file): When running under emacs -q, always
19955 refuse to save the customizations, even if the .emacs file doesn't
19958 * info.el: Remove the `Info-beginning-of-buffer' function
19961 * net/network-stream.el (network-stream-open-starttls):
19962 Use `starttls-available-p' to see whether starttls.el can be used.
19964 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19966 * window.el (display-buffer-in-window): Don't set dedicated status
19967 of window here (Bug#9215).
19968 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19969 (display-buffer-pop-up-side-window)
19970 (display-buffer-in-side-window): Set dedicated status of window here.
19972 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19974 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19975 before binding generated-autoload-file.
19977 2011-08-01 Deniz Dogan <deniz@dogan.se>
19979 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19981 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19983 Sync with Tramp 2.2.2.
19985 * net/trampver.el: Update release number.
19987 2011-07-30 Juri Linkov <juri@jurta.org>
19989 * dired-aux.el (dired-touch-initial): Remove function.
19990 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19991 current time, and `default' to the last modification time of the
19992 current marked file (bug#6887).
19994 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19996 * simple.el (goto-line): Use string-to-number to provide a
19997 numeric argument to read-number (bug#9163).
19999 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20001 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20002 connection process, it could be nil.
20004 2011-07-27 Leo Liu <sdl.web@gmail.com>
20006 Simplify url handling in rcirc-mode.
20008 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20009 (rcirc-browse-url-at-mouse): Remove.
20010 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20012 2011-07-26 Alan Mackenzie <acm@muc.de>
20014 Fontify bitfield declarations properly.
20016 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20017 (c-symbol-chars): Now exported as a lang variable.
20018 (c-not-primitive-type-keywords): New lang variable.
20020 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20021 QT keyword "more" to prevent "more slots: ...." being spuriously
20022 parsed as a bitfield declaration.
20024 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20025 Refactor and enhance to handle bitfield declarations.
20026 (c-punctuation-in): New function.
20027 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20028 declarations properly.
20030 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20032 * calendar/icalendar.el (icalendar--all-events): Take care of
20033 multiple vcalendars in a single file.
20034 (icalendar--convert-float-to-ical): Checkdoc fixes.
20036 2011-07-25 Deniz Dogan <deniz@dogan.se>
20038 * image.el (insert-image): Clarifying docstring.
20040 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20042 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20043 `tramp-send-command-and-check' if there is no error.
20044 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20046 2011-07-22 Alan Mackenzie <acm@muc.de>
20048 Prevent cc-langs.elc being loaded at run time.
20050 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20053 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20054 "(require 'cc-langs)". Quote a form so it will evaluate at
20055 (cc-mode's) compilation time.
20057 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20059 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20060 loading. (Bug#9114)
20062 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20064 * window.el (display-buffer-pop-up-window)
20065 (display-buffer-pop-up-side-window)
20066 (display-buffer-in-side-window): Call display-buffer-set-height
20067 and display-buffer-set-width after setting the new window's
20068 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20070 2011-07-20 Sam Steingold <sds@gnu.org>
20072 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20073 (etags-tags-included-tables): Call `convert-standard-filename' on
20074 the file names contained in TAGS so that windows Emacs can handle
20075 TAGS files created by cygwin ctags.
20077 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20079 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20080 which apparently didn't work.
20082 2011-07-19 Roland Winkler <winkler@gnu.org>
20084 * proced.el (proced-send-signal): For *Marked Processes* buffer
20085 put point at beginning of buffer.
20087 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20089 * proced.el (proced-format): Make header lines align with the text
20092 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20094 * view.el (view-buffer): Allow running in `special' modes if we're
20095 visiting a file (bug#8615).
20097 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20099 * window.el (display-buffer-alist-of-strings-p)
20100 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20102 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20105 2011-07-18 Alan Mackenzie <acm@muc.de>
20107 Fontify declarators properly when, e.g., a jit-lock chunk begins
20108 inside a declaration.
20110 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20112 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20114 (c-complex-decl-matchers): Insert reference to
20115 c-font-lock-enclosing-decls.
20117 * progmodes/cc-engine.el (c-backward-single-comment):
20118 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20119 to nil around calls to (forward-comment -1).
20121 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20123 * image.el (put-image): Doc typo fix.
20125 * progmodes/etags.el (tags-search): Doc typo fix.
20127 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20128 password if we get errors 550 to 554.
20130 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20132 * net/gnutls.el (gnutls-log-level): Remove.
20134 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20135 indentation character (bug#6380).
20137 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20139 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20140 to clarify what the problem is (bug#4291).
20142 * simple.el (current-kill): Clarify what
20143 `interprogram-paste-function' does (bug#7500).
20144 (auto-fill-mode): Document `auto-fill-function' in relation to
20145 `auto-fill-mode' (bug#2470).
20147 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20149 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20150 method if slot is read-only (bug#9035).
20152 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20154 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20155 * window.el (pop-to-buffer): Select window used even if it was
20156 selected before, see discussion of (Bug#8615), (Bug#6954).
20157 Pass argument NORECORD on to select-frame-set-input-focus.
20159 2011-07-15 Glenn Morris <rgm@gnu.org>
20161 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20164 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20166 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20167 (gnutls-negotiate): Use it.
20169 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20171 * net/gnutls.el (gnutls-negotiate):
20172 Upcase `gnutls-algorithm-priority'.
20174 2011-07-15 Glenn Morris <rgm@gnu.org>
20176 * jka-compr.el (jka-compr-verbose): Move from here...
20177 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20178 Add missing :version tag.
20179 * info.el: No need to require jka-compr when compiling.
20181 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20183 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20184 (gnutls-negotiate): Use it.
20186 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20188 * info.el (Info-beginning-of-buffer): New command.
20189 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20190 announcing `b' as the key (bug#8325).
20191 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20193 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20195 * international/mule-cmds.el
20196 (describe-specified-language-support): Make the error message
20197 clearer (bug#8905).
20199 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20201 * isearch.el (isearch-barrier): Add a doc string, since it's
20202 mentioned in a function doc string (bug#8678).
20204 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20206 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20207 buffer argument (Bug#9083) and self-identifying label argument.
20209 2011-07-15 Glenn Morris <rgm@gnu.org>
20211 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20213 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20215 * man.el (Man-fontify-manpage): Fix message when formatting the
20216 man page (bug#7929).
20218 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20220 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20221 argument LRM; if non-nil, append an invisible LRM character to the
20223 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20224 last argument non-nil, when formatting buffer names.
20225 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20226 paragraph direction.
20228 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20230 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20231 the man page name (bug#7929).
20233 * image.el (put-image): Mention the `put-image' overlay property
20236 * scroll-bar.el (set-scroll-bar-mode): Mention that
20237 `scroll-bar-mode' lists the values (bug#7772).
20239 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20240 command (bug#7729).
20242 * rect.el (apply-on-rectangle): Return the point after the last
20244 (string-rectangle): Go to the point after the last operation
20247 * printing.el (pr-toggle-region): Clarify the documentation
20248 slightly (bug#7493).
20250 * time.el (display-time-update):
20251 Allow `display-time-mail-function' to return nil (bug#7158).
20252 Fix suggested by Detlev Zundel.
20254 * vc/diff.el (diff): Clarify the order the file names are read
20257 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20258 the doc string (bug#7015).
20260 * font-lock.el (font-lock-maximum-decoration): Mention what
20261 numeric levels mean (bug#6935).
20263 * startup.el (initial-buffer-choice): Don't mention the `none'
20264 selection, which is against policy.
20266 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20268 * window.el (display-buffer-normalize-special):
20269 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20271 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20273 * subr.el (version<, version<=, version=): Mention "-CVS" and
20274 "-12345" alpha version numbers.
20276 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20278 * bindings.el: Add advertised binding for set-mark-command
20281 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20283 * bindings.el (mode-line-other-buffer):
20284 * bookmark.el (bookmark-bmenu-2-window):
20285 * bs.el (bs-cycle-next, bs-cycle-previous):
20286 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20289 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20292 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20294 * follow.el (follow-debug-message, follow-redisplay):
20295 * jka-cmpr-hook.el (with-auto-compression-mode):
20296 Fix typos in docstrings.
20298 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20300 * subr.el (with-silent-modifications): Clarify somewhat what the
20301 macro inhibits (bug#6525).
20303 * simple.el (eval-expression): Note what it does if called
20304 interactively (bug#6495).
20306 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20308 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20309 Use pop-to-buffer buffer-or-name if it is nil.
20311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20312 Remove switch-to-buffer.
20314 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20316 * files.el (make-directory): Clarify that an error will be raised
20317 if there's an error (bug#6397).
20319 * startup.el (initial-buffer-choice): Add `none' as a choice
20322 * subr.el (add-hook): Clarify section about buffer-local hooks
20325 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20327 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20329 * tabify.el (untabify): Preserve the current column so that point
20330 doesn't move (bug#6032).
20332 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20334 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20335 Rewrite to avoid awkward possessive "s" (bug#5986).
20337 2011-07-13 Glenn Morris <rgm@gnu.org>
20339 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20340 (dired-insert-directory): Give a message the first time
20341 if ls is found not to support --dired.
20343 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20345 * simple.el (toggle-truncate-lines): Clarify what is toggled
20346 (bug#5580). Text by Drew Adams.
20348 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20350 * simple.el (blink-matching-open): Make the error message from the
20351 last change less verbose.
20353 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20355 * font-lock.el (font-lock-comment-face): Use the high contrast
20356 "yellow" color for font-lock-comment-face on low color terminals
20357 using a dark background color (bug#4221).
20359 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20361 * dired.el (dired-insert-set-properties): Make the doc string
20362 reflect what it does now (bug#5325).
20364 * simple.el (blink-matching-open): Say that we were unable to find
20365 the match within the limit, if we're limited (bug#5122).
20367 * international/mule-cmds.el (prefer-coding-system): Add an
20368 example (bug#4869).
20370 * progmodes/etags.el (tags-search): Document `file-list-form'
20373 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20375 * net/browse-url.el (browse-url-default-browser)
20376 (browse-url-browser-function): Make the default browser choice a
20377 bit more logical (bug#4300). Also clean up the doc string.
20379 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20381 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20382 binary endings (bug#4440).
20384 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20386 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20387 which can be pretty annoying (bug#8971).
20389 * jka-compr.el (jka-compr-verbose): New variable, and use
20390 throughout (bug#8971).
20392 * info.el (Info-find-file): Fall back on the installation
20393 directory if we can't find the info node anywhere else.
20395 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20397 * vc/vc.el (vc-revert-file):
20398 Don't set file time-stamp in the past. (Bug#5181)
20400 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20402 * files.el (after-find-file): Give a better error message when
20403 trying to find a symlink that points to a file that doesn't exist
20406 * progmodes/cc-vars.el: Remove (probably) misleading comment
20409 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20411 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20413 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20415 * mouse-sel.el: Hack restoring functionality, while keeping
20416 compatibility with 2010-07-03 changes to mouse selection.
20417 (mouse-sel-primary-overlay): New var.
20418 (mouse-sel-selection-alist): Use it.
20419 (mouse-sel-mode): Doc fix; remove points that are default features
20422 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20425 Fix previous fix (bug#2490).
20427 2011-07-12 Roland Winkler <winkler@gnu.org>
20429 * textmodes/bibtex.el (bibtex-initialize):
20430 Use pop-to-buffer-same-window.
20431 (bibtex-search-entries): Fix interactive call.
20433 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20435 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20436 Fontise bytecomp Error lines more correctly (bug#2490).
20437 Fix suggested by Johan Bockgård.
20439 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20441 * dired-x.el (dired-guess-default): Use `delete-dups'.
20443 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20445 * dired.el (dired-mark-prompt):
20446 * dired-aux.el (dired-read-shell-command): Doc fix.
20448 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20450 * mail/sendmail.el (sendmail-query-once):
20451 Use `customize-save-variable' unconditionally, now that it works under
20454 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20456 * cus-edit.el (custom-file): Take an optional no-error variable.
20457 (customize-save-variable): Set the variable, and give a warning if
20458 running under "emacs -q".
20460 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20462 * loadhist.el (unload-feature-special-hooks):
20463 Add `auto-coding-functions', `fill-nobreak-predicate' and
20464 `find-directory-functions' (bug#5327).
20466 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20468 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20470 * cus-edit.el (custom-guess-name-alist): -alist variables should
20471 use the `alist' type (bug#3120). Suggested by Drew Adams.
20473 * printing.el: Add documentation to all the `pr-toggle-' commands.
20475 2011-07-11 Leo Liu <sdl.web@gmail.com>
20477 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20478 backends where it makes sense (bug#2623).
20480 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20482 * dired-x.el (dired-guess-default): Remove duplicate shell command
20483 entries (bug#2028).
20484 (dired-guess-default): Fix grammar in doc string (bug#2028).
20485 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20487 * subr.el (remove-duplicates): New conveniency function.
20489 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20491 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20494 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20496 * window.el (display-buffer-normalize-default): Don't invert
20497 meaning of even-window-heights. Reported by Eli Zaretskii
20500 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20502 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20504 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20506 * window.el (display-buffer): Fix arguments to
20507 display-buffer-reuse-window in last change.
20509 * faces.el (link): Use a less saturated blue on light backgrounds.
20511 * startup.el (fancy-startup-text, fancy-about-text)
20512 (fancy-startup-tail): Use font-lock faces, for background safety.
20514 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20516 * emulation/viper-cmd.el (viper-change-state-to-vi):
20517 Limit triggering of abbrev expansion (Bug#9038).
20519 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20521 * window.el (display-buffer-default-specifiers): Remove.
20522 (display-buffer-macro-specifiers): Remove default specifiers.
20523 (display-buffer-alist): Default to nil.
20524 (display-buffer-reuse-window): New optional argument other-window.
20525 (display-buffer-pop-up-window): Allow splitting internal
20526 windows. Check whether a live window was created.
20527 (display-buffer-other-window-means-other-frame)
20528 (display-buffer-normalize-arguments): Rename to
20529 display-buffer-normalize-argument and rewrite. Set the
20530 other-window specifier.
20531 (display-buffer-normalize-special): New function.
20532 (display-buffer-normalize-options): Rename to
20533 display-buffer-normalize-default and rewrite.
20534 (display-buffer-normalize-options-inhibit): Remove.
20535 (display-buffer-normalize-specifiers): Rewrite.
20536 (display-buffer): Process other-window specifier and call
20537 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20539 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20540 (display-buffer-alist-set): Don't handle 'unset default values.
20541 (display-buffer-in-window, display-buffer-alist-set):
20542 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20543 <tassilo@member.fsf.org>.
20545 2011-07-09 Leo Liu <sdl.web@gmail.com>
20547 * register.el (insert-register): Restore accidental change on
20548 2011-06-26. (Bug#9028)
20550 2011-07-09 Glenn Morris <rgm@gnu.org>
20552 * subr.el (remq): Handle the empty list. (Bug#9024)
20554 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20556 * mail/sendmail.el (send-mail-function): No longer delay custom
20558 * custom.el (custom-initialize-delay): Doc fix.
20560 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20562 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20564 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20566 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20567 human-friendly prompt.
20569 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20571 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20572 provided by a particular plugin.
20574 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20576 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20577 save customizations (with "emacs -Q"), just set the variable
20578 instead of erroring out.
20580 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20582 2011-07-08 Juri Linkov <juri@jurta.org>
20584 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20585 (archive-zip-update-case): Use 7z if found by `executable-find'.
20586 The order of searching the available programs is the same as in
20587 `archive-zip-extract' (bug#8968).
20589 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20591 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20592 (menu-bar-options-menu): Tweak descriptions.
20594 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20596 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20597 menu items into verb phrases (bug#1421). Also refill to fit under
20600 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20602 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20603 (Info-read-node-name): Doc fix (Bug#1084).
20605 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20606 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20607 (end-of-sexp, beginning-of-sexp)
20608 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20609 (forward-symbol, forward-same-syntax, word-at-point)
20610 (sentence-at-point): Doc fix (Bug#1144).
20612 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20614 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20615 should cover it (bug#1281).
20617 * cus-edit.el (custom-show): Mark as obsolete.
20619 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20620 negotiation fails, then possibly try again with a non-encrypted
20621 connection (bug#9017).
20623 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20626 2011-07-07 Richard Stallman <rms@gnu.org>
20628 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20629 property, and handle its changed format.
20630 Look for the correct line number.
20631 Use file's line contents (but not past first =) to find
20632 correct line in message.
20634 2011-07-07 Kenichi Handa <handa@m17n.org>
20636 * international/characters.el (build-unicode-category-table):
20638 (unicode-category-table): Set it by unicode-property-table-internal.
20640 * international/mule-cmds.el (char-code-property-alist): Move to
20642 (get-char-code-property): Call unicode-property-table-internal to
20643 load a file. Call get-unicode-property-internal where necessary.
20644 (put-char-code-property): Call unicode-property-table-internal to
20645 load a file. Call put-unicode-property-internal where necessary.
20646 put-unicode-property-internal where necessary.
20647 (char-code-property-description):
20648 Call unicode-property-table-internal to load a file.
20650 * international/charprop.el:
20651 * international/uni-bidi.el:
20652 * international/uni-category.el:
20653 * international/uni-combining.el:
20654 * international/uni-comment.el:
20655 * international/uni-decimal.el:
20656 * international/uni-decomposition.el:
20657 * international/uni-digit.el:
20658 * international/uni-lowercase.el:
20659 * international/uni-mirrored.el:
20660 * international/uni-name.el:
20661 * international/uni-numeric.el:
20662 * international/uni-old-name.el:
20663 * international/uni-titlecase.el:
20664 * international/uni-uppercase.el: Regenerate.
20666 * loadup.el: Load international/charprop.el before
20667 international/characters.
20669 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20671 * window.el (next-buffer, previous-buffer): Signal an error if
20672 called from a minibuffer window.
20674 * bindings.el: Revert 2011-07-04 change.
20676 2011-07-06 Richard Stallman <rms@gnu.org>
20678 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20679 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20680 Treat markers like ints.
20681 (rmail-mime-entity): Doc fix.
20683 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20685 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20686 defcustom again for backwards compatibility.
20688 * simple.el (shell-command-on-region): Fill.
20690 * dired-aux.el (dired-kill-line): Add a doc string.
20692 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20693 to "\\sw\\|\\s_" (bug#358).
20695 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20696 (dired-unmark-backward): Ditto.
20697 (dired-flag-backup-files): Ditto.
20699 * dired-x.el (dired-mark-sexp): Ditto.
20701 2011-07-06 Richard Stallman <rms@gnu.org>
20703 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20704 (rmail-mime-entity): New arg TRUNCATED.
20705 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20707 (rmail-mime-save): Warn if entity is truncated.
20708 (rmail-mime-toggle-hidden): Likewise, for showing.
20709 (rmail-mime-process-multipart): Record when an entity is truncated.
20711 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20712 if ENTITY is a string.
20714 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20716 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20717 of faces when `M-C-x'-ing their definitions (bug#8378).
20718 Also clean up the code slightly.
20720 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20721 because that makes the colors go away.
20723 * mail/sendmail.el (send-mail-function): Change the default to
20724 `sendmail-query-once'.
20725 (sendmail-query-once): Add an autoload cookie.
20727 * net/network-stream.el (network-stream-open-starttls): Try using
20728 a plain connection even if the server offered STARTTLS, and we
20729 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20730 capability. This should make smtpmail.el work in slightly more
20733 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20735 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20737 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20739 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20741 * progmodes/sql.el: Version 3.0
20742 (sql-product-alist): Add product :completion-object,
20743 :completion-column, and :statement attributes.
20744 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20745 (sql-mode-syntax-table): Mark all punctuation.
20746 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20748 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20749 (sql-mode-oracle-font-lock-keywords): Improve.
20750 (sql-oracle-show-reserved-words): New function for development.
20751 (sql-product-font-lock): Simplify for source code buffers.
20752 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20754 (sql-highlight-product): Set product specific syntax table.
20755 (sql-mode-map): Add statement movement functions.
20756 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20758 (sql-statement-regexp, sql-beginning-of-statement)
20759 (sql-end-of-statement, sql-signum): New functions.
20760 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20761 (sql-show-sqli-buffer): Bug fix.
20762 (sql-interactive-mode): Store connection data as buffer local.
20763 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20764 with sql-interactive-mode.
20765 (sql-save-connection): Save buffer local settings.
20766 (sql-connection-menu-filter): Change menu entry name.
20767 (sql-product-interactive): Bug fix.
20768 (sql-preoutput-hold): New variable.
20769 (sql-interactive-remove-continuation-prompt): Bug fixes.
20770 (sql-debug-redirect): New variable.
20771 (sql-str-literal): New function.
20772 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20774 (sql-oracle-save-settings, sql-oracle-restore-settings)
20775 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20776 (sql-completion-object, sql-completion-column)
20777 (sql-completion-sqlbuf): New variables.
20778 (sql-build-completions-1, sql-build-completions)
20779 (sql-try-completion): New functions.
20780 (sql-read-table-name): Use them.
20781 (sql-contains-names): New buffer local variable.
20782 (sql-list-all, sql-list-table): Use it.
20783 (sql-oracle-completion-types): New variable.
20784 (sql-oracle-completion-object, sql-sqlite-completion-object)
20785 (sql-postgres-completion-object): New functions.
20787 2011-07-06 Glenn Morris <rgm@gnu.org>
20789 * window.el (pop-to-buffer): Doc fix.
20791 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20793 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20795 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20797 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20799 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20801 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20803 * button.el (button): Inherit from link face. Suggested by Dan
20806 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20808 * progmodes/gdb-mi.el: Fit in 80 columns.
20809 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20812 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20813 if imenu is simply not configured (bug#8941).
20815 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20817 * allout.el (allout-post-undo-hook): New allout outline-change
20818 event hook to signal undo activity.
20819 (allout-post-command-business): Run allout-post-undo-hook if an
20820 undo just occurred.
20821 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20822 * allout-widgets.el (allout-widgets-after-undo-function):
20823 Ensure the integrity of the current item's decoration after it has been
20824 in the vicinity of an undo.
20825 (allout-widgets-mode): Include allout-widgets-after-undo-function
20826 on the new allout-post-undo-hook.
20828 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20830 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20831 Let define-derived-mode define it.
20832 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20833 cycles of abbrev-table inheritance (bug#8998).
20835 2011-07-05 Roland Winkler <winkler@gnu.org>
20837 * textmodes/bibtex.el: Add support for biblatex.
20838 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20839 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20840 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20841 (bibtex-entry-alist, bibtex-field-alist): New variables.
20842 (bibtex-entry-field-alist): Obsolete alias for
20843 bibtex-BibTeX-entry-alist.
20844 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20845 (bibtex-set-dialect): New command.
20846 (bibtex-entry-type, bibtex-entry-head)
20847 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20848 Bind via bibtex-set-dialect.
20849 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20850 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20851 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20852 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20853 Define via bibtex-set-dialect.
20854 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20855 Obey bibtex-no-opt-remove-re.
20856 (bibtex-vec-push, bibtex-vec-incr): New functions.
20857 (bibtex-format-entry, bibtex-field-list)
20858 (bibtex-print-help-message, bibtex-validate)
20859 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20861 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20863 * progmodes/compile.el (compilation-goto-locus):
20864 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20865 * bs.el (bs-cycle-next, bs-cycle-previous):
20866 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20867 * bindings.el (mode-line-other-buffer):
20868 * autoinsert.el (auto-insert):
20869 * arc-mode.el (archive-extract):
20870 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20872 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20874 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20875 Fix check of `emacs-lock-unlockable-modes'.
20876 Coerce true values of `emacs-lock--try-unlocking' to t.
20878 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20880 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20881 * emacs-lock.el: New file.
20883 2011-07-05 Julien Danjou <julien@danjou.info>
20885 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20886 than `boundp' to check if face is set.
20888 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20890 * register.el (registerv-make):
20891 * window.el (window-min-height): Fix typos in docstrings.
20893 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20895 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20898 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20900 * server.el (server-execute): Catch quit and call
20901 `server-return-error' to pass the error back to emacsclient and
20902 close the connection (bug#8942).
20904 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20906 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20907 insecure exception for current topic. Also note that auto-saves
20908 are handled differently.
20910 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20911 State variables for tracking auto-save inhibition situation.
20913 (allout-write-contents-hook-handler): Rename from
20914 'allout-write-file-hook-handler', and describe how it depends on
20915 write-contents-functions sensitivity to non-nil value to prevent
20918 (allout-auto-save-hook-handler): Remove. auto-save does not check
20919 this in individual buffers, only in the starting buffer, so this
20920 is not the right way for us to inhibit auto-save in a buffer
20921 according to its condition.
20923 (allout-mode): Use new allout-write-contents-hook-handler, and
20924 only with write-contents-functions. Remove auto-save provisions -
20925 they're implemented elsewhere.
20927 (allout-before-change-handler): If undo is in progress, note that
20928 for attention of allout-post-command-business.
20930 (allout-post-command-business): If the command we're following was
20931 an undo, check for change in the status of encrypted items and
20932 adjust auto-save inhibitions accordingly.
20934 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20935 according to whether there are or aren't any plain-text topics
20936 pending encryption.
20938 (allout-inhibit-auto-save-info-for-decryption):
20939 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20940 if there are plain-text topics pending encryption.
20942 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20943 buffer-saved-size and some allout state to not inhibit auto-saves
20944 if there are no longer any plain-text topics pending encryption.
20946 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20947 No longer provide for exemption of the current topic.
20949 2011-07-04 Juri Linkov <juri@jurta.org>
20951 Add 7z operations to delete and save changed members (bug#8968).
20952 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20954 (archive-7z-write-file-member): New function.
20955 (archive-7z-summarize): Fix the number of dashes in the
20958 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20960 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20963 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20965 * bindings.el: Ignore next-buffer and previous-buffer in
20966 minibuffer-local-map.
20968 * font-lock.el (font-lock-builtin-face): Change light background
20969 color to dark slate blue (Bug#6693).
20971 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20973 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20975 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20977 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20978 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20979 Add switch-to-buffer.
20981 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20983 * isearch.el (isearch-search-fun-function): Clarify further the
20984 meaning of the function returned.
20986 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20988 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20990 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20991 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20993 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20994 `tramp-default-remote-path' does not exist.
20995 (tramp-send-command-and-read): New optional argument NOERROR.
20996 (tramp-open-connection-setup-interactive-shell)
20997 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20998 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20999 (tramp-process-sentinel): Flush also process' connection property.
21000 (tramp-sh-handle-start-file-process): Do not set process
21001 sentinel. It is done now ...
21002 (tramp-maybe-open-connection): ... here. (Bug#8929)
21004 2011-07-04 MON KEY <monkey@sandpframing.com>
21006 * play/animate.el (animate-string): Doc fixes and allow changing
21007 the buffer name (bug#5417).
21009 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21011 * play/animate.el (animation-buffer-name): Rename from *animate*.
21013 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21015 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21016 This is simpler and helps future-proof the code.
21017 (timer-until): Use time-subtract and float-time.
21018 (timer--time-less-p): Use time-less-p.
21020 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21022 * type-break.el (timep): Use the value of `float-time' to avoid a
21023 byte-compiler warning.
21025 * server.el (server-eval-and-print): Return any result, even nil.
21027 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21029 * type-break.el: Accept time formats that the builtins accept.
21030 (timep, type-break-time-difference): Accept any format that
21031 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21032 This is simpler and helps future-proof the code.
21033 (type-break-time-difference): Round rather than ignoring
21034 subseconds components.
21036 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21038 * info.el (Info-apropos-matches): Make non-interactive, since it
21039 doesn't seem to do anything useful as a command (bug#8829).
21041 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21043 * frame.el (frame-background-mode, frame-set-background-mode):
21044 Move from faces.el.
21045 (frame-default-terminal-background): New function.
21047 * custom.el (custom-push-theme): Don't record faces in `changed'
21048 theme; this doesn't work correctly for per-frame face settings.
21049 (disable-theme): Use face-set-after-frame-default to reset faces.
21050 (custom--frame-color-default): New function.
21052 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21054 * dired.el (dired-flagging-regexp): Remove unused variable
21057 2011-03-29 Kevin Ryde <user42@zip.com.au>
21059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21060 `perl-Test2' extend to match possible "fail #N" rep count
21063 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21065 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21066 `smtpmail-via-smtp' now returns the error instead of nil.
21068 * isearch.el (isearch-search-fun-function): Clarify the doc string
21071 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21073 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21074 unnecessary spaces (bug#8987).
21076 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21078 * net/network-stream.el (open-network-stream): Use the
21079 :end-of-capability command thoughout.
21081 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21083 * net/network-stream.el (open-network-stream): Add the
21084 :end-of-capability command parameter, used by pop3.el.
21086 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21088 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21090 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21091 for list)" (bug#6475).
21093 * files.el (file-expand-wildcards): Ignore non-readable
21094 sub-directories while trying to find matches instead of signaling
21095 an error (bug#6297).
21097 * man.el (Man-reference-regexp): Allow matching possible
21098 word-wrapped references (bug#6289).
21100 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21101 for consistency with the other vc buffers (bug#6197).
21102 (vc-checkin): Ditto.
21104 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21106 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21108 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21110 * custom.el (defcustom): Clarify that :set is only used in the
21111 Customize user interface (bug#6089).
21113 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21114 associated with a file, refuse to run instead of erroring out
21117 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21118 the doc string, since it appears that using `fill-column' always
21119 controls the width (bug#7845).
21121 * simple.el (shell-command-on-region): Say where the error output
21122 went if `shell-command-default-error-buffer' is set (bug#6857).
21124 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21126 * allout.el (allout-yank-processing): Adjust cursor position for
21127 backwards-deleted space.
21129 (allout-rebullet-heading): Register changes with
21130 allout-exposure-changed-hook, so the modified topic is properly
21133 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21135 * minibuffer.el (completion-in-region): Document PREDICATE
21138 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21139 of keyword/argument pairs (bug#6904).
21141 * replace.el (multi-occur):
21142 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21144 2011-07-02 Drew Adams <drew.adams@oracle.com>
21146 * dired.el (dired-mark-if): Make the message about whether it's
21147 marking or unmarking clearer (bug#8523).
21149 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21151 * disp-table.el (display-table-print-array): New function.
21152 (describe-display-table): Use it to print the vectors more pretty
21155 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21157 * window.el (window-state-get-1): Don't assign clone numbers.
21158 Add clone-of item to list of window parameters.
21159 (window-state-put-2): Don't process clone numbers.
21160 (display-buffer-alist): Fix doc-string.
21162 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21164 * subr.el (remq): Don't allocate if it's not needed.
21165 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21166 (keymap--merge-bindings): New functions.
21167 (keymap-canonicalize): Use them to refine the canonicalization.
21168 * minibuffer.el (minibuffer-local-completion-map)
21169 (minibuffer-local-must-match-map): Move initialization from C.
21170 (minibuffer-local-filename-completion-map): Move initialization from C;
21171 don't inherit from anything here.
21172 (minibuffer-local-filename-must-match-map): Make obsolete.
21173 (completing-read-default): Use make-composed-keymap to combine
21174 minibuffer-local-filename-completion-map with either
21175 minibuffer-local-must-match-map or
21176 minibuffer-local-filename-completion-map.
21178 2011-07-01 Glenn Morris <rgm@gnu.org>
21180 * type-break.el (type-break-time-sum): Use dolist.
21182 * textmodes/flyspell.el (flyspell-word-search-backward):
21183 Replace CL function.
21185 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21187 * mouse.el (mouse--strip-first-event): New function.
21188 (function-key-map): Use it to map fringe clicks to normal clicks
21191 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21192 (vc-bzr-revision-completion-table): Add support for annotate and date.
21194 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21195 inherit from parent.
21197 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21199 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21200 (dired-show-file-type): Doc fixup (bug#8818).
21202 * dired.el (dired-mode): Fix up the doc string as suggested by
21203 Drew Adams (bug#8817).
21205 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21206 cookie, since the manual says that it should be possible to add
21207 this function to `find-file-hook' (bug#8709).
21209 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21211 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21212 here. Noted Ted Zlatanov as the maintainer.
21213 (cfengine-common-settings, cfengine-common-syntax): New functions
21214 to set up common things between `cfengine-mode' and
21216 (cfengine3-mode): New mode.
21217 (cfengine3-defuns cfengine3-defuns-regex
21218 (cfengine3-class-selector-regex cfengine3-category-regex)
21219 (cfengine3-vartypes cfengine3-font-lock-keywords)
21220 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21221 (cfengine3-indent-line): Add from cfengine3.el.
21223 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21225 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21227 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21229 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21231 * window.el (same-window-buffer-names, same-window-regexps)
21232 (same-window-p, special-display-frame-alist)
21233 (special-display-popup-frame, special-display-function)
21234 (special-display-buffer-names, special-display-regexps)
21235 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21236 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21237 (split-window-preferred-function, split-height-threshold)
21238 (split-width-threshold, even-window-heights)
21239 (display-buffer-mark-dedicated, window-splittable-p)
21240 (split-window-sensibly, window-safely-shrinkable-p):
21242 (display-buffer): Don't spread args with function specifier
21243 because special-display-popup-frame won't like it.
21245 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21247 Time-stamp simplifications and fixes.
21248 These improve accuracy slightly, and future-proof the code
21249 against some potential changes to current-time format.
21251 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21252 by using time-since and float-time.
21254 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21255 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21256 + NNN microseconds".
21258 * type-break.el (type-break-time-sum): Rewrite using time-add.
21260 * play/hanoi.el (hanoi-current-time-float): Remove.
21261 All uses replaced by float-time.
21263 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21264 This yields a more-accurate answer.
21265 (rng-time-to-float): Remove; no longer needed.
21267 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21269 * calendar/timeclock.el (timeclock-seconds-to-time):
21270 Defalias to seconds-to-time, since they're the same thing.
21272 * emacs-lisp/elp.el (elp-elapsed-time):
21273 * emacs-lisp/benchmark.el (benchmark-elapse):
21274 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21276 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21278 * window.el (bury-buffer): Don't iconify the only frame.
21279 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21280 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21282 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21284 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21285 Add mouse-yank-primary.
21287 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21289 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21291 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21293 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21294 (find-library-name): Use it to find relative load names when provided
21295 absolute file name (bug#8803).
21297 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21299 * textmodes/flyspell.el (flyspell-word): Consider words that
21300 differ only in case as potential doublons (bug#5687).
21302 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21303 Remove two rather uninteresting debugging-like messages to make
21304 debbugs.el more silent.
21306 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21307 a password-like phrase.
21309 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21311 * progmodes/cc-guess.el: New file.
21313 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21315 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21316 derived from `c-basic-common-init'.
21318 * progmodes/cc-mode.el (top-level): Require cc-guess.
21319 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21321 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21323 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21325 2011-06-30 Alan Mackenzie <acm@muc.de>
21327 * progmodes/cc-engine.el (c-guess-continued-construct):
21328 Correct the handling of template-args-cont, particularly for when font
21329 lock is disabled. Name this case as "CASE G".
21331 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21333 * allout.el (allout-yank-processing): Fix injection of extra space
21334 between bullet and non-whitespace character in first topic when
21335 pasting, ensuring that the actual spacing in the pasted topic
21336 following the bullet char is preserved. This extra space was
21337 causing pasted encrypted topics to get a decrypted status even
21338 when the content was actually still encrypted. Now the decryption
21339 status from before the paste is preserved.
21341 (allout-flag-region): Set all allout overlays so they evaporate
21342 when reduced to zero length (evanescent), to prevent overlay
21345 2011-06-30 Glenn Morris <rgm@gnu.org>
21347 * w32-fns.el (w32-charset-info-alist): Declare.
21349 * find-dired.el (find-grep-options): Simplify.
21351 * term/ns-win.el (ns-set-resource): Declare.
21353 * ses.el (row, col): Declare dynamic variables honestly.
21355 * textmodes/reftex-parse.el (index-tags): Declare.
21357 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21359 * cus-edit.el (customize-push-and-save): New function.
21361 * files.el (hack-local-variables-confirm): Use it.
21363 * custom.el (load-theme): New arg NO-CONFIRM.
21364 Use customize-push-and-save (Bug#8720).
21365 (custom-enabled-themes): Doc fix.
21367 * cus-theme.el (customize-create-theme)
21368 (custom-theme-merge-theme): Callers to load-theme changed.
21370 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21372 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21373 short URLs have at least one dot in them (bug #7614).
21375 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21376 nil, because using a pty is apparently too slow (bug #895).
21378 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21380 * mail/sendmail.el (sendmail-query-once): New function.
21381 (sendmail-query-once-function): New variable.
21383 2011-06-29 Glenn Morris <rgm@gnu.org>
21385 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21387 * ses.el (top-level): Require cl when compiling.
21388 (ses-set-localvars): Fix error statement.
21389 Call it at compile time to silence a storm of warnings.
21391 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21393 * window.el (normalize-live-buffer): Rename to
21394 window-normalize-buffer.
21395 (normalize-live-frame): Rename to window-normalize-frame.
21396 (normalize-any-window): Rename to window-normalize-any-window.
21397 (normalize-live-window): Rename to window-normalize-live-window.
21398 (make-window-atom): Rename to window-make-atom.
21399 (window-resize-reset): Rename to window--resize-reset.
21400 (window-resize-reset-1): Rename to window--resize-reset-1.
21401 (resize-mini-window): Rename to window--resize-mini-window.
21402 (resize-subwindows-skip-p): Rename to
21403 window--resize-subwindows-skip-p.
21404 (resize-subwindows-normal): Rename to
21405 window--resize-subwindows-normal.
21406 (resize-subwindows): Rename to window--resize-subwindows.
21407 (resize-other-windows): Rename to window--resize-siblings.
21408 (resize-this-window): Rename to window--resize-this-window.
21409 (resize-root-window): Rename to window--resize-root-window.
21410 (resize-root-window-vertically): Rename to
21411 window--resize-root-window-vertically.
21412 (normalize-buffer-to-display): Rename to
21413 window-normalize-buffer-to-display.
21414 (normalize-buffer-to-switch-to): Rename to
21415 window-normalize-buffer-to-switch-to.
21416 Correspondingly update all callers of the functions listed
21418 (display-buffer-alist, display-buffer-normalize-arguments)
21419 (display-buffer-normalize-options, display-buffer)
21420 (display-buffer-alist-set): Use "function" instead of
21423 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21425 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21426 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21427 debbugs.gnu.org. Mention acknowledgment email.
21429 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21431 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21432 buffer multibyteness, since it shouldn't matter.
21434 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21436 * window.el (display-buffer-in-side-window): Handle dedicated
21437 windows as in display-buffer-reuse-window.
21438 (display-buffer-normalize-alist): Use value of override
21440 (display-buffer-normalize-specifiers): Use value of
21441 other-window-means-other-frame specifier.
21442 (display-buffer-alist): Rewrite some texts in widgets.
21443 (display-buffer): Spread arguments when calling function
21444 specified by fun-with-args.
21446 2011-06-28 Deniz Dogan <deniz@dogan.se>
21448 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21451 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21452 selectors (Bug#5732).
21453 (css-proprietary-nmstart-re): Use `regexp-opt'.
21455 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21457 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21458 (eshell-ls-date-format): New defcustom.
21459 (eshell-ls-file): Use it.
21461 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21463 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21465 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21467 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21468 (ange-ftp-make-tmp-name): New arg.
21469 (ange-ftp-file-local-copy): Use it.
21471 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21473 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21474 no-conversion (Bug#8870).
21476 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21478 * window.el (window-right, window-left, window-child)
21479 (window-child-count, window-last-child)
21480 (window-iso-combination-p, walk-window-tree-1)
21481 (window-atom-check-1, window-tree-1, delete-window)
21482 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21483 new naming conventions - window-vchild, window-hchild,
21484 window-next and window-prev are now called window-top-child,
21485 window-left-child, window-next-sibling and window-prev-sibling
21487 (resize-window-reset): Rename to window-resize-reset.
21488 (resize-window-reset-1): Rename to window-resize-reset-1.
21489 (resize-window): Rename to window-resize.
21490 (window-min-height, window-min-width)
21491 (resize-mini-window, resize-this-window, resize-root-window)
21492 (resize-root-window-vertically, adjust-window-trailing-edge)
21493 (enlarge-window, shrink-window, maximize-window)
21494 (minimize-window, delete-window, quit-restore-window)
21495 (split-window, balance-windows, balance-windows-area-adjust)
21496 (balance-windows-area, window-state-put-2)
21497 (display-buffer-even-window-sizes, display-buffer-set-height)
21498 (display-buffer-set-width, set-window-text-height)
21499 (fit-window-to-buffer): Rename all "resize-window" prefixed
21500 calls to use the "window-resize" prefix convention.
21501 (display-buffer-alist): Fix symbol for label specifier.
21502 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21503 corresponding specifier.
21504 Reported by Juanma Barranquero <lekktu@gmail.com>.
21506 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21508 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21510 (ses-call-printer): Does not pass an empty string to formatter when the
21511 cell is empty to keep from barking printer Calc math-format-value.
21513 2011-06-27 Richard Stallman <rms@gnu.org>
21515 * battery.el (battery-mode-line-limit): New variable.
21516 (battery-update): Handle it.
21518 * mail/rmailmm.el (rmail-mime-process-multipart):
21519 Handle truncated messages.
21521 2011-06-27 Glenn Morris <rgm@gnu.org>
21523 * progmodes/flymake.el (flymake-err-line-patterns):
21524 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21526 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21528 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21529 (ses--clean-!, ses--clean-_): New functions.
21530 (ses-range): Add configurability of readout order, and conversion
21533 * ses.el (ses-repair-cell-reference-all): New function.
21534 (ses-cell-symbol): Set macro as safe, so that it can be used in
21537 * ses.el: Update cycle detection algorithm.
21538 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21539 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21540 (ses-set-localvars): New function.
21541 (ses-make-cell): Add property-list as a cell element.
21542 (ses-cell-property-get-fun, ses-cell-property-get)
21543 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21544 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21546 (ses-cell-property-set, ses-cell-property-pop)
21547 (ses-cell-property-get-handle): New macro.
21548 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21549 New aliases, used for code readability.
21550 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21552 (ses-self-reference-early-detection): New defcustom.
21553 (ses-formula-references): Robustify against self-referring cells.
21554 (ses-mode): Use ses-set-localvars.
21555 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21556 before lauching the update processing.
21557 (ses-initialize-Dijkstra-attempt): New function.
21558 (ses-recalculate-cell): Update for cycle detection based on
21559 Dijkstra algorithm.
21561 * ses.el: Fix commenting and indenting convention.
21563 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21565 * bs.el (bs-cycle-next): Complete last change.
21567 2011-06-27 Drew Adams <drew.adams@oracle.com>
21569 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21571 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21573 * net/network-stream.el (network-stream-open-starttls):
21574 Don't re-get capabilities unless we've reestablished connection.
21575 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21577 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21578 to binary to possibly avoid line encoding issues on Windows (among
21581 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21583 * net/network-stream.el (open-network-stream): Return an :error
21584 saying what the problem was, if possible.
21586 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21589 * net/network-stream.el (network-stream-open-starttls): If we
21590 wanted to use STARTTLS, and the server offered it, but we weren't
21591 able to because we had no STARTTLS support, then close the connection.
21592 (open-network-stream): Return an :error element, if present.
21594 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21596 * hl-line.el (hl-line-sticky-flag): Doc fix.
21597 (global-hl-line-sticky-flag): New option (Bug#8323).
21598 (global-hl-line-highlight): Obey it.
21600 * vc/vc.el (vc-revert-show-diff): Default to t.
21602 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21604 * allout-widgets.el (allout-widgets-post-command-business):
21605 Stop decorating intermediate isearch matches. They're not being
21606 undecorated when an isearch is continued past, and isearch
21607 automatically collapses them. This leads to "widget leaks", where
21608 decorated items accumulate in collapsed areas. Lines with lots of
21609 hidden widgets can slow down cursor travel, substantially.
21610 Too much complicated machinery would be needed to ensure undecoration,
21611 so we're doing without this nicety.
21613 (allout-widgets-tally-string): Don't try to do a hash-table-count
21614 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21615 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21616 *Messages* when allout-widgets-maintain-tally is t.
21618 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21620 * window.el (display-buffer-normalize-argument): Rename to
21621 display-buffer-normalize-arguments. Handle special meaning of
21622 LABEL argument. Respect special-display-function when popping up
21623 a new frame. Fix code searching for a window showing the buffer
21625 (display-buffer-normalize-specifiers):
21626 Call display-buffer-normalize-arguments.
21627 (display-buffer-in-window): Don't undedicate the window if its
21628 buffer remains the same.
21629 Reported by Drew Adams <drew.adams@oracle.com>.
21630 (display-buffer-alist): Add choice for same-window macro
21632 (display-buffer): Mention special meaning of LABEL argument in
21633 doc-string. Fix quoting. Don't pop up a new frame even as
21636 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21638 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21639 avoid deleting the current window in some cases (bug#8911).
21641 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21643 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21646 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21648 * net/network-stream.el (network-stream-open-starttls):
21649 Use built-in TLS support if `gnutls-available-p' is true.
21650 (network-stream-open-tls): Ditto.
21652 2011-06-26 Leo Liu <sdl.web@gmail.com>
21654 * register.el (registerv): New struct.
21655 (registerv-make): New function.
21656 (jump-to-register, describe-register-1, insert-register):
21657 Support the jump-func, print-func and insert-func slot of a registerv
21660 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21662 * vc/vc.el (vc-revert-show-diff): New defcustom.
21663 (vc-diff-internal): New arg specifying diff buffer.
21664 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21665 reuse an existing *vc-diff* buffer (Bug#8927).
21667 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21669 2011-06-26 Glenn Morris <rgm@gnu.org>
21671 * progmodes/f90.el (f90-critical-indent): New option.
21672 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21673 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21674 (f90-mode): Doc fix.
21675 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21676 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21677 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21678 (f90-match-end): Handle block, critical.
21680 2011-06-25 Glenn Morris <rgm@gnu.org>
21682 * calendar/diary-lib.el (diary-included-files): Doc fix.
21683 (diary-include-files): New function, extracted from
21684 diary-include-other-diary-files and diary-mark-included-diary-files.
21685 (diary-include-other-diary-files, diary-mark-included-diary-files):
21686 Just call diary-include-files.
21687 (diary-mark-entries): Reset diary-included-files on first call.
21689 * calendar/diary-lib.el (diary-mark-entries)
21690 (diary-mark-included-diary-files):
21691 Visit included diary-files in temp buffers.
21693 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21694 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21695 (f90-start-block-re, f90-imenu-generic-expression)
21696 (f90-looking-at-program-block-start, f90-no-block-limit):
21697 Add support for submodules.
21699 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21700 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21702 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21704 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21705 buffer-file-type before setting its value, to avoid disastrous
21706 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21708 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21710 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21712 * ses.el (ses-unload-function):
21713 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21715 * proced.el (proced-unload-function):
21716 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21718 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21720 * server.el (server-create-window-system-frame): Add parameters arg.
21721 (server-process-filter): Doc fix. Handle frame-parameters.
21723 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21725 Fix bug#8730, bug#8781.
21727 * loadhist.el (unload--set-major-mode): New function.
21728 (unload-feature): Use it.
21730 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21731 (python-unload-function): New function.
21733 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21735 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21737 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21739 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21740 the candidates list.
21742 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21744 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21746 2011-06-23 Richard Stallman <rms@gnu.org>
21748 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21749 (rmail-variables): Set next-error-move-function.
21750 (rmail-what-message): Take argument POS.
21751 (rmail-next-error-move): New function.
21753 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21755 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21756 messages for adjacent non-terminals.
21758 2011-06-23 Richard Stallman <rms@gnu.org>
21760 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21761 (rmail-show-message-1): Preserve buffer modified flag.
21762 (rmail-start-mail): Don't specify use of rmail-mail-return;
21763 that's done by mail-bury now.
21764 (rmail-mail-return): Handle arg NEWBUF.
21766 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21768 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21771 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21773 * window.el (get-lru-window, get-mru-window)
21774 (get-largest-window): Never return a minibuffer window.
21775 (display-buffer-pop-up-window): Fix a bug that could lead to
21776 reusing the minibuffer window.
21777 (display-buffer): Pass original specifier argument to
21778 display-buffer-function instead of the normalized one.
21779 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21781 2011-06-22 Leo Liu <sdl.web@gmail.com>
21783 * minibuffer.el (completing-read-function)
21784 (completing-read-default): Move from minibuf.c.
21786 2011-06-22 Richard Stallman <rms@gnu.org>
21788 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21789 to Rmail even if not started by a special Rmail command.
21791 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21792 Copy the buffer currently showing just one message.
21794 2011-06-22 Roland Winkler <winkler@gnu.org>
21796 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21797 (bibtex-clean-entry): First delete the old key so that a
21798 customized algorithm for generating the new key does not get
21799 confused by the old key.
21800 (bibtex-url): Obey regexp of first step.
21801 (bibtex-search-entries): Do not use add-to-list with local
21804 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21806 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21807 stored a user name, then query for the password first, instead of
21808 waiting for SMTP to give an error message and the trying again.
21810 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21812 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21813 BUFFER in call-process.
21815 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21817 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21819 (smtpmail-try-auth-methods): Require user name and password from
21822 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21824 * window.el (display-buffer-default-specifiers)
21825 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21826 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21827 (split-window): Normalize SIDE argument (Bug#8916).
21829 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21830 (special-display-frame-alist, special-display-popup-frame):
21831 Remove duplicate declarations. These are now in window.el.
21833 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21835 * mail/smtpmail.el (smtpmail-via-smtp):
21836 Set :use-starttls-if-possible so that we always use STARTTLS if the
21837 server supports it. SMTP servers that support STARTTLS commonly
21840 * net/network-stream.el (network-stream-open-starttls): Support
21841 upgrading to STARTTLS always, even if we don't have built-in support.
21842 (open-network-stream): Add the :always-query-capabilities keyword.
21844 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21845 upgrades with `open-network-stream', and rely solely on
21846 auth-source for all credentials. Big changes throughout the file,
21848 (smtpmail-auth-credentials): Remove.
21849 (smtpmail-starttls-credentials): Remove.
21850 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21853 * net/network-stream.el (network-stream-open-starttls):
21854 Provide support for client certificates both for external and built-in
21856 (auth-source): Require.
21857 (open-network-stream): Document the :client-certificate keyword.
21858 (network-stream-certificate): Change cert-cert to cert and
21861 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21863 * net/tramp-cache.el (top): Don't load the persistency file when
21864 "emacs -Q" has been called.
21866 2011-06-21 Tim Harper <timcharper@gmail.com>
21868 * term/ns-win.el (ns-initialize-window-system):
21869 Set application-specific `ApplePressAndHoldEnabled' system
21870 resource to NO as it is not yet supported by the NS port.
21872 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21874 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21875 (list-dynamic-libraries): ...not here.
21877 2011-06-21 Leo Liu <sdl.web@gmail.com>
21879 * subr.el (sha1): Implement sha1 using secure-hash.
21881 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21883 * window.el (display-buffer-alist): In default value do not
21884 enforce searching a window on any but the selected frame.
21885 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21886 (display-buffer-select-window): Remove function.
21887 (display-buffer-in-window): When a window on another frame gets
21888 reused, do not select it any more but just raise its frame if
21889 necessary (Bug#8851) and (Bug#8856).
21890 (display-buffer-normalize-options): Handle pop-up-frames related
21891 options more faithfully.
21892 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21893 window if it is on another frame.
21894 (display-buffer-alist, display-buffer-default-specifiers):
21895 Don't make new frame unsplittable by default.
21896 (display-buffer-normalize-argument): Fix doc-string typo and use
21897 'same-frame-other-window instead of 'other-window when associating
21898 with display-buffer-macro-specifiers.
21900 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21902 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21904 (5x5-mode-map, 5x5-mode-menu): Bind them.
21905 (5x5-draw-grid): Tweak the solver's rendering.
21907 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21909 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21910 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21912 2011-06-21 Drew Adams <drew.adams@oracle.com>
21914 * menu-bar.el: Use function variable instead of switch-to-buffer.
21915 (menu-bar-select-buffer-function): New variable.
21916 (menu-bar-update-buffers): Use it (bug#8876).
21918 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21920 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21923 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21925 * x-dnd.el (x-dnd-version-from-flags)
21926 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21927 and long as number (Bug#8899).
21928 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21930 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21932 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21933 (completion-try-completion, completion-all-completions): Compute the
21934 metadata argument if it's missing; make it optional (bug#8795).
21936 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21937 (widget-complete): Use new :completion-function property.
21938 (widget-completions-at-point): New function.
21939 (default): Use :completion-function instead of :complete.
21940 (widget-default-completions): Rename from widget-default-complete;
21942 (widget-string-complete, widget-file-complete, widget-color-complete):
21944 (file, symbol, function, variable, coding-system, color):
21945 * international/mule-cmds.el (default-input-method, charset)
21946 (language-info-custom-alist):
21947 * cus-edit.el (face): Use new property :completions.
21949 * progmodes/pascal.el (pascal-completions-at-point): New function.
21950 (pascal-mode): Use it.
21951 (pascal-mode-map): Use completion-at-point.
21952 (pascal-toggle-completions): Make obsolete.
21953 (pascal-complete-word, pascal-show-completions):
21954 * progmodes/octave-mod.el (octave-complete-symbol):
21955 Redefine as obsolete alias.
21956 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21957 Signal absence of completion info for old Octave,
21958 (inferior-octave-complete): Redefine as obsolete alias.
21959 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21960 (meta-completions-at-point): Rename from meta-complete-symbol and
21961 adapt it for use on completion-at-point-functions.
21962 (meta-common-mode): Use it.
21963 (meta-looking-at-backward, meta-match-buffer): Remove.
21964 (meta-complete-symbol): Redefine as obsolete alias.
21965 (meta-common-mode-map): Use completion-at-point.
21966 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21967 (makefile-mode-map): Use completion-at-point.
21968 (makefile-completions-at-point): Rename from makefile-complete and
21969 adapt it for use on completion-at-point-functions.
21970 (makefile-mode): Use it.
21971 (makefile-complete): Redefine as obsolete alias.
21973 2011-06-20 Deniz Dogan <deniz@dogan.se>
21975 * net/rcirc.el: Delete trailing whitespaces once and for all.
21977 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21979 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21981 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21983 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21985 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21987 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21989 * window.el (display-buffer-other-window-means-other-frame):
21990 Call display-buffer-normalize-alist.
21991 (display-buffer-normalize-specifiers-1): Rename to
21992 display-buffer-normalize-argument. New argument other-frame.
21994 (display-buffer-normalize-specifiers-2): Rename to
21995 display-buffer-normalize-options.
21996 (display-buffer-normalize-alist-1): New function.
21997 (display-buffer-normalize-specifiers-3): Rename to
21998 display-buffer-normalize-alist.
21999 Call display-buffer-normalize-alist-1.
22000 (display-buffer-normalize-options-inhibit): New variable.
22001 (display-buffer-normalize-specifiers): Rewrite calling
22002 display-buffer-normalize-alist,
22003 display-buffer-normalize-argument, and
22004 display-buffer-normalize-options. Don't call the latter if
22005 display-buffer-normalize-options-inhibit is non-nil.
22006 (frame-auto-delete): New option.
22007 (window-deletable-p): Use frame-auto-delete.
22008 (window-list-no-nils, window-state-ignored-parameters)
22009 (window-state-get-1, window-state-get, window-state-put-list)
22010 (window-state-put-1, window-state-put-2, window-state-put):
22012 (display-buffer-normalize-options): Move special-display-p group
22013 after pop-up-frame group (Bug#8851) and (Bug#8856).
22015 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22017 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22019 (rx-submatch-n): New function.
22022 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22025 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22027 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22029 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22030 anytime existing face settings are present (Bug#8889).
22032 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22033 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22034 Remove unused argument.
22036 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22038 * window.el (display-buffer-default-specifiers):
22039 Remove pop-up-frame. Add pop-up-window-min-height,
22040 pop-up-window-min-width, and another reuse-window specifier
22041 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22042 (display-buffer-normalize-specifiers-2):
22043 Handle split-height-threshold and split-width-threshold also when
22044 pop-up-windows is unset. Add a reuse-window specifier for the
22045 case popping up a new window fails.
22046 (special-display-popup-frame): Remove double quoting.
22047 (display-buffer-normalize-specifiers-1): Fix thinko.
22049 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22051 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22052 according to comint-completion-addsuffix.
22054 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22055 (pcomplete-suffix-list): Mark as obsolete.
22056 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22057 pcomplete-seen in the closure.
22058 (pcomplete-comint-setup): Setup completion-at-point as well.
22059 (pcomplete--entries): New function.
22060 (pcomplete--env-regexp): New var.
22061 (pcomplete-entries): Rewrite to work with partial-completion and
22062 without relying on pcomplete-suffix-list.
22063 (pcomplete-pare-list): Remove, unused.
22065 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22067 * window.el (display-buffer-alist): Set pop-up-window-min-height
22068 and pop-up-window-min-width in default value. Reported by
22069 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22070 other-window-means-other-frame.
22071 (display-buffer-macro-specifiers): Comment out entry for
22072 other-window specifier.
22073 (display-buffer-other-window-means-other-frame): New function.
22074 (display-buffer-normalize-specifiers-1): New arguments
22075 buffer-name and label. Treat other-window case specially.
22076 (display-buffer-normalize-specifiers-2): Treat other-window case
22078 (display-buffer-normalize-specifiers-3): New function.
22079 (display-buffer-normalize-specifiers):
22080 Call display-buffer-normalize-specifiers-3.
22082 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22084 * window.el (same-window-p): Fix two typos introduced when
22085 adding with-no-warnings.
22086 (display-buffer-normalize-specifiers-1): Don't check
22087 pop-up-frames for 'unset initialization.
22088 (display-buffer-normalize-specifiers-2): Major rewrite using
22089 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22090 (pop-up-frames, display-buffer-reuse-frames)
22091 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22092 Suggested by David Engster <deng@randomsample.de>.
22093 (even-window-heights): Initialize to 'unset.
22094 (display-buffer-alist-set): Handle new 'unset initializations.
22095 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22098 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22100 * window.el (display-buffer-normalize-specifiers-1):
22101 Respect current value of pop-up-frames for most reasonable values of
22102 second argument of display-buffer (Bug#8865).
22103 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22104 (switch-to-buffer-other-window-same-frame)
22105 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22107 (display-buffer): Don't check noninteractive when calling
22108 display-buffer-pop-up-frame.
22109 (display-buffer-pop-up-frame): Never pop up a frame in
22110 noninteractive mode (Bug#8857).
22111 (enlarge-window, shrink-window): Don't report an error when the
22112 window can't be resized as requested (Bug#8862).
22114 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22116 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22118 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22120 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22122 2011-06-15 Alan Mackenzie <acm@muc.de>
22124 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22125 for declarators, disable knr checking to speed up for normal files.
22126 2: Refactor, replacing a sequence of nested if forms by a cond form.
22128 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22130 * net/network-stream.el (open-network-stream): Add the keyword
22131 :always-query-capabilities for the case where you want to force a
22132 `plain' network connection, but the protocol still requires the
22133 capabilitiy command (i.e., SMTP and EHLO).
22135 * subr.el (process-live-p): Rename from `process-alive-p' for
22136 consistency with other `-live-p' functions.
22138 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22140 * window.el (same-window-buffer-names, same-window-regexps)
22141 (special-display-frame-alist, special-display-popup-frame)
22142 (special-display-function, special-display-buffer-names)
22143 (special-display-regexps, pop-up-frame-alist)
22144 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22145 (pop-up-windows, split-window-preferred-function)
22146 (split-height-threshold, split-width-threshold, even-window-heights)
22147 (display-buffer-mark-dedicated): Don't encourage the use of
22148 display-buffer-alist from Elisp code.
22150 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22152 * progmodes/python.el (python-mode): Derive from prog-mode.
22153 * progmodes/ps-mode.el (ps-mode):
22154 * progmodes/mixal-mode.el (mixal-mode):
22155 * progmodes/cfengine.el (cfengine-mode):
22156 * progmodes/ld-script.el (ld-script-mode): Likewise.
22158 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22160 * window.el (display-buffer-alist): Trim default value to avoid
22161 popping up a new frame (Bug#8857) or reusing an arbitrary window
22163 (display-buffer): Do not fall back on popping up a new frame in
22164 batch mode (Bug#8857).
22166 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22168 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22169 (custom-theme-summary): New function.
22170 (customize-themes): Use it.
22172 2011-06-13 Glenn Morris <rgm@gnu.org>
22174 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22176 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22178 * help.el (help-window): Remove variable.
22179 (help-window-point-marker, temp-buffer-max-height)
22180 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22181 (help-print-return-message): Don't set help-window.
22182 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22183 (help-window-setup-finish): Remove.
22184 (help-window-display-message, help-window-setup)
22185 (with-help-window): Major rewrite based on new
22186 display-buffer-window variable.
22188 * help-mode.el (help-mode-finish): Remove help-window related
22191 * view.el (view-exits-all-viewing-windows): Remove reference to
22192 view-return-to-alist in doc-string.
22193 (view-return-to-alist): Make obsolete.
22194 (view-buffer): Call pop-to-buffer-same-window and remove
22196 (view-buffer-other-window): Call pop-to-buffer-other-window and
22197 simplify code. Ignore second argument.
22198 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22199 simplify code. Ignore second argument.
22200 (view-return-to-alist-update): Make obsolete.
22201 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22202 Rewrite using quit-restore window parameters.
22203 (view-mode-exit): Rename second argument to EXIT-ONLY.
22204 Rewrite using quit-restore-window.
22205 (View-exit, View-exit-and-edit, View-leave, View-quit)
22206 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22207 appropriate arguments.
22208 (view-end-message): Use quit-restore window parameter.
22210 * window.el (display-buffer-function): Rewrite doc-string.
22211 (display-buffer-window, display-buffer-alist): New variables.
22212 (display-buffer-split-specifiers)
22213 (display-buffer-side-specifiers)
22214 (display-buffer-macro-specifiers): New constants.
22215 (display-buffer-even-window-sizes, display-buffer-set-height)
22216 (display-buffer-set-width, display-buffer-select-window)
22217 (display-buffer-in-window, display-buffer-reuse-window)
22218 (display-buffer-split-window-1, display-buffer-split-window)
22219 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22220 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22221 (display-buffer-in-side-window, normalize-buffer-to-display)
22222 (display-buffer-normalize-specifiers-1)
22223 (display-buffer-normalize-specifiers-2)
22224 (display-buffer-normalize-specifiers, display-buffer-frame):
22226 (display-buffer): Major rewrite.
22227 (display-buffer-other-window, display-buffer-other-frame)
22228 (pop-to-buffer, switch-to-buffer-other-window)
22229 (switch-to-buffer-other-frame): Rewrite.
22230 (display-buffer-same-window, display-buffer-same-frame)
22231 (display-buffer-same-frame-other-window)
22232 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22233 (pop-to-buffer-other-window)
22234 (pop-to-buffer-same-frame-other-window)
22235 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22236 (switch-to-buffer-other-window-same-frame): New functions.
22237 (same-window-p, special-display-p): Rewrite disabling warnings.
22239 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22240 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22242 (same-window-buffer-names, same-window-regexps)
22243 (special-display-frame-alist, special-display-popup-frame)
22244 (special-display-function, special-display-buffer-names)
22245 (special-display-regexps, pop-up-frame-alist)
22246 (pop-up-frame-function, split-window-preferred-function)
22247 (split-height-threshold, split-width-threshold)
22248 (even-window-heights): Make obsolete.
22250 2011-06-12 Glenn Morris <rgm@gnu.org>
22252 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22253 Misc simplifications.
22255 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22257 * window.el (window-safely-shrinkable-p): Restore function which
22258 was inadvertently removed in change from 2011-06-11. Declare as
22261 * calendar/calendar.el (calendar-generate-window):
22262 Use window-iso-combined-p instead of combination of one-window-p and
22263 window-safely-shrinkable-p.
22265 2011-06-12 Glenn Morris <rgm@gnu.org>
22267 * progmodes/fortran.el (fortran-mode-syntax-table):
22268 * progmodes/f90.el (f90-mode-syntax-table):
22269 Set % to punctuation. (Bug#8820)
22270 (f90-find-tag-default): Remove, no longer needed.
22272 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22274 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22276 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22278 * image.el (image-animated-p): Return animation delay in seconds.
22279 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22280 (image-animate-timeout): Remove DELAY argument. Don't assume
22281 every subimage has the same delay; get it from image-animated-p.
22282 (image-animate): Caller changed.
22284 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22286 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22287 to ignored backtrace functions.
22289 2011-06-11 Glenn Morris <rgm@gnu.org>
22291 * calendar/appt.el (appt-disp-window-function): Doc fix.
22292 (appt-check): Handle overlapping appointments. (Bug#8337)
22294 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22296 * window.el (window-tree-1, window-tree): New functions, moving
22297 the latter to window.el.
22298 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22299 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22300 (bw-refresh-edges): Remove.
22301 (balance-windows-1, balance-windows-2): New functions.
22302 (balance-windows): Rewrite in terms of window tree functions,
22303 balance-windows-1 and balance-windows-2.
22304 (bw-adjust-window): Remove.
22305 (balance-windows-area-adjust): New function with functionality of
22306 bw-adjust-window but using resize-window.
22307 (set-window-text-height): Rewrite doc-string.
22308 Use normalize-live-window and resize-window.
22309 (enlarge-window-horizontally, shrink-window-horizontally):
22310 Rename argument to DELTA.
22311 (window-buffer-height): New function.
22312 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22313 Rewrite using new window resize routines.
22314 (kill-buffer-and-window, mouse-autoselect-window-select):
22315 Use ignore-errors instead of condition-case.
22316 (quit-window): Call delete-frame instead of delete-windows-on
22317 for the only buffer on frame.
22319 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22321 * loadup.el (top-level): Load window before files for the sake
22322 of replace-buffer-in-windows.
22324 * files.el (read-buffer-to-switch)
22325 (switch-to-buffer-other-window)
22326 (switch-to-buffer-other-frame, display-buffer-other-frame):
22329 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22330 (previous-buffer): Move to window.el.
22332 * bindings.el (unbury-buffer): Move to window.el.
22334 * window.el (delete-other-windows-vertically): Move after
22335 definition of delete-other-windows.
22336 (other-window, delete-windows-on, replace-buffer-in-windows):
22337 Move here from window.c.
22338 (record-window-buffer, unrecord-window-buffer)
22339 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22340 (switch-to-next-buffer): New functions.
22341 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22342 from simple.el. Call switch-to-next-buffer.
22343 (previous-buffer): Move here from simple.el.
22344 Call switch-to-prev-buffer.
22345 (bury-buffer): Move here from buffer.c. Switch to previous
22346 buffer when window cannot be deleted.
22347 (unbury-buffer): Move here from bindings.el.
22348 (ctl-x-map): Move binding for other-window from window.c to
22350 (read-buffer-to-switch, switch-to-buffer-other-window)
22351 (switch-to-buffer-other-frame): Move here from files.el.
22352 (normalize-buffer-to-switch-to): New functions.
22353 (switch-to-buffer): Move here from buffer.c.
22354 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22356 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22358 * window.el (window-min-height, window-min-width): Move here
22359 from window.c. Add defcustoms and rewrite doc-strings.
22360 (resize-mini-window, resize-window): New functions.
22361 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22362 Move here from window.c.
22363 (maximize-window, minimize-window): New functions.
22364 (delete-window, delete-other-windows, split-window): Move here
22366 (window-split-min-size): New function.
22367 (split-window-keep-point): Mention split-window-above-each-other
22368 instead of split-window-vertically.
22369 (split-window-above-each-other, split-window-vertically):
22370 Rename split-window-vertically to split-window-above-each-other
22371 and provide defalias for old definition.
22372 (split-window-side-by-side, split-window-horizontally):
22373 Rename split-window-horizontally to split-window-side-by-side
22374 and provide defalias for the old definition.
22375 (ctl-x-map): Move bindings for delete-window,
22376 delete-other-windows and enlarge-window here from window.c.
22377 Replace bindings for split-window-vertically and
22378 split-window-horizontally by bindings for
22379 split-window-above-each-other and split-window-side-by-side.
22381 * cus-start.el (all): Remove entries for window-min-height and
22382 window-min-width. Add entries for window-splits and
22385 2011-06-09 Glenn Morris <rgm@gnu.org>
22387 * calendar/appt.el (appt-mode-line): New function.
22388 (appt-check, appt-disp-window): Use it.
22390 * files.el (hack-one-local-variable-eval-safep):
22391 Allow minor-modes with explicit +/-1 arguments.
22393 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22395 * term/xterm.el (xterm): Add defgroup.
22396 (xterm-extra-capabilities): Add defcustom to supply known xterm
22397 capabilities, skip querying them, or query them (default).
22398 (terminal-init-xterm): Use it.
22399 (terminal-init-xterm-modify-other-keys): New function to set up
22400 modifyOtherKeys support to simplify `terminal-init-xterm'.
22402 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22404 * window.el (resize-window-reset, resize-window-reset-1)
22405 (resize-subwindows-skip-p, resize-subwindows-normal)
22406 (resize-subwindows, resize-other-windows, resize-this-window)
22407 (resize-root-window, resize-root-window-vertically)
22408 (window-deletable-p, window-or-subwindow-p)
22409 (frame-root-window-p): New functions.
22411 2011-06-09 Glenn Morris <rgm@gnu.org>
22413 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22414 (ange-ftp-get-files): Use it.
22416 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22418 * mail/sendmail.el (mail-recover-1, mail-recover):
22419 * files.el (recover-file, recover-session):
22420 Handle dired-listing-switches not being just a single short option.
22422 2011-06-09 Glenn Morris <rgm@gnu.org>
22424 * calendar/appt.el (appt-display-message, appt-disp-window):
22425 Handle lists of appointments.
22427 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22429 * window.el (one-window-p): Move down in code.
22430 Rewrite doc-string.
22431 (window-current-scroll-bars): Rewrite doc-string.
22432 Normalize live window argument.
22433 (walk-windows, get-window-with-predicate, count-windows):
22434 Rewrite doc-string. Use window-list-1.
22435 (window-in-direction-2, window-in-direction, get-mru-window):
22438 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22440 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22441 Doc fix (Bug#8713).
22443 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22445 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22447 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22449 * loadhist.el (unload-feature-special-hooks):
22450 Add `comint-output-filter-functions'.
22452 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22454 * calendar/appt.el (appt-check): Move some initializations into the let.
22456 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22458 * window.el (window-height): Defalias to window-total-height.
22459 (window-width): Defalias to window-body-width.
22461 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22463 * image-mode.el (image-toggle-animation): New command.
22464 (image-mode-map): Bind it to RET.
22465 (image-mode): Update message.
22466 (image-toggle-display-image): Avoid a spurious cache flush.
22467 (image-transform-rotation): Doc fix.
22468 (image-transform-properties): Return quickly in the normal case.
22469 (image-animate-loop): Rename from image-animate-max-time.
22471 * image.el (image-animate-max-time): Move to image-mode.el.
22472 (create-animated-image): Remove unnecessary function.
22473 (image-animate): Rename from image-animate-start. New arg.
22474 (image-animate-stop): Remove; just use image-animate-timer.
22475 (image-animate-timer): Use car-safe.
22476 (image-animate-timeout): Rename argument.
22478 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22480 * window.el (get-lru-window, get-largest-window): Move here from
22481 window.c. Rename first argument to ALL-FRAMES.
22482 Rephrase doc-strings.
22483 (get-buffer-window-list): Rewrite using window-list-1.
22484 Rephrase doc-string.
22485 (window-safe-min-height, window-safe-min-width): New constants.
22486 (window-size-ignore, window-min-size, window-min-size-1)
22487 (window-sizable, window-sizable-p, window-size-fixed-1)
22488 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22489 (window-max-delta-1, window-max-delta, window-resizable)
22490 (window-resizable-p, window-total-height, window-total-width)
22491 (window-body-width): New functions.
22492 (window-full-height-p, window-full-width-p): Rewrite using
22494 (window-body-height): Rewrite using window-body-size.
22496 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22498 * window.el (window-right, window-left, window-child)
22499 (window-child-count, window-last-child, window-any-p)
22500 (normalize-live-buffer, normalize-live-frame)
22501 (normalize-any-window, normalize-live-window)
22502 (window-iso-combination-p, window-iso-combined-p)
22503 (window-iso-combinations)
22504 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22505 (windows-with-parameter, window-with-parameter)
22506 (window-atom-root, make-window-atom, window-atom-check-1)
22507 (window-atom-check, window-side-check, window-check):
22509 (ignore-window-parameters, window-sides, window-sides-vertical)
22510 (window-sides-slots): New variables.
22511 (window-size-fixed): Move down in code. Minor doc-string fix.
22513 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22515 * comint.el (comint-dynamic-complete-as-filename)
22516 (comint-dynamic-complete-filename): Correctly call
22517 completion-in-region.
22519 2011-06-05 Deniz Dogan <deniz@dogan.se>
22521 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22524 2011-06-05 Deniz Dogan <deniz@dogan.se>
22526 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22527 (rcirc): Use it to prompt for encryption.
22529 2011-06-05 Roland Winkler <winkler@gnu.org>
22531 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22532 (bibtex-search-entries): New command bound to C-c C-a.
22533 (bibtex-display-entries): New function.
22535 2011-06-05 Roland Winkler <winkler@gnu.org>
22537 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22538 (bibtex-insert-kill): After yanking insert newline if necessary.
22539 (bibtex-initialize): Call bibtex-string-files-init only once.
22540 (bibtex-mode): Do not call easy-menu-add.
22541 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22542 (bibtex-yank): Set arg properly if nil.
22544 2011-06-05 Roland Winkler <winkler@gnu.org>
22546 * textmodes/bibtex.el (bibtex-search-entry-globally):
22548 (bibtex-search-entry): Use it.
22550 2011-06-05 Roland Winkler <winkler@gnu.org>
22552 * textmodes/bibtex.el (bibtex-entry-format): New option
22554 (bibtex-format-entry, bibtex-reformat): Honor this option.
22555 (bibtex-parse-entry): Return fields in proper order.
22557 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22559 * doc-view.el (doc-view-remove-if): Move computation of result out
22560 of `dolist' to silence misleading lexical-binding warning.
22562 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22564 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22565 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22567 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22569 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22572 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22574 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22575 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22576 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22577 (tramp-parse-putty):
22578 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22579 (tramp-completion-function-alist-ssh)
22580 (tramp-completion-function-alist-telnet)
22581 (tramp-completion-function-alist-su)
22582 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22585 * net/tramp-ftp.el:
22587 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22588 load "tramp.el" `tramp-set-completion-function'.
22590 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22592 * shell.el: Require and use pcomplete.
22593 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22594 (shell-completion-vars): Set pcomplete-default-completion-function.
22596 2011-06-04 Deniz Dogan <deniz@dogan.se>
22598 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22601 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22603 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22605 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22607 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22608 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22609 * vc/log-view.el (log-view-beginning-of-defun):
22610 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22611 (smerge-refine-forward, smerge-refine-chopup-region):
22612 Silence warning for unused `dotimes' counter variables.
22614 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22616 * net/tramp.el (tramp-with-progress-reporter): Rename from
22617 with-progress-reporter. Use `declare'.
22618 * net/tramp-smb.el:
22620 * net/tramp-gvfs.el: Update all uses.
22622 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22624 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22625 buffer isn't killed before making it current.
22627 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22629 Silence various byte-compiler warnings.
22630 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22631 `access-type' and new obsolescence format.
22632 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22634 (byte-compile-check-variable): New `access-type' argument.
22635 Only warn if the access-type is obsolete.
22636 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22637 (byte-compile-variable-set): Adjust callers.
22638 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22639 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22640 setting it as obsolete.
22641 * simple.el (minibuffer-completing-symbol):
22642 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22643 access as obsolete.
22644 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22646 * international/quail.el (quail-mouse-choose-completion): Remove unused
22647 code referring to obsolete var.
22648 (quail-choose-completion-string): Remove.
22649 * server.el (server-clients-with, server-kill-buffer-query-function)
22650 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22651 * proced.el (proced-send-signal):
22652 * emacs-lisp/lisp.el (lisp-complete-symbol):
22653 Replace completion-annotate-function with completion-extra-properties.
22655 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22657 * simple.el (goto-line): Use read-number.
22658 (overriding-map-is-bound): Remove.
22659 (saved-overriding-map): Change default.
22660 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22661 Take the map as argument.
22662 (universal-argument, negative-argument, digit-argument): Use it.
22663 (restore-overriding-map): Adjust.
22664 (do-auto-fill): Use fill-forward-paragraph.
22665 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22667 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22668 (minibuffer-inactive-mode): New major mode.
22669 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22670 the *Messages* buffer" hack.
22671 (mouse-popup-menubar): Don't burp if the event is a normal key.
22673 Miscellaneous tweaks.
22674 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22675 lexical scoping as in subr.el's dolist and dotimes.
22676 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22677 Silence compiler warning.
22678 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22679 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22680 * international/ccl.el (ccl-compile): Trivial simplification.
22681 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22682 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22683 `printflag' argument.
22684 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22685 Purecopy the whole obsolescence data.
22687 2011-06-01 Leo Liu <sdl.web@gmail.com>
22689 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22690 improve doc-string as suggested by Marco Pessotto
22691 <melmothx@gmail.com>.
22692 (rcirc-print): Fix last change.
22694 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22696 * minibuffer.el (complete-with-action): Return nil for the metadata and
22697 boundaries of non-functional tables.
22698 (completion-table-dynamic): Return nil for the metadata.
22699 (completion-table-with-terminator): Add default case, using
22700 complete-with-action.
22701 (completion--metadata): New function.
22702 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22703 to try and avoid pathological performance problems.
22704 (completion--embedded-envvar-table): Return `category' metadata.
22706 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22708 * subr.el (process-alive-p): New tiny convenience function.
22710 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22712 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22713 content but also its previous major mode.
22715 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22717 * emacs-lisp/debug.el (debug): Restore the previous content of the
22718 *Backtrace* buffer when we exit with C-M-c.
22720 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22722 * minibuffer.el: Add metadata method to completion tables.
22723 (completion-category-overrides): New defcustom.
22724 (completion-metadata, completion--field-metadata)
22725 (completion-metadata-get, completion--styles)
22726 (completion--cycle-threshold): New functions.
22727 (completion-try-completion, completion-all-completions):
22728 Add `metadata' argument to choose completion-styles.
22729 (completion--do-completion): Use metadata to choose cycling.
22730 (completion-all-sorted-completions): Use metadata for sorting.
22731 Remove :completion-cycle-penalty which is not needed any more.
22732 (completion--try-word-completion): Add `metadata' argument.
22733 (minibuffer-completion-help): Check metadata for annotation function
22735 (completion-file-name-table): Return `category' metadata.
22736 (minibuffer-completing-file-name): Make obsolete.
22737 * simple.el (minibuffer-completing-symbol): Make obsolete.
22738 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22739 completion-try-completion.
22741 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22743 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22745 2011-05-30 Leo Liu <sdl.web@gmail.com>
22747 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22748 (rcirc-print): Decode all incoming messages (bug#8744).
22749 (rcirc-decode-coding-system): Allow value nil for automatic coding
22752 2011-06-01 Glenn Morris <rgm@gnu.org>
22754 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22756 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22758 * image.el (image-animate-max-time): Allow nil and t values.
22760 (create-animated-image): Doc fix.
22761 (image-animate-start): Remove second arg; just use
22762 image-animate-max-time.
22763 (image-animate-timeout): Doc fix. Args changed.
22765 * image-mode.el (image-toggle-display-image): Ensure that the
22766 image spec passed to the animate timer is the same object as in
22767 the buffer's display property (Bug#6981).
22768 (image-transform-properties): Doc fix.
22770 * image.el (image-animate-max-time): Default to nil.
22772 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22774 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22775 entire buffer list (Bug#8184).
22777 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22779 * image.el (imagemagick-types-inhibit)
22780 (imagemagick-register-types): Doc fix.
22782 2011-05-29 Deniz Dogan <deniz@dogan.se>
22784 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22787 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22789 * select.el: Don't perform clipboard-manager saving in hooks;
22790 leave the hooks empty.
22792 2011-05-28 Leo Liu <sdl.web@gmail.com>
22794 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22795 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22796 (occur-edit-mode): New major mode (Bug#8463).
22797 (occur-after-change-function): New function.
22798 (occur-engine): Give Occur tags a read-only property.
22800 2011-05-28 Kevin Ryde <user42@zip.com.au>
22802 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22804 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22806 * bindings.el (help-echo): Make the initial non-indicator dash
22807 empty on graphical terminals (Bug#7295).
22809 * files.el (auto-mode-alist): Move config rule after the
22810 in-stripping one (Bug#8547).
22812 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22814 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22815 setting (Bug#8740).
22817 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22819 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22820 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22823 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22825 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22827 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22829 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22830 (hs-hide-block-at-point, hs-find-block-beginning)
22831 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22834 2011-05-28 Glenn Morris <rgm@gnu.org>
22836 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22838 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22840 * help-fns.el (describe-function-1): If the function is a derived
22841 major mode, print the parent mode.
22843 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22844 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22846 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22848 * minibuffer.el (completion--capf-wrapper): Check applicability before
22849 returning non-nil for non-exclusive completion data.
22850 * progmodes/etags.el (tags-completion-at-point-function):
22851 * info-look.el (info-lookup-completions-at-point): Mark as
22853 (info-complete): Adjust accordingly.
22855 * info-look.el: Convert to lexical-binding and completion-at-point.
22856 (info-lookup-completions-at-point): New function.
22857 (info-complete): Use it and completion-in-region.
22859 2011-05-28 Drew Adams <drew.adams@oracle.com>
22861 * isearch.el: Let M-e start with point at the first mismatched char.
22862 (isearch-fail-pos): New function.
22863 (isearch-edit-string): Use it.
22865 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22867 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22869 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22871 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22872 traversal functions for avl-trees.
22873 (avl-tree--stack): New struct.
22874 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22875 (avl-tree-enter): Add optional `updatefun' arg.
22876 (avl-tree--do-enter): Add optional `updatefun' arg.
22877 Change return value.
22878 (avl-tree-delete): Add optional `test' and `nilflag' args.
22879 (avl-tree--do-delete): Add `test' and `nilflag' args.
22880 Change return value.
22881 (avl-tree-member): Add optional `nilflag'
22882 (avl-tree-member-p): New function.
22883 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22884 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22885 (avl-tree-stack-empty-p): New functions.
22887 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22888 avl-tree--del-balance1 and make it work both ways.
22889 (avl-tree--del-balance2): Remove.
22890 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22891 make it work both ways.
22892 (avl-tree--enter-balance2): Remove.
22893 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22895 (avl-tree--mapc, avl-tree-map): Add direction argument.
22897 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22899 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22901 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22903 * select.el: Support clipboard managers with built-in function
22904 x-clipboard-manager-save, via delete-frame-functions and
22906 (xselect-convert-to-targets): Add MULTIPLE target to list.
22907 (xselect-convert-to-save-targets): New function.
22909 2011-05-27 Kenichi Handa <handa@m17n.org>
22911 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22912 let-binding rfc2047-encode-encoded-words to nil.
22914 2011-05-27 Glenn Morris <rgm@gnu.org>
22916 * mail/emacsbug.el: Don't require url-util.
22918 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22920 * files.el (set-auto-mode):
22921 Also respect mode: entries at the end of the file. (Bug#8586)
22923 2011-05-26 Glenn Morris <rgm@gnu.org>
22925 * files.el (hack-local-variables-prop-line, hack-local-variables):
22926 Downcase mode names, as seems to be traditional.
22927 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22929 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22930 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22932 2011-05-25 Julien Danjou <julien@danjou.info>
22934 * textmodes/rst.el (rst-define-level-faces): Do not define face
22935 symbol if it is already defined.
22937 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22939 * play/5x5.el (5x5-new-game, 5x5-randomize):
22940 Reset 5x5-solver-output to nil when a new grid is cast.
22941 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22942 these debugging traces, as defmacro breaks the compiled code.
22944 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22946 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22948 2011-05-24 Leo Liu <sdl.web@gmail.com>
22950 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22951 (vc-bzr-sha1): Adapt.
22953 * sha1.el: Remove. Function `sha1' is now builtin.
22955 * bindings.el: Provide sha1 feature.
22957 2011-05-24 Kenichi Handa <handa@m17n.org>
22959 * mail/sendmail.el: Require `rfc2047'.
22960 (mail-insert-from-field): Do not perform RFC2047 encoding.
22961 (mail-encode-header): New function.
22962 (sendmail-send-it): Set buffer-file-coding-system of the work
22963 buffer to the return value of select-message-coding-system.
22964 Call mail-encode-header.
22966 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22968 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22970 * mail/supercite.el (sc-default-cite-frame):
22971 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22973 2011-05-24 Glenn Morris <rgm@gnu.org>
22975 * progmodes/python.el (brm-menu): Declare.
22977 * emulation/viper.el (viper-set-hooks): Declare.
22979 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22980 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22981 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22982 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22983 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22984 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22986 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22988 Add an :exit-function for completion-at-point.
22990 * minibuffer.el (completion--done): New fun.
22991 (completion--do-completion): Use it. New arg `expect-exact'.
22992 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22993 since completion--do-completion does it for us now.
22994 (minibuffer-force-complete): Use completion--done and
22995 completion--replace. Handle sole-completion case with more care.
22996 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22997 (completion-extra-properties): New var.
22998 (completion-annotate-function): Make obsolete.
22999 (minibuffer-completion-help): Adjust accordingly.
23000 Use completion-list-insert-choice-function.
23001 (completion-at-point, completion-help-at-point):
23002 Bind completion-extra-properties.
23003 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23004 * simple.el (completion-list-insert-choice-function): New var.
23005 (completion-setup-function): Preserve it.
23006 (choose-completion): Pay attention to it, shuffle the code a bit.
23007 (choose-completion-string): New arg `insert-function'.
23009 * textmodes/bibtex.el: Convert to lexical binding.
23010 (bibtex-mode-map): Use completion-at-point.
23011 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23012 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23013 (bibtex-complete): Define as obsolete alias.
23014 (bibtex-complete-internal): Remove.
23015 (bibtex-format-entry): Remove unused sub-group in regexp.
23016 * shell.el (shell--command-completion-data)
23017 (shell-environment-variable-completion):
23018 * pcomplete.el (pcomplete-completions-at-point):
23019 * comint.el (comint--complete-file-name-data): Use :exit-function
23020 instead of completion-table-with-terminator so it also works for
23023 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23025 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23027 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23030 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23032 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23034 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23035 customization variable and implement: If non-nil, auto-fill will
23036 be inhibited while on topic's header line.
23038 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23040 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23041 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23042 always have a solution in grid size = 5 cases.
23043 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23044 (5x5-solver-output, 5x5-log-buffer): New vars.
23045 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23046 Make these variables buffer local to achieve 5x5 multi-session-ness.
23047 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23048 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23049 (5x5-solve-suggest): New funs.
23050 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23051 randomize a grid so that we ensure that there is always a solution.
23052 (5x5-make-random-grid): Allow other movement than flipping.
23054 2011-05-23 Kevin Ryde <user42@zip.com.au>
23056 * emacs-lisp/advice.el (ad-read-advised-function):
23057 Use `function-called-at-point' as the default, if it has
23058 advice and passes PREDICATE.
23060 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23062 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23063 byte-compile-lambda if it's actually a lambda.
23065 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23066 Fix function quoting. Use backquote better.
23068 2011-05-22 Yuanle Song <sylecn@gmail.com>
23070 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23071 matching (Bug#8516).
23073 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23075 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23076 different face (Bug#8178).
23078 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23080 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23081 defface (Bug#8144).
23083 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23085 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23086 funcall as well (bug#8712). Warn when performing those conversions.
23087 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23089 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23091 2011-05-22 Glenn Morris <rgm@gnu.org>
23093 * files.el (hack-local-variables-prop-line): Small simplifications.
23094 (hack-local-variables, hack-local-variables-prop-line):
23095 If MODE-ONLY, return the mode, rather than just `t'.
23097 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23099 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23101 2011-05-21 Glenn Morris <rgm@gnu.org>
23103 * files.el (hack-local-variables-prop-line, hack-local-variables):
23104 If only interested in the mode, don't bother doing the other stuff.
23106 * image-mode.el (image-after-revert-hook):
23107 Redraw all frames on which the image is visible. (Bug#8567)
23109 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23111 * wid-edit.el (widget-checklist-match-inline):
23112 Fix 2011-04-19 change. (Bug#8649)
23114 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23116 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23117 Also allow singlespace after single-letter capitals followed by a dot.
23119 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23120 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23122 2011-05-20 Nix <nix@esperi.org.uk>
23124 * files.el (basic-save-buffer-2):
23125 Fix handling of break-hardlink-on-save with non-existent files.
23127 2011-05-19 Deniz Dogan <deniz@dogan.se>
23129 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23130 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23132 2011-05-19 Glenn Morris <rgm@gnu.org>
23134 * progmodes/f90.el (f90-type-def-re):
23135 Handle "type, bind(c)". (Bug#8691)
23137 * emacs-lisp/autoload.el (batch-update-autoloads):
23138 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23140 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23142 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23143 property for the correct connection in case of multihops.
23145 2011-05-18 Glenn Morris <rgm@gnu.org>
23147 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23148 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23150 Rationalize calendar handling of day and month abbrev-arrays.
23151 * calendar/calendar.el (calendar-customized-p): New function.
23152 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23153 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23155 (calendar-abbrev-length, calendar-day-abbrev-array)
23156 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23157 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23158 Elements may no longer be nil.
23159 (calendar-day-name, calendar-month-name):
23160 Update for changed nature of abbrev arrays.
23161 * calendar/diary-lib.el (diary-name-pattern):
23162 Update for changed nature of abbrev arrays.
23163 (diary-mark-entries-1): Update calendar-make-alist calls.
23164 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23165 * calendar/cal-html.el (cal-html-day-abbrev-array):
23166 Simply inherit from calendar-day-abbrev-array.
23168 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23170 * progmodes/grep.el (grep-mode): Disable default
23171 compilation-directory-matcher setting (bug#8684).
23173 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23175 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23176 instead of "head" and "tail". There were problems with SunOS 5.9,
23177 and it performs better.
23179 2011-05-17 Glenn Morris <rgm@gnu.org>
23181 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23183 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23184 Replace obsolete function.
23186 * shell.el (pcomplete-parse-arguments-function): Declare.
23188 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23189 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23190 (appt-check): Doc fixes.
23191 (appt-disp-window-function, appt-delete-window-function):
23192 Remove needless special case in custom :type.
23193 (appt-display-count): Default to 0, not nil.
23194 (appt-check): Reset appt-display-count to 0, not nil.
23196 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23198 * progmodes/python.el (python-font-lock-keywords):
23199 Add the Python 3.X keyword "nonlocal" (bug#8639).
23201 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23203 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23205 2011-05-16 Kevin Ryde <user42@zip.com.au>
23207 * info-look.el (makefile-automake-mode): New setups, looking in
23208 automake manual, then makefile-mode.
23209 (makefile-mode): Remove automake manual, have it just in
23210 makefile-automake-mode since there's various things different or
23211 not relevant to plain make.
23212 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23213 believe a hypothetical automake-mode would go to makefile-mode,
23214 not the other way around.
23216 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23218 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23219 hunk-end tags (Bug#8672).
23221 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23222 vc-annotate-show-diff-revision-at-line (Bug#8671).
23224 2011-05-14 Glenn Morris <rgm@gnu.org>
23226 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23227 in the middle of an existing one with multiple authors. (Bug#8645)
23228 (change-log-font-lock-keywords): Also handle multiple author lines
23229 with leading tabs. (Bug#8644)
23231 * calendar/appt.el (appt-check): Rename some local variables.
23232 Some simplification/reordering.
23234 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23235 (feedmail-sendmail-f-doesnt-sell-me-out)
23236 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23237 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23238 (feedmail-queue-runner-message-sender): Set :version.
23239 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23240 (bbdb-dwim-net-address, vm-mail): Declare.
23241 (feedmail-binmail-gnulinuxish-template):
23242 Rename from feedmail-binmail-linuxish-template.
23243 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23244 Use insert-buffer-substring.
23246 2011-05-14 Bill Carpenter <bill@carpenter.org>
23248 * mail/feedmail.el (feedmail-patch-level): Increase.
23249 (feedmail-debug): New custom group.
23250 (feedmail-confirm-outgoing-timeout)
23251 (feedmail-sendmail-f-doesnt-sell-me-out)
23252 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23253 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23254 (feedmail-sender-line, feedmail-from-line)
23255 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23256 (feedmail-spray-this-address)
23257 (feedmail-spray-address-fiddle-plex-list)
23258 (feedmail-queue-use-send-time-for-date)
23259 (feedmail-queue-use-send-time-for-message-id)
23260 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23261 (feedmail-buffer-eating-function):
23263 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23264 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23265 (feedmail-message-action-scroll-down): New functions.
23266 (feedmail-queue-directory, feedmail-queue-draft-directory):
23267 Use expand-file-name.
23268 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23269 Remove C-v help entry.
23270 (feedmail-queue-buffer-file-name): New variable.
23271 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23272 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23273 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23274 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23275 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23276 (feedmail-message-action-toggle-spray)
23277 (feedmail-run-the-queue-no-prompts)
23278 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23279 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23280 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23281 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23282 (feedmail-envelope-deducer, feedmail-fiddle-from)
23283 (feedmail-fiddle-sender, feedmail-default-date-generator)
23284 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23285 (feedmail-fiddle-spray-address)
23286 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23287 (feedmail-fiddle-list-of-fiddle-plexes)
23288 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23289 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23290 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23291 Change default. Doc fix.
23292 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23293 (feedmail-binmail-linuxish-template): New constant.
23294 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23295 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23296 (feedmail-send-it): Add debug call.
23297 Use feedmail-queue-buffer-file-name, and
23298 feedmail-send-it-immediately-wrapper.
23299 (feedmail-message-action-send): Add debug call.
23300 Use feedmail-send-it-immediately-wrapper.
23301 (feedmail-queue-express-to-queue): Add debug call.
23302 Run feedmail-queue-express-hook.
23303 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23304 (feedmail-message-action-help-blat):
23305 Rename from feedmail-queue-send-edit-prompt-help-first.
23306 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23307 Check line-endings. Handle errors better.
23308 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23309 Doc fix. Add debug call.
23310 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23311 Use feedmail-queue-send-edit-prompt-inner.
23312 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23313 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23314 from feedmail-queue-send-edit-prompt.
23315 (feedmail-queue-send-edit-prompt-help)
23316 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23317 (feedmail-tidy-up-slug): Add debug call.
23318 Respect feedmail-queue-slug-suspect-regexp.
23319 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23320 (feedmail-dump-message-to-queue): Add debug call.
23321 Expand queue-directory.
23322 (feedmail-dump-message-to-queue): Change message slightly.
23323 Use feedmail-say-chatter.
23324 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23325 (feedmail-send-it-immediately-wrapper): New function.
23326 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23327 Insert empty string rather than newline. Handle full-frame case.
23328 Use catch/throw. Use feedmail-say-chatter.
23329 (feedmail-fiddle-from): Try mail-host-address.
23330 (feedmail-default-message-id-generator): Doc fix.
23331 Bind system-time-locale. Handle missing end.
23332 (feedmail-fiddle-x-mailer): Add debug call.
23333 Handle feedmail-x-mailer-line being nil.
23334 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23335 Add debug call. Use buffer-substring-no-properties.
23336 (feedmail-say-debug, feedmail-say-chatter): New functions.
23337 (feedmail-find-eoh): Give an explicit error.
23339 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23341 * net/newst-treeview.el (newsticker-treeview-face): Change default
23342 family from helvetica to sans.
23343 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23344 etc/images/newsticker.
23346 * net/newst-reader.el (newsticker-feed-face): Change default
23347 family from helvetica to sans.
23349 * net/newst-plainview.el (newsticker-new-item-face)
23350 (newsticker-old-item-face, newsticker-immortal-item-face)
23351 (newsticker-obsolete-item-face, newsticker-date-face)
23352 (newsticker-statistics-face): Change default family from
23354 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23355 etc/images/newsticker.
23357 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23358 (newsticker--process-auto-mark-filter-match): Tell user about
23361 2011-05-13 Didier Verna <didier@xemacs.org>
23363 Common Lisp indentation improvements on defmethod and lambda-lists.
23364 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23366 (lisp-lambda-list-keyword-parameter-indentation)
23367 (lisp-lambda-list-keyword-parameter-alignment)
23368 (lisp-lambda-list-keyword-alignment): New customizable user options.
23369 (lisp-indent-defun-method): Improve docstring.
23370 (extended-loop-p): Fix comment.
23371 (lisp-indent-lambda-list-keywords-regexp): New variable.
23372 (lisp-indent-lambda-list): New function.
23373 (lisp-indent-259): Use it.
23374 (lisp-indent-defmethod): Support for more than one
23375 method qualifier and properly indent methods lambda-lists.
23376 (defgeneric): Provide a missing common-lisp-indent-function property.
23378 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23380 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23381 bounds for the empty string (bug#8667).
23383 2011-05-13 Glenn Morris <rgm@gnu.org>
23385 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23387 * mail/sendmail.el (sendmail-program): Try executable-find first.
23388 (sendmail-send-it): `sendmail-program' cannot be unbound.
23390 * calendar/appt.el (appt-make-list): Simplify.
23391 (appt-time-msg-list): Doc fix.
23392 (appt-check): Change mode-line message at the time of the appointment.
23394 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23396 * progmodes/ld-script.el (ld-script-keywords)
23397 (ld-script-builtins): Update keywords list.
23399 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23401 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23403 * shell.el (shell-completion-vars): New function.
23405 * simple.el (read-shell-command): Use it.
23406 (blink-matching-open): No need for " [...]" in minibuffer-message.
23408 2011-05-12 Glenn Morris <rgm@gnu.org>
23410 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23411 (appt-check): Simplify.
23413 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23415 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23416 literal "/dev/null".
23418 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23420 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23423 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23425 * progmodes/which-func.el (which-function):
23426 Use add-log-current-defun instead of add-log-current-defun-function,
23427 which might not be defined (Bug#8260).
23429 2011-05-12 Glenn Morris <rgm@gnu.org>
23431 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23432 Let byte-compile-initial-macro-environment always take precedence.
23434 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23436 * net/rcirc.el: Add support for SSL/TLS connections.
23437 (rcirc-server-alist): New field `encryption'.
23438 (rcirc): Check `encryption' settings.
23439 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23440 Merge make-local-variable into `set'.
23441 (rcirc--connection-open-p): New function.
23442 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23443 the process is not a network process (e.g. running gnutls-cli).
23444 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23445 Make rcirc-(en|de)code-coding-system local here.
23446 (rcirc-mode): Merge make-local-variable into `set'.
23447 (rcirc-parent-buffer): Make permanent buffer-local.
23448 (rcirc-multiline-minor-mode): Don't do it here.
23449 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23450 there's no server buffer.
23452 2011-05-11 Glenn Morris <rgm@gnu.org>
23454 * newcomment.el (comment-kill): Prefix "unused" local.
23456 * term/w32console.el (get-screen-color): Declare.
23458 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23459 Handle symbol elements of byte-compile-initial-macro-environment.
23461 2011-05-10 Leo Liu <sdl.web@gmail.com>
23463 * bookmark.el (bookmark-bmenu-mode-map):
23464 Bind bookmark-bmenu-search to `/'.
23466 * mail/footnote.el: Convert to utf-8 encoding.
23467 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23468 (Footnote-unicode): New function.
23469 (footnote-style-alist): Add unicode style to the list.
23470 (footnote-style): Doc fix.
23472 2011-05-10 Jim Meyering <meyering@redhat.com>
23474 Fix doubled-word typos.
23475 * international/quail.el (quail-insert-kbd-layout): and and -> and
23476 * kermit.el: and and -> and
23477 * net/ldap.el (ldap-search-internal): to to -> to
23478 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23479 * progmodes/js.el (js-mode): and and -> and
23480 * textmodes/artist.el (artist-move-to-xy): at at -> at
23481 (artist-draw-region-trim-line-endings): if if -> if
23482 And Safetyc -> Safety.
23483 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23485 2011-05-10 Glenn Morris <rgm@gnu.org>
23486 Stefan Monnier <monnier@iro.umontreal.ca>
23488 * files.el (hack-one-local-variable-eval-safep):
23489 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23491 2011-05-10 Glenn Morris <rgm@gnu.org>
23493 * calendar/diary-lib.el (diary-list-entries-hook)
23494 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23495 (diary-nongregorian-marking-hook, diary-list-entries)
23496 (diary-include-other-diary-files, diary-mark-entries)
23497 (diary-mark-included-diary-files): Doc fixes.
23499 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23501 * misc.el: Require tabulated-list.el during compilation.
23503 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23505 * progmodes/compile.el (compilation-start):
23506 Run compilation-filter-hook for the async case too.
23507 (compilation-filter-hook): Doc fix.
23509 2011-05-09 Deniz Dogan <deniz@dogan.se>
23511 * wdired.el: Remove outdated installation comment. Fix usage
23514 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23516 * misc.el: Implement new command `list-dynamic-libraries'.
23517 (list-dynamic-libraries--loaded-only-p): New variable.
23518 (list-dynamic-libraries--refresh): New function.
23519 (list-dynamic-libraries): New command.
23521 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23524 Fix the ant regexp to handle end-line and end-column info from jikes.
23525 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23526 higher priority to avoid clobbering by gnu.
23528 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23530 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23531 if the face has existing theme settings (Bug#8454).
23533 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23535 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23536 Only match variables declared via `my' or `our' (Bug#8261).
23538 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23539 special file names `.' and `..' (Bug#8259).
23541 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23543 * progmodes/grep.el (grep-mode-font-lock-keywords):
23544 Remove buffer-changing entries.
23545 (grep-filter): New function.
23546 (grep-mode): Add it to compilation-filter-hook.
23548 * progmodes/compile.el (compilation-filter-hook)
23549 (compilation-filter-start): New defvars.
23550 (compilation-filter): Call compilation-filter-hook prior to
23551 updating the process mark.
23553 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23555 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23557 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23559 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23560 mailclient-send-it even if window-system is nil. (Bug#8595)
23562 * term/w32console.el (terminal-init-w32console):
23563 Call get-screen-color and use its output to set the frame
23564 background-mode. (Bug#8597)
23566 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23568 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23569 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23571 (defgeneric, eieio--defmethod): Use them.
23572 (eieio-defgeneric): Remove.
23573 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23575 2011-05-07 Glenn Morris <rgm@gnu.org>
23577 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23578 Use let rather than let*.
23579 (timeclock-find-discrep): Remove unused local.
23581 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23583 * calendar/appt.el (appt-time-msg-list): Doc fix.
23585 2011-05-06 Noah Friedman <friedman@splode.com>
23587 * apropos.el (apropos-print-doc): Only use
23588 emacs-lisp-docstring-fill-column when it is bound to an integer,
23589 per that variable's documentation.
23591 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23593 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23594 and warnings are not silently discarded (e.g. use -d instead of -P).
23596 2011-05-06 Glenn Morris <rgm@gnu.org>
23598 * calendar/appt.el (appt-message-warning-time): Doc fix.
23599 (appt-warning-time-regexp): New option.
23600 (appt-make-list): Respect appt-message-warning-time.
23602 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23604 (diary-add-to-list): Strip comments from the displayed string.
23605 (diary-mode): Set comment-start and comment-end.
23607 * vc/diff-mode.el (smerge-refine-subst): Declare.
23608 (diff-refine-hunk): Don't require smerge-mode when compiling.
23610 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23612 * simple.el (list-processes): Return nil as the docstring says.
23614 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23616 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23618 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23619 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23620 determining of binary transfer. (Bug#7383)
23622 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23625 Fix port computation bug. (Bug#8618)
23627 2011-05-05 Glenn Morris <rgm@gnu.org>
23629 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23631 * simple.el (shell-dynamic-complete-functions)
23632 (comint-dynamic-complete-functions): Declare.
23634 * net/network-stream.el (gnutls-negotiate):
23635 * simple.el (tabulated-list-print): Fix declarations.
23637 * progmodes/gud.el (syntax-symbol, syntax-point):
23638 Remove unnecessary and incorrect declarations.
23640 * emacs-lisp/check-declare.el (check-declare-scan):
23641 Handle byte-compile-initial-macro-environment in bytecomp.el.
23643 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23645 Fix earlier half-done eieio-defmethod change (bug#8338).
23646 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23647 Streamline and change calling convention.
23648 (defmethod): Adjust accordingly and simplify.
23649 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23650 new eieio--defmethod.
23651 (slot-boundp): Minor CSE simplification.
23653 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23655 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23656 (glasses-make-readable): Use glasses-separate-capital-groups.
23658 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23660 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23661 (warning-series): Doc fix.
23662 (display-warning): Don't try to create the buffer if we just found it.
23664 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23666 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23667 (autoload-find-generated-file): New function.
23668 (generate-file-autoloads): Bind generated-autoload-file to
23670 (update-file-autoloads, update-directory-autoloads):
23671 Use autoload-find-generated-file. If called interactively, prompt for
23672 output file (Bug#7989).
23673 (batch-update-autoloads): Doc fix.
23675 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23677 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23679 2011-05-04 Glenn Morris <rgm@gnu.org>
23681 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23682 function, so it follows changes in calendar-date-style.
23683 (diary-fancy-date-matcher): New function.
23684 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23685 (diary-fancy-font-lock-fontify-region-function):
23686 Use diary-fancy-date-pattern as a function.
23688 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23689 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23691 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23693 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23694 instead of positional arguments. Allow :keylist and :crlfiles
23696 (open-gnutls-stream): Call it.
23698 * net/network-stream.el (network-stream-open-starttls): Adjust to
23699 call `gnutls-negotiate' with :process and :hostname arguments.
23701 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23703 * minibuffer.el (completion--message): New function.
23704 (completion--do-completion, minibuffer-complete)
23705 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23706 (completion--do-completion): Don't ignore completion-auto-help when in
23709 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23710 internal encoding (e.g. tibetan zero is not whitespace).
23711 (global-whitespace-mode): Prefer save-current-buffer.
23712 (whitespace-trailing-regexp): Remove useless save-match-data.
23713 (whitespace-empty-at-bob-regexp): Minor simplification.
23715 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23717 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23719 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23721 * textmodes/ispell.el (ispell-add-per-file-word-list):
23722 Use `concat' to create string for insertion.
23724 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23726 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23727 Avoid open-line which runs post-self-insert-hook.
23728 (bibtex-fill-entry): Remove unused `end' var.
23730 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23732 * textmodes/ispell.el (ispell-add-per-file-word-list):
23733 Protect against `nil' value of `comment-start' (Bug#8579).
23735 2011-05-03 Leo Liu <sdl.web@gmail.com>
23737 * isearch.el (isearch-yank-pop): New command.
23738 (isearch-mode-map): Bind it to `M-y'.
23739 (isearch-forward): Mention it.
23741 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23743 * simple.el (minibuffer-complete-shell-command): Remove.
23744 (minibuffer-local-shell-command-map): Use completion-at-point.
23745 (read-shell-command): Setup completion vars here instead.
23746 (read-expression-map): Bind TAB to symbol completion.
23748 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23749 error directly rather via storing it into `results'.
23751 2011-05-02 Leo Liu <sdl.web@gmail.com>
23753 * vc/diff.el: Fix description.
23755 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23757 * server.el (server-eval-at): New function.
23759 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23761 * net/network-stream.el (open-network-stream): Take a :nowait
23762 parameter and pass it on to `make-network-process'.
23763 (network-stream-open-plain): Ditto.
23765 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23767 * faces.el (face-spec-set-match-display): Don't match toolkit
23768 options on terminal frames.
23770 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23772 * progmodes/pascal.el: Use lexical binding.
23773 (pascal-mode-map): Remove author preferences.
23775 * pcomplete.el (pcomplete-std-complete): Don't abuse
23776 completion-at-point.
23778 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23780 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23781 removing code that has been dead since 1991 or so.
23783 * startup.el (command-line): When warning about "_emacs", use a
23784 delayed warning to allow the user to filter it out.
23786 2011-04-28 Deniz Dogan <deniz@dogan.se>
23788 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23789 user has not joined.
23791 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23793 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23794 aren't any completions at point.
23796 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23798 * subr.el (display-delayed-warnings): New function.
23799 (delayed-warnings-hook): New variable.
23801 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23803 * minibuffer.el (completion-at-point, completion-help-at-point):
23804 Don't presume that a given completion-at-point-function will always
23805 use the same calling convention.
23807 * pcomplete.el (pcomplete-completions-at-point):
23808 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23809 pcomplete-seen is non-nil.
23810 (pcomplete-comint-setup): Also recognize the new comint/shell
23811 completion functions.
23812 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23813 pcomplete-seen is non-nil.
23815 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23817 * calendar/icalendar.el (diary-lib): Add require statement.
23818 (icalendar--create-uid): Read out a uid from a text-property on
23819 the first character in the entry. This allows for code to add its
23820 own uid to the entry.
23821 (icalendar--convert-float-to-ical): Add export of
23822 `diary-float'-entries save for those with the optional DAY
23825 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23827 * subr.el (shell-quote-argument): Use alternate escaping strategy
23828 when we spot a variable reference in a string.
23830 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23832 * cus-start.el (all): Define customization for debug-on-event.
23834 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23836 * subr.el (shell-quote-argument): Escape correctly under Windows.
23838 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23840 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23842 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23844 * net/tramp.el (tramp-process-actions): Add POS argument.
23845 Delete region between POS and (pos).
23847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23848 Use `nil' position in `tramp-process-actions' call.
23849 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23851 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23852 position in `tramp-process-actions' call.
23854 * net/trampver.el: Update release number.
23856 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23858 * custom.el (defcustom): Obey lexical-binding.
23860 Fix octave-inf completion problems reported by Alexander Klimov.
23861 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23862 Inherit from octave-mode-syntax-table.
23863 (inferior-octave-mode): Set info-lookup-mode.
23864 (inferior-octave-completion-at-point): New function.
23865 (inferior-octave-complete): Use it and completion-in-region.
23866 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23867 comint-filename-completion.
23868 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23869 symbol elements which shouldn't be word elements.
23870 (octave-font-lock-keywords, octave-beginning-of-defun)
23871 (octave-function-header-regexp): Adjust regexps accordingly.
23872 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23874 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23876 * net/gnutls.el (gnutls-errorp): Declare before first use.
23878 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23880 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23881 verify-error, and verify-hostname-error parameters. Check whether
23882 default trustfile exists before going to use it. Add missing
23883 argument to gnutls-message-maybe call. Return value.
23884 Reported by Claudio Bley <claudio.bley@gmail.com>.
23885 (open-gnutls-stream): Add usage example.
23887 * net/network-stream.el (network-stream-open-starttls): Give host
23888 parameter to `gnutls-negotiate'.
23889 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23890 * subr.el (shell-quote-argument): Escape correctly under Windows.
23892 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23895 Use correct match group (bug#8438).
23897 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23899 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23900 (package-menu--generate): New arg specifying packages to show.
23901 (package-menu-refresh, package-menu-execute, list-packages):
23903 (package-show-package-list): New function, replacing deleted
23904 package--list-packages (renamed because it is non-internal).
23906 * finder.el (finder-list-matches): Use package-show-package-list
23907 instead of deleted package--list-packages.
23909 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23910 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23911 (vc-annotate-mode-map): Bind it to RET.
23913 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23915 * progmodes/etags.el (next-file): Don't use set-buffer to change
23916 buffers (Bug#8478).
23918 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23920 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23922 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23923 (apropos-accumulator): Doc fix.
23924 (apropos-function, apropos-macro, apropos-command)
23925 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23926 (apropos-plist): Add face property.
23927 (apropos-symbols-internal): Fix indentation.
23928 (apropos-print): Simplify help, and recognize apropos-multi-type.
23929 (apropos-print-doc): Use button-type-get to extract the button's
23930 face property. Fill docstring (Bug#8352).
23932 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23934 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23936 * play/mpuz.el (mpuz-silent): Doc fix.
23937 (mpuz-mode-map): Use mapc.
23938 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23939 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23940 Fix typos in docstrings.
23942 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23943 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23945 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23947 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23949 * minibuffer.el (completion--do-completion): Avoid the "Next char
23950 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23952 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23953 mouse-2 into unread-command-events, it is interpreted correctly.
23955 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23956 (image-toggle-display): Doc fix.
23958 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23960 * textmodes/page.el (what-page): Use line-number-at-pos to
23961 calculate line number (Bug#6825).
23963 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23965 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23966 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23967 Pass argument NO-DEFAULT to `find-tag-interactive'.
23969 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23971 Lexical-binding cleanup.
23973 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23974 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23975 * progmodes/ada-prj.el (ada-prj-initialize-values)
23976 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23977 (ada-prj-show-value):
23978 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23979 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23980 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23981 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23982 * progmodes/bug-reference.el (bug-reference-push-button):
23983 * progmodes/fortran.el (fortran-line-length):
23984 * progmodes/glasses.el (glasses-change):
23985 * progmodes/octave-mod.el (octave-fill-paragraph):
23986 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23987 (python-pdbtrack-grub-for-buffer, python-sentinel):
23988 * progmodes/sql.el (sql-save-connection):
23989 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23990 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23991 Mark unused parameters.
23993 * progmodes/compile.el (compilation--flush-directory-cache)
23994 (compilation--flush-parse, compile-internal): Mark unused parameters.
23995 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23996 (compilation-next-error-function): Remove unused variable `timestamp'.
23998 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23999 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24001 * progmodes/dcl-mode.el (dcl-end-of-command):
24002 Remove unused variable `start'.
24003 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24004 (dcl-option-value-basic, dcl-option-value-offset)
24005 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24006 Mark unused parameters.
24007 (dcl-save-local-variable): Remove unused variable `val'.
24010 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24011 Mark unused parameters.
24012 (delphi-ignore-changes): Move before first use.
24013 (delphi-charset-token-at): Remove unused variable `start'.
24014 (delphi-else-start): Remove unused variable `if-count'.
24015 (delphi-comment-block-start, delphi-comment-block-end):
24016 Remove unused variable `kind'.
24017 (delphi-indent-line): Remove unused variable `new-point'.
24019 * progmodes/ebrowse.el (ebrowse-files-list)
24020 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24021 Mark unused parameters. Don't quote `lambda'.
24022 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24023 Don't quote `lambda'.
24024 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24025 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24026 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24027 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24028 Use `ignore-errors'.
24029 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24030 (ebrowse-view/find-file-and-search-pattern)
24031 (ebrowse-view/find-member-declaration/definition):
24032 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24033 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24034 Rename parameter PREFIX-ARG to PREFIX.
24035 (ebrowse-tags-read-name): Remove unused variables `start' and
24037 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24040 * progmodes/etags.el (local-find-tag-hook): Declare.
24041 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24042 Mark unused parameters.
24044 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24045 (executable-interpret): Mark unused parameter.
24047 * progmodes/flymake.el (flymake-process-sentinel)
24048 (flymake-after-change-function)
24049 (flymake-create-temp-with-folder-structure)
24050 (flymake-get-include-dirs-dot): Mark unused parameters.
24051 (flymake-safe-delete-directory): Remove unused variable `err'.
24053 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24054 (speedbar-timer-fn, speedbar-line-text)
24055 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24056 (speedbar-center-buffer-smartly): Declare functions.
24057 (gdb-find-watch-expression): Remove unused variable `array'.
24058 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24059 (gdb-starting): Mark unused parameters.
24060 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24061 (gdb-table-string): Remove unused variable `res'.
24062 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24063 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24064 (gdb-display-buffer): Remove unused variable `cur-size'.
24066 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24067 allow lexical-binding compilation.
24068 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24069 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24070 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24071 Mark unused parameters.
24072 (gud-gdb-marker-filter): Remove unused variable `match'.
24073 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24074 lambda expressions and funcall them, instead of using `fset'.
24076 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24077 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24079 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24080 variable `header-beg'; use `let'.
24082 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24083 `restart', `last-sexp' and `at-do'.
24085 * progmodes/js.el (js--debug): Mark unused parameter.
24086 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24087 (js--splice-into-items): Remove unused variable `item'.
24088 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24090 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24091 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24092 (makefile-complete): Remove unused variable `try'.
24093 (makefile-fill-paragraph, makefile-match-function-end):
24094 Mark unused parameters.
24096 * progmodes/octave-inf.el (inferior-octave-complete):
24097 Remove unused variable `proc'.
24098 (inferior-octave-output-digest): Mark unused parameter.
24100 * progmodes/perl-mode.el (perl-calculate-indent):
24101 Remove unused variable `err'.
24103 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24104 (prolog-indent-line): Mark unused parameters.
24105 (prolog-indent-line): Remove unused variable `beg'.
24107 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24108 (reporter-dont-compact-list): Declare.
24110 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24111 Remove unused variable `char'.
24112 (sh-debug): Mark unused parameter.
24113 (sh-get-indent-info): Remove unused variable `start'.
24114 (sh-calculate-indent): Remove unused variable `var'.
24116 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24117 (simula-electric-keyword): Remove unused variable `null'.
24118 (simula-search-backward, simula-search-forward): Remove unused
24119 variables `begin' and `end'.
24121 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24122 Remove unused variable `pos'.
24123 (vera-electric-tab, vera-comment-uncomment-region):
24124 Mark unused parameters.
24125 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24127 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24129 * emacs-lisp/package.el (package--builtins, package-alist)
24130 (package-load-descriptor, package-built-in-p, package-activate)
24131 (define-package, package-installed-p)
24132 (package-compute-transaction, package-buffer-info)
24133 (package--push): Doc fix. Distinguish more clearly between
24134 version strings and version lists.
24136 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24138 Lexical-binding cleanup.
24140 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24141 (5x5-make-mutate-best):
24142 * play/fortune.el (fortune-in-buffer):
24143 * play/gomoku.el (gomoku-init-display):
24144 * play/solitaire.el (solitaire, solitaire-do-check):
24145 * play/tetris.el (tetris-default-update-speed-function):
24146 Mark unused parameters.
24148 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24149 (bubbles--shift): Remove unused variable `char-org'.
24150 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24151 (bubbles--show-images): Remove unused variable `char'.
24153 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24154 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24155 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24156 (decipher-analyze-buffer): Use ?\s.
24157 (decipher-make-checkpoint): Remove unused variable `mapping'.
24159 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24161 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24162 Remove unused variable `result'; use `let'.
24164 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24165 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24166 (gametree-children-shown-p, gametree-compute-reduced-score):
24167 Use `ignore-errors'.
24169 * play/handwrite.el (ps-lpr-switches): Declare.
24170 (handwrite): Remove unused variables `pmin' and `lastp'.
24172 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24174 * play/landmark.el (landmark-init-display)
24175 (landmark-update-naught-weights): Mark unused parameters.
24176 (landmark-y): Remove unused variable `noise'. Simplify.
24177 (landmark-human-plays): Remove unused variable `score'.
24179 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24180 (mpuz-try-proposal): Remove unused variable `game'.
24182 * play/zone.el (life-patterns): Declare.
24184 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24186 * vc/vc.el (ediff-vc-internal): Declare function.
24188 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24190 * shell.el: Use lexical-binding and std completion UI.
24191 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24192 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24193 comint-preoutput-filter-functions rather than on
24194 comint-output-filter-functions.
24195 (shell-command-completion, shell--command-completion-data)
24196 (shell-filename-completion, shell-environment-variable-completion)
24197 (shell-c-a-p-replace-by-expanded-directory): New functions.
24198 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24199 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24200 (shell-dynamic-complete-environment-variable): Use them.
24201 (shell-dynamic-complete-as-environment-variable)
24202 (shell-dynamic-complete-as-command): Remove.
24203 (shell-match-partial-variable): Match past point.
24204 * comint.el: Clean up use of completion-at-point-functions.
24205 (comint-completion-at-point): New function.
24206 (comint-mode): Use it completion-at-point-functions.
24207 (comint-dynamic-complete): Make it obsolete.
24208 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24209 (comint-c-a-p-replace-by-expanded-history): New function.
24210 (comint-dynamic-complete-functions)
24211 (comint-replace-by-expanded-history): Use it.
24212 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24213 termination strings. Try harder to avoid second try-completion.
24214 (completion-in-region-mode-map): Disable bindings that don't work yet.
24216 * comint.el: Use lexical-binding. Require CL.
24217 (comint-dynamic-complete-functions): Use comint-filename-completion.
24218 (comint-completion-addsuffix): Tweak custom type.
24219 (comint-filename-completion, comint--common-suffix)
24220 (comint--common-quoted-suffix, comint--table-subvert)
24221 (comint--complete-file-name-data): New functions.
24222 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24223 (comint-dynamic-list-filename-completions): Use them.
24224 (comint-dynamic-simple-complete): Make obsolete.
24226 * minibuffer.el (completion-in-region-mode):
24227 Keep completion-in-region-mode--predicate global.
24228 (completion-in-region--postch):
24229 Assume completion-in-region-mode--predicate is not null.
24231 * progmodes/flymake.el (flymake-start-syntax-check-process):
24232 Obey `dir'. Simplify.
24234 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24235 we're in VC after all.
24237 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24239 * vc/vc.el (vc-diff-build-argument-list-internal)
24240 (vc-version-ediff, vc-ediff): New commands.
24241 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24243 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24245 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24248 * obsolete/erc-hecomplete.el: Make obsolete.
24249 * obsolete/: Standardize obsolescence info in the header.
24251 2011-04-20 Glenn Morris <rgm@gnu.org>
24253 * calendar/solar.el (solar-horizontal-coordinates):
24254 Use the longitude argument rather than `calendar-longitude'.
24255 (solar-date-next-longitude): Remove unused locals.
24257 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24259 * whitespace.el: New version 13.2.1.
24261 2011-04-20 felix <EmacsWiki> (tiny change)
24263 * whitespace.el (global-whitespace-mode): Keep highlight when
24264 switching between major modes on a file.
24266 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24268 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24269 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24270 multi-line comments as well.
24272 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24274 Lexical-binding cleanup.
24276 * arc-mode.el (archive-mode-revert):
24277 * cmuscheme.el (scheme-interactively-start-process):
24278 * custom.el (custom-initialize-delay):
24279 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24280 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24281 * emacs-lock.el (emacs-lock-clear-sentinel):
24282 * ezimage.el (defezimage):
24283 * follow.el (follow-avoid-tail-recenter):
24284 * fringe.el (set-fringe-mode-1):
24285 * generic-x.el (bat-generic-mode-compile):
24286 * help-mode.el (help-info-variable, help-do-xref)
24287 (help-mode-revert-buffer):
24288 * help.el (view-emacs-todo):
24289 * iswitchb.el (iswitchb-completion-help):
24290 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24291 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24292 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24293 * locate.el (locate-update):
24294 * longlines.el (longlines-encode-region)
24295 (longlines-after-change-function):
24296 * outline.el (outline-isearch-open-invisible):
24297 * ps-def.el (declare-function, charset-dimension, char-width)
24299 * ps-mule.el (ps-mule-plot-string):
24300 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24301 (recentf-edit-list-select, recentf-edit-list-validate)
24302 (recentf-open-files-action):
24303 * rect.el (delete-whitespace-rectangle-line)
24304 (rectangle-number-line-callback):
24305 * register.el (window-configuration-to-register)
24306 (frame-configuration-to-register):
24307 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24308 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24309 (xselect-convert-to-targets, xselect-convert-to-delete)
24310 (xselect-convert-to-filename, xselect-convert-to-charpos)
24311 (xselect-convert-to-lineno, xselect-convert-to-colno)
24312 (xselect-convert-to-os, xselect-convert-to-host)
24313 (xselect-convert-to-user, xselect-convert-to-class)
24314 (xselect-convert-to-name, xselect-convert-to-integer)
24315 (xselect-convert-to-atom, xselect-convert-to-identity):
24316 * subr.el (declare, ignore, process-kill-without-query)
24317 (text-clone-maintain):
24318 * terminal.el (te-get-char, te-tic-sentinel):
24319 * tool-bar.el (tool-bar-make-keymap):
24320 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24321 * type-break.el (type-break-mode, type-break-noninteractive-query):
24322 * view.el (View-back-to-mark):
24323 * wid-browse.el (widget-browse-action, widget-browse-widget)
24324 (widget-browse-widgets, widget-browse-sexp):
24325 * widget.el (define-widget-keywords):
24326 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24327 Mark unused parameters.
24329 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24330 (align-areas): Remove unused variable `look'.
24331 (align-region): Remove unused variables `real-end' and `pos-list'.
24333 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24335 * bindings.el (mode-line-modified, mode-line-remote):
24336 Mark unused parameters.
24337 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24339 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24340 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24342 * comint.el (comint-history-isearch-pop-state)
24343 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24344 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24345 (comint-substitute-in-file-name): Doc fix.
24347 * completion.el (cmpl-statistics-block): Mark unused parameter.
24348 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24349 (save-completions-to-file, load-completions-from-file):
24350 Remove unused local variable `e'.
24352 * composite.el (compose-chars): Remove unused variable `len'.
24353 (lgstring-insert-glyph): Remove unused variable `g'.
24354 (compose-glyph-string): Remove unused variables `ascent',
24355 `descent', `lbearing' and `rbearing'.
24356 (compose-glyph-string-relative): Remove unused variables
24357 `lbearing', `rbearing' and `wadjust'.
24358 (compose-gstring-for-graphic): Remove unused variables `header',
24359 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24360 (compose-gstring-for-terminal): Remove unused variables `header'
24361 and `nchars'. Use `let', not `let*'.
24363 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24364 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24365 (Custom-buffer-done, custom-buffer-create-internal)
24366 (custom-browse-visibility-action, custom-browse-group-tag-action)
24367 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24368 (widget-magic-mouse-down-action, custom-toggle-parent)
24369 (custom-add-parent-links, custom-toggle-hide-variable)
24370 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24371 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24372 (custom-face-menu-create, custom-variable-menu-create, get)
24373 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24374 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24375 (customize-apropos): Remove unused variable `tests'.
24376 (custom-group-value-create): Remove unused variable `hidden-p'.
24377 (sort-fold-case): Declare.
24379 * cus-theme.el (custom-reset-standard-faces-list)
24380 (custom-reset-standard-variables-list): Declare.
24381 (customize-create-theme, custom-theme-revert, custom-theme-write)
24382 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24383 Mark unused parameters.
24385 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24387 * delim-col.el (delimit-columns-max): Move defvar before first use.
24389 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24390 (describe-char): Don't quote `lambda'. Mark unused parameter.
24392 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24393 (auto-insert): Declare.
24394 (desktop-restore-file-buffer): Rename desktop-* parameters;
24396 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24397 (desktop-buffer): Rename desktop-* parameters.
24399 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24400 (dframe-reposition-frame-xemacs, dframe-help-echo)
24401 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24402 Mark unused parameters.
24404 * dired-aux.el (backup-extract-version-start, overwrite-query)
24405 (overwrite-backup-query, rename-regexp-query)
24406 (rename-non-directory-query): Declare.
24407 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24408 (dired-add-entry): Remove unused variable `orig-file-name'.
24409 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24410 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24411 `dired-copy-preserve-time' directly.
24412 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24413 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24415 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24416 (dired-virtual-revert, dired-make-relative-symlink):
24417 Mark unused parameters.
24418 (manual-program): Declare.
24419 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24420 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24421 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24423 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24425 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24427 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24430 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24432 * electric.el (Electric-command-loop): Rename parameter
24433 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24435 * expand.el (expand-in-literal): Remove unused variable `here'.
24437 * facemenu.el (facemenu-add-new-color):
24438 Remove unused variable `docstring'.
24440 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24441 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24442 (face-attr-construct): Mark unused parameter. Doc fix.
24443 (read-color): Remove unused variable `hex-string'.
24445 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24446 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24447 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24448 (display-buffer-other-frame): Remove unused variable `old-window'.
24449 (kill-buffer-hook): Declare.
24450 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24451 Mark unused parameters.
24452 (after-find-file): Pass 1 to `auto-save-mode', not t.
24454 * files-x.el (auto-insert): Declare.
24455 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24457 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24458 variable `buf'. Mark unused parameter.
24459 (find-lisp-insert-directory): Mark unused parameter.
24461 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24462 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24463 (format-common-tail): Remove, unused.
24464 (format-deannotate-region): Remove unused variable `loc'.
24465 (format-annotate-region): Remove unused variable `p'.
24466 (format-annotate-single-property-change): Remove unused variables
24467 `default' and `tail'.
24469 * forms.el (read-file-filter): Declare.
24470 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24472 * frame.el (frame-creation-function-alist): Mark unused parameter.
24473 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24475 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24476 Remove unused parameters.
24477 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24478 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24480 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24481 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24482 (hfy-prepare-tag-map): Mark unused parameters.
24483 (htmlfontify-buffer): Use `called-interactively-p'.
24485 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24486 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24487 (ibuffer-do-occur): Mark unused parameters.
24488 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24489 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24491 * ibuffer.el: Don't quote `lambda'.
24492 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24493 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24494 Mark unused parameters.
24496 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24497 (ido-completing-read): Mark unused parameters.
24498 (ido-copy-current-word): Mark unused parameters;
24499 remove unused variable `name'.
24500 (ido-sort-merged-list): Remove unused parameter `dirs'.
24502 * ielm.el (ielm-input-sender): Mark unused parameter.
24503 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24504 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24505 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24506 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24507 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24509 * image-dired.el (image-dired-display-thumbs): Remove unused
24510 variables `curr-file' and `count'.
24511 (image-dired-remove-tag): Remove unused variable `start'.
24512 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24513 variable `curr-file'
24514 (image-dired-rotate-original): Remove unused variable `temp-file'.
24515 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24516 Remove unused variable `file'.
24517 (image-dired-gallery-generate): Remove unused variable `curr'.
24518 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24520 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24522 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24524 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24526 * isearch.el (minibuffer-history-symbol): Declare.
24527 (isearch-edit-string): Remove unused variable `err'.
24528 (isearch-message-prefix, isearch-message-suffix):
24529 Mark unused parameters.
24531 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24533 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24535 * makesum.el (double-column): Remove unused variable `cnt'.
24537 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24538 (ido-ignore-item-temp-list): Declare.
24540 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24541 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24542 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24543 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24546 * mouse-sel.el (mouse-extend-internal):
24547 Remove unused variable `orig-window-frame'.
24549 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24550 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24551 Move declarations before first use.
24552 (pcomplete-opt): Mark unused parameters; doc fix.
24554 * proced.el (proced-revert): Mark unused parameter.
24555 (proced-send-signal): Remove unused variable `err'.
24557 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24558 Rename parameter PREFIX-ARG to ARG.
24559 (ps-basic-plot-string, ps-basic-plot-whitespace):
24560 Mark unused parameters.
24562 * replace.el (replace-count): Define.
24563 (occur-revert-function): Mark unused parameters.
24564 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24565 (isearch-case-fold-search, isearch-string): Declare.
24566 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24567 bind `case-fold-search'. Remove unused variables `beg' and `end',
24569 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24570 COUNT and bind `replace-count'.
24571 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24574 * savehist.el (print-readably, print-string-length): Declare.
24576 * shadowfile.el (shadow-expand-cluster-in-file-name):
24577 Remove unused variable `cluster'.
24578 (shadow-copy-file): Remove unused variable `i'.
24579 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24580 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24581 (shadow-define-literal-group, shadow-define-regexp-group)
24582 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24584 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24585 (shell): Use `called-interactively-p'.
24586 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24588 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24589 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24590 (delete-backward-char): Remove unused variable `ocol'.
24591 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24592 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24593 (event-apply-hyper-modifier, event-apply-shift-modifier)
24594 (event-apply-control-modifier, event-apply-meta-modifier):
24595 Mark unused parameters.
24596 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24597 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24599 * speedbar.el (speedbar-ignored-directory-expressions)
24600 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24601 (speedbar-find-file, speedbar-dir-follow)
24602 (speedbar-directory-buttons-follow, speedbar-tag-find)
24603 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24604 (speedbar-buffers-line-directory, speedbar-buffer-click):
24605 Mark unused parameters.
24606 (speedbar-tag-file): Remove unused variable `mode'.
24607 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24609 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24611 * talk.el (talk): Remove unused variable `display'.
24613 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24614 (tar-write-region-annotate): Mark unused parameter.
24616 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24617 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24618 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24619 warning by another.
24621 * time-stamp.el (time-stamp-string-preprocess):
24622 Remove unused variable `require-padding'.
24624 * tree-widget.el (widget-glyph-enable): Declare.
24625 (tree-widget-action): Mark unused parameter.
24627 * w32-fns.el (x-get-selection): Mark unused parameter.
24628 (autoload-make-program, generated-autoload-file): Declare.
24630 * wdired.el (wdired-revert): Mark unused parameters.
24631 (wdired-xcase-word): Remove unused variable `err'.
24633 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24634 (whitespace-help-scroll): Remove unused variable `data-help'.
24636 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24637 (widget-image-insert, widget-after-change, default)
24638 (widget-default-format-handler, widget-default-notify)
24639 (widget-default-prompt-value, widget-info-link-action)
24640 (widget-url-link-action, widget-function-link-action)
24641 (widget-variable-link-action, widget-file-link-action)
24642 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24643 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24644 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24645 (widget-insert-button-action, widget-delete-button-action, visibility)
24646 (widget-documentation-link-action, widget-documentation-string-action)
24647 (widget-const-prompt-value, widget-regexp-match, symbol)
24648 (widget-coding-system-prompt-value)
24649 (widget-key-sequence-value-to-external, sexp)
24650 (widget-sexp-value-to-internal, character, vector, cons)
24651 (widget-choice-prompt-value, widget-boolean-prompt-value)
24652 (widget-color--choose-action): Mark unused parameters.
24653 (widget-item-match-inline, widget-choice-match-inline)
24654 (widget-checklist-match, widget-checklist-match-inline)
24655 (widget-group-match): Rename parameter VALUES to VALS.
24656 (widget-field-value-set): Remove unused variable `size'.
24657 (widget-color-action): Remove unused variables `value' and `start'.
24659 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24660 variable `dir'. Doc fix.
24661 (windmove-find-other-window): Don't pass it.
24663 * window.el (count-windows): Mark unused parameter.
24664 (bw-adjust-window): Remove unused variable `err'.
24666 * woman.el (woman-file-name): Remove unused variable `default'.
24667 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24668 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24669 (global-font-lock-mode): Declare.
24670 (woman-decode-region): Mark unused parameter.
24671 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24673 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24674 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24675 (x-dnd-handle-moz-url): Remove unused variable `title'.
24676 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24678 * xml.el (xml-parse-tag, xml-parse-attlist):
24679 Remove unused variable `pos'.
24681 2011-04-19 Glenn Morris <rgm@gnu.org>
24683 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24684 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24685 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24686 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24687 * calendar/cal-html.el (cal-html-insert-minical):
24688 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24689 (calendar-mark-date-pattern):
24690 Prefix "unused" locals.
24692 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24693 optional argument `style'.
24695 * calendar/appt.el (appt-make-list):
24696 * calendar/cal-china.el (calendar-chinese-date-string):
24697 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24698 (diary-hebrew-yahrzeit):
24699 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24700 * calendar/calendar.el (calendar-generate-window):
24701 * calendar/time-date.el (time-to-days):
24702 Remove unused local variables.
24704 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24706 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24707 glyphless-char-display table.
24708 (tabulated-list-glyphless-char-display): New var.
24710 2011-04-18 Sam Steingold <sds@gnu.org>
24712 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24713 to acknowledgments.
24715 2011-04-17 Glenn Morris <rgm@gnu.org>
24717 * calendar/diary-lib.el (diary-sexp-entry):
24718 * calendar/holidays.el (holiday-sexp):
24719 Set debug-on-error rather than the removed stack-trace-on-error.
24721 2011-04-16 Glenn Morris <rgm@gnu.org>
24723 * progmodes/f90.el: Use lexical-binding.
24724 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24726 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24728 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24729 (mail-mode): Setup mailalias completion here instead.
24730 * mail/mailalias.el: Use lexical-binding.
24731 (pattern, mailalias-done): Declare dynamic.
24732 (mail-completion-at-point-function): New function, from mail-complete.
24733 (mail-complete): Use it.
24734 (mail-completion-expand): New function.
24735 (mail-get-names): Use it.
24736 (mail-directory, mail-directory-process, mail-directory-stream):
24737 Don't use `pattern' for lexically bound arg.
24739 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24741 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24742 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24743 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24745 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24746 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24747 (byte-interactive-p): Define them again, for use when inlining
24750 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24752 * loadup.el: Use `string-to-number', not `string-to-int'.
24754 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24756 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24757 gud-gdb-complete-command.
24758 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24759 (gud-gdb-completion-at-point): New function.
24760 (gud-gdb-completions): Remove.
24762 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24764 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24765 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24766 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24767 whether `executable-find' is bound.
24769 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24771 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24773 * minibuffer.el (completion-in-region-mode-predicate)
24774 (completion-in-region-mode--predicate): New vars.
24775 (completion-in-region, completion-in-region--postch)
24776 (completion-in-region-mode): Use them.
24777 (completion--capf-wrapper): Also return the hook function.
24778 (completion-at-point, completion-help-at-point):
24779 Adjust and provide a predicate.
24781 Preserve arg names for advice of subr and lexical functions (bug#8457).
24782 * help-fns.el (help-function-arglist): Consolidate the subr and
24783 new-byte-code cases. Add argument `preserve-names' to extract names
24784 from the docstring when needed.
24785 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24786 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24787 (ad-arglist): Use help-function-arglist's new arg.
24788 (ad-definition-type): Use cond.
24790 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24792 * autorevert.el (auto-revert-handler):
24793 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24794 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24795 Don't quote lambda.
24797 * image-mode.el (image-transform-set-scale):
24798 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24800 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24802 * net/network-stream.el (network-stream-open-starttls): Only do
24803 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24804 Upgrades via gnutls-cli are too slow to be done opportunistically.
24806 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24808 * dframe.el (dframe-current-frame): Remove spurious quote.
24810 2011-04-12 Glenn Morris <rgm@gnu.org>
24812 * calendar/cal-tex.el (cal-tex-end-document):
24813 Try to automatically use latin1 input if needed.
24815 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24816 Don't try to cons a mark onto an empty element.
24818 2011-04-11 Leo Liu <sdl.web@gmail.com>
24820 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24822 (ido-kill-buffer-at-head): Support killing virtual buffers.
24824 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24826 * minibuffer.el (completion-show-inline-help): New var.
24827 (completion--do-completion, minibuffer-complete)
24828 (minibuffer-force-complete, minibuffer-complete-word):
24829 Inhibit minibuffer messages if completion-show-inline-help is nil.
24831 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24832 to avoid interference from inline help (Bug#5849).
24834 2011-04-10 Leo Liu <sdl.web@gmail.com>
24836 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24839 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24841 * image-mode.el (image-toggle-display-image): Signal an error if
24843 (image-transform-mode, image-transform-resize)
24844 (image-transform-set-rotation): Doc fix.
24845 (image-transform-set-resize): Delete.
24846 (image-transform-set-scale, image-transform-fit-to-height)
24847 (image-transform-fit-to-width): Handle image-toggle-display-image
24848 and image-transform-resize directly.
24850 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24852 * doc-view.el (doc-view-fit-width-to-window)
24853 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24854 New functions for fitting the shown image to the Emacs window size.
24855 (doc-view-mode-map): Add bindings for the new functions.
24857 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24859 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24860 Fix typo in docstring.
24862 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24864 * files.el (file-size-human-readable): Produce one digit after
24865 decimal, like "ls -lh" does.
24867 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24868 the file size representation.
24870 * simple.el (list-processes): If async subprocesses are not
24871 available, error out with a clear error message.
24873 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24875 * help.el (help-form-show): New function, to be called from C.
24876 Put help-form output in a buffer named differently than *Help*.
24878 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24880 * files.el (file-size-human-readable): New function.
24882 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24883 computing the representation inline. Don't require `cl'.
24885 2011-04-08 Glenn Morris <rgm@gnu.org>
24887 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24889 * net/browse-url.el (browse-url-firefox):
24890 Test system-type, not system-configuration.
24892 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24893 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24894 Use log-edit-empty-buffer-p. (Bug#7598)
24896 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24897 (rlogin-mode-map): Initialize in the defvar.
24898 (rlogin): Use ignore-errors.
24900 * replace.el (occur-mode-map): Some fixes for menu items.
24902 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24904 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24906 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24908 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24909 issuing unused warnings.
24911 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24914 * simple.el: Lisp reimplement of list-processes. Based on an
24915 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24916 (process-menu-mode): New major mode.
24917 (list-processes--refresh, list-processes):
24918 (process-menu-visit-buffer): New functions.
24920 * files.el (save-buffers-kill-emacs): Don't assume any return
24921 value of list-processes, which is undocumented anyway.
24923 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24925 * emacs-lisp/tabulated-list.el: New file.
24927 * emacs-lisp/package.el: Use Tabulated List mode.
24928 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24929 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24930 table format using Tabulated List mode variables.
24931 (package--push): New macro, replacing package-list-maybe-add.
24932 (package-menu--generate): Use package--push. Renamed from
24933 package--generate-package-list.
24934 (package-menu-refresh, list-packages): Use it.
24935 (package-menu--print-info): Rename from package-print-package.
24936 Return insertion data instead of inserting it directly.
24937 (package-menu-describe-package, package-menu-execute):
24938 Use tabulated-list-get-id.
24939 (package-menu-mark-delete, package-menu-mark-install)
24940 (package-menu-mark-unmark, package-menu-backup-unmark)
24941 (package-menu-mark-obsolete-for-deletion):
24942 Use tabulated-list-put-tag.
24943 (package--list-packages, package-menu-revert)
24944 (package-menu-get-package, package-menu-get-version)
24945 (package-menu-sort-by-column): Functions deleted.
24946 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24947 (package-menu--status-predicate, package-menu--version-predicate)
24948 (package-menu--name-predicate)
24949 (package-menu--description-predicate): Handle arguments in the
24950 Tabulated List format.
24951 (package-list-packages-no-fetch): Call list-packages.
24953 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24955 * files.el (after-find-file-from-revert-buffer): Remove variable.
24956 (after-find-file): Don't bind it.
24957 (revert-buffer-in-progress-p): New variable.
24958 (revert-buffer): Bind it.
24959 Pass nil for `after-find-file-from-revert-buffer'.
24961 * saveplace.el (save-place-find-file-hook): Use new variable
24962 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24964 2011-04-06 Glenn Morris <rgm@gnu.org>
24966 * Makefile.in (AUTOGEN_VCS): New variable.
24967 (autoloads): Use $AUTOGEN_VCS.
24969 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24970 * calendar/calendar.el (calendar-mode-map):
24971 Check for toolkit scroll bars. (Bug#8305)
24973 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24975 * minibuffer.el (completion-in-region--postch)
24976 (completion-in-region-mode): Remove unnecessary messages.
24978 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24980 * font-lock.el (font-lock-refresh-defaults):
24981 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24982 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24984 * info.el (Info-directory-list, Info-read-node-name-2)
24985 (Info-split-parameter-string): Doc fixes.
24986 (Info-virtual-nodes): Reflow docstring.
24987 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24988 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24989 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24990 Fix typos in docstrings.
24991 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24992 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24993 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24994 (Info-restore-desktop-buffer): Mark unused parameters.
24995 (Info-directory-find-file, Info-directory-find-node)
24996 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24997 (Info-virtual-index-find-node, Info-apropos-find-file)
24998 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24999 Mark unused parameters; fix typos in docstrings.
25000 (Info-virtual-index): Remove unused local variable `nodename'.
25002 2011-04-05 Deniz Dogan <deniz@dogan.se>
25004 * net/rcirc.el: Update my e-mail address.
25005 (rcirc-mode-map): Remove M-o binding.
25007 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25009 * startup.el (command-line): Save the cursor's theme-face
25010 directly, instead of using face-override-spec.
25012 * custom.el (load-theme): Minor optimization in assigning faces.
25014 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25016 * help-fns.el (describe-variable): Complete all variables having
25017 documentation, including keywords.
25018 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25020 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25022 Convert to lexical-binding.
25024 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25025 (bs--get-marked-string, bs--get-modified-string)
25026 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25027 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25028 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25030 * ehelp.el (electric-help-execute-extended)
25031 (electric-help-ctrl-x-prefix):
25032 * hexl.el (hexl-revert-buffer-function):
25033 * linum.el (linum-after-change, linum-after-scroll):
25034 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25036 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25038 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25045 * epg.el: Use lexical binding.
25047 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25049 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25051 * textmodes/flyspell.el (flyspell-word): Recognize default
25052 dictionary case for flyspell-mark-duplications-exceptions.
25053 Use regexp matching for languages.
25054 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25055 default dictionary (Bug#7926).
25057 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25059 * emacs-lisp/package.el (package--with-work-buffer):
25060 Recognize https URLs.
25062 * net/network-stream.el: Move from gnus/proto-stream.el.
25063 Change prefix to network-stream throughout.
25064 (open-protocol-stream): Merge into open-network-stream, leaving
25065 open-protocol-stream as an alias. Handle nil BUFFER args.
25067 * subr.el (open-network-stream): Move to net/network-stream.el.
25069 2011-04-02 Glenn Morris <rgm@gnu.org>
25071 * find-dired.el (find-exec-terminator): New option.
25072 (find-ls-option): Test for -ls support.
25073 (find-ls-subdir-switches): Test for -b in find-ls-option.
25074 (find-dired, find-grep-dired): Doc fixes.
25075 (find-dired): Use find-exec-terminator.
25077 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25078 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25079 (find-name-arg): Remove purecopy.
25081 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25082 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25083 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25084 accordingly. Don't add the null-device if not needed.
25086 * files.el (save-some-buffers): Doc fix.
25088 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25090 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25092 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25094 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25095 Use `dolist' rather than `mapcar'.
25097 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25099 Add lexical binding.
25101 * subr.el (apply-partially): Use new closures rather than CL.
25102 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25103 (dolist, dotimes): Use slightly different expansion for lexical code.
25104 (functionp): Move to C.
25105 (letrec): New macro.
25106 (with-wrapper-hook): Use it and apply-partially instead of CL.
25107 (eval-after-load): Preserve lexical-binding.
25108 (save-window-excursion, with-output-to-temp-buffer): Turn them
25111 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25113 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25115 (help-add-fundoc-usage): Don't add `Not documented'.
25116 (help-function-arglist): Handle closures, subroutines, and new
25117 byte-code-functions.
25118 (help-make-usage): Remove leading underscores.
25119 (describe-function-1): Handle closures.
25120 (describe-variable): Use special-variable-p for completion.
25122 * files.el (lexical-binding): Declare safe.
25124 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25125 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25126 (pcase): Add `let' pattern.
25127 Change memoization so it actually works.
25128 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25129 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25132 * emacs-lisp/macroexp.el: Use lexical binding.
25133 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25134 Don't convert ' to #' without checking that it's indeed quoting
25137 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25138 Use eval-sexp-add-defvars.
25139 (eval-sexp-add-defvars): New fun.
25141 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25143 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25145 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25146 than the internal `byte-compile-lambda'.
25147 (defmethod): Don't hide code under quotes.
25148 (eieio-defmethod): New `code' argument.
25150 * emacs-lisp/eieio-comp.el: Remove.
25152 * emacs-lisp/edebug.el (edebug-eval-defun)
25153 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25154 (edebug-toggle): Avoid `eval'.
25156 * emacs-lisp/disass.el (disassemble-internal): Handle new
25158 (disassemble-1): Handle new byte codes.
25160 * emacs-lisp/cl.el (pushnew): Silence warning.
25162 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25163 (cl-byte-compile-throw): Remove.
25164 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25166 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25169 * emacs-lisp/cconv.el: New file.
25171 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25172 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25173 (byte-compile-initial-macro-environment):
25174 Handle declare-function here.
25175 (byte-compile--lexical-environment): New var.
25176 (byte-stack-ref, byte-stack-set, byte-discardN)
25177 (byte-discardN-preserve-tos): New lap codes.
25178 (byte-interactive-p): Don't use any more.
25179 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25181 (byte-compile-lapcode): Use them and handle new lap codes.
25182 (byte-compile-obsolete): Remove.
25183 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25184 (byte-compile-arglist-warn): Check late def of inlinable funs.
25185 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25186 since they should have been expanded by now.
25187 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25188 (byte-compile-from-buffer): Remove unused second arg.
25189 (byte-compile-preprocess): New function.
25190 (byte-compile-toplevel-file-form): New function to distinguish
25191 file-form calls from outside from file-form calls from hunk-handlers.
25192 (byte-compile-file-form): Simplify.
25193 (byte-compile-file-form-defsubst): Remove.
25194 (byte-compile-file-form-defmumble): Simplify now that
25195 byte-compile-lambda always returns a byte-code-function.
25196 (byte-compile): Preprocess.
25197 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25198 Remove, not used any more.
25199 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25200 (byte-compile-make-args-desc): New funs.
25201 (byte-compile-lambda): Handle lexical functions. Always return
25202 a byte-code-function.
25203 (byte-compile-reserved-constants): New var, to make up room for
25204 closed-over variables.
25205 (byte-compile-constants-vector): Obey it.
25206 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25207 (byte-compile-macroexpand-declare-function): New function.
25208 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25209 byte-code-functions.
25210 (byte-compile-form): Check obsolescence here.
25211 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25212 (byte-compile-variable-ref): Remove.
25213 (byte-compile-dynamic-variable-op): New fun.
25214 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25215 (byte-compile-variable-set): New funs.
25216 (byte-compile-discard): Add 2 args.
25217 (byte-compile-stack-ref, byte-compile-stack-set)
25218 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25219 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25220 macroexpand-all instead.
25221 (byte-compile-quote-form): Remove.
25222 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25223 (byte-compile-bind, byte-compile-unbind): New funs.
25224 (byte-compile-let): Handle let* and lexical binding.
25225 (byte-compile-let*): Remove.
25226 (byte-compile-catch, byte-compile-unwind-protect)
25227 (byte-compile-track-mouse, byte-compile-condition-case):
25228 Handle a new :fun-body form, used for lexical scoping.
25229 (byte-compile-save-window-excursion)
25230 (byte-compile-with-output-to-temp-buffer): Remove.
25231 (byte-compile-defun): Simplify.
25232 (byte-compile-stack-adjustment): New fun.
25233 (byte-compile-out): Use it.
25234 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25236 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25239 * emacs-lisp/byte-opt.el: Use lexical binding.
25240 (byte-inline-lapcode): Remove (to bytecomp).
25241 (byte-compile-inline-expand): Pay attention to inlining to/from
25242 lexically bound code.
25243 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25245 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25246 any more and don't call compiler-macros.
25247 (byte-compile-splice-in-already-compiled-code): Remove.
25248 (byte-code): Don't inline any more.
25249 (disassemble-offset): Receive `bytes' as argument rather than via
25251 (byte-compile-tag-number): Declare before first use.
25252 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25253 `return' even if make-spliceable.
25254 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25255 obsolete interactive-p.
25256 (byte-optimize-lapcode): Optimize new lap-codes.
25257 Don't trip up on new form of `byte-constant' lap code.
25259 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25261 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25263 * custom.el (custom-initialize-default, custom-declare-variable):
25266 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25268 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25269 (COMPILE_FIRST): Add macroexp and cconv.
25270 * makefile.w32-in: Mirror changes in Makefile.in.
25272 * vc/cvs-status.el:
25276 * vc/smerge-mode.el:
25277 * textmodes/bibtex-style.el:
25278 * textmodes/css-mode.el:
25286 * emacs-lisp/smie.el:
25289 * abbrev.el: Use lexical binding.
25291 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25293 * info.el (info-display-manual): New function.
25295 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25297 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25299 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25301 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25302 an entry for that server in rcirc-authinfo. (Bug#8385)
25304 2011-03-31 Glenn Morris <rgm@gnu.org>
25306 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25308 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25310 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25312 * progmodes/python.el (python-default-interpreter)
25313 (python-python-command-args, python-jython-command-args)
25314 (python-which-shell, python-which-args, python-which-bufname)
25315 (python-file-queue, python-comint-output-filter-function)
25316 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25317 variables and functions.
25319 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25321 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25322 (completion-in-region-mode): New minor mode.
25323 (completion-in-region): Use it.
25324 (completion-in-region--data, completion-in-region-mode-map): New vars.
25325 (completion-in-region--postch): New function.
25326 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25328 (completion--capf-wrapper): New function.
25329 (completion-at-point): Use it to track well-behavedness of
25331 (completion-help-at-point): New command.
25333 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25335 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25336 syntax class to search for whitespace on a single line
25337 (Message-ID: <4D938140.4030905@redhat.com>).
25339 2011-03-30 Leo Liu <sdl.web@gmail.com>
25341 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25343 (edit-abbrevs-map): Bind them here.
25344 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25346 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25348 * allout.el (allout-hide-by-annotation, allout-flag-region):
25349 Reduce possibility of overlay leakage by making them volatile.
25351 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25352 hash is not shared between buffers. Mode initialization is
25353 responsible for giving it a useful starting value.
25354 (allout-item-span): Reduce possibility of overlay leakage by
25355 making them volatile.
25356 (allout-widgets-count-buttons-in-region): Add diagnostic function
25357 for tracking down button overlay leaks.
25359 2011-03-29 Leo Liu <sdl.web@gmail.com>
25361 * ido.el (ido-read-internal): Use the default history var
25362 minibuffer-history if no HISTORY is specified.
25364 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25366 * net/imap.el (imap-shell-open, imap-process-connection-type):
25367 Use imap-process-connection-type for 'shell' streams as well as
25368 Kerberos, SSL, other subprocesses.
25370 2011-03-28 Leo Liu <sdl.web@gmail.com>
25372 * abbrev.el (abbrev-table-empty-p): New function.
25373 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25374 nonempty ones. (Bug#5937)
25376 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25378 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25380 2011-03-27 Leo Liu <sdl.web@gmail.com>
25382 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25383 for foreground and background colors.
25384 (ansi-color-make-color-map): Adapt.
25386 2011-03-25 Leo Liu <sdl.web@gmail.com>
25388 * midnight.el (midnight-time-float): Remove. Note it calculates
25389 the microsecond component incorrectly and seconds-to-time does the
25391 Remove redundant (require 'timer).
25393 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25394 (ido-completions): Remove unused arguments. (Bug#8329)
25396 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25398 * minibuffer.el (completion--flush-all-sorted-completions):
25399 Remove itself from hook.
25400 (completion-at-point): Let the functions perform the completion
25401 immediately and return nil or t.
25402 * comint.el (comint-dynamic-complete-functions): Now identical to
25403 completion-at-point-functions.
25404 (comint-dynamic-list-input-ring): Remove unused var `index'.
25405 (comint--match-partial-filename, comint--unquote&expand-filename):
25406 New funs, split from comint-match-partial-filename.
25407 (comint-dynamic-complete): Use completion-at-point.
25408 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25410 2011-03-24 Drew Adams <drew.adams@oracle.com>
25412 * thingatpt.el: Support `defun'.
25414 2011-03-23 Leo Liu <sdl.web@gmail.com>
25416 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25418 * help-mode.el (help-mode-finish): Tweak regexp.
25420 2011-03-23 Glenn Morris <rgm@gnu.org>
25422 * eshell/esh-opt.el (eshell-eval-using-options):
25423 Do not bind unused local variable `eshell-option-stub'.
25425 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25427 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25429 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25430 keymap variable in `with-no-warnings' to avoid a warning when the
25431 keymap has been already `defconst'ed.
25433 2011-03-22 Leo Liu <sdl.web@gmail.com>
25435 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25436 encode all chars in abbrevs; otherwise use emacs-mule or
25437 utf-8-emacs. (Bug#8308)
25439 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25441 * simple.el (backward-delete-char-untabify):
25442 Avoid warning about using `delete-backward-char'.
25444 * image.el (image-type-file-name-regexps): Make it variable.
25445 `imagemagick-register-types' modifies it, and the user may want
25446 to add new extensions for known image types.
25447 (imagemagick-register-types): Throw error if not using ImageMagick.
25449 2011-03-22 Leo Liu <sdl.web@gmail.com>
25451 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25452 located before rcirc-prompt-end-marker.
25453 (rcirc-complete): Error if point is not after rcirc prompt.
25454 Handle the case when table is nil.
25455 (rcirc-user-authenticated): Define to fix compiler warning.
25457 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25459 * custom.el (custom--inhibit-theme-enable): Make it affect only
25460 custom-theme-set-variables and custom-theme-set-faces.
25461 (provide-theme): Ignore custom--inhibit-theme-enable.
25462 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25463 (custom-enabling-themes): Delete variable.
25464 (enable-theme): Accept only loaded themes as arguments.
25465 Ignore the special custom-enabled-themes variable.
25466 (custom-enabled-themes): Forbid themes from setting this.
25467 Eliminate use of custom-enabling-themes.
25468 (custom-push-theme): Quote "changed" custom var entry.
25470 2011-03-21 Leo Liu <sdl.web@gmail.com>
25472 * ido.el (ido-read-internal): Add ido-selected to history instead
25475 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25477 * subr.el (deferred-action-list, deferred-action-function):
25480 2011-03-21 Leo Liu <sdl.web@gmail.com>
25482 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25483 change on 2011-02-13 (bug#8309).
25485 * minibuffer.el (read-file-name-function): Change default value.
25486 (read-file-name--defaults): Rename from read-file-name-defaults.
25487 (read-file-name-default): Rename from read-file-name.
25488 (read-file-name): Call read-file-name-function.
25490 2011-03-21 Glenn Morris <rgm@gnu.org>
25492 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25495 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25497 * cus-theme.el: Add missing provide statement.
25498 (customize-create-theme): Extract theme value correctly.
25499 (custom-theme-visit-theme): Autoload.
25500 (customize-create-theme): Prompt before inserting default faces.
25502 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25504 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25505 units and musical notes.
25507 2011-03-20 Leo Liu <sdl.web@gmail.com>
25509 * ido.el (ido-read-internal): Use completing-read-default.
25510 (ido-completing-read): Fix compatibility with completing-read.
25512 2011-03-20 Christian Ohler <ohler@gnu.org>
25514 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25515 (ert-delete-all-tests): Use `called-interactively-p' rather than
25517 (ert--make-xrefs-region): Respect END.
25519 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25521 * dired-aux.el (dired-create-directory): Signal an error if the
25522 directory already exists (Bug#8246).
25524 * facemenu.el (list-colors-display): Call list-faces-display
25525 inside with-help-window.
25526 (list-colors-print): Use display property to align the final
25527 column, instead of checking window-width.
25529 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25531 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25532 windows-nt systems.
25533 (emerge-protect-metachars): Quote correctly for ms-dos and
25534 windows-nt systems.
25536 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25538 * info.el (info-initialize): Replace all uses of `:' with
25539 path-separator for compatibility with non-Unix systems.
25540 Cache quoting of path-separator. (Bug#8258)
25542 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25544 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25545 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25546 (mouse-avoidance-mode): Fix typos in docstrings.
25548 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25550 * startup.el (package-subdirectory-regexp): Move from package.el.
25551 Omit \\` and \\', and let callers add them.
25553 * emacs-lisp/package.el (package-strip-version)
25554 (package-load-all-descriptors): Add \\` and \\' to
25555 package-subdirectory-regexp before using it.
25556 (package-untar-buffer): New arg DIR; ensure that file untars only
25557 into this expected directory. Remove superfluous delete-region.
25558 (package-unpack): Caller changed.
25559 (package-tar-file-info): Use package-subdirectory-regexp.
25561 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25563 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25564 diff-mode-shared-map (bug#8284).
25565 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25567 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25569 * calendar/time-date.el (format-seconds): Use assoc instead of
25570 assoc-string, since assoc-string doesn't exist in XEmacs.
25572 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25574 * custom.el (custom-known-themes): Reflow docstring.
25575 (custom-theme-load-path): Fix typo in docstring.
25576 (load-theme): Fix typo in error message.
25577 (custom-available-themes, custom-variable-theme-value):
25578 Use `let', not `let*'.
25580 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25582 * calc/README: Mention inclusion of musical notes.
25584 * calc/calc-units.el (calc-lu-quant): Rename from
25585 `calc-logunits-quantity'.
25586 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25587 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25588 (calc-db): Rename from `calc-dblevel'.
25589 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25590 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25591 (calc-np): Rename from `calc-nplevel'.
25592 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25593 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25594 (calc-lu-plus): Rename from `calc-logunits-add'.
25595 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25596 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25597 (calc-lu-minus): Rename from `calc-logunits-sub'.
25598 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25599 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25600 (calc-lu-times): Rename from `calc-logunits-mul'.
25601 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25602 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25603 (calc-lu-divide): Rename from `calc-logunits-div'.
25604 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25605 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25607 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25608 functions being autoloaded.
25610 * calc/calc.el (calc-lu-power-reference): Rename from
25611 `calc-logunits-power-reference'.
25612 (calc-lu-field-reference): Rename from
25613 `calc-logunits-field-reference'.
25615 * calc/calc-help.el (calc-l-prefix-help):
25616 Mention musical note functions.
25618 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25620 * minibuffer.el (completion-all-sorted-completions):
25621 Use :completion-cycle-penalty text property if present.
25623 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25625 * allout.el (allout-yank-processing): Adjust for new rebulleting
25626 regime so bullet being yanked is used without prompting the user
25629 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25631 * startup.el (command-line): Warn the user that _emacs is deprecated.
25633 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25635 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25636 (delphi-verbose, delphi-comment-face, delphi-string-face)
25637 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25638 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25639 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25640 (delphi-new-comment-line, delphi-font-lock-defaults)
25641 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25642 Fix typos in docstrings.
25644 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25646 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25647 Invert the roles of character and string values for INSTEAD, so a
25648 string is used for the more common case of a defaulting prompt.
25650 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25652 * progmodes/ruby-mode.el (ruby-backward-sexp):
25653 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25654 * play/gamegrid.el (gamegrid-make-face):
25655 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25656 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25657 * notifications.el (notifications-notify):
25658 * net/xesam.el (xesam-search-engines):
25659 * net/quickurl.el (quickurl-list-insert):
25660 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25662 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25664 * startup.el (command-line): Update package subdirectory regexp.
25666 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25668 * allout.el (allout-abbreviate-flattened-numbering)
25669 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25671 * subr.el (read-char-choice): Only show the cursor after the prompt,
25672 not after the answer.
25674 2011-03-15 Kevin Ryde <user42@zip.com.au>
25676 * help-fns.el (variable-at-point): Skip leading quotes, if any
25679 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25681 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25684 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25686 * shell.el (shell): When called interactively, offer to change the
25687 shell file name on remote hosts.
25689 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25691 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25692 integration for LDAP parameters. The host, base, user or binddn,
25693 and secret tokens can be specified in a netrc file, for instance.
25694 This is optional because an `auth-source' parameter must be
25695 specified in the search attributes.
25697 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25699 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25701 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25703 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25704 into declaration. Remove redundant and harmful binding.
25706 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25708 * files.el (file-ownership-preserved-p): Pass `integer' as an
25709 explicit 2nd argument to `file-attributes'. If the file's owner
25710 is the Administrators group on Windows, and the current user is
25711 Administrator, consider that a match.
25713 * server.el (server-ensure-safe-dir): Consider server directory
25714 safe on MS-Windows if its owner is the Administrators group while
25715 the current Emacs user is Administrator. Use `=' to compare
25716 numerical UIDs, since they could be integers or floats.
25718 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25720 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25722 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25724 Sync with Tramp 2.2.1.
25726 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25728 * net/trampver.el: Update release number.
25730 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25732 * progmodes/compile.el (compilation--previous-directory): Fix up
25733 various nil/dead-marker mismatches (bug#8014).
25734 (compilation-directory-properties, compilation-error-properties):
25735 Don't call it at a position past the one we're about to change.
25737 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25738 Disable obsolescence warnings in the file that declares it.
25740 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25742 * allout-widgets.el (allout-widgets-tally):
25743 Initialize allout-widgets-tally as a hash table rather than nil to
25744 prevent mode-line redisplay warnings. Also, clarify the module
25745 description and fix a comment typo.
25747 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25749 * help-fns.el (describe-variable): Don't complete keywords.
25750 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25752 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25754 * emacs-lisp/package.el (package-version-join): Impose a standard
25755 string representation for pre/alpha/beta version lists.
25756 (package-unpack-single): Standardize the directory name by passing
25757 it through package-version-join.
25758 (package-strip-rcs-id): Accept any version string that does not
25759 signal an error in version-to-list.
25761 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25763 * simple.el (delete-trailing-whitespace): Return nil for the
25764 benefit of `write-file-functions'.
25766 2011-03-10 Glenn Morris <rgm@gnu.org>
25768 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25770 * vc/vc-git.el (vc-git-program): New option.
25771 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25772 (vc-git--call): Use it.
25774 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25776 * cus-edit.el (Custom-newline): If no button at point, look
25777 for a subgroup button at start-of-line. (Bug#2298)
25779 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25781 2011-03-10 Julien Danjou <julien@danjou.info>
25783 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25784 `cursor-type' is nil.
25786 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25788 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25790 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25792 * allout.el: Change so yank of distinctive-bullet items
25793 preserves the existing header prefix, rebulleting it if necessary,
25794 rather than replacing it. This is necessary for proper operation
25795 of cooperative addons like allout-widgets.
25796 (allout-make-topic-prefix, allout-rebullet-heading):
25797 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25798 value as alternate bullet to be used, instead of prompting the user
25799 for a bullet character.
25801 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25803 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25804 Do not use `tramp-file-name-port', because this returns also
25805 `tramp-default-port'.
25807 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25809 * net/rcirc.el (rcirc-handler-001): Remove useless
25810 with-rcirc-process-buffer.
25811 (rcirc-check-auth-status): Swap arguments to string-match.
25813 2011-03-09 Glenn Morris <rgm@gnu.org>
25815 * shell.el (shell-mode):
25816 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25818 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25819 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25821 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25823 * emacs-lisp/package.el (package-refresh-contents)
25824 (package-menu-execute): Use condition-case-no-debug.
25826 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25828 * simple.el (shell-command-to-string): Use `process-file'.
25830 * emacs-lisp/package.el (package-tar-file-info): Handle also
25833 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25834 Use `equal' for upload base check.
25836 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25838 * textmodes/texinfo.el (texinfo-environments):
25839 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25841 2011-03-08 Glenn Morris <rgm@gnu.org>
25843 * cus-start.el (cursor-in-non-selected-windows):
25844 Fix :set quoting oddness. (Bug#8192)
25846 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25847 in some setf expressions. (Bug#2159)
25849 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25851 * custom.el (custom-available-themes): Return themes in
25852 alphabetical order.
25854 See ChangeLog.15 for earlier changes.
25856 ;; Local Variables:
25860 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25862 This file is part of GNU Emacs.
25864 GNU Emacs is free software: you can redistribute it and/or modify
25865 it under the terms of the GNU General Public License as published by
25866 the Free Software Foundation, either version 3 of the License, or
25867 (at your option) any later version.
25869 GNU Emacs is distributed in the hope that it will be useful,
25870 but WITHOUT ANY WARRANTY; without even the implied warranty of
25871 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25872 GNU General Public License for more details.
25874 You should have received a copy of the GNU General Public License
25875 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.