1 2013-04-10 Tassilo Horn <tsdh@gnu.org>
3 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4 off leading { and trailing } from field values.
6 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/timer.el (timer--check): New function.
9 (timer--time, timer-set-function, timer-event-handler): Use it.
10 (timer-set-idle-time): Simplify.
11 (timer--activate): CSE.
12 (timer-event-handler): Give more info in error message.
13 (internal-timer-start-idle): New function, moved from C.
15 * mpc.el (mpc-proc): Add `restart' argument.
16 (mpc-proc-cmd): Use it.
17 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
21 2013-04-10 Masatake YAMATO <yamato@redhat.com>
23 * progmodes/sh-script.el: Implement `sh-mode' own
24 `add-log-current-defun-function' (bug#14112).
25 (sh-current-defun-name): New function.
26 (sh-mode): Use the function.
28 2013-04-09 Bastien Guerry <bzg@gnu.org>
30 * simple.el (choose-completion-string): Fix docstring (bug#14163).
32 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
34 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
36 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
39 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
41 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
44 2013-04-07 Leo Liu <sdl.web@gmail.com>
46 * pcmpl-x.el: New file.
48 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
50 Do not set x-display-name until X connection is established.
51 This is needed to prevent from weird situation described at
52 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
53 * frame.el (make-frame): Set x-display-name after call to
54 window system initialization function, not before.
55 * term/x-win.el (x-initialize-window-system): Add optional
56 display argument and use it.
57 * term/w32-win.el (w32-initialize-window-system):
58 * term/ns-win.el (ns-initialize-window-system):
59 * term/pc-win.el (msdos-initialize-window-system):
60 Add compatible optional display argument.
62 2013-04-06 Eli Zaretskii <eliz@gnu.org>
64 * files.el (normal-backup-enable-predicate): On MS-Windows and
65 MS-DOS compare truenames of temporary-file-directory and of the
66 file, so that 8+3 aliases (usually found in $TEMP on Windows)
67 don't fail comparison by compare-strings. Also, compare file
68 names case-insensitively on MS-Windows and MS-DOS.
70 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
72 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
73 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
75 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
77 * whitespace.el (whitespace-color-on, whitespace-color-off):
78 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
80 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
82 * ispell.el (ispell-set-spellchecker-params):
83 Really set `ispell-args' for all equivs.
85 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
87 * ido.el (ido-completions): Use extra elements of ido-decorations
89 (ido-decorations): Update docstring.
91 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
93 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
94 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
95 nil during initialization, in order not to miss changes since the
96 file was opened. (Bug#14140)
98 2013-04-05 Leo Liu <sdl.web@gmail.com>
100 * kmacro.el (kmacro-call-macro): Fix bug#14135.
102 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
104 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
106 2013-04-04 Glenn Morris <rgm@gnu.org>
108 * electric.el (electric-pair-inhibit-predicate): Add :version.
110 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
112 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
113 when a package is required several times (bug#14082).
115 2013-04-04 Roland Winkler <winkler@gnu.org>
117 * faces.el (read-face-name): Behave as promised by the docstring.
118 Assume that arg default is a list of faces.
119 (describe-face): Call read-face-name with list of default faces.
121 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
123 * bookmark.el: Fix deletion of bookmarks (bug#13972).
124 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
125 (bookmark-bmenu-execute-deletions): Only skip first line if it's
127 (bookmark-exit-hook-internal): Save even if list is empty.
129 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
131 * emacs-lisp/package.el (package-pinned-packages): New var.
132 (package--add-to-archive-contents): Obey it (bug#14118).
134 2013-04-03 Alan Mackenzie <acm@muc.de>
136 Handle `parse-partial-sexp' landing inside a comment opener
137 (Bug#13244). Also adapt to the new values of element 7 of a parse
140 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
141 parameter `not-in-delimiter'. Handle being inside comment opener.
142 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
143 character in case we're typing a '*' after a '/'.
144 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
145 instead by passing the parameter to c-state-pp-to-literal.
147 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
148 for elt. 7 of a parse state.
150 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
152 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
153 * international/latin1-disp.el, international/mule-util.el:
154 * language/cyril-util.el, language/european.el, language/ind-util.el:
155 * language/lao-util.el, language/thai.el, language/tibet-util.el:
156 * language/tibetan.el, language/viet-util.el:
157 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
159 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
161 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
162 (electric-pair-post-self-insert-function): Use it.
163 (electric-pair-default-inhibit): New function, extracted from
164 electric-pair-post-self-insert-function.
166 2013-03-31 Roland Winkler <winkler@gnu.org>
168 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
170 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
172 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
174 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
176 Un-indent after "pass" and "return" statements (Bug#13888)
177 * progmodes/python.el (python-indent-block-enders): New var.
178 (python-indent-calculate-indentation): Use it.
180 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
182 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
183 defun. Defining it as defalias could introduce too eager
184 byte-compiler optimization. (Bug#14030)
186 2013-03-30 Chong Yidong <cyd@gnu.org>
188 * iswitchb.el (iswitchb-read-buffer): Fix typo.
190 2013-03-30 Leo Liu <sdl.web@gmail.com>
192 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
193 (kmacro-execute-from-register): Pass the keyboard macro to
194 kmacro-call-macro or repeating won't work correctly.
196 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
198 * progmodes/subword.el: Back to using `forward-symbol'.
200 * subr.el (forward-whitespace, forward-symbol)
201 (forward-same-syntax): Move from thingatpt.el.
203 2013-03-29 Leo Liu <sdl.web@gmail.com>
205 * kmacro.el (kmacro-to-register): New command.
206 (kmacro-execute-from-register): New function.
207 (kmacro-keymap): Bind to 'x'. (Bug#14071)
209 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
211 * mpc.el: Use defvar-local and setq-local.
212 (mpc--proc-connect): Connection failures are not bugs.
213 (mpc-mode-map): `follow-link' only applies to the buffer's content.
214 (mpc-volume-map): Bind to the up-events.
216 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
218 * progmodes/subword.el (superword-mode): Use `forward-sexp'
219 instead of `forward-symbol'.
221 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
223 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
224 (edebug--recursive-edit): Use it.
225 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
226 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
228 2013-03-28 Leo Liu <sdl.web@gmail.com>
230 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
232 2013-03-27 Eli Zaretskii <eliz@gnu.org>
234 * facemenu.el (list-colors-callback): New defvar.
235 (list-colors-redisplay): New function.
236 (list-colors-display): Install list-colors-redisplay as the
237 revert-buffer-function. (Bug#14063)
239 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
241 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
242 and suffixes don't overlap (bug#14061).
244 * case-table.el: Use lexical-binding.
245 (case-table-get-table): New function.
246 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
248 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
250 * progmodes/subword.el: Add `superword-mode' to do word motion
251 over symbol_words (parallels and leverages `subword-mode' which
252 does word motion inside MixedCaseWords).
254 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
256 * eshell/em-unix.el: Move su and sudo to...
257 * eshell/em-tramp.el: ...Eshell tramp module
259 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
261 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
262 Change return value to be a sexp. Delay `get-buffer' to after
263 restoring the desktop (bug#13951).
265 2013-03-26 Leo Liu <sdl.web@gmail.com>
267 * register.el: Move semantic tag handling back to
268 cedet/semantic/senator.el. (Bug#14052)
270 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
272 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
273 into the prompt either (bug#13963).
275 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
277 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
278 part of "(error-foo)".
280 2013-03-24 Juri Linkov <juri@jurta.org>
282 * replace.el (list-matching-lines-prefix-face): New defcustom.
283 (occur-1): Pass `list-matching-lines-prefix-face' to the function
284 `occur-engine' if `face-differs-from-default-p' returns t.
285 (occur-engine): Add `,' inside backquote construct to evaluate
286 `prefix-face'. Propertize the prefix with the `prefix-face' face.
287 Pass `prefix-face' to the functions `occur-context-lines' and
288 `occur-engine-add-prefix'.
289 (occur-engine-add-prefix, occur-context-lines): Add optional arg
290 `prefix-face' and propertize the prefix with `prefix-face'.
293 2013-03-24 Leo Liu <sdl.web@gmail.com>
295 * nxml/rng-valid.el (rng-validate-while-idle)
296 (rng-validate-quick-while-idle): Guard against deleted buffer.
299 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
300 is the last entry in kill-buffer-hook.
302 * files.el (kill-buffer-hook): Doc fix.
304 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
306 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
309 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
311 2013-03-23 Leo Liu <sdl.web@gmail.com>
313 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
316 * nxml/rng-valid.el (rng-validate-mode)
317 (rng-after-change-function, rng-do-some-validation):
318 * nxml/rng-maint.el (rng-validate-buffer):
319 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
320 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
321 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
322 (nxml-extend-after-change-region): Use with-silent-modifications.
324 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
327 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
328 (rng-next-error-1, rng-previous-error-1): Do not let-bind
329 timer-idle-list. (Bug#13999)
331 2013-03-23 Juri Linkov <juri@jurta.org>
333 * info.el (info-index-match): New face.
334 (Info-index, Info-apropos-matches): Add a nested subgroup to the
335 main pattern and add text properties with the new face to matches
336 in index entries relative to the beginning of the index entry.
339 2013-03-21 Eric Ludlam <zappo@gnu.org>
341 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
342 Inhibit read only while inserting objects.
344 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
346 * progmodes/cfengine.el: Update docs to mention
347 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
348 symbol motion. Remove "_" from the word syntax.
350 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
352 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
353 syntax for both `cfengine2-mode' and `cfengine3-mode'.
355 2013-03-20 Juri Linkov <juri@jurta.org>
357 * info.el (Info-next-reference-or-link)
358 (Info-prev-reference-or-link): New functions.
359 (Info-next-reference, Info-prev-reference): Use them.
360 (Info-try-follow-nearest-node): Handle footnote navigation.
361 (Info-fontify-node): Fontify footnotes. (Bug#13989)
363 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
365 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
366 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
368 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
370 Suppress unnecessary non-ASCII chatter during build process.
371 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
372 (batch-skkdic-convert): Suppress most of the chatter.
373 It's not needed so much now that machines are faster,
374 and its non-ASCII component was confusing; see Dmitry Gutov in
375 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
377 2013-03-20 Leo Liu <sdl.web@gmail.com>
379 * ido.el (ido-chop): Fix bug#10994.
381 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
383 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
385 (whitespace-color-on, whitespace-color-off):
386 Use `font-lock-fontify-buffer' (Bug#13817).
388 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
390 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
391 remapping in mode-line.
392 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
394 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
396 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
397 value for `whitespace-line' face (Bug#13875).
398 (whitespace-font-lock-keywords): Change description.
399 (whitespace-color-on): Don't save `font-lock-keywords' value, save
400 the constructed keywords instead.
401 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
403 2013-03-19 Leo Liu <sdl.web@gmail.com>
405 * progmodes/compile.el (compilation-display-error): New command.
406 (compilation-mode-map, compilation-minor-mode-map): Bind it to
409 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
411 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
413 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
415 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
417 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
419 * net/tramp-compat.el (tramp-compat-user-error): New defun.
421 * net/tramp-adb.el (tramp-adb-handle-shell-command):
422 * net/tramp-gvfs.el (top):
423 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
424 (tramp-handle-shell-command): Use it.
425 (tramp-dissect-file-name): Raise an error when hostname is a
426 method name, and neither method nor user is specified.
428 * net/trampver.el: Update release number.
430 2013-03-18 Leo Liu <sdl.web@gmail.com>
432 Make sure eldoc can be turned off properly.
433 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
435 (eldoc-display-message-p): Revert last change.
436 (eldoc-display-message-no-interference-p)
437 (eldoc-print-current-symbol-info): Tweak.
439 2013-03-18 Tassilo Horn <tsdh@gnu.org>
441 * doc-view.el (doc-view-new-window-function): Check the new window
442 overlay's display property instead the char property of the
443 buffer's first char. Use `with-selected-window' instead of
444 `save-window-excursion' with `select-window'.
445 (doc-view-document->bitmap): Check the current doc-view overlay's
446 display property instead the char property of the buffer's first char.
448 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
450 Automate the build of ja-dic.el (Bug#13984).
451 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
452 from the input, rather than assume that it's been done for us by the
453 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
454 the current date into a ja-dic.el comment, as that complicates
457 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
459 * whitespace.el: Fix double evaluation.
460 (whitespace-space, whitespace-hspace, whitespace-tab)
461 (whitespace-newline, whitespace-trailing, whitespace-line)
462 (whitespace-space-before-tab, whitespace-indentation)
463 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
465 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
466 (whitespace-color-on): Use a single font-lock-add-keywords call.
467 Fix double-evaluation of face variables.
469 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
471 * net/tramp-adb.el (tramp-adb-parse-device-names):
472 Use `start-process' instead of `call-process'. Otherwise, the
473 function might be blocked under MS Windows. (Bug#13299)
475 2013-03-17 Leo Liu <sdl.web@gmail.com>
477 Extend eldoc to display info in the mode-line. (Bug#13978)
478 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
479 (eldoc-mode-line-string): New variable.
480 (eldoc-minibuffer-message): New function.
481 (eldoc-message-function): New variable.
482 (eldoc-message): Use it.
483 (eldoc-display-message-p)
484 (eldoc-display-message-no-interference-p):
485 Support eldoc-post-insert-mode.
487 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
488 (eval-expression): Run it.
490 2013-03-17 Roland Winkler <winkler@gnu.org>
492 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
493 strings in the list of return values.
495 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
497 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
498 radix before checking for HMS forms.
500 2013-03-16 Leo Liu <sdl.web@gmail.com>
502 * progmodes/scheme.el: Add indentation and font-locking for λ.
505 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
507 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
508 token before point (bug#13942).
510 2013-03-16 Leo Liu <sdl.web@gmail.com>
512 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
514 2013-03-16 Eli Zaretskii <eliz@gnu.org>
516 * startup.el (command-line-normalize-file-name): Fix handling of
517 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
518 <xfq.free@gmail.com> in
519 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
521 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
523 Sync with Tramp 2.2.7.
525 * net/trampver.el: Update release number.
527 2013-03-14 Tassilo Horn <tsdh@gnu.org>
529 * doc-view.el Fix bug#13887.
530 (doc-view-insert-image): Don't modify overlay associated to
531 non-live windows, and implement horizontal centering of image in
532 case it's smaller than the window.
533 (doc-view-new-window-function): Force redisplay of new windows on
536 2013-03-13 Karl Fogel <kfogel@red-bean.com>
538 * saveplace.el (save-place-alist-to-file): Don't sort
539 `save-place-alist', just pretty-print it (bug#13882).
541 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
543 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
544 whether `default-file-name-coding-system' is bound. It isn't in
547 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
549 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
550 backquotes for `obsolete' (bug#13929).
552 * international/mule.el (find-auto-coding): Include file name in
553 obsolescence warning (bug#13922).
555 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
557 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
558 for CFEngine 3-specific indentation.
559 (cfengine3-indent-line): Use it. Fix up category regex.
560 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
562 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
564 * type-break.el (type-break-file-name):
565 * textmodes/remember.el (remember-data-file):
566 * strokes.el (strokes-file):
567 * shadowfile.el (shadow-initialize):
568 * saveplace.el (save-place-file):
569 * ps-bdf.el (bdf-cache-file):
570 * progmodes/idlwave.el (idlwave-config-directory):
571 * net/quickurl.el (quickurl-url-file):
572 * international/kkc.el (kkc-init-file-name):
573 * ido.el (ido-save-directory-list-file):
574 * emulation/viper.el (viper-custom-file-name):
575 * emulation/vip.el (vip-startup-file):
576 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
577 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
579 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
581 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
582 * language/thai-word.el: Switch to UTF-8.
584 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
586 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
588 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
590 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
591 Use with-current-buffer and don't move point.
592 (net-utils-run-simple): Remove useless code.
593 (net-utils-remove-ctl-m): Remove unused custom.
595 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
597 * international/characters.el (glyphless-set-char-table-range): New fun.
598 (update-glyphless-char-display): Use it (bug#13744).
600 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
602 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
603 namespaces in the syntax, indent closer for hanging brace
604 correctly, allow single-quote delimited 'strings', and make
605 `cfengine3-mode' the default.
607 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
609 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
610 Use lexical-binding. Fix up docstring according to conventions.
611 (gdbmi-debug-mode): New var.
612 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
613 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
614 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
615 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
616 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
617 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
618 (gdbmi-bnf-incomplete-record-result): New functions.
619 (gdb-car<): Remove function.
620 (gdbmi-record-list): Remove variable.
621 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
622 (gdbmi-bnf-result-state-configs): New const.
623 (gud-gdbmi-marker-filter): Rewrite.
624 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
625 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
626 Add `token' argument.
627 (gdb-done, gdb-error): New functions.
628 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
630 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
632 * term/xterm.el (xterm--report-background-handler): Don't burp
634 (xterm--version-handler): Extract from terminal-init-xterm.
635 (xterm--query): Don't mishandle timeout. Remove debugging messages.
636 Allow multiple handlers.
637 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
639 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
640 (xterm--report-background-handler, xterm--query): New functions.
641 (terminal-init-xterm): Use them.
643 2013-03-11 Michael R. Mauger <michael@mauger.com>
645 * progmodes/sql.el Version 3.2
646 Please note that my address changed to <michael@mauger.com>;
647 the <mmaug@yahoo.com> address remains active.
648 (sql-connection-alist): Updates documentation to fix bug#13715.
649 (sql-connect): Handle missing `sql-connection-alist' correctly.
650 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
651 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
653 (sql-default-value): New function.
654 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
655 values were not used.
656 (sql-rename-buffer): Make sure alternate buffer name has no text
658 (sql-input-sender, sql-execute-feature): Fetch variable with
659 `buffer-local-value' rather than `with-current-buffer'.
660 (sql-*): Use #' function syntax consistently.
661 (sql-*): Use message/error/user-error consistently.
663 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
665 * xt-mouse.el (xterm-mouse-event-read): Remove.
666 (xterm-mouse--read-event-sequence-1000)
667 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
669 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
671 * term/xterm.el (xterm-function-map): Support format used with
672 formatOtherKeys=1 (bug#13839).
674 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
675 (with-no-warnings): Use `declare'.
677 * whitespace.el (whitespace-enable-predicate): New variable.
678 (whitespace-enable-predicate): Use it.
680 * comint.el (comint-send-input, comint-snapshot-last-prompt)
681 (comint-output-filter, comint-update-fence):
682 Use with-silent-modifications.
684 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
686 * replace.el (occur-read-regexp-defaults-function): New var.
687 (occur-read-regexp-defaults): New defun.
688 (occur-read-primary-args): Propagate above change (bug#13892).
690 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
692 * mouse.el (mouse-drag-track): Remove left-over debugging code.
694 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
696 Major rewrite due to changed D-Bus interface of GVFS 1.14.
698 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
699 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
700 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
702 (tramp-gvfs-file-name-handler-alist) [directory-files]
703 [directory-files-and-attributes, file-exists-p, file-modes]:
704 Use Tramp default handler.
705 [file-acl, file-selinux-context, process-file, set-file-acl]:
706 [set-file-modes, set-file-selinux-context, shell-command]:
707 [start-file-process]: Remove handler.
708 [verify-visited-file-modtime]: New handler.
709 (tramp-gvfs-dbus-string-to-byte-array)
710 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
711 calls of `dbus-string-to-byte-array' and
712 `tramp-gvfs-dbus-byte-array-to-string'.
713 (tramp-gvfs-handle-copy-file)
714 (tramp-gvfs-handle-delete-directory)
715 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
716 (tramp-gvfs-handle-file-directory-p)
717 (tramp-gvfs-handle-file-executable-p)
718 (tramp-gvfs-handle-file-name-all-completions)
719 (tramp-gvfs-handle-file-readable-p)
720 (tramp-gvfs-handle-file-writable-p)
721 (tramp-gvfs-handle-insert-directory)
722 (tramp-gvfs-handle-insert-file-contents)
723 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
724 (tramp-gvfs-handle-set-visited-file-modtime)
725 (tramp-gvfs-handle-write-region): Rewrite.
726 (tramp-gvfs-handle-file-acl)
727 (tramp-gvfs-handle-file-selinux-context)
728 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
729 (tramp-gvfs-handle-set-file-modes)
730 (tramp-gvfs-handle-set-file-selinux-context)
731 (tramp-gvfs-handle-shell-command)
732 (tramp-gvfs-handle-start-file-process)
733 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
734 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
735 over the symlinks. Fix user handling.
736 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
737 of the D-Bus signals.
738 (tramp-gvfs-connection-mounted-p): Handle different names of the
740 (tramp-gvfs-mount-spec-entry): New defun.
741 (tramp-gvfs-mount-spec): Use it.
742 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
743 there is a share name. Handle different names of the D-Bus
744 signals and methods. Set connection properties needed for
745 `tramp-check-cached-permissions'.
746 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
749 * net/tramp.el (tramp-backtrace): Move up.
750 (tramp-error): Dump a backtrace into the debug buffer when
752 (tramp-file-mode-type-map, tramp-file-mode-from-int)
753 (tramp-file-mode-permissions, tramp-get-local-uid)
754 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
757 * net/tramp-sh.el (tramp-file-mode-type-map)
758 (tramp-check-cached-permissions, tramp-file-mode-from-int)
759 (tramp-file-mode-permissions, tramp-get-local-uid)
760 (tramp-get-local-gid): Move to tramp.el.
762 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
764 Separate mouse-1-click-follows-link from mouse-drag-region.
765 * mouse.el (mouse--down-1-maybe-follows-link): New function.
766 (key-translation-map): Use it to implement mouse-1-click-follows-link.
767 (mouse-drag-line, mouse-drag-track):
768 Remove mouse-1-click-follows-link code.
769 (mouse--remap-link-click-p): Remove.
771 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
773 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
774 (hi-lock-read-regexp-defaults): New defun.
775 (hi-lock-line-face-buffer, hi-lock-face-buffer)
776 (hi-lock-face-phrase-buffer): Propagate above change.
777 Update docstring (bug#13892).
779 * subr.el (find-tag-default-as-regexp): New defun.
780 * replace.el (read-regexp): Propagate above change.
782 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
784 * calc/calc-units.el (calc-convert-units): Fix the way that default
785 new units are stored.
787 2013-03-07 Matthias Meulien <orontee@gmail.com>
789 * bookmark.el: Define a face to highlight bookmark names in
790 bookmark menu buffers, where the default is a bold face similarly
791 to buffer names in buffer menu buffers.
792 (bookmark-menu-bookmark): New face to highlight bookmark names.
793 (bookmark-insert-location): Remove duplicated text property to
794 conform to buffer list (see `list-buffers').
795 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
796 `bookmark-menu-bookmark' to bookmark names.
798 2013-03-07 Matthias Meulien <orontee@gmail.com>
799 Karl Fogel <kfogel@red-bean.com>
801 * bookmark.el: Display the bookmark list header similarly to the
802 buffer list header (see `list-buffers'), where the default is now
803 an immovable/immutable header line.
804 (bookmark-bmenu-use-header-line): New variable.
805 (bookmark-bmenu-inline-header-height): New name for
806 `bookmark-bmenu-header-height', to avoid confusion with the code
807 for the new immovable header. All references changed.
808 (bookmark-bmenu-set-header): New function.
809 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
810 Conditionalize header construction accordingly.
811 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
812 the inline header height.
813 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
814 Conditionalize the skipping of the inline header height.
816 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
818 * progmodes/js.el (js--multi-line-declaration-indentation):
819 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
821 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
823 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
824 Only propertize regexp when not inside a string (Bug#13885).
826 2013-03-06 Alan Mackenzie <acm@muc.de>
828 Correct the position of point in some line-up functions.
829 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
830 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
831 point at column 0 rather than at a random place in the line.
833 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
835 * net/tramp-compat.el (tramp-compat-delete-directory):
836 Implement TRASH argument.
838 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
840 Keep pre-existing highlighting in completion candidates (Bug#13250).
841 * minibuffer.el (completions-first-difference): State that the
842 face is "added" in the docstring.
843 (completions-common-part): Same. And don't inherit from default.
844 (completion-hilit-commonality): Prepend 'completions-common-part
845 and 'completion-first-difference faces to the 'face property,
846 instead of replacing the value(s).
847 (completion--insert-strings): Same with 'completions-annotations face.
848 (completion-hilit-commonality): Use 'face instead of
849 'font-lock-face, because it gets priority if the completion
850 strings already have 'face set.
852 2013-03-04 Alan Mackenzie <acm@muc.de>
854 Replace `last-command-event' by `last-command-char' in XEmacs.
855 * progmodes/cc-defs.el (c-last-command-char): New macro.
856 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
857 (c-semi&comma-no-newlines-before-nonblanks)
858 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
859 in place of `last-command-event'.
860 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
861 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
862 (c-electric-paren, c-electric-continued-statement): Use the new
863 macro in place of `last-command-event'.
865 2013-03-04 Glenn Morris <rgm@gnu.org>
867 * files.el (inhibit-local-variables-regexps):
868 Add .diff and .patch. (Bug#13862)
870 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
872 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
873 whether the "su" command is available on the device.
875 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
878 (tramp-adb-handle-process-file): Remove superfluous setting.
879 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
880 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
881 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
883 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
885 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
886 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
887 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
888 Use dict-key rather than dict-name for the error message.
890 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
892 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
893 when reverting (bug#13831).
895 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
897 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
898 Always expand affix-file before storing to protect against changed
900 (ispell-print-if-debug): Make sure message is printed at the end
903 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
905 * net/tramp.el (tramp-obsolete-methods): New defconst.
906 (tramp-warned-obsolete-methods): New defvar.
907 (tramp-find-method): Check for obsolete methods. Map them to a
908 replacement method if appropriate.
910 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
912 (top): Remove completion functions for "scp1", "scp2", "ssh1",
915 2013-02-28 Dale Sedivec <dale@codefu.org>
917 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
918 Return valid syntax-table property value when converting
919 quotes within text from string syntax to punctuation syntax (bug#13844).
921 2013-02-28 Juri Linkov <juri@jurta.org>
923 * dired-aux.el (dired-diff): If file at point is a backup file,
924 use its original as the default value, and reverse the order
925 of arguments to the `diff' call. Doc fix. (Bug#13772)
927 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
929 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
930 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
932 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
934 Initial support for hunspell dictionaries auto-detection (Bug#13639)
936 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
937 Ask hunspell about available and default dictionaries.
938 (ispell-parse-hunspell-affix-file): Extract relevant info from
940 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
941 `ispell-dictionary-alist' entry for given dictionary after info
942 provided by `ispell-parse-hunspell-affix-file'.
943 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
944 of parsed hunspell dicts and associated affix files.
945 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
946 of parsed hunspell dicts and associated parameters.
947 (ispell-set-spellchecker-params):
948 Call `ispell-find-hunspell-dictionaries' if hunspell and not
950 (ispell-start-process):
951 Call `ispell-hunspell-fill-dictionary-entry' for current
952 dictionary if it is not initialized.
954 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
956 * imenu.el: Comment nitpicks.
958 2013-02-28 Sam Steingold <sds@gnu.org>
960 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
961 See <http://stackoverflow.com/questions/14720205>.
963 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
965 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
966 (net-utils-mode): Use it.
967 (net-utils--revert-cmd): New var.
968 (net-utils-run-simple): Set it, and remove bogus interactive spec.
969 (traceroute): Use net-utils-run-simple.
971 2013-02-28 Glenn Morris <rgm@gnu.org>
973 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
975 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
977 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
978 (doc-view-fallback-mode): Remove overlays here.
979 (doc-view-toggle-display): Instead of here. Don't throw away
980 image-mode-winprops-alist.
981 (doc-view-goto-page): Don't mess with hscroll.
983 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
985 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
986 &optional (bug#13819).
988 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp-adb.el (tramp-adb-parse-device-names)
991 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
993 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
995 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
996 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
997 defined. POSIX environments fall back to the "C" locale then and
998 emit a warning, which shall be suppressed.
1000 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1003 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1005 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1009 2013-02-25 Juri Linkov <juri@jurta.org>
1011 * replace.el (read-regexp): Let-bind `default' to the first
1012 element of `defaults' if it's a list, otherwise it should be
1013 a string or nil. Let-bind `suggestions' to `defaults' if it's
1014 a list, otherwise make a list with the string value. Doc fix.
1017 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1019 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1020 that match "\`\.#", to avoid compiling lock files, even if they
1021 are readable (as they are on MS-Windows).
1023 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * files.el (basic-save-buffer): Remove redundant directory-creation.
1027 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1029 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1030 Add option to force `pi' to remain symbolic.
1031 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1032 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1033 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1034 derivatives, when necessary.
1036 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1038 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1039 (ps-mode-octal-region): Use string-make-unibyte.
1041 2013-02-23 Glenn Morris <rgm@gnu.org>
1043 * emulation/viper-cmd.el (viper-submit-report):
1044 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1045 * progmodes/vera-mode.el (vera-mode-help-address):
1046 * textmodes/artist.el (artist-maintainer-address):
1047 * textmodes/reftex.el (reftex-report-bug):
1048 * vc/ediff-util.el (ediff-submit-report):
1049 Add bug-gnu-emacs to bug report address.
1051 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1052 Remove bug report entries.
1053 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1055 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1056 (byte-compile-file, byte-compile-from-buffer):
1057 Use separate input/output buffers for each level of recursive
1058 byte-compile-file calls. (Bug#13787)
1060 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1062 * net/tramp.el (tramp-methods): Fix docstring.
1063 (tramp-ssh-controlmaster-options): Rename it from
1064 `tramp-ssh-controlmaster-template'. Return a string.
1065 (tramp-default-method): Adapt check for
1066 `tramp-ssh-controlmaster-options'.
1068 * net/tramp-sh.el (tramp-methods):
1069 Replace `tramp-ssh-controlmaster-template' by "%c".
1070 (tramp-do-copy-or-rename-file-out-of-band)
1071 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1072 that it is applied for the first hop only.
1074 2013-02-22 Juri Linkov <juri@jurta.org>
1076 * isearch.el (isearch-lazy-highlight-new-loop):
1077 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1078 to `isearch-other-end' if it is not nil. (Bug#13402)
1080 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1083 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1084 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1085 and `isearch-error' to nil.
1087 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1089 * progmodes/python.el (python-info-current-defun):
1090 Enhance match-data cluttering prevention.
1092 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1094 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1096 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1097 Handle multibyte file names.
1099 2013-02-22 Glenn Morris <rgm@gnu.org>
1101 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1102 (sgml-transformation-function): Give it a :set function.
1103 (sgml-tag): Doc fix.
1105 * cmuscheme.el (scheme-buffer):
1106 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1107 * progmodes/tcl.el (inferior-tcl-buffer):
1108 * textmodes/tex-mode.el (tex-command): Doc fixes.
1110 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1112 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1114 2013-02-21 Bastien Guerry <bzg@gnu.org>
1116 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1118 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1120 * progmodes/python.el (python-info-current-defun):
1121 Enhance match-data cluttering prevention.
1123 2013-02-21 Glenn Morris <rgm@gnu.org>
1125 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1126 loaded while outline-regexp is let bound. (Bug#9584)
1128 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1130 * progmodes/python.el (python-info-current-defun): Fix failed
1131 defun name retrieval because of unwanted match-data cluttering.
1133 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1135 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1136 defconst. Apply independent check for ControlPersist.
1138 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1139 temporarily, via "env".
1141 2013-02-21 Glenn Morris <rgm@gnu.org>
1143 * info.el (Info-enable-edit): Remove.
1144 (Info-edit): Disable it rather than using Info-enable.
1145 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1146 (Info-cease-edit): Make editing of Info files obsolete.
1148 * informat.el (Info-tagify):
1149 Handle buffers not visiting files. (Bug#13763)
1151 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1153 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1155 2013-02-21 Glenn Morris <rgm@gnu.org>
1157 * files.el (basic-save-buffer): Move check for existing parent
1158 directory after hooks. (Bug#13773)
1160 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1162 * simple.el (command-execute): Move from C. Add obsolete check.
1163 (extended-command-history): Move from C.
1165 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1167 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1168 (jka-compr-mode-alist-additions): Handle .txz suffix for
1169 XZ-compressed tar archives (bug#13770).
1171 2013-02-20 Bastien Guerry <bzg@gnu.org>
1173 * outline.el (outline-regexp, outline-heading-end-regexp):
1174 Make variables, not options (bug#13731).
1176 2013-02-20 Glenn Morris <rgm@gnu.org>
1178 * image.el (image-current-frame): Change from variable to function.
1179 (image-show-frame): Rename from image-nth-frame. Update callers.
1180 * image-mode.el (image-multi-frame): New variable.
1181 (image-mode-map, image-mode, image-goto-frame):
1182 Use image-multi-frame rather than image-current-frame.
1183 (image-mode, image-goto-frame): Use image-current-frame as
1184 function rather than as variable.
1186 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1187 * emacs-lisp/cl-macs.el (cl--make-type-test)
1188 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1190 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1192 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1193 (tramp-get-file-property, tramp-set-file-property)
1194 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1195 (tramp-flush-file-property, tramp-flush-directory-property):
1196 Rename argument to KEY.
1197 (tramp-flush-connection-property): Simplify a little bit.
1198 (tramp-connection-property-p): New defun.
1199 (top): Reapply saved values only if there isn't a corresponding
1200 entry in `tramp-connection-properties'.
1202 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1204 * progmodes/python.el (python-indent-context):
1205 Fix python-info-line-ends-backslash-p call.
1206 (python-info-line-ends-backslash-p)
1207 (python-info-beginning-of-backslash): Respect line-number argument.
1208 (python-info-current-line-comment-p):
1209 Fix behavior when not at beginning-of-line.
1210 (python-util-position): Remove function.
1211 (python-util-goto-line): New function.
1213 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1215 * eshell/em-unix.el (eshell/su): Require tramp.
1216 (eshell/sudo): Require tramp. Remove now unnecessary check.
1218 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1219 `tramp-current-connection' in order to avoid an error when several
1220 commands are invoked in a short time in eshell and friends.
1222 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1224 Cleanup some of EIEIO's namespace.
1225 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1226 Use it to define all the class-* and object-* field accessors (renamed
1227 to eieio--class-* and eieio--object-*). Update all uses.
1228 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1229 class-num-slots and object-num-slots.
1230 (eieio--check-type): New macro.
1231 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1232 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1233 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1234 (object-assoc-list-safe): Use it.
1235 (eieio-defclass): Tighten regexp.
1236 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1237 Remove unreachable code.
1238 (object-class-fast): Declare obsolete.
1239 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1240 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1241 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1242 Rename from class-name, object-name, object-set-name-string,
1243 object-class, object-class-name, class-parents, class-children,
1244 class-precedence-list, class-parent; with obsolete alias.
1245 (class-of, class-direct-superclasses, class-direct-subclasses):
1247 (eieio-defmethod): Use `memq'; remove unreachable code.
1248 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1249 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1250 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1253 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1255 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1258 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1260 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1261 Use font-lock-keyword-face for macros and special forms (bug#8345).
1263 2013-02-17 Didier Verna <didier@didierverna.net>
1265 * net/network-stream.el (network-stream-open-starttls):
1266 Check that response to the starttls-command is non-nil. (Bug#13706)
1268 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1271 Don't assume all identifier chars have syntax word.
1272 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1273 Remove bar-not-symbol. Adjust callers.
1274 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1276 2013-02-17 Leo Liu <sdl.web@gmail.com>
1278 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1280 2013-02-17 Glenn Morris <rgm@gnu.org>
1282 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1284 * image-mode.el (image-mode-map): Add image-dired menu entry.
1286 * image-dired.el (tumme): Make this alias obsolete.
1288 2013-02-16 Glenn Morris <rgm@gnu.org>
1290 * image.el (image-animated-types): Remove.
1291 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1292 (image-animated-p): Make obsolete alias.
1293 (image-animate, image-nth-frame, image-animate-timeout):
1294 Use image-multi-frame-p.
1295 (image-animate-timeout): If no delay, use image-default-frame-delay.
1296 * image-mode.el (image-mode, image-toggle-animation):
1297 Use image-multi-frame-p. (Bug#763, bug#10739)
1298 (image-mode): Adjust startup message for a multi-frame image.
1300 * image-mode.el (image-mode-map): Give it a menu.
1302 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1304 * net/tramp-cache.el (tramp-connection-properties): New customer
1306 (tramp-get-connection-property): Use it.
1308 * net/tramp-compat.el (top): Require 'trampver.
1310 * net/tramp-sh.el (tramp-remote-process-environment):
1311 Set tramp-autoload cookie.
1313 2013-02-16 Kevin Ryde <user42@zip.com.au>
1315 * info-look.el (info-lookup-select-mode): If major-mode has no
1316 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1318 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1320 * replace.el (read-regexp): Tighten the regexp that matches tag.
1321 When tag is retrieved with `find-tag-default', use regexp that
1322 matches tag at point. Also update docstring (Bug#13687).
1324 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1326 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1327 add watch for the file, not its parent directory, since w32notify
1328 sets up the watch for the directory internally. (Bug#13725)
1330 2013-02-16 Glenn Morris <rgm@gnu.org>
1332 * image.el (image-default-frame-delay): New variable.
1333 (image-animated-p): Use image-default-frame-delay.
1334 (image-minimum-frame-delay): New constant.
1335 (image-animate-timeout): Use image-minimum-frame-delay.
1337 * image.el (image-nth-frame): New, split from image-animate-timeout.
1338 (image-animate-timeout): Use image-nth-frame.
1339 * image-mode.el (image-goto-frame, image-next-frame)
1340 (image-previous-frame): New commands.
1341 (image-mode-map): Add new frame commands.
1343 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1345 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1346 If col-desc already has help-echo, use it. (Bug#13563)
1348 2013-02-16 Glenn Morris <rgm@gnu.org>
1350 * image.el (image-current-frame): New variable.
1351 (image-animate-timeout): Set image-current-frame.
1352 * image-mode.el (image-mode): For animated images,
1353 display a frame counter via mode-line-process.
1355 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1357 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1359 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1361 2013-02-15 Alan Mackenzie <acm@muc.de>
1363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1364 global minor mode has been enabled, call the minor mode function
1365 for a new buffer once only, after the major mode hook, whilst
1366 allowing that hook explicitly to disable the minor mode.
1367 (MODE-disable-in-buffer): New (generated) function.
1368 (disable-MODE): New (generated) buffer local variable.
1370 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1372 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1373 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1374 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1375 `ido-next-match' and `ido-prev-match' resply.
1376 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1377 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1378 `icomplete-backward-completions' (Bug#13708).
1380 2013-02-15 Glenn Morris <rgm@gnu.org>
1382 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1384 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1387 (goto-address-fontify-region): Use them instead of narrowing, so
1388 syntax-ppss has access to the whole buffer.
1390 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1392 * progmodes/python.el: Explain how to restore "cc-mode"-like
1393 forward-sexp movement in header documentation (Bug#13642).
1394 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1395 comments and strings (GH bug 114).
1397 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1399 * progmodes/python.el (python-info-current-defun): Fix current
1400 defun detection (Bug#13618).
1402 2013-02-15 Chong Yidong <cyd@gnu.org>
1404 * xml.el (xml-parse-string): Fix typo in handling of bad character
1407 2013-02-15 Glenn Morris <rgm@gnu.org>
1409 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1411 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1413 * net/tramp.el (tramp-debug-message):
1414 Add `tramp-condition-case-unless-debug'.
1415 (tramp-debug-on-error): New defvar.
1416 (tramp-condition-case-unless-debug): New defun.
1417 (tramp-file-name-handler): Use it.
1419 2013-02-14 Juri Linkov <juri@jurta.org>
1421 * info.el (Info-isearch-filter): Treat non-nil values of
1422 `search-invisible' including its default value `open'
1423 like the value `t' to match hidden text. (Bug#13402)
1425 2013-02-14 Glenn Morris <rgm@gnu.org>
1427 * help-fns.el (find-lisp-object-file-name): Give special treatment
1428 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1430 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1432 * net/quickurl.el (quickurl-save-urls):
1433 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1435 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1437 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1438 depth for unfinished percent literal. Not using it in the caller.
1439 (ruby-move-to-block): Jump over multiline literals of all types,
1440 ignoring code-looking contents inside them.
1441 (ruby-add-log-current-method): Improve performance at the expense
1442 of accuracy. `ruby-block-contains-point' is relatively slow, so
1443 only use it for method and singleton class blocks.
1445 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1447 Use ControlMaster where applicable. (Bug#13677)
1449 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1450 replacing `tramp-detect-ssh-controlmaster'.
1451 (tramp-default-method): Use it.
1453 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1454 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1456 [scpc, rsyncc]: Remove methods.
1457 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1459 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1460 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1462 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * emacs-lisp/package.el (package--initialized): Move before first use.
1466 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1468 * icomplete.el (icomplete-hide-common-prefix): New user option.
1469 (icomplete-first-match): New face.
1470 (icomplete-completions): Correct handling of "complete but not
1471 unique" (Bug#12638).
1473 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1475 * descr-text.el (describe-char): Display the script (bug#13698).
1477 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * tmm.el: Use lexical-binding and current-active-maps.
1480 (tmm-menubar): Use map-keymap and pcase.
1481 (tmm--completion-table): New function.
1482 (tmm-prompt): Use it to fix the menu order.
1483 (tmm-get-keybind): Use current-active-maps.
1485 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1487 Add dired-hide-details-mode. (Bug#6799)
1489 * locate.el (locate-mode): Set parent mode property to dired-mode.
1491 * find-dired.el (find-dired): Call dired-insert-set-properties on
1492 initial information line. Set process mark on end of buffer.
1493 (find-dired-sentinel):
1494 Call dired-insert-set-properties on summary.
1496 * dired.el (dired-hide-details-hide-symlink-targets)
1497 (dired-hide-details-hide-information-lines): New options.
1498 (dired-insert-directory):
1499 Set properties after final treatment of output.
1500 (dired-insert-set-properties):
1501 Set dired-hide-details-* properties.
1502 (dired-mode-map): Bind dired-hide-details-mode.
1503 (dired-mode): Set buffer-invisibility-spec to a list.
1504 (dired-next-line): Skip hidden lines.
1505 (dired-previous-line): Use dired-next-line.
1506 (dired-hide-details-mode): New minor mode.
1507 (dired-hide-details-update-invisibility-spec): New function.
1509 2013-02-13 Glenn Morris <rgm@gnu.org>
1511 * play/yow.el: Move to obsolete/. (Bug#9384)
1513 2013-02-13 Juri Linkov <juri@jurta.org>
1515 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1516 to select `ediff-control-frame' and set input focus correctly on Xfce.
1519 2013-02-13 Juri Linkov <juri@jurta.org>
1521 * image-mode.el (image-mode-map):
1522 * doc-view.el (doc-view-mode-map):
1523 * vc/ediff-util.el (ediff-setup-keymap):
1524 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1526 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1528 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1529 performance. Instead of recalculating indentation fully for each
1530 line, sum up indentation depth based only on visited lines.
1531 (ruby-parse-partial): Increase the depth after "do" even when END
1533 (ruby-parse-partial): When END is in the middle of a percent
1534 literal, increase the depth if the delimiter chars belong to the
1537 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1539 * play/fortune.el (fortune-compile): Also make the compiled file
1540 if it does not exist at all, not just if it is old. (Bug#5338)
1542 2013-02-13 Glenn Morris <rgm@gnu.org>
1544 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1546 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1548 * lisp/emacs-lisp/package.el (package-menu-execute):
1549 Add optional noquery argument. (Bug#13625)
1551 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1553 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1554 if DIR exists and PARENTS is non-nil.
1556 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1558 * progmodes/js.el (js--multi-line-declaration-indentation):
1559 Silence byte-compiler warning.
1561 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1563 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1565 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1566 only if it doesn't exist.
1568 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1571 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1573 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1574 UserInstallation when calling soffice to work around LibreOffice
1577 2013-02-12 Glenn Morris <rgm@gnu.org>
1579 * files.el (basic-save-buffer):
1580 Offer to create a non-existing directory. (Bug#3016)
1582 * calc/calc-graph.el (calc-graph-show-dumb):
1583 * calendar/calendar.el (calendar-mode-map):
1584 * cus-edit.el (custom-mode-map):
1585 * ehelp.el (electric-help-map):
1586 * emulation/vip.el (vip-mode-map):
1587 * epa.el (epa-key-list-mode-map):
1588 * info.el (Info-mode-map):
1589 * mail/rmail.el (rmail-mode-map):
1590 * mail/rmailsum.el (rmail-summary-mode-map):
1591 * man.el (Man-mode-map):
1592 * net/newst-plainview.el (newsticker-mode-map):
1593 * progmodes/cpp.el (cpp-edit-mode-map):
1594 * progmodes/grep.el (grep-mode-map):
1595 * progmodes/idlw-help.el (idlwave-help-mode-map):
1596 * simple.el (special-mode-map):
1597 * startup.el (splash-screen-keymap):
1598 * view.el (view-mode-map):
1599 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1601 2013-02-11 Elias Pipping <pipping@lavabit.com>
1603 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1606 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1610 2013-02-11 Glenn Morris <rgm@gnu.org>
1612 * vc/diff.el (diff-use-labels): New variable.
1613 (diff-no-select): Use --label rather than -L, and first
1614 check that it is supported. (Bug#11067)
1616 * files.el (enable-dir-local-variables): New variable.
1617 (hack-dir-local-variables): Respect enable-dir-local-variables.
1618 * tutorial.el (help-with-tutorial):
1619 Ignore directory-local variables. (Bug#11127)
1621 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1622 (vc-svn-global-switches): ... to here. (Bug#13513)
1624 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1626 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1627 Handle "foo (bar, default: xxx): " prompts.
1629 2013-02-10 Chong Yidong <cyd@gnu.org>
1631 * files.el (basic-save-buffer-1): Do not set
1632 buffer-file-coding-system-explicit (Bug#4533).
1634 * mail/emacsbug.el (report-emacs-bug): Change binding of
1635 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1637 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1639 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1640 * calc/calc-units.el (calc-convert-units): Use new variable.
1642 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1644 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1646 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1649 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1650 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1651 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1652 coding-system-for-write instead.
1654 * jka-compr.el (jka-compr-write-region): Don't bind
1657 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1660 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1661 (insert-file-contents-literally): Remove reference to
1662 file-name-buffer-file-type-alist.
1664 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1666 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1667 (find-buffer-file-type-coding-system): Remove references to
1668 find-buffer-file-type-match, find-buffer-file-type, and
1670 Don't put find-buffer-file-type-coding-system into
1671 file-coding-system-alist.
1672 (find-file-binary, find-file-text): Bind coding-system-for-read
1673 instead of file-name-buffer-file-type-alist.
1675 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1677 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1678 converter (Bug#13622).
1679 (doc-view-unoconv-program): Make obsolete alias.
1680 (doc-view-odf->pdf-converter-program): New variable.
1681 (doc-view-odf->pdf-converter-function): New variable.
1682 (doc-view-mode-p): Use it.
1683 (doc-view-odf->pdf-converter-unoconv):
1684 Rename from `doc-view-odf->pdf-converter-unoconv'.
1685 (doc-view-odf->pdf-converter-soffice): New function.
1686 (doc-view-convert-current-doc):
1687 Use `doc-view-odf->pdf-converter-function'.
1689 2013-02-09 Chong Yidong <cyd@gnu.org>
1691 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1692 view-echo-area-messages (Bug#13340).
1694 * help.el (view-echo-area-messages): Use display-buffer.
1696 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1699 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1702 Eval body right away, now that we do eager macroexpansion (bug#13605).
1704 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1705 (fundamental-mode): Use run-mode-hooks.
1707 * eshell/esh-proc.el (eshell/kill): Fix last change.
1708 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1710 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1712 * eshell/esh-proc.el (eshell/kill): Rewrite.
1714 * eshell/em-ls.el (show-almost-all): Declare.
1715 (eshell-do-ls): Add support for -A argument.
1717 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1719 * icomplete.el (icomplete-forward-completions)
1720 (icomplete-backward-completions): Handle corner case (bug#13602).
1722 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1724 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1725 be nil. Handle this. (Bug#13636)
1727 2013-02-07 Richard Stallman <rms@gnu.org>
1729 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1730 `save-buffer-coding-system'.
1732 2013-02-07 Alan Mackenzie <acm@muc.de>
1734 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1735 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1736 (c-parse-state-get-strategy): Don't return 'BOD any more.
1737 (c-append-lower-brace-pair-to-state-cache):
1738 Extra parameter HERE instead of narrowing.
1739 Widen to top of buffer before searching backwards for a brace pair.
1740 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1741 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1742 Narrow to parameter HERE, in place of being called narrowed.
1743 (c-remove-stale-state-cache): Extra parameter HERE in place of
1744 narrowing. Check there's an open brace in the cache before
1745 searching for its match.
1746 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1747 (c-parse-state-1): Don't narrow here for 'forward strategy,
1748 instead passing extra parameter HERE to several functions.
1749 Remove 'BOD strategy.
1751 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1753 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1754 used to install the package.
1756 2013-02-06 Glenn Morris <rgm@gnu.org>
1758 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1759 if we can't get user input. (Bug#6567)
1761 * startup.el (command-line): If simple.el is missing,
1762 test and warn about for some possible causes.
1764 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1766 * cus-start.el (all): Add ns-use-native-fullscreen.
1768 2013-02-05 Glenn Morris <rgm@gnu.org>
1770 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1772 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1773 Fix directory creation in fallback case.
1775 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1777 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1778 (vc-update-change-log): Use dolist.
1780 2013-02-04 Chong Yidong <cyd@gnu.org>
1782 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1784 (thing-at-point-beginning-of-url-regexp): New var.
1785 (thing-at-point-uri-schemes): Update list of URI schemes.
1786 (thing-at-point-url-regexp): Variable deleted.
1787 (thing-at-point-markedup-url-regexp): Disallow newlines.
1788 (thing-at-point-newsgroup-regexp)
1789 (thing-at-point-newsgroup-heads)
1790 (thing-at-point-default-mail-uri-scheme): New variables.
1791 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1792 method to find the possible bounds of the URI at point.
1793 New optional argument to find ill-formed URIs.
1794 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1795 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1796 the scheme-adding heuristics from ffap-url-at-point.
1797 (thing-at-point--bounds-of-well-formed-url): New function.
1798 Do parens matching to decide whether to include parens in the URI
1801 * ffap.el: Require thingatpt.
1802 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1803 All URI-valid characters are now recognized (Bug#5673).
1804 (ffap-string-at-point): Use use-region-p.
1805 (ffap-url-regexp): Extra character is handled by thing-at-point.
1806 (ffap-string-at-point-mode-alist): Allow parentheses.
1807 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1808 Convert to aliases; code moved to thingatpt.el.
1809 (ffap-gnus-hook): Use setq-local.
1811 2013-02-04 Glenn Morris <rgm@gnu.org>
1813 * emacs-lisp/ert.el (ert--explain-format-atom):
1814 Don't try to print non-characters as characters. (Bug#13543)
1816 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1818 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1819 (tramp-backtrace): New defun.
1820 (tramp-handle-insert-file-contents): Use `visit' when inserting
1823 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1824 Use `remote-file-name-inhibit-cache'.
1826 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1831 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1832 current-load-list (bug#13366).
1834 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1837 Identify g++ template instantiation trace. (Bug#12287)
1838 (compilation-mode-hook, compilation-start-hook)
1839 (compilation-window-height): Simplify docstrings. (Bug#13379)
1841 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * mouse.el (mouse-drag-track): Always deactivate the mark before
1844 running the final event's command since that command is in charge of
1845 activating the mark if needed (bug#13523).
1847 2013-02-02 Juri Linkov <juri@jurta.org>
1849 * replace.el (perform-replace): Move let-bindings of isearch-*
1850 variables deeper to the loop that searches for the next match.
1851 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1852 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1855 * isearch.el (isearch-search-fun-default): Check for null
1856 first element of isearch-cmds as a precaution when it's used
1857 with inactive isearch.
1859 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1861 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1862 error when buffer in question is narrowed so position 1 is out of
1865 2013-02-02 Glenn Morris <rgm@gnu.org>
1867 * textmodes/remember.el (remember-clipboard): Doc fix.
1869 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1872 properties (bug#13179).
1874 2013-02-02 Juri Linkov <juri@jurta.org>
1876 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1877 instead of hard-coded default face `match'. (Bug#9438)
1879 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1881 * vc/vc-arch.el (vc-arch-registered):
1882 * vc/vc-bzr.el (vc-bzr-registered):
1883 * vc/vc-cvs.el (vc-cvs-registered):
1884 * vc/vc-git.el (vc-git-registered):
1885 * vc/vc-hg.el (vc-hg-registered):
1886 * vc/vc-mtn.el (vc-mtn-registered):
1887 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1890 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1891 prefix argument. (Bug#11656)
1893 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1897 2013-02-01 Glenn Morris <rgm@gnu.org>
1899 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1900 if the backend is known not to support it.
1902 * imenu.el (imenu-default-create-index-function):
1903 Tweak infinite loop test to check for forward motion as well as none.
1905 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1907 * net/soap-client.el (soap-invoke): Encode the string for
1908 `url-request-data' as UTF-8.
1909 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1911 2013-02-01 Glenn Morris <rgm@gnu.org>
1913 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1915 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1917 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1919 * net/tramp.el (tramp-tramp-file-p): Comment check for
1920 `string-as-unibyte'. The function does not exist on XEmacs, and
1921 likely we need another approach.
1923 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1924 `tramp-gw-*' variables are bound.
1926 2013-01-31 Glenn Morris <rgm@gnu.org>
1928 * files.el (basic-save-buffer-2): Choose coding system for
1929 writing the file before backing it up, to reduce delay between
1930 backing up and writing the new version. (Bug#13522)
1932 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1934 * simple.el (cycle-spacing): New command.
1935 (just-one-space): Use it.
1937 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1940 (opascal-newline-always-indents): Remove custom.
1941 (opascal-tab, opascal-newline): Remove commands.
1942 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1943 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1944 (opascal-save-match-data): Remove, use save-match-data instead.
1945 (opascal-save-state): Use with-silent-modifications.
1947 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1950 2013-01-30 Juri Linkov <juri@jurta.org>
1952 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1953 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1954 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1956 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1959 column if we're just deleting the backslashes.
1960 (makefile-fill-paragraph): Use eolp.
1962 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1964 * autorevert.el (auto-revert-use-notify): Fix docstring.
1966 2013-01-30 Leo Liu <sdl.web@gmail.com>
1968 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1970 2013-01-30 Glenn Morris <rgm@gnu.org>
1972 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1973 unread-command-events twice in some cases. This tries to implement
1974 the 2012-07-26 changes in a different way. (Bug#13560)
1976 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1978 * progmodes/python.el
1979 (python-pdbtrack-comint-output-filter-function): Enhancements on
1980 stacktrace detection. (thanks @gnovak)
1982 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1985 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1987 (jit-lock-register): Use setq-local.
1989 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1991 * calc-units.el (math-default-units-table): Remove initial value.
1992 (calc-convert-units): Treat expressions where all the units cancel as
1993 if they didn't have units.
1995 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1997 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1998 (tramp-completion-reread-directory-timeout): Fix type.
1999 (tramp-connection-min-time-diff): New defcustom.
2001 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2003 2013-01-30 Glenn Morris <rgm@gnu.org>
2005 * imenu.el (imenu-default-create-index-function):
2006 Put back a version of the infinite loop test removed 2013-01-23.
2008 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2010 * progmodes/python.el (python-shell-parse-command):
2011 Find python-shell-interpreter with modified environment.
2013 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2017 2013-01-29 Alan Mackenzie <acm@muc.de>
2019 Amend to fontify /regexp/s in actions correctly.
2020 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2021 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2022 are no longer included.
2023 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2024 What used to be these variables without "-line" in the name.
2025 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2026 (c-awk-non-arith-op-bra-re): Now also matches {.
2027 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2028 "return", and "case".
2029 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2031 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2032 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2034 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2036 * autorevert.el (auto-revert-use-notify):
2037 Use `custom-initialize-default' for initialization. (Bug#13583)
2039 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2041 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2042 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2043 in `tramp-file-name-handler'.
2044 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2046 (tramp-compute-multi-hops): Check, whether
2047 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2049 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2054 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2057 checks made superfluous by the \_< operator.
2058 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2059 temporarily) broken indentation.
2060 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2061 Highlight nested constants, too. \_< broke that.
2063 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2068 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2070 * autorevert.el (auto-revert-handler): Notifications which result
2071 from a saved file shall not be taken into account. (Bug#13557)
2073 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2075 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2076 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2077 (lisp-mode): Pass t for it. (Bug#13556)
2079 2013-01-25 Alan Mackenzie <acm@muc.de>
2081 AWK Mode: Fix indentation bug at top level. Bug #12274.
2083 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2084 just before CASE 5D.
2086 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2088 * net/socks.el (socks-nslookup-host): Use string-to-number.
2090 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2092 * autorevert.el (auto-revert-remote-files)
2093 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2094 (auto-revert-notify-enabled, auto-revert-use-notify)
2095 (auto-revert-notify-watch-descriptor-hash-list)
2096 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2097 (auto-revert-notify-event-descriptor)
2098 (auto-revert-notify-event-action)
2099 (auto-revert-notify-event-file-name): Doc fix.
2100 (global-auto-revert-mode): Reorder checks.
2101 (auto-revert-notify-rm-watch): Respect changed values of
2102 `auto-revert-notify-watch-descriptor-hash-list'.
2103 (auto-revert-notify-add-watch): Check for
2104 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2105 `inotify-add-watch'. Watch `default-directory' instead of
2106 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2107 has a changed meaning now. (Bug#13540)
2108 (auto-revert-notify-handler): Change implementation wrt events
2109 returning from a directory.
2110 (auto-revert-handler): Reorder implementation for checks of remote
2112 (auto-revert-buffers): Fix parentheses error.
2114 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2116 * progmodes/python.el: Enhancements to header documentation about
2117 skeletons. (Bug#5716)
2119 * imenu.el (imenu-default-create-index-function): Remove useless
2120 infinite loop check. (Bug#13438)
2122 2013-01-25 Alan Mackenzie <acm@muc.de>
2124 Fix a bug in the state cache mechanism. Refactor this a bit.
2126 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2127 `cache-pos' element from the return value.
2128 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2129 buffer to enable proper searching from beyond HERE. Amend the
2130 test for detecting the sought brace pair. Amend the value written
2131 to the "brace desert cache" when the brace isn't found.
2132 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2133 and several other variables analogously.
2134 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2135 parameter to a locally calculated variable.
2136 (c-parse-state-1): Change the calling conventions to the two
2137 defuns involving `cache-pos'.
2139 2013-01-25 Chong Yidong <cyd@gnu.org>
2141 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2143 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2145 * paren.el (show-paren-function): Make sure to set 'priority and
2146 'face only if the overlay does exist.
2148 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2150 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2152 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2154 (tramp-sh-handle-set-file-acl): Improve error checking.
2156 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2158 * doc-view.el (doc-view-display): Force mode line update until all
2159 document is converted. Suggested by Stefan Monnier (Bug#13164).
2161 2013-01-23 Bastien Guerry <bzg@gnu.org>
2163 * paren.el (show-paren-function): Make sure an overlay exists
2164 before trying to delete it. Also use `pos' as a position only
2165 when it is an integer.
2167 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2169 * play/gametree.el (gametree-break-line-here): Use point-marker.
2171 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2173 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2174 Mark descriptive parts with `display' property.
2176 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2178 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2179 New variable to map standard dict names to hunspell ones.
2180 (ispell-set-spellchecker-params): Make sure specific dict names
2181 are used for standard dicts with hunspell.
2183 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2185 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2186 chars for note (%N) and url (%U).
2187 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2189 2013-01-21 Juri Linkov <juri@jurta.org>
2191 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2192 in addition to existing separate binding `meta f10' in `global-map'.
2195 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2197 Improve XEmacs compatibility.
2199 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2201 * net/tramp-adb.el (top): Require `time-date'.
2202 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2203 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2204 Use `tramp-file-name-handler'.
2205 (tramp-adb-maybe-open-connection):
2206 Use `tramp-compat-set-process-query-on-exit-flag'.
2208 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2209 Use `tramp-compat-funcall'.
2211 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2212 `tramp-compat-funcall'.
2214 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2216 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2217 reimplementation using "adb shell command ..." instead of running
2218 remote shell interactively.
2220 2013-01-20 Glenn Morris <rgm@gnu.org>
2222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2223 Add native profiler menu entries.
2225 * profiler.el (profiler-running-p): New function.
2226 (profiler-cpu-profile): Use profiler-running-p.
2227 (profiler-report-mode-map): Add some more menu entries.
2229 2013-01-19 Glenn Morris <rgm@gnu.org>
2231 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2232 fixes 2012-12-07 change. (Bug#13499)
2234 2013-01-19 Leo Liu <sdl.web@gmail.com>
2236 * dired.el (dired-get-marked-files): Prune erroneous values due to
2237 last change. (Bug#13152)
2239 2013-01-19 Glenn Morris <rgm@gnu.org>
2241 * progmodes/etags.el (tags-table-check-computed-list):
2242 Preserve point in tags buffer. (Bug#13412)
2244 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2246 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2247 Chong Yidong <cyd@gnu.org>
2249 * image-mode.el (image-next-file, image-previous-file):
2250 New commands (Bug#8453).
2251 (image-mode-map): Bind them to n and p.
2252 (image-mode--images-in-directory): New helper function.
2254 2013-01-19 Chong Yidong <cyd@gnu.org>
2256 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2257 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2258 save and restore the old window configuration.
2260 2013-01-18 Leo Liu <sdl.web@gmail.com>
2262 * progmodes/js.el: Tweak autoload cookie for alias.
2264 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2266 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2267 buffer local, again. This was lost with the fix on 2013-01-12.
2269 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2271 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2272 order to support several eshell buffers in parallel.
2274 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2276 * autorevert.el (auto-revert-use-notify): In the :set function, do
2277 not modify `kill-buffer-hook'.
2278 (auto-revert-notify-rm-watch):
2279 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2280 (auto-revert-notify-add-watch): Do not call
2281 `auto-revert-notify-rm-watch', but add it to a buffer local
2284 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2287 call to `eval' rather than a backquoted lambda.
2289 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2292 to return an explicit nil.
2293 (advice--remove-function): Change accordingly.
2295 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2296 the use of nadvice.el.
2298 * progmodes/which-func.el (which-function): Silence imenu errors
2301 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2303 * progmodes/sql.el: (sql-imenu-generic-expression):
2304 (sql-mode-font-lock-object-name): Match schema qualified names.
2305 (sql-connect): Use string keys.
2306 (sql-product-interactive): Wait for interpreter prompt.
2307 (sql-comint-oracle): Set process coding based on NLS_LANG.
2309 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2311 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2312 (sql-interactive-remove-continuation-prompt):
2313 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2315 2013-01-14 Leo Liu <sdl.web@gmail.com>
2317 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2320 2013-01-14 Glenn Morris <rgm@gnu.org>
2322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2323 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2325 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2327 * progmodes/python.el (python-nav-end-of-statement):
2328 Fix cornercase when handling multiline strings.
2330 2013-01-13 Richard Stallman <rms@gnu.org>
2332 * mail/sendmail.el (mail-position-on-field): Add doc string.
2334 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2335 Get current message boundaries and pass them to
2336 message-forward-make-body-mime. Minor style changes.
2338 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2340 * cus-start.el (all): Avoid warnings about
2341 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2343 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2345 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2347 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2349 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2350 (jit-lock--debug-fontifying): New var.
2351 (jit-lock--debug-fontify): New function.
2352 * subr.el (condition-case-unless-debug): Don't prevent catching the
2353 error, just let the debbugger run.
2354 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2355 timer code and don't drop errors silently.
2357 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2359 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2360 `permanent-local' property.
2361 (auto-revert-notify-handler): Use `file-equal-p'.
2363 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2365 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2366 file notification by ACTION. For filtering by file name, compare
2367 only the non-directory part of the file name.
2369 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2371 * autorevert.el: Use cl-lib instead of cl.
2373 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2374 (vc-bzr-checkin): Use it.
2375 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2376 will preserve match-data.
2378 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2380 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2381 (js--declaration-keyword-re): New var.
2382 (js--multi-line-declaration-indentation): New function.
2383 (js--proper-indentation): Use it.
2385 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2387 * calc/calc.el (calc-highlight-selections-with-faces)
2389 * comint.el (comint-history-isearch-message):
2390 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2391 * ffap.el (ffap-string-at-point-region, ffap-next)
2392 (ffap-string-at-point, ffap-string-around)
2393 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2395 * font-lock.el (font-lock-keywords-alist)
2396 (font-lock-removed-keywords-alist):
2397 * help-mode.el (help-xref-symbol-regexp):
2398 * info.el (Info-find-emacs-command-nodes):
2399 * international/mule.el (add-to-coding-system-list):
2400 * isearch.el (isearch-message-function, isearch-fail-pos):
2401 * misearch.el (multi-isearch-next-buffer-function):
2402 * newcomment.el (comment-box):
2403 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2404 (pr-setting-database):
2405 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2406 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2407 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2408 (pike-font-lock-keywords-3):
2409 * progmodes/compile.el (compile):
2410 * progmodes/etags.el (tags-table-files)
2411 (tags-table-files-function, tags-included-tables-function):
2412 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2413 (gdb-restore-windows):
2414 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2415 (ps-n-up-filling-database):
2416 * server.el (server-buffer, server-log):
2417 * simple.el (newline, delete-backward-char, delete-forward-char)
2418 (minibuffer-history-isearch-message, kill-line, track-eol)
2419 (temporary-goal-column):
2420 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2421 (flyspell-default-deplacement-commands):
2422 * textmodes/ispell.el (ispell-accept-output):
2423 * textmodes/sgml-mode.el (html-tag-help):
2424 * vc/compare-w.el (compare-ignore-whitespace)
2425 (compare-ignore-case, compare-windows-dehighlight):
2426 * vc/diff.el (diff):
2427 * whitespace.el (whitespace-point)
2428 (whitespace-font-lock-refontify, whitespace-bob-marker)
2429 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2431 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2433 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2434 (auto-revert-notify-rm-watch): Ignore errors.
2435 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2436 inotify, and '(size last-write-time) for w32notify.
2437 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2438 watch fails - this is a fallback to the file modification check.
2439 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2440 (auto-revert-notify-event-action)
2441 (auto-revert-notify-event-file-name): New defuns.
2442 (auto-revert-notify-handler): Use them. Implement first
2443 plausibility checks.
2444 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2446 2013-01-11 Julien Danjou <julien@danjou.info>
2448 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2449 max are almost equal. Also return the correct value for V which is
2450 already between 0 and 1.
2452 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2454 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2456 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2458 * autorevert.el (auto-revert-notify-rm-watch)
2459 (auto-revert-notify-add-watch): Fix typos in w32notify function
2462 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2464 * autorevert.el (auto-revert-notify-enabled): Move up.
2465 (auto-revert-use-notify): New defcustom.
2466 (auto-revert-mode, global-auto-revert-mode)
2467 (auto-revert-notify-add-watch, auto-revert-handler)
2468 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2469 `auto-revert-notify-enabled'.
2471 2013-01-10 Elias Pipping <pipping@exherbo.org>
2473 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2474 * doc-view.el (doc-view-document->bitmap):
2475 Use doc-view-single-page-converter-function instead of
2476 single-page-converter arg; adjust callers.
2478 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2480 * progmodes/which-func.el (which-function): Understand Semantic's use
2481 of overlays in imenu--index-alist.
2483 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2485 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2486 (Man-man-k-use-anchor): New var.
2487 (Man-parse-man-k): New function.
2488 (Man-completion-table): Use it.
2489 (man): Flush the completion cache between uses.
2491 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2493 * autorevert.el: Add file watch support.
2494 (auto-revert-notify-enabled): New defconst.
2495 (auto-revert-notify-watch-descriptor-hash-list)
2496 (auto-revert-notify-watch-descriptor)
2497 (auto-revert-notify-modified-p): New defvars.
2498 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2499 (auto-revert-notify-handler): New defuns.
2500 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2501 when mode is disabled.
2502 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2503 (auto-revert-buffers): Add file watches for active buffers.
2505 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2507 * cus-start.el (toplevel): Only allow float values for
2508 scroll-up-aggressively and scroll-down-aggressively.
2509 Allow any number for line-spacing.
2511 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2514 (doc-view-pdf->png-converter-function): Use mupdf if available.
2515 (doc-view-djvu->png-converter-function)
2516 (doc-view-ps->png-converter-function): Remove.
2517 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2518 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2519 (doc-view-already-converted-p): Adjust accordingly.
2520 (doc-view-mode-p): Simplify.
2521 (doc-view-enlarge): Use setq-local.
2522 (doc-view-pdf->png-converter-ghostscript)
2523 (doc-view-djvu->png-converter-ddjvu)
2524 (doc-view-pdf->png-converter-mupdf): Rework to call
2525 doc-view-start-process directly.
2526 (doc-view-pdf/ps->png): Simplify accordingly.
2527 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2528 (doc-view-document->bitmap): Rename from doc-view-document->png.
2529 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2530 (doc-view-set-slice-from-bounding-box): Fix completion table.
2531 (doc-view-mode): Use add-hook for after-revert-hook.
2533 2013-01-10 Glenn Morris <rgm@gnu.org>
2535 * emacs-lisp/authors.el (authors-ignored-files)
2536 (authors-valid-file-names, authors-renamed-files-alist):
2537 Add some more entries.
2539 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2542 `t' pseudo-window entry.
2544 2013-01-10 Alan Mackenzie <acm@muc.de>
2546 Fix bugs in the c-parse-state mechanism. Reuse some markers
2547 instead of continually generating new ones.
2549 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2550 (c-state-old-cpp-end-marker): New variables.
2551 (c-append-lower-brace-pair-to-state-cache): Start a backward
2552 search for "}" definitively outside CPP constructs.
2553 (c-remove-stale-state-cache): Inform the caller of a need to
2554 search back for a brace pair in certain circumstances.
2555 (c-state-maybe-marker): New macro.
2556 (c-parse-state): Reuse markers when appropriate.
2558 2013-01-10 Glenn Morris <rgm@gnu.org>
2560 * simple.el (execute-extended-command): Doc fix.
2561 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2563 2013-01-10 Chong Yidong <cyd@gnu.org>
2565 * faces.el (read-face-name): Doc fix.
2567 2013-01-10 Roland Winkler <winkler@gnu.org>
2569 * emacs-lisp/crm.el: Allow any regexp for separators.
2570 (crm-default-separator): All spaces around the default comma separator.
2571 (crm--completion-command): New macro.
2572 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2573 (crm-complete-and-exit): Handle non-single-char separators.
2575 2013-01-09 Elias Pipping <pipping@lavabit.com>
2577 * doc-view.el: Add support for DjVu (bug#13164).
2578 (doc-view-djvu->png-converter-function): New config var.
2579 (doc-view-single-page-converter-function, doc-view--image-type)
2580 (doc-view--image-file-extension): New vars.
2581 (doc-view-mode): Initialize them.
2582 (doc-view-goto-page): Use them.
2583 (doc-view-mode-p): Add support for ddjvu.
2584 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2585 (doc-view-set-up-single-converter): New funs.
2586 (doc-view-pdf/ps->png): Extend for djvu.
2587 (doc-view-document->png): Rename from doc-view-pdf->png.
2588 (doc-view-convert-current-doc): Handle djvu.
2589 (doc-view-insert-image, doc-view-display)
2590 (doc-view-already-converted-p): Don't hardcode png.
2591 (doc-view-set-doc-type): Recognize djvu docs.
2593 2013-01-09 Elias Pipping <pipping@lavabit.com>
2595 * doc-view.el: Add support for mupdf converter (bug#13164).
2596 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2597 (doc-view-ps->png-converter-function): New config vars.
2598 (doc-view-pdf->png-converter-ghostscript)
2599 (doc-view-ps->png-converter-ghostscript)
2600 (doc-view-pdf->png-converter-mupdf): New functions.
2601 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2603 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2605 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2606 first in session cache: When `tramp-own-remote-path' is in
2607 `tramp-remote-path', the remote path is only set in the session
2610 2013-01-09 Glenn Morris <rgm@gnu.org>
2612 * emacs-lisp/trace.el (trace-function-foreground)
2613 (trace-function-background): Doc fix.
2615 2013-01-09 Juri Linkov <juri@jurta.org>
2617 * international/mule-cmds.el (read-char-by-name): Move let-binding
2618 of completion-ignore-case around completing-read to fix regression
2619 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2620 `string-match-p' using the nil value of `case-fold-search' and
2621 `completion-ignore-case' in `completion-pcm--all-completions'.
2624 2013-01-09 Glenn Morris <rgm@gnu.org>
2626 * progmodes/compile.el (compilation-parse-errors):
2627 Fix typo. (Bug#13369)
2629 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2631 * comint.el (comint-send-input): Check size of buffer before
2632 waiting for process output, in case already accepted. (Bug#13290)
2634 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2637 * net/tramp-adb.el (tramp-adb-get-toolbox):
2638 Fix misspelling of 'unknown'.
2640 2013-01-08 Juri Linkov <juri@jurta.org>
2642 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2643 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2644 Use underline style wave on terminals that support it. (Bug#13000)
2646 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2649 the predicate returns nil.
2651 * simple.el: Use lexical-binding.
2652 (primitive-undo): Use pcase.
2653 (minibuffer-history-isearch-push-state): Use a closure.
2655 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2657 * simple.el (primitive-undo): Move from undo.c.
2659 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2662 (cvs-mode-remove-handled): Use it (bug#13380).
2664 * emacs-lisp/nadvice.el (advice--tweak): New function.
2665 (advice--remove-function, advice--subst-main): Use it.
2667 * emacs-lisp/advice.el: Update commentary.
2669 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2671 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2672 Remove spurious entry.
2674 2013-01-08 Glenn Morris <rgm@gnu.org>
2676 * net/tramp.el (tramp-default-host-alist): Add :version.
2678 2013-01-08 Juri Linkov <juri@jurta.org>
2680 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2681 single completion. (Bug#12456)
2682 (info--manual-names): Expand node completions into an explicit list
2683 before appending it to another list. Filter out internal buffers
2684 with the leading space in the buffer name. (Bug#10771)
2686 2013-01-08 Juri Linkov <juri@jurta.org>
2688 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2689 that defaults to the Top node.
2690 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2691 the short format (FILENAME) goes to the Top node.
2692 (Info-build-node-completions): Rename arg `file' to `filename'.
2695 2013-01-07 Bastien Guerry <bzg@gnu.org>
2697 * menu-bar.el (menu-bar-search-documentation-menu):
2698 Use `apropos-user-option' and fix the help message.
2700 2013-01-07 Bastien Guerry <bzg@gnu.org>
2702 * apropos.el (apropos-do-all): Update docstring.
2703 (apropos-user-option-button): New face.
2704 (apropos-user-option): Rename from `apropos-variable' and update
2706 (apropos-variable): Rewrite, now show all variables by default.
2707 (apropos-print): Mention "User option" instead of "Variable" when
2708 printing doc for user options. (Bug#13276)
2710 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2712 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2713 Handle filename correctly, when parsing "source -> target" symlink
2715 (tramp-adb-handle-set-file-times): New defun.
2717 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2720 advice list when the interactive-spec of ad-Advice-* changes.
2722 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2724 * wid-edit.el (widget-default-get): Work for inlined elements.
2727 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2729 * net/tramp.el (tramp-default-host-alist): New defcustom.
2730 (tramp-find-host): Use it.
2731 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2732 `eshell-directory-change-hook'.
2734 * net/tramp-adb.el (top): Add adb specific entry in
2735 `tramp-default-host-alist'.
2736 (tramp-adb-file-name-host): Remove function.
2737 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2738 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2740 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2742 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2744 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2746 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2748 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2749 consist of more than one digit.
2750 (tramp-adb-file-name-handler-alist):
2751 Use `tramp-handle-file-exists-p' consistently.
2752 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2753 (tramp-adb-handle-file-exists-p): Remove function.
2754 (tramp-adb-file-name-host): New defun.
2755 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2757 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2759 2013-01-06 Chong Yidong <cyd@gnu.org>
2761 * vc/vc.el (vc-next-action): Detect buffer modifications
2762 conflicting with locking VCS operation (Bug#11490).
2764 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2766 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2768 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2769 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2771 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2773 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2774 parsing of ls output using regular expression (handle filenames
2775 with spaces). Use virtual device number.
2776 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2779 2013-01-04 Daiki Ueno <ueno@gnu.org>
2781 * epg.el: Silence byte-compiler warnings.
2782 (epg--start): Use delete-char instead of delete-backward-char.
2783 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2785 2013-01-04 Daiki Ueno <ueno@gnu.org>
2787 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2788 Suggested by Eli Zaretskii <eliz@gnu.org>.
2790 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2792 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2793 non-negative integers. Otherwise, the default values are used.
2794 (tramp-convert-file-attributes): Convert uid and gid to integers.
2796 2013-01-04 Glenn Morris <rgm@gnu.org>
2798 * term.el (term-handle-colors-array): Ensure face attributes
2799 are fully specified, not nil. (Bug#13337)
2801 * term.el (term-default-fg-color, term-default-bg-color):
2804 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2805 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2806 rather than 'jka-compr being loaded. (Bug#13338)
2808 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2810 * icomplete.el (icomplete-completions):
2811 Honor icomplete-prospects-height once more following
2812 2012-11-29 changes. (Bug#13224)
2814 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2817 of called-interactively-p as well (bug#13237).
2819 * view.el (view--enable, view--disable): Rename from view-mode-enable
2820 and view-mode-disable and assume it's called from view-mode.
2821 (view-mode-enable, view-mode-disable): Redefine as obsolete
2822 compatibility layer above view-mode.
2823 (view-mode-enter): Call `view-mode'.
2825 * files.el (after-find-file): Call `view-mode'.
2827 * doc-view.el (doc-view-scale-internally): New var.
2828 (doc-view-enlarge, doc-view-insert-image): Obey it.
2830 2013-01-03 Daiki Ueno <ueno@gnu.org>
2832 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2835 2013-01-03 Glenn Morris <rgm@gnu.org>
2837 * mail/rmail.el (rmail-set-header-1): Ignore case.
2838 Handle multi-line headers. (Bug#13330)
2840 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2841 Handle paragraph starting at beginning of buffer.
2843 * subr.el (eval-after-load): Don't purecopy the form, so that it
2844 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2846 * emacs-lisp/byte-run.el (defun): Place cl declarations
2847 after any interactive spec. (Bug#13265)
2849 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2851 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2852 defun. Don't check for DECL if DOCSTRING isn't a string.
2855 2013-01-02 Glenn Morris <rgm@gnu.org>
2857 * eshell/em-cmpl.el (eshell-pcomplete):
2858 More thoroughly imitate pcomplete. (Bug#13293)
2860 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2861 Return nil for empty path elements. (Bug#13296)
2863 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2865 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2866 order to improve efficiency (Based on Daniel Colascione's
2867 <dancol@dancol.org> patch). (Bug#13182)
2869 2013-01-02 Glenn Morris <rgm@gnu.org>
2871 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2873 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2875 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2876 neither DOCSTRING nor DECL was given. (Bug#13316)
2878 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2880 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2882 (tramp-do-copy-or-rename-file): Ignore errors when calling
2883 `set-file-extended-attributes'.
2885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2886 Add handler for `file-acl'.
2887 (tramp-smb-handle-file-acl): New defun.
2889 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2891 * calc/README: Mention ISO 8601 week-numbering dates.
2893 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2895 * view.el (view-mode-enable): New argument run-view-mode-hook.
2896 Run view-mode-hook only when it's non-nil (Bug#13315).
2897 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2900 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2902 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2903 (No device connected, invalid device name). (Bug #13299)
2905 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2907 * window.el (window-resizable--p): Rename to window-resizable-p.
2908 (window-resize-no-error): New function.
2910 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2911 broken in fix from 2012-12-28.
2913 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * subr.el (special-form-p): Don't signal errors on undef aliases.
2917 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2919 * calc/calc-forms.el (math-parse-date): Try using
2920 `math-parse-iso-date' when it looks like it might be needed.
2921 Allow times of 24:00.
2922 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2925 2012-12-30 Glenn Morris <rgm@gnu.org>
2927 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2928 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2929 (rmail-summary-displayed, rmail-summary): Declare.
2930 (mairix-rmail-display): Just require rmail.
2932 2012-12-30 Chong Yidong <cyd@gnu.org>
2934 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2935 check for the tarball contents.
2937 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2939 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2940 tarfile content listings (Bug#13136).
2942 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2944 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2945 Insert the undecoded text of the message being forwarded. (Bug#9521)
2947 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2949 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2950 integers, if they are real numbers. (Bug#13282)
2952 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2953 Return `t' on success.
2955 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2956 Add handler for `set-file-selinux-context'.
2958 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2960 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2961 (tramp-sh-handle-set-file-acl): Return `t' on success.
2963 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2965 * files.el (backup-buffer-copy, basic-save-buffer-2):
2966 If set-file-extended-attributes fails, fall back on set-file-modes
2967 instead of signaling an error. (Bug#13298)
2968 (basic-save-buffer): Likewise.
2970 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2972 * progmodes/python.el: Support other commands triggering
2973 python-indent-line so indentation cycling continues to work.
2974 (python-indent-trigger-commands): New defcustom.
2975 (python-indent-line): Use it.
2977 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2979 * progmodes/python.el (python-shell-send-region): Add blank lines
2980 for non sent code so backtraces remain correct.
2982 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2984 * progmodes/python.el: Remove cl dependency.
2985 (python-syntax-count-quotes): Replace incf call.
2986 (python-fill-string): Replace setf call.
2988 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2990 * info.el (info-other-window): New arg, for consistency with info.
2992 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2994 * mail/rmail.el (rmail-maybe-display-summary):
2995 Rewrite (Bug#13066).
2997 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2999 * epg.el (epg--start): Modify process-environment locally.
3001 2012-12-28 Daiki Ueno <ueno@gnu.org>
3003 * epg.el: Support pinentry-curses.
3004 Suggested by Werner Koch in
3005 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3006 (epg-agent-file, epg-agent-mtime): New variable.
3007 (epg--start): Record the modified time of gpg-agent socket file,
3008 to restore Emacs frame after pinentry-curses termination.
3009 (epg-wait-for-completion): Restore Emacs frame here.
3011 2012-12-27 Juri Linkov <juri@jurta.org>
3013 * info.el (Info-file-completions): New variable.
3014 (Info-read-node-name-1): Complete node names in the Info file
3015 when a file name is given. Call `Info-build-node-completions'
3017 (Info-build-node-completions): Add new arg `file'. When it is
3018 non-nil, visit it in a temporary buffer and cache its completions in
3019 `Info-current-file-completions'. Move most of the function body to
3020 `Info-build-node-completions-1'.
3021 (Info-build-node-completions-1): New function with the body from
3022 `Info-build-node-completions'. (Bug#12456)
3024 2012-12-27 Juri Linkov <juri@jurta.org>
3026 * frame.el (frame-maximization-style): Remove user option.
3027 (cycle-frame-maximized): Remove function.
3028 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3029 (toggle-frame-fullscreen): New command bound to <f11> instead of
3030 `toggle-frame-maximized'.
3031 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3033 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3035 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3040 for `file-accessible-directory-p'. (Bug#13275)
3042 2012-12-27 Sam Steingold <sds@gnu.org>
3044 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3045 continuations, see <http://stackoverflow.com/questions/3582436>.
3047 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3049 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3050 "module" and "def" to have indentation before them.
3051 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3053 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3055 2012-12-27 Alan Mackenzie <acm@muc.de>
3057 Speed up fontification where there's large brace blocks.
3058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3059 to a call of c-beginning-of-decl-1.
3061 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3063 * comint.el (comint-adjust-window-point): New function.
3064 (comint-postoutput-scroll-to-bottom):
3065 Call comint-adjust-window-point (Bug#13248).
3067 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3069 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3071 (auto-mode-alist): Associate .gemspec files with ruby-mode
3072 (https://bugs.ruby-lang.org/issues/5453).
3074 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3076 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3077 Suppress coloring, if possible (required for BusyBox based systems like
3079 (tramp-adb-handle-file-attributes)
3080 (tramp-adb-handle-insert-directory)
3081 (tramp-adb-handle-file-name-all-completions): Use it.
3082 (tramp-adb-get-toolbox): New defun. Check for remote shell
3083 implementation (BusyBox or Toolbox).
3085 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3087 * startup.el (initial-buffer-choice): Allow function as value
3089 (command-line-1): Handle case where initial-buffer-choice
3090 specifies a function.
3091 * server.el (server-execute): Handle case where
3092 initial-buffer-choice specifies a function.
3094 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3096 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3098 (smtpmail-try-auth-methods): Forget the user name/password if the
3099 login is unsuccessful (bug#12424).
3101 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3103 * notifications.el (notifications-notify): Protect body with
3104 `with-demoted-errors'.
3106 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3107 Check properties of remote device. Restart connection, if there is a
3110 2012-12-21 Chong Yidong <cyd@gnu.org>
3112 * sort.el (sort-subr): Doc fix (Bug#13056).
3114 2012-12-21 Bastien Guerry <bzg@gnu.org>
3116 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3118 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3120 * simple.el (process-file): Overwrite stderr file, if exists.
3122 2012-12-21 Daiki Ueno <ueno@gnu.org>
3124 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3125 (epg-error): Set `error-message' property.
3127 2012-12-21 Chong Yidong <cyd@gnu.org>
3129 * international/mule-cmds.el (read-char-by-name): Signal an error
3130 if the user does not supply a valid character (Bug#13177).
3132 * simple.el (transpose-subr-1): Preserve marker positions by
3133 changing the insertion sequence (Bug#13122).
3135 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3137 * simple.el (kill-region): Deactivate mark even for empty regions
3140 2012-12-21 Chong Yidong <cyd@gnu.org>
3142 * help-fns.el (describe-variable): Make sure we get the right
3143 buffer name (Bug#13105). Suggested by Kelly Dean.
3145 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3147 * comint.el (comint-redirect-previous-input-string): New variable.
3148 (comint-redirect-setup, comint-redirect-cleanup)
3149 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3150 (comint-redirect-preoutput-filter): Fix verbose message.
3152 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3154 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3155 is too long for Tramp. See discussion in
3156 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3158 * progmodes/compile.el (compilation-start): Remove line escape
3161 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3163 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3166 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3168 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3169 following non-comment text (bug#13207).
3170 (lm-header-multiline): Continuation lines need to be indented more than
3172 (lm-homepage): New function.
3173 (lm-with-file): Don't be confused if narrowing is in effect.
3175 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3178 very beginning of a hunk (e.g. killing the first line).
3180 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3182 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3183 and text properties from returned ACL string.
3184 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3185 for "setfacl" command.
3187 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3189 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3190 `tramp-cleanup-this-connection', when the process has died.
3193 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3197 2012-12-17 Kevin Ryde <user42@zip.com.au>
3199 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3201 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3203 Add support for preserving ACL entries of files.
3205 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3206 `set-file-acl' handlers.
3208 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3209 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3211 * net/tramp-compat.el (tramp-compat-copy-file):
3212 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3215 Add `file-acl' and `set-file-acl' handlers.
3216 (tramp-gvfs-handle-copy-file):
3217 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3218 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3221 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3222 Add `file-acl' and `set-file-acl' handlers.
3223 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3224 (tramp-sh-handle-set-file-acl): New defuns.
3225 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3226 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3228 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3229 Add `file-acl' and `set-file-acl' handlers.
3230 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3232 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3234 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3235 use pop-to-buffer with NORECORD argument t. As buffer name, use
3236 *Metahelp* with a leading space (Bug#13190).
3238 2012-12-16 Romain Francoise <romain@orebokech.com>
3240 * files.el (file-extended-attributes)
3241 (set-file-extended-attributes): New functions.
3242 (backup-buffer): Use them to handle both SELinux context and ACL
3244 (backup-buffer-copy): Work with an alist of extended attributes,
3245 rather than an SELinux context.
3246 (basic-save-buffer-2): Ditto.
3248 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3250 * battery.el (battery-bsd-apm): New function.
3252 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3254 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3255 standard date formats.
3257 2012-12-15 Juri Linkov <juri@jurta.org>
3259 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3260 `isearch-insert-char-by-name'.
3261 (with-isearch-suspended): New defmacro with body mostly from
3262 `isearch-edit-string' except the part that sets
3263 `isearch-new-string' and `isearch-new-message'.
3264 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3265 body that sets `isearch-new-string' and `isearch-new-message'.
3266 (isearch-insert-char-by-name): New command.
3267 * international/mule-cmds.el (read-char-by-name): Let-bind
3268 `enable-recursive-minibuffers' to t.
3269 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3271 2012-12-15 Juri Linkov <juri@jurta.org>
3273 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3276 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3278 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3279 the prompt. (Bug#13045)
3281 2012-12-14 Glenn Morris <rgm@gnu.org>
3283 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3284 Try to include filename in non-bytecomp warning. (Bug#13132)
3286 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3288 Fix permissions bugs with setgid directories etc. (Bug#13125)
3289 * files.el (backup-buffer): Don't rely on 9th output of
3290 file-attributes, as it's now a placeholder. Instead, use the new
3291 optional arg of file-ownership-preserved-p.
3292 (file-ownership-preserved-p): New optional arg GROUP.
3293 Fix mishandling of setuid directories that would cause this
3294 function to return t when it should have returned nil.
3295 Document what happens if the file does not exist, and when
3296 it's not known whether the ownership will be preserved.
3297 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3299 (tramp-get-local-gid): Use group-gid for integer, as that's
3300 faster and more reliable.
3302 2012-12-14 Julien Danjou <julien@danjou.info>
3304 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3305 Update keywords list, data type and PL/pgSQL.
3307 2012-12-14 Dave Abrahams <dave@boostpro.com>
3309 * vc/ediff-util.el (ediff-buffer-type): New function.
3310 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3311 rather than taking it as as argument.
3312 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3314 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3316 * json.el: Add pretty-print option (bug#12634).
3317 (json-encoding-separator, json-encoding-default-indentation)
3318 (json--encoding-current-indentation, json-encoding-pretty-print)
3319 (json-encoding-lisp-style-closings): New vars.
3320 (json--with-indentation): New macro.
3321 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3322 (json-encode-array): Use it to obey json-encoding-pretty-print.
3323 (json-pretty-print-buffer, json-pretty-print): New commands.
3325 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3327 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3328 Extract `ruby-syntax-propertize-expansions'.
3329 (ruby-syntax-propertize-expansions): Only change syntax on
3330 certain string delimiters, to punctuation. This way the common
3331 functions like forward-word and thing-at-point still work.
3332 (ruby-match-expression-expansion): Improve readability.
3333 (ruby-block-contains-point): New function.
3334 (ruby-add-log-current-method): Handle several edge cases.
3336 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3338 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3339 unload-feature finishes even when aborting an ongoing edebug session.
3340 Also, do not worry about edebug-mode, unload-feature takes care of it.
3342 2012-12-13 Andreas Schwab <schwab@suse.de>
3344 * net/tls.el (tls-program): Update customize type.
3346 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3348 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3349 (edebug-setup-hook, cl-read-load-hooks): Use it.
3350 (edebug-unload-function): New function. (Bug#13163)
3352 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3354 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3355 Otherwise, there could be errors in autoloading. (Bug#13151)
3357 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3359 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3362 2012-12-13 Alan Mackenzie <acm@muc.de>
3364 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3365 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3366 around `forward-comment' not recognizing ^M as whitespace.
3368 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3370 * progmodes/python.el (python-skeleton-class)
3371 (python-skeleton-def): Do not add space after defun name.
3373 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3375 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3376 (cl--symbol-function): Remove (now that funbound is like nil).
3378 2012-12-12 Glenn Morris <rgm@gnu.org>
3380 * button.el (button--area-button-p): Fix typo.
3382 2012-12-12 Sam Steingold <sds@gnu.org>
3384 * frame.el (frame-maximization-style): New user option.
3385 (toggle-frame-maximized): Toggle frame maximization according to
3386 `frame-maximization-style', bound to <f11>.
3387 (cycle-frame-maximized): Cycle between all maximization styles and
3388 non-maximized frame, bound to shift-<f11>.
3390 2012-12-12 David Cadé <codename68@gmail.com>
3392 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3394 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3396 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3397 (eieio-override-prin1): Don't quote kewords and booleans.
3398 (object-write) <eieio-default-superclass>: Don't put closing parens
3399 on new line, avoid needless empty lines, align values that are objects
3400 with the slot keyword (instead of beginning on the same line).
3401 (eieio-list-prin1): Align value with slot keyword; increase
3402 eieio-print-depth before printing members of the list.
3404 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3406 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3407 a display text-property.
3408 (report-emacs-bug-hook): Don't bother deleting it any more.
3410 * hilit-chg.el (highlight-save-buffer-state): Delete.
3411 Use with-silent-modifications instead.
3412 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3414 * button.el: Handle buttons in display text-properties.
3415 (button--area-button-p, button--area-button-string):
3416 Use (STRING . STRING-POS) representation instead of just STRING.
3418 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3420 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3421 subdirectory be skipped.
3423 2012-12-11 Glenn Morris <rgm@gnu.org>
3425 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3427 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3428 Treat preprocessor lines embedded in continuations like comments.
3429 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3431 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3433 * calc/calc.el (calc-standard-date-formats): Add more date
3435 * calc/calc-forms.el (math-parse-iso-date): New function.
3436 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3437 (math-parse-iso-date-validate): Add extra error checking.
3438 (calc-date-notation): Add ability to access new date formats.
3440 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3443 font-lock as well as when there's no text-property.
3445 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3447 * hi-lock.el: Refine the choice of default face.
3448 (hi-lock-keyword->face): New function. Use it wherever we used
3450 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3451 (hi-lock--last-face): Remove var.
3452 (hi-lock--unused-faces): New var to replace it.
3453 (hi-lock-read-face-name): Use/maintain it.
3454 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3455 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3456 if it has another face.
3458 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3460 * subr.el (w32notify-handle-event): New function.
3461 (inotify-handle-event): Doc fix.
3463 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3465 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3467 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3469 * simple.el (just-one-space): Doc fix.
3471 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3473 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3475 2012-12-10 Le Wang <l26wang@gmail.com>
3477 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3478 narrowed buffer (bug#12361).
3480 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3482 * vc/vc-hooks.el (vc-state): Doc fix.
3484 2012-12-10 Glenn Morris <rgm@gnu.org>
3486 * mail/rmail.el (rmail-maybe-display-summary):
3487 Preserve buffer, in case select-window changes it. (Bug#13066)
3489 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3492 cl-load-hook where they belong.
3494 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3498 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3500 Parallelize byte compilation on MS-Windows.
3501 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3502 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3503 (WINS_BASIC): Define as concatenation of the above.
3504 (compile): Subdivide into 4 separate and independent jobs that can
3506 (compile0-CMD, compile0-SH): New targets for compiling
3507 COMPILE_FIRST files, which are prerequisites for the rest of the
3509 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3510 New targets for parallel compilation with cmd.exe.
3511 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3512 compiling under a Unixy shell.
3514 2012-12-09 Chong Yidong <cyd@gnu.org>
3516 * simple.el (set-mark-default-inactive): Delete this
3517 accidentally-introduced option.
3518 (set-mark-command, exchange-point-and-mark): Remove calls.
3520 2012-12-09 Glenn Morris <rgm@gnu.org>
3522 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3523 Respect a defcustom's :set function, if appropriate. (Bug#109)
3524 (eval-defun): Doc fix.
3526 2012-12-08 Juri Linkov <juri@jurta.org>
3528 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3529 (Info-fontify-node, Info-bookmark-make-record): Remove the
3530 file extension from Info-current-file (Bug#13016).
3532 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3535 point, still provide some default.
3536 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3537 names, since we don't use it right now. Actually return the list.
3538 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3540 2012-12-07 Chong Yidong <cyd@gnu.org>
3542 * novice.el (disabled-command-function): Remove a spurious help
3543 xref (Bug#13043). Suggested by Kelly Dean.
3545 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3546 syntax is specified (Bug#13025).
3548 * info.el (Info-set-mode-line): Remove the file extension from
3549 Info-current-file if there is one (Bug#13016).
3551 2012-12-07 Glenn Morris <rgm@gnu.org>
3553 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3554 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3555 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3556 and rmail-mime-decoded. (Bug#9841)
3558 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3559 (batch-unrmail, unrmail): Doc fixes.
3560 (unrmail): Respect unrmail-mbox-format.
3561 * mail/rmail.el (rmail-mbox-format): New option.
3562 (rmail-show-message-1): Respect rmail-mbox-format.
3564 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3568 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3570 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3571 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3572 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3573 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3574 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3575 (cl-progv): Don't rely on dynamic scoping to find the body.
3576 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3577 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3578 (cl-declaim): Use backquotes.
3579 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3580 Use "cl--" prefix for the object's tag.
3582 * ses.el: Use advice-add/remove.
3583 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3584 (copy-region-as-kill, yank): Use advice-add.
3585 (ses-unload-function): Use advice-remove.
3587 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3589 * button.el: Make them work in header-lines (bug#12817).
3590 (button-map): Add bindings for header-line and mode-line use.
3591 (button-get, button-put, button-label): `button' may now be a string.
3592 (button-activate): Don't make it a defsubst.
3593 (button--area-button-p, button--area-button-string): New functions.
3594 (make-text-button): Fix the return value when `beg' was a string.
3595 (push-button): Handle the mode-line case.
3597 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3600 (sql-signum): Remove. Use `cl-signum' instead.
3601 (sql-read-passwd): Remove; use read-passwd instread.
3602 (sql-get-login-ext): Use read-string.
3603 (sql-get-login): Use dolist and pcase.
3604 (sql--completion-table): Rename from sql-try-completion.
3605 Use complete-with-action.
3606 (sql-mode): Don't change abbrev-all-caps globally.
3607 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3608 (sql-postgres-completion-object): Initialize vars in their `let'.
3609 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3610 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3611 (sql-comint-interbase): Use a single append, without setq.
3612 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3614 * hi-lock.el: Rework the default face and the serialize regexp code.
3615 (hi-lock--auto-select-face-defaults): Remove.
3616 (hi-lock-string-serialize-serial): Remove.
3617 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3619 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3621 (hi-lock-set-pattern): Adjust accordingly.
3622 (hi-lock--regexps-at-point): Simplify accordingly.
3623 (hi-lock--auto-select-face-defaults): Remove.
3624 (hi-lock--last-face): New var to replace it.
3625 (hi-lock-read-face-name): Rewrite (bug#11095).
3626 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3628 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3630 * net/tramp.el (tramp-replace-environment-variables):
3631 Hide compiler warning.
3632 (tramp-file-name-for-operation): Remove `executable-find',
3633 `start-process', `call-process' and `call-process-region'.
3635 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3637 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3640 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3642 2012-12-06 Chong Yidong <cyd@gnu.org>
3644 * ffap.el (ffap-replace-file-component): Fix typo.
3646 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3648 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3649 fix open-paren-like token test (bug#12785).
3651 2012-12-06 Glenn Morris <rgm@gnu.org>
3653 * mail/rmailsum.el (rmail-new-summary): Tweak for
3654 rmail-maybe-display-summary changing buffer. (Bug#13066)
3656 2012-12-06 Juri Linkov <juri@jurta.org>
3658 * info.el (Info-fontify-node): Don't hide the last newline.
3661 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3663 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3664 so as to enable message-read-from-minibuffer to expand mail aliases.
3666 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3668 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3669 the `intangible' property.
3670 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3672 2012-12-05 Deniz Dogan <deniz@dogan.se>
3674 * net/rcirc.el (rcirc-urls): Update documentation.
3675 (rcirc-condition-filter): New function.
3676 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3677 and exclude consecutive duplicate URLs (Bug#6082).
3679 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3682 Check return code of copy command.
3684 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3685 Use group `tramp'. Add version.
3687 2012-12-05 Chong Yidong <cyd@gnu.org>
3689 * ffap.el (ffap-url-regexp): Don't require matching at front of
3691 (ffap-url-p): If only a substring matches, return that.
3692 (ffap-url-at-point): Use the return value of ffap-url-p.
3693 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3694 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3695 (ffap-guess-file-name-at-point): Likewise.
3696 (ffap-replace-file-component): Fix typo.
3698 * info.el (info-display-manual): Add existing Info buffers, whose
3699 files may not be in Info-directory-list, to the completion.
3700 (info--manual-names): New helper function.
3702 2012-12-05 Glenn Morris <rgm@gnu.org>
3704 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3705 New functions, for detecting and resolving conflicts. (Bug#10709)
3707 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3709 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3710 (hi-lock-auto-select-face-defaults): New buffer local variable.
3711 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3712 (hi-lock-unface-buffer): Prompt user with useful defaults.
3713 With prefix arg, unhighlight all hi-lock patterns in buffer.
3715 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3717 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3719 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3721 * Makefile.in (TRAMP_SRC):
3722 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3724 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3726 * net/tramp-adb.el: New package.
3728 2012-12-04 Chong Yidong <cyd@gnu.org>
3730 * terminal.el: Move to obsolete/.
3732 * longlines.el: Move to obsolete/.
3734 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3735 Remove code referring to longlines mode.
3737 2012-12-03 Juri Linkov <juri@jurta.org>
3739 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3741 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3743 * textmodes/ispell.el (ispell-init-process)
3744 (ispell-start-process, ispell-internal-change-dictionary):
3745 Make sure personal dictionary name is expanded after initial
3746 `default-directory' value. Use expanded strings for
3747 keep/restart checks and for value (Bug#13019).
3749 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3751 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3753 2012-12-03 Leo Liu <sdl.web@gmail.com>
3755 * files.el (dir-locals-read-from-file): Check file non-empty
3756 before reading. (Bug#13038)
3758 2012-12-03 Glenn Morris <rgm@gnu.org>
3760 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3761 Remove any version extension before checking filename. (Bug#13006)
3762 (jka-compr-compression-info-list): Belated :version bump.
3764 2012-12-03 Chong Yidong <cyd@gnu.org>
3766 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3768 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3769 (buffer-menu): Doc fix (Bug#12294).
3771 2012-12-03 Roland Winkler <winkler@gnu.org>
3773 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3774 of diary-show-all-entries in the diary buffer (Bug#12994).
3776 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3778 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3779 "<STDIN>". This is binary safe.
3781 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3783 * calc/calc-forms.el (math-absolute-from-iso-dt)
3784 (math-date-to-iso-dt, math-parse-iso-date-validate)
3785 (math-iso-dt-to-date): New functions.
3786 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3787 (math-fd-isoweekday): New variables.
3788 (calc-date-notation, math-parse-standard-date, math-format-date)
3789 (math-format-date-part): Add support for more formatting codes.
3791 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3793 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3794 current buffer's file name when called interactively (Bug#12488).
3796 2012-12-02 Juri Linkov <juri@jurta.org>
3798 * info.el (info-display-manual): Don't clobber an existing Info
3799 buffer (Bug#10770). Add completion (Bug#10771).
3801 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3803 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3804 before using it for comparison (Bug#5297).
3806 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3808 * textmodes/css-mode.el (css-current-defun-name): New function.
3811 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3812 (html-mode): Use it.
3814 2012-12-01 Chong Yidong <cyd@gnu.org>
3816 Modularize add-log-current-defun (Bug#2224).
3817 Suggested by Jari Aalto.
3819 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3820 (add-log-current-defun): Move mode-specific code to other files.
3821 (add-log-lisp-like-modes, add-log-c-like-modes)
3822 (add-log-tex-like-modes): Variables deleted.
3824 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3825 (lisp-mode-variables): Use it.
3827 * progmodes/cc-mode.el (c-common-init):
3828 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3829 add-log-current-defun-function.
3831 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3834 * progmodes/perl-mode.el (perl-current-defun-name): New.
3835 (perl-mode): Use it.
3837 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3838 Use lisp-current-defun-name.
3840 * textmodes/tex-mode.el (tex-current-defun-name): New.
3841 (tex-common-initialization): Use it.
3843 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3844 (texinfo-mode): Use it.
3846 2012-12-01 Chong Yidong <cyd@gnu.org>
3848 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3849 * progmodes/autoconf.el (autoconf-mode):
3850 * progmodes/js.el (js-mode):
3851 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3852 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3853 * progmodes/perl-mode.el (perl-mode):
3854 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3855 * textmodes/css-mode.el (css-mode):
3856 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3857 (sgml-tags-invisible, sgml-guess-indent):
3858 * textmodes/tex-mode.el (tex-common-initialization)
3859 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3860 (doctex-mode, plain-tex-mode, latex-mode):
3861 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3863 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3865 * vc/vc-hg.el (vc-hg-next-revision):
3866 Ensure use of default "tip" output format. (Bug#6968)
3868 2012-12-01 Kim F. Storm <storm@cua.dk>
3870 * startup.el (fancy-startup-tail): Add a clickable link
3873 2012-12-01 Chong Yidong <cyd@gnu.org>
3875 * startup.el (fancy-startup-tail): Improve the message about
3876 auto-save files (Bug#2176).
3878 * files.el (recover-session): Improve the descriptive message, and
3879 use substitute-command-keys.
3881 2012-12-01 Glenn Morris <rgm@gnu.org>
3883 * ido.el (ido-file-internal):
3884 Handle other-window, other-frame for dired. (Bug#13036)
3886 2012-11-30 Glenn Morris <rgm@gnu.org>
3888 * icomplete.el (icomplete-separator): Fix :version.
3890 2012-11-30 Chong Yidong <cyd@gnu.org>
3892 * shell.el (shell): For C-u M-x shell, use an inactive shell
3893 buffer as the default (Bug#1975).
3894 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3895 (shell-mode): Use them to reapply ansi colorization if Shell mode
3898 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3900 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3902 2012-11-30 Samuel Bronson <naesten@gmail.com>
3904 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3905 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3907 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3909 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3910 by move-to-column (Bug#3234).
3912 2012-11-30 Chong Yidong <cyd@gnu.org>
3914 * longlines.el (longlines-wrap-line, longlines-encode-region):
3915 Preserve text properties (Bug#1425).
3917 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3919 * vc/vc.el (vc-register): Allow registering a file which is
3920 already registered with a different backend (Bug#10589).
3922 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3923 Stefan Monnier <monnier@iro.umontreal.ca>
3925 * icomplete.el: Change separator; add ido-style commands.
3926 (icomplete-show-key-bindings): Remove custom var.
3927 (icomplete-get-keys): Remove function.
3928 (icomplete-forward-completions, icomplete-backward-completions):
3930 (icomplete-minibuffer-map): New var.
3931 (icomplete-minibuffer-setup): Use it.
3932 (icomplete-exhibit): Don't delay if the list of completions is known.
3933 (icomplete-separator): New custom.
3934 (icomplete-completions): Use it.
3935 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3936 (minibuffer-force-complete-and-exit): New command.
3937 (minibuffer--complete-and-exit): New function extracted from
3938 minibuffer-complete-and-exit.
3939 (minibuffer-complete-and-exit): Use it.
3941 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3942 error message when the file doesn't exist (bug#12974).
3944 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3946 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3948 2012-11-29 Glenn Morris <rgm@gnu.org>
3950 * files.el (hack-dir-local-variables): Warn if try to set
3951 coding via dir-locals, since it doesn't work. (Bug#7169)
3953 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3954 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3955 Set buffer-local value of desktop-save-buffer.
3956 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3958 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3959 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3961 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3962 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3964 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3967 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3969 * calc/calc-forms.el (calc-date-notation): Fix regexp
3970 used to find time codes. Fix symbol for seconds.
3972 2012-11-27 Glenn Morris <rgm@gnu.org>
3974 * emacs-lisp/derived.el (derived-mode-make-docstring):
3975 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3977 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3980 lexically scoped variables (bug#13005).
3982 2012-11-27 Glenn Morris <rgm@gnu.org>
3984 * vc/vc-hooks.el (vc-mistrust-permissions):
3985 Default to t, to avoid data-loss. (Bug#11490)
3987 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3989 * progmodes/python.el (python-indent-guess-indent-offset):
3990 If indentation is guessed make python-indent-offset buffer-local.
3992 Fix Imenu regression.
3993 * progmodes/python.el (python-nav-beginning-of-defun):
3994 Fix forward movement when statement(s) separates point from defun.
3995 (python-imenu-prev-index-position): New function.
3997 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3999 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4001 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4002 Don't set buffer-file-type. Return nil. (Bug#12989)
4004 2012-11-27 Glenn Morris <rgm@gnu.org>
4006 * hippie-exp.el (hippie-expand-try-functions-list):
4007 Re-autoload it. (Bug#12982)
4009 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4011 * descr-text.el (describe-char-padded-string):
4012 Call internal-char-font only on GUI frames. (Bug#11964)
4014 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4016 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4017 and obsoletion message.
4019 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4022 the constructs to keep outside of the `cl-block' (bug#12977).
4024 2012-11-27 Chong Yidong <cyd@gnu.org>
4026 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4027 keep reading until we get the up-event anyway, in order to process
4028 the up-event for mouse-1-click-follows-link (Bug#12971).
4030 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4032 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4033 base function is not yet defined (bug#12965).
4034 (ad-activate-advised-definition): Use ad-compile-function.
4035 (ad-activate): Use cond.
4037 2012-11-25 Leo Liu <sdl.web@gmail.com>
4039 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4042 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4045 reftex-section-info-function in order to be compatible with
4046 Texinfo integration.
4048 * textmodes/reftex.el (reftex-section-pre-regexp)
4049 (reftex-section-post-regexp, reftex-section-info-function):
4051 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4052 reftex-section-post-regexp, and reftex-section-info-function in order
4053 to be compatible with Texinfo integration.
4055 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4056 use reftex-section-pre-regexp variable in order to be compatible with
4057 Texinfo integration.
4059 2012-11-25 Chong Yidong <cyd@gnu.org>
4061 * faces.el: Make face-spec-set more analogous to setq.
4062 (face-spec-set): Change the third arg to specify whether this
4063 function is being called via defface, customize, or a third party.
4064 Set the appropriate symbol properties. Clear the override spec if
4065 setting via Custom. Initialize face if necessary. (Bug#4988)
4066 (face-spec-recalc): Allow theme faces to completely replace the
4067 defface spec, in the same way as custom faces (Bug#8454).
4069 * cus-face.el (custom-declare-face): Move face initialization to
4071 (custom-theme-set-faces): Don't initialize the face name here, as
4072 that is now done in face-spec-set.
4074 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4075 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4076 Simplify by using the new arg to face-spec-set.
4078 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4079 reset face-override-spec too, and use custom-declare-face.
4081 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4083 * term/ns-win.el (ns-initialize-window-system): Move creation of
4084 fontsets here (Bug#11964).
4086 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4088 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4091 2012-11-24 Chong Yidong <cyd@gnu.org>
4093 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4096 * custom.el (custom-theme-set-variables): Use a topological sort
4097 for ordering by custom dependencies (Bug#12952).
4098 (custom--sort-vars, custom--sort-vars-1): New functions.
4100 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4103 lexical-binding (bug#12938).
4105 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4107 * image-mode.el (image-transform-check-size): Use assertions only
4108 for images of type imagemagick.
4110 Otherwise no error, image-transform-fit-to-{width,height} is
4111 silently ignored, as before. Doc fix.
4113 2012-11-24 Chong Yidong <cyd@gnu.org>
4115 * faces.el (color-defined-p): Doc fix (Bug#12853).
4117 2012-11-24 Juri Linkov <juri@jurta.org>
4119 * dired.el (dired-mark): Add optional arg `interactive'.
4120 Check for `use-region-p' if `interactive' is non-nil.
4121 (dired-unmark, dired-flag-file-deletion): Add optional arg
4122 `interactive'. Call `dired-mark' with the arg `interactive'.
4125 * wdired.el: Revert 2012-10-17 change partly and replace it with
4126 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4127 (wdired-finish-edit): Add marks for new file names to
4128 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4129 after `revert-buffer'.
4130 (wdired-do-renames): Remove calls to `dired-remove-file',
4131 `dired-add-file', `dired-add-entry'. (Bug#11795)
4133 2012-11-24 Alan Mackenzie <acm@muc.de>
4135 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4137 Fix bugs in the state cache. Enhance a debugging mechanism.
4138 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4139 "brace at column zero" strategy for C++.
4140 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4141 (c-parse-state-point): New variable.
4142 (c-record-parse-state-state): Record old parse state with
4143 `copy-tree'. Record previous value of point.
4144 (c-debug-parse-state-double-cons): New debugging function.
4145 (c-debug-parse-state): Call the above new function.
4146 (c-toggle-parse-state-debug): Output a confirmatory message.
4148 * progmodes/cc-mode.el (c-before-change, c-after-change):
4149 Call c-invalidate-state-cache from `c-before-change' instead of
4152 2012-11-23 Chong Yidong <cyd@gnu.org>
4154 * find-cmd.el (find-constituents): Add executable, ipath,
4155 readable, samefile, writable, daystart, regextype (Bug#12856).
4157 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4159 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4161 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4163 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4164 definition. This fixes a bootstrap failure.
4165 (calc-gregorian-switch): In menu, put dates before regions.
4166 This is easier to follow, lines up better in the menu, and lets us
4167 coalesce regions that switch at the same time. Give country
4168 names, not "Vatican", as that's better for non-expert users.
4169 Use names that are stable between the date of switch and now, e.g.,
4170 Bohemia and Moravia (which existed then and now) and not
4171 Czechoslovakia (which didn't exist then and doesn't exist now).
4172 What is now the U.S. mostly did not switch at the same time as
4173 Britain, so omit the U.S. Correct spelling of "Britain".
4174 Catholic Switzerland was too much of a mess, so omit it.
4176 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4178 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4179 after the variable is changed.
4181 2012-11-21 Daniel Colascione <dancol@dancol.org>
4183 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4184 in SQL declarations for font-lock.
4185 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4187 2012-11-21 Glenn Morris <rgm@gnu.org>
4189 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4190 (face-italic-p): Add optional argument "inherit".
4192 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4193 Remove -p suffix from names, for consistency with other set-face-*.
4194 (set-face-inverse-video): Fix interactive spec.
4195 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4196 * textmodes/table.el (table--update-cell-face):
4197 Use set-face-inverse-video rather than now obsolete alias.
4199 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4201 * simple.el (line-move): Don't call line-move-partial if
4202 scroll-conservatively is in effect. (Bug#12927)
4204 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4207 Fallback on completion-at-point rather than
4208 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4209 (eshell-cmpl-initialize): Setup completion-at-point.
4211 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4213 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4215 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4217 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4218 are remote, check out-of-band property for both.
4220 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4225 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4227 More minor time fixes.
4228 * calendar/time-date.el: Commentary fix.
4229 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4230 too much other code depends on (0 0) time stamps.
4231 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4232 Add a couple of FIXME comments.
4234 Minor cleanup for times as lists of four integers.
4235 * files.el (dir-locals-directory-cache):
4236 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4238 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4239 * ps-bdf.el (bdf-file-newer-than-time):
4240 Process four-integers time stamps, not two. Doc fixes.
4242 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * uniquify.el (uniquify-managed): Use defvar-local.
4245 (rename-buffer, create-file-buffer): Advise with advice-add.
4246 (uniquify-unload-function): Unadvise accordingly.
4248 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4249 (trace-buffer): Don't purecopy.
4250 (trace-entry-message, trace-exit-message): Add `context' arg.
4251 (trace--timer): New var.
4252 (trace-make-advice): Adjust for use in nadvice.
4253 Add `context' argument. Delay `display-buffer' via a timer.
4254 (trace-function-internal): Use advice-add.
4255 (trace--read-args): New function.
4256 (trace-function-foreground, trace-function-background): Use it.
4257 (trace-function): Rename to trace-function-foreground and redefine as
4258 an alias to that new name.
4259 (untrace-function, untrace-all): Adjust to the use of nadvice.
4261 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4263 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4265 * subr.el (called-interactively-p-functions): New var.
4266 (internal--called-interactively-p--get-frame): New macro.
4267 (called-interactively-p, interactive-p): Rewrite in Lisp.
4268 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4269 (called-interactively-p-functions): Use it.
4270 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4271 (called-interactively-p-functions): Use it.
4272 * allout.el (allout-called-interactively-p): Don't assume
4273 called-interactively-p is a subr.
4275 2012-11-20 Glenn Morris <rgm@gnu.org>
4277 * profiler.el (profiler-report-mode-map): Add a menu.
4278 No need to bind `q' because we derive from special-mode.
4279 (profiler-report-find-entry): Handle calls from the menu-bar.
4281 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * emacs-lisp/byte-run.el (defun-declarations-alist):
4284 Allow a compiler-macro to be a lambda expression.
4286 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4288 (python-syntax-context): Add compiler-macro.
4289 (python-font-lock-keywords): Simplify with De Morgan.
4291 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4293 * files.el (load-file): Require match in minibuffer selection, as was
4294 the case in Emacs-20 before we changed the spec to allow .elc files
4297 * json.el: Don't require cl since we don't use it.
4298 * color.el: Don't require cl.
4299 (color-complement): `caddr' -> `nth 2'.
4301 * calendar/time-date.el (time-to-seconds): De-obsolete.
4303 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4305 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4307 (math-date-to-julian-dt): Adjust the initial approximation for the
4308 year to deal with the new definition of the DATE.
4310 2012-11-19 Daniel Colascione <dancol@dancol.org>
4312 * term/w32-win.el (cygwin-convert-path-from-windows):
4313 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4315 2012-11-18 Chong Yidong <cyd@gnu.org>
4317 * filecache.el (file-cache--read-list): New function.
4318 (file-cache-add-directory-list, file-cache-add-file-list)
4319 (file-cache-delete-file-list, file-cache-delete-directory-list):
4320 Use it to read a list of files or directories (Bug#12846).
4321 (file-cache-add-file, file-cache-add-directory)
4322 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4323 (file-cache-delete-directory): Print an message.
4325 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4327 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4328 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4330 2012-11-18 Glenn Morris <rgm@gnu.org>
4332 * image.el (insert-image, insert-sliced-image): Doc fix.
4334 2012-11-18 Chong Yidong <cyd@gnu.org>
4336 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4339 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4341 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4342 response when the target file is in a subdirectory (Bug#12757).
4344 2012-11-18 Chong Yidong <cyd@gnu.org>
4346 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4348 2012-11-18 Glenn Morris <rgm@gnu.org>
4350 * emacs-lisp/cl-lib.el (face-underline-p):
4351 Use set-face-underline rather than the alias set-face-underline-p.
4353 * window.el (with-temp-buffer-window): Doc fix.
4354 * subr.el (with-output-to-temp-buffer):
4355 Add doc xref to with-temp-buffer-window.
4357 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4359 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4360 * calc/calc.el (math-format-date-cache): Declare.
4362 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4364 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4365 It also uses January 1, 1 AD as its day number 1.
4366 * calc/calc-forms.el (math-julian-date-beginning)
4367 (math-julian-date-beginning-int): Implement this.
4369 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4371 * descr-text.el (quail-find-key):
4372 * dired.el (desktop-file-name):
4373 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4374 * generic-x.el (comint-mode, comint-exec):
4375 * image-dired.el (widget-forward):
4376 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4377 (speedbar-change-expand-button-char)
4378 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4379 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4380 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4381 (widget-field-action, widget-value-set):
4382 * speedbar.el (imenu--make-index-alist):
4383 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4384 (ring-length, ring-insert):
4385 * vcursor.el (compare-windows-skip-whitespace):
4386 * woman.el (dired-get-filename):
4389 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4391 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4393 * calc/calc.el (calc-gregorian-switch): New variable.
4395 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4396 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4397 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4398 (math-leap-year-p): Add option to distinguish between Julian
4399 and Gregorian calendars.
4400 (math-day-number): Use `math-day-in-year' to do the computations.
4401 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4402 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4403 to do the computations.
4404 (math-date-to-dt): Use `math-date-to-julian-dt' and
4405 `math-date-to-gregorian-dt' to do the computations.
4406 (calcFunc-weekday, math-format-date-part): Use the new version of
4407 the DATE to determine the weekday.
4408 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4411 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4413 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4414 Cygwin; otherwise use 'file:'. (Bug#12914)
4415 (cygwin-convert-path-from-windows): Declare, to avoid
4416 byte-compiler warnings.
4418 2012-11-17 Andreas Politz <politza@fh-trier.de>
4420 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4421 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4422 prefix and negative numeric prefix args (Bug#12795).
4424 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4426 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4427 Don't signal an error with a score that is too low to add to the
4428 list of top scores. (Bug#12779)
4430 2012-11-17 Chong Yidong <cyd@gnu.org>
4432 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4434 * filecache.el (file-cache-add-file): Handle relative file name in
4435 the argument (Bug#12694).
4437 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4439 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4441 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4445 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4447 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4449 * window.el (enlarge-window, shrink-window): Don't mention return
4450 value in doc-string (Bug#12896).
4451 (window--display-buffer): Don't resize frames - it won't work
4452 with all window managers and defeat pop-up-frame-alist.
4453 (display-buffer-alist): In doc-string explain that CONDITION can
4454 be a function and which arguments are passed to it (Bug#12854).
4455 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4456 expressions (Bug#12854).
4457 (display-buffer): Pass ACTION argument to
4458 display-buffer-assq-regexp.
4460 2012-11-16 Glenn Morris <rgm@gnu.org>
4462 * window.el (fit-frame-to-buffer-bottom-margin)
4463 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4465 * faces.el (face-underline-p): Use face-attribute-specified-or.
4467 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4469 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4471 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4475 2012-11-16 Glenn Morris <rgm@gnu.org>
4477 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4478 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4480 * faces.el (face-underline-p): Doc fix. Handle :underline being
4481 things other than `t' (a string, a list).
4482 (face-inverse-video-p): Doc fix.
4483 (set-face-underline): Rename it back from set-face-underline-p.
4484 Doc fix. Allow interactive input of values other than t.
4485 (read-face-attribute): Apply formatting to :underline,
4486 since like :box and :stipple it can take list values.
4488 * term.el (ansi-term): Don't let C-x escape-char binding
4489 clobber the more standard C-c binding. (Bug#12842)
4491 * subr.el (set-temporary-overlay-map): Doc fix.
4493 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4495 * window.el (record-window-buffer)
4496 (display-buffer-record-window): When copying the markers to
4497 window-point preserve window-point-insertion-type. (Bug#12588)
4499 2012-11-16 Glenn Morris <rgm@gnu.org>
4501 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4502 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4503 Use new names for hooks rather than obsolete aliases.
4505 2012-11-15 Daniel Colascione <dancol@dancol.org>
4507 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4508 prefix instead of "file:" so that when FILE-NAME begins with "//",
4509 as it does when the target file is on a network share, url-handler
4512 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4515 a preactivated advice from an old advice.el; they're not compatible!
4517 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4519 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4520 Fix string-spec case.
4522 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4524 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4527 (advice--buffer-local-function-sample): New var.
4528 (advice--set-buffer-local, advice--buffer-local): New functions.
4529 (add-function, remove-function): Use them.
4531 2012-11-15 Drew Adams <drew.adams@oracle.com>
4533 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4535 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4537 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4538 potential binding of print-gensym to t, and prettify (back)quotes in
4539 case they appear in args's default values (bug#12884).
4541 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4544 (advice-eval-interactive-spec): New function.
4545 (advice--make-interactive-form): Support around advice (bug#12844).
4547 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4549 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4550 more strict. Add docstring.
4551 (ruby-expression-expansion-re): Extract from
4552 `ruby-match-expression-expansion'.
4553 (ruby-syntax-propertize-function): After everything else, search
4554 for expansions in string literals, mark their insides as
4555 whitespace syntax and save match data for font-lock.
4556 (ruby-font-lock-keywords): Use the 2nd group from expression
4558 (ruby-match-expression-expansion): Use the match data saved to the
4559 text property in ruby-syntax-propertize-function.
4561 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4566 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4568 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4569 start/end keyword a bit harder. Works with different values of N.
4571 (ruby-end-of-block): Update accordingly.
4573 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * woman.el (woman-file-name): Don't mess with unread-command-events
4578 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4579 Remove out of date self-require hack.
4580 (ad-do-advised-functions): Use simple `dolist'.
4581 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4582 (ad-advice-definition): Redefine as functions.
4583 (ad-advice-classes): Move before first use.
4584 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4585 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4586 (ad--defalias-fset): Remove functions.
4587 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4588 (ad-get-orig-definition): Rewrite.
4589 (ad-make-advised-definition-docstring): Change base docstring.
4590 (ad-real-orig-definition): Rewrite.
4591 (ad-map-arglists): Change name of called function.
4592 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4593 (ad-make-advised-definition): Simplify.
4594 (ad-assemble-advised-definition): Tweak for new calling context.
4595 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4596 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4597 function and call ad-activate if needed.
4598 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4599 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4600 (ad-compile-function): Compile ad-Advice-*.
4601 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4602 (ad-start-advice, ad-stop-advice): Remove.
4604 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4606 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4607 period before class method names, not after. Remove handling of
4608 one impossible case. Add comments.
4610 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * emacs-lisp/advice.el: Remove support for freezing.
4613 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4614 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4615 Remove support for `freeze'.
4617 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4618 override the default.
4619 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4621 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4624 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4626 (advice--strip-macro): New function.
4627 (advice--defalias-fset): Use them to handle macros.
4628 (advice-add): Use them.
4629 (advice-member-p): Correctly handle macros.
4631 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4633 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4634 Never font-lock the beginning of singleton class as heredoc.
4636 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4638 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4640 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4642 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4643 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4644 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4646 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4648 Fix end-of-defun misbehavior.
4649 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4650 python-beginning-of-defun-function. Handle nested defuns
4652 (python-nav-end-of-defun): Rename from
4653 python-end-of-defun-function. Ensure forward movement.
4654 (python-info-current-defun): Reimplement to work as intended
4655 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4656 parent defuns as soon as possible.
4658 2012-11-13 Glenn Morris <rgm@gnu.org>
4660 * progmodes/flymake.el (flymake-error-bitmap)
4661 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4662 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4664 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4666 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4667 backward, always stop at indentation. Reverts the change from
4668 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4670 2012-11-13 Glenn Morris <rgm@gnu.org>
4672 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4673 Add ibuffer-filter-by-derived-mode.
4675 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4676 the same name shadowing each other.
4678 * window.el (with-temp-buffer-window): Doc tweak.
4680 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4682 * help.el (temp-buffer-max-height):
4683 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4684 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4686 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * emacs-lisp/nadvice.el: New package.
4689 * subr.el (special-form-p): New function.
4690 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4691 (elp-all-instrumented-list): Remove var.
4692 (elp-not-profilable): Remove elp-wrapper.
4693 (elp-profilable-p): Use autoloadp and special-form-p.
4694 (elp--advice-name): New const.
4695 (elp-instrument-function): Use advice-add.
4696 (elp--instrumented-p): New predicate.
4697 (elp-restore-function): Use advice-remove.
4698 (elp-restore-all, elp-reset-all): Use mapatoms.
4699 (elp-set-master): Use elp--instrumented-p.
4700 (elp--make-wrapper): Rename from elp-wrapper, return a function
4701 suitable for advice-add. Use cl-inf.
4702 (elp-results): Use mapatoms+elp--instrumented-p.
4703 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4704 (debug-function-list): Remove var.
4705 (debug): Rename arg, and then let-bind it explicitly inside.
4706 (debugger-setup-buffer): Rename arg.
4707 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4708 (debugger-frame-number): Adjust to new debug-on-entry setup.
4709 (debug--implement-debug-on-entry): Rename from
4710 implement-debug-on-entry, add argument.
4711 (debugger-special-form-p): Remove, use special-form-p instead.
4712 (debug-on-entry): Use advice-add.
4713 (debug--function-list): New function.
4714 (cancel-debug-on-entry): Use it, along with advice-remove.
4715 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4716 (debugger-list-functions): Use debug--function-list instead of
4717 debug-function-list.
4718 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4719 (ad-special-form-p): Remove, use special-form-p instead.
4720 (ad-set-advice-info): Use add-function and remove-function.
4721 (ad--defalias-fset): Adjust accordingly.
4723 2012-11-10 Glenn Morris <rgm@gnu.org>
4725 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4726 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4727 (report-emacs-bug-create-existing-bugs-buffer)
4728 (report-emacs-bug-parse-query-results)
4729 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4731 * term.el (term-default-fg-color, term-default-bg-color):
4732 Make obsolete, rather than just saying "deprecated" in the doc.
4734 * term.el (term): Rename from `term-face'.
4735 (term-current-face, ansi-term-color-vector)
4736 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4739 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4741 * server.el (server-create-window-system-frame): Handle Nextstep
4742 specially (Bug#12780).
4744 2012-11-10 Glenn Morris <rgm@gnu.org>
4746 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4747 Unautoload, and make obsolete. (Bug#7449)
4749 2012-11-10 Chong Yidong <cyd@gnu.org>
4751 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4752 rename from diff-remove-trailing-whitespace (Bug#12831).
4754 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4756 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4757 miscompilation of trace.el.
4759 2012-11-10 Glenn Morris <rgm@gnu.org>
4761 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4763 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4765 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4768 2012-11-10 Chong Yidong <cyd@gnu.org>
4770 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4771 a defcustom with an appropriate :set function.
4772 (minibuffer-default--in-prompt-regexps): New function.
4774 2012-11-10 Glenn Morris <rgm@gnu.org>
4776 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4777 (define-modify-macro): Doc fixes.
4779 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4780 (gv-define-simple-setter): Update doc of `fix-return'.
4782 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4785 twice when `fix-return' is set (bug#12813).
4787 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4788 gv-define-simple-setter (bug#12812).
4790 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4793 2012-11-10 Glenn Morris <rgm@gnu.org>
4795 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4797 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4798 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4799 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4800 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4802 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4804 2012-11-10 Leo Liu <sdl.web@gmail.com>
4806 * ido.el (ido-set-matches-1): Improve flex matching performance by
4807 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4809 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4812 (ad--defalias-fset): New function.
4813 (ad-safe-fset): Remove.
4814 (ad-make-freeze-definition): Use cl-letf*.
4816 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * subr.el (dolist): Don't bind VAR in RESULT.
4820 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4821 (fset, documentation): Don't save real def since we don't advise.
4822 (ad-do-advised-functions): Remove problematic `result-form'.
4823 (ad-safe-fset): `ad-real-fset' => `fset'.
4824 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4825 uses CL's dolist internally.
4826 (ad-arglist): Remove unused arg `name'.
4827 (ad-docstring, ad-make-advised-docstring):
4828 `ad-real-documentation' => `documentation'.
4829 (warning-suppress-types): Declare.
4830 (ad-set-arguments): Simple CSE.
4831 (ad-recover-normality): Sanity check.
4833 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4834 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4836 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4838 * ses.el: symbol to coordinate mapping is made by symbol property
4839 `ses-cell'. This means that the same mapping is done for all SES
4840 sheets. That is good enough for cells with standard A1 names, but
4841 not for named cell. So a hash map is added for the latter.
4842 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4843 (ses-sym-rowcol): Use hashmap for named cell.
4844 (ses-is-cell-sym-p): New defun.
4845 (ses-decode-cell-symbol): New defun.
4846 (ses-create-cell-variable): Add cell to hashmap when name is not
4848 (ses-rename-cell): Check that cell new name is not already in
4849 spreadsheet with the use of ses-is-cell-sym-p
4850 (ses-rename-cell): Use hash map for named cells, but accept also
4851 renaming back to A1-like.
4853 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/advice.el: Use new dynamic docstrings.
4856 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4857 Use dynamic-docstring-function instead of ad-advice-info.
4858 (ad--make-advised-docstring): New function extracted from
4859 ad-make-advised-docstring.
4860 (ad-make-advised-docstring): Use it.
4861 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4863 (sql-help): Use it with dynamic-docstring-function.
4865 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4867 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * files.el (hack-one-local-variable--obsolete): New function.
4870 (hack-one-local-variable): Use it for obsolete settings.
4872 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4875 * progmodes/js.el (js--filling-paragraph): New var.
4876 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4877 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4880 2012-11-08 Julien Danjou <julien@danjou.info>
4882 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4883 `auto-mode-alist' (Bug#12835).
4885 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4888 (perl--prettify-symbols-alist): New const.
4889 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4891 (perl-font-lock-keywords-2): Use them.
4892 (perl-electric-noindent-p): New function.
4893 (perl-mode): Use it to set up electric-indent-mode.
4894 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4895 (perl-mode-map): Remove bindings for them.
4896 (perl-imenu-generic-expression, perl-outline-level):
4897 Match functions&packages in column>0.
4899 * env.el (env--substitute-vars-regexp): New const.
4900 (substitute-env-vars): Use it. Add `only-defined' arg.
4901 * net/tramp.el (tramp-replace-environment-variables): Use it.
4903 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4904 Byte-compile *before* eval in eval-and-compile.
4905 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4906 (byte-compile-file-form-autoload): Don't hide actual definition.
4907 (byte-compile-maybe-guarded): Accept `functionp' as well.
4909 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4911 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4913 * notifications.el (notifications-get-server-information-method):
4915 (notifications-get-capabilities): Fix docstring.
4916 (notifications-get-server-information): New defun.
4918 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4920 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4923 * textmodes/ispell.el: Experimental support for support debugging.
4924 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4926 (ispell-print-if-debug): New function to print stuff to
4927 `ispell-debug-buffer' if debugging is enabled.
4928 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4929 show some debugging info.
4930 (ispell-buffer-with-debug): New function that creates a debugging
4931 buffer and calls `ispell-buffer' with debugging enabled.
4933 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4934 comment in autoconf mode. (Bug#12768)
4936 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4938 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4939 frame-first-window, frame-root-window, frame-selected-window,
4940 minibuffer-selected-window, minibuffer-window,
4941 window-absolute-pixel-edges, window-at, window-body-height,
4942 window-body-width, window-display-table, window-combination-limit,
4943 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4944 window-inside-edges, window-inside-pixel-edges, window-left-child,
4945 window-left-column, window-margins, window-next-buffers,
4946 window-next-sibling, window-new-normal, window-new-total,
4947 window-normal-size, window-parameter, window-parameters, window-parent,
4948 window-pixel-edges, window-point, window-prev-buffers,
4949 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4950 window-start, window-text-height, window-top-child, window-top-line,
4951 window-total-height, window-total-width and window-use-time to the list
4952 of functions without side-effects.
4953 (toplevel): Add window-valid-p to the list of error-free functions
4954 without side-effects.
4956 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4958 * textmodes/ispell.el (ispell-program-name):
4959 Update spellchecker parameters when customized.
4961 2012-11-04 Glenn Morris <rgm@gnu.org>
4963 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4965 2012-11-04 Chong Yidong <cyd@gnu.org>
4967 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4968 same-window-* variables.
4970 2012-11-04 Juri Linkov <juri@jurta.org>
4972 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4973 (isearch-describe-key, isearch-describe-mode): Use a display
4974 action instead of binding same-window-* variables (Bug#10040).
4976 2012-11-03 Glenn Morris <rgm@gnu.org>
4978 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4979 Rename handler properties back from cl-- to cl-. (Bug#12788)
4981 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4983 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4985 * term/pc-win.el: Don't load term/internal from here.
4987 * loadup.el: Load term/internal from here.
4989 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4991 * progmodes/python.el (inferior-python-mode): Fix hang in
4992 jit-lock (Bug#12645).
4994 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4996 * window.el (switch-to-visible-buffer)
4997 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4999 2012-11-03 Glenn Morris <rgm@gnu.org>
5001 * emacs-lisp/cl-lib.el (cl--random-time):
5002 Rename from cl-random-time. (Bug#12773)
5003 (cl--gensym-counter, cl--random-state): Update callers.
5004 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5006 2012-11-03 Chong Yidong <cyd@gnu.org>
5008 * cus-start.el: Make cursor-type customizable (Bug#11633).
5010 2012-11-02 Glenn Morris <rgm@gnu.org>
5012 * filecache.el: No need to load find-lisp when compiling.
5013 (find-lisp-find-files): Autoload it.
5014 (file-cache-add-directory-recursively): Don't require find-lisp.
5016 * image.el (image-type-from-file-name): Trivial simplification.
5018 * emacs-lisp/bytecomp.el (byte-compile-eval):
5019 Decouple "noruntime" and "cl-functions" warnings.
5021 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5023 * play/gomoku.el (gomoku-display-statistics): Update mode line
5024 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5026 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5028 * window.el (quit-restore-window): If the window has been
5029 created on an existing frame and ended up as the sole window on
5030 that frame, do not delete it (Bug#12764).
5032 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5035 Rename from sh--inside-arithmetic-expression, handle more cases
5038 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5039 (sh-font-lock-open-heredoc): Use it (bug#12770).
5041 2012-10-30 Glenn Morris <rgm@gnu.org>
5043 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5045 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5047 2012-10-29 Chong Yidong <cyd@gnu.org>
5049 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5050 function key is stored in a keyboard macro (Bug#4894).
5052 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5054 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5058 (diff-unified->context, diff-context->unified)
5059 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5061 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5063 * files.el (find-alternate-file): Only ask one question (bug#12487).
5065 2012-10-29 Chong Yidong <cyd@gnu.org>
5067 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5068 Suggested by Dan Nicolaescu (Bug#6326).
5070 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5072 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5074 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5076 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5078 * face-remap.el (face-remap-add-relative): Handle the case where a
5079 face-remapping-alist entry is a cons cell (Bug#12762).
5081 2012-10-29 Kevin Ryde <user42@zip.com.au>
5083 * woman.el (woman-parse-numeric-value): Handle picas correctly
5086 2012-10-29 Glenn Morris <rgm@gnu.org>
5088 * emacs-lisp/cl.el (defsetf): Doc fix.
5090 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5093 syntax to the matching opener, if any (bug#12547).
5094 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5095 matching open as a "case-(".
5096 (sh-smie-rc-grammar): Add a corresponding rule for it.
5098 2012-10-28 Daniel Hackney <dan@haxney.org>
5100 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5101 "PKGNAME-autoloads.el" in case we created it.
5103 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5105 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5106 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5107 (completion--twq-all): Disable too-strict assertions.
5109 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5111 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5113 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5114 text to match the real keybindings.
5116 2012-10-27 Juri Linkov <juri@jurta.org>
5118 * wdired.el (wdired-keep-marker-rename): New defcustom.
5119 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5122 * dired.el (dired-keep-marker-rename): Add reference to
5123 `wdired-keep-marker-rename' in the docstring.
5124 Add default character value ?R to display initially in
5125 Customization UI instead of ?@.
5127 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5129 * window.el (display-buffer): In doc-string describe
5130 window-height and window-width alist entries.
5132 * time.el (display-time-world): Restore fit-window-to-buffer
5135 2012-10-27 Chong Yidong <cyd@gnu.org>
5137 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5139 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5141 * minibuffer.el (completion-category-overrides): New completion
5142 category `bookmark' (bug#11131).
5144 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5147 Silence bogus compiler warnings for ad-do-it.
5149 * bookmark.el (bookmark-completing-read): Set the completion category
5150 to `bookmark' (bug#11131).
5152 2012-10-26 Bastien <bzg@altern.org>
5153 Stefan Monnier <monnier@iro.umontreal.ca>
5155 * face-remap.el: Use lexical-binding.
5156 (text-scale-adjust): Improve docstring. Use itself for the temporary
5157 overlay-map bindings, so as to repeat the "Use..." message each time.
5159 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * emacs-lisp/macroexp.el (macroexp--expand-all):
5162 Obey byte-compile-warning-enabled-p (bug#12486).
5164 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5165 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5167 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5169 * mouse.el (mouse-drag-line): Move last form into preceding when
5172 * help.el (resize-temp-buffer-window): Fix doc-string.
5174 2012-10-25 David Engster <deng@randomsample.de>
5176 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5177 Remove. This feature is already integrated in imenu.
5179 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5180 always loaded. Require `speedbar' unconditionally.
5182 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5186 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5188 * net/ldap.el (ldap-search-internal): The official ldif format starts
5189 with a "version: 1" header (bug#12724).
5191 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5194 2012-10-25 Glenn Morris <rgm@gnu.org>
5196 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5198 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * minibuffer.el (minibuffer-force-complete): Use one more marker
5201 for the temporary-overlay-map command (bug#12619).
5203 2012-10-24 Chong Yidong <cyd@gnu.org>
5205 * time.el (display-time-world-mode): Derive from special-mode.
5206 (display-time-world): Use display-buffer (Bug#12708).
5207 (display-time-world-mode-map): Variable deleted.
5208 (display-time-world-display): Wrap the final delete-char inside
5211 2012-10-24 Chong Yidong <cyd@gnu.org>
5213 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5216 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5218 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * minibuffer.el (completion--all-sorted-completions-location): New var.
5221 (completion--cache-all-sorted-completions)
5222 (completion--flush-all-sorted-completions): Use it.
5223 (completion-in-region, completion-in-region--postch)
5224 (completion-at-point, completion-help-at-point): Use markers in
5225 completion-in-region--data (bug#12619).
5227 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * progmodes/compile.el (compilation-start): Try to handle common
5230 quoting of `cd' argument (bug#12640).
5232 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5235 2012-10-23 Glenn Morris <rgm@gnu.org>
5237 * progmodes/gud.el (gud-menu-map):
5238 Check gdb-active-process is bound. (Bug#12358)
5240 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * repeat.el (repeat): Set real-this-command (bug#12232).
5244 * htmlfontify.el (hfy-post-html-hook):
5245 * filesets.el (filesets-cache-fill-content-hook):
5246 * arc-mode.el (archive-extract-hook):
5247 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5248 * net/rcirc.el (rcirc-sentinel-functions)
5249 (rcirc-receive-message-functions, rcirc-activity-functions)
5250 (rcirc-print-functions):
5251 * net/dbus.el (dbus-event-error-functions):
5252 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5253 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5254 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5255 * term/sun.el (sun-raw-prefix-hooks):
5256 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5258 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5260 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5261 Set `tramp-chunksize' to 1. This improves the performance.
5262 (tramp-smb-wait-for-output): Add timeout to
5263 `tramp-accept-process-output' calls.
5265 2012-10-23 Chong Yidong <cyd@gnu.org>
5267 * faces.el (font-list-limit): Define as an obsolete variable.
5269 * startup.el (command-line):
5270 * cus-start.el: Don't refer to font-list-limit.
5272 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5274 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * subr.el (internal-temp-output-buffer-show): Rename from
5277 temp-output-buffer-show, since previously compiled files expect this name.
5279 2012-10-23 Glenn Morris <rgm@gnu.org>
5281 * image.el (image-type-from-file-name): If multiple types match,
5282 return the first one that is supported. (Bug#9045)
5284 2012-10-22 Glenn Morris <rgm@gnu.org>
5286 * image.el (imagemagick-enabled-types): Doc fix.
5288 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5290 * progmodes/which-func.el (which-func-current): The hash-table may have
5291 an explicit nil (bug#12338).
5293 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5295 * electric.el (electric-pair-delete-selection-self-insert-function):
5296 Rename to electric-pair-will-use-region, return a boolean.
5297 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5299 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5300 (delete-selection-pre-hook): Use use-region-p.
5301 (delete-selection-self-insert-function): Remove.
5302 (self-insert-command): Obey self-insert-uses-region-functions.
5303 (self-insert-iso): Revert to previous setting, since we don't actually
5304 know what that command does.
5305 (delete-selection-self-insert-hooks): Remove.
5307 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5309 * delsel.el (delete-selection-helper): New function, extracted from
5310 delete-selection-pre-hook.
5311 (delete-selection-pre-hook): Use it.
5312 (delete-selection-self-insert-function): New function.
5313 (delete-selection-self-insert-hooks): New hook.
5314 (self-insert-command, self-insert-iso): Use it.
5315 * electric.el (electric-pair-syntax): New function, extracted from
5316 electric-pair-post-self-insert-function.
5317 (electric-pair-post-self-insert-function): Use it.
5318 (electric-pair-delete-selection-self-insert-function): New function.
5319 (electric-pair-mode): Require delsel and setup
5320 delete-selection-self-insert-hooks (bug#11520).
5322 2012-10-20 Chong Yidong <cyd@gnu.org>
5324 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5325 no changes to show (Bug#12586).
5327 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5328 list explicitly (Bug#12571).
5330 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5332 * progmodes/flymake.el (flymake-create-temp-inplace):
5335 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5337 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5339 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5341 * calc/calc-units.el (math-extract-units): Properly extract powers
5344 2012-10-20 Daniel Colascione <dancol@dancol.org>
5346 * frame.el (make-frame): Set x-display-name as we used to in order
5347 to unbreak creating an X11 frame from an Emacs daemon started
5350 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5353 the same completion-field (bug#12221).
5355 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5357 * emacs-lisp/debug.el (debug): Record height of debugger window
5358 also when debugger will be back (Bug#8789).
5360 2012-10-18 Chong Yidong <cyd@gnu.org>
5362 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5363 Convert to defcustom.
5364 (gdb-get-source-file): Don't bind pop-up-windows.
5366 * progmodes/gud.el (gud-display-line): Don't specially re-use
5367 other frames for the gdb-mi case (Bug#12648).
5369 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * emacs-lisp/advice.el: Clean up commentary a bit.
5372 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5373 (byte-code-function-p): Never redefine.
5375 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5377 2012-10-18 Glenn Morris <rgm@gnu.org>
5379 * dired.el (dired-sort-toggle): Some ls implementations only allow
5380 a single option string. (Bug#12666)
5382 * minibuffer.el (completion-cycle-threshold): Doc fix.
5384 2012-10-17 Kenichi Handa <handa@gnu.org>
5386 * international/mule.el (set-keyboard-coding-system):
5387 Recover input meta mode when the new coding system doesn not use 8-bit.
5388 Supply TERMINAL arg to set-input-meta-mode.
5390 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5392 * wdired.el (wdired-old-marks): New variable.
5393 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5394 (wdired-do-renames): Move point with renamed file and don't lose
5395 mark status (Bug#11795).
5397 2012-10-16 Juri Linkov <juri@jurta.org>
5399 * replace.el (query-replace-help): Mention multi-buffer replacement
5400 keys in the Help message. (Bug#12655)
5402 2012-10-15 Chong Yidong <cyd@gnu.org>
5404 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5406 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5408 * window.el (display-buffer): Doc fix.
5410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5411 Adjust the msft regexp to the output of Studio 2010, and move msft
5412 before edg-1. See the discussion on emacs-devel,
5413 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5416 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5418 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5419 (oset): Move uses of object-class-fast macro after its definition.
5421 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5423 2012-10-13 Chong Yidong <cyd@gnu.org>
5425 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5426 enabled, re-enable it (Bug#11963).
5428 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5430 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5431 non-nil, restore window configuration (Bug#12623).
5433 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * help-fns.el (describe-variable, describe-function-1):
5436 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5438 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5440 2012-10-12 Glenn Morris <rgm@gnu.org>
5442 * mail/rmailsum.el (rmail-header-summary):
5443 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5445 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5447 * progmodes/python.el (python-mode-map):
5448 Replace subtitute-key-definition with proper command remapping.
5449 (python-nav--up-list): Fix behavior for blocks on the same level.
5451 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5455 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5456 changes to the format of load-history.
5458 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5459 completion-ignore-case in case that var is buffer-local (bug#12615).
5461 2012-10-11 Kenichi Handa <handa@gnu.org>
5463 * international/eucjp-ms.el: Re-generated.
5465 2012-10-10 Kenichi Handa <handa@gnu.org>
5467 * select.el (xselect--encode-string): If a coding is specified for
5468 selection, and that is compatible with COMPOUND_TEXT, use it.
5470 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5472 * window.el (switch-to-buffer-preserve-window-point): New option.
5474 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5476 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5479 Don't document nil as a useful value (bug#12583).
5481 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5483 * net/tramp.el (tramp-debug-message):
5484 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5485 (with-tramp-progress-reporter): Rename from
5486 `tramp-with-progress-reporter'.
5487 (with-tramp-file-property, with-tramp-connection-property):
5488 Move from tramp-cache.el, rename from `with-file-property' and
5489 `with-connection-property', respectively.
5491 * net/tramp-cache.el: Remove `with-file-property' and
5492 `with-connection-property'.
5495 * net/tramp-gvfs.el:
5497 * net/tramp-smb.el: Adapt callees.
5499 * net/trampver.el: Update release number.
5501 2012-10-09 Glenn Morris <rgm@gnu.org>
5503 * w32-fns.el (set-message-beep):
5504 * term/w32-win.el (set-message-beep): Update declarations.
5506 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5509 (mode-line-widen, mode-line-input-method-map)
5510 (mode-line-coding-system-map, mode-line-remote)
5511 (mode-line-unbury-buffer, mode-line-bury-buffer)
5512 (mode-line-next-buffer, mode-line-previous-buffer):
5513 Replace save-selected-window+select-window => with-selected-window.
5515 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5516 * progmodes/cc-vars.el (bq-process): Remove, unused.
5518 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5520 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5522 Implemented `backward-up-list'-like navigation.
5523 * progmodes/python.el (python-nav-up-list)
5524 (python-nav-backward-up-list): New functions.
5525 (python-mode-map): Define substitute key for backward-up-list to
5526 python-nav-backward-up-list.
5528 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5530 * progmodes/python.el (python-fill-paragraph): Rename from
5531 python-fill-paragraph-function. Fixed fill-paragraph for
5532 decorators (Bug#12605).
5534 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5536 * progmodes/python.el (python-shell-output-filter): Handle extra
5537 carriage return in OSX (Bug#12409).
5539 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5541 Fix shell handling of unbalanced quotes and parens in output.
5542 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5543 (python-syntax-propertize-function): Use it.
5544 (python-shell-output-syntax-table): New var.
5545 (inferior-python-mode): Prevent unbalanced parens/quotes from
5546 previous output mess with current input context.
5548 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5550 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5551 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5553 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5555 * ffap.el (ffap-replace-file-component): Support Tramp file name
5556 syntax, not only ange-ftp's one.
5558 2012-10-08 Glenn Morris <rgm@gnu.org>
5560 * cus-start.el (message-log-max): Set :version.
5562 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5564 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5566 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5567 the minibuffer window (Bug#10851).
5569 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5571 Enhancements on forward-sexp movement.
5572 * progmodes/python.el (python-nav-beginning-of-statement)
5573 (python-nav-end-of-statement): Return point-marker.
5574 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5575 (python-info-current-symbol)
5576 (python-info-statement-starts-block-p): Rename from
5577 python-info-beginning-of-block-p.
5578 (python-info-statement-ends-block-p): Rename from
5579 python-info-end-of-block-p.
5580 (python-info-beginning-of-statement-p)
5581 (python-info-end-of-statement-p)
5582 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5585 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5587 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5588 frame-selected-windows.
5590 2012-10-08 Daniel Colascione <dancol@dancol.org>
5592 * battery.el (battery-status-function): Check for
5593 w32-battery-status itself, not system-time windows-nt.
5595 * frame.el: Require cl-lib.
5596 (display-format-alist): New variable mapping frame types to
5597 functions that initialize them.
5598 (window-system-for-display): New function: interprets
5599 display-format-alist.
5600 (make-frame-on-display): Remove existing display-selection logic
5601 and just forward to make-frame, which will now DTRT.
5602 (make-frame): Restructure to use window-system-for-display to
5603 figure out how to create a frame on a given display.
5604 (display-mouse-p): Look for frame-type w32, not a particular
5607 * loadup.el: Load w32 lisp code when we have the w32 feature.
5609 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5610 system-type windows-nt.
5612 * server.el (server-create-window-system-frame): Look for window
5614 (server-proces-filter): Only force a window system when windows-nt
5615 _and_ w32. Explain why.
5617 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5618 of window systems we configure for the mode.
5620 * startup.el (command-line): Mark window system is initialized
5621 after we've done it.
5623 * common-win.el (x-select-text): Look for w32, not windows-nt.
5625 * ns-win.el: Require cl-lib. Add ourselves to
5626 display-format-alist.
5627 (ns-initialize-window-system): Assert we're not initialized twice.
5629 * w32-win.el: Enable lexical binding; require cl-lib; add
5630 ourselves to display-format-alist.
5631 (w32-handle-dropped-file): Convert incoming dropped files from
5632 Windows paths to Cygwin ones before passing them on to the rest of
5634 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5635 (w32-initialize-window-system): Assert we're not initialized twice.
5637 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5638 (x-initialize-window-system): Assert we're not initialized twice.
5640 * w32-common-fns.el: New File.
5641 (w32-version, w32-using-nt, w32-get-clipboard-data)
5642 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5643 (w32-charset-info-alist, x-last-selected, text)
5644 (x-get-selection-value, x-selection-value): Move here.
5646 * w32-fns.el: Require w32-common-fns.
5647 (w32-version, w32-using-nt, w32-get-clipboard-data)
5648 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5649 (w32-charset-info-alist, x-last-selected, text)
5650 (x-get-selection-value, x-selection-value): Move to
5654 (w32-allow-system-shell, w32-system-shells): Define only in
5657 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5660 (read-passwd): Remove a few more potential sources of leaks.
5662 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5664 * progmodes/python.el (inferior-python-mode)
5665 (python-shell-make-comint): Fix initialization of local
5666 variables copied from parent buffer.
5668 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5670 * term/ns-win.el (ns-read-file-name): Update declaration to match
5672 (ns-respond-to-change-font): Change fontsize separately so we are sure
5673 it is set when font is acted upon.
5675 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5677 Enhancements to indentation.
5678 * progmodes/python.el (python-indent-context): Give priority to
5679 inside-string context. Make comments indentation markers.
5680 (python-indent-region): Do not mess with strings, unless it's the
5681 enclosing set of quotes.
5683 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * window.el (internal--before-save-selected-window)
5686 (internal--after-save-selected-window): New functions extracted from
5687 save-selected-window. Make sure we return the `alist' we construct.
5688 (save-selected-window): Use them.
5690 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5691 Use with-selected-window.
5693 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5694 forms that define macros (bug#12593).
5696 2012-10-07 Kenichi Handa <handa@gnu.org>
5698 * international/mule-conf.el (compound-text-with-extensions):
5699 Add :mime-charset property as x-ctext.
5701 2012-10-07 Stefan Merten <smerten@oekonux.de>
5703 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5704 (rst-indent-literal-normal, rst-indent-literal-minimized)
5705 (rst-indent-comment): Correct :version tag.
5706 (rst-official-cvs-rev): Correct version string.
5708 2012-10-07 Glenn Morris <rgm@gnu.org>
5710 * mail/rmailmm.el (rmail-mime-process-multipart):
5711 Do not confuse a multipart message with an epilogue
5712 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5714 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5716 Fix shell output retrieval and comint-prompt-regexp init.
5717 * progmodes/python.el (inferior-python-mode):
5718 (python-shell-make-comint): Fix initialization of
5719 comint-prompt-regexp from copied file local variables.
5720 (python-shell-fetched-lines): Remove var.
5721 (python-shell-output-filter-in-progress): Rename from
5722 python-shell-fetch-lines-in-progress.
5723 (python-shell-output-filter-buffer): Rename from
5724 python-shell-fetch-lines-string.
5725 (python-shell-fetch-lines-filter): Delete function.
5726 (python-shell-output-filter): New function.
5727 (python-shell-send-string-no-output): Use them.
5729 2012-10-07 Glenn Morris <rgm@gnu.org>
5731 * hi-lock.el (hi-lock-process-phrase):
5732 Try to make it less fragile. (Bug#7161)
5734 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5736 2012-10-06 Glenn Morris <rgm@gnu.org>
5738 * ehelp.el (electric-help-mode): Use help-mode rather than
5739 non-existent mode `help'.
5740 (electric-help-map): Use button-buffer-map. (Bug#10917)
5742 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5743 (reftex-create-bibtex-footer): Fix custom types.
5745 * progmodes/sh-script.el (sh-indent-after-continuation):
5746 Add explicit :group.
5748 * textmodes/rst.el (rst-preferred-decorations)
5749 (rst-shift-basic-offset): Clarify obsolescence versions.
5751 * profiler.el (profiler): Add missing group :version tag.
5752 * avoid.el (mouse-avoidance-banish-position):
5753 * proced.el (proced-renice-command):
5754 * calc/calc.el (calc-ensure-consistent-units):
5755 * calendar/icalendar.el (icalendar-import-format-uid):
5756 * net/tramp.el (tramp-save-ad-hoc-proxies):
5757 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5758 * progmodes/flymake.el (flymake-error-bitmap)
5759 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5760 * progmodes/sh-script.el (sh-indent-after-continuation):
5761 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5762 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5763 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5764 (vhdl-array-index-record-field-in-sensitivity-list)
5765 (vhdl-indent-comment-like-next-code-line):
5766 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5767 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5768 (reftex-cite-key-separator, reftex-create-bibtex-header)
5769 (reftex-create-bibtex-footer):
5770 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5771 (rst-indent-literal-normal, rst-indent-literal-minimized)
5772 (rst-indent-comment): Add missing custom :version tags.
5774 * calendar/timeclock.el (timeclock-modeline-display):
5775 Add missing obsolete alias for renamed user option.
5777 * strokes.el (strokes-modeline-string):
5778 * emulation/crisp.el (crisp-mode-modeline-string):
5779 * eshell/esh-mode.el (eshell-status-in-modeline):
5780 Aliases to defcustoms must come before the defcustom.
5782 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5783 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5784 (cal-tex-cursor-week-monday): Doc fixes.
5785 (cal-tex-cursor-week2-summary): Doc fix.
5786 Rename from cal-tex-cursor-week-at-a-glance.
5788 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5789 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5791 * calendar/calendar.el (calendar-mode-map):
5792 Add cal-tex-cursor-week2-summary.
5794 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5798 * subr.el (read-passwd-map): New var.
5799 (read-passwd): Use `read-string' again.
5800 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5802 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5804 * register.el (append-to-register, prepend-to-register):
5805 Deactivate mark, as does `copy-to-register' (bug#12389).
5807 2012-10-06 Chong Yidong <cyd@gnu.org>
5809 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5811 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5813 * international/characters.el: Fix simple mistake ((car chars) ->
5814 elt), delete duplicated code.
5816 2012-10-06 Glenn Morris <rgm@gnu.org>
5818 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5820 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5822 * color.el (color-hsl-to-rgb): Fix incorrect results for
5823 small and large hue values. (Bug#12559)
5825 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5827 Enhancements to docstring formatting when filling paragraphs.
5828 * progmodes/python.el (python-fill-docstring-style): Rename from
5829 python-fill-string-style. Added new style.
5830 (python-fill-string): Use new style. Better checks for
5833 2012-10-05 Glenn Morris <rgm@gnu.org>
5835 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5837 * color.el (color-name-to-rgb, color-rgb-to-hex)
5838 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5839 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5840 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5841 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5843 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5845 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5847 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5848 to get the correct size across symlinks.
5850 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5852 2012-10-04 Juri Linkov <juri@jurta.org>
5854 * replace.el (query-replace-interactive): Declare obsolete.
5855 (query-replace-read-from): Add the last incremental search string
5856 to the list of default values accessible via M-n.
5857 (map-query-replace-regexp): Use `read-regexp'.
5858 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5859 (map-query-replace-regexp, replace-string, replace-regexp):
5860 Fix docstrings to replace mentions of `query-replace-interactive'
5861 with alternatives. (Bug#12526)
5863 2012-10-04 Juri Linkov <juri@jurta.org>
5865 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5866 (dired-pop-to-buffer): Declare obsolete.
5867 (dired-mark-pop-up): Doc fix.
5869 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5871 Allow user to set docstring style for fill-paragraph.
5872 * progmodes/python.el
5873 (python-fill-comment-function, python-fill-string-function)
5874 (python-fill-decorator-function, python-fill-paren-function):
5875 Remove :safe for defcustoms.
5876 (python-fill-string-style): New defcustom
5877 (python-fill-paragraph-function): Enhance context detection.
5878 (python-fill-string): Honor python-fill-string-style settings.
5880 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5882 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5883 after setting its buffer (Bug#10805).
5885 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5887 Fix cornercase for string syntax.
5888 * progmodes/python.el (python-syntax-propertize-function):
5889 Simplify and enhance the regexp for unescaped quotes. Now it also
5890 matches quotes in weird situations like the single quote in
5892 (python-syntax-stringify): Simplify num-quotes detecting code.
5894 2012-10-03 Glenn Morris <rgm@gnu.org>
5896 * help-macro.el (three-step-help):
5897 Revert 2012-09-29 change. (Bug#12567)
5899 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5901 * menu-bar.el (kill-this-buffer): Don't do anything when
5902 `menu-frame' is not alive or visible (Bug#8184).
5904 * emacs-lisp/debug.el (debug): When quitting the debugger window
5905 restore current buffer (Bug#12502).
5907 2012-10-02 Chong Yidong <cyd@gnu.org>
5909 * progmodes/hideif.el (hif-lookup, hif-defined):
5910 Handle semantic-c-takeover-hideif.
5912 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5914 Change sampling interval units from ms to ns.
5915 * profiler.el (profiler-sampling-interval): Change units
5916 from ms to ns, multiplying the default by 1000000 so that
5918 (profiler-report-cpu-line-format): Give enough room for
5919 the maximum counters on 64-bit hosts.
5920 (profiler-report-render-calltree-1): Call them "CPU samples",
5921 not "Time (ms)", since they are not milliseconds now (and
5924 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5926 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5927 Fix querying BBDB for entries without a last name (Bug#11580).
5929 2012-10-02 Chong Yidong <cyd@gnu.org>
5931 * emacs-lisp/eieio.el: Restore Version header.
5933 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * vc/diff-mode.el (diff--auto-refine-data): New var.
5936 (diff-hunk): Use it to delay refinement.
5937 (diff-mode): Remove overlays when we turn off font-lock.
5939 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5940 (table-initialize-table-fixed-width-mode)
5941 (table-set-table-fixed-width-mode): Remove functions.
5942 (table-command-list): Move initialization into declaration.
5943 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5944 (table-with-cache-buffer): Use `declare'.
5945 (table-span-cell): Simplify via CSE.
5946 (table-fixed-width-mode): Use define-minor-mode.
5947 (table-call-interactively, table-funcall, table-apply): Remove.
5948 (table-function): New function, to replace them.
5950 * bookmark.el (bookmark-search-pattern): Remove var.
5951 (bookmark-read-search-input): Remove function.
5952 (bookmark-bmenu-search): Reimplement using a minibuffer.
5954 * faces.el (modeline): Remove obsolete face name.
5956 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5957 and give a non-nil default value.
5958 (add-change-log-entry): Simplify accordingly.
5960 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5962 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5963 (vc-git-log-edit-toggle-amend): New function.
5964 (vc-git-log-edit-toggle-signoff): New function.
5965 (vc-git-log-edit-mode): New major mode.
5966 (vc-git-log-edit-mode-map): Keymap for it.
5967 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5969 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5971 (log-edit-toggle-header): New function.
5972 (log-edit-extract-headers): Accept function values in HEADERS alist.
5974 2012-10-01 David Engster <deng@randomsample.de>
5976 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5977 from symbol property and change message to be more consistent with
5979 (eieio-describe-generic): Add filename for each implementation.
5980 Fix indices for generic and normal methods.
5981 (eieio-method-def, eieio-class-def): New buttons.
5982 (eieio-help-find-method-definition)
5983 (eieio-help-find-class-definition): New functions.
5984 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5985 class, constructor and method definitions.
5987 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5988 information in symbol property.
5989 (scoped-class): Remove.
5990 (eieio-slot-name-index, call-next-method): Check if it is bound.
5992 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5994 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5995 (eieio-custom-mode): New major mode.
5996 (eieio-customize-object): Use it.
5998 2012-10-01 Eric Ludlam <zappo@gnu.org>
6000 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6001 specifying the expected class, and whether subclassing is allowed.
6002 (eieio-persistent-convert-list-to-object):
6003 (eieio-persistent-validate/fix-slot-value)
6004 (eieio-persistent-slot-type-is-class-p): New functions.
6005 (eieio-named::slot-missing): Doc fix.
6007 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6008 Stop using unused publd variable.
6010 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6011 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6012 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6013 (eieio-speedbar-handle-click): Do not specify a class for the
6014 method. Fixes method invocation order problems with EDE.
6016 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6019 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6021 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6023 * bookmark.el (bookmark-version-control): Give tags in the
6024 :type choices (Bug#12309), and improve doc string.
6025 (bookmark-write-file): Bind `print-circle' to `t' to allow
6026 circular custom bookmark types. (Bug#12503)
6028 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6030 Revert the FOLLOW-SYMLINKS change for file-attributes.
6031 * files.el (remote-file-name-inhibit-cache, after-find-file):
6032 * time.el (display-time-file-nonempty-p): Undo last change.
6034 * profiler.el (profiler-sampling-interval): Change default back to 1.
6035 See Stefan Monnier in
6036 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6038 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6040 Shell output catching a la gud-gdb.
6041 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6042 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6044 (python-shell-fetch-lines-filter): New function.
6045 (python-shell-send-string-no-output): Use them.
6047 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6049 * profiler.el (profiler-sampling-interval): Rename from
6050 profiler-sample-interval.
6051 (profiler-sampling-interval): Default to 10.
6052 (profiler-find-profile): New command (was profiler-find-log).
6053 (profiler-find-profile-other-window): New command.
6054 (profiler-find-profile-other-frame): New command.
6055 (profiler-profile): Introduce API-level data structure.
6057 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6059 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6060 * files.el (remote-file-name-inhibit-cache):
6061 * time.el (display-time-file-nonempty-p): Use it.
6062 * files.el (after-find-file): Don't chase links before calling
6063 file-exists-p, as file-exists-p already does the right thing.
6065 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6067 Merge from standalone RefTeX repository.
6069 The following ChangeLog entries are shortened versions of the
6070 original ones with file paths adapted. A not so strongly edited
6071 version of the original ChangeLog can be found in the commit log.
6073 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6074 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6075 Correctly handle new value type returned by `reftex-citation'.
6077 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6078 that entries with whitespace at various places are found.
6079 Doc fix. Include entries that are cross-referenced from cited entries.
6080 Include @String definitions in the resulting bib file. Add header
6081 and footer defined in `reftex-create-bibtex-header' and
6082 `reftex-create-bibtex-footer'.
6083 (reftex-do-citation): Make it possible again to insert
6084 non-existent entries. Save match data when asking for optional
6085 arguments. Return all keys, not just the first one.
6086 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6087 all citations in the same line.
6088 (reftex-parse-bibtex-entry): Accept additional optional argument
6089 `raw' and keep quotes or braces if it is non-nil. Match fields
6090 containing hyphens besides word constituents.
6091 (reftex-get-string-refs): New function.
6092 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6093 and ask if it should be reread in case it did.
6094 (reftex-pop-to-bibtex-entry)
6095 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6096 entries with spaces or tabs in front of arguments.
6097 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6098 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6099 Match entries containing numbers and symbol constituents.
6100 (reftex-do-citation, reftex-figure-out-cite-format):
6101 Use `reftex-cite-key-separator'.
6103 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6104 (reftex-mouse-view-crossref): Explain why point is set.
6106 * textmodes/reftex-global.el: Whitespace changes.
6108 * textmodes/reftex-index.el: Move provide statement to end of
6110 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6111 (reftex-index-visit-phrases-buffer): Set marker when visiting
6112 buffer. This allows for returning from the phrases file to the
6113 file one was just editing instead of the file where the last
6114 phrases was added from.
6115 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6116 punctuation syntax as it usually is not used as string quote in
6117 TeX-related modes and may occur unmatched. The change also
6118 prevents fontification of quoted content.
6119 (reftex-index-phrases-mode): Use it.
6121 * textmodes/reftex-parse.el (reftex-parse-from-file):
6122 Move backward one char if a `\' was matched after a section macro.
6123 (reftex-parse-from-file): Use beginning of match instead of end as
6126 * textmodes/reftex-ref.el: Adapt creation of
6127 `reftex-<package>-<macro>' functions to new structure of
6128 `reftex-ref-style-alist'.
6129 (reftex-reference): Use `reftex-ref-style-list' function.
6130 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6131 reference macro if `reftex-ref-macro-prompt' is non-nil.
6132 (reftex-reference): Pass refstyle to `reftex-format-special'.
6133 Determine reference macro by looking at
6134 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6135 Use only one special format function.
6136 (reftex-varioref-vref, reftex-fancyref-fref)
6137 (reftex-fancyref-Fref): Remove definitions. The functions are now
6138 generated from `reftex-ref-style-alist'.
6139 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6141 (reftex-format-special): New function.
6143 * textmodes/reftex-sel.el
6144 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6145 of `reftex-ref-style-alist'. Remove code for testing macro type.
6146 (reftex-select-toggle-varioref)
6147 (reftex-select-toggle-fancyref): Remove.
6148 (reftex-select-cycle-ref-style-internal)
6149 (reftex-select-cycle-ref-style-forward)
6150 (reftex-select-cycle-ref-style-backward): New functions.
6151 (reftex-select-label-map): Use `v' and `V' for general cycling
6152 through reference styles. Add `p' for switching between number
6153 and page reference types.
6155 * textmodes/reftex-toc.el (reftex-re-enlarge):
6156 Call `enlarge-window' only if there is something to do because in Emacs
6157 the horizontal version throws an error even if the parameter is 0.
6159 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6160 (reftex-plug-into-AUCTeX): Doc fix.
6161 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6162 string. Adapt to new name.
6163 (reftex-ref-style-alist): Change structure so that it is not
6164 possible to use multiple different package names within a style.
6165 Remove the symbols for symbols for macro type distinction.
6166 Add characters for macro selection.
6167 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6168 (reftex-create-bibtex-footer): New variables.
6169 (reftex-format-ref-function): Mention third argument of special
6171 (reftex-ref-style-alist, reftex-ref-style-default-list):
6173 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6174 to new implementation. Mark as obsolete. Add compatibility code
6175 for honoring the variable values in case they are set.
6176 (reftex-cite-format-builtin, reftex-bibliography-commands):
6177 Add support for ConTeXt.
6178 (reftex-format-ref-function, reftex-format-cite-function):
6180 (reftex-cite-key-separator): New variable.
6182 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6183 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6184 `reftex-syntax-table' because parens have to retain their paren
6185 syntax in order for parsing of BibTeX entries like @book(...) to
6187 (reftex-in-comment): Do not error out if `comment-start-skip' is
6188 not set. Deal correctly with escaped comment characters.
6189 (reftex-tie-multifile-symbols): Add doc string.
6190 Initialize `reftex-ref-style-list'.
6191 (reftex-untie-multifile-symbols): Add doc string.
6192 (reftex-add-index-macros): Doc fix.
6193 (reftex-ref-style-activate, reftex-ref-style-toggle)
6194 (reftex-ref-style-list): New functions.
6195 (reftex-mode-menu): Use them. Adapt to new structure of
6196 `reftex-ref-style-alist'.
6197 (reftex-select-with-char): Kill the RefTeX Select buffer when
6199 (reftex-remove-if): New function.
6200 (reftex-erase-all-selection-and-index-buffers)
6201 (reftex-mode-menu): Reference styles are now computed from
6202 `reftex-ref-style-alist'. Fix typo.
6203 (reftex-report-bug): New function.
6204 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6205 algorithms with O(n log n). Introduce optional argument SORT (not
6208 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6210 Enhancements for triple-quote string syntax.
6211 * progmodes/python.el (python-syntax-propertize-function):
6212 Match both quote cases in one regexp.
6213 (python-syntax-stringify): Handle matches properly.
6215 2012-09-30 Juri Linkov <juri@jurta.org>
6217 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6218 to nil around the call to `insert' to prevent
6219 directory time modification by lock_file. (Bug#2295)
6220 * tar-mode.el (tar-summarize-buffer): Idem.
6222 2012-09-30 Juri Linkov <juri@jurta.org>
6224 * facemenu.el (list-colors-sort): Add option "Luminance".
6225 (list-colors-sort-key): Implement it.
6227 * vc/diff-mode.el (diff-refine-removed):
6228 * vc/ediff-init.el (ediff-fine-diff-A):
6229 * vc/smerge-mode.el (smerge-refined-removed):
6230 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6232 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6234 * term/ns-win.el (x-file-dialog): New function.
6236 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6238 * ido.el (ido-max-directory-size): Default to nil; the current
6239 default is small for POSIX systems, and impractical on Windows 7
6240 now that lstat returns directory sizes for NTFS.
6242 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6244 In buffer display functions handle window-height/window-width
6245 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6246 * window.el (window--display-buffer): New argument ALIST.
6247 Obey window-height and window-width alist entries.
6248 (window--try-to-split-window): New argument ALIST.
6249 Bind window-combination-limit to t when the window's size shall be
6250 changed and window-combination-limit equals `window-size'.
6251 (display-buffer-in-atom-window)
6252 (display-buffer-in-major-side-window)
6253 (display-buffer-in-side-window, display-buffer-same-window)
6254 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6255 (display-buffer-pop-up-window, display-buffer-below-selected)
6256 (display-buffer-at-bottom, display-buffer-in-previous-window)
6257 (display-buffer-use-some-window): Adjust all callers of
6258 window--display-buffer and window--try-to-split-window.
6259 (fit-frame-to-buffer): New option.
6260 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6262 (display-buffer-in-major-side-window): Evaluate window-height /
6263 window-width alist entries.
6265 * help.el (temp-buffer-resize-frames)
6266 (temp-buffer-resize-regexps): Remove options.
6267 (temp-buffer-resize-mode): Adjust doc-string.
6268 (resize-temp-buffer-window): Don't consult
6269 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6270 temp-buffer-resize-frames.
6272 * dired.el (dired-mark-pop-up):
6273 Call display-buffer-below-selected with a fit-window-to-buffer alist
6276 2012-09-30 Chong Yidong <cyd@gnu.org>
6278 * server.el (server-host): Document the security implications.
6279 (server-auth-key): Doc fix.
6281 * startup.el (initial-buffer-choice): Doc fix.
6283 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6285 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6288 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6290 * help-fns.el (help-fns--obsolete): Fix last change.
6292 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6294 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6295 (minor-mode-map-alist): Remove redundant code.
6297 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6298 visited in a buffer.
6299 (cvs-insert-visited-file): New function.
6300 (find-file-hook): Use it.
6302 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6304 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6306 (log-edit-empty-buffer-p): Don't require a space after a header.
6308 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6310 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6312 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6313 a proper minor-mode.
6315 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6317 2012-09-29 Glenn Morris <rgm@gnu.org>
6319 * winner.el (winner-mode): Remove variable (let define-minor-mode
6321 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6323 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6324 (winner-mode): Use define-minor-mode.
6326 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6327 the full definition in loaddefs, rather than duplicating it.
6329 * help-macro.el (three-step-help): No need to autoload defcustom.
6331 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6332 (inferior-lisp-program, inferior-lisp-load-command)
6333 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6334 No need to autoload defcustoms.
6336 * hippie-exp.el (hippie-expand-try-functions-list)
6337 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6338 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6339 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6340 (hippie-expand-only-buffers): No need to autoload defcustoms.
6341 * progmodes/vhdl-mode.el (vhdl-line-expand):
6342 Explicitly load hippie-exp, so it does not get autoloaded
6343 while hippie-expand-try-functions-list is let-bound.
6345 2012-09-28 Glenn Morris <rgm@gnu.org>
6347 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6349 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6350 Only "cl.el" counts as cl these days.
6352 2012-09-28 Juri Linkov <juri@jurta.org>
6354 Display archive errors in the echo area instead of inserting
6357 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6358 to STDERR-TEST that can be a regexp matching a successful output.
6359 Create a temporary file and redirect stderr to it. Search for
6360 STDERR-TEST in the stderr output and display it in the echo area
6361 if no match is found.
6362 (archive-extract-by-file): New function like
6363 `archive-extract-by-stdout' but extracting archives to files
6364 and looking for successful matches in stdout. Function body is
6365 mostly copied from `archive-rar-extract'.
6366 (archive-rar-extract): Use `archive-extract-by-file'.
6367 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6369 2012-09-28 Leo Liu <sdl.web@gmail.com>
6371 * pcomplete.el (pcomplete-show-completions):
6372 Use minibuffer-message to make pcomplete usable in minibuffer.
6374 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6376 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * type-break.el: Use lexical-binding.
6379 (type-break-mode): Use define-minor-mode.
6381 * emacs-lisp/pcase.el (pcase--mark-used): New.
6382 (pcase--u1): Use it (bug#12512).
6384 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6385 in load-history with the right file name.
6387 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6389 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6390 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6391 (doc-view-get-bounding-box): Make bounding box slicing work for
6392 ODF and DVI documents.
6394 2012-09-28 Glenn Morris <rgm@gnu.org>
6396 * type-break.el (type-break-mode, type-break-interval)
6397 (type-break-good-rest-interval, type-break-keystroke-threshold):
6398 No need to autoload.
6399 (type-break-good-rest-interval, type-break-keystroke-threshold):
6402 2012-09-28 Chong Yidong <cyd@gnu.org>
6404 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6407 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6411 2012-09-27 Glenn Morris <rgm@gnu.org>
6413 * faces.el (x-display-name): Declare (for without-x builds).
6415 * linum.el (linum-format): Don't autoload it. Improve :type.
6417 * progmodes/tcl.el: Don't require outline when compiling.
6418 (outline-regexp, outline-level): Declare.
6419 * textmodes/sgml-mode.el: Don't require outline when compiling.
6420 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6422 * term.el (term-ansi-reset):
6423 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6425 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6426 files for RCS and SCCS. (Bug#9781)
6428 2012-09-27 Chong Yidong <cyd@gnu.org>
6430 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6431 change; value should be t.
6433 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * image-mode.el: Use lexical-binding.
6436 (image-mode-winprops): Use t to stand for the window of
6437 a buffer that's not displayed.
6438 * doc-view.el (doc-view-new-window-function): Handle the new
6440 (doc-view-enlarge): Make it a real nop if the size is not changed.
6441 (doc-view-display): Handle the case where the buffer is not (yet?)
6442 displayed in any window.
6443 (doc-view-saved-settings): New var.
6444 (doc-view-mode): Use it.
6445 (doc-view-fallback-mode): Set it.
6447 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6448 Set lexical-binding.
6449 (minibuffer-eldef-shorten-default): New var.
6450 (minibuffer-default-in-prompt-regexps): Use it for new default.
6451 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6453 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6455 * international/uni-bidi.el:
6456 * international/uni-category.el:
6457 * international/uni-name.el:
6458 * international/uni-numeric.el: Regenerate.
6460 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6461 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * profiler.el: New file.
6465 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6468 (testcover-reinstrument): Simplify with CSE.
6470 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6472 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6474 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6476 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6477 (verilog-auto-input, verilog-auto-insert-lisp)
6478 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6479 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6480 (verilog-auto-unused, verilog-auto-wire)
6481 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6482 newline. Reported by Andrew Jones.
6483 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6484 Reported by Brad Dobbie.
6485 (verilog-batch-delete-trailing-whitespace):
6486 Create verilog-batch-delete-trailing-whitespace.
6487 Reported by Brad Dobbie.
6488 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6489 parameters from another module. Reported by Dan Katz.
6490 (verilog-auto, verilog-auto-assign-modport)
6491 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6492 AUTOINOUTMODPORT for UVM interface module shell generation.
6493 Reported by Brad Dobbie.
6494 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6496 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6497 Reported by Matt Martin.
6499 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6501 * window.el (window--resize-child-windows): When resizing child
6502 windows proportionally, process them in reverse order to
6503 preserve the "when splitting a window the new one gets the odd
6505 (window--resize-root-window-vertically): When resizing the
6506 minibuffer window try to affect only windows at the bottom of the
6509 2012-09-25 Chong Yidong <cyd@gnu.org>
6511 * subr.el (declare): Doc fix.
6513 * help-fns.el (help-fns--obsolete): Handle macros properly.
6515 2012-09-25 Chong Yidong <cyd@gnu.org>
6517 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6518 this function obsolete.
6520 * calendar/cal-x.el (calendar-two-frame-setup)
6521 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6522 * calendar/calendar.el (american-calendar, european-calendar)
6523 (calendar-for-loop):
6524 * comint.el (comint-dynamic-simple-complete)
6525 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6526 * desktop.el (desktop-load-default):
6527 * dired-x.el (dired-omit-here-always)
6528 (dired-hack-local-variables, dired-default-directory):
6529 * emacs-lisp/derived.el (derived-mode-class):
6530 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6531 * emacs-lock.el (toggle-emacs-lock):
6532 * epa.el (epa-display-verify-result):
6533 * epg.el (epg-sign-keys, epg-start-sign-keys)
6534 (epg-passphrase-callback-function):
6535 * eshell/esh-util.el (eshell-for):
6536 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6537 (eshell-add-to-window-buffer-names):
6538 * files.el (locate-file-completion):
6539 * imenu.el (imenu-example--create-c-index)
6540 (imenu-example--create-lisp-index)
6541 (imenu-example--lisp-extract-index-name)
6542 (imenu-example--name-and-position):
6543 * international/mule-cmds.el (princ-list):
6544 * international/mule-diag.el (decode-codepage-char):
6545 * international/mule-util.el (detect-coding-with-priority):
6546 * iswitchb.el (iswitchb-read-buffer):
6547 * mail/mailalias.el (mail-complete):
6548 * mail/sendmail.el (mail-sent-via):
6549 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6550 (mouse-major-mode-menu):
6551 * password-cache.el (password-read-and-add):
6552 * pcomplete.el (pcomplete-parse-comint-arguments):
6553 * progmodes/sh-script.el (sh-maybe-here-document):
6554 * replace.el (query-replace-regexp-eval):
6555 * savehist.el (savehist-load):
6556 * simple.el (choose-completion-delete-max-match):
6557 * term.el (term-dynamic-simple-complete):
6558 * vc/ediff-init.el (ediff-check-version):
6559 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6560 * vc/vc.el (vc-diff-switches-list):
6561 * view.el (view-return-to-alist-update): Likewise.
6563 * subr.el (eval-next-after-load, makehash, insert-string)
6564 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6566 (mode-line-inverse-video): Variable deleted.
6568 * international/mule-util.el (string-to-sequence): Remove.
6570 * calendar/calendar.el (calendar-version):
6571 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6572 (icalendar-convert-diary-to-ical):
6573 * cus-edit.el (custom-mode):
6574 * ansi-color.el (ansi-color-unfontify-region):
6575 * international/latin1-disp.el (latin1-char-displayable-p):
6576 * progmodes/cwarn.el (turn-on-cwarn-mode):
6577 * progmodes/which-func.el (which-func-update-1):
6578 Use define-obsolete-function-alias.
6580 * net/newst-backend.el (newsticker-cache-filename):
6581 * net/newst-treeview.el (newsticker-groups-filename):
6582 Fix incorrect obsolescence declaration.
6584 * allout.el (allout-passphrase-hint-string): Likewise.
6585 (allout-init): Use a declare form to mark obsolete.
6587 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6588 this applies to functions.
6590 * iswitchb.el (iswitchb-read-buffer): Move code of
6591 iswitchb-define-mode-map here, and delete that obsolete function.
6593 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6594 font-lock-reference-face.
6596 2012-09-25 Glenn Morris <rgm@gnu.org>
6598 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6601 * eshell/em-term.el (eshell-term-name):
6602 Default to term-term-name. (Bug#12485)
6604 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6606 * progmodes/python.el (python-shell-send-buffer): Better handling
6607 of "if __name__ == '__main__':" conditionals when sending the buffer.
6609 2012-09-24 Glenn Morris <rgm@gnu.org>
6611 * eshell/esh-cmd.el (eshell-find-alias-function):
6612 Tighten up file-name regexp. (Bug#12499)
6614 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6616 Enhancements for triple-quote string syntax.
6617 * progmodes/python.el (python-quote-syntax): Remove.
6618 (python-syntax-propertize-function): New value.
6619 (python-syntax-count-quotes, python-syntax-stringify):
6622 2012-09-24 Chong Yidong <cyd@gnu.org>
6624 * mail/supercite.el (sc-version): Remove obsolete function.
6625 (sc-describe): Don't mark as obsolete, since it is bound.
6626 (sc-submit-bug-report): Remove.
6628 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6629 (cvs-commit-buffer-require-final-newline): Remove.
6630 (log-edit-require-final-newline)
6631 (log-edit-changelog-full-paragraphs): Default to t.
6633 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6634 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6635 * vc/vc.el (vc-checkout-carefully): Likewise.
6637 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6638 (emerge-version): Remove.
6640 * progmodes/compile.el (compile-internal): Remove.
6641 (compilation-parse-errors-function): Fix typo.
6643 * international/mule.el (set-char-table-default): Remove.
6644 (set-coding-priority, make-coding-system, generic-char-p)
6645 (charset-list, charset-bytes, charset-id): Use declare to mark
6646 functions as obsolete.
6648 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6649 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6650 * vc/vc-hooks.el (vc-default-registered): Don't use
6651 vc-master-templates.
6653 * font-lock.el (font-lock-reference-face):
6654 Use define-obsolete-variable-alias.
6656 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6657 * calendar/calendar.el (calendar-font-lock-keywords):
6658 * calendar/diary-lib.el (diary-font-lock-keywords)
6659 (diary-fancy-font-lock-keywords):
6660 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6661 * textmodes/reftex-index.el (reftex-insert-index):
6662 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6663 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6664 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6665 * progmodes/prolog.el (prolog-font-lock-keywords):
6666 * progmodes/idlwave.el (idlwave-idl-keywords):
6667 * progmodes/ada-mode.el (ada-font-lock-keywords):
6668 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6670 2012-09-24 Glenn Morris <rgm@gnu.org>
6672 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6674 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6676 * progmodes/python.el (python-indent-line): More consistent cursor
6679 2012-09-23 Stefan Merten <smerten@oekonux.de>
6681 * textmodes/rst.el: Fix compiler warning.
6683 2012-09-23 Roland Winkler <winkler@gnu.org>
6685 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6686 Transcribe also LaTeX hyphenation.
6687 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6688 bibtex-reformat-previous-options.
6690 2012-09-23 Roland Winkler <winkler@gnu.org>
6692 * proced.el (proced-renice-command): New variable.
6693 (proced-marked-processes): New function.
6694 (proced-with-processes-buffer): New macro.
6695 (proced-send-signal): Use them.
6696 (proced-renice): New command bound to r.
6698 2012-09-23 Roland Winkler <winkler@gnu.org>
6700 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6701 ibuffer-saved-filter-groups has one element, shortcut the call of
6702 completing-read. (Bug#12331)
6704 2012-09-23 Chong Yidong <cyd@gnu.org>
6706 * bindings.el (mode-line-toggle-read-only):
6707 * bs.el (bs-toggle-readonly):
6708 * buff-menu.el (Buffer-menu-toggle-read-only):
6709 * dired.el (dired-toggle-read-only):
6710 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6712 2012-09-23 Chong Yidong <cyd@gnu.org>
6714 * image.el (image-type-available-p): Adapt to init-image-library
6717 2012-09-22 Juri Linkov <juri@jurta.org>
6719 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6720 `dired-toggle-read-only'. (Bug#12462)
6722 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6724 * subr.el (temp-output-buffer-show): New function.
6725 (with-output-to-temp-buffer): Call temp-output-buffer-show
6726 instead of internal-temp-output-buffer-show.
6728 2012-09-22 Chong Yidong <cyd@gnu.org>
6730 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6733 * repeat.el (repeat): Doc fix (Bug#12348).
6735 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6738 * simple.el (shell-command-on-region): Doc fix.
6739 (read-only-mode): Doc fix.
6741 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6743 * emacs-lisp/timer.el (run-with-idle-timer)
6744 (timer-activate-when-idle): Warn against reinvoking an idle timer
6745 from within its own timer action. (Bug#12447)
6747 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6749 * cus-start.el (window-combination-limit): Add new optional
6751 * window.el (temp-buffer-window-show)
6752 (window--try-to-split-window): Handle new values of
6753 window-combination-limit (Bug#1806).
6754 (split-window): Test window-combination-limit for t instead of
6756 (display-buffer-at-bottom): New buffer display action function.
6757 * help.el (temp-buffer-resize-regexps): New option.
6758 (temp-buffer-resize-mode): Rewrite doc-string.
6759 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6760 Don't resize reused window. Suggested by Glenn Morris.
6762 2012-09-22 Stefan Merten <smerten@oekonux.de>
6764 * textmodes/rst.el: Revamp section title faces.
6765 (rst-official-version)
6766 (rst-package-emacs-version-alist): Sync with official version
6768 (rst-faces-defaults, rst-set-level-default)
6769 (rst-level-face-max, rst-level-face-base-color)
6770 (rst-level-face-base-light, rst-level-face-format-light)
6771 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6772 (rst-adornment-faces-alist): Match new setup.
6773 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6774 (rst-level-5, rst-level-6): New faces.
6776 2012-09-22 Chong Yidong <cyd@gnu.org>
6778 * simple.el (undo): Handle indirect buffers (Bug#8207).
6780 2012-09-21 Leo Liu <sdl.web@gmail.com>
6782 IDO: Disable match re-ordering for buffer switching.
6783 * ido.el (ido-buffer-disable-smart-matches): New variable.
6784 (ido-set-matches-1): Use it. (Bug#2042)
6786 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6788 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6789 Fix 2011-05-17 change. (Bug#12418)
6791 2012-09-21 Leo Liu <sdl.web@gmail.com>
6793 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6795 2012-09-21 Glenn Morris <rgm@gnu.org>
6797 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6798 Be more robust about locating simple.el.
6800 2012-09-21 Glenn Morris <rgm@gnu.org>
6802 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6804 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6806 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6808 2012-09-20 Juri Linkov <juri@jurta.org>
6810 * replace.el (query-replace-read-from): Use `read-regexp' instead
6811 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6812 (occur-read-primary-args): Use `read-regexp' instead of
6814 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6815 `read-from-minibuffer'.
6816 * isearch.el (isearch-occur): Use `read-regexp' instead of
6818 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6819 `read-from-minibuffer'.
6820 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6821 of `read-string'. (Bug#7567)
6823 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6824 and allow accepting a list of strings prepended to a list of
6825 standard default values. Doc fix. (Bug#12321)
6827 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6829 * replace.el (read-regexp): Don't add ": " when PROMPT already
6830 ends with a colon and space. (Bug#12321)
6832 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6834 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6837 2012-09-20 Stefan Merten <smerten@oekonux.de>
6839 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6840 Fixes feature request bug#11711.
6841 (rst-mode): Create `imenu-create-index-function'.
6842 (rst-get-stripped-line): Delete after refactoring.
6843 (rst-section-tree, rst-section-tree-rec)
6844 (rst-section-tree-point): Refactor and document properly.
6845 (rst-imenu-find-adornments-for-position)
6846 (rst-imenu-convert-cell, rst-imenu-create-index):
6849 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6852 (macroexp--expand-all): Use it.
6853 (macroexp--funcall-and-return): Remove by folding it into its sole
6854 caller (macroexp--warn-and-return).
6855 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6856 Use macroexp--obsolete-warning.
6858 * calc/calc.el: Fix last change by removing the whole chunk, since it
6859 was only needed back when Calc was not bundled.
6861 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6863 * emacs-lisp/debug.el (debug): Restore assignment to
6864 debugger-old-buffer removed on 2012-09-08.
6866 2012-09-20 Juri Linkov <juri@jurta.org>
6868 * dired-aux.el (dired-diff): Remove (require 'diff) since
6869 `diff-latest-backup-file' is now autoloaded.
6871 2012-09-20 Chong Yidong <cyd@gnu.org>
6873 * vc/diff.el (diff-latest-backup-file): Autoload.
6875 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * calc/calc.el: Remove redundant autoload shape check.
6878 (sel-mode): Don't defvar.
6879 (calc-get-stack-element): Add `sel-mode' arg instead.
6880 (calc-top, calc-top-list): Pass it this additional argument.
6881 * calc/calc-store.el (calc-store-map):
6882 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6883 (calc-map-equation, calc-outer-product, calc-inner-product):
6884 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6886 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6888 2012-09-19 Juri Linkov <juri@jurta.org>
6890 * dired-aux.el (dired-diff): Add (require 'diff) because
6891 `diff-latest-backup-file' is not autoloaded.
6892 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6893 of `dired-get-filename' to t to not report error when there is
6894 no default file on the current line.
6896 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6898 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6899 macroexp--eval-if-compile.
6900 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6901 (macroexp--expand-all): Use them (bug#12371).
6903 * doc-view.el (doc-view-guess-paper-size)
6904 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6906 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6908 New feature: set optimal slice from BoundingBox information.
6909 * doc-view.el (doc-view-mode-map): Add keybinding.
6910 (doc-view-menu): Add menu entry.
6911 (doc-view-set-slice): Adapt docstring.
6912 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6913 (doc-view-scale-bounding-box)
6914 (doc-view-set-slice-from-bounding-box): New functions.
6915 (doc-view-paper-sizes): New defvar.
6917 2012-09-19 Glenn Morris <rgm@gnu.org>
6919 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6920 (byte-compile-log-warning): Autoload. (Bug#12371)
6922 * calendar/calendar.el (calendar-american-month-header)
6923 (calendar-european-month-header, calendar-iso-month-header)
6924 (calendar-month-header): New options.
6925 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6926 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6928 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6930 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6932 2012-09-18 Juri Linkov <juri@jurta.org>
6934 * dired-aux.el (dired-diff): Restore original functionality of
6935 getting the default value, but keep new feature of using the
6936 latest existing backup file (`diff-latest-backup-file').
6938 2012-09-18 Juri Linkov <juri@jurta.org>
6940 * dired.el (dired-mark): If the region is active in Transient Mark
6941 mode, mark all files in the active region. Doc fix.
6942 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6943 Doc fix. (Bug#10624)
6945 2012-09-18 Juri Linkov <juri@jurta.org>
6947 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6948 attributes for M-n are pulled from the file at point.
6949 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6950 Suggested by Drew Adams. (Bug#10624)
6952 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6954 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6955 whitespace after "end".
6956 (ruby-do-end-to-brace): Collapse block to one line if it fits
6959 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6961 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6963 (debug): Don't remove debugger window when debugger is expected
6966 2012-09-18 Chong Yidong <cyd@gnu.org>
6968 * custom.el (defface): Doc fix.
6970 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6972 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6974 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6975 to initialize query-on-exit; then test that instead (bug#12288).
6977 2012-09-17 Stefan Merten <smerten@oekonux.de>
6979 * textmodes/rst.el: Add support for `testcover'.
6980 (rst-defcustom-testcover, rst-testcover-add-compose)
6981 (rst-testcover-add-1value): New functions.
6982 (rst-portable-mark-active-p): Replace by `use-region-p'.
6983 (rst-update-section, rst-classify-adornment)
6984 (rst-find-title-line): Mark `1value' forms.
6985 (rst-classify-adornment): Remove superfluous form.
6986 (rst-update-section, rst-get-adornments-around)
6987 (rst-adornment-complete-p, rst-get-next-adornment)
6988 (rst-adjust, rst-promote-region)
6989 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6990 (rst-find-pfx-in-region, rst-section-tree-rec)
6991 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6992 (rst-toc-node, rst-toc, rst-forward-section)
6993 (rst-iterate-leftmost-paragraphs)
6994 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6995 (rst-bullet-list-region)
6996 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6997 (rst-compile-find-conf, rst-compile)
6998 (rst-repeat-last-character): Fix style.
7000 2012-09-17 Chong Yidong <cyd@gnu.org>
7002 * comint.el (comint--complete-file-name-data): Don't add a space
7003 if the status is `sole'; that adds a gratuitous space in the
7004 completion-cycling case (Bug#12092).
7006 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7008 2012-09-17 Richard Stallman <rms@gnu.org>
7010 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7011 only in the mime-shown mode, not in raw mode.
7012 (rmail-mime): Toggle off mime by displaying the message without
7013 mime processing. (Bug#12305)
7015 * mail/rmail.el (rmail-retry-failure):
7016 Turn off mime processing first. (Bug#12037)
7018 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7020 2012-09-17 Chong Yidong <cyd@gnu.org>
7022 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7023 (shell-dynamic-complete-functions): Convert to defcustom.
7024 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7026 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7027 * comint.el (comint-prompt-read-only):
7028 * custom.el (defcustom):
7029 * hi-lock.el (hi-lock-mode):
7030 * ibuffer.el (ibuffer-formats):
7031 * ielm.el (ielm-prompt-read-only):
7032 * novice.el (disable-command):
7033 * saveplace.el (toggle-save-place):
7034 * speedbar.el (speedbar-supported-extension-expressions):
7035 * startup.el (auto-save-list-file-prefix, init-file-user)
7036 (after-init-hook, inhibit-startup-echo-area-message):
7037 * strokes.el (strokes-help):
7038 * time-stamp.el (time-stamp):
7039 * calendar/calendar.el (calendar, diary-file):
7040 * calendar/diary-lib.el (diary-mail-entries, diary)
7041 (diary-list-entries-hook):
7042 * calendar/holidays.el (holidays, calendar-holidays):
7043 * calendar/lunar.el (lunar-phases):
7044 * calendar/solar.el (sunrise-sunset):
7045 * emulation/edt.el (edt-load-keys):
7046 * emulation/viper.el (viper-mode):
7047 * eshell/em-alias.el (eshell-command-aliases-list):
7048 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7049 * international/ogonek.el (ogonek-information):
7050 * net/tramp-cmds.el (tramp-bug):
7051 * net/quickurl.el (quickurl-reread-hook-postfix):
7052 * play/decipher.el (decipher-font-lock-keywords):
7053 * progmodes/cc-styles.el (c-set-style):
7054 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7055 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7056 * progmodes/octave-mod.el (octave-mode):
7057 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7058 * progmodes/verilog-mode.el (verilog-read-defines):
7059 * textmodes/two-column.el (2C-mode): Likewise.
7061 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7063 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7064 that holds many addresses.
7066 2012-09-16 Chong Yidong <cyd@gnu.org>
7068 * align.el (align-areas): Call the indication function with
7069 positions instead of markers for arguments (Bug#12343).
7071 * files.el (parse-colon-path): Use split-string (Bug#12351).
7073 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7074 (display-buffer-function): Mark as obsolete.
7076 * progmodes/compile.el (compilation-parse-errors): Accept list
7077 values similar to font-lock-keywords (Bug#12136).
7078 Suggested by Oleksandr Manzyuk.
7079 (compilation-error-regexp-alist): Doc fix.
7081 2012-09-15 Glenn Morris <rgm@gnu.org>
7083 * version.el (emacs-bzr-version-bzr): New function.
7084 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7086 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7087 checkouts, check the parent dirstate matches the branch.
7088 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7091 * version.el (emacs-bzr-version): Doc fix.
7092 (emacs-bzr-version-dirstate): New function.
7093 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7094 is local try and check that it matches the branch. If not, just
7095 use dirstate information. (Bug#12441)
7097 2012-09-14 Juri Linkov <juri@jurta.org>
7099 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7102 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7106 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7107 Remove obsolete byte-compiler hack that tried to silence some warnings.
7108 (edebug-submit-bug-report): Remove.
7109 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7110 Remove aliases, use the un-prefixed name instead.
7111 (edebug-pop-to-buffer): Consider other frames.
7112 (edebug-original-read):: Make it more obvious that it's always defined.
7113 (edebug--make-form-data-entry, edebug--form-data-name)
7114 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7115 single-dashed name, and implement with cl-defstruct.
7116 (edebug-set-form-data-entry): Use the standard accessors.
7117 (edebug-make-top-form-data-entry): Use push.
7118 (edebug-no-match): Drop useless `funcall'.
7119 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7121 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7122 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7123 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7124 (easy-menu-define, with-custom-print): Remove redundant specs.
7125 (edebug-outside-overriding-local-map)
7126 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7127 (edebug--display): Bind unread-command-events directly to nil rather
7128 than binding it to unread-command-events and later setting it to nil.
7129 (edebug--display): Kill edebug-eval-buffer here...
7130 (edebug--recursive-edit): ...rather than here.
7131 Bind standard-output and standard-input.
7132 (edebug-eval): Check cl-macroexpand-all is fboundp.
7133 (edebug-temp-display-freq-count): Fix last change.
7135 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7136 * subr.el (noreturn, 1value): Add `debug' spec.
7137 * emacs-lisp/advice.el: Require cl-lib.
7138 (ad-copy-tree): Remove, use copy-tree instead.
7139 (ad-dolist): Remove use dolist or cl-dolist instead.
7140 (ad-do-return): Remove, use cl-return instead.
7141 (defadvice): Add `debug' spec.
7143 2012-09-13 Juri Linkov <juri@jurta.org>
7145 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7148 2012-09-13 Glenn Morris <rgm@gnu.org>
7150 * calc/calc.el (math-compose-expr):
7151 * calc/calc-ext.el (math-compose-expr):
7152 * progmodes/cc-defs.el (cl-macroexpand-all):
7153 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7154 (cl-macroexpand-all): Update declarations.
7156 * vc/vc.el: No need to require ediff.
7157 (ediff-load-version-control): Declare.
7158 (ediff-vc-internal): Fix declaration.
7159 (vc-version-ediff): Require ediff.
7161 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7163 Use a more backwards-compatible timer format (Bug#12430).
7164 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7165 being right after USECS, as that better supports old code that
7166 inadvisedly looked directly at the timer vector.
7168 2012-09-13 Kenichi Handa <handa@gnu.org>
7170 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7171 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7172 `coding-priority' property of these language environment.
7174 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7176 Fix glitches caused by addition of psec to timers (Bug#12430).
7177 * image.el (image-animate-timer):
7178 * time.el (display-time-world-timer):
7179 Use timer--function and timer--args rather than raw access to
7182 2012-09-13 Glenn Morris <rgm@gnu.org>
7184 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7185 If not compiling a file, try using load-file-name.
7187 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7191 (edebug-update-eval-list): Use `push'.
7193 * emacs-lisp/edebug.el: Use lexical-binding.
7194 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7195 Mark unused args with underscore.
7196 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7197 (edebug-form-data): Use defvar-local.
7198 (edebug-make-before-and-after-form, edebug-make-after-form):
7200 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7201 Not dynamically scoped any more.
7202 (edebug--enter-trace): Add arguments `function' and `args'.
7203 Rename from edebug-enter-trace.
7204 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7205 (edebug--update-coverage): Add `after-index' and `value' args.
7206 Rename from edebug-update-coverage.
7207 (edebug-slow-after): Call it accordingly.
7208 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7209 edebug-recursive-edit.
7210 (edebug--display): Call it accordingly. Add args `value',
7211 `offset-index', and `arg-mode'. Rename from edebug-display.
7212 (edebug-debugger, edebug): Call it accordingly.
7213 (edebug-eval-display-list): Use dolist.
7215 2012-09-12 Juri Linkov <juri@jurta.org>
7217 * info.el (Info-search): Don't check for isearch-mode and
7218 isearch-regexp before let-binding search-spaces-regexp to
7219 Info-search-whitespace-regexp.
7220 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7221 search-whitespace-regexp if isearch-lax-whitespace or
7222 isearch-regexp-lax-whitespace is non-nil.
7223 (Info-mode): Don't set local variable search-whitespace-regexp.
7224 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7226 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7229 (debugger-env-macro): Remove support for unread-command-char.
7231 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7232 the temporary map re-appearing on emulation-mode-map-alists.
7234 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7237 * ehelp.el (with-electric-help): Accept functions in
7238 electric-help-form-to-execute.
7239 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7240 And replace unread-command-char -> unread-command-events.
7242 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7244 Sync with Tramp 2.2.6.
7246 * net/tramp.el (tramp-accept-process-output): Don't use
7247 JUST-THIS-ONE in the XEmacs case.
7249 * net/trampver.el: Update release number.
7251 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7253 * emacs-lisp/debug.el (debugger-previous-window-height):
7255 (debug): When debugger-jumping-flag is non-nil try to restore
7256 height of debugger window. (Bug#8789)
7258 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7261 overriding-local-map and pre/post-command-hook here.
7262 (edebug-recursive-edit): Do it here instead (bug#12345).
7263 (edebug-outside-unread-command-char): Remove all uses of
7264 unread-command-char.
7266 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7267 inhibit-debugger is bound instead.
7269 2012-09-11 Bastien Guerry <bzg@gnu.org>
7271 * subr.el (set-temporary-overlay-map): Add a docstring.
7274 2012-09-11 Bastien Guerry <bzg@gnu.org>
7276 * minibuffer.el (completion-table-subvert): Fix docstring.
7279 2012-09-11 Bastien Guerry <bzg@gnu.org>
7281 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7283 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7285 * progmodes/sql.el: Version 3.1
7286 (sql-db2-escape-newlines): New variable.
7287 (sql-escape-newlines-filter): Use it.
7289 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7291 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7293 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7295 * vc/diff-mode.el (diff-mode-menu):
7296 Bind diff-remove-trailing-whitespace.
7298 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7301 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7302 (emacs-lisp-byte-code-mode): New functions.
7303 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7304 (eval-defun-2): Remove bogus interactive spec.
7305 (lisp-indent-line): Remove redundant whole-exp code, now done in
7306 indent-according-to-mode.
7307 (save-match-data): Remove redundant indent data.
7309 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7312 2012-09-09 Juri Linkov <juri@jurta.org>
7314 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7315 (replace-lax-whitespace, query-replace-regexp)
7316 (query-replace-regexp-eval, replace-regexp): Doc fix.
7317 (perform-replace, replace-highlight): Let-bind
7318 isearch-lax-whitespace to replace-lax-whitespace and
7319 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7321 * isearch.el (isearch-query-replace): Let-bind
7322 replace-lax-whitespace to isearch-lax-whitespace and
7323 replace-regexp-lax-whitespace to
7324 isearch-regexp-lax-whitespace. (Bug#10885)
7326 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7328 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7330 2012-09-09 Alan Mackenzie <acm@muc.de>
7332 * progmodes/cc-engine.el (c-state-cache-init):
7333 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7334 (c-record-parse-state-state):
7335 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7337 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7339 * register.el (register-separator): Rename from
7340 separator-register. All uses changed. Doc fix.
7341 (register): Fix version.
7343 2012-09-09 Chong Yidong <cyd@gnu.org>
7345 * replace.el (query-replace-map): Bind four new symbols for
7346 requesting window scrolling.
7348 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7349 query-replace-map (Bug#8948).
7351 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7353 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7354 since they are now in query-replace-map.
7356 * window.el (scroll-other-window-down): Make the arg optional.
7358 2012-09-09 Chong Yidong <cyd@gnu.org>
7360 * files.el (hack-local-variables-confirm): Use quit-window to kill
7361 the *Local Variables* buffer.
7363 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7365 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7366 not just expect to be at its beginning. Adjust callees.
7367 Succeed when do-end block has no space before the pipe character.
7368 (ruby-brace-to-do-end): When the original block is one-liner,
7369 convert to multiline. Reindent the result.
7371 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7373 * register.el (register): New group.
7374 (separator-register): New user option.
7375 (increment-register): Route it to `append-to-register', if
7376 register contains text. Implication is that `C-x r +' can now be
7377 used for appending to a text register (bug#12217).
7378 (append-to-register, prepend-to-register): Add separator based on
7379 `separator-register'.
7381 2012-09-08 Alan Mackenzie <acm@muc.de>
7383 AWK Mode: make auto-newline work when there's "==" in the pattern.
7384 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7386 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7387 Test more rigorously for "=" token.
7389 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7391 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7392 Only fail when reached LIMIT.
7394 2012-09-08 Chong Yidong <cyd@gnu.org>
7396 * dired.el (dired-mode-map): Don't bind M-=.
7398 * dired-aux.el (dired-diff): Use backup file as default.
7400 2012-09-08 Drew Adams <drew.adams@oracle.com>
7402 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7404 2012-09-08 Chong Yidong <cyd@gnu.org>
7406 * subr.el (syntax-after, syntax-class): Doc fix.
7408 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7410 * window.el (display-buffer-in-previous-window): New buffer
7411 display action function.
7413 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7414 (debugger-previous-window): New variable.
7415 (debug): Rewrite using display-buffer-in-previous-window,
7416 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7418 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7420 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7422 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7424 * progmodes/python.el (python-shell-send-string):
7425 When default-directory is remote, create temp file on remote
7427 (python-shell-send-file): When file is remote, pass local view of
7428 file paths to remote Python interpreter. (Bug#12340)
7430 2012-09-07 Chong Yidong <cyd@gnu.org>
7432 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7434 * files.el (after-find-file): Don't fail on a read-only buffer if
7435 require-final-newline is `visit' or `visit-save' (Bug#11156).
7437 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7439 * userlock.el (ask-user-about-supersession-threat):
7440 Use read-char-choice (Bug#12093).
7442 2012-09-07 Chong Yidong <cyd@gnu.org>
7444 * subr.el (buffer-narrowed-p): New function.
7446 * ses.el (ses-widen):
7447 * simple.el (count-words--buffer-message):
7448 * net/browse-url.el (browse-url-of-buffer): Use it.
7450 * simple.el (count-words-region): Don't signal an error if there
7451 is a non-nil prefix arg and the mark is not set.
7453 * help.el (describe-key-briefly): Allow the message to be seen
7454 when invoked from the minibuffer (Bug#7014).
7456 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7458 * progmodes/ruby-mode.el (ruby-end-of-defun)
7459 (ruby-beginning-of-defun): Simplify, allow indentation before
7460 block beginning and end keywords.
7461 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7462 (ruby-end-of-defun): Expect that the point is at the beginning of
7465 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7469 (cl--make-usage-args): Strip _ from argument names.
7471 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7473 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7474 obsolete alias speedbar-key-map.
7475 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7476 (vhdl-index-menu-init): Don't use obsolete variable
7477 font-lock-maximum-size.
7479 2012-09-06 Chong Yidong <cyd@gnu.org>
7481 * frame.el (window-system-version): Mark as obsolete.
7483 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7484 of obsolete variable speedbar-key-map.
7486 2012-09-06 Juri Linkov <juri@jurta.org>
7488 * replace.el (replace-lax-whitespace): New defcustom.
7489 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7490 (replace-string, replace-regexp): Mention it in docstrings.
7491 (perform-replace, replace-highlight): Let-bind
7492 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7493 to the values of replace-lax-whitespace and regexp-flag.
7494 Don't let-bind search-whitespace-regexp. (Bug#10885)
7496 * isearch.el (isearch-query-replace): Let-bind
7497 replace-lax-whitespace instead of let-binding
7498 replace-search-function and replace-re-search-function.
7499 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7500 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7501 (isearch-toggle-symbol): Set isearch-regexp to nil
7502 in isearch-word mode (like in isearch-toggle-word).
7504 2012-09-06 Juri Linkov <juri@jurta.org>
7506 * replace.el (replace-search-function)
7507 (replace-re-search-function): Set default values to nil.
7508 (perform-replace): Let-bind isearch-related variables based on
7509 replace-related values, call `isearch-search-fun' and let-bind
7510 the result to `search-function'. Remove code that sets
7511 `search-function' and `search-string' separately for
7513 (replace-highlight): Add new argument `delimited-flag' and
7514 rename other arguments to the names used in `perform-replace'.
7515 Let-bind `isearch-word' to the argument `delimited-flag'.
7516 (Bug#10885, bug#10887)
7518 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7520 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7521 ruby-beginning-of-indent, simplify, allow all keywords to have
7522 indentation before them.
7523 (ruby-beginning-of-indent): Adjust for above. Search until the
7524 found point is not inside a string or comment.
7525 (ruby-font-lock-keywords): Allow symbols to start with "@"
7526 character, give them higher priority than variables.
7527 (ruby-syntax-propertize-function)
7528 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7529 matchers. Expression expansions are not comments when inside a
7530 string, and there comment syntax status is irrelevant.
7531 (ruby-match-expression-expansion): New function. Check that
7532 expression expansion is inside a string, and it's not escaped.
7533 (ruby-font-lock-keywords): Use it.
7535 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7537 * help.el (temp-buffer-max-height): New default value.
7538 (temp-buffer-resize-frames): New option.
7539 (resize-temp-buffer-window): Optionally resize frame.
7541 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7542 (fit-frame-to-buffer): New function.
7544 2012-09-05 Glenn Morris <rgm@gnu.org>
7546 * emulation/cua-rect.el (cua--init-rectangles):
7547 * textmodes/picture.el (picture-mode-map):
7548 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7549 like forward-char and backward-char. (Bug#12317)
7551 2012-09-05 Leo Liu <sdl.web@gmail.com>
7553 * progmodes/flymake.el (flymake-warning-re): New variable.
7554 (flymake-parse-line): Use it.
7556 2012-09-05 Glenn Morris <rgm@gnu.org>
7558 * calendar/holidays.el (holiday-christian-holidays):
7559 Rename an entry. (Bug#12289)
7561 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7566 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7568 * loadup.el: Load macroexp. Remove hack.
7569 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7570 (macroexp--expand-all): Use it to get better warnings.
7571 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7572 (internal-macroexpand-for-load): New functions.
7573 (macroexp--pending-eager-loads): New var.
7574 (emacs-startup-hook): New hack to replace one in loadup.el.
7575 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7576 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7577 (cl-psetf): Simplify.
7578 (cl-defstruct): Add indent rule.
7580 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7582 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7583 over `user-mail-address' for the SMTP MAIL FROM envelope.
7584 (smtpmail-via-smtp): Ditto.
7586 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7588 * progmodes/ruby-mode.el: Clean up keybindings.
7589 (ruby-mode-map): Don't bind ruby-electric-brace,
7590 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7591 backward-kill-word, reindent-then-newline-and-indent.
7592 (ruby-mark-defun): Remove.
7593 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7594 (ruby-mode): Set local beginning-of-defun-function and
7595 end-of-defun-function values.
7597 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7599 * window.el (temp-buffer-window-setup-hook)
7600 (temp-buffer-window-show-hook): New hooks.
7601 (temp-buffer-window-setup, temp-buffer-window-show)
7602 (with-temp-buffer-window): New functions.
7603 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7604 (special-display-popup-frame): Make sure the window used shows BUFFER.
7606 * help.el (temp-buffer-resize-mode): Fix doc-string.
7607 (resize-temp-buffer-window): New optional argument WINDOW.
7609 * files.el (recover-file, save-buffers-kill-emacs):
7610 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7612 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7614 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7615 remote definition of `default-directory', ensure we can connect.
7617 2012-09-02 Juri Linkov <juri@jurta.org>
7619 Toggle whitespace matching mode with M-s SPC.
7620 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7622 * isearch.el (search-whitespace-regexp): Doc fix.
7623 Remove cons cell customization.
7624 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7625 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7627 (isearch-forward, isearch-forward-regexp): Doc fix.
7628 (isearch-toggle-lax-whitespace): New command.
7629 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7630 (re-search-forward-lax-whitespace)
7631 (re-search-backward-lax-whitespace): New functions.
7632 (isearch-whitespace-regexp): Remove function.
7633 (isearch-query-replace): Let-bind replace-search-function and
7634 replace-re-search-function.
7635 (isearch-occur): Let-bind search-spaces-regexp according to the
7636 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7637 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7638 condition for C-q SPC.
7639 (isearch-search-fun-default): Use new functions mentioned above.
7640 (isearch-search-forward, isearch-search-backward): Remove functions.
7641 (isearch-search): Don't let-bind search-spaces-regexp.
7642 (isearch-lazy-highlight-space-regexp): Remove variable.
7643 (isearch-lazy-highlight-lax-whitespace)
7644 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7645 (isearch-lazy-highlight-new-loop): Use them.
7646 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7648 2012-09-02 Chong Yidong <cyd@gnu.org>
7650 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7652 2012-09-02 Glenn Morris <rgm@gnu.org>
7654 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7656 2012-09-01 Glenn Morris <rgm@gnu.org>
7658 * term.el: Tidy up menu definitions.
7659 (term-mode-map): Use easymenu for In/Out, Complete menus.
7660 (term-pager-break-map): Initialize in the defvar.
7661 (term-terminal-menu, term-signals-menu): Define with easymenu.
7662 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7663 (term-pager-menu): New, extracted from term-process-pager.
7664 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7665 (term-update-mode-line): Propertize line/char and page items.
7666 (term-process-pager): Move keymap initialization elsewhere.
7668 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7670 * window.el (switch-to-prev-buffer): Handle additional values of
7671 BURY-OR-KILL argument. Don't switch in minibuffer window.
7672 (switch-to-next-buffer): Don't switch in minibuffer window.
7673 (quit-restore-window): New function based on quit-window.
7674 Handle additional values of former KILL argument.
7675 (quit-window): Call quit-restore-window with appropriate
7676 interpretation of KILL argument.
7677 (display-buffer-below-selected): New buffer display action
7680 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * minibuffer.el (completion-at-point-functions): Complete docstring
7685 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7687 Better seed support for (random).
7688 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7689 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7690 * play/mpuz.el, play/tetris.el, play/zone.el:
7691 * calc/calc-comb.el (math-init-random-base):
7692 * play/blackbox.el (bb-init-board):
7693 * play/life.el (life):
7694 * server.el (server-use-tcp):
7695 * type-break.el (type-break):
7696 Remove unnecessary call to (random t).
7697 * net/sasl.el (sasl-unique-id-function):
7698 Change (random t) to (random), now that the latter is more random.
7699 * play/life.el (life-initialized): Remove no-longer-needed var.
7701 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7703 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7704 Consider frame's buffer predicate when choosing the buffer.
7707 2012-08-30 Richard Stallman <rms@gnu.org>
7709 * simple.el (special-mode-map): Delete binding for `z'.
7711 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7713 * progmodes/compile.el (compilation-always-kill): Doc fix.
7715 2012-08-30 Chong Yidong <cyd@gnu.org>
7717 * window.el (display-buffer-reuse-frames): Make the obsolescence
7718 message more informative.
7720 2012-08-30 Glenn Morris <rgm@gnu.org>
7722 * paren.el (show-paren-delay):
7723 Add a :set function. Doc fix. (Bug#12297)
7725 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7727 * progmodes/compile.el (compilation-always-kill): New var.
7728 (compilation-start): Use it.
7730 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7733 * files.el (read-only-mode): Move to simple.el.
7735 * files.el (read-only-mode): New minor mode.
7736 (toggle-read-only): Use it and mark obsolete.
7737 (find-file--read-only):
7738 * vc/vc.el (vc-next-action, vc-checkout):
7739 * vc/vc-cvs.el (vc-cvs-checkout):
7740 * obsolete/vc-mcvs.el (vc-mcvs-update):
7741 * ffap.el (ffap--toggle-read-only): Update callers.
7743 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7745 * eshell/esh-ext.el (eshell-external-command): Do not examine
7746 remote shell scripts.
7747 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7749 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7752 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7754 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7756 2012-08-28 Leo Liu <sdl.web@gmail.com>
7758 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7759 completion-at-point. (Bug#12220)
7761 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7763 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7765 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7767 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7768 be buffer-local; add delete-trailing-whitespace (bug#12259).
7770 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7772 * progmodes/hideif.el (hif-compress-define-list):
7773 Fix typo. (Bug#11951)
7775 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7777 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7778 buffer local setting.
7780 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7781 rcirc-encode-coding-system.
7783 2012-08-28 Leo Liu <sdl.web@gmail.com>
7785 * net/rcirc.el (rcirc-split-message): New function.
7786 (rcirc-send-message): Use it. (Bug#12051)
7788 2012-08-28 Juri Linkov <juri@jurta.org>
7790 * info.el (Info-fontify-node): Hide empty lines at the end of
7791 the node. (Bug#12272)
7793 2012-08-27 Drew Adams <drew.adams@oracle.com>
7795 * dired.el (dired-pop-to-buffer): Make window start at beginning
7796 of buffer (Bug#12281).
7798 2012-08-26 Chong Yidong <cyd@gnu.org>
7800 * window.el (special-display-regexps, special-display-frame-alist)
7801 (special-display-buffer-names, special-display-function)
7802 (display-buffer-reuse-frames): Mark as obsolete.
7804 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7806 * help.el (help-print-return-message): Don't treat
7807 display-buffer-reuse-frames specially.
7809 2012-08-26 Chong Yidong <cyd@gnu.org>
7811 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7812 New variable, replacing gdb-frame-parameters.
7813 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7814 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7815 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7816 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7817 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7818 the functions directly with gdb-display-buffer-other-frame-action.
7819 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7820 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7821 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7822 (gdb-display-registers-buffer): Define directly.
7823 (def-gdb-display-buffer): Macro deleted.
7824 (gdb-display-buffer): Remove second and third args, callers don't
7825 use them. Defer to the default display-buffer behavior, apart
7826 from making windows dedicated.
7827 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7829 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7831 * window.el (display-buffer-pop-up-frame): Handle a
7832 pop-up-frame-parameters alist entry.
7833 (display-buffer): Document it.
7835 2012-08-26 Chong Yidong <cyd@gnu.org>
7837 * isearch.el (search-whitespace-regexp): Make string and nil
7838 values apply to both ordinary and regexp search. Allow a cons
7839 cell value to distinguish between the two.
7840 (isearch-whitespace-regexp, isearch-search-forward)
7841 (isearch-search-backward): New functions.
7842 (isearch-occur, isearch-search-fun-default, isearch-search)
7843 (isearch-lazy-highlight-new-loop): Use them.
7844 (isearch-forward, isearch-forward-regexp): Doc fix.
7846 2012-08-26 Chong Yidong <cyd@gnu.org>
7848 * faces.el (help-argument-name): Always inherit from italic
7851 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7853 * window.el (window--even-window-heights): Even heights when
7854 WINDOW and the selected window form a vertical combination.
7855 (display-buffer-use-some-window): Provide that window used gets
7856 sized back by quit-window. (Bug#11880) and (Bug#12091)
7858 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7860 Fix file time stamp problem with bzr and CVS (Bug#12001).
7861 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7862 in the file's time stamp, since the version control system loses
7865 2012-08-22 Juri Linkov <juri@jurta.org>
7867 * info.el (Info-fontify-node): Hide the suffix of the
7868 Info file name in the header line. (Bug#12187)
7870 2012-08-22 Glenn Morris <rgm@gnu.org>
7872 * calendar/cal-tex.el (cal-tex-weekly-common):
7873 Restore leading blank page.
7875 2012-08-22 Le Wang <l26wang@gmail.com>
7877 * misc.el (forward-to-word, backward-to-word): Activate or extend
7878 the region under `shift-select-mode'. (Bug#12231)
7880 2012-08-22 Bastien Guerry <bzg@gnu.org>
7882 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7883 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7884 gives details on why the space is never needed.
7886 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7888 * window.el (walk-window-tree, window-with-parameter):
7889 New optional argument MINIBUF to control whether these functions
7890 should run on the minibuffer window.
7891 (window-at-side-list): Don't operate on minibuffer window.
7892 (window-in-direction): Simplify and rewrite doc-string.
7893 (window--size-ignore): Rename to window--size-ignore-p.
7895 (display-buffer-in-atom-window, window--major-non-side-window)
7896 (window--major-side-window, display-buffer-in-major-side-window)
7897 (delete-side-window, display-buffer-in-side-window):
7899 (window--side-check, window-deletable-p, delete-window)
7900 (delete-other-windows, split-window): Handle side windows and
7901 atomic windows appropriately.
7902 (window--display-buffer): Call display-buffer-record-window also
7903 when the window buffer did not change.
7905 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7907 * help-fns.el (help-fns--key-bindings):
7908 Abbreviate non-symbol remap targets. (Bug#12174)
7910 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7912 * dired.el (dired-mark-remembered): Don't clobber point.
7915 2012-08-22 Glenn Morris <rgm@gnu.org>
7917 * progmodes/bug-reference.el (bug-reference): New custom group.
7918 (bug-reference-bug-regexp): Make it a defcustom.
7920 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7922 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7923 (js-paren-indent-offset, js-square-indent-offset)
7924 (js-curly-indent-offset): Add :safe (Bug#12257).
7926 2012-08-22 Edward O'Connor <hober0@gmail.com>
7928 * json.el (json-key-format): Add error properties.
7929 (json-encode-key): New function.
7930 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7931 Use json-encode-key.
7933 2012-08-22 Glenn Morris <rgm@gnu.org>
7935 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7936 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7937 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7938 Update for above change.
7940 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7942 * cus-face.el (custom-face-attributes): Fix customize type for the
7943 :underline attribute. (Bug#11805)
7945 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7947 * window.el (window-point-1, set-window-point-1): Remove.
7948 (window-in-direction, record-window-buffer)
7949 (set-window-buffer-start-and-point, split-window-below)
7950 (window--state-get-1, display-buffer-record-window):
7951 Replace calls to window-point-1 and set-window-point-1 by calls to
7952 window-point and set-window-point respectively.
7954 2012-08-21 Glenn Morris <rgm@gnu.org>
7956 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7957 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7960 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7961 (cal-tex-shortday): New function.
7962 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7963 (cal-tex-cursor-filofax-daily): Use the above.
7965 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7967 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7968 (cal-tex-cursor-filofax-week): Use them.
7970 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7972 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7973 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7975 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7976 (cal-tex-end-document): Don't rely on buffer name.
7978 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7980 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7981 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7982 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7985 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7986 (cal-tex-cursor-week, cal-tex-cursor-week2)
7987 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7988 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7989 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7990 (cal-tex-insert-preamble, cal-tex-b-document)
7991 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7992 Improve cal-tex-cmd usage.
7994 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7995 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7996 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7997 (cal-tex-weekly-paper): New function.
7998 (cal-tex-cursor-week, cal-tex-cursor-week2)
7999 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8000 (cal-tex-cursor-day): Use it.
8002 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8003 (cal-tex-cursor-filofax-week): Remove leading blank page.
8005 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8006 Add autoload cookie. For now at least, don't use color, since
8007 no other cal-tex function does.
8009 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8010 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8011 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8013 2012-08-21 Juri Linkov <juri@jurta.org>
8015 * info.el (Info-file-attributes): New variable.
8016 (info-insert-file-contents): Add file attributes to
8017 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8018 `Info-toc-nodes' when previous modtime of the Info file is less
8020 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8021 of info.el. (Bug#12230)
8023 2012-08-20 Glenn Morris <rgm@gnu.org>
8025 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8026 * calendar/holidays.el (calendar-holiday-list):
8027 Report errors with display-warning rather than beep'n'sleep.
8029 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8031 * net/tramp.el (tramp-accept-process-output): Accept only output
8032 from PROC. Otherwise, process filters and sentinels might be
8033 confused. (Bug#12145)
8035 2012-08-20 Chong Yidong <cyd@gnu.org>
8037 * descr-text.el (describe-text-properties-1): Use overlays-in to
8038 report on empty overlays (Bug#3322).
8040 2012-08-20 Glenn Morris <rgm@gnu.org>
8042 * mail/rmailout.el (rmail-output-read-file-name):
8043 Trap and report errors in rmail-output-file-alist elements.
8045 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8046 since most non-font-lock faces are not also variables).
8048 2012-08-20 Edward Reingold <reingold@iit.edu>
8050 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8051 New function. (Bug12160)
8053 2012-08-19 Glenn Morris <rgm@gnu.org>
8055 * mail/rmailout.el (rmail-output-read-file-name):
8056 Fix previous change (when the alist is nil or does not match).
8058 2012-08-19 Chong Yidong <cyd@gnu.org>
8060 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8063 2012-08-18 Chong Yidong <cyd@gnu.org>
8065 * simple.el (yank-handled-properties): New defcustom.
8066 (yank-excluded-properties): Add font-lock-face and category.
8069 * subr.el (remove-yank-excluded-properties):
8070 Obey yank-handled-properties. The special handling of font-lock-face
8071 and category is now done this way, instead of being hard-coded.
8072 (insert-for-yank-1): Remove font-lock-face handling.
8073 (yank-handle-font-lock-face-property)
8074 (yank-handle-category-property): New function.
8076 2012-08-17 Glenn Morris <rgm@gnu.org>
8078 * mail/rmailout.el (rmail-output-read-file-name):
8079 Check rmail-output-file-alist against the full message body
8080 in the correct rmail buffer. (Bug#12214)
8082 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8085 Eliminate superfluous prompt. (Bug#12203)
8087 2012-08-17 Chong Yidong <cyd@gnu.org>
8089 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8090 font spec, set the font directly (Bug#3228).
8092 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8094 * window.el (delete-window): Fix last fix.
8096 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8098 * window.el (window-valid-p): Move to window.c.
8099 (window-child, window-child-count, window-last-child)
8100 (window-normalize-window, window-combined-p)
8101 (window-combinations, window-atom-root, window-min-size)
8102 (window-sizable, window-sizable-p, window-size-fixed-p)
8103 (window-min-delta, window-max-delta, window--resizable)
8104 (window--resizable-p, window-resizable, window-total-size)
8105 (window-full-height-p, window-full-width-p, window-body-size)
8106 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8107 (minimize-window, window-deletable-p, delete-window)
8108 (delete-other-windows, set-window-buffer-start-and-point)
8109 (next-buffer, previous-buffer, split-window, balance-windows-2)
8110 (set-window-text-height, window-buffer-height)
8111 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8112 (truncated-partial-width-window-p): Minor code adjustments.
8113 In doc-strings state whether the argument window has to denote a
8114 live, valid or any window.
8116 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8118 * progmodes/subword.el (subword-forward-function)
8119 (subword-backward-function, subword-forward-regexp)
8120 (subword-backward-regexp): New variables.
8121 (subword-forward, subword-forward-internal, subword-backward-internal):
8122 Use new variables, eg so that different "word" definitions
8123 can be easily used. (Bug#11411)
8125 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8128 for composite selectors.
8129 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8130 operation just because we can't find a previous revision.
8132 2012-08-15 Chong Yidong <cyd@gnu.org>
8134 * frame.el (set-frame-font): Accept font objects.
8136 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8140 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8142 * man.el (Man-overstrike-face, Man-underline-face)
8143 (Man-reverse-face): Remove variables.
8144 (Man-overstrike, Man-underline, Man-reverse): New faces.
8145 (Man-fontify-manpage): Use them instead of the variables.
8146 (Man-cleanup-manpage): Comment change.
8147 (Man-ansi-color-map): New variable.
8148 (Man-fontify-manpage): Use it.
8149 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8151 Implement ANSI SGR parameters 22-27 (bug#12146).
8152 * ansi-color.el (ansi-colors): Doc fix.
8153 (ansi-color-context, ansi-color-context-region): Doc fix.
8154 (ansi-color--find-face): New function.
8155 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8156 Rename the local variable `face' to `codes' since it is now a list of
8157 ansi codes. Doc fix.
8158 (ansi-color-get-face): Remove.
8159 (ansi-color-parse-sequence): New function, derived from
8160 ansi-color-get-face.
8161 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8164 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8166 * subr.el (read-passwd): Allow use from a minibuffer.
8168 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8170 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8171 inside comments and strings as identifiers.
8173 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8174 expression to evaluate. This allows to evaluate expressions with
8175 embedded whitespace.
8176 (gud-tooltip-tips): Add a blank before the newline in the
8177 message-box text, for the benefit of message-box emulation on
8180 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8181 messages from GDB, pop them up in a tooltip to give feedback to
8183 (gdb-tooltip-print-1): Quote the expression to evaluate.
8184 This allows to evaluate expressions with embedded whitespace.
8185 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8186 if the TTY name is nil or empty (which happens when communicating
8187 with the inferior via pipes, e.g. on MS-Windows).
8188 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8189 don't send that to the GUD buffer.
8191 2012-08-14 Glenn Morris <rgm@gnu.org>
8193 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8194 Optimize away setq-default with no args, as for setq. (Bug#12195)
8196 2012-08-14 Chong Yidong <cyd@gnu.org>
8198 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8200 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8203 2012-08-14 Glenn Morris <rgm@gnu.org>
8205 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8207 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8209 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8210 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8211 Use cached shell name.
8213 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8215 * progmodes/python.el (python-shell-send-string):
8216 (python-shell-send-setup-code): Do not use `format' with `message'.
8218 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8220 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8221 (ruby-percent-literal-beg-re): New constant.
8222 (ruby-syntax-general-delimiters-goto-beg): Rename to
8223 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8224 (ruby-syntax-propertize-general-delimiters): Rename to
8225 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8226 popular term. Adjust comments everywhere.
8227 (ruby-syntax-propertize-percent-literal): Only propertize when not
8228 inside a simple string or comment. When the literal is unclosed,
8229 leave the text after it unpropertized.
8230 (ruby-syntax-methods-before-regexp): New constant.
8231 (ruby-syntax-propertize-function): Use it to recognize regexps.
8232 Don't look at the text after regexp, just use the whitelist.
8234 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8236 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8237 non-nil always load the compiled file if it exists. (Bug#12197)
8239 2012-08-14 Chong Yidong <cyd@gnu.org>
8241 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8242 (hi-lock-set-pattern): When deciding whether to use font lock or
8243 overlays, look at font-lock-mode instead of font-lock-fontified
8245 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8246 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8248 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8250 * subr.el (internal--after-with-selected-window): Fix typo
8253 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8255 Use `completion-table-dynamic' for completion functions.
8256 * progmodes/python.el
8257 (python-shell-completion--do-completion-at-point)
8258 (python-shell-completion--get-completions):
8260 (python-shell-completion-complete-at-point): New function.
8261 (python-completion-complete-at-point): Use it.
8263 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8265 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8266 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8268 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8270 * subr.el (function-get): Refine `autoload' arg so it can also
8271 autoload functions for gv.el (bug#12191).
8272 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8275 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8276 Prefer pcase-let over destructuring-bind.
8277 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8278 Also, remove whitespace as we go, rather than after accumulating the
8281 * subr.el (internal--before-with-selected-window)
8282 (internal--after-with-selected-window): Fix typo seleted->selected.
8283 (with-selected-window): Adjust callers.
8284 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8286 2012-08-13 Bastien Guerry <bzg@gnu.org>
8288 * window.el (special-display-popup-frame): Minor docstring
8289 enhancement. (Bug#12172)
8291 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8293 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8295 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8298 * files.el (hack-local-variables-filter): Remove useless eval.
8300 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8302 * subr.el (with-selected-window): Fix last change.
8304 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8306 * subr.el (internal--before-with-seleted-window)
8307 (internal--after-with-seleted-window): New functions.
8308 (with-selected-window): Use them, to replace dependency on
8311 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8313 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8314 binding for `newline'.
8315 (ruby-move-to-block): When moving backward, stop at block opening,
8317 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8318 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8319 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8320 `ruby-toggle-block'.
8322 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8324 * ibuffer.el (ibuffer-do-toggle-read-only):
8325 * dired.el (dired-toggle-read-only):
8326 * buff-menu.el (Buffer-menu-toggle-read-only):
8327 * bindings.el (mode-line-toggle-read-only):
8328 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8330 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8332 * descr-text.el (describe-char): Put the overlays over the
8333 "displayed as" character.
8335 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8337 * calc/calc-units.el (math-default-units-table): Give an
8339 (math-put-default-units): Add options to put composite units and
8340 unit systems in the default units table.
8341 (calc-convert-units): Send composite units to
8342 `math-put-default-units' when appropriate.
8344 2012-08-11 Glenn Morris <rgm@gnu.org>
8346 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8348 * tutorial.el (help-with-tutorial):
8349 * emacs-lisp/copyright.el (copyright-update-directory):
8350 * emacs-lisp/autoload.el (autoload-find-generated-file)
8351 (autoload-find-file): Disable local eval: (for insurance).
8353 * files.el (hack-local-variables-filter): If an eval: form is not
8354 known to be safe, and enable-local-variables is :safe, then ignore
8355 the form totally, as is done for non-eval forms. (Bug#12155)
8356 This is CVE-2012-3479.
8358 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8360 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8361 (rx-form): Simplify.
8363 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8365 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8366 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8367 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8368 (ruby-syntax-propertize-function): Adjust for changes in
8369 `ruby-syntax-propertize-heredoc'.
8371 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8373 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8374 binding (use `M-;' instead).
8375 (ruby-singleton-class-p): New function.
8376 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8378 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8382 2012-08-10 Chong Yidong <cyd@gnu.org>
8384 * progmodes/python.el (python-shell-get-process-name): Don't mess
8385 with same-window-buffer-names.
8387 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8388 (eshell-remove-from-window-buffer-names): Make obsolete.
8389 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8390 (eshell): Just use pop-to-buffer-same-window instead.
8392 2012-08-10 Chong Yidong <cyd@gnu.org>
8394 * bindings.el: Bind M-= back to count-words-region.
8396 * simple.el (count-words-region): Accept a prefix arg for acting
8397 on the entire buffer.
8398 (count-words--buffer-message): New helper function.
8400 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8403 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8404 (event-start, event-end): Use posn-at-point to return a more
8406 (posnp): New function.
8407 * mouse.el (popup-menu-normalize-position): Use it.
8409 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8411 * mouse.el (popup-menu-normalize-position): New function.
8412 (popup-menu): Use `popup-menu-normalize-position' to normalize
8413 the form for POSITION argument.
8415 * term/x-win.el (x-menu-bar-open):
8416 Use the value returend from (posn-at-point) as position
8417 passed to `popup-menu'.
8419 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8421 * calc/calccomp.el (math-compose-expr): Add extra argument
8422 indicating that parentheses should be put around products in
8423 denominators. Give multiplication precedence over division during
8426 2012-08-09 Chong Yidong <cyd@gnu.org>
8428 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8429 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8430 (Man-untabify-command, manual-program): Convert to defcustom
8433 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8435 * descr-text.el (describe-char): Don't insert extra newlines
8438 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8439 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8441 * align.el (align-region): Delete temporary markers (Bug#10047).
8442 Plus some code cleanups.
8444 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8446 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8447 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8448 (python-shell-internal-last-output): Use make-local-variable
8449 instead of make-variable-buffer-local.
8451 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8453 * progmodes/python.el: Enhancements to forward-sexp.
8454 (python-nav-forward-sexp): Rename from
8455 python-nav-forward-sexp-function.
8456 (python-nav--forward-sexp, python-nav--backward-sexp):
8459 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8461 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8462 modes and simplification modes.
8464 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8466 * delsel.el (delete-selection-pre-hook): Don't propagate the
8467 file-supersession signals (bug#12161).
8469 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8471 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8472 (cl-map-extents): Add compatibility aliases (bug#12135).
8474 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8476 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8477 tests by `ignore-error'.
8478 (tramp-find-shell): Open also a new shell, when cache is already
8479 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8481 2012-08-08 Juri Linkov <juri@jurta.org>
8483 * bookmark.el: Add `defaults' property to the bookmark record.
8484 (bookmark-current-buffer): Doc fix.
8485 (bookmark-make-record): Add `defaults' property with default values
8486 to the bookmark record.
8487 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8488 with `bookmark-insert-current-bookmark'.
8489 (bookmark-set): Get `defaults' property from the bookmark record
8490 and use it in `read-from-minibuffer'.
8491 (bookmark-insert-current-bookmark): Remove function.
8493 * info.el (Info-bookmark-make-record): Add `defaults' property
8494 with values of canonical Info node name, the current Info file
8495 name and the current Info node name. (Bug#12107)
8497 2012-08-08 Juri Linkov <juri@jurta.org>
8499 * files.el (basic-save-buffer): Use `buffer-name' as the default
8500 of `read-file-name' when buffer is not visiting a file (bug#12128).
8502 2012-08-08 Juri Linkov <juri@jurta.org>
8504 * info.el (Info-isearch-search): Doc fix.
8505 (Info-search): Change search-failed message from "initial node" to
8506 "end of node" (bug#12078).
8507 (Info-isearch-search): Change `isearch-string-state' to
8508 `isearch--state-string'.
8510 2012-08-08 Glenn Morris <rgm@gnu.org>
8512 * language/persian.el: Remove file.
8513 * language/misc-lang.el: Move unique part of persian.el here.
8514 * loadup.el: Remove language/persian.
8516 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8518 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8520 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8522 * progmodes/python.el: Fix defsubst warning.
8523 (python-syntax-context) Rename from python-info-ppss-context.
8524 (python-syntax-context-type): Rename from
8525 python-info-ppss-context-type.
8526 (python-syntax-comment-or-string-p): Rename from
8527 python-info-ppss-comment-or-string-p.
8529 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8531 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8533 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8535 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8536 a defcustom that is quoted with backquote.
8538 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8539 Fix handling of interactive spec when the body uses return.
8540 (math-do-arg-check, math-define-function-body): Use backquote forms.
8541 * calc/calc-ext.el (math-defcache): Likewise.
8542 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8543 * allout.el (allout-new-exposure): Likewise.
8544 * calc/calcalg2.el (math-tracing-integral): Likewise.
8545 * info.el (Info-last-menu-item): Likewise.
8546 * emulation/vip.el (vip-loop): Likewise.
8547 * textmodes/artist.el (artist-funcall): Likewise.
8548 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8549 Construct menu-item directly.
8551 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8554 2012-08-07 Chong Yidong <cyd@gnu.org>
8556 * simple.el (deactivate-mark): Preserve text properties when
8557 saving the primary selection (Bug#8384).
8559 2012-08-07 Kevin Ryde <user42@zip.com.au>
8561 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8562 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8563 and continue processing (Bug#12110).
8565 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8567 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8568 syntax-propertize-function (bug#10095).
8570 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8572 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8573 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8574 describe-function-1.
8575 (describe-function-1): Use them. Move compiler macro after sig.
8576 (help-fns--compiler-macro): Use function-get. Assume we're already in
8577 standard-output. Adjust layout to new call order.
8579 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8580 re-binding a symbol that has a symbol-macro (bug#12119).
8582 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8584 * language/persian.el: New file. (Bug#11812)
8585 * loadup.el: Add language/persian.el.
8587 2012-08-06 Chong Yidong <cyd@gnu.org>
8589 * window.el (window--maybe-raise-frame): New function.
8590 (window--display-buffer): Split off from here.
8591 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8592 (display-buffer-pop-up-window, display-buffer-use-some-window):
8593 Obey an inhibit-switch-frame action alist entry.
8594 (display-buffer): Update doc.
8596 * replace.el (occur-after-change-function): Avoid losing focus by
8597 using the inhibit-switch-frame display parameter (Bug#12139).
8599 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8601 Make internal shell process buffer names start with space.
8602 * progmodes/python.el (python-shell-make-comint): Add optional
8604 (run-python-internal): Use it.
8605 (python-shell-internal-get-or-create-process): Check for new
8606 internal buffer names.
8608 2012-08-06 Glenn Morris <rgm@gnu.org>
8610 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8611 Do less getting and setting of environment variables.
8613 2012-08-05 Chong Yidong <cyd@gnu.org>
8615 * proced.el (proced): Add substitution string to docstring to
8616 trigger autoloading of the proced library on C-h f (Bug#1768).
8618 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8619 Don't show defvars which have no second argument (Bug#8638).
8621 * imenu.el (imenu-generic-expression): Move documentation here
8622 from imenu--generic-function.
8623 (imenu--generic-function): Refer to imenu-generic-expression.
8625 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8627 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8628 indentation declaration.
8629 (viper-loop): Add indentation declaration (Bug#7025).
8631 2012-08-05 Chong Yidong <cyd@gnu.org>
8633 * help-fns.el (describe-variable): Add hyperlink for
8634 directory-local variables files. Improve buffer-local and
8635 permanent-local reporting; suggested by MON KEY (Bug#6644).
8637 * help-mode.el (help-dir-local-var-def): New button type.
8639 * files.el (kill-buffer-hook): Provide a defvar.
8641 2012-08-05 Glenn Morris <rgm@gnu.org>
8643 * eshell/esh-ext.el (eshell/addpath):
8644 Also update eshell-path-env. (Bug#12013)
8646 2012-08-05 Chong Yidong <cyd@gnu.org>
8648 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8650 * fringe.el (fringe-styles): Add docstring.
8651 (fringe--check-mode): New function.
8652 (set-fringe-mode, set-fringe-style): Use it.
8653 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8655 * files.el (set-auto-mode): Fix invalid setq call.
8657 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8659 * isearch.el: Misc simplification; use defstruct.
8660 (isearch-mode-map): Dense maps now work like sparse ones.
8661 (isearch--state): New defstruct.
8662 (isearch-string-state, isearch-message-state, isearch-point-state)
8663 (isearch-success-state, isearch-forward-state)
8664 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8665 (isearch-wrapped-state, isearch-barrier-state)
8666 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8667 replaced by defstruct's accessors.
8668 (isearch--set-state): Rename from isearch-top-state and change
8670 (isearch-push-state): Use new isearch--get-state.
8671 (isearch-toggle-word): Disable regexp when enabling word.
8672 (isearch-message-prefix): Remove unused arg _c-q-hack.
8673 (isearch-message-suffix): Remove unused arg _ellipsis.
8675 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8677 * simple.el (list-processes--refresh): For a server use :host or
8678 :local as the address.
8679 (list-processes): Doc fix.
8681 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8683 * lisp/mpc.el: Support password in host argument.
8684 (mpc--proc-connect): Parse and use new password element.
8685 Set mpc-proc variable instead of returning process.
8686 (mpc-proc): Adjust accordingly.
8688 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8690 * whitespace.el (whitespace-display-mappings): Use Unicode
8691 codepoints, instead of emacs-mule codepoints. See
8692 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8695 * files.el (file-truename): Don't skip symlink-chasing part on
8696 windows-nt. Incorporate the resolution of 8+3 short aliases on
8697 Windows into the loop that recursively chases symlinks.
8698 Compare directory and its parent case-insensitively on MS-Windows and
8701 2012-08-03 Chong Yidong <cyd@gnu.org>
8703 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8705 * sort.el (sort-regexp-fields): Doc fix.
8707 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8709 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8710 labels regex position point at the expected place.
8712 2012-08-03 MON KEY <monkey@sandpframing.com>
8714 * net/imap.el (imap-interactive-login, imap-authenticate)
8715 (imap-mailbox-lsub, imap-mailbox-list)
8716 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8717 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8718 (imap-parse-response): Doc fix.
8720 2012-08-03 João Távora <joaotavora@gmail.com>
8722 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8723 if sexp scanning does not move point (Bug#5734).
8725 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8727 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8728 Add listings, minted, and ctable packages.
8729 (reftex-label-alist-builtin): Move listings, minted, and ctable
8730 entries before LaTeX.
8731 (reftex-label-alist): Docfix.
8733 2012-08-02 Bastien Guerry <bzg@gnu.org>
8735 * replace.el (occur): Fix docstring (bug#12122).
8737 2012-08-02 Glenn Morris <rgm@gnu.org>
8739 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8741 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8743 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8744 * international/mule-cmds.el: Create
8745 inactivate-current-input-method-function as an obsolete alias for
8746 deactivate-current-input-method-function. See Katsumi Yamaoka in
8747 <http://bugs.gnu.org/10150#46>.
8749 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8751 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8754 2012-08-01 Glenn Morris <rgm@gnu.org>
8756 * progmodes/autoconf.el (autoconf-definition-regexp):
8757 Add AH_TEMPLATE, adjust submatch numbering.
8758 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8759 (autoconf-current-defun-function): Update for above change.
8760 (autoconf-current-defun-function): First skip to end of current word.
8762 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8764 * calendar/cal-html.el (cal-html-insert-agenda-days):
8765 Fix typo. (Bug#12018)
8767 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8769 Shell processes: enhancements to startup and CEDET compatibility.
8770 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8771 (python-shell-make-comint): accept-process-output at startup.
8772 (run-python-internal): Set inferior-python-mode-hook to nil.
8773 (python-shell-internal-get-or-create-process): call sit-for.
8774 (python-preoutput-result): Add obsolete alias.
8775 (python-shell-internal-send-string): Use it.
8776 (python-shell-send-setup-code): Remove call to
8777 accept-process-output.
8779 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8781 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8784 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8786 * calc-mode.el (calc-basic-simplification-mode): Rename from
8787 `calc-limited-simplification-mode'.
8788 (calc-alg-simplification-mode): New function.
8789 (calc-set-simplify-mode): Adjust message.
8791 * calc.el (calc-set-mode-line): Adjust mode line display for
8792 basic simplification mode.
8794 * calc-help.el (calc-m-prefix-help): Update help message.
8796 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8797 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8799 2012-07-31 Bastien Guerry <bzg@gnu.org>
8801 * man.el (man): Fix comment. (bug#12101)
8803 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8805 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8806 Don't return a non-nil value when no suitable buffer was found.
8808 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8810 * progmodes/python.el (run-python-internal): Disable font lock for
8813 2012-07-30 Stefan Merten <smerten@oekonux.de>
8815 * textmodes/rst.el: Silence `checkdoc-ispell'.
8816 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8817 (rst-official-version, rst-official-cvs-rev)
8818 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8819 (rst-mode-map): New key binding.
8821 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8823 Update .PHONY listings in makefiles.
8824 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8825 autoloads, update-subdirs, updates, bzr-update, update-authors,
8826 compile-onefile, compile-calc, backup-compiled-files,
8827 compile-after-backup, compile-one-process, mh-autoloads,
8828 bootstrap-clean, distclean, maintainer-clean.
8830 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8832 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8833 (calc-set-mode-line): Don't display "AlgSimp ".
8835 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8836 (calc-lim-simplify-mode): New function.
8837 (calc-set-simplify-mode): Default to 'alg.
8838 (calc-default-simplify-mode): Make algebraic simplifications
8841 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8842 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8844 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8845 indicate new simplification modes.
8847 * calc/README: Mention new default simplification mode.
8849 * calc/calc.el (math-normalize-error): New variable.
8850 (math-normalize): Set `math-normalize-error' to t
8851 when there's an error.
8853 * calc/calc-alg.el (math-simplify): Don't simplify when
8854 `math-normalize' returns an error.
8856 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8858 * international/mule-cmds.el (set-locale-environment): Revert last
8859 change, since display-graphic-p returns nil when this function is
8860 called during startup. Instead...
8862 * term/w32console.el (terminal-init-w32console): ...setup the
8863 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8865 2012-07-29 Juri Linkov <juri@jurta.org>
8867 * simple.el (goto-line): Don't display default line number in the
8868 prompt because it should be displayed by `read-number' (bug#9952).
8869 Add the current line number to the defaults of `goto-line' to
8870 allow its easier modification by users with `M-n' (bug#9201).
8872 * subr.el (read-number): Support multiple default values like in
8873 other minibuffer reading functions. Replace `read' with
8874 `string-to-number' for consistency with `number-to-string'.
8876 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8878 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8879 * emulation/viper-init.el (viper-deactivate-input-method-action):
8880 Rename from viper-inactivate-input-method-action.
8881 (viper-deactivate-input-method):
8882 Rename from viper-inactivate-input-method.
8883 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8884 * international/mule-cmds.el (deactivate-input-method):
8885 Rename from inactivate-input-method.
8886 Also run input-method-deactivate-hook.
8887 (deactivate-current-input-method-function):
8888 Rename from inactivate-current-input-method-function.
8889 (input-method-deactivate-hook): New hook.
8890 (input-method-inactivate-hook): Mark obsolete.
8891 (inactivate-input-method): Mark obsolete.
8893 * international/quail.el (quail-activate):
8894 Also run quail-deactivate-hook.
8895 (quail-deactivate): Rename from quail-inactivate.
8896 * international/robin.el (robin-activate):
8897 Also run robin-deactivate-hook.
8898 (robin-deactivate): Rename from robin-inactivate.
8900 2012-07-29 Chong Yidong <cyd@gnu.org>
8902 * simple.el (indicate-copied-region): New function.
8903 (kill-ring-save): Split off from here.
8905 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8906 (kill-rectangle): Set deactivate-mark to t on read-only error.
8908 * register.el (copy-to-register, copy-rectangle-to-register):
8909 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8910 (append-to-register, prepend-to-register): Call indicate-copied-region.
8912 2012-07-29 Juri Linkov <juri@jurta.org>
8914 * simple.el (async-shell-command-buffer): New defcustom.
8915 (shell-command): Use it. (Bug#4719)
8917 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8919 * international/mule-cmds.el (set-locale-environment): In a
8920 console session on MS-Windows, set up keyboard and terminal
8921 encoding from the OEM codepage, not the ANSI codepage.
8924 2012-07-28 Chong Yidong <cyd@gnu.org>
8926 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8929 2012-07-28 Leo Liu <sdl.web@gmail.com>
8931 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8932 the alist (bug#12029).
8934 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8936 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8937 (compile-always, compile-first)
8938 ($(lisp)/calendar/cal-loaddefs.el)
8939 ($(lisp)/calendar/diary-loaddefs.el)
8940 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8941 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8942 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8943 instead of on update-subdirs.
8944 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8946 2012-07-28 Chong Yidong <cyd@gnu.org>
8948 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8949 directory if vc-deduce-backend returns nil (Bug#7350).
8951 * simple.el (delete-trailing-lines): New option.
8952 (delete-trailing-whitespace): Obey it (Bug#11879).
8954 2012-07-28 David Engster <deng@randomsample.de>
8956 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8957 Explanation of new 'symbol-qnames feature in doc-strings.
8958 (xml-maybe-do-ns): Return expanded names as plain symbols if
8959 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8960 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8962 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8964 Consistent completion in inferior python with emacs -nw.
8965 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8966 binding in inferior-python-mode-map with "\t".
8967 (python-shell-completion-complete-at-point)
8968 (python-completion-complete-at-point): Remove interactive spec.
8970 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8972 * calc/calccomp.el (math-compose-expr): Undo previous change.
8974 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8976 * progmodes/python.el (python-mode-map): Add keybinding for
8978 (python-shell-make-comint): Fix pop-to-buffer call.
8979 (run-python): Autoload. New arg SHOW.
8980 (python-shell-get-or-create-process): Do not pop python process
8983 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8985 * notifications.el (notifications-on-action-signal)
8986 (notifications-on-closed-signal): Use also the bus address for the map.
8987 (notifications-notify, notifications-close-notification)
8988 (notifications-get-capabilities): Add optional argument BUS.
8990 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8992 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8993 Add support for the lstlisting and minted environments, and for the
8995 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8996 labels written in keyvals syntax.
8998 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9000 * calc/calccomp.el (math-compose-expr): Use parentheses when
9001 there is a product in the denominator of a fraction.
9003 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9005 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9006 ($(lisp)/calendar/diary-loaddefs.el)
9007 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9008 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9009 Fixes failures in parallel bootstrap because subdirs.el is being
9010 rewritten while the autoload files are built at the same time,
9011 which needs to load subdirs.el.
9013 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9015 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9016 (mouse-drag-line): Don't exit tracking when a switch-frame or
9017 switch-window event occurs (Bug#12006).
9019 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9021 * mouse.el (popup-menu): Fix last change.
9023 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9025 Autoload from Lisp with more care. Follow aliases when looking for
9026 function properties.
9027 * subr.el (autoloadp): New function.
9028 (symbol-file): Use it.
9029 (function-get): New function.
9030 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9032 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9033 (lisp-indent-function):
9034 * emacs-lisp/gv.el (gv-get):
9035 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9036 * emacs-lisp/byte-opt.el (byte-optimize-form):
9037 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9038 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9040 * emacs-lisp/cl.el: Don't propagate function properties any more.
9042 * speedbar.el (speedbar-add-localized-speedbar-support):
9043 * emacs-lisp/disass.el (disassemble-internal):
9044 * desktop.el (desktop-load-file):
9045 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9046 (describe-function-1):
9047 * emacs-lisp/find-func.el (find-function-noselect):
9048 * emacs-lisp/elp.el (elp-instrument-function):
9049 * emacs-lisp/advice.el (ad-has-proper-definition):
9050 * apropos.el (apropos-safe-documentation, apropos-macrop):
9051 * emacs-lisp/debug.el (debug-on-entry):
9052 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9053 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9054 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9056 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9058 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9059 function, not an obsolete variable (Bug#12046).
9061 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9063 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9065 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9067 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9068 window only if it is still live (Bug#12034).
9070 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9072 * subr.el (redirect-frame-focus): Add advertised calling
9073 convention (Bug#12030).
9075 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9077 Prefer typical American spelling for "acknowledgment".
9078 * vc/add-log.el (change-log-acknowledgment): Rename from
9079 change-log-acknowledgement, with an alias for the old name.
9081 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9083 * calc-alg.el (math-simplify-divide): Don't cross multiply
9084 in an equation when the lhs is a variable.
9086 2012-07-24 Julien Danjou <julien@danjou.info>
9088 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9091 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9093 * startup.el (command-line): Don't display an empty user name in
9094 the error message about non-existent home directory, when
9095 init-file-user was set to an empty string. See
9096 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9097 for the details and context.
9099 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9101 * ses.el (ses-cell-formula-aset): New macro.
9102 (ses-cell-references-aset): New macro.
9103 (ses-cell-p): New function.
9104 (ses-rename-cell): Do no longer rely on complex operations like
9105 ses-cell-set-formula or ses-set-cell to change the cell and handle
9106 the undo at the same time, but rather use lower level new macros
9107 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9108 the undo directly. Refresh the mode line.
9110 2012-07-21 Leo Liu <sdl.web@gmail.com>
9112 * progmodes/cc-cmds.el (c-defun-name):
9113 Use match-string-no-properties instead for consistency.
9115 2012-07-20 Leo Liu <sdl.web@gmail.com>
9117 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9120 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9122 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9125 * progmodes/bug-reference.el, misearch.el: Provide themselves
9128 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9129 of narrowed buffer (bug#11966).
9131 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9133 * ses.el (ses-rename-cell): Set new name also in reference list of
9134 cells of which the renamed cell depends.
9136 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9138 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9139 to check whether menu-bar is shown or not. If not shown,
9140 show the menu-bar as a popup menu instead of using tmm.
9141 * mouse.el (popup-menu): Accept `point' as `position' argument.
9143 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9145 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9146 up inside string symbol literal (bug#11923).
9148 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9150 * startup.el (fancy-startup-text): Read the whole tutorial, not
9151 just its first 256 bytes. Prevents gibberish in display of the
9154 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9156 Drop idle buffer compaction due to an absence of the
9158 * compact.el: Remove.
9160 2012-07-19 Sam Steingold <sds@gnu.org>
9162 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9163 vc-bzr-pull & vc-bzr-merge-branch.
9164 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9165 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9166 for consistency with compilation-error-regexp-alist.
9167 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9168 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9169 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9170 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9172 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * emacs-lisp/chart.el: Use lexical-binding.
9175 (chart-emacs-storage): Don't hardcode the list of entries.
9177 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9179 Next round of tweaks caused by Fgarbage_collect changes.
9180 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9182 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9184 Compact buffers when idle.
9185 * compact.el: New file.
9187 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * subr.el (eventp): Presume that if it looks vaguely like an event,
9190 it's an event (bug#10190).
9192 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9194 Enhancements to ppss related code (thanks Stefan).
9195 * progmodes/python.el (python-indent-context)
9196 (python-indent-calculate-indentation, python-indent-dedent-line)
9197 (python-indent-electric-colon, python-nav-forward-block)
9198 (python-mode-abbrev-table)
9199 (python-info-assignment-continuation-line-p): Simplify checks
9201 (python-info-continuation-line-p): Cleanup.
9202 (python-info-ppss-context): Do not catch 'quote.
9203 (python-info-ppss-context-type)
9204 (python-info-ppss-comment-or-string-p): Simplify.
9206 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9208 * progmodes/python.el: Enhancements to eldoc support.
9209 (python-info-current-symbol): New function.
9210 (python-eldoc-at-point): Use python-info-current-symbol.
9211 (python-info-current-defun): Fix cornercase on first defun scan.
9212 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9213 and signal error when no inferior python process is available.
9215 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9217 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9218 assume it's always t.
9219 (vc-git-registered): Remove caching, the function is only called
9221 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9223 2012-07-18 Chong Yidong <cyd@gnu.org>
9225 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9227 * simple.el (count-words): Report on narrowing (Bug#9959).
9229 * bindings.el: Bind M-= to count-words.
9231 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9233 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9235 * progmodes/sh-script.el (sh-imenu-generic-expression):
9236 Capture a function with `function' keyword and without parentheses
9237 like "function FOO" (bug#11856).
9239 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9241 * window.el (split-window-sensibly): Make WINDOW argument
9244 2012-07-18 Chong Yidong <cyd@gnu.org>
9246 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9248 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9249 and make C-x 8 RET exit isearch (Bug#11439).
9251 * international/iso-transl.el: Move isearch-mode-map key
9252 definitions to isearch.el.
9254 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9257 (eieio-defclass): Use gv-define-setter when possible.
9259 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9261 Reflect recent changes in Fgarbage_collect.
9262 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9263 reflect new format of data returned by Fgarbage_collect.
9265 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9267 New utility functions + python-info-ppss-context fix (Bug#11910).
9268 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9269 (python-info-ppss-comment-or-string-p): New functions.
9270 (python-info-ppss-context): Small fix for string check.
9272 2012-07-17 Juri Linkov <juri@jurta.org>
9274 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9275 (dired-do-async-shell-command): Don't add `*' at the end of the
9276 command (Bug#11815).
9277 (dired-do-shell-command): Doc fix.
9278 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9279 Join the individual commands using either "&" or ";" as the
9280 separator depending on the values of these trailing characters.
9281 At the end re-add the trailing "&". (Bug#10598)
9283 * simple.el (async-shell-command): Sync the interactive spec with
9284 `shell-command'. Doc fix.
9285 (shell-command): Doc fix.
9287 2012-07-17 Juri Linkov <juri@jurta.org>
9289 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9291 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9293 Final renames and doc fixes for movement commands (bug#11899).
9294 * progmodes/python.el (python-nav-beginning-of-statement):
9295 Rename from python-nav-statement-start.
9296 (python-nav-end-of-statement): Rename from
9297 python-nav-statement-end.
9298 (python-nav-beginning-of-block): Rename from
9299 python-nav-block-start.
9300 (python-nav-end-of-block): Rename from python-nav-block-end.
9302 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9304 * progmodes/python.el (python-shell-send-string-no-output):
9305 Allow accept-process-output to quit, keeping shell process ready for
9306 future interactions (Bug#11868).
9308 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9312 * emacs-lisp/elint.el (elint-find-args-in-code):
9313 Use help-function-arglist, so as to handle lexical byte-code.
9315 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9318 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9320 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9321 Avoid spuriously marking the buffer as modified because of c-is-sws.
9323 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9324 as not-a-comment (bug#11946).
9326 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9327 for uninterned vars.
9329 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9330 Use read-event since we don't really want to read chars but bytes.
9332 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9333 $$..$$ but also $..$ using regexps (bug#11953).
9334 Use tex-verbatim for \url and \path.
9335 (tex-font-lock-keywords): Define as defconst like the others.
9336 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9338 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9340 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9341 alias for insert-char.
9343 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9345 * progmodes/python.el: Simplified imenu implementation.
9346 (python-nav-jump-to-defun): Remove command.
9347 (python-mode-map): Use `imenu' instead.
9348 (python-nav-list-defun-positions-cache)
9349 (python-imenu-include-defun-type, python-imenu-make-tree)
9350 (python-imenu-subtree-root-label, python-imenu-index-alist):
9352 (python-nav-list-defun-positions, python-nav-read-defun)
9353 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9354 (python-imenu-make-tree, python-imenu-create-index):
9356 (python-mode): Update to interact with imenu by setting
9357 `imenu-extract-index-name-function' only.
9359 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9361 * progmodes/python.el: Enhancements to navigation commands.
9362 (python-nav-backward-sentence)
9363 (python-nav-forward-sentence): Remove.
9364 (python-nav-backward-statement, python-nav-forward-statement)
9365 (python-nav-statement-start, python-nav-statement-end)
9366 (python-nav-backward-block, python-nav-forward-block)
9367 (python-nav-block-start, python-nav-block-end)
9368 (python-nav-forward-sexp-function)
9369 (python-info-current-line-comment-p)
9370 (python-info-current-line-empty-p): New functions.
9371 (python-indent-context): Use `python-nav-statement-start'.
9373 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9375 * eshell/em-ls.el (eshell/ls): Use `apply'.
9377 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9378 multi-hops, instead of Tramp internals.
9380 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9382 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9383 when F1 and F2 are located on different hosts.
9385 2012-07-14 Chong Yidong <cyd@gnu.org>
9387 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9388 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9389 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9390 (xterm-mouse--read-event-sequence-1000)
9391 (xterm-mouse--read-event-sequence-1006): New functions. For old
9392 mouse protocol, handle M-mouse-X events correctly.
9393 (xterm-mouse-event): New arg specifying mouse protocol.
9394 (turn-on-xterm-mouse-tracking-on-terminal)
9395 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9396 sequence to toggle extended coordinates on newer XTerms.
9397 This appears to be harmless on terminals which do not support this.
9399 2012-07-14 Leo Liu <sdl.web@gmail.com>
9401 Add fringe bitmap indicators for flymake. (Bug#11253)
9402 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9403 (flymake-make-overlay): New arg BITMAP.
9404 (flymake-error-bitmap, flymake-warning-bitmap)
9405 (flymake-fringe-indicator-position): New user variables.
9407 * fringe.el: New bitmap exclamation-mark.
9409 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9411 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9414 2012-07-14 Chong Yidong <cyd@gnu.org>
9416 * electric.el (electric-pair-post-self-insert-function): Fix pair
9417 insertion in empty-region case (Bug#11520).
9419 2012-07-14 Chong Yidong <cyd@gnu.org>
9421 * bindings.el: Consolidate ctl-x-r-map bindings.
9422 Bind copy-rectangle-as-kill to C-x r w.
9424 * rect.el, register.el: Move bindings to bindings.el.
9426 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9428 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9430 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9432 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9434 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9436 * bindings.el (top): Use `mapc' instead of `mapcar'.
9438 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9440 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9442 * progmodes/sql.el (sql-comint): Suppress the check for program on
9443 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9446 2012-07-13 Chong Yidong <cyd@gnu.org>
9448 * bindings.el: Assign a non-nil permanent-local property to
9449 per-buffer variables which lack a default value (Bug#11930).
9451 * help-fns.el (describe-variable): In the "automatically becomes
9452 local" notice, take note of permanent-local variables.
9454 2012-07-13 Chong Yidong <cyd@gnu.org>
9456 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9457 to allow printing the message when called from Lisp.
9459 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9460 Remove toggle-read-only.
9462 * bs.el (bs-toggle-readonly):
9463 * buff-menu.el (Buffer-menu-toggle-read-only):
9464 Remove with-no-warnings around toggle-read-only.
9466 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9467 Remove with-no-warnings around toggle-read-only.
9468 (ffap-read-only, ffap-read-only-other-window)
9469 (ffap-read-only-other-frame): Callers changed.
9471 * help-mode.el: Don't require view package.
9472 (help-mode-finish): Set buffer-read-only instead of calling
9475 * bindings.el (mode-line-toggle-read-only):
9476 * dired.el (dired-toggle-read-only):
9477 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9478 with non-nil second arg.
9480 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9481 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9484 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9486 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9489 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9491 More CL cleanups and reduction of use of cl.el.
9492 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9493 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9494 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9495 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9496 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9497 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9498 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9499 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9500 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9501 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9502 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9503 * eshell/em-cmpl.el, eshell/em-banner.el:
9504 * calendar/parse-time.el: Use cl-lib.
9505 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9506 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9507 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9508 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9509 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9510 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9511 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9512 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9513 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9514 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9515 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9516 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9517 `lambda' rather than with `quote'.
9518 (eshell-do-opt): Adjust accordingly.
9519 (eshell-process-option): Simplify.
9520 * eshell/esh-var.el:
9521 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9522 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9523 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9524 to `pcase--dontcare'.
9525 * emacs-lisp/cl.el (labels): Mark obsolete.
9526 (cl--letf, letf): Move to cl-lib.
9527 (cl--letf*, letf*): Remove.
9528 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9529 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9530 (cl-progv): Rewrite.
9531 (cl--letf, cl-letf): Move from cl.el.
9532 (cl-letf*): New macro.
9533 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9535 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9537 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9539 2012-07-11 Chong Yidong <cyd@gnu.org>
9541 * vc/log-edit.el (log-edit-vc-backend): New variable.
9542 (log-edit): Doc fix.
9544 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9545 argument of log-edit to set up all local variables.
9546 (vc-start-logentry): New optional arg specifying VC backend.
9548 * vc/vc.el (vc-checkin): Use it.
9549 (vc-deduce-fileset): Handle Log Edit buffers.
9550 (vc-diff): Make first argument optional too.
9552 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9554 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9556 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9557 command, just in case. The function is not needed anymore.
9558 (eshell-external-command): Do not call `eshell-remote-command'.
9560 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9562 Reduce use of (require 'cl).
9563 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9564 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9565 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9566 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9567 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9568 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9569 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9570 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9571 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9572 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9573 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9574 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9575 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9576 (byte-compile-unfold-bcf, byte-compile-check-variable):
9577 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9578 (byte-compile-nilconstp):
9579 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9580 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9582 * emacs-lisp/gv.el (cond): Make it a valid place.
9583 (if): Simplify slightly.
9585 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9586 (pcase--self-quoting-p): New function.
9587 (pcase--u1): Use it.
9589 2012-07-10 Glenn Morris <rgm@gnu.org>
9591 * emacs-lisp/authors.el (authors-fixed-entries):
9592 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9594 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9596 Rename configure.in to configure.ac (Bug#11603).
9597 * emacs-lisp/authors.el (authors-canonical-file-name):
9598 * progmodes/autoconf.el (autoconf-mode):
9599 Prefer configure.ac to configure.in.
9601 2012-07-08 Chong Yidong <cyd@gnu.org>
9603 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9604 Implement the mouse-1-click-follows-link handling properly.
9606 * info.el (Info-link-keymap): Use follow-link mechanism for
9607 header-line links (Bug#374).
9609 * simple.el (deactivate-mark): Do not set the primary selection
9610 if another program has acquired it (Bug#11772).
9612 2012-07-07 Kevin Ryde <user42@zip.com.au>
9614 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9615 (woman-decode-region): Replace escaped-escapes without destroying
9616 bold or underline (Bug#11552).
9617 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9619 2012-07-07 Chong Yidong <cyd@gnu.org>
9621 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9622 (interprogram-cut-function, interprogram-paste-function):
9623 Mention that we typically mean the clipboard.
9625 2012-07-06 Glenn Morris <rgm@gnu.org>
9627 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9629 * files.el (toggle-read-only): Restrict message to interactive use.
9631 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9633 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9635 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9637 2012-07-06 Glenn Morris <rgm@gnu.org>
9639 * Makefile.in (compile-one-process): Rename from "recompile".
9641 * Makefile.in (bzr-update): "compile" is the same as "recompile
9642 autoloads", but parallelizable, so use that instead.
9644 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9646 * window.el (quit-window): Always restore window height when
9647 it's saved in quit-restore parameter (Bug#11810).
9649 2012-07-06 Glenn Morris <rgm@gnu.org>
9651 * simple.el (kill-whole-line): Doc tweak.
9653 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9655 * files.el (file-relative-name): Compare file names
9656 case-insensitively if on MS-Windows or MS-DOS, or if
9657 read-file-name-completion-ignore-case is non-nil. Don't use
9658 case-fold-search for this purpose. (Bug#11827)
9660 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9662 * calendar/cal-dst.el (calendar-current-time-zone):
9663 Return calendar-current-time-zone-cache if non-nil.
9665 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9666 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9668 * calendar/cal-dst.el (calendar-current-time-zone):
9669 Return calendar-current-time-zone-cache if non-nil.
9671 2012-07-06 Glenn Morris <rgm@gnu.org>
9673 * Makefile.in (cvs-update): Remove old alias.
9675 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9677 Sync with Tramp 2.2.6-pre.
9679 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9680 compatible declaration.
9682 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9683 Protect `list-load-path-shadows' call.
9685 * net/tramp-compat.el (top): Require packages, which aren't
9686 autoloaded anymore for XEmacs. Protect call of
9687 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9688 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9689 it hurts at least for SXEmacs.
9690 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9691 standard-value for `temporary-file-directory'.
9693 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9694 Redirect stderr to /dev/null.
9695 (tramp-sh-handle-write-region): uid and gid can be floats.
9696 Reported by Russell Sim <russell.sim@gmail.com>.
9697 (tramp-sh-handle-vc-registered): Hide errors.
9698 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9699 and `start-file-process'.
9700 (tramp-maybe-open-connection): Check also whether `non-essential'
9703 2012-07-04 Chong Yidong <cyd@gnu.org>
9705 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9706 (xml-parse-tag): Likewise, and avoid changing entity tables.
9707 (xml-syntax-table): Define from scratch, making sure not to give
9708 x2000 and other Unicode spaces whitespace syntax, since those are
9710 (xml-parse-fragment): Delete unused function.
9711 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9712 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9713 (xml-entity-ref, xml-pe-reference-re)
9714 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9715 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9716 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9717 (xml-entity-value-re): Use syntax references in regexps where
9718 possible; no need to define inside a let-binding.
9719 (xml-parse-dtd): Use xml-pe-reference-re.
9720 (xml-entity-or-char-ref-re): New defconst.
9721 (xml-parse-string, xml-substitute-special): Use it.
9723 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9726 (find-file--read-only): New function.
9727 (find-file-read-only, find-file-read-only-other-window)
9728 (find-file-read-only-other-frame): Use it.
9729 (insert-file-contents-literally): Don't `fset'.
9730 (get-free-disk-space): Use locate-dominating-file.
9732 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9733 function is already compiled.
9735 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9737 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9739 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9740 files on the same host.
9742 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9744 * help-fns.el (describe-function-1): Only call
9745 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9747 2012-07-03 Chong Yidong <cyd@gnu.org>
9749 * xml.el: Protect parser against XML bombs.
9750 (xml-entity-expansion-limit): New variable.
9751 (xml-parse-string, xml-substitute-special): Use it.
9752 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9754 2012-07-03 Glenn Morris <rgm@gnu.org>
9756 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9757 Allow linking to specific messages in debbugs reports (eg 123#5).
9759 2012-07-02 Chong Yidong <cyd@gnu.org>
9761 * xml.el: Fix entity and character reference expansion, allowing
9762 them to expand into markup as per XML spec.
9763 (xml-default-ns): New variable.
9764 (xml-entity-alist): Use XML spec definitions for lt and amp.
9765 (xml-parse-region): Make first two arguments optional.
9766 Discard text properties.
9767 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9768 All callers changed.
9769 (xml-parse-tag): Call xml-parse-tag-1. For backward
9770 compatibility, this function should not modify buffer contents.
9771 (xml-parse-tag-1): Fix opening-tag regexp.
9772 (xml-parse-string): Rewrite, handling entity and character
9773 references properly.
9774 (xml--entity-replacement-text): Signal an error if a parameter
9775 entity is undefined.
9777 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * comint.el (comint-output-filter): Filter out repeated prompts.
9781 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9782 and file-name-absolute-p.
9783 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9786 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9789 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9790 Rename from byte-compile--refiy-function. All uses changed.
9792 2012-07-01 Chong Yidong <cyd@gnu.org>
9794 * xml.el (xml--parse-buffer): New function. Move most of
9795 xml-parse-region here.
9796 (xml-parse-region): Copy region into a temporary buffer, since
9797 parameter entity substitution requires changing buffer contents.
9798 Use xml--parse-buffer.
9799 (xml-parse-file): Use xml--parse-buffer.
9800 (xml-parse-dtd): Make parameter entity substitution work right.
9801 Use proper regexps for ELEMENT declarations (Bug#7172).
9803 2012-06-30 Glenn Morris <rgm@gnu.org>
9805 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9807 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9808 Remove outdated and unnecessary dbus declarations.
9810 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9812 * emacs-lisp/timer.el (timer-until): Subtract results of
9813 float-time, instead of taking float-time of the result of
9814 time-subtract, since float-time signals an error for negative time
9817 2012-06-30 Chong Yidong <cyd@gnu.org>
9819 * xml.el (xml-*-re): Convert defvars into defconsts, and
9820 eval-and-compile them so eval-and-compile works on derivatives.
9821 (xml--entity-replacement-text): Use eval-and-comple.
9823 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9825 * vc/vc-git.el (vc-git-registered): Use cache property
9827 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9828 `vc-git-working-revision' in order to benefit from the cache.
9829 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9831 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9833 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9834 removed (likely outside Emacs). (Bug#11757)
9836 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * emacs-lisp/cl-lib.el: Require macroexp.
9840 2012-06-30 Chong Yidong <cyd@gnu.org>
9842 * xml.el: Implement XML parameter entities.
9843 (xml-parameter-entity-alist): New variable.
9844 (xml-parse-region, xml-parse-fragment): Preserve previous values
9845 of xml-entity-alist and xml-parameter-entity-alist, so that
9846 repeated calls on different documents do not change them.
9847 (xml-parse-tag): Fix doctype regexp.
9848 (xml--entity-replacement-text): New function.
9849 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9850 properly requires url retrieval which is unimplemented.
9851 (xml-escape-string): Doc fix.
9853 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9857 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9859 * fringe.el (fringe-mode): Doc fix.
9861 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9863 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9865 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9866 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9868 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9870 * calendar/cal-dst.el (calendar-current-time-zone):
9871 Return calendar-current-time-zone-cache if non-nil.
9873 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9875 * progmodes/which-func.el (which-func-format):
9876 Add mouse-face. (Bug#11698)
9878 2012-06-29 Leo Liu <sdl.web@gmail.com>
9880 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9882 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * minibuffer.el (minibuffer-confirm-exit-commands):
9885 Add completion-at-point (bug#11725).
9887 2012-06-29 Glenn Morris <rgm@gnu.org>
9889 * progmodes/f90.el (f90-font-lock-keywords-2):
9890 Add some preprocessor elements. (Bug#10499)
9892 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9894 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9895 Use syntax-propertize (bug#11739).
9897 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9899 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9901 2012-06-28 Julien Danjou <julien@danjou.info>
9903 * term.el (term-handle-colors-array): Use a set of new faces to
9904 color the terminal. Also uses :inverse-video property.
9905 (term-default-fg-color): Set to nil by default, deprecate in favor
9907 (term-default-bg-color): Set to nil by default, deprecate in favor
9909 (term-current-face): Use `term-face' by default.
9910 (term-bold-attribute): Variable deleted.
9912 2012-06-28 Glenn Morris <rgm@gnu.org>
9914 * simple.el (completion-list-mode-finish):
9915 Don't use toggle-read-only. (Since completion-list-mode has
9916 a special mode-class, it wasn't doing anything extra anyway.)
9918 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9920 Make inlining of other-mode interpreted functions work (bug#11799).
9921 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9922 (byte-compile): Use it to fix compilation of lexical-binding closures.
9923 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9924 function, if needed.
9926 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9928 * help-mode.el (help-make-xrefs): Don't just withstand
9929 cyclic-variable-indirection but any error in documentation-property.
9931 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9933 * bindings.el (bindings--define-key): New function.
9934 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9935 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9936 * bindings.el: Use it to purecopy define-key bindings.
9938 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9940 * emacs-lisp/cl.el (flet): Mark obsolete.
9941 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9942 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9943 * progmodes/js.el (js-c-fill-paragraph):
9944 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9945 (ebrowse-switch-member-buffer-to-derived-class):
9946 * play/5x5.el (5x5-solver): Use cl-flet.
9948 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9949 (cl--symbol-function): New macro.
9950 (cl--letf, cl--letf*): Use it.
9952 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9953 Strip "toggle-" if any.
9955 2012-06-27 Glenn Morris <rgm@gnu.org>
9957 * info.el (Info-default-directory-list): Move here from paths.el.
9958 * paths.el: Remove file, which is now empty.
9959 * loadup.el: No longer load "paths".
9961 * custom.el (custom-initialize-delay): Doc fix.
9963 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9964 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9965 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9966 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9967 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9968 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9969 * eshell/eshell.el (eshell-defgroup): Remove alias.
9971 2012-06-27 Chong Yidong <cyd@gnu.org>
9973 * help.el (help-enable-auto-load): New variable.
9975 * help-fns.el (help-fns--autoloaded-p): New function.
9976 (describe-function-1): Refer to a function as "autoloaded" if it
9977 was autoloaded at any time in the past. Perform autoloading if
9978 help-enable-auto-load is non-nil.
9980 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9982 * makefile.w32-in (compile, compile-always): Depend on
9983 update-subdirs, not on subdirs.el. Otherwise, several different
9984 sub-targets of 'bootstrap' running in parallel could
9985 simultaneously write to subdirs.el, producing a garbled file.
9987 2012-06-26 Sam Steingold <sds@gnu.org>
9989 * files.el (file-name-base): New convenience function.
9990 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9991 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9992 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9993 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9994 * textmodes/ispell.el, textmodes/reftex-ref.el:
9995 * textmodes/tex-mode.el: Use it.
9996 Did not touch cedet and org because they are maintained elsewhere.
9998 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10000 * calendar/calendar.el (calendar-exit): Don't try to delete or
10001 iconify last frame. See:
10002 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10004 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10006 * server.el (server-process-filter): Remember dir in the
10007 process's `server-client-directory' properties.
10009 2012-06-24 Chong Yidong <cyd@gnu.org>
10011 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10014 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10016 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10018 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * help-fns.el (describe-variable): Don't croak when doc is not found.
10021 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10022 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10023 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10024 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10025 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10027 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10029 2012-06-23 Chong Yidong <cyd@gnu.org>
10031 * info.el (Info-mouse-follow-link): Accept symbol values of
10032 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10033 (Info-fontify-node): Use Info-link-keymap for all navigation
10034 buttons, with link-args property to perform the desired action.
10035 (Info-link-keymap): Doc fix.
10036 (Info-next-link-keymap, Info-prev-link-keymap)
10037 (Info-up-link-keymap): Delete now-unused keymaps.
10039 2012-06-23 Chong Yidong <cyd@gnu.org>
10041 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10043 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10046 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10048 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10053 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10054 the requote function doesn't work properly (bug#11714).
10056 2012-06-23 Glenn Morris <rgm@gnu.org>
10058 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10060 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10062 Further GV/CL cleanups.
10063 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10065 (gv--defun-declaration): New function.
10066 (defun-declarations-alist): Use it.
10067 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10068 (gv-place): Autoload.
10069 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10070 original definition of dotimes and dolist.
10071 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10072 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10073 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10074 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10075 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10076 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10077 to the function's definition.
10078 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10082 * env.el: Don't use CL.
10084 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10086 Support higher-resolution time stamps (Bug#9000).
10088 * calendar/time-date.el (with-decoded-time-value): New arg
10089 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10090 (encode-time-value): New optional arg PICO. New type 3.
10091 (time-to-seconds) [!float-time]: Support the new picoseconds
10092 component if it's used.
10093 (seconds-to-time, time-subtract, time-add):
10094 Support ps-resolution time stamps as well.
10096 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10097 (timerp): Timer vectors now have length 9, not 8.
10098 (timer--time): Support new-style (4-part) time stamps.
10099 (timer-next-integral-multiple-of-time): Time stamps now have
10100 picosecond resolution, so take a bit more care about rounding.
10101 (timer-relative-time, timer-inc-time): New optional arg psecs.
10102 (timer-set-time-with-usecs): Set psecs to 0.
10103 (timer--activate): Check psecs component, too.
10105 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10107 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10109 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10110 Move the non-essential binding to the post/pre-command-hook where it is
10111 more obviously correct.
10113 * subr.el (read-passwd): Don't use a history at all.
10114 * savehist.el (savehist-save): Remove password saved accidentally
10115 because of the above bug.
10117 2012-06-22 Bastien Guerry <bzg@gnu.org>
10119 * files.el (toggle-read-only): Display a message telling whether
10120 the buffer is read-only or not (bug#11726).
10122 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10124 * emacs-lisp/gv.el: New file.
10125 * subr.el (push, pop): Extend to generalized variables.
10126 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10127 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10128 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10129 gv-define-simple-setter, and gv-define-expander.
10130 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10131 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10132 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10133 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10134 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10136 (cl-defstruct): Don't define setf-method any more.
10137 * emacs-lisp/cl.el (flet): Don't autoload.
10138 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10139 (define-setf-expander, defsetf, define-modify-macro)
10140 (cl-struct-setf-expander): Move from cl-lib.el.
10141 * emacs-lisp/syntax.el:
10142 * emacs-lisp/ewoc.el:
10143 * emacs-lisp/smie.el:
10144 * emacs-lisp/cconv.el:
10145 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10146 (timer--time): Use gv-define-simple-setter.
10147 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10148 to avoid coding-system problems in subr.el. Adjust all users.
10149 (macroexp--maxsize, macroexp-small-p): New functions.
10150 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10151 * scroll-bar.el (scroll-bar-mode):
10152 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10153 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10154 * winner.el (winner-configuration, winner-make-point-alist)
10155 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10156 * files.el (locate-file-completion-table): Avoid list*.
10158 2012-06-22 Chong Yidong <cyd@gnu.org>
10160 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10161 (dired-create-files): Doc fix (Bug#11329).
10162 (dired-do-copy): Doc fix (Bug#11334).
10163 (dired-mark-read-string): Doc fix (Bug#11553).
10165 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10166 Doc fix (Bug#11326).
10167 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10168 (dired-dwim-target): Doc fix.
10170 * wdired.el (wdired-mode): Doc fix.
10172 2012-06-22 Glenn Morris <rgm@gnu.org>
10174 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10175 (pcmpl-rpm-cache-stamp-file): New constant.
10176 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10177 (pcmpl-rpm-packages): Optionally cache list of packages.
10179 * pcmpl-rpm.el (pcmpl-rpm): New group.
10180 (pcmpl-rpm-query-options): New option.
10181 (pcmpl-rpm-packages): No need to inline it.
10182 Use pcmpl-rpm-query-options.
10184 * calendar/calendar.el (calendar-in-read-only-buffer):
10185 Avoid some needless mode changes.
10187 2012-06-21 Chong Yidong <cyd@gnu.org>
10189 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10190 (desktop-path): Remove . from the default value (Bug#10977).
10191 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10193 2012-06-20 Chong Yidong <cyd@gnu.org>
10195 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10197 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10199 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10202 2012-06-20 Chong Yidong <cyd@gnu.org>
10204 * term.el (term-window-width): Handle the case of a missing right
10206 (term-check-size): Use window-text-height (Bug#5445).
10207 (term-mode): Use define-derived-mode. Minor cleanups.
10208 Set font-lock-defaults (Bug#7692).
10209 (term-move-columns, term-insert-char, term-emulate-terminal)
10210 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10212 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10214 * net/ange-ftp.el (ange-ftp-get-passwd):
10215 Bind `enable-recursive-minibuffers'.
10216 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10218 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10220 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10222 2012-06-19 Glenn Morris <rgm@gnu.org>
10224 * progmodes/python.el (python-mode): Derive from prog-mode.
10226 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10228 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10229 (edt-user-menu-bar-update-buffers): New functions.
10230 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10232 2012-06-19 Chong Yidong <cyd@gnu.org>
10234 * subr.el (with-selected-window): Preserve the selected window's
10235 terminal's top-frame (Bug#4702).
10237 * window.el (save-selected-window): Likewise.
10239 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * progmodes/python.el (python-rx-constituents): Move backquote.
10242 (python-skeleton-define, python-define-auxiliary-skeleton):
10245 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10247 * minibuffer.el (read-file-name-default): Revert the patch from
10250 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10252 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10253 (pcase--u1, pcase--q1): Don't use apply-partially.
10255 2012-06-18 Glenn Morris <rgm@gnu.org>
10257 * progmodes/python.el (python-proc, python-buffer)
10258 (python-send-receive, python-send-string): Fix obsolete versions.
10260 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10262 * window.el (special-display-p): Completely remove stringp
10263 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10265 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10267 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10269 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10271 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10272 * net/tramp-sh.el (tramp-maybe-open-connection):
10273 Throw if `non-essential' is non-nil.
10275 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10277 * window.el (special-display-p): Signal an error if BUFFER-NAME
10278 is not a string (Bug#11713).
10280 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10282 * progmodes/python.el (python-info-beginning-of-backslash):
10283 Rename from python-info-beginning-of-backlash, as a spelling fix.
10285 2012-06-17 Chong Yidong <cyd@gnu.org>
10287 * term.el (term-emulate-terminal): If term-check-size is called,
10288 move point to the process mark without resetting point (Bug#4635).
10290 2012-06-17 Glenn Morris <rgm@gnu.org>
10292 * international/mule-cmds.el (mule-menu-keymap)
10293 (set-language-environment, set-locale-environment): Doc tweaks.
10295 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10297 * cus-face.el (custom-face-attributes): Add wave-style underline
10299 * faces.el (set-face-attribute): Update docstring to describe
10300 wave-style underline attribute.
10302 2012-06-16 Chong Yidong <cyd@gnu.org>
10304 * term/xterm.el (terminal-init-xterm): Discard input before
10305 querying background mode (Bug#10959).
10307 2012-06-16 Stefan Merten <smerten@oekonux.de>
10309 * textmodes/rst.el: Added and corrected some comments.
10310 (rst-re-alist-def): Improve symbol syntax.
10311 (rst-mode-syntax-table): Correct syntax entries.
10312 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10313 (rst-official-version, rst-official-cvs-rev): Update version
10316 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10318 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10319 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10321 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10323 * progmodes/python.el: New python.el merge.
10324 (python-guess-indent): Obsolete var.
10325 (python-indent-guess-indent-offset): New defcustom.
10326 (python-indent): Obsolete var.
10327 (python-indent-offset): New defcustom.
10328 (python-python-command, python-jython-command): Delete var.
10329 (python-shell-interpreter): New defcustom.
10330 (python-pdbtrack-do-tracking-p): Delete var.
10331 (python-pdbtrack-activate): New defcustom.
10332 (python-use-skeletons): Obsolete var.
10333 (python-skeleton-autoinsert): New defcustom.
10334 (inferior-python-filter-regexp, python-continuation-offset)
10335 (python-honour-comment-indentation, python-indent-string-contents)
10336 (python-jython-packages, python-mode-hook)
10337 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10338 (python-shell-prompt-alist)
10339 (python-source-modes): Delete defcustoms.
10340 (python-check-buffer-name, python-eldoc-setup-code)
10341 (python-eldoc-string-code, python-ffap-setup-code)
10342 (python-ffap-string-code, python-fill-comment-function)
10343 (python-fill-decorator-function, python-fill-paren-function)
10344 (python-fill-string-function, python-imenu-include-defun-type)
10345 (python-imenu-make-tree, python-imenu-subtree-root-label)
10346 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10347 (python-shell-compilation-regexp-alist)
10348 (python-shell-completion-module-string-code)
10349 (python-shell-completion-pdb-string-code)
10350 (python-shell-completion-setup-code)
10351 (python-shell-completion-string-code)
10352 (python-shell-enable-font-lock, python-shell-exec-path)
10353 (python-shell-extra-pythonpaths)
10354 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10355 (python-shell-process-environment)
10356 (python-shell-prompt-block-regexp)
10357 (python-shell-prompt-output-regexp)
10358 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10359 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10360 (python-shell-virtualenv-path): New defcustoms.
10361 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10362 (inferior-python-mode-syntax-table, python--prompt-regexp)
10363 (python-buffer, python-command python-python-command)
10364 (python-default-template, python-imports, python-indent-index)
10365 (python-indent-list, python-indent-list-length)
10366 (python-mode-running, python-pdbtrack-is-tracking-p)
10367 (python-preoutput-continuation, python-preoutput-leftover)
10368 (python-preoutput-result, python-preoutput-skip-next-prompt)
10369 (python-prev-dir/file, python-recursing)
10370 (python-saved-check-command, python-version-checked)
10371 (python-which-func-length-limit)
10372 (view-return-to-alist): Delete vars.
10373 (python-check-custom-command, python-dotty-syntax-table)
10374 (python-imenu-index-alist, python-indent-current-level)
10375 (python-indent-dedenters, python-indent-levels)
10376 (python-nav-beginning-of-defun-regexp)
10377 (python-nav-list-defun-positions-cache)
10378 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10379 (python-shell-internal-buffer)
10380 (python-skeleton-available): New vars.
10381 (def-python-skeleton): Delete macro.
10382 (python-skeleton-define): New macro.
10383 (python-define-auxiliary-skeleton, python-rx): New macros.
10384 (python-insert-class): Delete command.
10385 (python-skeleton-class): New command.
10386 (python-insert-def): Delete command.
10387 (python-skeleton-def): New command.
10388 (python-insert-for): Delete command.
10389 (python-skeleton-for): New command.
10390 (python-insert-if): Delete command.
10391 (python-skeleton-if): New command.
10392 (python-insert-try/except, python-insert-try/finally): Delete commands.
10393 (python-skeleton-try): New command.
10394 (python-insert-while): Delete command.
10395 (python-skeleton-while): New command.
10396 (python-backspace): Delete command.
10397 (python-indent-dedent-line-backspace): New command.
10398 (python-electric-colon): Delete command.
10399 (python-indent-electric-colon): New command.
10400 (python-guess-indent): Delete command.
10401 (python-indent-guess-indent-offset): New command.
10402 (python-shift-left): Delete command.
10403 (python-indent-shift-left): New command.
10404 (python-shift-right): Delete command.
10405 (python-indent-shift-right): New command.
10406 (python-find-function): Delete command.
10407 (python-nav-jump-to-defun): New command.
10408 (python-next-statement): Delete command.
10409 (python-nav-forward-sentence): New command.
10410 (python-previous-statement): Delete command.
10411 (python-nav-backward-sentence): New command.
10412 (python-fill-paragraph): Delete command.
10413 (python-fill-paragraph-function): New command.
10414 (python-send-buffer): Delete command.
10415 (python-shell-send-buffer): New command.
10416 (python-send-defun): Delete command.
10417 (python-shell-send-defun): New command.
10418 (python-send-region, python-send-region-and-go): Delete commands.
10419 (python-shell-send-region)
10420 (python-shell-switch-to-shell): New commands.
10421 (python-send-string): Delete command.
10422 (python-shell-send-string): New command.
10423 (python-switch-to-python): Delete command.
10424 (python-shell-switch-to-shell): New command.
10425 (python-describe-symbol): Delete command.
10426 (python-eldoc-at-point): New command.
10427 (python--set-prompt-regexp, python-args-to-list)
10428 (python-after-info-look, python-check-version)
10429 (python-check-comint-prompt, python-find-imports)
10430 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10431 (python-unload-function, python-expand-template)
10432 (python-maybe-jython, python-preoutput-filter)
10433 (python-pdbtrack-get-source-buffer)
10434 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10435 (python-pdbtrack-toggle-stack-tracking)
10436 (python-pdbtrack-track-stack-file, python-initial-text)
10437 (python-first-word, python-comment-line-p, python-send-command)
10438 (python-setup-brm, python-sentinel, python-set-proc)
10439 (python-skip-out, python-input-filter, python-outdent-p)
10440 (python-outline-level, python-backslash-continuation-line-p)
10441 (python-end-of-block, python-end-of-statement, python-mark-block)
10442 (python-beginning-of-block, python-beginning-of-statement)
10443 (python-blank-line-p, python-beginning-of-string)
10444 (python-open-block-statement-p): Delete functions.
10445 (python-indent-line, python-indent-line-1): Delete functions.
10446 (python-indent-line): New function.
10447 (python-indentation-levels): Delete function.
10448 (python-indent-calculate-levels): New function.
10449 (python-proc): Delete function.
10450 (python-shell-get-process): New function.
10451 (python-send-receive): Delete function.
10452 (python-shell-send-string-no-output): New function.
10453 (python-module-path): Delete function.
10454 (python-ffap-module-path): New function.
10455 (python-completion-at-point)
10456 (python-symbol-completions): Delete functions.
10457 (python-completion-complete-at-point): New function.
10458 (python-load-file): Delete function.
10459 (python-shell-send-file): New function.
10460 (python-calculate-indentation): Delete function.
10461 (python-indent-calculate-indentation): New function.
10462 (python-skip-comments/blanks): Delete function.
10463 (python-util-forward-comment): New function.
10464 (python-continuation-line-p): Delete function.
10465 (python-info-continuation-line-p): New function.
10466 (python-which-func, python-current-defun): Delete function.
10467 (python-info-current-defun): New function.
10468 (python-beginning-of-defun): Delete function.
10469 (python-nav-beginning-of-defun): New function.
10470 (python-close-block-statement-p)
10471 (python-block-end-p): Delete function.
10472 (python-info-closing-block): New function.
10473 (python-comint-output-filter-function)
10474 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10475 (python-fill-comment, python-fill-decorator, python-fill-paren)
10476 (python-fill-string, python-imenu-make-element-tree)
10477 (python-imenu-make-tree, python-imenu-tree-assoc)
10478 (python-indent-context, python-indent-dedent-line)
10479 (python-indent-line-function)
10480 (python-indent-post-self-insert-function)
10481 (python-indent-toggle-levels)
10482 (python-info-assignment-continuation-line-p)
10483 (python-info-beginning-of-backlash)
10484 (python-info-block-continuation-line-p)
10485 (python-info-closing-block-message)
10486 (python-info-line-ends-backslash-p)
10487 (python-info-looking-at-beginning-of-defun)
10488 (python-info-ppss-context, python-info-ppss-context-type)
10489 (python-nav-list-defun-positions, python-nav-read-defun)
10490 (python-nav-sentence-end, python-nav-sentence-start)
10491 (python-pdbtrack-comint-output-filter-function)
10492 (python-pdbtrack-set-tracked-buffer)
10493 (python-shell-calculate-exec-path)
10494 (python-shell-calculate-process-environment)
10495 (python-shell-completion--do-completion-at-point)
10496 (python-shell-completion--get-completions)
10497 (python-shell-completion-complete-at-point)
10498 (python-shell-completion-complete-or-indent)
10499 (python-shell-get-or-create-process)
10500 (python-shell-get-process-name)
10501 (python-shell-internal-get-or-create-process)
10502 (python-shell-internal-get-process-name)
10503 (python-shell-internal-send-string, python-shell-make-comint)
10504 (python-shell-parse-command, python-shell-send-setup-code)
10505 (python-skeleton-add-menu-items)
10506 (python-util-clone-local-variables, python-util-position)
10507 (run-python-internal, python-indentation-levels)
10508 (python-nav-beginning-of-defun)
10509 (python-completion-complete-at-point): New functions.
10510 (run-python): Change arguments. New API requirements.
10512 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10517 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10518 (macroexp--expand-all): Use it.
10520 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10521 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10522 Use `cl-function' instead.
10524 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10526 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10527 Suggested by Stefan Monnier while discussing bug#11657.
10529 2012-06-14 Sam Steingold <sds@gnu.org>
10531 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10533 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10535 * play/doctor.el (doctor-doc): Remove parameter and use
10536 doctor-sent instead of sent.
10537 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10539 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10541 * files.el: Require cl-lib.
10542 (file-name-non-special): Replace case -> cl-case.
10544 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10546 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10547 mapping from #' to function*.
10549 2012-06-13 Chong Yidong <cyd@gnu.org>
10551 * mouse.el (mouse-drag-track): Do not set the mark if the user
10552 releases the mouse without selecting anything (Bug#11588).
10554 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10557 as well (bug#11646).
10559 * loadup.el: Count byte-code functions as well.
10561 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10562 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10564 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10565 (bug#11649). Add cl-defun and cl-defmacro.
10567 2012-06-13 Drew Adams <drew.adams@oracle.com>
10569 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10572 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10574 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10575 Otherwise, it blocks in batch mode.
10577 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10579 * help-mode.el (bookmark-make-record-default): Declare.
10581 2012-06-13 Chong Yidong <cyd@gnu.org>
10583 * emacs-lisp/package.el (list-packages): Compute a list of
10584 packages that are newly-available since the last list-packages
10586 (package-menu--new-package-list): New var.
10587 (package-menu--generate, package-menu--print-info)
10588 (package-menu--status-predicate, package-menu-mark-install):
10589 Handle new status label "new".
10591 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10593 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10594 conversion to backquotes.
10596 2012-06-12 Chong Yidong <cyd@gnu.org>
10598 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10599 Rename from gud-inhibit-global-bindings.
10601 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10603 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10604 hook from nxml-glyph-set-hook.
10606 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10609 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10611 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10612 Convert to defcustom.
10614 2012-06-12 Drew Adams <drew.adams@oracle.com>
10616 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10618 (help-mode): Use them.
10620 2012-06-11 Glenn Morris <rgm@gnu.org>
10622 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10623 Use preprocessor face for directives.
10624 (fortran-directive-re): Doc fix.
10626 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10629 conversion to backquotes (bug#11652).
10631 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10632 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10633 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10634 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10635 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10636 (cl-ninth, cl-tenth): Mark them as inlinable.
10637 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10638 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10639 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10640 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10641 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10642 (cl-list*, cl-adjoin): Don't put an autoload manually.
10643 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10644 (cl--compiler-macro-list*): Add autoload cookie.
10645 (cl--compiler-macro-cXXr): New function.
10647 * help-fns.el (help-fns--compiler-macro): New function extracted from
10648 describe-function-1; follow aliases and use `compiler-macro' property.
10649 (describe-function-1): Use it.
10651 2012-06-11 Chong Yidong <cyd@gnu.org>
10653 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10654 is uninstalled, if imagemagick is installed.
10656 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * emacs-lisp/cl-lib.el: Use lexical-binding.
10659 (cl-map-extents, cl-maclisp-member): Remove.
10660 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10661 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10662 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10663 * emacs-lisp/cl-extra.el: Use lexical-binding.
10664 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10665 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10666 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10667 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10668 * emacs-lisp/cl-seq.el: Use lexical-binding.
10669 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10670 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10671 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10672 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10673 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10676 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10678 Sync with Tramp 2.2.6-pre.
10680 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10681 `print-length' and `print-level' to nil, in order to avoid
10682 truncation. Reported by Christopher Schmidt
10683 <christopher@ristopher.com>.
10685 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10687 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10689 (tramp-compat-copy-directory): Add optional argument
10690 COPY-CONTENTS. It is not handled yet.
10692 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10693 (tramp-ftp-file-name-p): Simplify.
10695 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10696 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10699 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10700 (tramp-methods): Do not use `tramp-password-end-of-line'.
10701 (tramp-completion-function-alist-putty): Handle UNIX case.
10702 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10703 (tramp-do-file-attributes-with-stat)
10704 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10705 gid as real numbers. They could run out of integer range on cygwin.
10706 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10707 (tramp-sh-handle-expand-file-name): Handle hops.
10708 (tramp-open-connection-setup-interactive-shell):
10709 Use `tramp-cleanup'. Move check for busyboxes ...
10710 (tramp-find-shell): ... here. Simplify implementation.
10711 Set "remote-shell" property also for alternative shells.
10712 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10713 If failing, a regular file would be written otherwise.
10714 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10715 (tramp-find-inline-encoding): Cache the coding commands in the
10716 process cache. Apply test command on the remote side, if defined.
10717 (tramp-find-inline-compress): Cache the compress commands in the
10719 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10720 when requested. Handle hops.
10721 (tramp-current-connection): New defvar.
10722 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10723 Throw `suppress', if there was a failed connection shortly before.
10724 Handle user interrupt. (Bug#10187)
10725 (tramp-get-inline-compress, tramp-get-inline-coding):
10726 Read connection properties from the process cache.
10728 * net/tramp-smb.el (tramp-smb-server-version)
10729 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10731 (tramp-smb-prompt): Extend for powershell prompt.
10732 (tramp-smb-file-name-handler-alist): Add handlers for
10733 `process-file', `shell-command' and `start-file-process'.
10734 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10735 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10736 (tramp-smb-file-name-p): Simplify.
10737 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10738 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10739 (tramp-smb-shell-quote-argument): New defuns.
10740 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10741 Implement using "tar". By this, time-stamps are preserved.
10742 (tramp-smb-handle-copy-file): Handle also the case of directories.
10743 (tramp-smb-do-file-attributes-with-stat)
10744 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10745 Use `tramp-get-connection-buffer').
10746 (tramp-smb-handle-rename-file): Use "rename", when source and
10747 target are on the same share.
10748 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10749 Use `tramp-smb-server-version'.
10750 (tramp-smb-wait-for-output): Remove prompt.
10752 * net/tramp.el (top): Require 'cl.
10753 (tramp-methods, tramp-rsh-end-of-line):
10754 Remove `tramp-password-end-of-line' from docstring.
10755 (tramp-save-ad-hoc-proxies): New defcustom.
10756 (tramp-completion-function-alist): Adapt docstring.
10757 (tramp-default-password-end-of-line): Remove defcustom.
10758 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10759 (tramp-user-regexp, tramp-file-name-regexp-unified)
10760 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10761 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10762 (tramp-remote-file-name-spec-regexp): New defconst.
10763 (tramp-file-name-structure): Extend structure for hops.
10764 (tramp-get-method-parameter): Move up.
10765 (tramp-file-name-p, tramp-dissect-file-name)
10766 (with-parsed-tramp-file-name): Handle hops.
10767 (tramp-file-name-hop): New defun.
10768 (tramp-make-tramp-file-name): New optional arg HOP.
10769 (tramp-message-show-progress-reporter-message): New defvar.
10770 (tramp-with-progress-reporter): Use it. We cannot use
10771 `tramp-message-show-message' here, because this suppresses also
10773 (tramp-error-with-buffer): Suppress buffer view, if
10774 `tramp-message-show-message' is nil.
10775 Use `tramp-get-connection-buffer'.
10776 (tramp-cleanup): New defun.
10777 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10778 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10779 an error unchanged.
10780 (tramp-completion-handle-file-name-all-completions): Handle hops.
10781 Fix an error when called from ido.
10782 (tramp-completion-dissect-file-name): Use better local variable
10783 name. Add hop to the vector.
10784 (tramp-handle-insert-file-contents): Use progress-reporter for the
10786 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10788 (tramp-check-for-regexp): Simplify search.
10789 (tramp-enter-password): Remove it. Move implementation ...
10790 (tramp-action-password): ... here.
10791 (tramp-mode-string-to-int, tramp-local-host-p)
10792 (tramp-make-tramp-temp-file, tramp-read-passwd)
10793 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10794 Set tramp-autoload cookie.
10796 * net/trampver.el: Update release number.
10798 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10799 Michael Albinus <michael.albinus@gmx.de>
10801 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10802 (tramp-parse-group, tramp-parse-file)
10803 (tramp-parse-shostkeys-sknownhosts): New defuns.
10804 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10805 (tramp-parse-shosts-group, tramp-parse-sconfig)
10806 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10807 (tramp-parse-sknownhosts, tramp-parse-hosts)
10808 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10810 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10811 (tramp-parse-putty-group): Don't narrow.
10812 (tramp-parse-putty): Make a loop.
10813 (tramp-file-name-handler): Catch the `suppress' signal.
10815 2012-06-11 Chong Yidong <cyd@gnu.org>
10817 * image.el (imagemagick-register-types): Put the ImageMagick entry
10818 at the end of image-type-file-name-regexps.
10820 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10822 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10823 (pcase, pcase-let*, pcase-dolist): Use them.
10825 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10827 * emacs-lisp/pcase.el (pcase--let*): New function.
10828 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10829 (pcase--expand): Use macroexp-let².
10831 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10834 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10835 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10836 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10837 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10838 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10840 2012-06-10 Glenn Morris <rgm@gnu.org>
10842 * mail/rmail.el (rmail-yank-current-message): Leave point at
10843 correct position. (Bug#11660)
10845 2012-06-10 Chong Yidong <cyd@gnu.org>
10847 * allout-widgets.el: Fix code header.
10849 2012-06-10 Chong Yidong <cyd@gnu.org>
10851 * cus-edit.el (customize-changed-options-previous-release):
10854 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10856 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10858 2012-06-09 Chong Yidong <cyd@gnu.org>
10860 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10862 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10864 * window.el (special-display-popup-frame): Don't use
10865 window--display-buffer (Bug#11651).
10867 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10869 Fix parallel builds: make sure loaddefs.el is not being written
10870 while Lisp files are compiled.
10871 (compile): Don't depend on 'mh-autoloads'.
10872 (compile-CMD, compile-SH): Depend on 'autoloads'.
10873 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10875 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10877 2012-06-09 Chong Yidong <cyd@gnu.org>
10879 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10880 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10881 Doc fixes (Bug#11225).
10883 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10885 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10886 a function if there's a clear indication that it has a compiler-macro.
10887 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10888 (macro-declarations-alist): Add arglist to declaration functions.
10889 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10890 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10891 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10892 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10893 Also add autoload to find the compiler macro.
10894 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10895 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10896 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10897 (cl--compiler-macro-get): New functions, replacing calls to
10898 cl-define-compiler-macro.
10899 (cl-typep) [compiler-macro]: Use macroexp-let².
10901 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10903 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10904 string properly, fixes Bug#11473.
10906 2012-06-08 Chong Yidong <cyd@gnu.org>
10908 * faces.el (set-face-attribute): Doc fix.
10909 (modify-face): Don't use :bold and :italic.
10910 (error, warning, success): Tweak definitions.
10912 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10913 (custom-modified, custom-set, custom-changed, custom-themed)
10914 (custom-saved, custom-button, custom-button-mouse)
10915 (custom-button-pressed, custom-state, custom-comment-tag)
10916 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10917 (custom-group-subtitle): Use new-style face specs.
10918 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10919 (custom-set-face, custom-changed-face, custom-saved-face)
10920 (custom-button-face, custom-button-pressed-face)
10921 (custom-documentation-face, custom-state-face)
10922 (custom-comment-face, custom-comment-tag-face)
10923 (custom-variable-tag-face, custom-variable-button-face)
10924 (custom-face-tag-face, custom-group-tag-face-1)
10925 (custom-group-tag-face): Remove obsolete face alias.
10927 * epa.el (epa-validity-high, epa-validity-medium)
10928 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10929 (epa-field-name, epa-field-body):
10930 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10931 (font-lock-keyword-face, font-lock-builtin-face)
10932 (font-lock-function-name-face, font-lock-variable-name-face)
10933 (font-lock-type-face, font-lock-constant-face):
10934 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10935 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10936 * speedbar.el (speedbar-button-face, speedbar-file-face)
10937 (speedbar-directory-face, speedbar-tag-face)
10938 (speedbar-selected-face, speedbar-highlight-face)
10939 (speedbar-separator-face):
10940 * whitespace.el (whitespace-newline, whitespace-space)
10941 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10942 (whitespace-line, whitespace-space-before-tab)
10943 (whitespace-space-after-tab, whitespace-indentation)
10944 (whitespace-empty):
10945 * emulation/cua-base.el (cua-global-mark):
10946 * eshell/em-prompt.el (eshell-prompt):
10947 * net/newst-plainview.el (newsticker-new-item-face)
10948 (newsticker-old-item-face, newsticker-immortal-item-face)
10949 (newsticker-obsolete-item-face, newsticker-date-face)
10950 (newsticker-statistics-face, newsticker-default-face):
10951 * net/newst-reader.el (newsticker-feed-face)
10952 (newsticker-extra-face, newsticker-enclosure-face):
10953 * net/newst-treeview.el (newsticker-treeview-face)
10954 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10955 (newsticker-treeview-immortal-face)
10956 (newsticker-treeview-obsolete-face)
10957 (newsticker-treeview-selection-face):
10958 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10959 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10960 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10961 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10962 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10963 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10964 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10966 * progmodes/vera-mode.el (vera-font-lock-number)
10967 (vera-font-lock-function, vera-font-lock-interface):
10968 * textmodes/table.el (table-cell): Use new-style face specs, and
10969 don't use the old :bold and :italic attributes.
10971 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10972 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10973 (ebrowse-member-class, ebrowse-progress): Likewise.
10974 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10975 (ebrowse-file-name-face, ebrowse-default-face)
10976 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10977 (ebrowse-progress-face): Remove obsolete faces.
10979 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10980 Inherit from error and warning faces respectively.
10982 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10984 (flyspell-incorrect-face, flyspell-duplicate-face):
10985 Remove obsolete aliases.
10987 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10989 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10992 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * startup.el (argv, argi): Make lexically scoped.
10995 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10996 * emacs-lisp/cl-macs.el: Use lexical-binding.
10997 Rename cl-bind-* to cl--bind-*.
10998 * files.el: Don't require `cl' since it doesn't use it.
10999 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11001 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11003 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11004 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11005 instead of calling external sort utility.
11006 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11008 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11010 * descr-text.el (describe-char): Mention how to insert the
11011 character, if the current input method doesn't support it.
11012 See the discussion in this thread for the details:
11013 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11015 2012-06-08 Sam Steingold <sds@gnu.org>
11017 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11018 XF86Back to previous-buffer.
11019 (minibuffer-local-map): Bind them to next-history-element and
11020 previous-history-element respectively.
11021 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11022 help-go-back respectively.
11023 * info.el (Info-mode-map): Bind them to Info-history-forward and
11024 Info-history-back respectively.
11025 These are the keys next to Up on the ThinkPad keyboard.
11027 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11029 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11030 * emacs-lisp/cl-macs.el: Provide itself.
11031 (cl--labels-convert-cache): New var.
11032 (cl--labels-convert): New function.
11033 (cl-flet, cl-labels): New implementation with new semantics, relying on
11035 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11036 (cl-closure-vars, cl--function-convert-cache)
11037 (cl--function-convert): Move from cl-macs.el.
11038 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11039 rename by removing the "cl-" prefix.
11040 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11042 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11045 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11046 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11047 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11048 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11049 (cl-hash-table-count): Add old compatibility aliases.
11051 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11052 Use macroexpand-all-environment instead.
11053 (cl--old-macroexpand): New var.
11054 (cl--sm-macroexpand): New function.
11055 (cl-symbol-macrolet): Use it during macro expansion.
11056 (cl--function-convert-cache): New var.
11057 (cl--function-convert): New function, extracted from
11058 cl-macroexpand-all.
11059 (cl-lexical-let): Use it.
11061 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11062 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11063 (cl-member): Remove old alias.
11065 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11066 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11067 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11068 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11069 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11070 (cl-macroexpand-cmacs): Remove var.
11071 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11072 Use macroexpand-all instead.
11074 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11076 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11077 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11078 (macroexp-copyable-p): New functions and macros.
11079 * emacs-lisp/edebug.el (edebug-unwrap):
11080 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11081 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11082 (pcase--let*): Remove.
11083 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11084 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11085 macroexp-const-p instead.
11086 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11088 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11089 instead of "cl-" for internal definitions. Use macroexp-const-p.
11090 (cl-old-bc-file-form): Remove var.
11091 (cl-const-exprs-p): Remove fun.
11092 (cl-labels, cl-macrolet): Use backquote.
11093 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11094 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11095 (cl-define-setf-expander): Rename from cl-define-setf-method.
11096 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11098 * international/mule-cmds.el: Don't require CL.
11099 (view-hello-file): Don't use `letf'.
11101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11103 * tmm.el (tmm-prompt): Use string-prefix-p.
11104 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11105 (tmm-add-prompt): Use minibuffer-completion-help.
11106 (tmm-delete-map): Remove.
11108 * subr.el (kbd): Make it its own function.
11110 2012-06-07 Stefan Merten <smerten@oekonux.de>
11112 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11113 Silence compiler warnings. Fix versions.
11114 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11115 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11116 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11117 (rst-package-emacs-version-alist): Correct Emacs version to
11118 represent major merge with upstream.
11119 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11121 2012-06-06 Glenn Morris <rgm@gnu.org>
11123 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11124 Only print environment variables if set.
11126 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11128 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11129 (macroexp--cons): Rename from maybe-cons.
11130 (macroexp--accumulate): Rename from macroexp-accumulate.
11131 (macroexp--all-forms): Rename from macroexpand-all-forms.
11132 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11133 (macroexp--expand-all): Rename from macroexpand-all-1.
11135 2012-06-06 Sam Steingold <sds@gnu.org>
11137 * calendar/calendar.el (calendar-in-read-only-buffer):
11138 Call `special-mode' to enable the standard read-only keybindings.
11140 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11143 with "loading" messages (bug#11635).
11145 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11147 * files.el (enable-remote-dir-locals): New option.
11148 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11151 Ensure, that the temp directory is local.
11153 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11154 `temporary-file-directory'.
11156 * progmodes/python.el (python-send-region): Ensure, that the
11157 temporary file is created also in the remote case.
11159 2012-06-06 Glenn Morris <rgm@gnu.org>
11161 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11162 (vc-rcs-update-changelog): Use it.
11164 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11166 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11167 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11168 (vc-sccs-diff): Replace use of the external vcdiff script.
11170 2012-06-05 Glenn Morris <rgm@gnu.org>
11172 * ledit.el: Move to obsolete/.
11174 2012-06-05 Sam Steingold <sds@gnu.org>
11176 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11179 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * emacs-lisp/cust-print.el: Move to obsolete.
11183 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11184 compiler-macro expansion.
11186 Add native compiler-macro support.
11187 * emacs-lisp/macroexp.el (macroexpand-all-1):
11188 Support compiler-macros directly. Properly follow aliases and apply
11189 the compiler macros more thoroughly.
11190 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11191 macroexpand now properly follows aliases.
11192 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11193 (cl-compiler-macroexpand): Use new prop.
11194 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11196 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11198 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11200 * window.el (get-lru-window, get-mru-window, get-largest-window):
11201 New argument NOT-SELECTED to avoid picking the selected window.
11202 (window--display-buffer-1, window--display-buffer-2): Replace by
11203 new function window--display-buffer
11204 (display-buffer-same-window, display-buffer-reuse-window)
11205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11206 Use window--display-buffer.
11207 (display-buffer-use-some-window): Remove temporary dedication
11208 hack by calling get-lru-window and get-largest-window with
11209 NOT-SELECTED argument non-nil. Call window--display-buffer.
11211 2012-06-05 Glenn Morris <rgm@gnu.org>
11213 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11214 Replace external vcdiff script.
11216 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11220 2012-06-04 Chong Yidong <cyd@gnu.org>
11222 * image.el (imagemagick-types-inhibit): Revert last change.
11224 (imagemagick-enabled-types): Remove CIN and EPS*.
11226 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * emacs-lisp/cl-lib.el: Rename from cl.el.
11229 * emacs-lisp/cl.el: New compatibility file.
11230 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11231 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11232 to obey the "cl-" prefix.
11233 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11235 2012-06-03 Glenn Morris <rgm@gnu.org>
11237 * emacs-lisp/authors.el (authors-aliases): Addition.
11239 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11242 2012-06-03 Stefan Merten <smerten@oekonux.de>
11244 * textmodes/rst.el: Add comments.
11245 (rst-transition, rst-adornment): New faces.
11246 (rst-adornment-faces-alist): Make default safe to reevaluate.
11248 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11249 Improve customization tags.
11250 (rst-define-level-faces): Clarify meaning.
11252 2012-06-03 Chong Yidong <cyd@gnu.org>
11254 * progmodes/compile.el (compilation-mode-line-fail)
11255 (compilation-mode-line-run, compilation-mode-line-exit):
11257 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11259 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11261 * progmodes/which-func.el (which-func-update-ediff-windows):
11262 New function. Use it in ediff-select-hook (Bug#11478).
11264 2012-06-03 Chong Yidong <cyd@gnu.org>
11266 * bindings.el: Remove explicit help text from format-mode-line.
11267 It is now supplied by mode-line-default-help-echo.
11268 (mode-line-front-space, mode-line-end-spaces)
11269 (mode-line-misc-info): New variables.
11270 (mode-line-modes, mode-line-position): Move the default value to
11271 the variable definition.
11272 (mode-line-default-help-echo): New defcustom.
11273 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11274 (mode-line-modified-help-echo): New functions.
11275 (mode-line-mule-info, mode-line-modified): Use them.
11276 (mode-line-eol-desc, propertized-buffer-identification):
11277 Consistency fixes for help text.
11278 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11279 set-buffer-file-coding-system (Bug#289).
11280 (mode-line-mule-info-help-echo): Update help text.
11282 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11284 * simple.el (execute-extended-command): Set real-this-command
11287 2012-06-02 Chong Yidong <cyd@gnu.org>
11289 Remove incorrect uses of "modeline" in comments, docstrings, and
11290 function/variable names (Bug#10329).
11292 * cus-edit.el (mode-line):
11293 * dframe.el (dframe-mouse-hscroll):
11294 * emacs-lisp/re-builder.el:
11295 * emacs-lisp/easy-mmode.el (define-minor-mode):
11296 * frame.el (set-frame-name):
11297 * help.el (lookup-minor-mode-from-indicator):
11298 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11299 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11300 (c-toggle-hungry-state):
11301 * progmodes/antlr-mode.el (antlr-language-alist):
11302 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11303 * progmodes/vhdl-mode.el (vhdl-mode):
11304 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11305 * term/ns-win.el (ns-face-at-pos):
11306 * term/sup-mouse.el (sup-mouse-report):
11307 * textmodes/flyspell.el (flyspell-mode-line-string):
11308 * textmodes/ispell.el (ispell-highlight-face):
11309 * textmodes/reftex-global.el:
11310 * vc/vc-arch.el (vc-arch-mode-line-string):
11311 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11312 * vc/vc-git.el (vc-git-mode-line-string):
11313 * vc/vc-hooks.el (vc-display-status)
11314 (vc-default-mode-line-string):
11315 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11317 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11319 * dired.el (dired-sort-set-mode-line): Rename from
11320 dired-sort-set-modeline. All callers changed.
11322 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11323 eshell-status-in-modeline.
11325 * foldout.el (foldout-mode-line-string): Rename from
11326 foldout-modeline-string. All callers changed.
11327 (foldout-update-mode-line): Rename from foldout-update-modeline.
11329 * subr.el (redraw-modeline): Make into obsolete alias.
11331 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11332 timeclock-modeline-display. Make old name an alias.
11333 (timeclock-update-mode-line): Likewise. All callers changed.
11334 (timeclock-mode-line-display): No need to check before using
11336 (timeclock-relative, timeclock-day-over-hook)
11337 (timeclock-use-elapsed, timeclock-mode-string)
11338 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11340 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11341 crisp-mode-modeline-string.
11343 * play/solitaire.el (solitaire-build-mode-line): Rename from
11344 solitaire-build-modeline. All callers changed.
11346 * play/zone.el (zone-hiding-mode-line): Rename from
11347 zone-hiding-modeline. All callers changed.
11348 (zone): Remove unusued `modeline-hidden-level' property.
11350 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11351 xscheme-modeline-initialize. All callers changed.
11353 * strokes.el (strokes-lighter): Rename from
11354 strokes-modeline-string.
11356 * textmodes/sgml-mode.el (html-face-tag-alist)
11357 (html-tag-face-alist): Use mode-line face instead of obsolete
11360 2012-06-02 Stefan Merten <smerten@oekonux.de>
11362 * textmodes/rst.el: Always require `cl'.
11363 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11365 2012-06-02 Chong Yidong <cyd@gnu.org>
11367 * image.el (imagemagick-enabled-types): Rename from
11368 imagemagick-types-enable. Add many more types.
11369 (imagemagick-types-inhibit): Change default to nil.
11370 (imagemagick-filter-types): Caller changed.
11372 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * emacs-lisp/cl-macs.el: Use backquotes.
11375 (cl-transform-function-property): Use eval-and-compile rather than
11377 (defstruct): Use declare-function instead of with-no-warnings.
11379 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11380 (byte-compile-output-docform): Re-add the print-circle bindings.
11381 (byte-compile-fix-header): Use #$ just because it's shorter.
11382 (byte-compile-output-file-form): Remove defun/defmacro.
11384 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11386 * simple.el (choose-completion): Remove now obsolete binding for
11389 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11391 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11392 in order to avoid "Stack overflow in regexp matcher".
11394 2012-05-31 Glenn Morris <rgm@gnu.org>
11396 * image.el: For clarity, call imagemagick-register-types at
11397 top-level, rather than relying on a custom :initialize.
11398 (imagemagick-types-enable): New option. (Bug#11557)
11399 (imagemagick-filter-types): New function. (Bug#7406)
11400 (imagemagick-register-types): Use imagemagick-filter-types.
11401 If disabling support, remove elements altogether rather
11402 than using an impossible regexp.
11403 (imagemagick-types-inhibit): Give it the default init function.
11405 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11408 Handle arbitrary file name lengths (Bug#11585).
11410 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11412 * desktop.el (desktop-read): Clear previous and next buffers for
11413 all windows and bury *Messages* buffer (bug#11556).
11415 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11417 Add `declare' for `defun'. Align `defmacro's with it.
11418 * emacs-lisp/easy-mmode.el (define-minor-mode)
11419 (define-globalized-minor-mode): Don't autoload the var definitions.
11420 * emacs-lisp/byte-run.el: Use lexical-binding.
11421 (defun-declarations-alist, macro-declarations-alist): New vars.
11422 (defmacro, defun): Use them.
11423 (make-obsolete, define-obsolete-function-alias)
11424 (make-obsolete-variable, define-obsolete-variable-alias):
11426 (macro-declaration-function): Mark obsolete.
11427 * emacs-lisp/autoload.el: Use lexical-binding.
11428 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11430 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11432 * textmodes/ispell.el (ispell-with-no-warnings):
11434 (ispell-kill-ispell, ispell-change-dictionary):
11435 Use `called-interactively-p' for Emacs instead of obsolete
11438 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11440 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11441 (macro-declaration-function): Move var from C code.
11442 (macro-declaration-function): Define function with defalias.
11443 * emacs-lisp/macroexp.el (macroexpand-all-1):
11444 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11446 defun/defmacro any more.
11447 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11448 Provide fallback for unknown arglist.
11449 (byte-compile-arglist-warn): Change calling convention.
11450 (byte-compile-output-file-form): Move print-vars binding.
11451 (byte-compile-output-docform): Simplify accordingly.
11452 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11453 (byte-compile-defmacro-declaration): Remove.
11454 (byte-compile-file-form-defmumble): Generalize to defalias.
11455 (byte-compile-output-as-comment): Return byte-positions.
11456 Simplify callers accordingly.
11457 (byte-compile-lambda): Use `assert'.
11458 (byte-compile-defun, byte-compile-defmacro): Remove.
11459 (byte-compile-file-form-defalias):
11460 Use byte-compile-file-form-defmumble.
11461 (byte-compile-defalias-warn): Remove.
11463 2012-05-29 Stefan Merten <smerten@oekonux.de>
11465 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11466 possible. Fix authors. Improve comments. Improve loading of `cl'.
11468 (rst-mode-abbrev-table): Merge definition.
11469 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11470 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11472 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11474 * calendar/icalendar.el
11475 (icalendar-export-region): Export UID properly.
11477 2012-05-29 Leo Liu <sdl.web@gmail.com>
11478 * calendar/icalendar.el (icalendar-import-format):
11479 Add `icalendar-import-format-uid' (Bug#11525).
11480 (icalendar-import-format-uid): New.
11481 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11484 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11487 different alternative patterns.
11488 (pcase-codegen): Be more careful to preserve identity.
11489 (pcase--u1): Don't forget to mark vars as used.
11491 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11492 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11493 (byte-compile-from-buffer): ...rather than here.
11495 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11496 functions from byte-compile-function-environment.
11498 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11500 * window.el (window-deletable-p): Avoid deleting the root window
11501 of a frame with an active minibuffer.
11503 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11505 * simple.el (choose-completion): Use quit-window (Bug#11567).
11507 2012-05-29 Chong Yidong <cyd@gnu.org>
11509 * whitespace.el (whitespace-cleanup): Fix usage of
11510 whitespace-empty-at-bob-regexp (Bug#11492).
11512 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11514 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11515 revert (Bug#11488).
11517 2012-05-29 Juri Linkov <juri@jurta.org>
11519 * isearch.el (isearch-mode-map): Bind `M-s _' to
11520 `isearch-toggle-symbol'. Bind `M-s c' to
11521 `isearch-toggle-case-fold'.
11522 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11523 (isearch-forward): Add `M-s _' to the docstring.
11524 (isearch-forward-symbol, isearch-toggle-case-fold)
11525 (isearch-symbol-regexp): New functions. (Bug#11381)
11527 2012-05-29 Juri Linkov <juri@jurta.org>
11529 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11530 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11531 a function, call it to get the regexp.
11532 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11533 property `isearch-message-prefix' instead of the string "word ".
11534 (isearch-search-fun-default): For the case of `isearch-word',
11535 return a lambda that calls re-search-forward/re-search-backward
11536 with a regexp returned by `word-search-regexp' or by the function
11539 2012-05-29 Juri Linkov <juri@jurta.org>
11541 * isearch.el (isearch-search-fun-default): New function.
11542 (isearch-search-fun): Move default part to the new function
11543 `isearch-search-fun-default'.
11544 (isearch-search-fun-function): Set the default value to
11545 `isearch-search-fun-default'. (Bug#11381)
11547 * comint.el (comint-history-isearch-end):
11548 Use `isearch-search-fun-default'.
11549 (comint-history-isearch-search): Use `isearch-search-fun-default'
11550 and remove spacial case for `isearch-word'.
11551 (comint-history-isearch-wrap): Remove spacial case for
11554 * hexl.el (hexl-isearch-search-function):
11555 Use `isearch-search-fun-default'.
11557 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11558 Use `word-search-regexp' for `isearch-word'.
11560 * misearch.el (multi-isearch-search-fun):
11561 Use `isearch-search-fun-default'.
11563 * simple.el (minibuffer-history-isearch-search):
11564 Use `isearch-search-fun-default' and remove spacial case for
11566 (minibuffer-history-isearch-wrap): Remove spacial case for
11569 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11570 Remove spacial case for `isearch-word'.
11571 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11573 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11575 Decrease XEmacs incompatibilities.
11576 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11577 Use `string-match'.
11578 (flyspell-delete-region-overlays): Use alternative definition for
11580 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11581 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11582 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11583 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11584 `define-obsolete-face-alias' under XEmacs, but old method.
11586 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11587 `with-no-warnings' definition or Emacs alias.
11588 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11589 (ispell-word): Do not use `region-p' if XEmacs.
11591 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11593 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11594 Check for `ispell-dictionary-base-alist' instead of full
11595 `ispell-dictionary-alist'.
11596 (ispell-init-process): Show spellchecker when starting new Ispell
11599 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11602 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11604 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11606 * version.el (motif-version-string, gtk-version-string)
11607 (ns-version-string): Declare.
11609 2012-05-27 Juri Linkov <juri@jurta.org>
11611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11612 after the `eval-defun-1' specialcaseing
11613 like in `edebug-eval-defun' (bug#10181).
11615 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11616 like in `eval-defun-1'.
11618 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11620 * mail/sendmail.el (mail-yank-region):
11621 Recognize rmail-yank-current-message in addition to insert-buffer.
11622 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11623 a *mail* buffer created through rmail-start-mail with sendmail as
11626 2012-05-27 Chong Yidong <cyd@gnu.org>
11628 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11629 Default to 256 (Bug#11267).
11631 * help.el (describe-mode): Doc fix.
11633 2012-05-26 Glenn Morris <rgm@gnu.org>
11635 * w32-fns.el (w32-init-info): Remove.
11636 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11638 * info.el (info-initialize): For self-contained NS builds, put the
11639 included info/ directory at the front. (Bug#2791)
11641 * paths.el (Info-default-directory-list): Make it a defcustom,
11642 mainly so that we can use custom-initialize-delay.
11644 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11646 * subr.el (buffer-has-markers-at): Mark obsolete.
11648 * subr.el (lambda): Use declare.
11650 * emacs-lisp/lisp-mode.el (lambda):
11651 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11653 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11655 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11657 2012-05-26 Glenn Morris <rgm@gnu.org>
11659 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11661 2012-05-25 Glenn Morris <rgm@gnu.org>
11663 * paths.el: Remove no-byte-compile.
11664 * loadup.el: No need to load paths.el uncompiled.
11666 * image.el (imagemagick-types-inhibit): Doc fix.
11668 * version.el: Remove no-byte-compile and associated formatting.
11669 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11670 is ancient code from when there was an "inc-vers.el".
11672 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11674 * progmodes/gdb-mi.el: Minor style changes.
11675 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11676 Turn into minor modes.
11677 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11678 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11679 (gdb-shell): Remove unneeded let-binding.
11680 (gdb-get-many-fields): Eliminate O(n²) behavior.
11682 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11684 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11685 platforms that don't link in fontset.c.
11687 2012-05-25 Juri Linkov <juri@jurta.org>
11689 Use the same diff color scheme as in modern VCSes (bug#10181).
11691 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11692 to avoid confusion with `diff-added' that now uses green colors.
11693 (diff-removed): Use shades of red.
11694 (diff-added): Use shades of green.
11695 (diff-changed): Leave just the yellow color.
11696 (diff-use-changed-face): New variable.
11697 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11698 how to highlight context diff changes.
11699 (diff-refine-change): Use shades of yellow.
11700 (diff-refine-removed): New face that uses shades of red.
11701 (diff-refine-added): New face that uses shades of green.
11702 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11703 `diff-refine-removed' in the call to `smerge-refine-subst'
11704 depending on the value of `diff-use-changed-face'.
11706 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11707 (smerge-other): Use shades of green.
11708 (smerge-base): Use shades of yellow.
11709 (smerge-refined-change): Empty face.
11710 (smerge-refined-removed): New face that uses shades of red.
11711 (smerge-refined-added): New face that uses shades of green.
11712 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11713 args `props-r' and `props-a', and use them. Doc fix.
11714 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11715 on its value use different faces `smerge-refined-change',
11716 `smerge-refined-removed', `smerge-refined-added' in the call to
11717 `smerge-refine-subst'.
11719 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11720 Add face condition `min-colors 88' with shades of red.
11721 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11722 `min-colors 88' with shades of green.
11723 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11724 `min-colors 88' with shades of yellow.
11726 2012-05-24 Glenn Morris <rgm@gnu.org>
11728 * paths.el (prune-directory-list, remote-shell-program): Move to...
11729 * files.el (prune-directory-list, remote-shell-program): ...here.
11730 For the latter, delay initialization, prefer ssh, just search PATH.
11732 * paths.el (term-file-prefix): Move to faces.el (the only user).
11733 * faces.el (term-file-prefix): Move here, make it a defcustom.
11735 * paths.el (news-directory, news-path, news-inews-program):
11736 Move to gnus/nnspool.el.
11738 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11740 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11741 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11742 Make the latter a defcustom, with a delayed initialization.
11744 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11745 These were deleted from Gnus itself late 2010.
11747 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11749 * progmodes/which-func.el (which-func-ff-hook):
11750 Check against user-error, not error.
11752 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11753 cl-specs.el, which no longer exists.
11755 2012-05-22 Glenn Morris <rgm@gnu.org>
11757 * info.el (info-emacs-bug): New command.
11758 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11759 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11761 2012-05-21 Glenn Morris <rgm@gnu.org>
11763 * makefile.w32-in (update-subdirs-SH):
11764 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11766 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11771 Simplify Maven regexp, and make sure the file can't start with a space
11774 2012-05-21 Glenn Morris <rgm@gnu.org>
11776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11777 Scrap superfluous subshells.
11779 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11782 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11784 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11786 * calc/calc.el (calc-ensure-consistent-units): New variable.
11788 * calc/calc-units.el (math-consistent-units-p)
11789 (math-check-unit-consistency): New functions.
11790 (calc-quick-units, calc-convert-units):
11791 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11793 (calc-extract-units): Fix typo.
11795 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11797 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11799 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11800 (flyspell-default-deplacement-commands): Don't spell check after
11801 repeated window/frame switches (e.g. triggered by mouse-movement).
11802 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11803 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11804 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11805 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11806 Remove unused vars.
11807 (flyspell-get-casechars, flyspell-get-not-casechars):
11808 Simplify; Don't bother removing a ] just to add it back.
11809 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11811 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11813 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11815 (math-function-table): Add support for more C functions.
11817 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11819 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11820 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11821 Protect delay handling for otherchars against empty otherchars.
11823 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11825 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11826 their respective macro declarations.
11827 * skeleton.el (define-skeleton):
11828 * progmodes/compile.el (define-compilation-mode):
11829 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11830 (define-ibuffer-filter):
11831 * emacs-lisp/generic.el (define-generic-mode):
11832 * emacs-lisp/easy-mmode.el (define-minor-mode)
11833 (define-globalized-minor-mode):
11834 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11835 * emacs-lisp/byte-run.el (defsubst):
11836 * custom.el (deftheme): Add doc-string metadata.
11838 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11840 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11842 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11844 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11846 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11847 * emacs-lisp/cl-macs.el: Idem.
11848 * emacs-lisp/cl-specs.el: Remove.
11850 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11852 Minor renaming of internal CL functions and variables.
11853 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11854 (cl--position): Rename from cl-position.
11855 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11856 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11857 (cl--random-state): Rename from *random-state*.
11859 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11861 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11862 parens around the arg list (bug#11499).
11864 2012-05-17 Juri Linkov <juri@jurta.org>
11866 * isearch.el (word-search-regexp, word-search-backward)
11867 (word-search-forward, word-search-backward-lax)
11868 (word-search-forward-lax): Move functions from search.c
11869 (bug#10145, bug#11381).
11871 2012-05-16 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 Delay for otherchars as for normal word components.
11877 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11879 * minibuffer.el (completion--sifn-requote): Fix last change.
11880 (minibuffer-local-must-match-filename-map):
11881 Move define-obsolete-variable-alias before its var.
11883 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11885 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11887 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11889 (completion--string-equal-p): New function.
11890 (completion--twq-all): Use it to get better assertion failure data.
11892 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11893 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11894 (shell--requote-argument): New functions.
11895 (shell-completion-vars): Use them.
11896 (shell--parse-pcomplete-arguments): Rename from
11897 shell-parse-pcomplete-arguments.
11898 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11899 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11900 Obey comint-file-name-quote-list.
11902 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11903 (smie-indent-keyword): Use it.
11905 2012-05-14 Stefan Merten <smerten@oekonux.de>
11907 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11909 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * net/rlogin.el (rlogin-mode-map): Fix last change.
11913 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11915 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11916 the following \r\n using a single `process-send-string', since the
11917 Lotus SMTP server refuses to accept any commands if they are sent
11918 with two `process-send-string's (Bug#11444).
11920 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11922 * shell.el (shell-parse-pcomplete-arguments):
11923 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11925 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11927 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11928 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11929 (image-transform-width, image-transform-fit-width): New functions.
11930 (image-transform-properties): Use them.
11931 (image-transform-check-size): New function.
11932 (image-toggle-display-image): Use it (for testing).
11933 (image-transform-set-rotation): Reduce angle mod 360.
11934 Delete obsolete comment.
11936 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11938 * image-mode.el: Fix scaling (bug#11399).
11939 (image-transform-resize): Doc fix.
11940 (image-transform-properties): Default scale is 1 and height should
11943 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11945 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11946 than hard-coding `car', to fix misbehavior when moving forward.
11948 2012-05-13 Chong Yidong <cyd@gnu.org>
11950 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11951 (tabulated-list-entries, tabulated-list-padding)
11952 (tabulated-list-sort-key): Make permanent-local.
11954 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11955 (electric-buffer-list): Put electric buffer menu
11956 command descriptions in this docstring, instead of the docstring
11957 of electric-buffer-menu-mode. Code cleanups.
11958 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11959 Electric-buffer-menu-mode.
11960 (electric-buffer-update-highlight): Minor code cleanup.
11962 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11964 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11967 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11969 Move define-obsolete-variable-alias before the var's definition.
11970 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11971 * tooltip.el (tooltip-hook):
11972 * textmodes/reftex-toc.el (reftex-toc-map):
11973 * textmodes/reftex-sel.el (reftex-select-label-map)
11974 (reftex-select-bib-map):
11975 * textmodes/reftex-index.el (reftex-index-map)
11976 (reftex-index-phrases-map):
11977 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11978 * progmodes/meta-mode.el (meta-mode-map):
11979 * novice.el (disabled-command-hook):
11980 * loadhist.el (unload-hook-features-list):
11981 * frame.el (blink-cursor):
11982 * files.el (find-file-not-found-hooks, write-file-hooks)
11983 (write-contents-hooks):
11984 * emulation/tpu-edt.el (GOLD-map):
11985 * emacs-lock.el (emacs-lock-from-exiting):
11986 * emacs-lisp/generic.el (generic-font-lock-defaults):
11987 * emacs-lisp/chart.el (chart-map):
11988 * dos-fns.el (register-name-alist):
11989 * dired-x.el (dired-omit-files-p):
11990 * desktop.el (desktop-enable):
11991 * cus-edit.el (custom-mode-hook):
11992 * buff-menu.el (buffer-menu-mode-hook):
11993 * bookmark.el (bookmark-read-annotation-text-func)
11994 (bookmark-exit-hooks):
11995 * allout.el (allout-mode-deactivate-hook)
11996 (allout-exposure-change-hook, allout-structure-added-hook)
11997 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11998 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11999 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12000 comes before the corresponding variable's definition.
12002 2012-05-12 Chong Yidong <cyd@gnu.org>
12004 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12005 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12006 (Buffer-menu-mode-map): Bind it.
12007 (Buffer-menu--pretty-name): Add a mouse-face property.
12009 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12012 (prolog-upper-case-string, prolog-lower-case-string)
12013 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12014 (prolog-use-smie, prolog-smie-grammar): New vars.
12015 (prolog-smie-forward-token, prolog-smie-backward-token)
12016 (prolog-smie-rules): New funs.
12017 (prolog-comment-indent): Remove.
12018 (prolog-mode-variables): Use default comment indentation instead.
12020 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12021 (prolog-mode): Don't call them any more.
12022 (prolog-electric-colon, prolog-electric-dash)
12023 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12025 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12027 * minibuffer.el (completion--twq-all): Again, allow case differences.
12029 * term.el: Move keymap initialization code to be more idiomatic.
12030 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12031 (term-terminal-menu): Move initialization into declaration.
12032 (term-escape-char): Let the user set it in her .emacs.
12034 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12035 Provide SMIE-based indentation (not enabled by default yet).
12036 (sh-mode-map): Don't bind electric keys.
12037 Use electric-pair-mode instead of skeleton-pair.
12038 (sh-assignment-regexp): Fit within 80 columns.
12039 (sh-indent-supported): Specify actual shell name instead of boolean.
12040 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12041 (sh-maybe-here-document): Use it. Make obsolete.
12042 (sh-electric-here-document-mode) New minor mode.
12043 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12044 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12045 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12046 (sh-smie-rc-grammar, sh-use-smie): New vars.
12047 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12048 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12049 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12050 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12051 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12052 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12053 (sh-set-shell): Use smie-setup if requested.
12055 * term.el (term-set-escape-char): Properly set term-escape-char.
12056 See http://stackoverflow.com/questions/10524656.
12058 2012-05-10 Chong Yidong <cyd@gnu.org>
12060 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12061 Use url-generic-parse-url, and handle host names and Windows
12062 filenames properly.
12063 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12064 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12065 URL schemes to work on.
12066 (ffap--toggle-read-only): New function.
12067 (ffap-read-only, ffap-read-only-other-window)
12068 (ffap-read-only-other-frame): Use it.
12069 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12070 necessary for ffap-url-unwrap-remote.
12072 2012-05-10 Dave Abrahams <dave@boostpro.com>
12074 * cus-start.el (create-lockfiles): Add it.
12076 2012-05-09 Chong Yidong <cyd@gnu.org>
12078 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12079 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12081 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12083 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12085 2012-05-09 Chong Yidong <cyd@gnu.org>
12087 * ansi-color.el (ansi-color-process-output): Check for validity of
12088 comint-last-output-start before using it. This avoids a bad
12089 interaction with gdb-mi's input/output buffer.
12091 2012-05-09 Glenn Morris <rgm@gnu.org>
12093 * files.el (dir-locals-read-from-file):
12094 Mention dir-locals in any error message.
12096 2012-05-09 Chong Yidong <cyd@gnu.org>
12098 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12099 package (Bug#11410).
12101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12102 variables into description.
12104 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12107 shell-delimiter-argument-list (bug#11348).
12108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12110 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12112 * textmodes/rst.el: Silence byte-compiler warnings.
12113 (rst-re-alist, rst-reset-section-caches): Move around.
12114 (rst-re): Use `characterp', not `char-valid-p'.
12115 (font-lock-beg, font-lock-end): Declare.
12117 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12118 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12120 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12122 2012-05-08 Glenn Morris <rgm@gnu.org>
12124 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12126 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12128 * vc/log-edit.el: Add GNU coding standards highlighting.
12129 (log-edit-font-lock-gnu-style)
12130 (log-edit-font-lock-gnu-keywords): New vars.
12131 (log-edit-font-lock-keywords): New fun.
12132 (log-edit-mode): Don't fold case in font-lock.
12133 (log-edit-font-lock-keywords): Do not assume case-folding.
12135 * imenu.el: Misc cleanup. Make docstrings out of comments.
12136 Use lexical-binding.
12137 (imenu--index-alist, imenu--last-menubar-index-alist)
12138 (imenu-menubar-modified-tick): Use defvar-local.
12139 (imenu--split-menu): Remove unused var.
12140 (imenu--cleanup-seen): Declare as global.
12141 (imenu--cleanup): Use dolist.
12143 * subr.el (defvar-local): Add debug spec and doc-string position.
12145 2012-05-08 Glenn Morris <rgm@gnu.org>
12147 * language/burmese.el, language/cham.el, language/czech.el:
12148 * language/english.el, language/georgian.el, language/greek.el:
12149 * language/japanese.el, language/khmer.el, language/korean.el:
12150 * language/lao.el, language/misc-lang.el, language/romanian.el:
12151 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12152 * language/thai.el, language/utf-8-lang.el:
12153 Remove no-byte-compile setting.
12155 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12157 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12159 * progmodes/make-mode.el (makefile-browse):
12160 Remove unnecessary interactive. (Bug#11324)
12162 2012-05-07 Glenn Morris <rgm@gnu.org>
12164 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12166 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12168 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12170 * loadup.el: Preload newcomment.el.
12171 * newcomment.el: Move autoload-only code to toplevel.
12173 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12174 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12175 Handle new :right-align column property.
12176 (tabulated-list-print-col): Idem, plus use `display' text-property to
12177 try and preserve alignment for variable pitch fonts.
12179 2012-05-07 Chong Yidong <cyd@gnu.org>
12181 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12182 (tabulated-list-use-header-line): New var.
12183 (tabulated-list-init-header): Use it.
12184 (tabulated-list-print-fake-header): New function.
12185 (tabulated-list-print): Use it.
12186 (tabulated-list-sort-button-map): Add non-header-line commands.
12187 (tabulated-list-init-header): Add column name property to basic
12189 (tabulated-list-col-sort): Handle non-header-line button case.
12190 (tabulated-list--sort-by-column-name): Fix a corner case.
12192 * buff-menu.el (list-buffers--refresh):
12193 Handle Buffer-menu-use-header-line.
12195 2012-05-06 Chong Yidong <cyd@gnu.org>
12197 * buff-menu.el: Convert to Tabulated List mode.
12198 (Buffer-menu-buffer+size-width): Make obsolete.
12199 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12200 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12201 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12202 documentation into docstring of buffer-menu.
12203 (Buffer-menu-toggle-files-only): Add an informative message.
12204 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12205 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12206 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12207 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12208 (Buffer-menu-execute, Buffer-menu-select)
12209 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12210 (Buffer-menu-bury): Use Tabulated List machinery.
12211 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12212 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12214 (list-buffers--refresh): New function.
12215 (list-buffers-noselect): Use it.
12216 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12217 (Buffer-menu--pretty-file-name): New helper functions.
12219 * loadup.el: Preload tabulated-list.
12221 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12222 tabulated-list-sort-column.
12223 (tabulated-list-init-header): Add the initial aligning space even
12224 if tabulated-list-padding is zero.
12226 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12228 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12229 whose cdr is not a cons cell correctly (bug#11038).
12231 2012-05-06 Chong Yidong <cyd@gnu.org>
12233 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12234 Accept additional plist in column descriptors.
12235 (tabulated-list-init-header): Obey it.
12236 (tabulated-list-get-entry): New function.
12237 (tabulated-list-put-tag): Use it. Use string-width instead of
12239 (tabulated-list--column-number): New function.
12240 (tabulated-list-print): Use it.
12241 (tabulated-list-print-col): New function.
12242 Set `tabulated-list-column-name' property on each column's text.
12243 (tabulated-list-print-entry): Use it.
12244 (tabulated-list-delete-entry, tabulated-list-set-col):
12246 (tabulated-list-sort-column): New command (Bug#11337).
12248 * buff-menu.el (list-buffers): Move C-x C-b binding from
12249 buff-menu.el to bindings.el.
12251 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12252 :advertised-binding feature.
12254 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12256 * progmodes/compile.el (compilation-internal-error-properties):
12257 Calculate start position correctly when end-col is set but
12258 end-line is not (Bug#11382).
12260 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12262 * man.el (Man-unindent): Use text-property-default-nonsticky to
12263 prevent untabify from inheriting face properties (Bug#11408).
12265 2012-05-05 Stefan Merten <smerten@oekonux.de>
12267 * textmodes/rst.el: Major merge with upstream development up to
12268 Docutils SVN r7399 / rst.el V1.2.1.
12270 Clarify maintainership and authors.
12272 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12273 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12274 (rst-official-version, rst-official-cvs-rev, rst-version)
12275 (rst-package-emacs-version-alist): New functions and variables
12276 for version information.
12278 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12279 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12280 (rst-mode-syntax-table, rst-mode): New and corrected functions
12281 and variables representing reStructuredText features.
12283 (rst-re): New function for reStructuredText regexes. Use in
12286 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12287 (rst-mode-map): Rebind keys.
12289 (rst-mode-lazy, rst-font-lock-keywords)
12290 (rst-font-lock-extend-region)
12291 (rst-font-lock-extend-region-internal)
12292 (rst-font-lock-extend-region-extend)
12293 (rst-font-lock-find-unindented-line-limit)
12294 (rst-font-lock-find-unindented-line-match)
12295 (rst-adornment-level, rst-font-lock-adornment-level)
12296 (rst-font-lock-adornment-match)
12297 (rst-font-lock-handle-adornment-pre-match-form)
12298 (rst-font-lock-handle-adornment-matcher): Major revision of
12299 font-locking. Integrate with other code. Use `jit-lock-mode'.
12301 (rst-preferred-adornments, rst-adjust-hook)
12302 (rst-new-adornment-down, rst-preferred-bullets)
12303 (rst-preferred-bullets, rst-indent, rst-indent-width)
12304 (rst-indent-field, rst-indent-literal-normal)
12305 (rst-indent-literal-minimized, rst-indent-comment): Change,
12306 extend and improve customization.
12308 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12309 (rst-normalize-cursor-position, rst-get-decoration)
12310 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12311 (rst-rstrip, rst-toc-insert-find-delete-contents)
12312 (rst-shift-fill-region, rst-compute-bullet-tabs)
12313 (rst-debug-print-tabs, rst-debug-mark-found)
12314 (rst-shift-region-guts, rst-shift-region-right)
12315 (rst-shift-region-left, rst-use-char-classes)
12316 (rst-font-lock-keywords-function)
12317 (rst-font-lock-indentation-point)
12318 (rst-font-lock-find-unindented-line-begin)
12319 (rst-font-lock-find-unindented-line-end)
12320 (rst-font-lock-find-unindented-line)
12321 (rst-font-lock-adornment-point, rst-font-lock-level)
12322 (rst-adornment-level-alist): Remove functions and variables.
12324 (rst-compare-adornments, rst-get-adornment-match)
12325 (rst-suggest-new-adornment, rst-get-adornments-around)
12326 (rst-adornment-complete-p, rst-get-next-adornment)
12327 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12328 (rst-straighten-adornments): Standardize function names to
12329 use "adornment" instead of "decoration". Correct callers.
12330 Similar standardizing in many places.
12332 (rst-update-section, rst-adjust, rst-promote-region)
12333 (rst-enumerate-region, rst-bullet-list-region)
12334 (rst-repeat-last-character): Correct use of `interactive'.
12336 (rst-classify-adornment, rst-find-all-adornments)
12337 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12338 (rst-find-leftmost-column, rst-repeat-last-character):
12339 Refactor functions.
12341 (rst-find-title-line, rst-reset-section-caches)
12342 (rst-get-adornments-around, rst-adjust-adornment-work)
12343 (rst-arabic-to-roman, rst-roman-to-arabic)
12344 (rst-insert-list-pos, rst-insert-list-new-item)
12345 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12348 (rst-all-sections, rst-section-hierarchy)
12349 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12352 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12353 configuration instead of only buffer. Change where necessary.
12355 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12356 (rst-shift-region, rst-adaptive-fill): New functions for
12357 indentation and filling.
12359 (rst-comment-line-break, rst-comment-indent)
12360 (rst-comment-insert-comment, rst-comment-region)
12361 (rst-uncomment-region): New functions for handling comments.
12363 (rst-compile): Quote shell arguments.
12365 (rst-compile-pdf-preview, rst-compile-slides-preview):
12366 Delete temporary files after use.
12368 2012-05-05 Glenn Morris <rgm@gnu.org>
12370 * calendar/cal-html.el: Optionally include holidays in the output.
12371 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12372 (cal-html-holidays): New option.
12373 (cal-html-css-default): Add holiday entry.
12374 (holiday-in-range): Autoload it.
12375 (cal-html-htmlify-entry): Add optional class argument.
12376 (cal-html-htmlify-list): Add optional holidays argument.
12377 (cal-html-insert-agenda-days): Include holidays in the output.
12378 (cal-html-one-month): Maybe include holidays.
12380 * calendar/holidays.el (holiday-in-range):
12381 Move here from cal-tex-list-holidays.
12382 * calendar/cal-tex.el (cal-tex-list-holidays):
12383 Make it an obsolete alias for holiday-in-range. Update all callers.
12385 2012-05-05 Chong Yidong <cyd@gnu.org>
12387 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12390 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12392 * files.el (file-auto-mode-skip): New var.
12393 (set-auto-mode-1): Use it.
12395 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12397 * repeat.el: Use lexical-binding.
12398 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12399 (repeat-undo-count): Remove.
12401 * progmodes/octave-mod.el (octave-abbrev-start):
12402 * progmodes/f90.el (f90-abbrev-start):
12403 * face-remap.el (text-scale-adjust):
12404 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12406 * emacs-lisp/pcase.el (pcase--let*): New function.
12407 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12409 (pcase--split-pred): Be more clever about ruling out overlap between
12410 a predicate and some constant pattern.
12411 (pcase--q1): Use `null' instead of (eq foo nil).
12413 * subr.el (setq-local, defvar-local): New macros.
12414 (kbd): Redefine as an alias.
12415 (with-selected-window): Leave unrelated frames alone.
12416 (set-temporary-overlay-map): New function.
12418 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * subr.el (user-error): New function.
12421 * window.el (switch-to-buffer):
12422 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12423 (smerge-match-conflict):
12424 * simple.el (previous-matching-history-element)
12425 (next-matching-history-element, goto-history-element, undo-more)
12427 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12428 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12429 (next-file, tags-loop-scan, list-tags, complete-tag):
12430 * progmodes/compile.el (compilation-loop):
12431 * mouse.el (mouse-minibuffer-check):
12432 * man.el (Man-bgproc-sentinel, Man-goto-page):
12433 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12434 (Info-history-forward, Info-follow-reference, Info-menu)
12435 (Info-extract-menu-item, Info-extract-menu-counting)
12436 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12437 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12438 (Info-next-reference, Info-prev-reference, Info-index)
12439 (Info-index-next, Info-follow-nearest-node)
12440 (Info-copy-current-node-name):
12441 * imenu.el (imenu--make-index-alist)
12442 (imenu-default-create-index-function, imenu-add-to-menubar):
12443 * files.el (basic-save-buffer, recover-file):
12444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12445 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12446 (checkdoc-message-text, checkdoc-defun):
12447 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12448 * cus-edit.el (customize-changed-options, customize-rogue)
12449 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12450 (custom-variable-mark-to-reset-standard)
12451 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12453 * completion.el (check-completion-length):
12454 * comint.el (comint-search-arg)
12455 (comint-previous-matching-input-string-position)
12456 (comint-previous-matching-input)
12457 (comint-replace-by-expanded-history-before-point, comint-send-input)
12458 (comint-copy-old-input, comint-backward-matching-input)
12459 (comint-goto-process-mark, comint-set-process-mark):
12460 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12461 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12463 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12465 * dabbrev.el (dabbrev--ignore-case-p): New function.
12466 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12469 * files.el (automount-dir-prefix): Mark as obsolete.
12471 2012-05-04 Glenn Morris <rgm@gnu.org>
12473 * patcomp.el, play/bruce.el: Move to obsolete/.
12475 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12477 Fix minor Y10k bugs.
12478 * arc-mode.el (archive-unixdate):
12479 * autoinsert.el (auto-insert-alist):
12480 * calc/calc-forms.el (math-this-year):
12481 * emacs-lisp/copyright.el (copyright-current-year)
12482 (copyright-update-year, copyright):
12483 * tar-mode.el (tar-clip-time-string):
12484 * time.el (display-time-update):
12485 Don't assume years have 4 digits.
12487 2012-05-04 Chong Yidong <cyd@gnu.org>
12489 * dos-w32.el (file-name-buffer-file-type-alist)
12490 (direct-print-region-use-command-dot-com):
12491 * ffap.el (ffap-menu-regexp):
12492 * find-file.el (ff-special-constructs):
12493 * follow.el (follow-debug):
12494 * forms.el (forms--debug):
12495 * iswitchb.el (iswitchb-all-frames):
12496 * ido.el (ido-all-frames):
12497 * emacs-lisp/timer.el (timer-max-repeats):
12498 * mail/feedmail.el (feedmail-mail-send-hook)
12499 (feedmail-mail-send-hook-queued):
12500 * mail/footnote.el (footnote-signature-separator):
12501 * mail/mailabbrev.el (mail-alias-separator-string)
12502 (mail-abbrev-mode-regexp):
12503 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12504 * progmodes/idlwave.el (idlwave-libinfo-file)
12505 (idlwave-default-completion-case-is-down)
12506 (idlwave-library-routines): Convert defvars to defcustoms.
12508 * mail/rmail.el (rmail-decode-mime-charset):
12509 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12510 (idlwave-shell-fix-inserted-breaks)
12511 (idlwave-shell-activate-alt-keybindings)
12512 (idlwave-shell-use-breakpoint-glyph):
12513 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12515 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12517 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12519 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12521 * progmodes/verilog-mode.el (font-lock-keywords):
12522 Fix mis-highligting auto. Reported by Craig Barner.
12523 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12524 defines from global name space. Reported by Dan Dever.
12525 (verilog-auto-reset, verilog-auto-reset-widths)
12526 (verilog-auto-tieoff): Support using unbased numbers for
12527 AUTORESET and AUTOTIEOFF.
12528 (verilog-submit-bug-report): Update variable list.
12529 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12530 parenthesis from not matching. Reported by Michael Rytting.
12531 (verilog-auto-template-lint): Fix hash error when linting modules
12532 with no used templates.
12533 (verilog-warn, verilog-warn-error)
12534 (verilog-warn-fatal): When non-interactive report multiple
12535 warnings before exiting. Suggested by Brad Dobbie.
12536 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12537 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12538 to report unused template errors. Reported by Brad Dobbie.
12539 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12540 nets, bug438. Reported by Vns Blore.
12541 (verilog-auto-inout-module, verilog-auto-reg)
12542 (verilog-read-decls, verilog-read-sub-decls-sig)
12543 (verilog-signals-edit-wire-reg, verilog-signals-with):
12544 Fix passing of Verilog data types in ANSI input/output ports
12545 such as "output logic" into the AUTOs. Special case "wire" and
12546 "reg" for backwards compatibility presuming Verilog 2001.
12547 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12548 (verilog-preprocess): Fix replication of preprocess output.
12549 Reported by Brad Dobbie.
12550 (verilog-auto-inst-interfaced-ports):
12551 Create verilog-auto-inst-interfaced-ports, bug429.
12552 Reported by Julian Gorfajn.
12553 (verilog-after-save-font-hook)
12554 (verilog-before-save-font-hook): New variable.
12555 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12556 (verilog-save-font-mods): Wrap disabling fontification, reported
12558 (verilog-do-indent, verilog-pretty-declarations-auto)
12559 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12560 Reported by Pierre-David Pfister.
12561 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12562 of class declarations, bug292. Reported by Kevin Heilman.
12563 (verilog-read-decls): Fix 'parameter type' not appearing in
12564 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12565 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12566 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12567 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12568 Reported by David Kravitz.
12570 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12572 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12573 assignment with tests in ifs and for loops.
12574 (verilog-extended-complete-re, verilog-complete-reg): Change so
12575 that DPI inport functions don't look like fuction declarations.
12576 (verilog-pretty-expr): Don't line up assignment
12577 operations to the test and increment in if and for loops
12578 (verilog-extended-complete-re, verilog-complete-reg): Change so
12579 that DPI inport functions don't look like fuction declarations.
12581 2012-05-03 Kenichi Handa <handa@m17n.org>
12583 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12584 decoding, and show a warning message without signaling an error
12587 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12589 * emacs-lisp/bytecomp.el
12590 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12591 since cconv.el might have introduced :fun-body, internal-make-closure,
12592 and friends for bytecomp to handle (bug#11391).
12593 * custom.el (defcustom): Avoid ((λ ..) ..).
12595 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12597 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12599 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12601 * notifications.el (dbus-debug):
12602 * term/linux.el (gpm-mouse-enable):
12603 * term/screen.el (xterm-register-default-colors): Declare.
12605 2012-05-02 Chong Yidong <cyd@gnu.org>
12607 * cus-start.el (gc-cons-percentage, exec-suffixes)
12608 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12609 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12610 (make-cursor-line-fully-visible, void-text-area-pointer)
12611 (font-list-limit): Add customization data.
12613 * allout.el (allout-exposure-change-functions)
12614 (allout-structure-added-functions)
12615 (allout-structure-deleted-functions)
12616 (allout-structure-shifted-functions): Rename abnormal hooks from
12617 *-hook, and convert to defcustoms.
12618 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12619 Convert to defcustoms.
12620 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12622 * allout-widgets.el: Hook callers changed.
12624 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12626 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12627 the yanked message in preference to the default value of
12628 buffer-file-coding-system.
12630 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12632 * window.el (display-buffer--action-function-custom-type):
12635 2012-05-02 Alan Mackenzie <acm@muc.de>
12637 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12639 2012-05-01 Glenn Morris <rgm@gnu.org>
12641 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12643 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12645 * cus-edit.el (custom-variable-documentation): Simplify with format.
12647 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12648 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * simple.el (suggest-key-bindings, execute-extended-command):
12651 Move from keyboard.c.
12653 2012-05-01 Chong Yidong <cyd@gnu.org>
12655 * follow.el: Eliminate advice.
12656 (set-process-filter, process-filter, sit-for): Advice deleted.
12657 (follow-mode-off-hook): Obsolete hook removed.
12658 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12660 (follow-auto): Use a :set function.
12661 (follow-mode): Rewritten. Don't advise process filters.
12662 (follow-switch-to-current-buffer-all, follow-scroll-up)
12663 (follow-scroll-down): Assume follow-mode is bound.
12664 (follow-comint-scroll-to-bottom)
12665 (follow-align-compilation-windows): New functions.
12666 (follow--window-sorter): New function.
12667 (follow-all-followers): Use it to explicitly sort windows by their
12668 positions; don't make assumptions about next-window order.
12669 (follow-windows-start-end, follow-delete-other-windows-and-split)
12670 (follow-calc-win-start): Doc fix.
12671 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12672 vertical-motion unnecessarily.
12673 (follow-adjust-window): New function.
12674 (follow-post-command-hook): Use it.
12675 (follow-call-set-process-filter, follow-call-process-filter)
12676 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12677 (follow-stop-intercept-process-output, follow-generic-filter):
12679 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12680 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12681 New functions, replacing advice on scroll-bar-* commands.
12682 (follow-mwheel-scroll): New function (Bug#4112).
12684 * comint.el (comint-adjust-point): New function.
12685 (comint-postoutput-scroll-to-bottom): Use it.
12686 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12688 2012-05-01 Glenn Morris <rgm@gnu.org>
12690 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12691 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12692 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12693 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12694 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12695 Remove no-byte-compile setting.
12697 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12699 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12700 all-completions code to not return a number in the last cdr.
12702 2012-04-30 Leo Liu <sdl.web@gmail.com>
12704 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12707 2012-04-29 Chong Yidong <cyd@gnu.org>
12709 * follow.el (follow-calc-win-end): Rewrite to handle partial
12710 screen lines correctly (Bug#8390).
12711 (follow-avoid-tail-recenter): Minor cleanup.
12713 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12715 Avoid the obsolete `assoc' package.
12716 * speedbar.el (speedbar-refresh): Avoid adelete.
12717 (speedbar-file-lists): Simplify and avoid aput.
12718 * man.el (Man--sections, Man--refpages): New vars, replacing
12719 Man-sections-alist and Man-refpages-alist.
12720 (Man-build-section-alist, Man-build-references-alist):
12721 Use them; avoid aput.
12722 (Man--last-section, Man--last-refpage): New vars.
12723 (Man-follow-manual-reference): Use them.
12724 Use the `default' arg of completing-read.
12725 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12727 2012-04-27 Chong Yidong <cyd@gnu.org>
12729 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12731 * startup.el (x-apply-session-resources): New function.
12733 * term/ns-win.el (ns-initialize-window-system):
12734 * term/w32-win.el (w32-initialize-window-system):
12735 * term/x-win.el (x-initialize-window-system): Use it to properly
12736 set menu-bar-mode and other vars from X resources, even if the
12737 initial frame is not a window-system frame (Bug#2299).
12739 * subr.el (read-key): Avoid running filter function when setting
12740 up temporary tool bar entries (Bug#9922).
12742 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12744 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12747 2012-04-27 Chong Yidong <cyd@gnu.org>
12749 * select.el (xselect--encode-string): New function, split from
12750 xselect-convert-to-string.
12751 (xselect-convert-to-string): Use it.
12752 (xselect-convert-to-filename, xselect-convert-to-os)
12753 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12754 returned strings are properly encoded (Bug#11315).
12756 2012-04-27 Chong Yidong <cyd@gnu.org>
12758 * simple.el (delete-active-region): Move to killing custom group.
12760 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12762 * progmodes/which-func.el (which-func-current): Quote %
12763 characters for mode-line processing.
12765 2012-04-27 Chong Yidong <cyd@gnu.org>
12767 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12768 reaching eob (Bug#11286).
12770 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12772 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12773 (gdb): Make it buffer-local and init to zero.
12774 (gdb-control-commands-regexp): New variable.
12775 (gdb-send): Don't wrap in "-interpreter-exec console" if
12776 gdb-control-level is positive. Increment gdb-control-level
12777 whenever the command matches gdb-control-commands-regexp, and
12778 decrement it each time the command is "end". (Bug#11279)
12780 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12782 * window.el (adjust-window-trailing-edge, enlarge-window)
12783 (shrink-window, window-resize):
12784 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12785 windows (Bug#11276).
12787 2012-04-27 Chong Yidong <cyd@gnu.org>
12789 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12790 fix "missing prefix" warning. All callers changed.
12792 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12794 * emacs-lisp/assoc.el: Move to obsolete/.
12796 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12800 * term/ns-win.el (ns-define-service):
12801 * progmodes/pascal.el (pascal-goto-defun):
12802 * progmodes/js.el (js--read-tab):
12803 * progmodes/etags.el (tags-lazy-completion-table):
12804 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12805 * emacs-lisp/ewoc.el (ewoc--wrap):
12806 * emacs-lisp/assoc.el (aput, adelete, amake):
12807 * doc-view.el (doc-view-convert-current-doc):
12808 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12810 2012-04-26 Chong Yidong <cyd@gnu.org>
12812 * image.el (image-type-from-buffer): Only return supported image
12815 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12816 value, for symmetry with diff-end-of-hunk.
12817 (diff-split-hunk, diff-find-source-location)
12818 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12819 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12820 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12821 compute the relevant hunk or file properly (Bug#6005).
12822 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12824 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12833 * vc/vc.el: Replace lexical-let by lexical-binding.
12834 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12835 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12836 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12838 2012-04-26 Chong Yidong <cyd@gnu.org>
12840 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12841 (diff-mode-shared-map): Bind it to / and [remap undo].
12843 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12844 (ediff-window-setup-function): Use it as the default, to set up
12845 windows based on whether the current frame is graphical (Bug#2138).
12846 (ediff-choose-window-setup-function-automatically): Make obsolete.
12848 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12850 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * ffap.el: Remove old code for obsolete package.
12853 (ffap-complete-as-file-p): Remove.
12855 Use completion-table-with-quoting for comint and pcomplete.
12856 * comint.el (comint--unquote&requote-argument)
12857 (comint--unquote-argument, comint--requote-argument): New functions.
12858 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12859 (comint-quote-filename): Use regexp-opt-charset.
12860 (comint--common-suffix, comint--common-quoted-suffix)
12861 (comint--table-subvert): Remove.
12862 (comint-unquote-function, comint-requote-function): New vars.
12863 (comint--complete-file-name-data): Use them with
12864 completion-table-with-quoting.
12865 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12866 * pcomplete.el (pcomplete-arg-quote-list)
12867 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12868 (pcomplete-unquote-argument-function): Default to non-nil.
12869 (pcomplete-unquote-argument): Simplify.
12870 (pcomplete--common-quoted-suffix): Remove.
12871 (pcomplete-requote-argument-function): New var.
12872 (pcomplete--common-suffix): New function.
12873 (pcomplete-completions-at-point): Use completion-table-with-quoting
12874 and completion-table-subvert.
12876 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12877 (minibuffer--double-dollars): Preserve properties.
12878 (completion--sifn-requote): New function.
12879 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12881 * minibuffer.el: Add support for completion of quoted/escaped data.
12882 (completion-table-with-quoting, completion-table-subvert): New funs.
12883 (completion--twq-try, completion--twq-all): New functions.
12884 (completion--nth-completion): New function.
12885 (completion-try-completion, completion-all-completions): Use it.
12887 2012-04-25 Leo Liu <sdl.web@gmail.com>
12889 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12890 Use compilation-message if available to find real filename.
12892 2012-04-25 Chong Yidong <cyd@gnu.org>
12894 * vc/diff-mode.el (diff-setup-whitespace): New function.
12895 (diff-mode): Use it.
12897 * vc/diff.el (diff-sentinel):
12898 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12899 Whitespace mode variables based on diff style (Bug#8612).
12901 2012-04-25 Leo Liu <sdl.web@gmail.com>
12903 * progmodes/python.el (python-send-region): Add suffix .py to the
12906 * files.el (auto-mode-alist): Use javascript-mode instead.
12908 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12910 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12912 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12913 (soap-resolve-references-for-array-type): Hack to prevent self
12914 references, see Bug#9.
12915 (soap-parse-envelope): Report the contents of the 'detail' node
12916 when receiving a fault reply.
12917 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12919 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12920 (soap-inspect-simple-type): New function.
12922 * net/soap-client.el (soap-simple-type): New struct.
12923 (soap-default-xsd-types, soap-default-soapenc-types)
12924 (soap-decode-basic-type, soap-encode-basic-type):
12925 support unsignedInt and double basic types.
12926 (soap-resolve-references-for-simple-type)
12927 (soap-parse-simple-type, soap-encode-simple-type): New function.
12928 (soap-parse-schema): Parse xsd:simpleType declarations.
12930 * net/soap-client.el (soap-default-xsd-types)
12931 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12932 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12933 the local name of "soapenc:Array".
12934 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12935 decoding integer, byte and anyURI xsd types.
12937 2012-04-25 Chong Yidong <cyd@gnu.org>
12939 * cus-edit.el (custom-buffer-create-internal): Update header text.
12941 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12943 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12944 settings on 'system-type', not on 'window-system'. On MS-Windows,
12945 set interactive-mode on in GDB.
12947 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12950 (ruby-syntax-propertize-regexp): Remove.
12951 (ruby-syntax-propertize-function): Split regexp into chunks.
12952 Match following code directly.
12954 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12956 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12957 (ruby-syntax-propertize-regexp): New function.
12958 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12959 by a special keyword.
12961 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12962 (ruby-syntax-general-delimiters-goto-beg)
12963 (ruby-syntax-propertize-general-delimiters): New functions.
12964 (ruby-syntax-propertize-function): Use them to handle GDL.
12965 (ruby-font-lock-keywords): Move old handling of GDL...
12966 (ruby-font-lock-syntactic-keywords): .. to here.
12967 (ruby-calculate-indent): Adjust indentation for GDL.
12969 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12971 * notifications.el (top): Remove unneeded declarations.
12972 (notifications-specification-version): Change to "1.2".
12973 (notifications-interface, notifications-notify-method)
12974 (notifications-close-notification-method): Fix docstring.
12975 (notifications-get-capabilities-method): New defconst.
12976 (notifications-notify): Add :action-items, :resident and
12977 :transient hints. Change "image_data" to "image-data" and
12978 "image_path" to "image-path".
12979 (notifications-get-capabilities): New defun.
12981 2012-04-24 Leo Liu <sdl.web@gmail.com>
12983 * progmodes/python.el: Move hideshow setup to the end.
12985 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12987 * window.el (handle-select-window): Clear echo area since this is
12988 no more done by read_char (Bug#11304).
12990 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12992 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12993 and `/ M' to filter-derived-mode.
12994 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12995 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12996 (ibuffer-mark-by-mode): Use default rather than initial-input.
12997 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12999 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13001 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13002 (ibuffer-filter-by-derived-mode): New filter.
13003 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13005 2012-04-23 Andreas Politz <politza@fh-trier.de>
13007 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13009 2012-04-23 Chong Yidong <cyd@gnu.org>
13011 * cus-edit.el (customize-apropos, customize-apropos-options):
13012 Disable matching of non-option variables (Bug#11176).
13013 (customize-option, customize-option-other-window)
13014 (customize-changed-options): Doc fix.
13015 (customize-apropos-options, customize-apropos-faces)
13016 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13018 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13019 Fix word list splitting (Bug#11132).
13020 (apropos-symbol, apropos-keybinding, apropos-label)
13021 (apropos-property, apropos-function-button)
13022 (apropos-variable-button, apropos-misc-button): New faces.
13023 (apropos-symbol-face, apropos-keybinding-face)
13024 (apropos-label-face, apropos-property-face, apropos-match-face):
13025 Variables removed (Bug#8396).
13026 (apropos-library-button, apropos-format-plist, apropos-print)
13027 (apropos-print-doc, apropos-describe-plist): Callers changed.
13029 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13031 * net/xesam.el (xesam-mode-map): Use let-bound map in
13032 initialization. (Bug#11292)
13034 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13036 Preserve ispell session localwords when switching back to
13039 * textmodes/ispell.el (ispell-buffer-session-localwords):
13040 New buffer-local variable to hold buffer session localwords.
13041 (ispell-kill-ispell): Add option 'clear to delete session
13043 (ispell-command-loop, ispell-change-dictionary)
13044 (ispell-buffer-local-words): Preserve session localwords when
13047 * textmodes/flyspell.el (flyspell-process-localwords)
13048 (flyspell-do-correct): Preserve session localwords when needed.
13050 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13052 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13053 using obsolete `translation-table-for-input'.
13054 (ispell-word, ispell-process-line, ispell-complete-word):
13055 Use plain `insert' instead of removed `ispell-insert-word'.
13057 2012-04-22 Chong Yidong <cyd@gnu.org>
13059 * cus-edit.el (custom-variable-menu)
13060 (custom-variable-reset-saved, custom-face-menu)
13061 (custom-face-reset-saved): If there is no saved value, make the
13062 "reset-saved" operation bring back the default (Bug#9509).
13063 (custom-face-state): Properly detect themed faces.
13065 * faces.el (face-spec-set): Stop supporting deprecated form of
13068 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13070 Move functions from C to Lisp. Make non-blocking method calls
13071 the default. Implement further D-Bus standard interfaces.
13073 * net/dbus.el (dbus-message-internal): Declare function.
13074 Remove unneeded function declarations.
13075 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13076 (dbus-message-type-method-return, dbus-message-type-error)
13077 (dbus-message-type-signal): Declare variables. Remove local
13079 (dbus-interface-dbus, dbus-interface-peer)
13080 (dbus-interface-introspectable, dbus-interface-properties)
13081 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13083 (dbus-interface-objectmanager): New defconst.
13084 (dbus-call-method, dbus-call-method-asynchronously)
13085 (dbus-send-signal, dbus-method-return-internal)
13086 (dbus-method-error-internal, dbus-register-service)
13087 (dbus-register-signal, dbus-register-method): New defuns, moved
13089 (dbus-call-method-handler, dbus-setenv)
13090 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13092 (dbus-call-method-non-blocking): Make it an obsolete function.
13093 (dbus-unregister-object, dbus-unregister-service)
13094 (dbus-handle-event, dbus-register-property)
13095 (dbus-property-handler): Obey the new structure of
13096 `bus-registered-objects'.
13097 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13098 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13099 Use `dbus-call-method'.
13101 2012-04-22 Chong Yidong <cyd@gnu.org>
13103 * cus-edit.el (custom-commands, custom-reset-menu)
13104 (Custom-reset-standard): Tweak labels.
13105 (custom-reset-button-menu): Change default to t.
13106 (custom-buffer-create-internal): For the custom-reset-button-menu
13107 case, put the revert button first.
13108 (custom-group-subtitle): New face.
13109 (custom-group-value-create): Align docstring to a specific column.
13111 * wid-edit.el (widget-documentation-link-add): Don't handle
13112 indentation in this function.
13113 (widget-documentation-string-indent-to): New function.
13114 (widget-documentation-string-value-create): Use it.
13116 * autorevert.el (auto-revert):
13117 * epg-config.el (epg):
13118 * ibuffer.el (ibuffer):
13121 * eshell/eshell.el (eshell):
13122 * net/ange-ftp.el (ange-ftp):
13123 * progmodes/ebnf2ps.el (postscript):
13124 * progmodes/flymake.el (flymake):
13125 * progmodes/prolog.el (prolog):
13126 * progmodes/verilog-mode.el (verilog-mode):
13127 * progmodes/which-func.el (which-func):
13128 * term/xterm.el (xterm):
13129 * textmodes/picture.el (picture):
13130 * textmodes/tildify.el (tildify):
13131 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13132 customization buffers.
13134 2012-04-22 Alan Mackenzie <acm@muc.de>
13136 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13137 Adding a ) can hide the resulting (..) from searches. Fix it.
13138 Bound the backward search to the position of the existing (.
13140 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13142 * progmodes/verilog-mode.el (verilog-mode): Check whether
13143 which-func-modes is t before adding verilog-mode.
13144 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13146 2012-04-21 Leo Liu <sdl.web@gmail.com>
13148 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13150 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13152 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13153 filling of the last column of a table (Bug#5635).
13154 (woman-find-next-control-line): New arg, specifying an additional
13155 regexp component for the control line.
13156 (woman2-roff-buffer): Use it.
13157 (woman-break-table): New function.
13158 (woman2-TS): Use it.
13160 2012-04-21 Chong Yidong <cyd@gnu.org>
13162 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13163 (woman-horizontal-escapes, woman-negative-vertical-space)
13164 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13165 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13167 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * minibuffer.el (completion-file-name-table): Complete user names.
13171 2012-04-20 Leo Liu <sdl.web@gmail.com>
13173 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13176 2012-04-20 Chong Yidong <cyd@gnu.org>
13178 * server.el (server-execute): Respect initial-buffer-choice if it
13179 is a string and there are no files to open (Bug#2825).
13180 (server-create-window-system-frame, server-create-tty-frame):
13181 Don't switch buffers here.
13182 (server-process-filter): Only try to open a window system frame if
13183 compiled with graphical support (Bug#8314).
13185 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13187 * battery.el (battery-echo-area-format): Display remaining time
13188 for sysfs backend too (Bug#11269).
13189 (battery-linux-sysfs): Fix conditional for the charge.
13191 2012-04-20 Chong Yidong <cyd@gnu.org>
13193 * progmodes/gdb-mi.el (gdb): Revert previous change.
13194 (gdb-inferior-io--init-proc): New function.
13195 (gdb-init-1): Use it.
13196 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13197 responsible for allocating a new pty and hooking it to gdb when
13198 the old pty gets an EIO due to process exit.
13199 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13200 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13201 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13203 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13205 * window.el (window-min-size, window-sizable, window-min-delta)
13206 (window-max-delta, window--resizable, window-resizable)
13207 (window-total-size, window-full-height-p, window-full-width-p)
13208 (window-in-direction, window--resize-mini-window, window-resize)
13209 (window--resize-child-windows-normal)
13210 (window--resize-child-windows, window--resize-siblings)
13211 (window--resize-this-window, adjust-window-trailing-edge)
13212 (enlarge-window, shrink-window): Doc fixes.
13214 2012-04-20 Chong Yidong <cyd@gnu.org>
13216 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13217 New function to call delete-process on the gdb-inferior buffer's pty.
13218 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13219 pty process (Bug#11273).
13220 (gdb-update): New arg to suppress talking to the gdb process.
13221 (gdb-done-or-error): Use it.
13222 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13223 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13224 sentinel not being called.
13226 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13228 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13230 2012-04-20 Glenn Morris <rgm@gnu.org>
13232 * net/network-stream.el (open-network-stream): Doc fix.
13234 2012-04-20 Chong Yidong <cyd@gnu.org>
13236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13238 2012-04-20 Alan Mackenzie <acm@muc.de>
13240 Ensure searching for keywords is case sensitive.
13242 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13243 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13244 (c-defun-name, c-mark-function, c-cpp-define-name)
13245 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13246 (c-context-line-break): Bind case-fold-search to nil.
13248 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13249 Bind case-fold-search to nil.
13251 2012-04-20 Chong Yidong <cyd@gnu.org>
13253 * mail/sendmail.el (mail-bury): Call return action with the right
13254 Rmail buffer (Bug#11242).
13256 * server.el (server-process-filter): Handle corner case where both
13257 tty and nowait options are present (Bug#11102).
13259 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13261 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13262 (top level): Put into the executable the ident-style '$Id:' tag on
13263 windows-nt as well.
13265 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13267 * electric.el (electric-indent-post-self-insert-function): Check that
13268 electric-indent-mode is enabled in current buffer.
13270 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13272 * imenu.el (imenu-progress-message): Restore; it is "used" in
13273 erc/erc-imenu.el and net/snmp-mode.el.
13275 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13277 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13278 (mouse-avoidance-nudge-mouse): Remove unused binding.
13280 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13282 * descr-text.el (describe-char):
13283 * progmodes/python.el (python-describe-symbol):
13284 Don't call `toggle-read-only', set `buffer-read-only'.
13286 * imenu.el (imenu-default-goto-function): Mark unused args.
13287 (imenu-progress-message): Remove obsolete macro; all callers changed.
13289 * subr.el (keymap-canonicalize): Remove unused binding.
13290 (read-passwd): Mark unused arg.
13292 * tutorial.el (tutorial--display-changes): Remove unused binding.
13293 (tutorial--save-tutorial-to): Remove unused variable.
13295 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13296 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13297 (package-generate-autoloads, package-menu--generate)
13298 (package-menu--find-upgrades): Remove unused bindings.
13300 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13301 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13302 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13303 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13304 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13305 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13306 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13307 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13308 (cua-delete-char-rectangle): Mark unused args.
13309 (cua-align-rectangle): Remove unused binding.
13311 * mail/rmail.el (compilation--message->loc)
13312 (epa--find-coding-system-for-mime-charset): Declare.
13314 * net/dbus.el (dbus-register-service): Declare.
13315 (dbus-name-owner-changed-handler): Remove unused binding.
13317 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13318 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13319 (nxml-scan-backward-within): Mark unused arg.
13320 (nxml-dynamic-markup-word): Remove unused binding.
13322 * mouse.el (mouse-menu-major-mode-map):
13323 * emacs-lisp/authors.el (authors-scan-change-log)
13324 (authors-add-to-author-list):
13325 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13326 * emacs-lisp/smie.el (smie-auto-fill):
13327 * mail/sendmail.el (mail-bury):
13328 * mail/unrmail.el (unrmail):
13329 * net/tls.el (open-tls-stream):
13330 * textmodes/picture.el (picture-mouse-set-point):
13331 Remove unused bindings.
13333 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13335 * net/tramp.el (tramp-action-password): Let-bind
13336 `enable-recursive-minibuffers' to t.
13338 2012-04-18 Sam Steingold <sds@gnu.org>
13340 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13341 instead of 'string to accommodate values like [f11].
13342 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13343 * progmodes/gdb-mi.el: Likewise.
13345 2012-04-18 Leo Liu <sdl.web@gmail.com>
13347 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13349 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13352 2012-04-18 Chong Yidong <cyd@gnu.org>
13354 * simple.el (line-move): Use forward-line if in batch mode
13357 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13359 * files.el (after-find-file): Do not try to add a final newline if
13360 the buffer is read-only (Bug#11156).
13362 2012-04-17 Richard Stallman <rms@gnu.org>
13364 * mail/rmail.el (rmail-start-mail):
13365 Pass (rmail-mail-return...) for the return-action.
13366 Pass (rmail-yank-current-message...) for the yank-action.
13367 (rmail-yank-current-message): New function.
13368 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13369 (rmail-reply): Likewise.
13370 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13372 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13373 buffer, not the last. Reject temp buffers. Use the rmail-mode
13374 buffer, not newbuf.
13376 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13378 * server.el (server-ensure-safe-dir): Simplify.
13380 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * emacs-lisp/smie.el: Provide smarter auto-filling.
13383 (smie-auto-fill): New function.
13384 (smie-setup): Use it.
13386 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13388 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13390 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13391 (comment-indent): Use it.
13393 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13395 * ses.el: The overall change is to add cell renaming, that is
13396 setting fancy names for cell symbols other than name matching
13397 "\\`[A-Z]+[0-9]+\\'" regexp .
13398 (ses-localvars): Add ses--renamed-cell-symb-list.
13399 (ses-create-cell-variable): New defun.
13400 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13401 (ses-relocate-formula): Relocate formulas only for cells the
13402 symbols of which are not renamed, i.e. symbols whose names do not
13403 match regexp "\\`[A-Z]+[0-9]+\\'".
13404 (ses-relocate-all): Relocate values only for cells the symbols of
13405 which are not renamed.
13406 (ses-load): Create cells variables as the (ses-cell ...) are read,
13407 in order to check row col consistency with cell symbol name only
13408 for cells that are not renamed.
13409 (ses-replace-name-in-formula): New defun.
13410 (ses-rename-cell): New defun.
13412 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13414 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13415 New option (bug#11118).
13416 (perl-calculate-indent): Respect it.
13418 2012-04-17 Glenn Morris <rgm@gnu.org>
13420 * dired-aux.el (dired-mark-read-string): Doc fix.
13422 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13424 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13425 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13427 2012-04-17 Glenn Morris <rgm@gnu.org>
13429 * mouse.el (mouse-drag-track):
13430 * speedbar.el (speedbar-frame-mode):
13431 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13433 2012-04-16 Leo Liu <sdl.web@gmail.com>
13435 * progmodes/python.el: Trivial cleanup.
13437 2012-04-16 Glenn Morris <rgm@gnu.org>
13439 * vc/vc.el (vc-string-prefix-p):
13440 * vc/pcvs-util.el (cvs-string-prefix-p):
13441 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13442 * mpc.el (mpc-string-prefix-p):
13443 Make all of these into obsolete aliases for string-prefix-p.
13445 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13447 * textmodes/two-column.el: Move custom options to the start.
13448 (frame-width): Remove compat definition.
13449 (2C-associate-buffer, 2C-dissociate):
13450 Use with-current-buffer rather than save-excursion.
13451 (2C-dissociate): Force a mode-line update.
13452 (2C-autoscroll): Use ignore-errors.
13454 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13457 * emacs-lisp/cl-extra.el (*random-state*):
13458 Remove unnecessary declaration.
13460 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13462 * play/cookie1.el (cookie-snarf):
13463 Give an explicit error if input file cannot be read.
13465 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13467 * progmodes/perl-mode.el (c-macro-expand):
13468 Remove unnecessary autoload (it is in loaddefs.el).
13470 * textmodes/picture.el (picture-desired-column)
13471 (picture-update-desired-column): Convert comments to doc-strings.
13472 (picture-substitute): Remove function.
13473 (picture-mode-map): Initialize in the defvar.
13475 * woman.el: Remove eval-after-load for tar-mode.
13476 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13477 (woman-tar-extract-file): Autoload it.
13479 * frame.el (automatic-hscrolling): Make this alias obsolete.
13481 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13483 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13484 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13485 (ispell-dictionary-base-alist): Revert to original XEmacs
13486 friendly version for default. [:alpha:] will be added in
13487 `ispell-set-spellchecker-params' if needed.
13489 2012-04-16 Chong Yidong <cyd@gnu.org>
13491 * image.el (imagemagick--file-regexp): New variable.
13492 (imagemagick-register-types): Use it.
13493 (imagemagick-types-inhibit): Add :set function. Allow new value
13494 of t to inhibit all types.
13496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13497 so we can preload it.
13499 * loadup.el (fboundp): Preload regexp-opt, needed by
13500 imagemagick-register-types.
13502 2012-04-15 Chong Yidong <cyd@gnu.org>
13504 * frame.el (scrolling): Remove nearly unused customization group.
13506 * scroll-all.el (scroll-all-mode): Move to windows group.
13508 2012-04-15 Chong Yidong <cyd@gnu.org>
13510 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13512 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13514 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13515 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13517 2012-04-15 Glenn Morris <rgm@gnu.org>
13519 * simple.el (process-file-side-effects): Doc fix.
13521 2012-04-15 Glenn Morris <rgm@gnu.org>
13523 * international/mule-cmds.el (set-language-environment): Doc fix.
13525 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13527 * server.el (server-auth-key, server-generate-key): Doc fixes.
13528 (server-get-auth-key): Doc fix. Use `string-match-p'.
13529 (server-start): Reflow docstring.
13531 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13533 * server.el (server-generate-key): `called-interactively-p'
13534 requires a parameter.
13536 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13538 * server.el (server-auth-key): New variable.
13539 (server-generate-key, server-get-auth-key): New function.
13540 (server-start): Use the new variable and functions to allow
13541 setting a permanent server key (bug#9423).
13543 2012-04-14 Leo Liu <sdl.web@gmail.com>
13545 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13547 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13550 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13551 Emacs uses American spelling.
13553 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13555 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13556 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13557 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13558 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13560 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * progmodes/which-func.el (which-func-modes): Change default.
13564 2012-04-14 Kim F. Storm <storm@cua.dk>
13566 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13567 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13569 2012-04-14 Chong Yidong <cyd@gnu.org>
13571 * custom.el (custom-theme-set-variables): Doc fix.
13573 2012-04-14 Glenn Morris <rgm@gnu.org>
13575 * international/mule.el (set-auto-coding-for-load): Doc fix.
13577 2012-04-14 Alan Mackenzie <acm@muc.de>
13579 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13580 imenu work again for Objective C Mode. Correct the *-index values,
13581 these having been disturbed by a previous change in 2011-08.
13583 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13584 Correct two search limits.
13586 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13590 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13592 * international/characters.el: Fix sorting.
13594 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13596 * international/characters.el: Add more missing Latin case pairs.
13598 2012-04-14 Glenn Morris <rgm@gnu.org>
13600 * files.el (dir-locals-set-class-variables): Doc fix.
13602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13604 * international/characters.el: Add set-case-syntax-pair call for
13605 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13606 counterpart. (Bug#11209)
13608 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13610 2012-04-14 Glenn Morris <rgm@gnu.org>
13612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13614 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13616 * textmodes/ispell.el (ispell-dictionary-base-alist):
13617 Add data for Hebrew.
13619 2012-04-14 Chong Yidong <cyd@gnu.org>
13621 * net/rcirc.el (rcirc-cmd-quit):
13622 Revert 2012-03-18 change (Bug#11192).
13624 2012-04-14 Glenn Morris <rgm@gnu.org>
13626 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13630 * minibuffer.el (completion-in-region-mode-map):
13631 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13633 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13635 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13637 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13639 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13640 to allow `C-M-f' and `C-M-b' to move to the nearest path
13641 separator (bug#9511).
13643 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13645 * avoid.el: Require cl when compiling. And also move the
13646 `provide' to the end.
13648 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13650 * avoid.el (mouse-avoidance-banish-position): New variable.
13651 (mouse-avoidance-banish-destination): Use it (bug#10165).
13653 2012-04-13 Leo Liu <sdl.web@gmail.com>
13655 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13657 2012-04-13 Ken Brown <kbrown@cornell.edu>
13659 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13660 this is no longer needed now that cygstart understands file:// URLs.
13661 (browse-url-filename-alist): For the same reason, don't modify
13662 file:// URLs on Cygwin.
13664 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13667 the region on shift if the binding is already shifted (bug#11221).
13669 2012-04-12 Glenn Morris <rgm@gnu.org>
13671 * mail/mailpost.el: Move to obsolete/.
13673 2012-04-12 Drew Adams <drew.adams@oracle.com>
13675 * imenu.el (imenu--generic-function): Ignore invisible definitions
13678 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13680 * hexl.el (hexl-bits): New variable.
13681 (hexl-options): Mention the variable in the doc string.
13682 (hexl-rulerise, hexl-line-displen): New functions.
13683 (hexl-mode): Mention the new variable.
13684 (hexl-mode, hexl-current-address, hexl-current-address):
13686 (hexl-ascii-start-column): New function.
13687 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13688 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13690 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13692 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13693 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13694 the encoding, as expected by hunspell.
13696 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * battery.el (battery--linux-sysfs-regexp): New const.
13699 (battery-status-function): Use it. Remove yeeloong special case.
13700 (battery-yeeloong-sysfs): Remove.
13701 (battery-echo-area-format): Remove yeeloong special case.
13703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13705 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13706 Reported by Noah Friedman.
13708 * subr.el (read-passwd): Use read-string.
13710 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13712 * vcursor.el (vcursor-move): Increase the priority of the overlay
13715 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13717 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13718 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13720 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13722 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13723 define-minor-mode (bug#10760).
13725 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13727 * progmodes/grep.el (rgrep): Tweak the find command line so
13728 that directories matching `grep-find-ignored-files' won't be
13729 pruned (bug#10351).
13731 2012-04-11 Chong Yidong <cyd@gnu.org>
13733 * startup.el (command-line): Remove support for long-obsolete
13734 variable font-lock-face-attributes.
13736 2012-04-11 Glenn Morris <rgm@gnu.org>
13738 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13742 * window.el (window--state-get-1): Obey window-point-insertion-type.
13744 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13746 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13747 to previous function when point is on the first character of a
13748 function. Take care of that in `narrow-to-defun' (bug#6157).
13750 2012-04-11 Glenn Morris <rgm@gnu.org>
13752 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13753 not just file-errors.
13755 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13756 (vc-bzr-sha1): Use internal sha1.
13758 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13762 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13764 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13765 that start in the middle of the line (bug#10496).
13767 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13769 * battery.el (battery-linux-proc-acpi): Only one battery is
13770 discharged at a time, but that seems to confuse battery.el when
13771 computing `rate-type' for the battery not being discharged
13774 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13776 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13778 * international/quail.el: Use dolist and simplify.
13779 (quail-define-package, quail-update-keyboard-layout)
13780 (quail-define-rules): Use dolist.
13781 (quail-insert-kbd-layout, quail-get-translation): CSE.
13783 * tmm.el: Use dolist, remove left over hook.
13784 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13786 (calendar-load-hook): Don't mess with it.
13788 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13789 Use derived-mode-p. Run the diff asynchronously.
13791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13793 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13795 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13797 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13798 (list-dynamic-libraries--loaded): New function.
13799 (list-dynamic-libraries--refresh): Use it.
13801 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13803 * progmodes/python.el (python-fill-paragraph):
13804 Make python-fill-region in a multiline string work when font-lock is
13805 disabled (bug#7018).
13807 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13809 * language/european.el (cp775): Add oem/legacy (en)coding on
13810 DOS/MS Windows for the Baltic languages. There are still plenty
13811 of texts written in this encoding/codepage (bug#6519).
13813 2012-04-10 Glenn Morris <rgm@gnu.org>
13815 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13816 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13818 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13820 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13821 next-line "n" and previous-line "p" in order to make recentf more
13822 consistent with ibuffer, dired or org-mode (bug#9387).
13824 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13826 * image.el (put-image): Return the overlay created instead of the
13827 optional input string (bug#7834). Note that this may break code
13828 that is (for some reason or other) depending on `put-image'
13829 returning the string.
13831 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13833 * simple.el (zap-to-char): Allow zapping using input methods
13836 * textmodes/fill.el (fill-region): Leave point and mark where they
13837 were before filling (bug#5399).
13839 2012-04-09 Glenn Morris <rgm@gnu.org>
13841 * version.el (emacs-bzr-get-version):
13842 Handle lightweight checkouts of local branches.
13844 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13846 * international/characters.el: Recover lost case pairs. (Bug#11209)
13848 2012-04-09 Chong Yidong <cyd@gnu.org>
13850 * custom.el (custom-variable-p): Return nil for non-symbol
13851 arguments instead of signaling an error.
13852 (user-variable-p): Obsolete alias for custom-variable-p.
13854 * apropos.el (apropos-variable):
13855 * files-x.el (read-file-local-variable):
13856 * simple.el (set-variable):
13857 * woman.el (woman-mini-help):
13858 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13860 2012-04-09 Glenn Morris <rgm@gnu.org>
13862 * startup.el (normal-top-level): Don't look for leim-list.el
13863 in places where it will not be found. (Bug#910)
13865 * international/mule-cmds.el (set-default-coding-systems):
13866 * files.el (normal-mode):
13867 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13868 This function was removed with ucs-tables.el in 2008.
13870 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13872 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13873 ispell-encoding8-command to "-i", without a trailing space.
13874 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13875 separate command-line arguments, to specify the encoding, since
13876 that's how hunspell expects it.
13878 2012-04-08 Glenn Morris <rgm@gnu.org>
13880 * loadup.el: Load bindings before cus-start.
13881 This reduces somewhat the number of "rogue" settings in emacs -Q.
13883 2012-04-07 Glenn Morris <rgm@gnu.org>
13885 * version.el (emacs-bzr-get-version): New function.
13886 (emacs-bzr-version): New variable.
13887 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13888 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13890 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13892 * international/uni-bidi.el, international/uni-category.el:
13893 * international/uni-combining.el, international/uni-decimal.el:
13894 * international/uni-decomposition.el, international/uni-digit.el:
13895 * international/uni-lowercase.el, international/uni-mirrored.el:
13896 * international/uni-name.el, international/uni-numeric.el:
13897 * international/uni-titlecase.el, international/uni-uppercase.el:
13898 Update for Unicode 6.1.
13900 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13902 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13904 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13906 * window.el (shrink-window): Mention the `window-min-height'
13907 variable in the doc string.
13909 2012-04-05 Bastien Guerry <bzg@altern.org>
13911 * color.el (color-lighten-name): Fix typo.
13913 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13915 * server.el (server--on-display-p): New function.
13916 (server--on-display-p): Use it.
13918 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13920 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13923 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13925 * comint.el (comint--common-quoted-suffix): Check string boundary
13926 before comparing (bug#11158).
13927 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13929 2012-04-04 Chong Yidong <cyd@gnu.org>
13931 * minibuffer.el (completion-extra-properties): Doc fix.
13933 * subr.el (delayed-warnings-hook): Doc fix.
13935 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13937 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13938 selection (Bug#11159).
13939 (epa-insert-keys): Inform that the default public key will be
13940 exported if no key is selected.
13942 2012-04-04 Richard Stallman <rms@gnu.org>
13944 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13946 2012-04-03 Chong Yidong <cyd@gnu.org>
13948 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13949 mail-insert-file, not its obsolete alias mail-attach-file.
13951 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13953 * notifications.el (notifications-notify): Fix docstring.
13955 2012-04-02 Glenn Morris <rgm@gnu.org>
13957 * emacs-lisp/authors.el (authors-aliases): Another addition.
13959 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13961 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13962 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13963 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13965 2012-04-01 Chong Yidong <cyd@gnu.org>
13967 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13968 Handle root directory properly.
13969 (copy-directory): Caller changed.
13971 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13972 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13974 2012-03-31 Glenn Morris <rgm@gnu.org>
13976 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13978 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13980 * calendar/calendar.el (calendar-window-list)
13981 (calendar-hide-window): Restore. (Bug#11140)
13982 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13984 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13986 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13988 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13989 Check if file is a symlink (Bug#10489).
13991 * files.el (copy-directory): Likewise.
13993 2012-03-30 Chong Yidong <cyd@gnu.org>
13995 * image.el (imagemagick-types-inhibit)
13996 (imagemagick-register-types): Doc fix.
13998 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14000 * textmodes/ispell.el (ispell-get-extended-character-mode):
14001 Disable extended-char-mode for hunspell. hunspell does not support it
14002 and treats ~word as ordinary words in pipe mode.
14004 2012-03-30 Glenn Morris <rgm@gnu.org>
14006 * tutorial.el (help-with-tutorial): Ensure local variables don't
14007 happen to make the buffer read-only. (Bug#11127)
14009 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14011 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14012 (perl-calculate-indent): Return `noindent' in strings.
14014 2012-03-28 Sam Steingold <sds@gnu.org>
14016 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14017 instead of the broken adhockery which does not prevent calendar
14018 buffers from being displayed at random after exit.
14019 (calendar-window-list, calendar-hide-window): Remove the broken
14022 2012-03-28 Glenn Morris <rgm@gnu.org>
14024 * replace.el (query-replace-map): Doc fix.
14026 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14028 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14029 contents. (Bug#11109)
14031 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14035 (avl-tree--check, avl-tree--check-node): New funs.
14037 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14039 * window.el (switch-to-visible-buffer): New option.
14040 (switch-to-prev-buffer, switch-to-next-buffer):
14041 Observe switch-to-visible-buffer. Make sure that checking for a window
14042 showing a buffer already is done on the same frame.
14044 2012-03-27 Glenn Morris <rgm@gnu.org>
14046 * startup.el (mail-host-address): Doc fix.
14048 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14050 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14051 than 197 variables.
14053 2012-03-26 Ami Fischman <ami@fischman.org>
14055 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14057 2012-03-26 Glenn Morris <rgm@gnu.org>
14059 * files.el (save-buffers-kill-emacs): Doc fix.
14061 * startup.el (normal-top-level, command-line, command-line-1):
14062 Give them doc strings.
14064 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14066 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14067 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14069 2012-03-25 Chong Yidong <cyd@gnu.org>
14071 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14072 theme if it was previously enabled before (Bug#11031).
14074 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14075 spec with custom-face-get-current-spec if its :shown-value is not
14076 determined yet (Bug#9337).
14077 (customize-create-theme, custom-theme-revert): Doc fixes.
14079 * button.el (button-at): Minor addition to docstring.
14081 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14083 * vc/vc.el (vc-merge): Fix a prompt.
14085 2012-03-24 Chong Yidong <cyd@gnu.org>
14087 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14090 * button.el (button-at): Minor addition to docstring.
14092 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14094 * newcomment.el (comment-choose-indent): No space after BOL.
14096 2012-03-22 Sam Steingold <sds@gnu.org>
14098 * window.el (switch-to-prev-buffer): Revert last patch because the
14099 bug turned out to be an advertised feature (Elisp manual 28.14).
14101 2012-03-22 Glenn Morris <rgm@gnu.org>
14103 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14104 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14106 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108 * net/network-stream.el (network-stream-open-starttls): Make error
14109 message under Windows be less misleading.
14111 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14113 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14114 understands (bug#9942).
14116 2012-03-22 Chong Yidong <cyd@gnu.org>
14118 * simple.el (end-of-visible-line): Handle return value of
14119 next-single-property-change properly (Bug#9371).
14121 2012-03-22 Kenichi Handa <handa@m17n.org>
14123 * international/quail.el (quail-insert-kbd-layout): Fix previous
14124 change. To avoid unwanted bidi reordering, use
14125 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14127 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14129 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14130 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14131 (ruby-beginning-of-indent): Be more careful with the difference
14132 between word-boundary and symbol boundary.
14133 (ruby-mode-syntax-table): Make : a symbol constituent.
14135 2012-03-21 Andreas Politz <politza@fh-trier.de>
14137 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14139 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14141 * progmodes/etags.el (tags-completion-at-point-function):
14144 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14146 2012-03-21 Sam Steingold <sds@gnu.org>
14148 * progmodes/etags.el (tags-completion-at-point-function):
14149 Avoid the error when point is inside the pattern.
14151 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14153 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14156 2012-03-21 Drew Adams <drew.adams@oracle.com>
14158 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14160 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14162 * ido.el (ido-set-current-directory, ido-read-internal)
14163 (ido-choose-completion-string, ido-completion-help): Handle nil
14164 value of ido-completion-buffer (Bug#11008).
14166 2012-03-21 Sam Steingold <sds@gnu.org>
14168 * window.el (switch-to-prev-buffer): Do not switch to a visible
14169 window previous buffer, just like with the frame previous buffers.
14171 2012-03-21 Chong Yidong <cyd@gnu.org>
14173 * faces.el (make-face, make-empty-face, copy-face):
14174 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14177 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14179 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14180 (widget-complete): Remove broken use of it.
14182 2012-03-20 Chong Yidong <cyd@gnu.org>
14184 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14185 Use string-width and truncate-string-width to handle arbitrary
14188 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14190 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14191 to draw rectangles, not squares. (Regression introduced by revno
14192 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14194 2012-03-18 Chong Yidong <cyd@gnu.org>
14196 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14197 it is not yet defined (for temacs).
14199 2012-03-18 Leo Liu <sdl.web@gmail.com>
14201 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14204 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14206 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14207 (ispell-choices-win-default-height, ispell-silently-savep)
14208 (ispell-dictionary-alist, ispell-encoding8-command)
14209 (ispell-check-version, ispell-aspell-find-dictionary)
14210 (ispell-valid-dictionary-list, ispell-words-keyword)
14211 (ispell-get-word, ispell-internal-change-dictionary)
14212 (ispell-region, ispell-skip-region-list)
14213 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14214 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14215 (ispell-message-text-end, ispell-message)
14216 (ispell-buffer-local-parsing): Doc fix.
14218 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14220 * htmlfontify.el: Add support for code block fontification for ODT
14221 export (Bug #9914).
14222 (hfy-optimisations): Define new option
14224 (hfy-fontify-buffer): Honor above setting.
14225 (hfy-begin-span, hfy-end-span): New routines factored out form
14226 `hfy-fontify-buffer'.
14227 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14228 that permit insertion of custom tags.
14229 (hfy-fontify-buffer): Use above handlers.
14230 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14231 (hfy-face-to-css): Re-defined to be a variable.
14232 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14233 over multiple runs. This is made possible by having the caller let
14234 bind a special variable `hfy-user-sheet-assoc'.
14235 (htmlfontify-string): New defun.
14236 (hfy-compile-face-map): Make sure that the last char in the
14237 buffer is correctly fontified.
14238 (hfy-face-resolve-face): Whitespace only change.
14240 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14242 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14243 message more clear.
14245 2012-03-16 Leo Liu <sdl.web@gmail.com>
14247 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14249 2012-03-16 Alan Mackenzie <acm@muc.de>
14251 Further optimize the handling of large macros.
14253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14254 limit to a call of `c-literal-limits'.
14255 (c-determine-+ve-limit): New function.
14256 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14257 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14258 In CASE 5B, restrict a search limit to 500.
14259 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14261 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14262 Restrict macro bounds to +-500 from after-change's BEG END.
14264 2012-03-16 Leo Liu <sdl.web@gmail.com>
14266 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14268 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14270 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14271 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14273 2012-03-16 Glenn Morris <rgm@gnu.org>
14275 * view.el (view-buffer, view-buffer-other-window)
14276 (view-buffer-other-frame): Doc fixes re special mode-class.
14278 * subr.el (eval-after-load): If named feature is provided not from
14279 a file, run after-load forms. (Bug#10946)
14281 * calendar/calendar.el (calendar-insert-at-column):
14282 Handle non-unit-width characters a bit better. (Bug#10978)
14284 2012-03-15 Chong Yidong <cyd@gnu.org>
14286 * emacs-lisp/ring.el (ring-extend): New function.
14287 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14289 * comint.el (comint-read-input-ring)
14290 (comint-add-to-input-history): Grow comint-input-ring lazily.
14292 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14294 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14295 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14297 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14298 (imenu-add-to-menubar): Don't add a redundant index.
14299 (imenu-update-menubar): Handle a dynamically composed keymap.
14301 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14303 * mail/sendmail.el (mail-encode-header):
14304 Bind rfc2047-encode-encoded-words to nil.
14306 2012-03-13 Glenn Morris <rgm@gnu.org>
14308 * calendar/calendar.el (calendar-string-spread):
14309 Handle non-unit-width characters a bit better. (Bug#10978)
14311 2012-03-13 Leo Liu <sdl.web@gmail.com>
14313 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14314 directory and file as argument (Bug#10822).
14316 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14318 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14319 For dynamically generated code, follow $PC.
14320 (gdb-disassembly-handler-custom): Handle no function name case.
14322 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14324 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14325 * emulation/ws-mode.el (ws-query-replace):
14326 * sort.el (sort-regexp-fields):
14327 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14329 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14331 * dabbrev.el: Fix cycle completion order (bug#10963).
14332 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14333 (dabbrev-completion): Don't use an obarray; provide
14334 a cycle-sort-function.
14336 2012-03-12 Leo Liu <sdl.web@gmail.com>
14338 * simple.el (kill-new): Use equal-including-properties for comparison.
14339 (kill-do-not-save-duplicates): Doc fix.
14341 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14343 * dabbrev.el: Fix cycle completion (bug#10963).
14344 Use lexical binding and wrap to 80 columns.
14345 (dabbrev-completion): Delay computing the list of completions.
14347 2012-03-12 Kenichi Handa <handa@m17n.org>
14349 * international/quail.el (quail-insert-kbd-layout): Surround each
14350 row by LRO and PDF instead of inserting many LRMs. Pad the left
14351 and right of each non-spacing marks. Insert invisible space
14352 between lower and upper characters to prevent composition.
14354 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14356 * minibuffer.el (minibuffer-complete): Don't get confused when the
14357 function is run twice via different commands (bug#10958).
14358 (complete-with-action): Fix docstring.
14360 2012-03-12 Chong Yidong <cyd@gnu.org>
14362 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14363 (nxml-completion-at-point-function): New function.
14364 (nxml-mode): Use it.
14365 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14367 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14368 Load generated autoloads file before byte compiling (Bug#10970).
14369 (package--make-autoloads-and-compile): New helper fun.
14371 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14373 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14375 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14377 * autorevert.el (auto-revert-handler): Ensure, that
14378 file-readable-p is applied only for local files or in
14379 auto-revert-tail-mode.
14381 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14383 * server.el (server-eval-at): Handle non-tcp connections.
14384 Decode result string.
14386 * server.el (server-msg-size): New constant.
14387 (server-reply-print): New function.
14388 (server-eval-and-print): Use it.
14389 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14390 Handle -print-nonl.
14392 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14394 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14397 2012-03-11 Chong Yidong <cyd@gnu.org>
14399 * simple.el (goto-line): Doc fix (Bug#9938).
14401 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14403 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14404 when finished (Bug#10963).
14406 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14408 * window.el (split-window-below): Fix bug in case where
14409 split-window-keep-point is nil (Bug#10971).
14411 2012-03-11 Juri Linkov <juri@jurta.org>
14413 * replace.el (replace-highlight): Set isearch-word to nil
14414 unconditionally. (Bug#10887)
14416 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14418 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14419 mairix-replace-illegal-chars; all callers changed. Don't remove
14420 ^, ~, and = characters: they are meaningful in mairix search specs.
14421 (mairix-widget-create-query): Add usage information about mairix
14422 search forms: negating words, searching for substrings, etc.
14424 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14426 * international/fontset.el (font-encoding-alist): Add an entry for
14427 ksx1001 (Bug#5667).
14429 2012-03-10 Richard Stallman <rms@gnu.org>
14431 * mail/sendmail.el (mail-encode-header):
14432 Set rfc2047-encode-encoded-words.
14434 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14436 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14437 view buffer means not swapped.
14438 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14439 (rmail-write-region-annotate): Error if real text has disappeared.
14441 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14443 2012-03-10 Chong Yidong <cyd@gnu.org>
14445 * emulation/cua-rect.el (cua--init-rectangles):
14446 * emulation/cua-base.el (cua--init-keymaps):
14447 Add delete-forward-char to remappings (Bug#9666).
14449 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14451 * speedbar.el (speedbar-unhighlight-one-tag-line):
14452 Avoid unhighlighting due to frame switching (Bug#10275).
14454 2012-03-10 Chong Yidong <cyd@gnu.org>
14456 * minibuffer.el (completion-in-region, completion-help-at-point):
14457 Give the completion field overlay a high priority (Bug#6830).
14459 * dired.el (dired-goto-file): Recognize absolute file name
14460 listings (Bug#7126).
14461 (dired-goto-file-1): New helper function.
14462 (dired-toggle-read-only): Inhibit warnings.
14464 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14466 * net/dbus.el (dbus-property-handler): Return empty array if
14467 there are no properties.
14469 2012-03-09 Leo Liu <sdl.web@gmail.com>
14471 * savehist.el (savehist-printable): Stricter check for string
14474 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14476 * mail/smtpmail.el (smtpmail-send-it):
14477 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14480 2012-03-09 Glenn Morris <rgm@gnu.org>
14482 * files.el (dir-locals-find-file):
14483 Don't check result is regular, readable.
14484 (dir-locals-read-from-file): Demote errors.
14486 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14488 * international/quail.el (quail-insert-kbd-layout):
14489 Insert invisible LRM characters before each character in a keyboard
14490 layout cell, to prevent their reordering by bidi display engine.
14491 For details, see the discussion in
14492 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14494 2012-03-08 Alan Mackenzie <acm@muc.de>
14496 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14497 the starting position; make it extend the marked region when
14498 invoked repeatedly - all under appropriate circumstances.
14499 Fixes bugs #5525, #10906.
14501 2012-03-08 Glenn Morris <rgm@gnu.org>
14503 * files.el (locate-dominating-file, dir-locals-find-file):
14504 Undo 2012-03-06 change.
14506 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14508 * international/quail.el (quail-help):
14509 Force bidi-paragraph-direction be left-to-right. See discussion in
14510 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14513 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14515 Avoid superfluous registering of signals. (Bug#10807)
14517 * notifications.el (notifications-on-action-object)
14518 (notifications-on-close-object): New defvars.
14519 (notifications-on-action-signal, notifications-on-closed-signal):
14520 Unregister the signal if not needed any longer.
14521 (notifications-notify): Register `notifications-action-signal' or
14522 `notifications-closed-signal', if :on-action or :on-close has been
14523 passed as argument.
14525 2012-03-07 Chong Yidong <cyd@gnu.org>
14527 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14530 2012-03-06 Glenn Morris <rgm@gnu.org>
14532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14533 (x-disown-selection-internal, x-get-selection-internal):
14534 Doc fix (add arglist signatures). (Bug#10783)
14536 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14538 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14539 Handle breakpoints with no "type".
14541 2012-03-06 Glenn Morris <rgm@gnu.org>
14543 * files.el (locate-dominating-file): Add optional predicate argument.
14544 (dir-locals-find-file): Make use of above change.
14546 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14548 * info.el (Info-insert-dir): Also try "dir.gz".
14550 2012-03-06 Glenn Morris <rgm@gnu.org>
14552 * files.el (dir-locals-find-file):
14553 Ignore non-readable or non-regular files. (Bug#10928)
14555 * files.el (locate-dominating-file): Doc fix.
14557 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14559 * calendar/calendar.el (calendar-set-mode-line):
14560 `getenv' returns a string. (Bug#10951)
14562 2012-03-05 Leo Liu <sdl.web@gmail.com>
14564 * simple.el (backward-delete-char-untabify): Constrain point to
14567 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14569 2012-03-05 Chong Yidong <cyd@gnu.org>
14571 * simple.el (count-words): If called from Lisp, return the word
14572 count, for symmetry with `count-lines'. Arglist changed.
14573 (count-words--message): Args changed. Consolidate counting code
14574 from count-words and count-words-region.
14575 (count-words-region): Caller changed.
14576 (count-lines-region): Make it an obsolete alias.
14578 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14580 * saveplace.el (save-place-to-alist)
14581 (save-place-ignore-files-regexp): Allow value nil to disable this
14584 2012-03-04 Chong Yidong <cyd@gnu.org>
14586 * faces.el (face-spec-reset-face): For the default face, reset the
14587 attributes to default values (Bug#10748).
14589 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14591 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14592 previous patch: Check `message-send-mail-function', and not the
14593 default function (bug#10897).
14595 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14597 * notifications.el (notifications-on-action-signal)
14598 (notifications-on-closed-signal): Check for unique service name of
14599 incoming event. Fix error in removing entry.
14600 (top): Register for signals with wildcard service name.
14601 (notifications-notify): Use daemon unique service name for map entries.
14603 2012-03-04 Chong Yidong <cyd@gnu.org>
14605 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14607 2012-03-04 Glenn Morris <rgm@gnu.org>
14609 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14610 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14611 (expand-abbrev, define-abbrev-table): Doc fixes.
14613 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14615 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14616 `message-default-send-mail-function' and not `send-mail-function'
14617 when doing the prompting for `sendmail-query-once' before sending
14618 in Message buffers (bug#10897).
14620 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14621 This is inconsistent with all the other stream functions, which leave
14622 the setting up to the higher levels (if so wanted) (bug#10931).
14624 2012-03-02 Alan Mackenzie <acm@muc.de>
14626 Depessimize the handling of very large macros.
14628 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14629 (c-macro-cache-syntactic): New variables to implement a one
14630 element macro cache.
14631 (c-invalidate-macro-cache): New function.
14632 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14633 Adapt to use the new cache.
14634 (c-state-safe-place): Use better the cache of safe positions.
14635 (c-state-semi-nonlit-pos-cache)
14636 (c-state-semi-nonlit-pos-cache-limit):
14637 New variables for...
14638 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14639 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14640 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14641 Use c-state-semi-safe-place.
14643 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14644 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14646 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14648 * jka-compr.el (jka-compr-call-process):
14649 Apply `file-accessible-directory-p' only when the default directory is
14652 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14654 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14655 access of FILE2, if FILE1 does not exist.
14657 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14658 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14660 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14661 Add "PAGER=" to `process-environment'.
14663 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14665 * progmodes/sql.el: Bug fix
14666 (sql-get-login-ext): Save login values in globals.
14667 (sql-get-login): Use new version of `sql-get-login-ext'.
14668 (sql-interactive-mode): Set global `sql-connection' to nil.
14669 (sql-connect): Set global values for connection.
14670 (sql-product-interactive): Save global values as buffer local.
14672 2012-02-29 Leo Liu <sdl.web@gmail.com>
14674 * abbrev.el (define-abbrevs): Reset sys to nil.
14676 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14678 * files.el (file-equal-p): Rename from `files-equal-p'.
14679 Return nil when one or both files don't exist.
14680 (file-subdir-of-p): Now only top directory must exists,
14681 return nil if it doesn't.
14682 (copy-directory): No need to test with `file-subdir-of-p' after
14684 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14687 2012-02-28 Glenn Morris <rgm@gnu.org>
14689 * shell.el (shell-mode):
14690 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14691 * play/landmark.el (landmark-font-lock-face-O):
14692 * play/handwrite.el (handwrite):
14693 * play/gomoku.el (gomoku-O):
14694 * net/browse-url.el (browse-url-browser-display):
14695 * international/mule.el (define-charset):
14696 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14697 * filesets.el (filesets-find-file-delay):
14698 * eshell/em-xtra.el (eshell-xtra):
14699 * eshell/em-unix.el (eshell-grep):
14700 * emulation/viper.el (viper-mode):
14701 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14702 * emacs-lisp/easymenu.el (easy-menu-define):
14703 * calendar/timeclock.el (timeclock-use-display-time):
14705 * bookmark.el (bookmark-save-flag):
14706 Doc fix (standardize possessive apostrophe usage).
14708 2012-02-27 Chong Yidong <cyd@gnu.org>
14710 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14711 Fix key-binding lookup for ESC key (Bug#9146).
14713 * font-lock.el (font-lock-specified-p): Rename from
14714 font-lock-spec-present. Callers changed.
14716 2012-02-27 Daniel Hackney <dan@haxney.org>
14718 * emacs-lisp/package.el (package-compute-transaction):
14719 Handle holding a package version to t in package-load-list.
14721 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14723 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14724 (tramp-get-inode, tramp-get-device): Use cached values.
14726 2012-02-26 Alan Mackenzie <acm@muc.de>
14728 Check there is a font-lock specification before doing initial
14731 * font-core.el (font-lock-mode): Move the conditional from
14732 :after-hook to font-lock-initial-fontify.
14733 (font-lock-default-function): Move the check for a specification
14734 to font-lock-spec-present.
14736 * font-lock.el (font-lock-initial-fontify): Call ...
14737 (font-lock-spec-present): New function.
14739 2012-02-26 Jim Blandy <jimb@red-bean.com>
14741 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14742 (gdb-send): Apply it to the operand of the '-interpreter-exec
14743 console' command, so that we can pass arguments with (say) quotes
14744 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14746 2012-02-26 Chong Yidong <cyd@gnu.org>
14748 * help-fns.el (describe-function-1): Clarify description of
14749 remapping (Bug#10844).
14751 * files.el (files-equal-p): Doc fix.
14752 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14753 and quit the loop once a mismatch is found.
14755 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14757 * bs.el (bs--show-with-configuration): Don't throw an error
14758 if the window cannot be split; otherwise, subsequent calls to
14759 bs-show fail, restoring a stale window config. (Bug#10882)
14761 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14763 * term/ns-win.el (global-map): Bind ns-drag-file to
14764 ns-find-file (Bug#5855, Bug#10050).
14766 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14768 * calendar/parse-time.el (parse-time-string): Allow extractor to
14771 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14773 * net/tramp.el (tramp-file-name-for-operation):
14774 Add `files-equal-p' and `file-subdir-of-p'.
14776 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14777 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14778 Add COPY-CONTENTS argument.
14780 2012-02-25 Chong Yidong <cyd@gnu.org>
14782 Add custom groups for VC backends, for consistency with vc-bzr.
14784 * vc/vc-arch.el (vc-arch):
14785 * vc/vc-cvs.el (vc-cvs):
14786 * vc/vc-git.el (vc-git):
14787 * vc/vc-hg.el (vc-hg):
14788 * vc/vc-mtn.el (vc-mtn):
14789 * vc/vc-rcs.el (vc-rcs):
14790 * vc/vc-sccs.el (vc-sccs):
14791 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14792 All relevant defcustoms reassigned.
14794 2012-02-25 Chong Yidong <cyd@gnu.org>
14796 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14798 * term/x-win.el (x-initialize-window-system): Reduce default for
14799 x-selection-timeout to 5 seconds (Bug#8869).
14801 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14803 * files.el (files-equal-p, file-subdir-of-p): New functions.
14804 (copy-directory): Error when trying to copy a directory on itself.
14805 Add missing copy-contents arg to tramp handler.
14806 * dired-aux.el (dired-copy-file-recursive): Same.
14807 (dired-create-files): Modify destination when source is equal to
14808 dest when copying files.
14809 Return also when dest is a subdir of source. (Bug#10489)
14811 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14813 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14816 2012-02-23 Alan Mackenzie <acm@muc.de>
14818 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14819 parameter "after-hook:" to allow the expansion to run code after
14820 the execution of the mode hooks.
14822 * font-lock.el (font-lock-initial-fontify): New function extracted
14823 from font-lock-mode-internal.
14825 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14828 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14830 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14831 (completion--cache-all-sorted-completions): New function.
14832 (completion-all-sorted-completions): Use it.
14833 (completion--do-completion, minibuffer-force-complete):
14834 Use it to re-instate the flush hook.
14836 * icomplete.el (icomplete-completions): Replace last fix with a better
14839 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14841 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14842 when it might call us back infinitely (bug#10797).
14844 2012-02-23 Glenn Morris <rgm@gnu.org>
14846 * minibuffer.el (completion-category-overrides): Doc fix.
14848 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14850 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14851 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14853 2012-02-23 Glenn Morris <rgm@gnu.org>
14855 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14856 (authors-obsolete-files-regexps, authors-ignored-files)
14857 (authors-ambiguous-files, authors-renamed-files-alist):
14860 2012-02-23 Juri Linkov <juri@jurta.org>
14862 * isearch.el (isearch-occur): Sync interactive spec with occur's
14863 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14865 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14867 2012-02-22 Juri Linkov <juri@jurta.org>
14869 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14870 (ucs-insert): Doc fix. Check for hex digits in the string.
14871 Don't display `nil' in the error message. (Bug#10857)
14873 2012-02-22 Alan Mackenzie <acm@muc.de>
14875 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14877 2012-02-22 Glenn Morris <rgm@gnu.org>
14879 * ffap.el (ffap-c-path):
14880 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14882 2012-02-22 Chong Yidong <cyd@gnu.org>
14884 * custom.el (load-theme): Doc fix.
14886 2012-02-22 Glenn Morris <rgm@gnu.org>
14888 * dired-x.el (dired-guess-shell-alist-default):
14889 Remove escape sequences from nroff output. (Bug#172)
14891 2012-02-21 Glenn Morris <rgm@gnu.org>
14893 * vc/emerge.el (emerge-defvar-local):
14894 Set `permanent-local' property rather than unused `preserved'.
14896 * textmodes/picture.el (picture-delete-char): New alias.
14897 (picture-mode-map): Use it. (Bug#10860)
14898 (picture-mode): Doc fix.
14900 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14902 * newcomment.el (uncomment-region-default): Remove unused binding.
14904 2012-02-21 Glenn Morris <rgm@gnu.org>
14906 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14907 (picture-self-insert, picture-tab-chars): Doc fix.
14908 (picture-mode-map): Fix C-a, C-e.
14910 2012-02-20 Glenn Morris <rgm@gnu.org>
14912 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14914 2012-02-20 Leo Liu <sdl.web@gmail.com>
14916 * icomplete.el (icomplete-completions): Check FROM arg before
14917 passing to substring (Bug#10850).
14919 2012-02-19 Chong Yidong <cyd@gnu.org>
14921 * comint.el: Require ansi-color.
14922 (comint-output-filter-functions): Add ansi-color-process-output.
14924 * ansi-color.el: Don't set comint-output-filter-functions; it is
14925 now in the initial value defined in comint.el.
14926 (ansi-color-apply-face-function): New variable.
14927 (ansi-color-apply-on-region): Use it.
14928 (ansi-color-apply-overlay-face): New function.
14930 * shell.el (shell): No need to require ansi-color.
14931 (shell-mode): Use ansi-color-apply-face-function to highlight
14932 color escapes using font-lock-face property (Bug#10835).
14934 2012-02-19 Chong Yidong <cyd@gnu.org>
14936 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14937 mode-line formats (Bug#10839).
14939 2012-02-18 Glenn Morris <rgm@gnu.org>
14941 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14943 * mail/undigest.el (unforward-rmail-message): Doc fix.
14945 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14947 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14949 * international/characters.el (script-list): Sync with the latest
14950 Unicode Character Database.
14952 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14954 * international/titdic-cnv.el: Remove duplicate coding tag.
14955 * language/cham.el: Likewise.
14956 * language/tai-viet.el: Likewise.
14958 2012-02-18 Glenn Morris <rgm@gnu.org>
14960 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14961 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14962 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14963 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14964 * calendar/holidays.el (holiday-bahai-holidays)
14965 (calendar-holidays, list-holidays):
14966 Use utf-8 Bahá'í in doc-strings, menus, etc.
14968 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14970 * saveplace.el (save-place-ignore-files-regexp): New variable
14971 allowing for excluding files from saving their location of point.
14972 The default value matches the temporary commit message editing
14973 files from Git, SVN, Bazaar, and Mercurial.
14974 (save-place-to-alist): Use it.
14976 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14977 Stefan Monnier <monnier@iro.umontreal.ca>
14979 * newcomment.el (uncomment-region-default): Don't leave extra space
14980 when an arg is provided (bug#8150).
14982 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14984 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14986 2012-02-17 Glenn Morris <rgm@gnu.org>
14988 * net/socks.el: Require network-stream. (Bug#10599)
14990 2012-02-17 Kenichi Handa <handa@m17n.org>
14992 * international/charprop.el:
14993 * international/uni-name.el:
14994 * international/uni-old-name.el:
14995 * international/uni-comment.el: Regenerate.
14997 2012-02-16 Glenn Morris <rgm@gnu.org>
14999 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15000 Interactively in calendar buffer, give an error if not on a date.
15002 2012-02-15 Glenn Morris <rgm@gnu.org>
15004 * shell.el (shell-delimiter-argument-list):
15005 Revert 2011-02-17 change. (Bug#8027)
15007 2012-02-15 Chong Yidong <cyd@gnu.org>
15009 * minibuffer.el (completion-at-point-functions): Doc fix.
15011 * custom.el (defcustom): Doc fix; note use of defvar.
15013 2012-02-15 Glenn Morris <rgm@gnu.org>
15015 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15018 2012-02-14 Glenn Morris <rgm@gnu.org>
15020 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15022 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15024 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15025 way the ports list is computed.
15026 (smtpmail-query-smtp-server): Prompt the user for a port number if
15027 we can't connect to any of the standard ports (bug#10810).
15029 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15031 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15033 2012-02-13 Glenn Morris <rgm@gnu.org>
15035 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15037 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15039 * net/gnutls.el (gnutls-trustfiles): New variable.
15040 (gnutls-negotiate): Use it.
15042 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15044 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15045 does its stuff if Gnus is running.
15047 2012-02-13 Alan Mackenzie <acm@muc.de>
15049 Fix a loop in c-set-fl-decl-start.
15051 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15052 c-backward-syntactic-ws actually moves backwards.
15054 2012-02-13 Leo Liu <sdl.web@gmail.com>
15056 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15057 beginning so that all \C-o chars are removed.
15059 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15061 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15063 2012-02-12 Alan Mackenzie <acm@muc.de>
15065 Fix infinite loop with long macros.
15066 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15068 2012-02-12 Chong Yidong <cyd@gnu.org>
15070 * window.el (display-buffer): Doc fix (Bug#10785).
15072 2012-02-12 Glenn Morris <rgm@gnu.org>
15074 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15075 (x-disown-selection-internal, x-get-selection-internal):
15076 Sync docs with the xselect.c versions.
15078 * allout-widgets.el: Add missing license notice.
15080 2012-02-11 Glenn Morris <rgm@gnu.org>
15082 * select.el (x-get-selection-internal, x-own-selection-internal)
15083 (x-disown-selection-internal):
15084 * x-dnd.el (x-get-selection-internal): Update declarations.
15086 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15088 * window.el (window-sides-slots):
15089 * tool-bar.el (tool-bar-position):
15090 * term/xterm.el (xterm-extra-capabilities):
15091 * ses.el (ses-self-reference-early-detection):
15092 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15093 (verilog-auto-wire-type)
15094 (verilog-auto-delete-trailing-whitespace)
15095 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15096 (verilog-auto-tieoff-declaration):
15097 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15098 (sql-oracle-statement-starters, sql-oracle-scan-on):
15099 * progmodes/prolog.el (prolog-align-comments-flag)
15100 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15101 (prolog-left-indent-regexp, prolog-paren-indent-p)
15102 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15103 (prolog-types, prolog-mode-specificators)
15104 (prolog-determinism-specificators, prolog-directives)
15105 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15106 (prolog-electric-dot-flag)
15107 (prolog-electric-dot-full-predicate-template)
15108 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15109 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15110 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15111 (prolog-program-switches, prolog-prompt-regexp)
15112 (prolog-debug-on-string, prolog-debug-off-string)
15113 (prolog-trace-on-string, prolog-trace-off-string)
15114 (prolog-zip-on-string, prolog-zip-off-string)
15115 (prolog-use-standard-consult-compile-method-flag)
15116 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15117 (prolog-imenu-max-lines, prolog-info-predicate-index)
15118 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15119 (prolog-char-quote-workaround):
15120 * progmodes/cc-vars.el (c-defun-tactic):
15121 * net/tramp.el (tramp-encoding-command-interactive)
15122 (tramp-local-end-of-line):
15123 * net/soap-client.el (soap-client):
15124 * net/netrc.el (netrc-file):
15125 * net/gnutls.el (gnutls):
15126 * minibuffer.el (completion-category-overrides)
15127 (completion-cycle-threshold)
15128 (completion-pcm-complete-word-inserts-delimiters):
15129 * man.el (Man-name-local-regexp):
15130 * mail/feedmail.el (feedmail-display-full-frame):
15131 * international/characters.el (glyphless-char-display-control):
15132 * eshell/em-ls.el (eshell-ls-date-format):
15133 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15134 (lisp-lambda-list-keyword-parameter-indentation)
15135 (lisp-lambda-list-keyword-parameter-alignment):
15136 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15137 * dired-x.el (dired-omit-verbose):
15138 * cus-theme.el (custom-theme-allow-multiple-selections):
15139 * calc/calc.el (calc-highlight-selections-with-faces)
15140 (calc-lu-field-reference, calc-lu-power-reference)
15141 (calc-note-threshold):
15142 * battery.el (battery-mode-line-limit):
15143 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15144 (archive-7z-update):
15145 * allout.el (allout-prefixed-keybindings)
15146 (allout-unprefixed-keybindings)
15147 (allout-inhibit-auto-fill-on-headline)
15148 (allout-flattened-numbering-abbreviation):
15149 * allout-widgets.el (allout-widgets-auto-activation)
15150 (allout-widgets-icons-dark-subdir)
15151 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15152 (allout-widgets-theme-dark-background)
15153 (allout-widgets-theme-light-background)
15154 (allout-widgets-item-image-properties-emacs)
15155 (allout-widgets-item-image-properties-xemacs)
15156 (allout-widgets-run-unit-tests-on-load)
15157 (allout-widgets-time-decoration-activity)
15158 (allout-widgets-hook-error-post-time)
15159 (allout-widgets-track-decoration):
15160 Add missing :version tags to new defcustoms and defgroups.
15162 * progmodes/sql.el (sql-ansi-statement-starters)
15163 (sql-oracle-statement-starters): Add custom type.
15165 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15166 (prolog-system-version): Give it a type.
15168 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15170 * term/pc-win.el (x-select-text, x-selection-owner-p)
15171 (x-own-selection-internal, x-disown-selection-internal)
15172 (x-get-selection-internal): Sync doc strings and argument lists
15173 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15175 2012-02-11 Leo Liu <sdl.web@gmail.com>
15177 * progmodes/python.el (python-end-of-statement): Fix infinite
15180 2012-02-10 Glenn Morris <rgm@gnu.org>
15182 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15183 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15185 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15187 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15188 about SMTP before checking the From header.
15190 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15191 into own function for reuse by emacsbug.el.
15193 2012-02-10 Leo Liu <sdl.web@gmail.com>
15195 * subr.el (condition-case-unless-debug): Rename from
15196 condition-case-no-debug. All callers changed.
15197 (with-demoted-errors): Fix caller.
15199 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15200 * nxml/rng-valid.el (rng-do-some-validation):
15201 * emacs-lisp/package.el (package-refresh-contents)
15202 (package-menu-execute):
15203 * desktop.el (desktop-create-buffer):
15204 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15206 2012-02-10 Glenn Morris <rgm@gnu.org>
15208 * textmodes/bibtex.el:
15209 Add missing :version tags for new/changed defcustoms.
15211 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15213 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15215 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15216 (smtpmail-via-smtp): Use it, or fall back on the From address.
15217 (smtpmail-send-it): Ditto.
15219 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15221 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15222 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15223 (byte-compile-tmp-var): New const.
15224 (byte-compile-defvar): Use it to minimize .elc size.
15225 Just use `defvar' rather than simulate it (bug#10761).
15227 2012-02-09 Glenn Morris <rgm@gnu.org>
15229 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15231 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15234 * progmodes/compile.el (compilation-error-screen-columns)
15235 (compilation-first-column, compilation-filter-start): Doc fixes.
15237 * vc/log-view.el (log-view-toggle-entry-display):
15238 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15240 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15241 (report-emacs-bug-can-use-xdg-email):
15242 (report-emacs-bug-insert-to-mailer): Doc fixes.
15243 (report-emacs-bug): Message fix.
15245 * net/browse-url.el (browse-url-can-use-xdg-open)
15246 (browse-url-xdg-open): Doc fixes.
15248 * electric.el (electric-indent-mode, electric-pair-mode)
15249 (electric-layout-rules, electric-layout-mode): Doc fixes.
15250 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15252 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15254 * server.el (server-unselect-display): Don't inadvertently kill
15255 the current buffer. (Bug#10729)
15257 2012-02-08 Glenn Morris <rgm@gnu.org>
15259 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15260 (sql-list-table): Doc fixes.
15262 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15263 Comment out (does nothing).
15265 * completion.el (dynamic-completion-mode):
15266 * dirtrack.el (dirtrack-debug-mode):
15267 * electric.el (electric-layout-mode):
15268 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15269 * face-remap.el (text-scale-mode, buffer-face-mode):
15270 * iimage.el (iimage-mode):
15271 * image-mode.el (image-transform-mode):
15272 * minibuffer.el (completion-in-region-mode):
15273 * scroll-lock.el (scroll-lock-mode):
15274 * simple.el (next-error-follow-minor-mode):
15275 * tar-mode.el (tar-subfile-mode):
15276 * tooltip.el (tooltip-mode):
15277 * vcursor.el (vcursor-use-vcursor-map):
15278 * wid-browse.el (widget-minor-mode):
15279 * emulation/tpu-edt.el (tpu-edt-mode):
15280 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15281 * international/iso-ascii.el (iso-ascii-mode):
15282 * language/thai-util.el (thai-word-mode):
15283 * mail/supercite.el (sc-minor-mode):
15284 * net/goto-addr.el (goto-address-mode):
15285 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15286 * progmodes/cwarn.el (cwarn-mode):
15287 * progmodes/flymake.el (flymake-mode):
15288 * progmodes/glasses.el (glasses-mode):
15289 * progmodes/hideshow.el (hs-minor-mode):
15290 * progmodes/pascal.el (pascal-outline-mode):
15291 * textmodes/enriched.el (enriched-mode):
15292 * vc/smerge-mode.el (smerge-mode):
15293 Doc fixes (minor mode argument).
15295 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15297 * ls-lisp.el (ls-lisp-sanitize): New function.
15298 (ls-lisp-insert-directory): Use it to fix or remove any elements
15299 in file-alist with missing attributes. (Bug#4673)
15301 2012-02-07 Alan Mackenzie <acm@muc.de>
15303 Fix spurious recognition of c-in-knr-argdecl.
15305 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15306 putative K&R region.
15308 2012-02-07 Alan Mackenzie <acm@muc.de>
15310 * progmodes/cc-engine.el (c-forward-objc-directive):
15311 Prevent looping in "#pragma mark @implementation".
15313 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15315 * notifications.el (notifications-on-closed-signal): Make `reason'
15316 optional. (Bug#10744)
15318 2012-02-07 Glenn Morris <rgm@gnu.org>
15320 * emacs-lisp/easy-mmode.el (define-minor-mode):
15321 Doc fixes for the macro and the mode it defines.
15323 * image.el (imagemagick-types-inhibit): Doc fix.
15325 * cus-start.el (imagemagick-render-type): Add it.
15327 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15329 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15330 Set the default at load time, too, so that `font-lock-fontify-buffer'
15331 can be called without setting up the entire mode first. This fixes
15332 a bug in `mm-inline-text' with C MIME parts.
15334 2012-02-06 Chong Yidong <cyd@gnu.org>
15336 * simple.el (list-processes--refresh): Delete exited processes
15339 * comint.el (comint-next-prompt): next-single-char-property-change
15340 and prev-single-char-property-change never return nil (Bug#8657).
15342 * custom.el (defcustom): Doc fix (Bug#9711).
15344 2012-02-05 Chong Yidong <cyd@gnu.org>
15346 * cus-edit.el (custom-variable-reset-backup): Quote the value
15347 before storing it in the customized-value property (Bug#6712).
15348 (custom-display): Add a customization type tag.
15349 (custom-buffer-create-internal): Improve tooltip message.
15351 * wid-edit.el (widget-field-value-get): New optional arg to
15352 suppress trailing whitespace truncation.
15353 (character): Use it (Bug#2689).
15355 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15357 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15358 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15360 2012-02-05 Chong Yidong <cyd@gnu.org>
15362 * cus-edit.el (custom-variable-value-create): For mismatched
15363 types, show the current value (Bug#7600).
15365 * custom.el (defcustom): Doc fix.
15367 2012-02-05 Glenn Morris <rgm@gnu.org>
15369 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15371 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15373 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15374 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15375 (pp-last-sexp): Use `looking-at-p'.
15377 2012-02-04 Glenn Morris <rgm@gnu.org>
15379 * files.el (revert-buffer):
15380 Doc fix (mention revert-buffer-in-progress-p).
15382 * emacs-lisp/ert-x.el (ert-simulate-command):
15383 Check deferred-action-list (which is obsolete) is bound.
15385 * subr.el (with-wrapper-hook): Doc fixes.
15387 * simple.el (filter-buffer-substring-functions)
15388 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15390 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15392 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15393 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15395 2012-02-04 Leo Liu <sdl.web@gmail.com>
15397 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15399 2012-02-04 Glenn Morris <rgm@gnu.org>
15401 * image.el (image-extension-data): Add obsolete alias.
15403 * isearch.el (isearch-update): Doc fix.
15405 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15407 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15409 2012-02-03 Glenn Morris <rgm@gnu.org>
15411 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15412 (image-animate-timeout): Doc fix.
15414 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15416 2012-02-02 Glenn Morris <rgm@gnu.org>
15418 * server.el (server-auth-dir): Doc fix.
15419 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15421 * subr.el (run-mode-hooks): Doc fix.
15423 2012-02-02 Juri Linkov <juri@jurta.org>
15425 * image-mode.el (image-toggle-display-image): Remove tautological
15426 `major-mode' from the `derived-mode-p' test.
15428 2012-02-02 Kenichi Handa <handa@m17n.org>
15430 * composite.el (compose-region): Cancel previous change.
15432 2012-02-02 Kenichi Handa <handa@m17n.org>
15434 * composite.el (compose-region, compose-string): Signal error for
15435 a null string component (Bug#6988).
15437 2012-02-01 Chong Yidong <cyd@gnu.org>
15439 * view.el (view-buffer-other-window, view-buffer-other-frame):
15440 Handle special modes like view-buffer (Bug#10650).
15441 (view-buffer): Simplify.
15443 * frame.el (set-frame-font): Tweak meaning of third argument.
15445 * dynamic-setting.el (font-setting-change-default-font):
15446 Use set-frame-font (Bug#9982).
15448 2012-02-01 Glenn Morris <rgm@gnu.org>
15450 * progmodes/compile.el (compilation-internal-error-properties):
15451 Respect compilation-first-column in the "*compilation*" buffer.
15453 * emacs-lisp/easy-mmode.el (define-minor-mode):
15454 Relax :variable's test for a named function.
15456 2012-01-31 Alan Mackenzie <acm@muc.de>
15458 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15461 2012-01-31 Chong Yidong <cyd@gnu.org>
15463 * frame.el (set-frame-font): New arg ALL-FRAMES.
15465 * menu-bar.el (menu-set-font): Use set-frame-font.
15467 * faces.el (face-spec-reset-face): Don't apply unspecified
15468 attribute values to the default face.
15470 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15472 * progmodes/cwarn.el (cwarn): Remove dead link.
15473 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15474 Remove * from defcustom docstrings.
15475 (turn-on-cwarn-mode): Make obsolete.
15476 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15477 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15479 2012-01-31 Glenn Morris <rgm@gnu.org>
15481 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15482 Fix :variable handling of mode a symbol not equal to modefun.
15483 Allow named functions to be used as the cdr of :variable.
15485 2012-01-30 Glenn Morris <rgm@gnu.org>
15487 * emacs-lisp/authors.el (authors-fixed-entries):
15488 Remove reference to deleted file rnewspost.el.
15490 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15492 * window.el (window-with-parameter): Remove unused variable `windows'.
15493 (window--side-check): Remove unused variable `code'.
15494 (window--resize-siblings): Remove unused variable `first'.
15495 (adjust-window-trailing-edge): Remove unused variable `failed'.
15496 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15497 Use `let', not `let*'.
15498 (balance-windows-2): Remove unused variable `found'.
15499 (window--state-put-2): Remove unused variable `splits'.
15500 (window-state-put): Remove unused variable `selected'.
15501 (same-window-p): Use `string-match-p'.
15502 (display-buffer-assq-regexp): Remove unused variable `value'.
15503 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15504 Mark argument ALIST as ignored.
15505 (pop-to-buffer): Remove unused variable `old-window'.
15507 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15509 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15510 and .lzma compressed files.
15512 2012-01-29 Chong Yidong <cyd@gnu.org>
15514 * frame.el (window-system-default-frame-alist): Doc fix.
15516 * dynamic-setting.el (font-setting-change-default-font): Don't
15517 change the default face if SET-FONT argument is non-nil (Bug#9982).
15519 2012-01-29 Samuel Bronson <naesten@gmail.com>
15521 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15523 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15525 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15526 breakpoints in files outside current directory (Bug#6098).
15528 2012-01-29 Chong Yidong <cyd@gnu.org>
15530 * progmodes/python.el: Require ansi-color at top-level.
15532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15533 Define and use in Emacs Lisp mode (Bug#9360).
15534 (lisp-mode-abbrev-table): Add doc.
15535 (lisp-mode-variables): Don't set local-abbrev-table.
15536 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15538 2012-01-28 Roland Winkler <winkler@gnu.org>
15540 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15542 2012-01-28 Roland Winkler <winkler@gnu.org>
15544 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15545 (bibtex-set-dialect): Use it. Either set global values of
15546 dialect-dependent variables or bind these variables buffer-locally
15548 (bibtex-mode): Call bibtex-set-dialect via
15549 hack-local-variables-hook.
15550 (bibtex-dialect): Update docstring.
15551 Add safe-local-variable predicate.
15552 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15553 bibtex-set-dialect.
15554 (bibtex-mode-map): Define menu for each dialect.
15555 (bibtex-entry): Fix docstring.
15557 2012-01-28 Chong Yidong <cyd@gnu.org>
15559 * eshell/esh-arg.el (eshell-quote-argument): New function.
15561 * eshell/esh-ext.el (eshell-invoke-batch-file):
15562 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15563 first arg to eshell-parse-command (Bug#10523).
15565 2012-01-28 Drew Adams <drew.adams@oracle.com>
15567 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15568 `default-directory' is non-nil.
15570 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15572 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15573 line that displays system-configuration-options. (Bug#9924)
15575 2012-01-28 Drew Adams <drew.adams@oracle.com>
15577 * descr-text.el (describe-char): Show information about POS, in
15578 addition to information about the character at POS. Improve and
15579 update the doc string. Change "code point" to "code point in
15580 charset", to avoid confusion with the character's Unicode code
15581 point shown above that. (Bug#10129)
15583 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15585 * descr-text.el (describe-char): Show the raw character, not only
15586 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15587 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15590 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15592 * emacs-lisp/package.el (package-install):
15593 Run package-refresh-contents if there is no archive yet (Bug#9798).
15595 2012-01-28 Chong Yidong <cyd@gnu.org>
15597 * emacs-lisp/package.el (package-maybe-load-descriptor):
15598 New function, split from package-maybe-load-descriptor.
15599 (package-maybe-load-descriptor): Use it.
15600 (package-download-transaction): Fully load required packages
15601 inside the loop, so that `require' calls work (Bug#10593).
15602 (package-install): No need to call package-initialize now.
15604 2012-01-28 Chong Yidong <cyd@gnu.org>
15606 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15608 * tooltip.el (tooltip-mode): Doc fix.
15609 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15611 * frame.el (set-cursor-color): Doc fix (Bug#352).
15613 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15614 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15616 * cus-edit.el (custom-buffer-create-internal): Fix search button
15617 action (Bug#10542).
15618 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15620 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15622 * dired.el (dired-mark-files-regexp):
15623 Include any subdirectory components. (Bug#10445)
15625 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15627 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15628 Handle [host]:port syntax. (Bug#10533)
15630 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15632 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15634 2012-01-26 Glenn Morris <rgm@gnu.org>
15636 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15637 * term.el (term-raw-escape-map): Use Control-X-prefix.
15638 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15640 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15642 * window.el (window-state-get, window--state-get-1): Don't deal
15643 with fixed-sizeness of windows. Simplify code.
15645 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15647 * window.el (window--state-get-1, window--state-put-2):
15648 Don't save and restore the mark.
15650 2012-01-25 Chong Yidong <cyd@gnu.org>
15652 * custom.el (custom-variable-p): Doc fix.
15654 2012-01-25 Glenn Morris <rgm@gnu.org>
15656 * dired.el (dired-goto-file): Handle some of the more common
15657 characters that `ls -b' escapes. (Bug#10596)
15659 * progmodes/compile.el (compilation-next-error-function):
15660 Respect compilation-first-column in the "*compilation*" buffer.
15661 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15663 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15665 2012-01-24 Glenn Morris <rgm@gnu.org>
15667 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15669 2012-01-24 Julien Danjou <julien@danjou.info>
15671 * color.el (color-rgb-to-hsl): Fix value computing.
15672 (color-hue-to-rgb): New function.
15673 (color-hsl-to-rgb): New function.
15674 (color-clamp, color-saturate-hsl, color-saturate-name)
15675 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15676 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15678 2012-01-24 Glenn Morris <rgm@gnu.org>
15680 * vc/vc-rcs.el (vc-rcs-create-tag):
15681 * vc/vc-sccs.el (vc-sccs-create-tag):
15682 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15684 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15686 * eshell/esh-util.el (eshell-read-hosts-file):
15687 Skip comment lines. (Bug#10549)
15689 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15691 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15693 * subr.el (display-delayed-warnings): Doc fix.
15694 (collapse-delayed-warnings): New function to collapse identical
15696 (delayed-warnings-hook): Add it.
15698 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15700 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15702 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15703 (tramp-default-user-alist): Don't add "pscp".
15704 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15705 property "login-as", if set. (Bug#10530)
15707 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15709 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15710 "plink1" and "psftp". (Bug#10530)
15712 2012-01-21 Kenichi Handa <handa@m17n.org>
15714 * international/mule-cmds.el (prefer-coding-system): Show a
15715 warning message if the default value of file-name-coding-system
15718 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15720 * windmove.el (windmove-reference-loc):
15721 Fix windmove-reference-loc miscalculation.
15723 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15725 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15728 2012-01-21 Glenn Morris <rgm@gnu.org>
15730 * international/mule.el (auto-coding-alist): Add .tbz.
15732 * files.el (local-enable-local-variables): Doc fix.
15733 (inhibit-local-variables-regexps): Rename from
15734 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15735 Doc fix. Add some extensions from auto-coding-alist.
15736 (inhibit-local-variables-suffixes):
15737 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15738 (inhibit-local-variables-p):
15739 New function, extracted from set-auto-mode-1.
15740 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15741 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15742 (hack-local-variables): Doc fix. Make the mode-only case
15743 respect enable-local-variables and friends.
15744 Respect inhibit-local-variables-regexps for file-locals, but
15745 not for directory-locals.
15746 (set-visited-file-name):
15747 Take account of inhibit-local-variables-regexps.
15748 Whether it applies may change as the file name is changed.
15749 * jka-cmpr-hook.el (jka-compr-install):
15750 * jka-compr.el (jka-compr-uninstall):
15751 Update for inhibit-first-line-modes-suffixes name change.
15753 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15755 * help-macro.el (make-help-screen): Temporarily restore original
15756 binding for minor-mode-map-alist (Bug#10454).
15758 2012-01-19 Julien Danjou <julien@danjou.info>
15760 * color.el (color-name-to-rgb): Use the white color to find the max
15761 color component value and return correctly computed values.
15762 (color-name-to-rgb): Add missing float conversion for max value.
15764 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15766 * window.el (window--state-get-1, window-state-get): Do not use
15767 special state value for window-persistent-parameters.
15768 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15769 (window--state-put-2): Reset all window parameters to nil before
15770 assigning values of persistent parameters.
15772 2012-01-18 Alan Mackenzie <acm@muc.de>
15774 Eliminate sluggishness and hangs in fontification of "semicolon
15777 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15778 Change value 10000 -> 3000.
15779 (c-state-safe-place): Reformulate so it doesn't stack up an
15780 infinite number of wrong entries in c-state-nonlit-pos-cache.
15781 (c-determine-limit-get-base, c-determine-limit): New functions to
15782 determine backward search limits disregarding literals.
15783 (c-find-decl-spots): Amend commenting.
15784 (c-cheap-inside-bracelist-p): New function which detects "={".
15786 * progmodes/cc-fonts.el
15787 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15789 (c-font-lock-declarations): Fix an occurrence of point being
15790 undefined. Check additionally for point being in a bracelist or
15791 near a macro invocation without a semicolon so as to avoid a
15792 fruitless time consuming search for a declarator. Give a more
15793 precise search limit for declarators using the new
15796 2012-01-18 Glenn Morris <rgm@gnu.org>
15798 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15799 (set-auto-mode): Doc fixes.
15801 2012-01-17 Glenn Morris <rgm@gnu.org>
15803 * isearch.el (search-nonincremental-instead): Fix doc typo.
15805 * dired.el (dired-insert-directory): Handle newlines in directory name.
15806 (dired-build-subdir-alist): Unescape newlines in directory name.
15808 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15810 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15811 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15812 (tramp-action-terminal): Use it. (Bug#10530)
15814 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15816 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15818 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15820 * window.el (window-state-ignored-parameters): Remove variable.
15821 (window--state-get-1): Rename argument MARKERS to IGNORE.
15822 Handle persistent window parameters. Make copy of clone-of
15823 parameter only if requested. (Bug#10348)
15824 (window--state-put-2): Install a window parameter only if it has
15825 a non-nil value or an existing parameter shall be overwritten.
15827 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15829 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15831 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15833 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15834 don't pass the (nil) value of `upnode' to string-match.
15836 2012-01-14 Chong Yidong <cyd@gnu.org>
15838 * startup.el (command-line): Fix X resource class for cursorColor.
15839 Fix values recognized by the cursorBlink resource.
15841 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15843 * epg.el (epg--make-temp-file): Avoid permission race condition
15844 when running on old Emacs versions (bug#10403).
15846 2012-01-14 Glenn Morris <rgm@gnu.org>
15848 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15850 2012-01-13 Alan Mackenzie <acm@muc.de>
15852 Fix filling for when filladapt mode is enabled.
15854 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15855 c-mask-paragraph, pass in `fill-paragraph' rather than
15856 `fill-region-as-paragraph'. (This is a reversion of a previous
15858 * progmodes/cc-mode.el (c-basic-common-init):
15859 Make fill-paragraph-handle-comment buffer local and set it to nil.
15861 2012-01-13 Glenn Morris <rgm@gnu.org>
15863 * dired.el (dired-switches-escape-p): New function.
15864 (dired-insert-directory): Use dired-switches-escape-p.
15865 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15867 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15869 2012-01-12 Glenn Morris <rgm@gnu.org>
15871 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15872 changes in adaptive-fill-regexp. (Bug#10276)
15874 2012-01-11 Alan Mackenzie <acm@muc.de>
15876 Fix Emacs bug #10463 - put `widen's around the critical spots.
15878 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15879 widen around each invocation of c-state-pp-to-literal. Remove an
15880 unused let variable.
15882 2012-01-11 Glenn Morris <rgm@gnu.org>
15884 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15887 2012-01-10 Chong Yidong <cyd@gnu.org>
15889 * net/network-stream.el (network-stream-open-starttls):
15890 Avoid emitting a confusing error message when the server gives a bad
15891 response to the capability command.
15893 2012-01-10 Glenn Morris <rgm@gnu.org>
15895 * mail/unrmail.el (unrmail): Tweak previous change.
15897 2012-01-09 Chong Yidong <cyd@gnu.org>
15899 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15901 2012-01-08 Alan Mackenzie <acm@muc.de>
15903 Optimize font locking in long enum definitions.
15905 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15906 arm to a cond form to handle enums.
15907 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15908 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15910 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15912 * files.el (move-file-to-trash): Preserve default file modes on error.
15915 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15917 * faces.el (set-face-attribute): Clarify the meaning of the nil
15920 * subr.el (with-selected-frame): Mention that the selected frame
15921 is restored (bug#9980).
15923 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15926 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15927 (password-read): Don't autoload unused function.
15929 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15931 * progmodes/which-func.el (which-func-mode): Turn into a
15932 non-interactive function and mark as obsolete (bug#10428).
15934 2012-01-06 Chong Yidong <cyd@gnu.org>
15936 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15937 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15938 functions, along with 1 and -1.
15940 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15942 * time.el (display-time-load-average)
15943 (display-time-default-load-average): Doc fixes. See the thread
15945 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15948 2012-01-06 Glenn Morris <rgm@gnu.org>
15950 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15951 has no messages. (Bug#10377)
15953 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15954 than Info-edit. (Bug#10385)
15956 * time.el (display-time-load-average, display-time-next-load-average):
15959 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15960 local setting of buffer-read-only to the input buffer. (Bug#10419)
15962 * calendar/calendar.el (calendar-mode):
15963 Locally set scroll-margin to 0. (Bug#10379)
15965 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15967 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15969 2012-01-05 Glenn Morris <rgm@gnu.org>
15971 * eshell/em-unix.el (diff-no-select): Autoload it.
15972 (eshell/diff): Use diff-no-select. (Bug#10420)
15974 2012-01-05 Chong Yidong <cyd@gnu.org>
15976 * shell.el (shell-dynamic-complete-functions): Revert last change.
15977 (shell-command-completion-function): New function.
15978 (shell-completion-vars): Use it to implement
15979 shell-completion-execonly (Bug#10417).
15981 * custom.el (enable-theme): Don't set custom-safe-themes.
15983 * cus-theme.el (custom-theme-merge-theme):
15984 Ignore custom-enabled-themes and custom-safe-themes.
15986 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15988 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15989 first prompt in `sql-interacive-mode'.
15990 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15992 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15993 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15994 context of original buffer. Invoke `sql-login-hook'.
15996 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15998 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15999 letters in cite-prefix.
16001 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16003 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16005 2012-01-03 Chong Yidong <cyd@gnu.org>
16007 * shell.el (shell-dynamic-complete-functions):
16008 Put pcomplete-completions-at-point, so as to try
16009 comint-filename-completion first (Bug#10417).
16011 2012-01-02 Richard Stallman <rms@gnu.org>
16013 * battery.el (battery-status-function):
16014 Detect when to use battery-yeeloong-sysfs.
16015 (battery-echo-area-format): Add string for Yeeloong.
16016 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16017 (battery-yeeloong-sysfs): New function.
16019 2012-01-02 Chong Yidong <cyd@gnu.org>
16021 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16022 (dirtrack): Merge code for handling relative filenames in prompt
16023 from shell-dir-cookie-watcher.
16024 (dirtrack-debug-message): New arg to avoid excess format calls.
16026 * shell.el (shell-dir-cookie-re): Variable deleted.
16027 (shell-dir-cookie-watcher): Function deleted.
16028 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16029 with dirtrack-mode.
16031 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16033 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16034 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16037 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16039 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16041 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16043 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16044 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16046 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16048 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16049 also for alternative shells.
16050 (tramp-open-connection-setup-interactive-shell): Check, whether
16051 the shell is a busybox.
16052 (tramp-send-command): Don't suppress multiple prompts for
16053 busyboxes, it hurts.
16055 2011-12-28 Chong Yidong <cyd@gnu.org>
16057 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16058 (gdb-get-source-file): Move mode line update to
16059 gdb-get-source-file (Bug#10087).
16061 2011-12-25 Chong Yidong <cyd@gnu.org>
16063 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16064 gud-gdb-marker-filter without taking it as an argument.
16065 (gud-gdb-run-command-fetch-lines): Caller changed.
16066 (gud-gdb-completion-function): New variable.
16067 (gud-gdb-completion-at-point): Use it.
16068 (gud-gdb-completions-1): Split from gud-gdb-completions.
16070 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16071 function as separate arguments.
16072 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16073 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16074 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16075 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16076 (gdb-stopped, def-gdb-auto-update-trigger)
16077 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16078 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16080 (gud-gdbmi-completions): New function.
16081 (gdb): Use it for generating the completion table.
16083 2011-12-24 Alan Mackenzie <acm@muc.de>
16085 Introduce a mechanism to widen the region used in context font
16086 locking. Use this to protect declarations from losing their contexts.
16088 * progmodes/cc-langs.el (c-before-font-lock-functions):
16089 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16090 (c-before-context-fontification-functions): New defvar, a list of
16091 functions to be run just before context (etc.) font locking.
16093 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16094 New, functionality extracted from
16095 c-neutralize-syntax-in-and-mark-CPP.
16096 (c-in-after-change-fontification): New variable.
16097 (c-after-change): Set c-in-after-change-fontification.
16098 (c-set-fl-decl-start): Rejig its interface, so it can be called
16099 from both after-change and context fontifying.
16100 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16102 (c-standard-font-lock-fontify-region-function): New variable.
16103 (c-font-lock-fontify-region): New function.
16105 2011-12-24 Juri Linkov <juri@jurta.org>
16107 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16110 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16112 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16113 existence of source file. (Bug#10325)
16115 2011-12-23 Alan Mackenzie <acm@muc.de>
16117 Fix unstable fontification inside templates.
16119 * progmodes/cc-langs.el (c-before-font-lock-functions):
16120 Newly created from the singular version. The (c c++ objc) entry now
16121 additionally has c-set-fl-decl-start. The other languages (apart
16122 from AWK) have that as a single entry.
16124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16125 The functionality for "local" declarations has been extracted to
16126 c-set-fl-decl-start.
16128 * progmodes/cc-mode.el (c-common-init, c-after-change):
16129 Changes due to pluralisation of c-before-font-lock-functions.
16130 (c-set-fl-decl-start): New function, extracted from
16131 c-font-lock-enclosing-decls and enhanced.
16133 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16135 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16137 2011-12-22 Juri Linkov <juri@jurta.org>
16139 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16141 2011-12-22 Chong Yidong <cyd@gnu.org>
16143 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16145 2011-12-21 Drew Adams <drew.adams@oracle.com>
16147 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16149 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16151 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16153 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16155 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16156 highlighting and support. Fix up comments for capitalization.
16157 (cfengine-mode-debug): New var.
16158 (cfengine3-mode): Change the modeline indicator to "CFE3".
16159 (cfengine3-font-lock-keywords): Improve defun highlighting.
16160 (cfengine2-actions): Rename from `cfengine-actions'.
16161 (cfengine2-font-lock-keywords): Rename from
16162 `cfengine-font-lock-keywords'.
16163 (cfengine2-imenu-expression): Rename from
16164 `cfengine-imenu-expression'.
16165 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16166 (cfengine2-beginning-of-defun): Rename from
16167 `cfengine-beginning-of-defun'.
16168 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16169 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16170 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16171 modeline indicator to "CFE2".
16172 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16173 (cfengine-mode-abbrevs): Mark obsolete.
16175 2011-12-21 Chong Yidong <cyd@gnu.org>
16177 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16180 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16182 * window.el (window-normalize-buffer-to-display): Remove.
16183 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16185 2011-12-19 Chong Yidong <cyd@gnu.org>
16187 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16188 Don't signal an error in a predicate function; return non-nil.
16189 (vc-dir-mark-file): Move the error here.
16190 (vc-dir-mark-unmark): If acting on the region, keep going if one
16191 of the entries cannot be marked/unmarked.
16192 (vc-dir-mark-all-files): If current entry is a directory, mark
16193 only child files, as documented.
16195 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16197 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16198 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16201 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16203 * term/ns-win.el (ns-get-selection-internal)
16204 (ns-store-selection-internal): Declare.
16205 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16206 Declare as obsolete.
16207 (ns-get-pasteboard, ns-paste-secondary):
16208 Use ns-get-selection-internal.
16209 (ns-set-pasteboard, ns-copy-including-secondary):
16210 Use ns-store-selection-internal.
16212 2011-12-17 Chong Yidong <cyd@gnu.org>
16214 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16215 (vc-deduce-fileset): Doc fix.
16217 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16219 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16221 2011-12-13 Sam Steingold <sds@gnu.org>
16223 * man.el (Man-getpage-in-background): When running under a
16224 window-system, ignore $MANWIDTH and $COLUMNS.
16226 2011-12-15 Kenichi Handa <handa@m17n.org>
16228 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16229 (setup-ethiopic-environment-internal): Comment out key-binding for
16230 ethio-toggle-punctuation.
16232 2011-12-13 Alan Mackenzie <acm@muc.de>
16234 Add the switch statement to AWK Mode.
16236 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16237 "default" to the keywords regexp.
16239 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16240 expression as the rest.
16241 (c-nonlabel-token-key): Allow string literals for AWK.
16242 Refactor for the other modes.
16244 Large brace-block initialisation makes CC Mode slow: Fix.
16245 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16246 routines. Limit backward searching in c-font-lock-enclosing.decl.
16248 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16249 pp-state and literal type in addition to the limits.
16250 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16251 (c-state-literal-at): Use the above new defun.
16252 (c-slow-in-literal, c-fast-in-literal): Remove.
16253 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16255 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16256 being in a literal. Add a limit for backward searching.
16258 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16261 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16263 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16265 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16267 * window.el (delete-other-windows): Use correct frame in call to
16268 window-with-parameter.
16270 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16272 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16273 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16274 (makefile-gmake-statements, makefile-makepp-statements):
16275 Use it and add new makepp keywords.
16276 (makefile-makepp-font-lock-keywords): Add new patterns.
16277 (makefile-match-function-end): Match new [...] and [[...]].
16279 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16281 * ses.el (ses-call-printer-return, ses-cell-property-get)
16282 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16283 (ses-create-cell-variable, ses-reset-header-string)
16284 (ses-cell-set-formula, ses-repair-cell-reference-all)
16285 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16286 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16287 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16288 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16289 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16290 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16291 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16292 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16293 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16294 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16295 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16296 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16298 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16300 * ses.el: The overall change is to add cell renaming, that is
16301 setting fancy names for cell symbols other than name matching
16302 "\\`[A-Z]+[0-9]+\\'" regexp .
16303 (ses-create-cell-variable): New defun.
16304 (ses-relocate-formula): Relocate formulas only for cells the
16305 symbols of which are not renamed, i.e. symbols whose names do not
16306 match regexp "\\`[A-Z]+[0-9]+\\'".
16307 (ses-relocate-all): Relocate values only for cells the symbols of
16308 which are not renamed.
16309 (ses-load): Create cells variables as the (ses-cell ...) are read,
16310 in order to check row col consistency with cell symbol name only
16311 for cells that are not renamed.
16312 (ses-replace-name-in-formula): New defun.
16313 (ses-rename-cell): New defun.
16315 2011-12-11 Chong Yidong <cyd@gnu.org>
16317 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16318 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16320 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16322 * window.el (other-window): Fix docstring.
16324 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16326 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16327 `from' or `to' address before taking its substring.
16328 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16329 encoded name is chopped in the middle of the encoded string, and
16330 thus displayed encoded.
16332 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16334 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16336 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16338 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16339 to use texinfo-update-node and commands that call it if the
16340 Texinfo file uses @node lines without next/prev/up pointers.
16341 Correct outdated description about texinfo-master-menu.
16342 (texinfo-all-menus-update, texinfo-master-menu)
16343 (texinfo-update-node, texinfo-every-node-update)
16344 (texinfo-multiple-files-update): Doc fix. Warn against updating
16345 all the @node lines.
16346 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16347 argument is numeric. Explain better in the doc string what the
16348 function really does.
16349 (texinfo-insert-master-menu-list): Improve the error message
16350 displayed if there's no menu in the Top node.
16351 (Bug#2975) See also this thread:
16352 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16354 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16356 * speedbar.el (speedbar-supported-extension-expressions):
16357 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16359 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16361 * printing.el (pr-mode-alist):
16362 * simple.el (filter-buffer-substring-functions)
16363 (completion-list-insert-choice-function):
16364 * window.el (window-with-parameter, window-atom-root)
16365 (window-sides-slots, window-size-fixed, window-min-delta)
16366 (window-max-delta, window--resize-mini-window)
16367 (window--resize-child-windows-normal, window-tree)
16368 (delete-other-windows, quit-window, split-window)
16369 (display-buffer-record-window, special-display-buffer-names)
16370 (special-display-regexps, special-display-popup-frame)
16371 (same-window-p, split-window-sensibly)
16372 (display-buffer-overriding-action, display-buffer-alist)
16373 (display-buffer-base-action, display-buffer, switch-to-buffer)
16374 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16375 (fit-window-to-buffer, recenter-positions)
16376 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16377 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16378 and remove unneeded backslashes in docstrings.
16380 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16384 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16385 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16387 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16388 when reading the makefile (bug#10116).
16390 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16395 2011-12-06 Glenn Morris <rgm@gnu.org>
16397 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16399 2011-12-06 Chong Yidong <cyd@gnu.org>
16401 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16403 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16405 * textmodes/table.el (table-shorten-cell): Fix typo.
16407 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16409 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16411 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16413 * descr-text.el (describe-char): Fix display of strong
16414 right-to-left characters and directional embeddings and overrides.
16416 * simple.el (what-cursor-position): Fix display of codepoints of
16417 strong right-to-left characters.
16419 2011-12-05 Chong Yidong <cyd@gnu.org>
16421 * faces.el (read-color): Doc fix.
16423 2011-12-05 Glenn Morris <rgm@gnu.org>
16425 * align.el (align--set-marker): Add doc-string.
16426 Don't try to move something that is not a marker. (Bug#10216)
16428 2011-12-04 Glenn Morris <rgm@gnu.org>
16430 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16431 overly zealous deletion of trailing whitespace.
16433 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16435 * server.el (server-delete-client): On Windows, do not try to delete
16437 (server-process-filter): On Windows, treat requests for a tty frame as
16438 if they were for a GUI frame if the running server is in GUI mode.
16440 2011-12-03 Glenn Morris <rgm@gnu.org>
16442 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16444 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * electric.el: Streamline electric-indent's hook.
16447 (electric-indent-chars): Revert to simple list.
16448 (electric-indent-functions): New var.
16449 (electric-indent-post-self-insert-function): Use it.
16451 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16452 there's no inferior buffer (bug#10196).
16453 (prolog-consult-compile): Don't use toggle-read-only.
16455 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16457 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16458 interrupt. (Bug#10187)
16460 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16462 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16465 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16468 2011-12-02 Juri Linkov <juri@jurta.org>
16470 * info.el (Info-search): Display "end of manual" when Isearch
16471 reaches the end of single-file Info manual. (Bug#9918)
16473 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16475 * isearch.el (isearch-message-prefix): Run the input method part
16476 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16478 2011-12-02 Juri Linkov <juri@jurta.org>
16480 * isearch.el (isearch-occur): Use `word-search-regexp' for
16482 (isearch-search-and-update): Add condition for `isearch-word' and
16483 call `word-search-regexp'. (Bug#10145)
16485 2011-12-01 Glenn Morris <rgm@gnu.org>
16487 * eshell/em-hist.el (eshell-hist-initialize):
16488 Handle eshell-history-size nil and HISTSIZE set or unset.
16489 (eshell-history-file-name, eshell-history-size): Fix custom type.
16491 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16493 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16495 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16497 * progmodes/verilog-mode.el (verilog-pretty-expr):
16498 Rework verilog-pretty-expr to handle new assignment operators in system
16499 verilog, such as += *= and the like.
16500 (verilog-assignment-operator-re): Regular expression to find the
16501 assigment operator in a verilog assignment.
16502 (verilog-assignment-operation-re): Regular expression to find an
16503 assignment statement for pretty-expr.
16504 (verilog-in-attribute-p): Query returns true if point is in an
16505 attribute context; used to skip these for expression line up from
16507 (verilog-in-parameter-p): Query returns true if point is in an
16508 parameter definition context; used to skip these for expression
16509 line up from pretty-expr.
16510 (verilog-in-parenthesis-p): Query returns true if point is in a
16511 parenthetical expression, specifically ( ) but not [ ] or { };
16512 used by pretty-expr.
16513 (verilog-just-one-space): If there is no space, don't add one.
16514 (verilog-get-lineup-indent-2): Specifically skip just attribute
16515 contexts for expression lineup, rather than skipping all
16516 parenthetical expressions.
16517 (verilog-calculate-indent): Fix comment, and fix indent.
16518 (verilog-do-indent): Indent declarations in lists (suggested by
16520 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16522 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16525 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16527 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16528 parameters with embedded comments. Reported by Ray Stevens.
16529 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16530 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16531 Reported by Tim Holt.
16532 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16533 instantiated by upper module causing wrong expansion until AUTOed a
16534 second time. Reported by K C Buckenmaier.
16535 (verilog-diff-auto): Fix showing .* as a difference when
16536 `verilog-auto-star-save' off. Reported by Dan Dever.
16537 (verilog-auto-reset, verilog-read-always-signals)
16538 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16539 temporary signals in reset list if
16540 verilog-auto-reset-blocking-in-non is nil, and match assignment
16541 style to each signal's assignment type, bug381.
16542 Reported by Thomas Esposito.
16543 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16544 (verilog-uvm-statement-re): Support UVM indentation and
16545 highlighting, with old OVM keywords only.
16546 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16547 Support AUTOTIEOFF creating non-wire data types.
16548 Suggested by Jonathan Greenlaw.
16549 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16550 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16551 (verilog-inject-sense, verilog-read-inst-pins)
16552 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16553 Fix mismatching parenthesis inside commented out code when deleting
16554 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16555 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16556 non-numeric vector width. Reported by Alex Reed.
16557 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16558 detecting signals with parameter widths. Reported by Alex Reed.
16559 (verilog-auto-delete-trailing-whitespace):
16560 With `verilog-auto-delete-trailing-whitespace' remove trailing
16561 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16562 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16563 Fix verilog-scan-cache corruption when running user AUTO expansion
16564 hooks that call indentation routines.
16565 (verilog-simplify-range-expression): Fix typo ignoring lower case
16567 (verilog-delete-auto): Fix delete-autos to also remove user created
16568 automatics, as long as they start with AUTO.
16569 (verilog-batch-diff-auto, verilog-diff-auto)
16570 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16571 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16572 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16573 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16574 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16575 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16576 is disabled and its cache will get corrupt, causing AUTOS not to
16577 expand. Instead use only -quick functions.
16578 (verilog-scan-region): Fix scanning over escaped quotes.
16579 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16580 (verilog-re-search-backward-quick)
16581 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16582 related functions now ignore strings, to fix misparsing of strings
16583 with magic comments embedded in them.
16584 (verilog-read-auto-template):
16585 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16586 Reported by Brad Dobbie.
16587 (verilog-read-auto-template):
16588 Fix 'verilog-auto-inst-template-numbers' with comments.
16589 Reported by Brad Dobbie.
16590 (verilog-auto-inst, verilog-auto-inst-param)
16591 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16592 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16593 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16594 debugging templates without merge conflicts, bug357.
16595 Reported by Brad Dobbie.
16596 (verilog-read-auto-template):
16597 Fix verilog-auto-inst-template-numbers with multiple templates.
16598 Reported by Brad Dobbie.
16599 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16600 abbrevs so user won't be asked to save.
16601 (verilog-read-auto-lisp-present): Fix to start at beginning of
16602 buffer in case called outside of verilog-auto.
16603 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16604 to "X-2". Reported by Matthew Myers.
16605 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16606 all inputs from module templates. Reported by Leith Johnson.
16607 (verilog-module-inside-filename-p): Fix locating programs as with
16609 (verilog-auto-inst-port): Fix vl-width expressions when using
16610 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16611 (verilog-decls-get-regs, verilog-decls-get-signals,
16612 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16613 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16614 verilog-read-decls): Combine reg and wire structures into one var
16615 structure to represent SystemVerilog concepts.
16616 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16617 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16618 (verilog-auto-wire-type, verilog-insert-definition):
16619 Add verilog-auto-wire-type and AUTOLOGIC to support using
16620 SystemVerilog "logic" keyword instead of "wire"/"reg".
16621 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16622 to declares outputs that also have assignments (presumably in an
16623 ifdef or generate if so there's not a driver conflict).
16624 Reported by Matthew Myers.
16625 (verilog-auto-declare-nettype, verilog-insert-definition):
16626 Add verilog-auto-declare-nettype to fix declarations using
16627 `default_nettype none. Reported by Julian Gorfajn.
16628 (verilog-read-always-signals-recurse, verilog-read-decls)
16629 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16630 malformed end statement, bug325. Reported by Joshua Wise and
16632 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16633 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16634 when expanding .* in interfaces, bug320.
16635 Reported by Pierre-David Pfister.
16636 (verilog-read-module-name): Fix import statements between module
16637 name and open parenthesis, bug317.
16638 Reported by Pierre-David Pfister.
16639 (verilog-simplify-range-expression): Fix simplification of
16640 multiplications inside AUTOWIRE connections, bug303.
16641 (verilog-auto-inst-port): Support parameter expansion in
16642 multidimensional arrays.
16643 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16644 after "assert property". Reported by Julian Gorfajn.
16645 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16646 with multiplication, bug303.
16647 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16648 Reported by Jan Frode Lonnum.
16650 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16652 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16653 (hfy-shell-file-name, hfy-shell):
16654 * international/fontset.el (x-decompose-font-name): Fix typos.
16656 2011-11-29 Ken Brown <kbrown@cornell.edu>
16658 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16659 (gdb-version): Remove defvar.
16660 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16661 (gdb-gud-context-command, gdb-non-stop-handler)
16662 (gdb-current-context-command, gdb-stopped): Use it.
16663 (gdb-init-1): Enable pretty printing here.
16664 (gdb-non-stop-handler): Don't enable pretty-printing here.
16665 Check to see if the target supports non-stop mode; if not, turn off
16666 non-stop mode. Use the following.
16667 (gdb-check-target-async): New defun.
16668 (gud-watch, gdb-stopped): Fix whitespace.
16669 (gdb-get-source-file): Don't try to display the source file if
16670 `gdb-main-file' is nil.
16672 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16674 * align.el: Try to generate fewer markers (bug#10047).
16675 (align--set-marker): New macro.
16676 (align-region): Use it.
16678 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16680 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16682 2011-11-29 Chong Yidong <cyd@gnu.org>
16684 * indent.el (indent-for-tab-command, indent-according-to-mode):
16686 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16688 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16690 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16691 aware of remote file names. (Bug#10124)
16693 2011-11-29 Chong Yidong <cyd@gnu.org>
16695 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16697 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16699 * files.el (find-file): Don't use force-same-window (bug#10144).
16700 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16701 use pop-to-buffer if the selected window can't be used.
16702 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16704 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16706 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16709 2011-11-28 Chong Yidong <cyd@gnu.org>
16711 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16713 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16715 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16716 gdb-get-source-file-list on gdb-create-source-file-list.
16718 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16720 * whitespace.el (whitespace-newline): Use a different foreground
16721 color for 16-color light-background displays.
16723 2011-11-24 Chong Yidong <cyd@gnu.org>
16725 * window.el (display-buffer--special-action): Doc fix.
16727 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16729 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16730 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16731 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16732 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16733 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16734 (avl-tree-stack-first):
16735 * emacs-lisp/cconv.el (cconv--analyse-use):
16736 * net/gnutls.el (gnutls-negotiate): Fix typos.
16738 2011-11-24 Glenn Morris <rgm@gnu.org>
16740 * lpr.el (lpr-windows-system, lpr-lp-system):
16741 * mail/binhex.el (binhex-begin-line):
16742 * progmodes/grep.el (grep-history, grep-find-history):
16743 * textmodes/flyspell.el:
16744 * vc/pcvs-defs.el (cvs-global-menu):
16745 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16746 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16747 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16749 * net/tls.el: Fix case of "GnuTLS".
16751 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16753 * version.el (emacs-build-system): Give it a doc-string.
16755 2011-11-24 Juri Linkov <juri@jurta.org>
16757 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16759 2011-11-24 Glenn Morris <rgm@gnu.org>
16761 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16762 if called on a non-mime message just toggle the headers. (Bug#8006)
16764 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16766 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16767 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16768 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16769 (allout-rebullet-heading, allout-open-sibtopic)
16770 (allout-toggle-current-subtree-encryption)
16771 (allout-toggle-subtree-encryption, allout-encrypt-string)
16772 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16773 (allout-distinctive-bullets-string, allout-auto-activation):
16774 * window.el (window-normalize-buffer-to-display):
16775 * progmodes/verilog-mode.el (verilog-batch-indent):
16776 * textmodes/bibtex.el (bibtex-field-braces-opt)
16777 (bibtex-field-strings-opt):
16778 * vc/cvs-status.el (cvs-tree-merge):
16781 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16783 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16784 `non-essential' to t, in order to avoid remote connections.
16786 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16788 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16789 On MS-DOS and MS-Windows, compare with loaddefs.el
16790 case-insensitively.
16792 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16794 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16796 2011-11-23 Glenn Morris <rgm@gnu.org>
16798 * paths.el (rmail-file-name): Reformat the doc-string so that it
16801 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16802 (rmail-auto-file): Ignore case in the "special" field names,
16803 as mail-fetch-field does for all others.
16805 * mail/rmail.el (rmail-forward):
16806 * mail/rmailkwd.el (rmail-set-label):
16807 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16808 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16810 * mail/rmail.el (rmail-current-message): Doc fix.
16812 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16814 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16816 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16818 2011-11-22 Glenn Morris <rgm@gnu.org>
16820 * mail/rmailmm.el (test-rmail-mime-handler)
16821 (test-rmail-mime-bulk-handler)
16822 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16824 2011-11-21 Juri Linkov <juri@jurta.org>
16826 * calc/calc.el (calc-read-key-sequence):
16827 Let-bind `input-method-function' to nil. (Bug#10018)
16829 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16831 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16832 Tell the caller that the next line needs recomputation, even
16833 though it doesn't start a sexp (bug#10094).
16835 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16837 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16839 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16841 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16842 Use force-same-window.
16844 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16846 * descr-text.el (describe-char-unicode-data):
16847 * json.el (json-string-escape):
16848 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16849 (Footnote-unicode, Footnote-style-p):
16850 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16852 2011-11-20 Chong Yidong <cyd@gnu.org>
16854 * window.el (replace-buffer-in-windows): Restore interactive spec.
16856 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16858 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16860 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16861 (byte-compile-global-not-obsolete-vars): New var.
16862 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16864 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16866 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16868 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16869 * progmodes/pascal.el (electric-pascal-equal):
16870 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16871 * xml.el (xml-substitute-special): Fix typos.
16873 2011-11-20 Glenn Morris <rgm@gnu.org>
16875 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16876 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16878 (rmail-decode-mime-charset): Mark as obsolete.
16880 * mail/rmailsum.el (rmail-message-regexp-p-1):
16881 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16882 Before using mime functions, check they are set. (Bug#10077)
16884 2011-11-19 Juri Linkov <juri@jurta.org>
16886 * info.el (Info-finder-find-node): Use `package--builtins' instead
16887 of `package-alist'. Use node names formed by the pattern "Keyword "
16888 and the keyword name.
16890 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16892 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16894 2011-11-19 Juri Linkov <juri@jurta.org>
16896 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16897 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16898 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16899 `old-history', `old-history-forward'. Add let-binding
16900 `window-selected'. Remove calls to `kill-buffer',
16901 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16902 before calling `Info-find-node', so `Info-find-node-2' will reread
16903 the Info file. Restore window positions only when `window-selected'
16906 2011-11-19 Juri Linkov <juri@jurta.org>
16908 * isearch.el (isearch-lazy-highlight-new-loop):
16909 Remove condition `(not isearch-error)'. (Bug#9918)
16911 * misearch.el (multi-isearch-search-fun): Add condition
16912 `(not bound)' to ignore lazy-highlighting search.
16913 Add the search-failed message "end of multi" when the end of
16914 multi-sequence is reached. Uncapitalize the search-failed
16915 message "Repeat for next buffer".
16917 * info.el (Info-search): Add the search-failed message
16918 "end of the manual" when the end of the manual is reached
16921 2011-11-19 Juri Linkov <juri@jurta.org>
16923 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16924 Use non-destructive `remove' instead of `delete' because
16925 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16926 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16928 2011-11-19 Juri Linkov <juri@jurta.org>
16930 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16931 to nil instead of binding `search-ring' and `regexp-search-ring'.
16934 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16936 * simple.el (line-move): Force movement by logical lines for any
16937 hscrolled window, not only when auto-hscroll-mode is on.
16938 (line-move-visual): Update doc string to that effect. (Bug#10076)
16940 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16942 * language/european.el (macintosh): Define as alias for mac-roman.
16944 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16946 * mail/rmailmm.el (rmail-mime-display-header)
16947 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16948 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16949 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16950 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16951 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16953 (rmail-mime-entity-segment): To get past the tagline, move forward
16954 2 more lines, to account for the 2 empty lines that precede and
16955 follow the line with the buttons.
16956 (rmail-mime-update-tagline): Move one more line, to get past the
16957 empty line that follows the buttons in the tagline. (Bug#9520)
16959 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16961 * window.el (window-max-delta-1, window-min-delta-1)
16962 (window-min-size-1, window-state-get-1, window-state-put-1)
16963 (window-state-put-2): Use "window--" prefix.
16965 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16967 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16968 (smie-warning-count): New var.
16969 (smie-set-prec2tab): Use it.
16970 (smie-bnf->prec2): Improve warnings. Add docstring.
16971 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16972 (smie-bnf--set-class): New function.
16973 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16976 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16977 (compilation-error-properties, compilation-move-to-column):
16978 Handle compilation-first-column while in the target buffer.
16980 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16981 Don't hardcode point-min==1.
16983 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16984 (eshell-rewrite-for-command): Remove workaround.
16985 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16986 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16987 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16989 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16991 2011-11-17 Glenn Morris <rgm@gnu.org>
16993 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16994 Ignore buffer-local generated-autoload-file if it is the same
16995 as the global value. (Bug#10049)
16997 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16999 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17000 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17001 (reftex-toc-previous-heading, reftex-toc-max-level)
17002 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17003 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17004 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17005 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17006 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17007 (reftex-toc-rename-label, reftex-toc-visit-location)
17008 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17009 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17010 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17011 leaving "*toc*" only for references to the buffer.
17013 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17015 * window.el (window-resize, delete-window, split-window):
17016 Replace window-splits by window-combination-resize.
17017 * cus-start.el (window-splits): Replace by window-combination-resize.
17019 2011-11-17 Glenn Morris <rgm@gnu.org>
17021 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17022 Make bash entry derive from sh entry, not shell entry.
17024 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17026 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17029 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17031 * menu-bar.el (menu-bar-file-menu):
17032 * printing.el (pr-ps-utility):
17033 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17034 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17035 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17036 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17037 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17038 (icalendar--convert-cyclic-to-ical)
17039 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17040 (icalendar--convert-ical-to-diary)
17041 (icalendar--convert-recurring-to-diary)
17042 (icalendar--convert-non-recurring-all-day-to-diary)
17043 (icalendar-import-format-sample):
17044 * progmodes/idlw-shell.el (idlwave-shell-mode):
17045 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17046 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17047 (vhdl-ps-print-init): Fix typos.
17049 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17051 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17052 FSF and collapse date sequence, obscure author/maintainer email address
17053 better, remove extra version line, track relocation of author's webpage.
17055 * progmodes/python.el (python-pdbtrack-input-prompt)
17056 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17057 regular python pdb prompts. Adjustments shamelessly taken exactly as
17058 suggested in EmacsWiki page (tiny change):
17059 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17061 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17063 * expand.el (expand-pos, expand-index, expand-point):
17064 Remove redundant info from docstring.
17065 (expand-add-abbrevs): Doc fix.
17066 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17067 (expand-sample-perl-mode-expand-list): Fix typos.
17069 * net/dbus.el (dbus-event-member-name):
17070 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17071 * term/pc-win.el (msdos-create-frame-with-faces):
17072 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17074 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17076 * window.el (split-window, window-state-get-1)
17077 (window-state-put-1, window-state-put-2): Rename occurrences of
17078 window-nest to window-combination-limit.
17079 * cus-start.el (window-nest): Rename to window-combination-limit.
17081 2011-11-16 Chong Yidong <cyd@gnu.org>
17083 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17084 regexp (Bug#10033).
17086 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17088 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17089 `completing-read' will remove *Completions* and will preserve
17090 current-buffer for us.
17091 (tmm-add-prompt): Users of *Completions* will always (re)set its
17093 (tmm-old-comp-map): Remove.
17095 2011-11-16 Glenn Morris <rgm@gnu.org>
17097 * mail/rmailedit.el: Require rmailmm when compiling.
17098 (rmail-old-mime-state): New declaration.
17099 (rmail-edit-current-message): If editing a mime message,
17100 edit the "raw" message from the mbox buffer.
17101 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17103 2011-11-15 Glenn Morris <rgm@gnu.org>
17105 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17106 which wasn't being used. Add optional arg to force given state.
17107 (rmail-mime): Add optional arg to force given state.
17109 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17111 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17112 * frame.el (display-mm-dimensions-alist):
17113 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17114 (outline-move-subtree-down):
17115 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17116 (newsticker--treeview-do-get-node):
17117 * net/quickurl.el (quickurl-list-buffer-name):
17118 * progmodes/dcl-mode.el (dcl-mode):
17119 * progmodes/gdb-mi.el (gdb-mapcar*):
17120 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17122 2011-11-15 Glenn Morris <rgm@gnu.org>
17124 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17125 in a boolean sense, so just make it a boolean, and fix the doc.
17126 (rmail-show-mime-function, rmail-mime-feature)
17127 (rmail-require-mime-maybe): Doc fixes.
17128 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17130 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17132 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17134 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17135 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17136 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17137 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17139 2011-11-15 Glenn Morris <rgm@gnu.org>
17141 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17142 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17143 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17144 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17145 (rmail-mime, rmail-show-mime): Doc fixes.
17147 * term/ns-win.el (mode-line-frame-identification):
17148 Leave it alone. (Bug#10051)
17150 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17152 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17153 Handle empty buffers. (Bug#9978)
17155 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17157 * international/mule.el (define-charset):
17158 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17159 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17160 * progmodes/verilog-mode.el (verilog-backward-token):
17161 * textmodes/ispell.el (lookup-words):
17162 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17164 2011-11-14 Glenn Morris <rgm@gnu.org>
17166 * progmodes/executable.el
17167 (executable-make-buffer-file-executable-if-script-p):
17168 Handle file-modes returning nil.
17170 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17171 message - not necessary, and causes problems. (Bug#9831)
17173 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17175 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17177 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17178 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17179 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17181 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17183 * window.el (window-resize, delete-window): Use window-splits
17184 variable instead of function.
17185 (window-state-get-1, window-state-put-2, window-state-put):
17186 Don't deal with windows' splits status.
17188 2011-11-12 Glenn Morris <rgm@gnu.org>
17190 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17191 (apropos-documentation): Doc fixes.
17193 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17195 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17196 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17198 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * electric.el (electric-indent-post-self-insert-function): Make it
17201 possible for a char to only indent in some circumstances.
17202 (electric-indent-mode): Simplify.
17204 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17206 * window.el (windows-with-parameter): Remove unused function.
17207 (windows-at-side): Rename to window-at-side-list.
17208 (window-check, window-atom-check, window-atom-check-1)
17209 (window-side-check, window-size-ignore, window-size-fixed-1)
17210 (window-in-direction-2): Prefix with "window--".
17211 (window-tree-1): Rename to window--subtree, fix doc-string.
17213 2011-11-11 Glenn Morris <rgm@gnu.org>
17215 * subr.el (eval-after-load): If FILE is already loaded,
17216 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17218 2011-11-10 Glenn Morris <rgm@gnu.org>
17220 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17221 Call svn via vc-svn-command rather than vc-do-command.
17222 (vc-svn-command): Add --non-interactive. (Bug#9993)
17223 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17225 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17226 Add toggle-read-only. (Bug#7292)
17227 * files.el (toggle-read-only): Mention that it should only
17228 be used interactively. (Bug#10006)
17230 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17233 Adjust regexp for OCaml warnings.
17235 * electric.el (electric-pair-post-self-insert-function): Let user
17236 turn it off buffer-locally (bug#9932).
17238 * progmodes/python.el (python-beginning-of-statement):
17239 Rewrite (bug#2703).
17241 * progmodes/compile.el: Better handle TABs (bug#9749).
17242 (compilation-internal-error-properties)
17243 (compilation-next-error-function): Obey the target buffer's
17244 compilation-error-screen-columns.
17246 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17248 * progmodes/meta-mode.el: Remove obsolete comments.
17249 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17250 Fix typos in docstrings.
17252 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17254 * window.el (window-size-fixed-p): Rewrite doc-string.
17255 (window-resizable-p): Rename to window--resizable-p. Update callers.
17256 (window--resizable): New function. Make all callers of
17257 window-resizable call window--resizable instead.
17258 (window-resizable): Rewrite in terms of window--resizable.
17260 2011-11-08 Glenn Morris <rgm@gnu.org>
17262 * progmodes/delphi.el (delphi-mode-syntax-table):
17263 Let define-derived-mode define a proper syntax table. (Bug#9994)
17265 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17267 * window.el: Stay away from defsubst.
17268 (window-list-no-nils): Remove.
17269 (window-state-get-1, window-state-get): Use backquote instead.
17271 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17273 * emacs-lisp/find-func.el (find-function-read):
17274 Fix incorrect use of default argument in `completing-read'.
17276 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17278 * window.el (display-buffer-function, special-display-function):
17279 Mention display-buffer-record-window but do not mention
17280 help-setup parameter in doc-strings.
17281 (window-min-delta): Fix doc-string typo.
17283 2011-11-08 Chong Yidong <cyd@gnu.org>
17285 * window.el (window-total-height, window-total-width): Doc fix.
17286 (window-body-size): Move from C.
17287 (window-body-height, window-body-width): Move to C.
17289 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17291 * window.el: Make special-display like display-buffer-alist (bug#9532).
17292 (display-buffer--special-action): New function, morphed
17293 from display-buffer--special.
17294 (display-buffer): Use it to handle special-display-buffers at higher
17295 priority (just after display-buffer-alist).
17296 (display-buffer-fallback-action, display-buffer--other-frame-action)
17297 (pop-to-buffer-same-window): Remove display-buffer--special.
17299 2011-11-07 Glenn Morris <rgm@gnu.org>
17301 * calendar/cal-menu.el (cal-menu-set-date-title):
17302 Do nothing if not in a calendar. (Bug#9976)
17304 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17306 * files.el (find-file): Always use selected-window.
17308 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17310 * window.el (window-combinations): Make WINDOW argument
17311 mandatory. Rewrite doc-string.
17312 (walk-window-subtree, window-atom-check, window-min-delta)
17313 (window-max-delta, window--resize-this-window)
17314 (window--resize-root-window-vertically, window-tree)
17315 (balance-windows, window-state-put): Rewrite doc-strings as to
17316 not mention the term "subwindow".
17317 (window--resize-subwindows-skip-p): Rename to
17318 window--resize-child-windows-skip-p.
17319 (window--resize-subwindows-normal): Rename to
17320 window--resize-child-windows-normal.
17321 (window--resize-subwindows): Rename to
17322 window--resize-child-windows.
17323 (window-or-subwindow-p): Rename to window--in-subtree-p.
17325 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17327 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17328 Ensure that mbox format messages end in two newlines (Bug#9974).
17330 2011-11-06 Chong Yidong <cyd@gnu.org>
17332 * window.el (window-combination-p): Function deleted; its
17333 side-effect is not used in any existing code.
17334 (window-combinations, window-combined-p): Call window-*-child
17337 2011-11-05 Chong Yidong <cyd@gnu.org>
17339 * window.el (window-valid-p): Rename from window-any-p.
17340 (window-size-ignore, window-state-get): Callers changed.
17341 (window-normalize-window): Rename from window-normalize-any-window.
17342 New arg LIVE-ONLY, replacing window-normalize-live-window.
17343 (window-normalize-live-window): Delete.
17344 (window-combination-p, window-combined-p, window-combinations)
17345 (walk-window-subtree, window-atom-root, window-min-size)
17346 (window-sizable, window-sizable-p, window-size-fixed-p)
17347 (window-min-delta, window-max-delta, window-resizable)
17348 (window-resizable-p, window-full-height-p, window-full-width-p)
17349 (window-current-scroll-bars, window-point-1, set-window-point-1)
17350 (window-at-side-p, window-in-direction, window-resize)
17351 (adjust-window-trailing-edge, maximize-window, minimize-window)
17352 (window-deletable-p, delete-window, delete-other-windows)
17353 (record-window-buffer, unrecord-window-buffer)
17354 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17355 (quit-window, split-window, window-state-put)
17356 (set-window-text-height, fit-window-to-buffer)
17357 (shrink-window-if-larger-than-buffer): Callers changed.
17359 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17361 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17362 rfc2047-decode-string.
17363 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17366 * window.el (window-body-height, window-body-width): Mention in
17367 the doc string that the return values are in frame's canonical
17370 2011-11-03 Alan Mackenzie <acm@muc.de>
17372 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17373 change in cc-engine.el.
17375 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17377 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17379 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17381 * window.el (quit-window): Call unrecord-window-buffer after
17382 showing another buffer in the window. (Bug#9937)
17383 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17385 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17387 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17388 Accept status with more than 9 shelves. (Bug#9935)
17389 Reported by Colin D Bennett <colin@gibibit.com>.
17391 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17393 * help.el (with-help-window): Don't reference
17394 temp-buffer-show-specifiers in doc-string.
17396 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17398 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17401 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17403 * whitespace.el: New version 13.2.2.
17404 (whitespace-newline-mode): Disable properly. Reported by Sarah
17407 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17409 * net/newst-treeview.el: Remove "Time-stamp".
17410 (newsticker--group-manage-orphan-feeds): Do not call
17411 newsticker--treeview-tree-update.
17412 (newsticker-treeview-update, newsticker-treeview):
17413 Call newsticker--treeview-tree-update if necessary.
17415 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17417 * window.el (window-iso-combination-p, window-iso-combined-p)
17418 (window-iso-combinations): Remove "iso-" infix.
17419 Suggested by Chong Yidong.
17420 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17421 (window-max-delta-1, window-resize, window--resize-siblings)
17422 (window--resize-this-window, adjust-window-trailing-edge)
17423 (split-window, balance-windows-1)
17424 (shrink-window-if-larger-than-buffer):
17425 * calendar/calendar.el (calendar-generate-window):
17426 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17428 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17430 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17431 in place (bug#9907).
17432 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17433 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17434 (eshell-structure-basic-command, eshell-rewrite-while-command)
17435 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17436 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17437 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17438 (eshell-do-pipelines-synchronously, eshell-eval-command):
17439 Use backquotes and prefer setq to set.
17440 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17441 (eshell-macrop): Use functionp.
17442 (eshell-do-eval): Handle multiple expressions in `while' body.
17444 2011-10-30 Chong Yidong <cyd@gnu.org>
17446 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17447 instead of set-mark (Bug#9810).
17449 2011-10-30 Chong Yidong <cyd@gnu.org>
17451 * window.el (split-window-below, split-window-right): Rename from
17452 split-window-above-each-other and split-window-side-by-side
17453 respectively. All callers changed.
17454 (split-window-sensibly, split-window-sensibly): Use them.
17455 (split-window-keep-point): Doc fix.
17457 * isearch.el: Add isearch-scroll property to split-window-below
17458 and split-window-right.
17460 * follow.el (follow-mode):
17461 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17462 * progmodes/ada-xref.el (ada-gdb-application):
17463 * emulation/vip.el (vip-buffer-in-two-windows):
17464 * image-dired.el (image-dired-dired-with-window-configuration):
17465 * dired-x.el (dired-do-find-marked-files):
17466 * dired.el (dired-pop-to-buffer):
17467 * bs.el (bs--show-with-configuration):
17468 * vc/emerge.el (emerge-setup-windows):
17469 * textmodes/two-column.el (2C-two-columns):
17470 * textmodes/reftex-toc.el (reftex-toc):
17471 * progmodes/gdb-mi.el (gdb-setup-windows):
17472 * progmodes/fortran.el (fortran-window-create):
17473 * net/newst-treeview.el (newsticker--treeview-window-init):
17474 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17475 * emulation/tpu-edt.el (tpu-gold-map):
17476 * emulation/crisp.el (crisp-mode-map):
17477 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17479 2011-10-29 Chong Yidong <cyd@gnu.org>
17481 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17483 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17485 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17486 forged Ispell output (Bug#7904).
17488 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17490 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17492 * doc-view.el: Avoid ugly errors about not finding nil.
17493 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17494 (doc-view-dvipdf-program, doc-view-unoconv-program)
17495 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17496 Avoid nil or absolute file name as default value.
17497 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17499 2011-10-28 Alan Mackenzie <acm@muc.de>
17501 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17503 2011-10-28 Alan Mackenzie <acm@muc.de>
17505 Amend the handling of c-beginning/end-of-defun in nested declaration
17508 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17509 cc-langs.el. Change it to a defcustom.
17511 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17514 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17515 Prevent "class foo : bar" being spuriously recognized as a label.
17517 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17518 Add parameter `inclusive' (to include enclosing braces in the region).
17519 (c-widen-to-enclosing-decl-scope): New function.
17520 (c-while-widening-to-decl-block): New macro.
17521 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17522 outward for defun boundaries, and correspondingly change symbol
17523 `respect-enclosure' to `go-outward'.
17524 (c-declaration-limits): Change algorithm to report only the "innermost"
17525 defun's boundaries.
17527 2011-10-28 Deniz Dogan <deniz@dogan.se>
17529 * net/rcirc.el (rcirc-mode): Use hard newlines.
17531 2011-10-28 Alan Mackenzie <acm@muc.de>
17533 Amend to indent and fontify macros "which include their own semicolon"
17534 correctly, using the "virtual semicolon" mechanism.
17536 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17538 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17539 Recode to scan one line at a time rather than having \n and \r
17540 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17541 (c-forward-label): Amend for virtual semicolons.
17542 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17544 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17545 of the new C macros.
17547 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17548 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17549 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17550 (c-opt-cpp-macro-define): Make into a full language variable.
17551 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17552 AWK Mode (including \n, \r) removed, no longer needed.
17554 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17555 Invoke c-make-macro-with-semi-re.
17557 * progmodes/cc-vars.el (c-macro-with-semi-re):
17558 (c-macro-names-with-semicolon): New variables.
17559 (c-make-macro-with-semi-re): New function.
17561 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17563 * vc/log-edit.el: Fill empty field rather than adding new one.
17564 (log-edit-add-field): New function.
17565 (log-edit-insert-changelog): Use it.
17567 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17569 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17571 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17573 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17574 (gdb--check-interpreter): New function.
17577 2011-10-27 Glenn Morris <rgm@gnu.org>
17579 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17580 (least-positive-float, least-negative-float)
17581 (least-positive-normalized-float, least-negative-normalized-float)
17582 (float-epsilon, float-negative-epsilon):
17583 Remove unnecessary declarations.
17585 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17586 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17587 (least-positive-float, least-negative-float)
17588 (least-positive-normalized-float, least-negative-normalized-float)
17589 (float-epsilon, float-negative-epsilon): Add doc-strings,
17590 based on those in cl.texi.
17592 * files.el (set-visited-file-name): If the major-mode changed,
17593 reload the local variables. (Bug#9796)
17595 2011-10-27 Chong Yidong <cyd@gnu.org>
17597 * subr.el (change-major-mode-after-body-hook): New hook.
17598 (run-mode-hooks): Run it.
17600 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17601 Use change-major-mode-before-body-hook.
17603 * simple.el (fundamental-mode):
17604 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17605 change introducing fundamental-mode-hook.
17607 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17609 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17611 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17613 * ido.el (ido-file-name-all-completions-1): Do not require
17614 tramp.el explicitly. (Bug#7583)
17616 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * progmodes/octave-mod.el:
17619 * progmodes/octave-inf.el: Update maintainer.
17621 2011-10-26 Chong Yidong <cyd@gnu.org>
17623 * subr.el (with-wrapper-hook): Rewrite doc.
17625 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17627 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17628 filenames "/method:foo:". (Bug#9793)
17630 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17635 2011-10-24 Glenn Morris <rgm@gnu.org>
17637 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17639 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17641 * notifications.el: Add the requirement of a running D-Bus session
17642 bus to the Commentary.
17644 2011-10-24 Juri Linkov <juri@jurta.org>
17646 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17647 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17650 2011-10-24 Juri Linkov <juri@jurta.org>
17652 * info.el (Info-following-node-name-re): Add newline to the list
17653 of allowed characters for leading space. (Bug#9824)
17655 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17657 * progmodes/octave-inf.el (inferior-octave-mode-map):
17658 Fix C-c C-h binding.
17659 * progmodes/octave-mod.el (octave-help): Remove.
17661 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17663 Sync with Tramp 2.2.3.
17665 * net/tramp-cache.el (top): Pacify byte-compiler using
17666 `init-file-user' and `site-run-file'.
17668 * net/trampver.el: Update release number.
17670 2011-10-23 Chong Yidong <cyd@gnu.org>
17672 * files.el (toggle-read-only): Remove obsolete comment about
17675 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17676 for toggle-read-only. Note that this hasn't called vc-next-action
17677 since 2008-05-02, though it wasn't documented at the time.
17679 * vc/ediff-init.el (ediff-toggle-read-only-function):
17680 Use toggle-read-only.
17682 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17684 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17687 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17688 correct faulty logical expression.
17689 (c-parse-state-state, c-record-parse-state-state):
17690 (c-replay-parse-state-state): New defvar/defuns.
17691 (c-debug-parse-state): Use new functions.
17693 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17695 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17696 last fix. Use window-in-direction correctly.
17698 2011-10-21 Chong Yidong <cyd@gnu.org>
17700 * progmodes/idlwave.el (idlwave-mode):
17701 * progmodes/vera-mode.el (vera-mode): No need to set
17702 require-final-newline; that's done in prog-mode.
17703 Suggested by Stefan Monnier.
17705 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17707 * mouse.el (mouse-drag-window-above)
17708 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17709 (mouse-drag-mode-line-1, mouse-drag-header-line)
17710 (mouse-drag-vertical-line-rightward-window): Remove.
17711 (mouse-drag-line): New function.
17712 (mouse-drag-mode-line, mouse-drag-header-line)
17713 (mouse-drag-vertical-line): Call mouse-drag-line.
17714 * window.el (window-at-side-p, windows-at-side): New functions.
17716 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17718 * tar-mode.el (tar-grind-file-mode):
17719 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17721 2011-10-21 Chong Yidong <cyd@gnu.org>
17723 * progmodes/idlwave.el (idlwave-mode):
17724 * progmodes/vera-mode.el (vera-mode):
17725 Use mode-require-final-newline.
17727 2011-10-20 Glenn Morris <rgm@gnu.org>
17729 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17731 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17733 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17735 2011-10-20 Chong Yidong <cyd@gnu.org>
17737 * emulation/cua-base.el (cua-mode):
17738 * mail/footnote.el (footnote-mode):
17739 * mail/mailabbrev.el (mail-abbrevs-mode):
17740 * net/xesam.el (xesam-minor-mode):
17741 * progmodes/bug-reference.el (bug-reference-mode):
17742 * progmodes/cap-words.el (capitalized-words-mode):
17743 * progmodes/compile.el (compilation-minor-mode)
17744 (compilation-shell-minor-mode):
17745 * progmodes/gud.el (gud-tooltip-mode):
17746 * progmodes/hideif.el (hide-ifdef-mode):
17747 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17748 * progmodes/subword.el (subword-mode):
17749 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17750 * progmodes/which-func.el (which-function-mode):
17751 * term/tvi970.el (tvi970-set-keypad-mode):
17752 * term/vt100.el (vt100-wide-mode):
17753 * textmodes/flyspell.el (flyspell-mode):
17754 * textmodes/ispell.el (ispell-minor-mode):
17755 * textmodes/nroff-mode.el (nroff-electric-mode):
17756 * textmodes/paragraphs.el (use-hard-newlines):
17757 * textmodes/refill.el (refill-mode):
17758 * textmodes/reftex.el (reftex-mode):
17759 * textmodes/rst.el (rst-minor-mode):
17760 * textmodes/sgml-mode.el (html-autoview-mode)
17761 (sgml-electric-tag-pair-mode):
17762 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17763 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17764 * emulation/crisp.el (crisp-mode):
17765 * emacs-lisp/eldoc.el (eldoc-mode):
17766 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17767 minor mode behavior.
17769 2011-10-19 Juri Linkov <juri@jurta.org>
17771 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17772 the list of hard-coded chars with escape-glyph face.
17774 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17776 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17778 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17780 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17783 2011-10-19 Glenn Morris <rgm@gnu.org>
17785 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17786 Ignore ignored files. (Bug#9726)
17788 2011-10-19 Chong Yidong <cyd@gnu.org>
17790 Doc fix for minor modes, stating that an omitted argument enables
17791 the mode unconditionally when called from Lisp.
17793 * abbrev.el (abbrev-mode):
17794 * allout.el (allout-mode):
17795 * autoinsert.el (auto-insert-mode):
17796 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17797 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17798 (global-auto-revert-mode):
17799 * battery.el (display-battery-mode):
17800 * composite.el (global-auto-composition-mode)
17801 (auto-composition-mode):
17802 * delsel.el (delete-selection-mode):
17803 * desktop.el (desktop-save-mode):
17804 * dired-x.el (dired-omit-mode):
17805 * dirtrack.el (dirtrack-mode):
17806 * doc-view.el (doc-view-minor-mode):
17807 * double.el (double-mode):
17808 * electric.el (electric-indent-mode, electric-pair-mode):
17809 * emacs-lock.el (emacs-lock-mode):
17810 * epa-hook.el (auto-encryption-mode):
17811 * follow.el (follow-mode):
17812 * font-core.el (font-lock-mode):
17813 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17814 * help.el (temp-buffer-resize-mode):
17815 * hilit-chg.el (highlight-changes-mode)
17816 (highlight-changes-visible-mode):
17817 * hi-lock.el (hi-lock-mode):
17818 * hl-line.el (hl-line-mode, global-hl-line-mode):
17819 * icomplete.el (icomplete-mode):
17820 * ido.el (ido-everywhere):
17821 * image-file.el (auto-image-file-mode):
17822 * image-mode.el (image-minor-mode):
17823 * iswitchb.el (iswitchb-mode):
17824 * jka-cmpr-hook.el (auto-compression-mode):
17825 * linum.el (linum-mode):
17826 * longlines.el (longlines-mode):
17827 * master.el (master-mode):
17828 * mb-depth.el (minibuffer-depth-indicate-mode):
17829 * menu-bar.el (menu-bar-mode):
17830 * minibuf-eldef.el (minibuffer-electric-default-mode):
17831 * mouse-sel.el (mouse-sel-mode):
17832 * msb.el (msb-mode):
17833 * mwheel.el (mouse-wheel-mode):
17834 * outline.el (outline-minor-mode):
17835 * paren.el (show-paren-mode):
17836 * recentf.el (recentf-mode):
17837 * reveal.el (reveal-mode, global-reveal-mode):
17838 * rfn-eshadow.el (file-name-shadow-mode):
17839 * ruler-mode.el (ruler-mode):
17840 * savehist.el (savehist-mode):
17841 * scroll-all.el (scroll-all-mode):
17842 * scroll-bar.el (scroll-bar-mode):
17843 * server.el (server-mode):
17844 * shell.el (shell-dirtrack-mode):
17845 * simple.el (auto-fill-mode, transient-mark-mode)
17846 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17847 (line-number-mode, column-number-mode, size-indication-mode)
17848 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17849 * strokes.el (strokes-mode):
17850 * time.el (display-time-mode):
17851 * t-mouse.el (gpm-mouse-mode):
17852 * tool-bar.el (tool-bar-mode):
17853 * tooltip.el (tooltip-mode):
17854 * type-break.el (type-break-mode-line-message-mode)
17855 (type-break-query-mode):
17856 * view.el (view-mode):
17857 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17858 (global-whitespace-mode, global-whitespace-newline-mode):
17859 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17861 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17862 Fix autogenerated docstring.
17864 2011-10-19 Juri Linkov <juri@jurta.org>
17866 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17867 by checking environment variables "DESKTOP_SESSION" and
17868 "XDG_CURRENT_DESKTOP". (Bug#9779)
17870 2011-10-19 Juri Linkov <juri@jurta.org>
17872 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17873 (browse-url-chromium-program, browse-url-chromium-arguments):
17875 (browse-url-default-browser): Check for `browse-url-chromium' and
17876 call `browse-url-chromium-program'.
17877 (browse-url-chromium): New command. (Bug#9779)
17879 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17881 * facemenu.el (list-colors-duplicates): On Windows, detect more
17882 duplicates by assuming that only colors matching "^System" are
17883 special "system colors". (Bug#9722)
17885 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17887 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17888 to distinguish the author from the committer.
17890 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17892 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17894 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17896 * international/mule.el (sgml-html-meta-auto-coding-function):
17897 Add support for detecting encoding in HTML5 specified only as
17898 <meta charset="UTF-8">. Implementation just makes http-equiv and
17899 content-type parts from HTML4 encoding string optional. (Bug#9716)
17901 2011-10-18 Glenn Morris <rgm@gnu.org>
17903 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17905 2011-10-18 Chong Yidong <cyd@gnu.org>
17907 * faces.el (cursor): Doc fix.
17909 2011-10-17 Chong Yidong <cyd@gnu.org>
17911 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17913 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17915 * dirtrack.el (dirtrack): Support shell buffers with path
17916 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17918 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17920 * json.el: Bump version to 1.3 and note change in History.
17921 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17923 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17925 * comint.el (comint-insert-input, comint-send-input)
17926 (comint-get-old-input-default, comint-backward-matching-input)
17927 (comint-next-prompt): Use nil instead of `input' for field property of
17928 past user input (bug#114).
17930 * minibuffer.el (completion--replace): Inherit surrounding properties
17932 (minibuffer-complete-and-exit): Use it.
17934 * comint.el (comint--table-subvert): Quote the all-completions output
17937 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17939 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17941 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17942 window on right of selected. (Bug#9350) Reword other window
17943 entries and separate them from frame entries.
17945 2011-10-15 Glenn Morris <rgm@gnu.org>
17947 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17950 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17952 * net/network-stream.el (network-stream-open-starttls):
17953 Improve detection of failure due to lack of TLS support.
17955 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17956 putting the input text in front and in bold.
17958 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17960 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17962 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17965 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17966 unread-command-events rather than pushing yet-another event.
17968 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17970 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17971 the explanation of the possible choices. Make the options passed
17972 to completing-read shorter.
17974 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17976 * textmodes/flyspell.el (flyspell-large-region): Make sure
17977 extended character mode is used if defined (Bug#1339).
17979 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17981 * simple.el (what-cursor-position): Fix the display of the
17982 character info for LRE, LRO, RLE, and RLO characters by appending
17985 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17987 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17988 even in case of error; add debug spec; simplify data flow.
17989 (with-timeout-handler): Remove.
17991 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17993 Fix Bug#6019, Bug#9315.
17995 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17996 complete `buffer-file-name', the local file name part could look
17997 remotely (for example on VMS).
17999 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18000 `tramp-run-real-handler'.
18001 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18002 already quoted by '"'.
18004 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18005 Let `file-name-handler-alist' be nil, the local file name part
18006 could look remotely (for example on VMS).
18008 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18012 (flyspell-post-command-hook): ...to here.
18014 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18016 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18018 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18019 using completion. Protect against "slow" callers.
18020 Remove the "message hack".
18022 2011-10-11 Juri Linkov <juri@jurta.org>
18024 * isearch.el (isearch-lazy-highlight-word): New variable.
18025 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18028 2011-10-11 Glenn Morris <rgm@gnu.org>
18030 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18031 like f90-previous-statement does.
18033 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18035 * eshell/eshell.el (eshell-command): History should be saved
18036 only in interactive use, to avoid error.
18038 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18040 * minibuffer.el (completion-file-name-table): Fix last change,
18041 i.e. ignore normal errors but not the other ones.
18043 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18045 * window.el (special-display-buffer-names)
18046 (special-display-regexps): Remove some remnants of earlier
18047 changes from doc-strings.
18048 (quit-windows-on): New function.
18050 * vc/vc.el (vc-revert, vc-rollback):
18051 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18052 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18053 (Bug#6183) (Bug#7074) (Bug#7447)
18055 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18057 * window.el (frame-auto-hide-function): Add version tag.
18060 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18062 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18065 2011-10-09 Leo Liu <sdl.web@gmail.com>
18067 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18070 2011-10-08 Glenn Morris <rgm@gnu.org>
18072 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18073 before the first code statement zero indent. (Bug#9690)
18075 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18077 * simple.el (count-words-region): Always count in the region.
18078 Report the number of lines and characters too.
18079 (count-words): New command, which counts in the buffer if the
18080 region is inactive, as count-words-region used to.
18081 (count-words--message): New function. Handle plurals.
18082 (count-lines-region): Make it an alias for count-words-region.
18084 * bindings.el (esc-map): Replace count-lines-region with
18085 count-words-region.
18087 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18089 * window.el (window--delete): Delete dedicated frame
18090 unconditionally when argument KILL is non-nil. (Bug#9699)
18091 (switch-to-buffer): Fix doc-string typo.
18093 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18095 * eshell/eshell.el (eshell-command): Avoid using hooks.
18097 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18099 * bindings.el ([M-left],[M-right]): Bind to left-word and
18100 right-word respectively.
18102 2011-10-07 Glenn Morris <rgm@gnu.org>
18104 * cus-start.el (debug-on-quit): Fix custom type.
18106 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18108 * subr.el (define-key-after): Clarify that the function is not
18109 useful for non-menu keymaps.
18111 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18113 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18115 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18116 in current minibuffer (Fix bug with recursive minibuffers).
18118 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18120 * progmodes/gdb-mi.el (gdb): Doc fix.
18122 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18124 * window.el (frame-auto-hide-function): New option replacing
18125 frame-auto-delete. Suggested by Stefan Monnier.
18126 (window--delete): Call frame-auto-hide-function instead of
18127 investigating frame-auto-delete.
18128 (window-point-1, set-window-point-1): New functions.
18129 (window-in-direction, record-window-buffer, window-state-get-1)
18130 (display-buffer-record-window): Use window-point-1 instead of
18132 (set-window-buffer-start-and-point): Use set-window-point-1.
18134 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18136 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18138 2011-10-05 Glenn Morris <rgm@gnu.org>
18140 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18141 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18143 2011-10-05 Leo Liu <sdl.web@gmail.com>
18145 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18146 works with buffer object.
18148 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18150 * mpc.el (mpc-tool-bar-map): Add labels.
18152 2011-10-04 Glenn Morris <rgm@gnu.org>
18154 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18156 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18158 * window.el (window--delete): New function.
18159 (frame-auto-delete): Resuscitate option.
18160 (bury-buffer, replace-buffer-in-windows)
18161 (quit-window): Rewrite using window--delete.
18162 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18163 Pass display-buffer-mark-dedicated to window--display-buffer-2
18166 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18168 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18169 returns a list (bug#9554). Add remote file name completion.
18170 * comint.el (comint--table-subvert): Curry and get quote&unquote
18171 functions as arguments.
18172 (comint--complete-file-name-data): Adjust call accordingly.
18173 * pcomplete.el (pcomplete--table-subvert): Remove.
18174 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18176 * minibuffer.el (completion-table-case-fold): Use currying.
18177 (completion--styles-type, completion--cycling-threshold-type):
18179 (completion-styles, completion-category-overrides)
18180 (completion-cycle-threshold): Use them.
18181 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18182 completion-table-case-fold.
18184 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18186 * minibuffer.el (completion-category-overrides): Fix type of styles
18187 and add more user friendly tags (bug#9660).
18189 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18191 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18192 (mule-input-method-string): New widget.
18193 (default-input-method, language-info-custom-alist): Use it.
18195 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18197 * pcomplete.el: Require comint.
18198 (pcomplete--common-suffix): Remove.
18199 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18200 (pcomplete--table-subvert): Sync with comint--table-subvert.
18201 (pcomplete--entries): Use comint-completion-file-name-table.
18202 * comint.el (comint-unquote-filename): Simplify.
18203 (comint-completion-file-name-table): New function (bug#9616).
18204 (comint--complete-file-name-data): Use it.
18206 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18207 (pcmpl-gnu-tar-buffer): Remove.
18208 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18209 around. Make sure pcomplete-suffix-list is only changed temporarily.
18210 Don't look inside the tar's file if it's too large.
18212 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18214 * cus-edit.el (custom-mode-map):
18215 * epa.el (epa-key-list-mode-map):
18216 * man.el (Man-mode-map):
18217 * startup.el (splash-screen-keymap):
18218 * simple.el (special-mode-map): Use scroll-up-command and
18219 scroll-down-command.
18221 * progmodes/idlw-help.el (idlwave-help-mode-map):
18222 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18223 * net/newst-plainview.el (newsticker-mode-map):
18224 * emulation/ws-mode.el (wordstar-mode-map):
18225 * emulation/vi.el (vi-com-map):
18226 * calc/calc-graph.el (calc-graph-show-dumb):
18227 * term/sun.el (terminal-init-sun):
18228 * term/ns-win.el (global-map):
18229 * progmodes/grep.el (grep-mode-map):
18230 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18231 * mail/rmail.el (rmail-mode-map):
18232 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18234 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18235 custom-safe-themes as special.
18237 2011-10-01 Julien Danjou <julien@danjou.info>
18239 * notifications.el (notifications-notify): Fix docstring.
18241 2011-10-01 Per Starbäck <per@starback.se>
18243 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18245 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18247 * startup.el (command-line-1): Fix last fix by inserting
18248 initial-scratch-message into *scratch* before displaying it.
18249 (Bug#9605) and (Bug#9636)
18251 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18253 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18254 window is hscrolled, move by logical lines. (Bug#9607)
18255 (line-move-visual): Update the doc string to the above effect.
18257 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18259 * window.el (display-buffer-record-window): When WINDOW is the
18260 selected window use `point' instead of `window-point'. (Bug#9626)
18262 * startup.el (command-line-1): Use insert-before-markers when
18263 inserting initial-scratch-message. (Bug#9605)
18265 * help.el (help-window): Remove variable.
18267 2011-09-29 Glenn Morris <rgm@gnu.org>
18269 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18271 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18273 * descr-text.el (describe-char-categories): Accept category
18274 descriptions more than one line long.
18276 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18278 * simple.el (delete-trailing-whitespace): Fix last change.
18280 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18281 Don't confuse "y => 3" as the beginning of a `y' operation.
18283 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18284 object has more than 4 slots (bug#9613).
18286 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18288 * subr.el (with-output-to-temp-buffer):
18289 * net/quickurl.el (quickurl, quickurl-browse-url):
18290 Fix typos in docstrings.
18292 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18294 * minibuffer.el (completion-styles)
18295 (completion-category-overrides): Cross reference each other in doc
18298 2011-09-27 Glenn Morris <rgm@gnu.org>
18300 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18301 to split-string. (Bug#9606)
18303 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18305 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18308 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18310 * emacs-lisp/package.el (list-packages): Fix echo area message.
18312 2011-09-27 Leo Liu <sdl.web@gmail.com>
18314 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18316 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18318 * net/dbus.el (dbus-unregister-object): Don't release services for
18319 registered signals. (Bug#9581)
18321 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18323 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18324 function that picks between cfengine 2 and 3 support
18325 automatically. Update docs accordingly.
18327 2011-09-22 Kenichi Handa <handa@m17n.org>
18329 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18331 (indian-itrans-v5-table-for-tamil): New variable.
18332 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18334 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18336 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18337 that's true if the current command involved collapsing of text.
18338 It's reset to false at the beginning of the next command.
18339 (allout-post-command-business): Move the cursor to the beginning
18340 of entry if the cursor is hidden and collapsing activity just
18343 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18345 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18346 tracking (Bug#9541).
18348 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18350 * net/newst-reader.el (newsticker-html-renderer)
18351 (newsticker-show-news): Automatically load html rendering package
18352 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18353 because w3m-fill-column is let-bound" and the error "Symbol's value
18354 as variable is void: w3m-fill-column".
18356 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18358 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18359 Release services only if they are defined. (Bug#9581)
18361 2011-09-23 Richard Stallman <rms@gnu.org>
18363 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18364 distinguish start of paragraph from start of its text.
18366 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18368 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18369 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18370 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18372 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18374 * international/mule-diag.el (mule-diag): Insert a newline after
18375 each fontset description.
18377 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18379 * simple.el (delete-trailing-whitespace):
18380 Document last change; simplify.
18382 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18384 * simple.el (delete-trailing-whitespace): Also delete
18385 extra newlines at the end of the buffer.
18387 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18388 (picture-newline): Use forward-line so as to ignore fields.
18390 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18392 * subr.el (with-wrapper-hook): Fix edebug spec.
18394 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18396 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18399 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18401 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18402 Fix nasty bug using wrong cached values.
18404 2011-09-23 Alan Mackenzie <acm@muc.de>
18406 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18408 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18410 * window.el (pop-to-buffer): Ensure right window is selected if we
18411 chose another frame.
18413 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18415 * simple.el (what-cursor-position): Use get-char-property-change
18416 and next-single-char-property-change, to be able to show display
18417 properties that come from overlays as well as text properties.
18419 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18421 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18423 * cmuscheme.el (run-scheme, switch-to-scheme):
18424 * cus-edit.el (customize-group, custom-buffer-create)
18425 (customize-browse):
18427 * shell.el (shell):
18428 * mail/sendmail.el (mail):
18429 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18431 2011-09-22 Richard Stallman <rms@gnu.org>
18433 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18434 move back only to line beg, don't move back over blank lines.
18436 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18438 * files.el (copy-directory): Set directory attributes only in case
18439 they could be retrieved from the source directory. (Bug#9565)
18441 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18443 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18444 (hs-find-block-beginning, hs-hide-level-recursive):
18445 Ignore strings as well as comments. (Bug#9502)
18447 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18449 * progmodes/sql.el (sql-comint-postgres):
18450 Convert port number to a string. (Bug#9566)
18452 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18454 * window.el (quit-window): Undedicate window when switching to
18455 previous buffer. Reported by Thierry Volpiatto
18456 <thierry.volpiatto@gmail.com>.
18457 (special-display-popup-frame): When popping up a new frame reset
18458 its previous buffers to nil. Simplify code.
18460 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18462 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18463 and process filter, as done also in `shell-command'.
18465 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18467 * window.el (set-window-buffer-start-and-point):
18468 Call set-window-start with NOFORCE argument t.
18469 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18470 (quit-window): Reword doc-string. Handle new format of
18471 quit-restore parameter. Don't delete window if it has a
18472 previous buffer we can show instead of the present one.
18473 (display-buffer-record-window): Rewrite using a new format for
18474 the quit-restore window parameter
18475 (special-display-popup-frame, display-buffer-same-window)
18476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18477 (display-buffer-pop-up-window, display-buffer-use-some-window):
18478 Adapt symbol passed to display-buffer-record-window.
18479 * help.el (help-window-setup): Handle new format of quit-restore
18482 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18484 * faces.el (face-list): Fix docstring (bug#9564).
18486 * window.el (display-buffer--action-function-custom-type):
18487 Don't include internal functions in the Custom interface.
18489 2011-09-20 Juri Linkov <juri@jurta.org>
18491 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18492 (Info-forward-node, Info-backward-node, Info-next-preorder)
18493 (Info-last-preorder): Use it. (Bug#9528)
18495 2011-09-20 Juri Linkov <juri@jurta.org>
18497 * info.el (Info-last-preorder): Visit last menu item only when
18498 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18500 2011-09-20 Julien Danjou <julien@danjou.info>
18502 * password-cache.el (password-cache-remove): Remove entries even if the
18503 value is nil, so that password with a nil value (negative caching) is
18504 possible to invalidate.
18506 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18508 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18509 all whitespace around breakpoint. (Bug#9553)
18510 (f90-find-breakpoint): Only break at whitespace inside a comment.
18512 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18514 * minibuffer.el (completion-file-name-table): Keep track of errors.
18515 (completion-table-with-predicate): Handle the case where pred1 is nil.
18516 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18518 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18520 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18521 (debugger-return-value): Signal an error if the debugging context does
18522 not await any return value.
18524 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18525 * image-mode.el (image-toggle-display-text)
18526 (image-toggle-display-image): Stay away from evil `intangible'.
18528 2011-09-19 Leo Liu <sdl.web@gmail.com>
18530 * replace.el (occur-revert-arguments): Make it permanent-local.
18531 (occur-mode): Don't call font-lock-defontify.
18533 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18535 * net/ldap.el (ldap-search-internal): Don't push empty search
18538 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18540 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18542 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18544 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18545 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18547 2011-09-18 Juri Linkov <juri@jurta.org>
18549 * buff-menu.el (Buffer-menu-mode-map):
18550 * dired.el (dired-mode-map):
18551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18552 (lisp-interaction-mode-map):
18553 * emacs-lisp/package.el (package-menu-mode-map):
18554 * epa.el (epa-key-list-mode-map):
18555 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18556 (menu-bar-options-menu):
18557 * outline.el (outline-mode-menu-bar-map):
18558 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18559 * vc/vc-dir.el (vc-dir-menu-map):
18560 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18561 Capitalize non-function content words in menu item strings.
18563 * dired.el (dired-mode-map): Add menu item for
18564 `image-dired-dired-toggle-marked-thumbs'.
18566 2011-09-18 Juri Linkov <juri@jurta.org>
18568 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18569 to `isearch-case-fold-search' and restore its original value
18570 after the `isearch-mode' call.
18572 2011-09-18 Juri Linkov <juri@jurta.org>
18574 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18575 because `zgrep' returns 1 for successful matches (bug#9226).
18577 2011-09-18 Juri Linkov <juri@jurta.org>
18579 * info.el (Info-extract-menu-node-name): Check the second match
18580 for empty string (second test-case of bug#9528).
18581 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18582 intermediate nodes to the history (first test-case of bug#9528).
18584 2011-09-18 Juri Linkov <juri@jurta.org>
18586 * info.el (Info-mode-syntax-table): New variable.
18587 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18589 2011-09-18 Juri Linkov <juri@jurta.org>
18591 * info.el (Info-file-supports-index-cookies):
18592 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18593 outputs one more line for long file names (bug#4142).
18595 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18597 * newcomment.el (comment-normalize-vars): If prompting for
18598 comment-start, set comment-start-skip too (Bug#8424).
18600 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18602 * icomplete.el: Fix previous fix of Bug#5849.
18603 (icomplete-mode): Don't set completion-show-inline-help.
18604 (icomplete-minibuffer-setup): Set completion-show-inline-help
18605 locally during icompletion.
18607 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18609 * woman.el (woman2-process-escapes): Don't delete unrecognized
18610 escapes (Bug#7843).
18612 * files.el (inhibit-first-line-modes-regexps): Add image files.
18613 (hack-local-variables-prop-line): Return nil for malformed
18614 prop-lines (Bug#9044).
18616 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18618 * net/tramp.el (top): Don't require 'shell.
18619 (tramp-methods): Fix docstring.
18620 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18621 Return complete remote file name. Handle "smb" case.
18622 Use `tramp-tmpdir', if defined for the respective method.
18623 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18625 * net/tramp-compat.el (top): Require 'shell.
18627 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18628 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18629 `tramp-current-host'.
18630 (tramp-get-remote-tmpdir): Remove.
18632 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18633 `tramp-tmpdir' entries.
18634 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18635 (tramp-smb-handle-file-attributes): Ignore errors.
18636 (tramp-smb-wait-for-output): Check also for process end.
18638 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18640 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18641 when sending QUIT (bug#9312).
18643 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18645 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18646 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18647 occur-mode-display-occurrence.
18648 (occur-edit-mode): Add usage message.
18649 (occur-cease-edit): New command.
18650 (occur-after-change-function): Use text properties to find the
18651 position of the prefix text.
18652 (occur-engine): Set stickiness of prefix text properties.
18654 2011-09-17 Glenn Morris <rgm@gnu.org>
18656 * progmodes/etags.el (complete-tag):
18657 Fix call to completion-in-region. (Bug#9526)
18659 2011-09-17 Juri Linkov <juri@jurta.org>
18661 * textmodes/ispell.el (ispell-word): Add to the error message
18662 the word, ispell program name and current dictionary (bug#9121).
18663 (ispell-tex-arg-end): Capitalize "error" in the error message.
18665 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18667 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18670 2011-09-17 Juri Linkov <juri@jurta.org>
18672 * window.el (window-safe-min-height, window-safe-min-width):
18673 Fix typos (followup to bug#9522).
18675 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18677 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18679 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18681 * simple.el (line-move): If goal-column is set, move by logical
18682 lines, not by display lines. (Bug#971)
18683 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18684 to reflect the above change.
18686 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18688 * image.el (imagemagick-register-types): Use regexp-opt.
18690 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18692 * window.el (display-buffer-base-action): Rename from
18693 display-buffer-default-action. Make default value empty.
18694 (display-buffer-overriding-action): Convert to defvar.
18695 (display-buffer-fallback-action): New var.
18697 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18699 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18701 (package--add-to-archive-contents): If there is a duplicate entry
18702 with an older version, remove it.
18703 (package-menu-mark-delete, package-menu-mark-install)
18704 (package-menu-mark-unmark): Make unused args optional.
18705 (package-menu-mark-obsolete-for-deletion):
18706 Use package-menu-get-status instead of a regexp search.
18707 (package-menu-get-status): Use tabulated-list-entry.
18708 (package-menu-mark-upgrades): New command.
18709 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18710 (package-menu-execute): Do installation before deletion.
18711 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18712 instead of checking major-mode.
18713 (package-menu--find-upgrades): New function.
18715 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18717 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18718 passwords in the log buffer.
18719 (smtpmail-process-filter): Update the process marker so that the
18720 "broken by peer" status message is inserted in the right place.
18722 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18724 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18725 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18726 bibtex-completion-at-point-function.
18727 (bibtex-completion-at-point-function): Use them.
18729 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18731 * mpc.el (mpc-constraints-tag-lookup): New function.
18732 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18733 also to browser "album|playlist".
18735 2011-09-14 Juri Linkov <juri@jurta.org>
18737 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18738 (isearch-edit-string): Use length of `isearch-string' when
18739 `isearch-fail-pos' returns nil.
18740 (isearch-message): Remove duplicate code and call
18741 `isearch-fail-pos' with arg `t'.
18743 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18745 * replace.el (occur-mode-goto-occurrence): Don't force using other
18748 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18750 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18752 * window.el (display-buffer-window): Remove.
18753 (display-buffer-record-window): Use help-setup window parameter
18754 instead of variable display-buffer-window.
18755 (display-buffer-function, special-display-buffer-names)
18756 (special-display-function): Mention help-setup parameter instead
18757 of display-buffer-window in doc-string.
18758 * help.el (help-window-setup): New argument help-window.
18759 Use help-window-setup parameter instead of display-buffer-window.
18760 Reword some messages.
18761 (with-help-window): Pass window used for displaying the buffer
18762 to help-window-setup. Don't set display-buffer-window.
18764 2011-09-13 Glenn Morris <rgm@gnu.org>
18766 * emacs-lisp/debug.el (debugger-make-xrefs):
18767 Preserve point. (Bug#9462)
18769 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18771 * window.el (window-deletable-p): Use next-frame.
18773 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18775 * window.el (window-auto-delete): Remove.
18776 (window-deletable-p): Remove argument FORCE. Don't deal with
18777 dedication and previous buffers.
18778 (switch-to-prev-buffer): Don't delete window.
18779 (delete-windows-on): Delete a window's frame if and only if the
18780 window is dedicated.
18781 (replace-buffer-in-windows): Delete buffer's window or frame if
18782 and only if window is dedicated.
18783 (quit-window): Handle quit-restore as before last change.
18784 (bury-buffer): Delete window only if window-deletable-p returns t.
18786 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18788 * window.el (window-deletable-p): Never delete the last frame on a
18791 2011-09-13 Glenn Morris <rgm@gnu.org>
18793 * help.el (describe-key-briefly): Copy previous standard-output change.
18795 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18797 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18799 2011-09-13 Glenn Morris <rgm@gnu.org>
18801 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18802 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18804 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18806 * dired-aux.el (dired-mark-read-string): Don't return default
18807 value on empty input (Bug#9361).
18808 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18809 Omit initial minibuffer contents.
18810 (dired-do-chmod): Signal an error on empty input.
18811 (dired-mark-read-string): Don't return default on empty input.
18813 * files.el (file-modes-symbolic-to-number): Doc fix.
18815 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18817 * international/mule-cmds.el (ucs-completions): Remove.
18818 (read-char-by-name): Use complete-with-action instead; add metadata.
18820 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18822 * window.el (display-buffer--action-function-custom-type)
18823 (display-buffer--action-custom-type): New vars.
18824 (display-buffer-alist, display-buffer-default-action)
18825 (display-buffer-overriding-action): Add defcustom types.
18827 * frame.el (delete-other-frames): Doc fix (Bug#276).
18829 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18831 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18833 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18835 Change modes that used same-window-* vars to use switch-to-buffer.
18837 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18838 Use switch-to-buffer.
18840 * cus-edit.el (customize-group, custom-buffer-create)
18841 (customize-browse, custom-buffer-create-other-window):
18842 Use switch-to-buffer or switch-to-buffer-other-window.
18844 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18845 (Info-prev, Info-up, Info-speedbar-goto-node)
18846 (info-display-manual): Use switch-to-buffer.
18847 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18849 * mail/sendmail.el (mail): Use switch-to-buffer.
18850 (mail-recover): Use switch-to-buffer-other-window.
18852 * cmuscheme.el (run-scheme, switch-to-scheme):
18854 * shell.el (shell):
18855 * net/rlogin.el (rlogin):
18856 * net/telnet.el (telnet, rsh):
18857 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18859 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18861 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18863 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18865 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18866 so don't mention it (bug#9301).
18867 (dired-sort-toggle-or-edit): Clarify string further.
18869 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18870 match `x', `w32' and `ns', like the manual says (bug#9029).
18872 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18873 (process-kill-buffer-query-function): Mention the buffer name in
18876 * image-mode.el (image-next-line): The line parameter is mandatory
18879 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18880 which can be useful (bug#9301).
18882 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18884 * subr.el (match-string): Mention that the current buffer should
18885 be the same as the search was done in (bug#9282).
18887 * facemenu.el: Disable the remove-* commands if the mark isn't
18890 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18892 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18894 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18896 * replace.el (occur-mode-goto-occurrence)
18897 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18898 and display-buffer.
18900 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18903 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18904 special-display and same-window variables.
18905 (mail-other-window): Use switch-to-buffer-other-window.
18906 (mail-other-frame): USe switch-to-buffer-other-frame.
18908 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18909 Use display-buffer-other-frame.
18910 (gdb-display-gdb-buffer): Use pop-to-buffer.
18912 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18914 * progmodes/python.el: Don't set same-window-buffer-names.
18916 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18918 * window.el (display-buffer-alist): Add *Python*.
18920 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18922 * window.el (display-buffer-alist): Add entry for buffers
18923 previously handled same-window-*.
18924 (display-buffer-alist, display-buffer-default-action)
18925 (display-buffer-overriding-action): Mark as risky.
18926 (display-buffer-alist): Document action function changes.
18927 (display-buffer--same-window-action)
18928 (display-buffer--other-frame-action): New variables.
18929 (switch-to-buffer, display-buffer-other-frame): Use them.
18930 (display-buffer): Rename reuse-frame entry to reusable-frames.
18931 (display-buffer-reuse-selected-window): Function deleted.
18932 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18933 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18934 (display-buffer-special): New function.
18935 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18936 display-buffer-reuse-or-pop-window. Split off special-display
18937 part into display-buffer-special.
18938 (display-buffer-use-some-window): Don't perform any special
18939 pop-up-frames handling.
18940 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18941 (display-buffer--maybe-same-window): Rename from
18942 display-buffer-maybe-same-window.
18944 * info.el: Don't set same-window-regexps.
18945 (info-setup): New function.
18946 (info-other-window, info): Call it.
18948 * cus-edit.el: Don't set same-window-regexps.
18949 (customize-group): New argument.
18950 (customize-group-other-window): Use it.
18951 (customize-face, customize-face-other-window): Likewise.
18952 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18956 * progmodes/gud.el: Don't set same-window-regexps.
18961 * mail/sendmail.el:
18962 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18964 2011-09-10 Juri Linkov <juri@jurta.org>
18966 * isearch.el (isearch-edit-string): Remove obsolete mention of
18967 `C-w' (`isearch-yank-word-or-char') from docstring.
18968 (isearch-query-replace): Fix typo in docstring (bug#9466).
18970 2011-09-10 Juri Linkov <juri@jurta.org>
18972 * paren.el (show-paren-function): Don't show escaped parens.
18973 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18975 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18977 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18978 (mm-default-file-encoding): Remove autoload forms, they are
18979 replaced with autoload cookies in mml.el and mm-encode.el.
18980 (mail-add-attachment): New command.
18981 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18982 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18984 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18986 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18988 * simple.el (count-words-region): Use buffer if there's no region
18991 2011-09-09 Juri Linkov <juri@jurta.org>
18993 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18994 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18995 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18997 2011-09-09 Alan Mackenzie <acm@muc.de>
18999 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19000 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19002 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19004 Fix for Savannah bug#9392.
19005 * simple.el (mail-encode-mml): New defvar.
19007 * mail/rmail.el (mail-encode-mml): Add a defvar.
19008 (rmail-enable-mime-composing): Default to t.
19009 (rmail-forward): Use MIME method of forwarding only if both
19010 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19011 Set mail-encode-mml non-nil if the MIME method was used.
19013 * mail/sendmail.el (mml-to-mime): Add autoload form.
19014 (mail-encode-mml): Add a defvar.
19015 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19017 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19018 message through mml-to-mime, and reset mail-encode-mml to nil.
19020 2011-09-09 Glenn Morris <rgm@gnu.org>
19022 * woman.el (woman-if-body): When processing an .el block,
19023 do not delete the next .el block as well. (Bug#9447)
19024 (woman-special-characters): Add oq, cq, and hy characters.
19026 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19028 * window.el (window-deletable-p): Make sure window is live before
19029 invoking window-prev-buffers.
19031 2011-09-08 Leo Liu <sdl.web@gmail.com>
19033 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19035 2011-09-08 Juri Linkov <juri@jurta.org>
19037 * progmodes/compile.el (compilation-environment): Make it
19038 a defcustom (bug#8340).
19040 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19042 * window.el (frame-auto-delete): Rename to window-auto-delete.
19043 Make it control auto-deletion of windows and/or frames.
19044 (window-deletable-p): New argument FORCE. Rewrite conditions
19045 for deleting window/frame. (Bug#9419)
19046 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19047 Rewrite handling of case when window/frame can be deleted.
19048 (delete-windows-on): Call window-deletable-p with new FORCE
19049 argument t. (Bug#9456)
19051 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19053 * help-mode.el (help-mode): Restore autoload.
19055 2011-09-07 Juri Linkov <juri@jurta.org>
19057 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19058 `compilation-environment'. Set buffer-local
19059 `compilation-environment' to `thisenv' later after (funcall mode).
19062 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19063 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19064 instead of replacing its value. (Bug#8340)
19066 2011-09-07 Juri Linkov <juri@jurta.org>
19068 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19069 based on text properties put by `grep-filter' instead of matching
19071 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19072 to the value of `grep-error-screen-columns' (bug#9438).
19074 2011-09-07 Juri Linkov <juri@jurta.org>
19076 * simple.el (next-error-highlight, next-error-highlight-no-select):
19077 Doc fix (bug#9432).
19079 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19081 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19082 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19084 2011-09-07 Leo Liu <sdl.web@gmail.com>
19086 * net/rcirc.el (rcirc-mode): Conditionally initialize
19089 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19091 * emacs-lisp/find-func.el (find-function-C-source): Only set
19092 find-function-C-source-directory after checking that we found a source
19093 file there (bug#9440).
19095 2011-09-06 Alan Mackenzie <acm@muc.de>
19097 * isearch.el (isearch-other-meta-char): Wherever a key list is
19098 unread, "unread" the prefix arg, too. This fixes bug #8901.
19100 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19102 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19104 2011-09-05 Juri Linkov <juri@jurta.org>
19106 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19108 2011-09-05 Juri Linkov <juri@jurta.org>
19110 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19111 keeping point where processing of grep matches begins, and
19112 continue to delete remaining escape sequences from the same point.
19113 (grep-filter): Make leading zero optional in "0?1;31m" because
19114 git-grep emits "\033[1;31m" escape sequences unlike expected
19115 "\033[01;31m" as GNU Grep does (bug#9408).
19116 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19118 2011-09-05 Juri Linkov <juri@jurta.org>
19120 * subr.el (y-or-n-p): Capitalize "yes".
19122 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19124 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19125 `tramp-cache-unload-hook' where appropriate.
19126 (tramp-methods): Rename `tramp-remote-sh' to
19127 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19128 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19130 * net/tramp-sh.el (top): Don't require 'shell.
19131 (tramp-methods): Add `tramp-remote-shell' and
19132 `tramp-remote-shell-args' entries.
19133 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19134 (tramp-sh-handle-shell-command): Remove.
19135 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19136 Use `tramp-remote-shell'.
19138 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19140 * mail/sendmail.el (sendmail-query-once-function): Delete.
19141 (sendmail-query-once): Save directly to send-mail-function.
19142 Update message-send-mail-function too.
19144 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19146 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19148 * progmodes/python.el (python-mode-map): Use correct function to
19149 start python interpreter from menu-bar (as reported by Geert
19151 (inferior-python-mode-map): Fix typo.
19152 (python-shell-map): Remove.
19154 2011-09-03 Deniz Dogan <deniz@dogan.se>
19156 * net/rcirc.el (rcirc-print): Simplify code for
19157 rcirc-scroll-show-maximum-output. There is no need to walk
19158 through all windows to find the right one.
19160 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19162 * help.el (help-return-method): Doc fix.
19164 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19166 * window.el (window-deletable-p): Don't return a non-nil value
19167 when there's a buffer that was shown in the window before.
19169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19170 Set window's previous buffers to nil.
19172 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19174 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19175 newline before and after the tag line, so it doesn't interfere
19176 with determining the paragraph direction of bidirectional text.
19178 2011-09-03 Leo Liu <sdl.web@gmail.com>
19180 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19182 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19184 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19185 (pop-to-buffer): Change interactive spec. Pass second argument
19186 directly to display-buffer.
19187 (display-buffer): Fix interactive spec. Use functionp to
19188 distinguish between a function and a list of functions.
19190 * abbrev.el (edit-abbrevs):
19191 * arc-mode.el (archive-extract):
19192 * autoinsert.el (auto-insert):
19193 * bookmark.el (bookmark-bmenu-list):
19194 * files.el (find-file):
19195 * view.el (view-buffer):
19196 * progmodes/compile.el (compilation-goto-locus):
19197 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19199 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19201 * window.el (display-buffer-alist): Doc fix.
19202 (display-buffer): Add docstring. Don't treat
19203 display-buffer-default specially.
19204 (display-buffer-reuse-selected-window)
19205 (display-buffer-same-window, display-buffer-maybe-same-window)
19206 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19207 (display-buffer-pop-up-window)
19208 (display-buffer-reuse-or-pop-window)
19209 (display-buffer-use-some-window): New functions.
19210 (display-buffer-default-action): Use them.
19211 (display-buffer-default): Delete.
19212 (pop-to-buffer-1): Fix choice of actions.
19214 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19216 * minibuffer.el (completion--insert-strings): Don't get confused by
19217 completion entries that end with an LF char.
19219 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19221 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19223 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19225 * window.el (display-buffer): Restore interactive spec.
19226 (display-buffer-same-window, display-buffer-other-window):
19228 (pop-to-buffer-1): New function. Use the above.
19229 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19230 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19232 * view.el (view-buffer-other-window, view-buffer-other-frame):
19233 Just use pop-to-buffer.
19235 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19237 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19239 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19241 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19243 2011-08-31 Richard Stallman <rms@gnu.org>
19245 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19246 of the separation of rmail-view-buffer from rmail-buffer.
19247 If you say no to "replace original", the decrypt is in the
19248 view buffer. If you say yes, the decrypt goes into the
19251 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19253 * window.el (display-buffer-window): Rewrite doc-string.
19254 (display-buffer-record-window): New function.
19255 (display-buffer-macro-specifiers)
19256 (display-buffer-even-window-sizes, display-buffer-set-height)
19257 (display-buffer-set-width, display-buffer-in-window)
19258 (display-buffer-reuse-window, display-buffer-split-specifiers)
19259 (display-buffer-side-specifiers, display-buffer-split-window-1)
19260 (display-buffer-split-window, display-buffer-split-atom-window)
19261 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19262 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19263 (display-buffer-other-window-means-other-frame)
19264 (display-buffer-normalize-special)
19265 (display-buffer-normalize-default)
19266 (display-buffer-normalize-argument)
19267 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19268 (display-buffer-normalize-specifiers, display-buffer-frame)
19269 (display-buffer-same-window, display-buffer-same-frame)
19270 (display-buffer-other-window)
19271 (display-buffer-same-frame-other-window)
19272 (display-buffer-other-frame, pop-to-buffer-same-window)
19273 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19274 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19275 (switch-to-buffer-same-frame)
19276 (switch-to-buffer-other-window-same-frame)
19277 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19278 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19279 (display-buffer-alist-set): Remove.
19280 (display-buffer-function, special-display-buffer-names)
19281 (special-display-regexps, special-display-function):
19282 In doc-string refer to display-buffer-window and quit-restore
19284 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19285 (special-display-frame-alist, special-display-popup-frame)
19286 (same-window-buffer-names, same-window-regexps, same-window-p)
19287 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19288 (split-window-preferred-function, split-height-threshold)
19289 (split-width-threshold, window-splittable-p)
19290 (split-window-sensibly, window--try-to-split-window)
19291 (window--frame-usable-p, even-window-heights)
19292 (window--even-window-heights, window--display-buffer-1)
19293 (window--display-buffer-2, display-buffer-other-frame):
19294 Restore old Emacs 23 code, order and doc-strings where applicable.
19295 (display-buffer-default, display-buffer-assq-regexp): New functions.
19296 (display-buffer-alist): Rewrite doc-string.
19297 (display-buffer-default-action)
19298 (display-buffer-overriding-action): New variables.
19299 (display-buffer, switch-to-buffer): Rewrite.
19300 (pop-to-buffer): Restore Emacs 23 behavior but use
19301 window-normalize-buffer-to-display.
19302 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19303 Restore Emacs 23 behavior but use
19304 window-normalize-buffer-to-switch-to.
19305 (pop-to-buffer-same-window): Rewrite.
19306 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19307 Rewrite using Emacs 23 options.
19309 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19311 * net/tramp.el (tramp-root-regexp): Remove.
19312 (tramp-completion-file-name-regexp-unified)
19313 (tramp-completion-file-name-regexp-separate)
19314 (tramp-completion-file-name-regexp-url): Don't use leading volume
19315 letter on w32 systems. (Bug#5303, Bug#9311)
19316 (tramp-drop-volume-letter): Simplify definition.
19317 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19319 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19321 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19324 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19326 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19328 2011-08-29 Juri Linkov <juri@jurta.org>
19330 * isearch.el (isearch-done): Don't display message "Mark saved"
19331 when arg `edit' is non-nil to prevent its flicker in the echo area.
19333 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19335 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19336 obsolete packages for deletion.
19338 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19340 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19341 (help-mode): Derive help-mode from special-mode. Don't invoke
19342 view-mode from help-mode.
19343 (help-xref-override-view-map): Remove.
19344 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19345 view-mode is not used anymore.
19347 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19349 * server.el (server-port): Doc fix.
19351 * cus-theme.el (custom-theme-choose-mode): Inherit from
19352 special-mode (Bug#9124).
19353 (custom-theme-choose-mode-map): Add special-mode to parent.
19355 2011-08-28 Alan Mackenzie <acm@muc.de>
19357 * progmodes/cc-fonts.el
19358 (c-make-font-lock-BO-decl-search-function): New function.
19359 (c-basic-matchers-after - "Fontify the clauses after various
19360 keywords"): Extract the three keyword lists for the 3 erroneous
19361 constructs from the list of four, and use the new function above
19362 in place of an old one.
19364 2011-08-28 Deniz Dogan <deniz@dogan.se>
19366 * net/rcirc.el (rcirc-insert-prev-input)
19367 (rcirc-insert-next-input): Remove unused argument.
19369 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19371 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19373 2011-08-27 Alan Mackenzie <acm@muc.de>
19375 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19376 handle function pointer parameters properly.
19378 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19380 * window.el (display-buffer-reuse-window): Fix case where
19381 selected window was reused with non-nil OTHER-WINDOW argument.
19384 2011-08-27 Deniz Dogan <deniz@dogan.se>
19386 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19387 oftc's NickServ messages.
19389 2011-08-27 Glenn Morris <rgm@gnu.org>
19391 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19393 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19395 * emacs-lisp/package.el (package-install): Call package-initialize
19396 if called interactively.
19398 2011-08-26 Leo Liu <sdl.web@gmail.com>
19400 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19402 2011-08-25 Juri Linkov <juri@jurta.org>
19404 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19405 `search-whitespace-regexp' (bug#9364).
19407 2011-08-25 Juri Linkov <juri@jurta.org>
19409 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19410 `regexp-search-ring' to their global values to protect from
19411 updating by `read-from-minibuffer' (bug#9185).
19413 2011-08-25 Juri Linkov <juri@jurta.org>
19415 * textmodes/ispell.el (ispell-command-loop): Add newline
19416 at the end of the "Use option `i'..." line.
19418 2011-08-25 Juri Linkov <juri@jurta.org>
19420 * battery.el (display-battery-mode): If `battery-status-function'
19421 or `battery-mode-line-format' is nil, display the message and set
19422 `display-battery-mode' to nil (bug#9363).
19424 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19426 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19427 bidi-string-mark-left-to-right; they are unnecessary now.
19429 2011-08-25 Deniz Dogan <deniz@dogan.se>
19431 * net/quickurl.el: Documentation typo fixes.
19433 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19435 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19437 2011-08-25 Glenn Morris <rgm@gnu.org>
19439 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19441 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19442 (smtpmail-via-smtp): Handle nil response from smtp.
19444 2011-08-24 Juri Linkov <juri@jurta.org>
19446 * proced.el (proced-marked): Inherit from `error' instead of
19447 `font-lock-warning-face'.
19449 * ibuffer.el (ibuffer-marked-face): Change default face from
19450 `font-lock-warning-face' to `warning'.
19451 (ibuffer-deletion-face): Change default face from
19452 `font-lock-type-face' to `error'.
19454 * battery.el (battery-update): Use the face `error' instead of
19455 `font-lock-warning-face' (bug#6117).
19457 2011-08-24 Juri Linkov <juri@jurta.org>
19459 * faces.el (success): Change face color from "Green3" to
19460 "ForestGreen" on light background (bug#9353).
19462 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19464 * window.el (quit-window): Rename from quit-restore-window.
19465 Use same arglist as old quit-window.
19466 (frame-auto-delete): Doc fix.
19468 * view.el (view-mode-exit): Use quit-window.
19470 2011-08-24 Juri Linkov <juri@jurta.org>
19472 * isearch.el (isearch-ring-adjust1): Start visiting previous
19473 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19474 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19475 for empty search string (when the last search string is reused
19476 automatically) to adjust the isearch ring to the last element and
19477 prepare the correct index for further M-p commands (bug#9185).
19479 2011-08-24 Kenichi Handa <handa@m17n.org>
19481 * international/ucs-normalize.el: If decomposition property of
19482 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19484 (nfd, nfkd): Likewise.
19486 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19488 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19489 from process filters aren't reliably transmitted to the surrounding
19490 accept-process-output.
19491 (mpc-proc-check): New function.
19492 (mpc-proc-sync): Use it (bug#8293)
19494 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19497 Add compatibility functions (bug#9313).
19499 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19501 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19503 * international/uni-bidi.el: Regenerate.
19505 2011-08-23 Kenichi Handa <handa@m17n.org>
19507 * international/charprop.el:
19508 * international/uni-bidi.el:
19509 * international/uni-category.el:
19510 * international/uni-combining.el:
19511 * international/uni-comment.el:
19512 * international/uni-decimal.el:
19513 * international/uni-decomposition.el:
19514 * international/uni-digit.el:
19515 * international/uni-lowercase.el:
19516 * international/uni-mirrored.el:
19517 * international/uni-name.el:
19518 * international/uni-numeric.el:
19519 * international/uni-old-name.el:
19520 * international/uni-titlecase.el:
19521 * international/uni-uppercase.el: Regenerate.
19523 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19525 * help.el (help-window-setup): Fix message displayed when other
19526 window is reused. (Bug#9341)
19528 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19530 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19531 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19533 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19535 * shell.el (shell-parse-pcomplete-arguments): New function.
19536 (shell-completion-vars): Use it instead (bug#9160).
19538 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19540 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19541 strings and comments (bug#9333).
19543 * emacs-lisp/debug.el (debug-arglist): New function.
19544 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19545 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19547 2011-08-22 Juri Linkov <juri@jurta.org>
19549 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19550 Revert regexp that highlights output switches to its old
19551 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19553 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19554 to check for empty output (bug#9226).
19556 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19558 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19559 symbol-constituent as the default, as that stops font-lock from
19560 working properly (Bug#8843).
19562 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19564 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19565 `coding-system-for-*' around the process open call to avoid
19566 auth-source side effects.
19567 (smtpmail-try-auth-methods): Expand the secret password.
19568 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19571 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19573 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19575 * emacs-lisp/find-func.el (find-function-noselect): New arg
19578 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19579 signal an error for built-in functions (Bug#6664).
19581 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19583 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19584 (smtpmail-try-auth-methods): Use it.
19586 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19588 * font-lock.el (font-lock-fontify-region)
19589 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19590 (font-lock-default-unfontify-buffer)
19591 (font-lock-default-fontify-region)
19592 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19594 * progmodes/compile.el (compilation-error-properties):
19595 Fix confusion between file struct and message struct (Bug#9319).
19596 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19599 * net/browse-url.el (browse-url-firefox): Don't call
19600 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19602 2011-08-20 Glenn Morris <rgm@gnu.org>
19604 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19606 * tutorial.el (tutorial--default-keys): Update some default bindings.
19608 * files.el (hack-local-variables): Fully ignore case for "mode:".
19610 2011-08-20 Alan Mackenzie <acm@muc.de>
19612 Resolve invalid use of a regexp in regexp-opt.
19614 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19615 detection for a java annotation.
19617 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19618 detection for a java annotation.
19620 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19622 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19624 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19626 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19629 2011-08-20 Alan Mackenzie <acm@muc.de>
19631 Fontify CPP expressions correctly when starting in the middle of
19632 such a construct. Mainly for when jit-lock etc. starts a chunk
19635 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19637 (c-make-font-lock-search-form): New function, extracted from
19638 c-make-font-lock-search-function.
19639 (c-make-font-lock-search-function): Use the above function.
19640 (c-make-font-lock-context-search-function): New function.
19641 (c-cpp-matchers): Enhance the preprocessor expression case with
19643 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19644 which takes an expression.
19646 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19648 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19650 * window.el (display-buffer-reuse-window)
19651 (display-buffer-pop-up-window): Don't reuse or split a side
19654 2011-08-19 Glenn Morris <rgm@gnu.org>
19656 * files.el (hack-local-variables-prop-line, hack-local-variables):
19657 Downcase "Mode:". (Bug#9331)
19659 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19661 * international/characters.el: Add L and R categories.
19663 * subr.el (bidi-string-mark-left-to-right): Rename from
19664 string-mark-left-to-right. Use category search.
19666 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19668 2011-08-18 Juri Linkov <juri@jurta.org>
19670 * faces.el (error, warning, success): New faces with definitions
19671 copied from old default values of `font-lock-warning-face',
19672 `compilation-warning', `compilation-info' (bug#6117).
19674 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19676 * progmodes/compile.el (compilation-error): Inherit from `error'.
19677 (compilation-warning): Inherit from `warning'.
19678 (compilation-info): Inherit from `success'.
19680 * dired.el (dired-marked): Inherit from `warning'.
19681 (dired-flagged): Inherit from `error'.
19683 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19685 * mail/smtpmail.el (auth-source): Require to avoid problems with
19686 binding variables (bug#9298). Also clean up some unused
19689 * net/network-stream.el (network-stream-open-starttls):
19690 Support using starttls.el without using gnutls-cli.
19692 2011-08-17 Juri Linkov <juri@jurta.org>
19694 * progmodes/grep.el (rgrep): Handle the case when
19695 `grep-find-command' is a cons cell (bug#9278).
19697 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19699 * window.el (display-buffer-pop-up-frame): Run frame creation
19700 function with BUFFER current (as special-display-popup-frame
19701 does). Reported by Drew Adams.
19703 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19705 * epa-mail.el: Simplify GnuPG group expansion using
19707 (epa-mail-group-alist, epa-mail-group-modtime)
19708 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19709 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19710 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19713 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19715 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19717 2011-08-16 Alan Mackenzie <acm@muc.de>
19719 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19720 Correct, to avoid the inside of macros.
19722 2011-08-16 Richard Stallman <rms@gnu.org>
19724 * epa-mail.el: Handle GnuPG group definitions.
19725 (epa-mail-group-alist, epa-mail-group-modtime)
19726 (epa-mail-gnupg-conf-file): New variables.
19727 (epa-mail-parse-groups, epa-mail-sync-groups)
19728 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19729 (epa-mail-expand-recipients): New functions.
19730 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19732 * mail/rmail.el (rmail-epa-decrypt): New command.
19734 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19735 Don't bind buffer-read-only, just inhibit-read-only.
19736 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19737 (epa-decrypt-armor-in-region): Make error message clearer.
19739 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19741 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19742 and "a2b" to "ab" for `prefix'.
19744 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19746 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19748 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19749 Fourquet (Bug#8804).
19751 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19753 * startup.el (argi): Declare as global variable (bug#9275).
19755 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19757 * subr.el (string-mark-left-to-right): Search the entire string
19758 for RTL script, not just the terminating character. Doc fix.
19760 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19762 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19764 (js--regexp-literal, js-syntax-propertize-function): Remove.
19765 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19766 (js-mode-map): Don't rebind electric keys.
19767 (js-insert-and-indent): Remove.
19768 (js-mode): Setup electric-layout and electric-indent instead.
19770 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19772 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19774 * epa.el (epa-progress-callback-function): Fix the logic of
19775 displaying progress.
19776 * epa-file.el (epa-file-insert-file-contents): Make progress
19777 display more user-friendly.
19778 (epa-file-write-region): Ditto.
19780 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19782 * subr.el (string-mark-left-to-right): New function.
19784 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19785 Use string-mark-left-to-right.
19786 (list-buffers-noselect): Caller changed.
19788 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19789 Use string-mark-left-to-right.
19790 (tabulated-list-print): Recenter after moving point.
19792 2011-08-10 Juri Linkov <juri@jurta.org>
19794 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19795 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19796 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19798 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19800 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19803 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19805 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19806 character. (Bug#6594)
19808 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19810 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19811 (image-dired--with-db-file): New macro.
19812 (image-dired-write-tags, image-dired-remove-tag)
19813 (image-dired-create-gallery-lists, image-dired-write-comments)
19814 (image-dired-get-comment, image-dired-mark-tagged-files)
19815 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19816 (image-dired-gallery-generate): Use insert-file-contents.
19818 * time.el (display-time-world-list, display-time-world-display):
19819 * time-stamp.el (time-stamp-string):
19820 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19821 set-time-zone-rule (Bug#7337).
19823 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19825 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19826 (epg-error-to-string, epg-errors-to-string): New function.
19827 (epg-wait-for-completion): Reverse errors list.
19828 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19829 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19830 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19831 (epg-sign-keys, epg-generate-key-from-file)
19832 (epg-generate-key-from-string): Format errors by using
19833 epg-errors-to-string (bug#9255).
19834 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19836 2011-08-07 Juri Linkov <juri@jurta.org>
19838 * faces.el (list-faces-display): Remove extra angle bracket
19839 from `help-mode-map'.
19841 * info.el (Info-history-toc-nodes): Doc fix.
19843 * longlines.el (longlines-mode): Doc fix.
19845 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19847 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19848 of statements and in a few more cases (bug#9183).
19850 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19852 (cl-transform-lambda): Use them (bug#9239).
19854 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19856 * window.el (display-buffer-same-window)
19857 (display-buffer-same-frame, display-buffer-other-window)
19858 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19859 (pop-to-buffer-other-window)
19860 (pop-to-buffer-same-frame-other-window)
19861 (pop-to-buffer-other-frame): Make them defuns.
19862 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19864 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19866 * subr.el (make-composed-keymap): Move from C. Change calling
19867 convention, and improve docstring to bring attention to a subtle point.
19868 * minibuffer.el (completing-read-default): Adjust accordingly.
19870 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19872 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19873 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19875 * net/trampver.el: Update release number.
19877 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19879 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19882 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19884 * mail/sendmail.el (sendmail-query-once): Restore the current
19885 buffer after querying (bug#9074).
19887 * dired.el (dired-flagged): Use different faces for marked and
19888 flagged files (bug#6117).
19890 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19893 * ido.el (ido-mode): Switch off the message if called
19896 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19897 before 587, since it appears that that's more likely to work for
19900 * cus-edit.el (custom-file): When running under emacs -q, always
19901 refuse to save the customizations, even if the .emacs file doesn't
19904 * info.el: Remove the `Info-beginning-of-buffer' function
19907 * net/network-stream.el (network-stream-open-starttls):
19908 Use `starttls-available-p' to see whether starttls.el can be used.
19910 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19912 * window.el (display-buffer-in-window): Don't set dedicated status
19913 of window here (Bug#9215).
19914 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19915 (display-buffer-pop-up-side-window)
19916 (display-buffer-in-side-window): Set dedicated status of window here.
19918 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19920 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19921 before binding generated-autoload-file.
19923 2011-08-01 Deniz Dogan <deniz@dogan.se>
19925 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19927 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19929 Sync with Tramp 2.2.2.
19931 * net/trampver.el: Update release number.
19933 2011-07-30 Juri Linkov <juri@jurta.org>
19935 * dired-aux.el (dired-touch-initial): Remove function.
19936 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19937 current time, and `default' to the last modification time of the
19938 current marked file (bug#6887).
19940 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19942 * simple.el (goto-line): Use string-to-number to provide a
19943 numeric argument to read-number (bug#9163).
19945 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19947 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19948 connection process, it could be nil.
19950 2011-07-27 Leo Liu <sdl.web@gmail.com>
19952 Simplify url handling in rcirc-mode.
19954 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19955 (rcirc-browse-url-at-mouse): Remove.
19956 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19958 2011-07-26 Alan Mackenzie <acm@muc.de>
19960 Fontify bitfield declarations properly.
19962 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19963 (c-symbol-chars): Now exported as a lang variable.
19964 (c-not-primitive-type-keywords): New lang variable.
19966 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19967 QT keyword "more" to prevent "more slots: ...." being spuriously
19968 parsed as a bitfield declaration.
19970 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19971 Refactor and enhance to handle bitfield declarations.
19972 (c-punctuation-in): New function.
19973 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19974 declarations properly.
19976 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19978 * calendar/icalendar.el (icalendar--all-events): Take care of
19979 multiple vcalendars in a single file.
19980 (icalendar--convert-float-to-ical): Checkdoc fixes.
19982 2011-07-25 Deniz Dogan <deniz@dogan.se>
19984 * image.el (insert-image): Clarifying docstring.
19986 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19988 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19989 `tramp-send-command-and-check' if there is no error.
19990 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19992 2011-07-22 Alan Mackenzie <acm@muc.de>
19994 Prevent cc-langs.elc being loaded at run time.
19996 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19999 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20000 "(require 'cc-langs)". Quote a form so it will evaluate at
20001 (cc-mode's) compilation time.
20003 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20005 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20006 loading. (Bug#9114)
20008 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20010 * window.el (display-buffer-pop-up-window)
20011 (display-buffer-pop-up-side-window)
20012 (display-buffer-in-side-window): Call display-buffer-set-height
20013 and display-buffer-set-width after setting the new window's
20014 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20016 2011-07-20 Sam Steingold <sds@gnu.org>
20018 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20019 (etags-tags-included-tables): Call `convert-standard-filename' on
20020 the file names contained in TAGS so that windows Emacs can handle
20021 TAGS files created by cygwin ctags.
20023 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20025 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20026 which apparently didn't work.
20028 2011-07-19 Roland Winkler <winkler@gnu.org>
20030 * proced.el (proced-send-signal): For *Marked Processes* buffer
20031 put point at beginning of buffer.
20033 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20035 * proced.el (proced-format): Make header lines align with the text
20038 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20040 * view.el (view-buffer): Allow running in `special' modes if we're
20041 visiting a file (bug#8615).
20043 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20045 * window.el (display-buffer-alist-of-strings-p)
20046 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20048 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20051 2011-07-18 Alan Mackenzie <acm@muc.de>
20053 Fontify declarators properly when, e.g., a jit-lock chunk begins
20054 inside a declaration.
20056 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20060 (c-complex-decl-matchers): Insert reference to
20061 c-font-lock-enclosing-decls.
20063 * progmodes/cc-engine.el (c-backward-single-comment):
20064 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20065 to nil around calls to (forward-comment -1).
20067 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20069 * image.el (put-image): Doc typo fix.
20071 * progmodes/etags.el (tags-search): Doc typo fix.
20073 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20074 password if we get errors 550 to 554.
20076 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20078 * net/gnutls.el (gnutls-log-level): Remove.
20080 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20081 indentation character (bug#6380).
20083 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20085 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20086 to clarify what the problem is (bug#4291).
20088 * simple.el (current-kill): Clarify what
20089 `interprogram-paste-function' does (bug#7500).
20090 (auto-fill-mode): Document `auto-fill-function' in relation to
20091 `auto-fill-mode' (bug#2470).
20093 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20095 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20096 method if slot is read-only (bug#9035).
20098 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20100 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20101 * window.el (pop-to-buffer): Select window used even if it was
20102 selected before, see discussion of (Bug#8615), (Bug#6954).
20103 Pass argument NORECORD on to select-frame-set-input-focus.
20105 2011-07-15 Glenn Morris <rgm@gnu.org>
20107 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20110 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20112 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20113 (gnutls-negotiate): Use it.
20115 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20117 * net/gnutls.el (gnutls-negotiate):
20118 Upcase `gnutls-algorithm-priority'.
20120 2011-07-15 Glenn Morris <rgm@gnu.org>
20122 * jka-compr.el (jka-compr-verbose): Move from here...
20123 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20124 Add missing :version tag.
20125 * info.el: No need to require jka-compr when compiling.
20127 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20129 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20130 (gnutls-negotiate): Use it.
20132 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20134 * info.el (Info-beginning-of-buffer): New command.
20135 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20136 announcing `b' as the key (bug#8325).
20137 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20139 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20141 * international/mule-cmds.el
20142 (describe-specified-language-support): Make the error message
20143 clearer (bug#8905).
20145 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20147 * isearch.el (isearch-barrier): Add a doc string, since it's
20148 mentioned in a function doc string (bug#8678).
20150 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20152 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20153 buffer argument (Bug#9083) and self-identifying label argument.
20155 2011-07-15 Glenn Morris <rgm@gnu.org>
20157 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20159 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20161 * man.el (Man-fontify-manpage): Fix message when formatting the
20162 man page (bug#7929).
20164 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20166 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20167 argument LRM; if non-nil, append an invisible LRM character to the
20169 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20170 last argument non-nil, when formatting buffer names.
20171 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20172 paragraph direction.
20174 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20176 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20177 the man page name (bug#7929).
20179 * image.el (put-image): Mention the `put-image' overlay property
20182 * scroll-bar.el (set-scroll-bar-mode): Mention that
20183 `scroll-bar-mode' lists the values (bug#7772).
20185 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20186 command (bug#7729).
20188 * rect.el (apply-on-rectangle): Return the point after the last
20190 (string-rectangle): Go to the point after the last operation
20193 * printing.el (pr-toggle-region): Clarify the documentation
20194 slightly (bug#7493).
20196 * time.el (display-time-update):
20197 Allow `display-time-mail-function' to return nil (bug#7158).
20198 Fix suggested by Detlev Zundel.
20200 * vc/diff.el (diff): Clarify the order the file names are read
20203 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20204 the doc string (bug#7015).
20206 * font-lock.el (font-lock-maximum-decoration): Mention what
20207 numeric levels mean (bug#6935).
20209 * startup.el (initial-buffer-choice): Don't mention the `none'
20210 selection, which is against policy.
20212 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20214 * window.el (display-buffer-normalize-special):
20215 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20217 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20219 * subr.el (version<, version<=, version=): Mention "-CVS" and
20220 "-12345" alpha version numbers.
20222 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20224 * bindings.el: Add advertised binding for set-mark-command
20227 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20229 * bindings.el (mode-line-other-buffer):
20230 * bookmark.el (bookmark-bmenu-2-window):
20231 * bs.el (bs-cycle-next, bs-cycle-previous):
20232 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20235 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20238 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20240 * follow.el (follow-debug-message, follow-redisplay):
20241 * jka-cmpr-hook.el (with-auto-compression-mode):
20242 Fix typos in docstrings.
20244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246 * subr.el (with-silent-modifications): Clarify somewhat what the
20247 macro inhibits (bug#6525).
20249 * simple.el (eval-expression): Note what it does if called
20250 interactively (bug#6495).
20252 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20254 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20255 Use pop-to-buffer buffer-or-name if it is nil.
20257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20258 Remove switch-to-buffer.
20260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20262 * files.el (make-directory): Clarify that an error will be raised
20263 if there's an error (bug#6397).
20265 * startup.el (initial-buffer-choice): Add `none' as a choice
20268 * subr.el (add-hook): Clarify section about buffer-local hooks
20271 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20273 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20275 * tabify.el (untabify): Preserve the current column so that point
20276 doesn't move (bug#6032).
20278 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20280 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20281 Rewrite to avoid awkward possessive "s" (bug#5986).
20283 2011-07-13 Glenn Morris <rgm@gnu.org>
20285 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20286 (dired-insert-directory): Give a message the first time
20287 if ls is found not to support --dired.
20289 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20291 * simple.el (toggle-truncate-lines): Clarify what is toggled
20292 (bug#5580). Text by Drew Adams.
20294 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20296 * simple.el (blink-matching-open): Make the error message from the
20297 last change less verbose.
20299 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20301 * font-lock.el (font-lock-comment-face): Use the high contrast
20302 "yellow" color for font-lock-comment-face on low color terminals
20303 using a dark background color (bug#4221).
20305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20307 * dired.el (dired-insert-set-properties): Make the doc string
20308 reflect what it does now (bug#5325).
20310 * simple.el (blink-matching-open): Say that we were unable to find
20311 the match within the limit, if we're limited (bug#5122).
20313 * international/mule-cmds.el (prefer-coding-system): Add an
20314 example (bug#4869).
20316 * progmodes/etags.el (tags-search): Document `file-list-form'
20319 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20321 * net/browse-url.el (browse-url-default-browser)
20322 (browse-url-browser-function): Make the default browser choice a
20323 bit more logical (bug#4300). Also clean up the doc string.
20325 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20327 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20328 binary endings (bug#4440).
20330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20332 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20333 which can be pretty annoying (bug#8971).
20335 * jka-compr.el (jka-compr-verbose): New variable, and use
20336 throughout (bug#8971).
20338 * info.el (Info-find-file): Fall back on the installation
20339 directory if we can't find the info node anywhere else.
20341 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20343 * vc/vc.el (vc-revert-file):
20344 Don't set file time-stamp in the past. (Bug#5181)
20346 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20348 * files.el (after-find-file): Give a better error message when
20349 trying to find a symlink that points to a file that doesn't exist
20352 * progmodes/cc-vars.el: Remove (probably) misleading comment
20355 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20357 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20359 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20361 * mouse-sel.el: Hack restoring functionality, while keeping
20362 compatibility with 2010-07-03 changes to mouse selection.
20363 (mouse-sel-primary-overlay): New var.
20364 (mouse-sel-selection-alist): Use it.
20365 (mouse-sel-mode): Doc fix; remove points that are default features
20368 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20371 Fix previous fix (bug#2490).
20373 2011-07-12 Roland Winkler <winkler@gnu.org>
20375 * textmodes/bibtex.el (bibtex-initialize):
20376 Use pop-to-buffer-same-window.
20377 (bibtex-search-entries): Fix interactive call.
20379 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20382 Fontise bytecomp Error lines more correctly (bug#2490).
20383 Fix suggested by Johan Bockgård.
20385 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20387 * dired-x.el (dired-guess-default): Use `delete-dups'.
20389 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20391 * dired.el (dired-mark-prompt):
20392 * dired-aux.el (dired-read-shell-command): Doc fix.
20394 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20396 * mail/sendmail.el (sendmail-query-once):
20397 Use `customize-save-variable' unconditionally, now that it works under
20400 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20402 * cus-edit.el (custom-file): Take an optional no-error variable.
20403 (customize-save-variable): Set the variable, and give a warning if
20404 running under "emacs -q".
20406 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20408 * loadhist.el (unload-feature-special-hooks):
20409 Add `auto-coding-functions', `fill-nobreak-predicate' and
20410 `find-directory-functions' (bug#5327).
20412 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20414 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20416 * cus-edit.el (custom-guess-name-alist): -alist variables should
20417 use the `alist' type (bug#3120). Suggested by Drew Adams.
20419 * printing.el: Add documentation to all the `pr-toggle-' commands.
20421 2011-07-11 Leo Liu <sdl.web@gmail.com>
20423 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20424 backends where it makes sense (bug#2623).
20426 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20428 * dired-x.el (dired-guess-default): Remove duplicate shell command
20429 entries (bug#2028).
20430 (dired-guess-default): Fix grammar in doc string (bug#2028).
20431 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20433 * subr.el (remove-duplicates): New conveniency function.
20435 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20437 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20440 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20442 * window.el (display-buffer-normalize-default): Don't invert
20443 meaning of even-window-heights. Reported by Eli Zaretskii
20446 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20448 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20450 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20452 * window.el (display-buffer): Fix arguments to
20453 display-buffer-reuse-window in last change.
20455 * faces.el (link): Use a less saturated blue on light backgrounds.
20457 * startup.el (fancy-startup-text, fancy-about-text)
20458 (fancy-startup-tail): Use font-lock faces, for background safety.
20460 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20462 * emulation/viper-cmd.el (viper-change-state-to-vi):
20463 Limit triggering of abbrev expansion (Bug#9038).
20465 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20467 * window.el (display-buffer-default-specifiers): Remove.
20468 (display-buffer-macro-specifiers): Remove default specifiers.
20469 (display-buffer-alist): Default to nil.
20470 (display-buffer-reuse-window): New optional argument other-window.
20471 (display-buffer-pop-up-window): Allow splitting internal
20472 windows. Check whether a live window was created.
20473 (display-buffer-other-window-means-other-frame)
20474 (display-buffer-normalize-arguments): Rename to
20475 display-buffer-normalize-argument and rewrite. Set the
20476 other-window specifier.
20477 (display-buffer-normalize-special): New function.
20478 (display-buffer-normalize-options): Rename to
20479 display-buffer-normalize-default and rewrite.
20480 (display-buffer-normalize-options-inhibit): Remove.
20481 (display-buffer-normalize-specifiers): Rewrite.
20482 (display-buffer): Process other-window specifier and call
20483 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20485 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20486 (display-buffer-alist-set): Don't handle 'unset default values.
20487 (display-buffer-in-window, display-buffer-alist-set):
20488 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20489 <tassilo@member.fsf.org>.
20491 2011-07-09 Leo Liu <sdl.web@gmail.com>
20493 * register.el (insert-register): Restore accidental change on
20494 2011-06-26. (Bug#9028)
20496 2011-07-09 Glenn Morris <rgm@gnu.org>
20498 * subr.el (remq): Handle the empty list. (Bug#9024)
20500 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20502 * mail/sendmail.el (send-mail-function): No longer delay custom
20504 * custom.el (custom-initialize-delay): Doc fix.
20506 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20508 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20510 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20512 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20513 human-friendly prompt.
20515 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20517 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20518 provided by a particular plugin.
20520 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20522 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20523 save customizations (with "emacs -Q"), just set the variable
20524 instead of erroring out.
20526 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20528 2011-07-08 Juri Linkov <juri@jurta.org>
20530 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20531 (archive-zip-update-case): Use 7z if found by `executable-find'.
20532 The order of searching the available programs is the same as in
20533 `archive-zip-extract' (bug#8968).
20535 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20537 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20538 (menu-bar-options-menu): Tweak descriptions.
20540 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20542 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20543 menu items into verb phrases (bug#1421). Also refill to fit under
20546 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20548 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20549 (Info-read-node-name): Doc fix (Bug#1084).
20551 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20552 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20553 (end-of-sexp, beginning-of-sexp)
20554 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20555 (forward-symbol, forward-same-syntax, word-at-point)
20556 (sentence-at-point): Doc fix (Bug#1144).
20558 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20560 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20561 should cover it (bug#1281).
20563 * cus-edit.el (custom-show): Mark as obsolete.
20565 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20566 negotiation fails, then possibly try again with a non-encrypted
20567 connection (bug#9017).
20569 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20572 2011-07-07 Richard Stallman <rms@gnu.org>
20574 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20575 property, and handle its changed format.
20576 Look for the correct line number.
20577 Use file's line contents (but not past first =) to find
20578 correct line in message.
20580 2011-07-07 Kenichi Handa <handa@m17n.org>
20582 * international/characters.el (build-unicode-category-table):
20584 (unicode-category-table): Set it by unicode-property-table-internal.
20586 * international/mule-cmds.el (char-code-property-alist): Move to
20588 (get-char-code-property): Call unicode-property-table-internal to
20589 load a file. Call get-unicode-property-internal where necessary.
20590 (put-char-code-property): Call unicode-property-table-internal to
20591 load a file. Call put-unicode-property-internal where necessary.
20592 put-unicode-property-internal where necessary.
20593 (char-code-property-description):
20594 Call unicode-property-table-internal to load a file.
20596 * international/charprop.el:
20597 * international/uni-bidi.el:
20598 * international/uni-category.el:
20599 * international/uni-combining.el:
20600 * international/uni-comment.el:
20601 * international/uni-decimal.el:
20602 * international/uni-decomposition.el:
20603 * international/uni-digit.el:
20604 * international/uni-lowercase.el:
20605 * international/uni-mirrored.el:
20606 * international/uni-name.el:
20607 * international/uni-numeric.el:
20608 * international/uni-old-name.el:
20609 * international/uni-titlecase.el:
20610 * international/uni-uppercase.el: Regenerate.
20612 * loadup.el: Load international/charprop.el before
20613 international/characters.
20615 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20617 * window.el (next-buffer, previous-buffer): Signal an error if
20618 called from a minibuffer window.
20620 * bindings.el: Revert 2011-07-04 change.
20622 2011-07-06 Richard Stallman <rms@gnu.org>
20624 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20625 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20626 Treat markers like ints.
20627 (rmail-mime-entity): Doc fix.
20629 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20631 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20632 defcustom again for backwards compatibility.
20634 * simple.el (shell-command-on-region): Fill.
20636 * dired-aux.el (dired-kill-line): Add a doc string.
20638 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20639 to "\\sw\\|\\s_" (bug#358).
20641 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20642 (dired-unmark-backward): Ditto.
20643 (dired-flag-backup-files): Ditto.
20645 * dired-x.el (dired-mark-sexp): Ditto.
20647 2011-07-06 Richard Stallman <rms@gnu.org>
20649 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20650 (rmail-mime-entity): New arg TRUNCATED.
20651 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20653 (rmail-mime-save): Warn if entity is truncated.
20654 (rmail-mime-toggle-hidden): Likewise, for showing.
20655 (rmail-mime-process-multipart): Record when an entity is truncated.
20657 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20658 if ENTITY is a string.
20660 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20662 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20663 of faces when `M-C-x'-ing their definitions (bug#8378).
20664 Also clean up the code slightly.
20666 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20667 because that makes the colors go away.
20669 * mail/sendmail.el (send-mail-function): Change the default to
20670 `sendmail-query-once'.
20671 (sendmail-query-once): Add an autoload cookie.
20673 * net/network-stream.el (network-stream-open-starttls): Try using
20674 a plain connection even if the server offered STARTTLS, and we
20675 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20676 capability. This should make smtpmail.el work in slightly more
20679 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20681 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20683 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20685 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20687 * progmodes/sql.el: Version 3.0
20688 (sql-product-alist): Add product :completion-object,
20689 :completion-column, and :statement attributes.
20690 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20691 (sql-mode-syntax-table): Mark all punctuation.
20692 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20694 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20695 (sql-mode-oracle-font-lock-keywords): Improve.
20696 (sql-oracle-show-reserved-words): New function for development.
20697 (sql-product-font-lock): Simplify for source code buffers.
20698 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20700 (sql-highlight-product): Set product specific syntax table.
20701 (sql-mode-map): Add statement movement functions.
20702 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20704 (sql-statement-regexp, sql-beginning-of-statement)
20705 (sql-end-of-statement, sql-signum): New functions.
20706 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20707 (sql-show-sqli-buffer): Bug fix.
20708 (sql-interactive-mode): Store connection data as buffer local.
20709 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20710 with sql-interactive-mode.
20711 (sql-save-connection): Save buffer local settings.
20712 (sql-connection-menu-filter): Change menu entry name.
20713 (sql-product-interactive): Bug fix.
20714 (sql-preoutput-hold): New variable.
20715 (sql-interactive-remove-continuation-prompt): Bug fixes.
20716 (sql-debug-redirect): New variable.
20717 (sql-str-literal): New function.
20718 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20720 (sql-oracle-save-settings, sql-oracle-restore-settings)
20721 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20722 (sql-completion-object, sql-completion-column)
20723 (sql-completion-sqlbuf): New variables.
20724 (sql-build-completions-1, sql-build-completions)
20725 (sql-try-completion): New functions.
20726 (sql-read-table-name): Use them.
20727 (sql-contains-names): New buffer local variable.
20728 (sql-list-all, sql-list-table): Use it.
20729 (sql-oracle-completion-types): New variable.
20730 (sql-oracle-completion-object, sql-sqlite-completion-object)
20731 (sql-postgres-completion-object): New functions.
20733 2011-07-06 Glenn Morris <rgm@gnu.org>
20735 * window.el (pop-to-buffer): Doc fix.
20737 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20739 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20741 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20743 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20745 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20747 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20749 * button.el (button): Inherit from link face. Suggested by Dan
20752 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20754 * progmodes/gdb-mi.el: Fit in 80 columns.
20755 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20758 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20759 if imenu is simply not configured (bug#8941).
20761 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20763 * allout.el (allout-post-undo-hook): New allout outline-change
20764 event hook to signal undo activity.
20765 (allout-post-command-business): Run allout-post-undo-hook if an
20766 undo just occurred.
20767 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20768 * allout-widgets.el (allout-widgets-after-undo-function):
20769 Ensure the integrity of the current item's decoration after it has been
20770 in the vicinity of an undo.
20771 (allout-widgets-mode): Include allout-widgets-after-undo-function
20772 on the new allout-post-undo-hook.
20774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20776 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20777 Let define-derived-mode define it.
20778 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20779 cycles of abbrev-table inheritance (bug#8998).
20781 2011-07-05 Roland Winkler <winkler@gnu.org>
20783 * textmodes/bibtex.el: Add support for biblatex.
20784 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20785 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20786 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20787 (bibtex-entry-alist, bibtex-field-alist): New variables.
20788 (bibtex-entry-field-alist): Obsolete alias for
20789 bibtex-BibTeX-entry-alist.
20790 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20791 (bibtex-set-dialect): New command.
20792 (bibtex-entry-type, bibtex-entry-head)
20793 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20794 Bind via bibtex-set-dialect.
20795 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20796 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20797 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20798 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20799 Define via bibtex-set-dialect.
20800 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20801 Obey bibtex-no-opt-remove-re.
20802 (bibtex-vec-push, bibtex-vec-incr): New functions.
20803 (bibtex-format-entry, bibtex-field-list)
20804 (bibtex-print-help-message, bibtex-validate)
20805 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20807 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20809 * progmodes/compile.el (compilation-goto-locus):
20810 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20811 * bs.el (bs-cycle-next, bs-cycle-previous):
20812 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20813 * bindings.el (mode-line-other-buffer):
20814 * autoinsert.el (auto-insert):
20815 * arc-mode.el (archive-extract):
20816 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20818 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20820 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20821 Fix check of `emacs-lock-unlockable-modes'.
20822 Coerce true values of `emacs-lock--try-unlocking' to t.
20824 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20826 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20827 * emacs-lock.el: New file.
20829 2011-07-05 Julien Danjou <julien@danjou.info>
20831 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20832 than `boundp' to check if face is set.
20834 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20836 * register.el (registerv-make):
20837 * window.el (window-min-height): Fix typos in docstrings.
20839 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20841 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20844 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20846 * server.el (server-execute): Catch quit and call
20847 `server-return-error' to pass the error back to emacsclient and
20848 close the connection (bug#8942).
20850 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20852 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20853 insecure exception for current topic. Also note that auto-saves
20854 are handled differently.
20856 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20857 State variables for tracking auto-save inhibition situation.
20859 (allout-write-contents-hook-handler): Rename from
20860 'allout-write-file-hook-handler', and describe how it depends on
20861 write-contents-functions sensitivity to non-nil value to prevent
20864 (allout-auto-save-hook-handler): Remove. auto-save does not check
20865 this in individual buffers, only in the starting buffer, so this
20866 is not the right way for us to inhibit auto-save in a buffer
20867 according to its condition.
20869 (allout-mode): Use new allout-write-contents-hook-handler, and
20870 only with write-contents-functions. Remove auto-save provisions -
20871 they're implemented elsewhere.
20873 (allout-before-change-handler): If undo is in progress, note that
20874 for attention of allout-post-command-business.
20876 (allout-post-command-business): If the command we're following was
20877 an undo, check for change in the status of encrypted items and
20878 adjust auto-save inhibitions accordingly.
20880 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20881 according to whether there are or aren't any plain-text topics
20882 pending encryption.
20884 (allout-inhibit-auto-save-info-for-decryption):
20885 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20886 if there are plain-text topics pending encryption.
20888 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20889 buffer-saved-size and some allout state to not inhibit auto-saves
20890 if there are no longer any plain-text topics pending encryption.
20892 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20893 No longer provide for exemption of the current topic.
20895 2011-07-04 Juri Linkov <juri@jurta.org>
20897 Add 7z operations to delete and save changed members (bug#8968).
20898 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20900 (archive-7z-write-file-member): New function.
20901 (archive-7z-summarize): Fix the number of dashes in the
20904 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20906 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20909 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20911 * bindings.el: Ignore next-buffer and previous-buffer in
20912 minibuffer-local-map.
20914 * font-lock.el (font-lock-builtin-face): Change light background
20915 color to dark slate blue (Bug#6693).
20917 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20919 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20921 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20923 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20924 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20925 Add switch-to-buffer.
20927 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20929 * isearch.el (isearch-search-fun-function): Clarify further the
20930 meaning of the function returned.
20932 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20934 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20936 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20937 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20939 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20940 `tramp-default-remote-path' does not exist.
20941 (tramp-send-command-and-read): New optional argument NOERROR.
20942 (tramp-open-connection-setup-interactive-shell)
20943 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20944 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20945 (tramp-process-sentinel): Flush also process' connection property.
20946 (tramp-sh-handle-start-file-process): Do not set process
20947 sentinel. It is done now ...
20948 (tramp-maybe-open-connection): ... here. (Bug#8929)
20950 2011-07-04 MON KEY <monkey@sandpframing.com>
20952 * play/animate.el (animate-string): Doc fixes and allow changing
20953 the buffer name (bug#5417).
20955 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20957 * play/animate.el (animation-buffer-name): Rename from *animate*.
20959 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20961 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20962 This is simpler and helps future-proof the code.
20963 (timer-until): Use time-subtract and float-time.
20964 (timer--time-less-p): Use time-less-p.
20966 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20968 * type-break.el (timep): Use the value of `float-time' to avoid a
20969 byte-compiler warning.
20971 * server.el (server-eval-and-print): Return any result, even nil.
20973 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20975 * type-break.el: Accept time formats that the builtins accept.
20976 (timep, type-break-time-difference): Accept any format that
20977 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20978 This is simpler and helps future-proof the code.
20979 (type-break-time-difference): Round rather than ignoring
20980 subseconds components.
20982 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20984 * info.el (Info-apropos-matches): Make non-interactive, since it
20985 doesn't seem to do anything useful as a command (bug#8829).
20987 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20989 * frame.el (frame-background-mode, frame-set-background-mode):
20990 Move from faces.el.
20991 (frame-default-terminal-background): New function.
20993 * custom.el (custom-push-theme): Don't record faces in `changed'
20994 theme; this doesn't work correctly for per-frame face settings.
20995 (disable-theme): Use face-set-after-frame-default to reset faces.
20996 (custom--frame-color-default): New function.
20998 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21000 * dired.el (dired-flagging-regexp): Remove unused variable
21003 2011-03-29 Kevin Ryde <user42@zip.com.au>
21005 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21006 `perl-Test2' extend to match possible "fail #N" rep count
21009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21011 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21012 `smtpmail-via-smtp' now returns the error instead of nil.
21014 * isearch.el (isearch-search-fun-function): Clarify the doc string
21017 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21019 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21020 unnecessary spaces (bug#8987).
21022 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21024 * net/network-stream.el (open-network-stream): Use the
21025 :end-of-capability command thoughout.
21027 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21029 * net/network-stream.el (open-network-stream): Add the
21030 :end-of-capability command parameter, used by pop3.el.
21032 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21034 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21036 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21037 for list)" (bug#6475).
21039 * files.el (file-expand-wildcards): Ignore non-readable
21040 sub-directories while trying to find matches instead of signaling
21041 an error (bug#6297).
21043 * man.el (Man-reference-regexp): Allow matching possible
21044 word-wrapped references (bug#6289).
21046 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21047 for consistency with the other vc buffers (bug#6197).
21048 (vc-checkin): Ditto.
21050 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21052 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21054 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21056 * custom.el (defcustom): Clarify that :set is only used in the
21057 Customize user interface (bug#6089).
21059 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21060 associated with a file, refuse to run instead of erroring out
21063 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21064 the doc string, since it appears that using `fill-column' always
21065 controls the width (bug#7845).
21067 * simple.el (shell-command-on-region): Say where the error output
21068 went if `shell-command-default-error-buffer' is set (bug#6857).
21070 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21072 * allout.el (allout-yank-processing): Adjust cursor position for
21073 backwards-deleted space.
21075 (allout-rebullet-heading): Register changes with
21076 allout-exposure-changed-hook, so the modified topic is properly
21079 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21081 * minibuffer.el (completion-in-region): Document PREDICATE
21084 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21085 of keyword/argument pairs (bug#6904).
21087 * replace.el (multi-occur):
21088 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21090 2011-07-02 Drew Adams <drew.adams@oracle.com>
21092 * dired.el (dired-mark-if): Make the message about whether it's
21093 marking or unmarking clearer (bug#8523).
21095 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21097 * disp-table.el (display-table-print-array): New function.
21098 (describe-display-table): Use it to print the vectors more pretty
21101 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21103 * window.el (window-state-get-1): Don't assign clone numbers.
21104 Add clone-of item to list of window parameters.
21105 (window-state-put-2): Don't process clone numbers.
21106 (display-buffer-alist): Fix doc-string.
21108 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21110 * subr.el (remq): Don't allocate if it's not needed.
21111 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21112 (keymap--merge-bindings): New functions.
21113 (keymap-canonicalize): Use them to refine the canonicalization.
21114 * minibuffer.el (minibuffer-local-completion-map)
21115 (minibuffer-local-must-match-map): Move initialization from C.
21116 (minibuffer-local-filename-completion-map): Move initialization from C;
21117 don't inherit from anything here.
21118 (minibuffer-local-filename-must-match-map): Make obsolete.
21119 (completing-read-default): Use make-composed-keymap to combine
21120 minibuffer-local-filename-completion-map with either
21121 minibuffer-local-must-match-map or
21122 minibuffer-local-filename-completion-map.
21124 2011-07-01 Glenn Morris <rgm@gnu.org>
21126 * type-break.el (type-break-time-sum): Use dolist.
21128 * textmodes/flyspell.el (flyspell-word-search-backward):
21129 Replace CL function.
21131 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21133 * mouse.el (mouse--strip-first-event): New function.
21134 (function-key-map): Use it to map fringe clicks to normal clicks
21137 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21138 (vc-bzr-revision-completion-table): Add support for annotate and date.
21140 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21141 inherit from parent.
21143 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21145 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21146 (dired-show-file-type): Doc fixup (bug#8818).
21148 * dired.el (dired-mode): Fix up the doc string as suggested by
21149 Drew Adams (bug#8817).
21151 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21152 cookie, since the manual says that it should be possible to add
21153 this function to `find-file-hook' (bug#8709).
21155 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21157 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21158 here. Noted Ted Zlatanov as the maintainer.
21159 (cfengine-common-settings, cfengine-common-syntax): New functions
21160 to set up common things between `cfengine-mode' and
21162 (cfengine3-mode): New mode.
21163 (cfengine3-defuns cfengine3-defuns-regex
21164 (cfengine3-class-selector-regex cfengine3-category-regex)
21165 (cfengine3-vartypes cfengine3-font-lock-keywords)
21166 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21167 (cfengine3-indent-line): Add from cfengine3.el.
21169 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21171 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21173 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21175 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21177 * window.el (same-window-buffer-names, same-window-regexps)
21178 (same-window-p, special-display-frame-alist)
21179 (special-display-popup-frame, special-display-function)
21180 (special-display-buffer-names, special-display-regexps)
21181 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21182 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21183 (split-window-preferred-function, split-height-threshold)
21184 (split-width-threshold, even-window-heights)
21185 (display-buffer-mark-dedicated, window-splittable-p)
21186 (split-window-sensibly, window-safely-shrinkable-p):
21188 (display-buffer): Don't spread args with function specifier
21189 because special-display-popup-frame won't like it.
21191 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21193 Time-stamp simplifications and fixes.
21194 These improve accuracy slightly, and future-proof the code
21195 against some potential changes to current-time format.
21197 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21198 by using time-since and float-time.
21200 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21201 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21202 + NNN microseconds".
21204 * type-break.el (type-break-time-sum): Rewrite using time-add.
21206 * play/hanoi.el (hanoi-current-time-float): Remove.
21207 All uses replaced by float-time.
21209 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21210 This yields a more-accurate answer.
21211 (rng-time-to-float): Remove; no longer needed.
21213 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21215 * calendar/timeclock.el (timeclock-seconds-to-time):
21216 Defalias to seconds-to-time, since they're the same thing.
21218 * emacs-lisp/elp.el (elp-elapsed-time):
21219 * emacs-lisp/benchmark.el (benchmark-elapse):
21220 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21222 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21224 * window.el (bury-buffer): Don't iconify the only frame.
21225 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21226 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21228 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21230 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21231 Add mouse-yank-primary.
21233 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21235 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21237 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21239 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21240 (find-library-name): Use it to find relative load names when provided
21241 absolute file name (bug#8803).
21243 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21245 * textmodes/flyspell.el (flyspell-word): Consider words that
21246 differ only in case as potential doublons (bug#5687).
21248 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21249 Remove two rather uninteresting debugging-like messages to make
21250 debbugs.el more silent.
21252 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21253 a password-like phrase.
21255 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21257 * progmodes/cc-guess.el: New file.
21259 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21261 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21262 derived from `c-basic-common-init'.
21264 * progmodes/cc-mode.el (top-level): Require cc-guess.
21265 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21267 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21269 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21271 2011-06-30 Alan Mackenzie <acm@muc.de>
21273 * progmodes/cc-engine.el (c-guess-continued-construct):
21274 Correct the handling of template-args-cont, particularly for when font
21275 lock is disabled. Name this case as "CASE G".
21277 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21279 * allout.el (allout-yank-processing): Fix injection of extra space
21280 between bullet and non-whitespace character in first topic when
21281 pasting, ensuring that the actual spacing in the pasted topic
21282 following the bullet char is preserved. This extra space was
21283 causing pasted encrypted topics to get a decrypted status even
21284 when the content was actually still encrypted. Now the decryption
21285 status from before the paste is preserved.
21287 (allout-flag-region): Set all allout overlays so they evaporate
21288 when reduced to zero length (evanescent), to prevent overlay
21291 2011-06-30 Glenn Morris <rgm@gnu.org>
21293 * w32-fns.el (w32-charset-info-alist): Declare.
21295 * find-dired.el (find-grep-options): Simplify.
21297 * term/ns-win.el (ns-set-resource): Declare.
21299 * ses.el (row, col): Declare dynamic variables honestly.
21301 * textmodes/reftex-parse.el (index-tags): Declare.
21303 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21305 * cus-edit.el (customize-push-and-save): New function.
21307 * files.el (hack-local-variables-confirm): Use it.
21309 * custom.el (load-theme): New arg NO-CONFIRM.
21310 Use customize-push-and-save (Bug#8720).
21311 (custom-enabled-themes): Doc fix.
21313 * cus-theme.el (customize-create-theme)
21314 (custom-theme-merge-theme): Callers to load-theme changed.
21316 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21318 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21319 short URLs have at least one dot in them (bug #7614).
21321 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21322 nil, because using a pty is apparently too slow (bug #895).
21324 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21326 * mail/sendmail.el (sendmail-query-once): New function.
21327 (sendmail-query-once-function): New variable.
21329 2011-06-29 Glenn Morris <rgm@gnu.org>
21331 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21333 * ses.el (top-level): Require cl when compiling.
21334 (ses-set-localvars): Fix error statement.
21335 Call it at compile time to silence a storm of warnings.
21337 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21339 * window.el (normalize-live-buffer): Rename to
21340 window-normalize-buffer.
21341 (normalize-live-frame): Rename to window-normalize-frame.
21342 (normalize-any-window): Rename to window-normalize-any-window.
21343 (normalize-live-window): Rename to window-normalize-live-window.
21344 (make-window-atom): Rename to window-make-atom.
21345 (window-resize-reset): Rename to window--resize-reset.
21346 (window-resize-reset-1): Rename to window--resize-reset-1.
21347 (resize-mini-window): Rename to window--resize-mini-window.
21348 (resize-subwindows-skip-p): Rename to
21349 window--resize-subwindows-skip-p.
21350 (resize-subwindows-normal): Rename to
21351 window--resize-subwindows-normal.
21352 (resize-subwindows): Rename to window--resize-subwindows.
21353 (resize-other-windows): Rename to window--resize-siblings.
21354 (resize-this-window): Rename to window--resize-this-window.
21355 (resize-root-window): Rename to window--resize-root-window.
21356 (resize-root-window-vertically): Rename to
21357 window--resize-root-window-vertically.
21358 (normalize-buffer-to-display): Rename to
21359 window-normalize-buffer-to-display.
21360 (normalize-buffer-to-switch-to): Rename to
21361 window-normalize-buffer-to-switch-to.
21362 Correspondingly update all callers of the functions listed
21364 (display-buffer-alist, display-buffer-normalize-arguments)
21365 (display-buffer-normalize-options, display-buffer)
21366 (display-buffer-alist-set): Use "function" instead of
21369 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21371 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21372 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21373 debbugs.gnu.org. Mention acknowledgment email.
21375 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21377 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21378 buffer multibyteness, since it shouldn't matter.
21380 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21382 * window.el (display-buffer-in-side-window): Handle dedicated
21383 windows as in display-buffer-reuse-window.
21384 (display-buffer-normalize-alist): Use value of override
21386 (display-buffer-normalize-specifiers): Use value of
21387 other-window-means-other-frame specifier.
21388 (display-buffer-alist): Rewrite some texts in widgets.
21389 (display-buffer): Spread arguments when calling function
21390 specified by fun-with-args.
21392 2011-06-28 Deniz Dogan <deniz@dogan.se>
21394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21397 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21398 selectors (Bug#5732).
21399 (css-proprietary-nmstart-re): Use `regexp-opt'.
21401 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21403 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21404 (eshell-ls-date-format): New defcustom.
21405 (eshell-ls-file): Use it.
21407 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21409 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21411 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21413 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21414 (ange-ftp-make-tmp-name): New arg.
21415 (ange-ftp-file-local-copy): Use it.
21417 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21419 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21420 no-conversion (Bug#8870).
21422 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21424 * window.el (window-right, window-left, window-child)
21425 (window-child-count, window-last-child)
21426 (window-iso-combination-p, walk-window-tree-1)
21427 (window-atom-check-1, window-tree-1, delete-window)
21428 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21429 new naming conventions - window-vchild, window-hchild,
21430 window-next and window-prev are now called window-top-child,
21431 window-left-child, window-next-sibling and window-prev-sibling
21433 (resize-window-reset): Rename to window-resize-reset.
21434 (resize-window-reset-1): Rename to window-resize-reset-1.
21435 (resize-window): Rename to window-resize.
21436 (window-min-height, window-min-width)
21437 (resize-mini-window, resize-this-window, resize-root-window)
21438 (resize-root-window-vertically, adjust-window-trailing-edge)
21439 (enlarge-window, shrink-window, maximize-window)
21440 (minimize-window, delete-window, quit-restore-window)
21441 (split-window, balance-windows, balance-windows-area-adjust)
21442 (balance-windows-area, window-state-put-2)
21443 (display-buffer-even-window-sizes, display-buffer-set-height)
21444 (display-buffer-set-width, set-window-text-height)
21445 (fit-window-to-buffer): Rename all "resize-window" prefixed
21446 calls to use the "window-resize" prefix convention.
21447 (display-buffer-alist): Fix symbol for label specifier.
21448 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21449 corresponding specifier.
21450 Reported by Juanma Barranquero <lekktu@gmail.com>.
21452 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21454 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21456 (ses-call-printer): Does not pass an empty string to formatter when the
21457 cell is empty to keep from barking printer Calc math-format-value.
21459 2011-06-27 Richard Stallman <rms@gnu.org>
21461 * battery.el (battery-mode-line-limit): New variable.
21462 (battery-update): Handle it.
21464 * mail/rmailmm.el (rmail-mime-process-multipart):
21465 Handle truncated messages.
21467 2011-06-27 Glenn Morris <rgm@gnu.org>
21469 * progmodes/flymake.el (flymake-err-line-patterns):
21470 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21472 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21474 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21475 (ses--clean-!, ses--clean-_): New functions.
21476 (ses-range): Add configurability of readout order, and conversion
21479 * ses.el (ses-repair-cell-reference-all): New function.
21480 (ses-cell-symbol): Set macro as safe, so that it can be used in
21483 * ses.el: Update cycle detection algorithm.
21484 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21485 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21486 (ses-set-localvars): New function.
21487 (ses-make-cell): Add property-list as a cell element.
21488 (ses-cell-property-get-fun, ses-cell-property-get)
21489 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21490 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21492 (ses-cell-property-set, ses-cell-property-pop)
21493 (ses-cell-property-get-handle): New macro.
21494 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21495 New aliases, used for code readability.
21496 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21498 (ses-self-reference-early-detection): New defcustom.
21499 (ses-formula-references): Robustify against self-referring cells.
21500 (ses-mode): Use ses-set-localvars.
21501 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21502 before lauching the update processing.
21503 (ses-initialize-Dijkstra-attempt): New function.
21504 (ses-recalculate-cell): Update for cycle detection based on
21505 Dijkstra algorithm.
21507 * ses.el: Fix commenting and indenting convention.
21509 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21511 * bs.el (bs-cycle-next): Complete last change.
21513 2011-06-27 Drew Adams <drew.adams@oracle.com>
21515 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21517 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21519 * net/network-stream.el (network-stream-open-starttls):
21520 Don't re-get capabilities unless we've reestablished connection.
21521 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21523 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21524 to binary to possibly avoid line encoding issues on Windows (among
21527 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21529 * net/network-stream.el (open-network-stream): Return an :error
21530 saying what the problem was, if possible.
21532 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21535 * net/network-stream.el (network-stream-open-starttls): If we
21536 wanted to use STARTTLS, and the server offered it, but we weren't
21537 able to because we had no STARTTLS support, then close the connection.
21538 (open-network-stream): Return an :error element, if present.
21540 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21542 * hl-line.el (hl-line-sticky-flag): Doc fix.
21543 (global-hl-line-sticky-flag): New option (Bug#8323).
21544 (global-hl-line-highlight): Obey it.
21546 * vc/vc.el (vc-revert-show-diff): Default to t.
21548 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21550 * allout-widgets.el (allout-widgets-post-command-business):
21551 Stop decorating intermediate isearch matches. They're not being
21552 undecorated when an isearch is continued past, and isearch
21553 automatically collapses them. This leads to "widget leaks", where
21554 decorated items accumulate in collapsed areas. Lines with lots of
21555 hidden widgets can slow down cursor travel, substantially.
21556 Too much complicated machinery would be needed to ensure undecoration,
21557 so we're doing without this nicety.
21559 (allout-widgets-tally-string): Don't try to do a hash-table-count
21560 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21561 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21562 *Messages* when allout-widgets-maintain-tally is t.
21564 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21566 * window.el (display-buffer-normalize-argument): Rename to
21567 display-buffer-normalize-arguments. Handle special meaning of
21568 LABEL argument. Respect special-display-function when popping up
21569 a new frame. Fix code searching for a window showing the buffer
21571 (display-buffer-normalize-specifiers):
21572 Call display-buffer-normalize-arguments.
21573 (display-buffer-in-window): Don't undedicate the window if its
21574 buffer remains the same.
21575 Reported by Drew Adams <drew.adams@oracle.com>.
21576 (display-buffer-alist): Add choice for same-window macro
21578 (display-buffer): Mention special meaning of LABEL argument in
21579 doc-string. Fix quoting. Don't pop up a new frame even as
21582 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21584 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21585 avoid deleting the current window in some cases (bug#8911).
21587 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21589 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21592 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21594 * net/network-stream.el (network-stream-open-starttls):
21595 Use built-in TLS support if `gnutls-available-p' is true.
21596 (network-stream-open-tls): Ditto.
21598 2011-06-26 Leo Liu <sdl.web@gmail.com>
21600 * register.el (registerv): New struct.
21601 (registerv-make): New function.
21602 (jump-to-register, describe-register-1, insert-register):
21603 Support the jump-func, print-func and insert-func slot of a registerv
21606 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21608 * vc/vc.el (vc-revert-show-diff): New defcustom.
21609 (vc-diff-internal): New arg specifying diff buffer.
21610 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21611 reuse an existing *vc-diff* buffer (Bug#8927).
21613 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21615 2011-06-26 Glenn Morris <rgm@gnu.org>
21617 * progmodes/f90.el (f90-critical-indent): New option.
21618 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21619 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21620 (f90-mode): Doc fix.
21621 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21622 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21623 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21624 (f90-match-end): Handle block, critical.
21626 2011-06-25 Glenn Morris <rgm@gnu.org>
21628 * calendar/diary-lib.el (diary-included-files): Doc fix.
21629 (diary-include-files): New function, extracted from
21630 diary-include-other-diary-files and diary-mark-included-diary-files.
21631 (diary-include-other-diary-files, diary-mark-included-diary-files):
21632 Just call diary-include-files.
21633 (diary-mark-entries): Reset diary-included-files on first call.
21635 * calendar/diary-lib.el (diary-mark-entries)
21636 (diary-mark-included-diary-files):
21637 Visit included diary-files in temp buffers.
21639 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21640 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21641 (f90-start-block-re, f90-imenu-generic-expression)
21642 (f90-looking-at-program-block-start, f90-no-block-limit):
21643 Add support for submodules.
21645 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21646 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21648 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21650 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21651 buffer-file-type before setting its value, to avoid disastrous
21652 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21654 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21656 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21658 * ses.el (ses-unload-function):
21659 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21661 * proced.el (proced-unload-function):
21662 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21664 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21666 * server.el (server-create-window-system-frame): Add parameters arg.
21667 (server-process-filter): Doc fix. Handle frame-parameters.
21669 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21671 Fix bug#8730, bug#8781.
21673 * loadhist.el (unload--set-major-mode): New function.
21674 (unload-feature): Use it.
21676 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21677 (python-unload-function): New function.
21679 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21681 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21683 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21685 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21686 the candidates list.
21688 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21690 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21692 2011-06-23 Richard Stallman <rms@gnu.org>
21694 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21695 (rmail-variables): Set next-error-move-function.
21696 (rmail-what-message): Take argument POS.
21697 (rmail-next-error-move): New function.
21699 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21701 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21702 messages for adjacent non-terminals.
21704 2011-06-23 Richard Stallman <rms@gnu.org>
21706 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21707 (rmail-show-message-1): Preserve buffer modified flag.
21708 (rmail-start-mail): Don't specify use of rmail-mail-return;
21709 that's done by mail-bury now.
21710 (rmail-mail-return): Handle arg NEWBUF.
21712 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21714 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21717 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21719 * window.el (get-lru-window, get-mru-window)
21720 (get-largest-window): Never return a minibuffer window.
21721 (display-buffer-pop-up-window): Fix a bug that could lead to
21722 reusing the minibuffer window.
21723 (display-buffer): Pass original specifier argument to
21724 display-buffer-function instead of the normalized one.
21725 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21727 2011-06-22 Leo Liu <sdl.web@gmail.com>
21729 * minibuffer.el (completing-read-function)
21730 (completing-read-default): Move from minibuf.c.
21732 2011-06-22 Richard Stallman <rms@gnu.org>
21734 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21735 to Rmail even if not started by a special Rmail command.
21737 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21738 Copy the buffer currently showing just one message.
21740 2011-06-22 Roland Winkler <winkler@gnu.org>
21742 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21743 (bibtex-clean-entry): First delete the old key so that a
21744 customized algorithm for generating the new key does not get
21745 confused by the old key.
21746 (bibtex-url): Obey regexp of first step.
21747 (bibtex-search-entries): Do not use add-to-list with local
21750 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21752 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21753 stored a user name, then query for the password first, instead of
21754 waiting for SMTP to give an error message and the trying again.
21756 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21758 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21759 BUFFER in call-process.
21761 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21763 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21765 (smtpmail-try-auth-methods): Require user name and password from
21768 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21770 * window.el (display-buffer-default-specifiers)
21771 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21772 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21773 (split-window): Normalize SIDE argument (Bug#8916).
21775 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21776 (special-display-frame-alist, special-display-popup-frame):
21777 Remove duplicate declarations. These are now in window.el.
21779 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21781 * mail/smtpmail.el (smtpmail-via-smtp):
21782 Set :use-starttls-if-possible so that we always use STARTTLS if the
21783 server supports it. SMTP servers that support STARTTLS commonly
21786 * net/network-stream.el (network-stream-open-starttls): Support
21787 upgrading to STARTTLS always, even if we don't have built-in support.
21788 (open-network-stream): Add the :always-query-capabilities keyword.
21790 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21791 upgrades with `open-network-stream', and rely solely on
21792 auth-source for all credentials. Big changes throughout the file,
21794 (smtpmail-auth-credentials): Remove.
21795 (smtpmail-starttls-credentials): Remove.
21796 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21799 * net/network-stream.el (network-stream-open-starttls):
21800 Provide support for client certificates both for external and built-in
21802 (auth-source): Require.
21803 (open-network-stream): Document the :client-certificate keyword.
21804 (network-stream-certificate): Change cert-cert to cert and
21807 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21809 * net/tramp-cache.el (top): Don't load the persistency file when
21810 "emacs -Q" has been called.
21812 2011-06-21 Tim Harper <timcharper@gmail.com>
21814 * term/ns-win.el (ns-initialize-window-system):
21815 Set application-specific `ApplePressAndHoldEnabled' system
21816 resource to NO as it is not yet supported by the NS port.
21818 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21820 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21821 (list-dynamic-libraries): ...not here.
21823 2011-06-21 Leo Liu <sdl.web@gmail.com>
21825 * subr.el (sha1): Implement sha1 using secure-hash.
21827 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21829 * window.el (display-buffer-alist): In default value do not
21830 enforce searching a window on any but the selected frame.
21831 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21832 (display-buffer-select-window): Remove function.
21833 (display-buffer-in-window): When a window on another frame gets
21834 reused, do not select it any more but just raise its frame if
21835 necessary (Bug#8851) and (Bug#8856).
21836 (display-buffer-normalize-options): Handle pop-up-frames related
21837 options more faithfully.
21838 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21839 window if it is on another frame.
21840 (display-buffer-alist, display-buffer-default-specifiers):
21841 Don't make new frame unsplittable by default.
21842 (display-buffer-normalize-argument): Fix doc-string typo and use
21843 'same-frame-other-window instead of 'other-window when associating
21844 with display-buffer-macro-specifiers.
21846 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21848 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21850 (5x5-mode-map, 5x5-mode-menu): Bind them.
21851 (5x5-draw-grid): Tweak the solver's rendering.
21853 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21855 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21856 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21858 2011-06-21 Drew Adams <drew.adams@oracle.com>
21860 * menu-bar.el: Use function variable instead of switch-to-buffer.
21861 (menu-bar-select-buffer-function): New variable.
21862 (menu-bar-update-buffers): Use it (bug#8876).
21864 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21866 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21869 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21871 * x-dnd.el (x-dnd-version-from-flags)
21872 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21873 and long as number (Bug#8899).
21874 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21876 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21878 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21879 (completion-try-completion, completion-all-completions): Compute the
21880 metadata argument if it's missing; make it optional (bug#8795).
21882 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21883 (widget-complete): Use new :completion-function property.
21884 (widget-completions-at-point): New function.
21885 (default): Use :completion-function instead of :complete.
21886 (widget-default-completions): Rename from widget-default-complete;
21888 (widget-string-complete, widget-file-complete, widget-color-complete):
21890 (file, symbol, function, variable, coding-system, color):
21891 * international/mule-cmds.el (default-input-method, charset)
21892 (language-info-custom-alist):
21893 * cus-edit.el (face): Use new property :completions.
21895 * progmodes/pascal.el (pascal-completions-at-point): New function.
21896 (pascal-mode): Use it.
21897 (pascal-mode-map): Use completion-at-point.
21898 (pascal-toggle-completions): Make obsolete.
21899 (pascal-complete-word, pascal-show-completions):
21900 * progmodes/octave-mod.el (octave-complete-symbol):
21901 Redefine as obsolete alias.
21902 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21903 Signal absence of completion info for old Octave,
21904 (inferior-octave-complete): Redefine as obsolete alias.
21905 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21906 (meta-completions-at-point): Rename from meta-complete-symbol and
21907 adapt it for use on completion-at-point-functions.
21908 (meta-common-mode): Use it.
21909 (meta-looking-at-backward, meta-match-buffer): Remove.
21910 (meta-complete-symbol): Redefine as obsolete alias.
21911 (meta-common-mode-map): Use completion-at-point.
21912 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21913 (makefile-mode-map): Use completion-at-point.
21914 (makefile-completions-at-point): Rename from makefile-complete and
21915 adapt it for use on completion-at-point-functions.
21916 (makefile-mode): Use it.
21917 (makefile-complete): Redefine as obsolete alias.
21919 2011-06-20 Deniz Dogan <deniz@dogan.se>
21921 * net/rcirc.el: Delete trailing whitespaces once and for all.
21923 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21925 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21927 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21929 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21931 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21933 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21935 * window.el (display-buffer-other-window-means-other-frame):
21936 Call display-buffer-normalize-alist.
21937 (display-buffer-normalize-specifiers-1): Rename to
21938 display-buffer-normalize-argument. New argument other-frame.
21940 (display-buffer-normalize-specifiers-2): Rename to
21941 display-buffer-normalize-options.
21942 (display-buffer-normalize-alist-1): New function.
21943 (display-buffer-normalize-specifiers-3): Rename to
21944 display-buffer-normalize-alist.
21945 Call display-buffer-normalize-alist-1.
21946 (display-buffer-normalize-options-inhibit): New variable.
21947 (display-buffer-normalize-specifiers): Rewrite calling
21948 display-buffer-normalize-alist,
21949 display-buffer-normalize-argument, and
21950 display-buffer-normalize-options. Don't call the latter if
21951 display-buffer-normalize-options-inhibit is non-nil.
21952 (frame-auto-delete): New option.
21953 (window-deletable-p): Use frame-auto-delete.
21954 (window-list-no-nils, window-state-ignored-parameters)
21955 (window-state-get-1, window-state-get, window-state-put-list)
21956 (window-state-put-1, window-state-put-2, window-state-put):
21958 (display-buffer-normalize-options): Move special-display-p group
21959 after pop-up-frame group (Bug#8851) and (Bug#8856).
21961 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21963 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21965 (rx-submatch-n): New function.
21968 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21971 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21973 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21975 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21976 anytime existing face settings are present (Bug#8889).
21978 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21979 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21980 Remove unused argument.
21982 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21984 * window.el (display-buffer-default-specifiers):
21985 Remove pop-up-frame. Add pop-up-window-min-height,
21986 pop-up-window-min-width, and another reuse-window specifier
21987 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21988 (display-buffer-normalize-specifiers-2):
21989 Handle split-height-threshold and split-width-threshold also when
21990 pop-up-windows is unset. Add a reuse-window specifier for the
21991 case popping up a new window fails.
21992 (special-display-popup-frame): Remove double quoting.
21993 (display-buffer-normalize-specifiers-1): Fix thinko.
21995 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21997 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21998 according to comint-completion-addsuffix.
22000 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22001 (pcomplete-suffix-list): Mark as obsolete.
22002 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22003 pcomplete-seen in the closure.
22004 (pcomplete-comint-setup): Setup completion-at-point as well.
22005 (pcomplete--entries): New function.
22006 (pcomplete--env-regexp): New var.
22007 (pcomplete-entries): Rewrite to work with partial-completion and
22008 without relying on pcomplete-suffix-list.
22009 (pcomplete-pare-list): Remove, unused.
22011 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22013 * window.el (display-buffer-alist): Set pop-up-window-min-height
22014 and pop-up-window-min-width in default value. Reported by
22015 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22016 other-window-means-other-frame.
22017 (display-buffer-macro-specifiers): Comment out entry for
22018 other-window specifier.
22019 (display-buffer-other-window-means-other-frame): New function.
22020 (display-buffer-normalize-specifiers-1): New arguments
22021 buffer-name and label. Treat other-window case specially.
22022 (display-buffer-normalize-specifiers-2): Treat other-window case
22024 (display-buffer-normalize-specifiers-3): New function.
22025 (display-buffer-normalize-specifiers):
22026 Call display-buffer-normalize-specifiers-3.
22028 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22030 * window.el (same-window-p): Fix two typos introduced when
22031 adding with-no-warnings.
22032 (display-buffer-normalize-specifiers-1): Don't check
22033 pop-up-frames for 'unset initialization.
22034 (display-buffer-normalize-specifiers-2): Major rewrite using
22035 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22036 (pop-up-frames, display-buffer-reuse-frames)
22037 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22038 Suggested by David Engster <deng@randomsample.de>.
22039 (even-window-heights): Initialize to 'unset.
22040 (display-buffer-alist-set): Handle new 'unset initializations.
22041 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22044 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22046 * window.el (display-buffer-normalize-specifiers-1):
22047 Respect current value of pop-up-frames for most reasonable values of
22048 second argument of display-buffer (Bug#8865).
22049 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22050 (switch-to-buffer-other-window-same-frame)
22051 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22053 (display-buffer): Don't check noninteractive when calling
22054 display-buffer-pop-up-frame.
22055 (display-buffer-pop-up-frame): Never pop up a frame in
22056 noninteractive mode (Bug#8857).
22057 (enlarge-window, shrink-window): Don't report an error when the
22058 window can't be resized as requested (Bug#8862).
22060 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22062 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22064 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22066 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22068 2011-06-15 Alan Mackenzie <acm@muc.de>
22070 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22071 for declarators, disable knr checking to speed up for normal files.
22072 2: Refactor, replacing a sequence of nested if forms by a cond form.
22074 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22076 * net/network-stream.el (open-network-stream): Add the keyword
22077 :always-query-capabilities for the case where you want to force a
22078 `plain' network connection, but the protocol still requires the
22079 capabilitiy command (i.e., SMTP and EHLO).
22081 * subr.el (process-live-p): Rename from `process-alive-p' for
22082 consistency with other `-live-p' functions.
22084 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22086 * window.el (same-window-buffer-names, same-window-regexps)
22087 (special-display-frame-alist, special-display-popup-frame)
22088 (special-display-function, special-display-buffer-names)
22089 (special-display-regexps, pop-up-frame-alist)
22090 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22091 (pop-up-windows, split-window-preferred-function)
22092 (split-height-threshold, split-width-threshold, even-window-heights)
22093 (display-buffer-mark-dedicated): Don't encourage the use of
22094 display-buffer-alist from Elisp code.
22096 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22098 * progmodes/python.el (python-mode): Derive from prog-mode.
22099 * progmodes/ps-mode.el (ps-mode):
22100 * progmodes/mixal-mode.el (mixal-mode):
22101 * progmodes/cfengine.el (cfengine-mode):
22102 * progmodes/ld-script.el (ld-script-mode): Likewise.
22104 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22106 * window.el (display-buffer-alist): Trim default value to avoid
22107 popping up a new frame (Bug#8857) or reusing an arbitrary window
22109 (display-buffer): Do not fall back on popping up a new frame in
22110 batch mode (Bug#8857).
22112 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22114 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22115 (custom-theme-summary): New function.
22116 (customize-themes): Use it.
22118 2011-06-13 Glenn Morris <rgm@gnu.org>
22120 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22122 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22124 * help.el (help-window): Remove variable.
22125 (help-window-point-marker, temp-buffer-max-height)
22126 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22127 (help-print-return-message): Don't set help-window.
22128 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22129 (help-window-setup-finish): Remove.
22130 (help-window-display-message, help-window-setup)
22131 (with-help-window): Major rewrite based on new
22132 display-buffer-window variable.
22134 * help-mode.el (help-mode-finish): Remove help-window related
22137 * view.el (view-exits-all-viewing-windows): Remove reference to
22138 view-return-to-alist in doc-string.
22139 (view-return-to-alist): Make obsolete.
22140 (view-buffer): Call pop-to-buffer-same-window and remove
22142 (view-buffer-other-window): Call pop-to-buffer-other-window and
22143 simplify code. Ignore second argument.
22144 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22145 simplify code. Ignore second argument.
22146 (view-return-to-alist-update): Make obsolete.
22147 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22148 Rewrite using quit-restore window parameters.
22149 (view-mode-exit): Rename second argument to EXIT-ONLY.
22150 Rewrite using quit-restore-window.
22151 (View-exit, View-exit-and-edit, View-leave, View-quit)
22152 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22153 appropriate arguments.
22154 (view-end-message): Use quit-restore window parameter.
22156 * window.el (display-buffer-function): Rewrite doc-string.
22157 (display-buffer-window, display-buffer-alist): New variables.
22158 (display-buffer-split-specifiers)
22159 (display-buffer-side-specifiers)
22160 (display-buffer-macro-specifiers): New constants.
22161 (display-buffer-even-window-sizes, display-buffer-set-height)
22162 (display-buffer-set-width, display-buffer-select-window)
22163 (display-buffer-in-window, display-buffer-reuse-window)
22164 (display-buffer-split-window-1, display-buffer-split-window)
22165 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22166 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22167 (display-buffer-in-side-window, normalize-buffer-to-display)
22168 (display-buffer-normalize-specifiers-1)
22169 (display-buffer-normalize-specifiers-2)
22170 (display-buffer-normalize-specifiers, display-buffer-frame):
22172 (display-buffer): Major rewrite.
22173 (display-buffer-other-window, display-buffer-other-frame)
22174 (pop-to-buffer, switch-to-buffer-other-window)
22175 (switch-to-buffer-other-frame): Rewrite.
22176 (display-buffer-same-window, display-buffer-same-frame)
22177 (display-buffer-same-frame-other-window)
22178 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22179 (pop-to-buffer-other-window)
22180 (pop-to-buffer-same-frame-other-window)
22181 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22182 (switch-to-buffer-other-window-same-frame): New functions.
22183 (same-window-p, special-display-p): Rewrite disabling warnings.
22185 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22186 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22188 (same-window-buffer-names, same-window-regexps)
22189 (special-display-frame-alist, special-display-popup-frame)
22190 (special-display-function, special-display-buffer-names)
22191 (special-display-regexps, pop-up-frame-alist)
22192 (pop-up-frame-function, split-window-preferred-function)
22193 (split-height-threshold, split-width-threshold)
22194 (even-window-heights): Make obsolete.
22196 2011-06-12 Glenn Morris <rgm@gnu.org>
22198 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22199 Misc simplifications.
22201 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22203 * window.el (window-safely-shrinkable-p): Restore function which
22204 was inadvertently removed in change from 2011-06-11. Declare as
22207 * calendar/calendar.el (calendar-generate-window):
22208 Use window-iso-combined-p instead of combination of one-window-p and
22209 window-safely-shrinkable-p.
22211 2011-06-12 Glenn Morris <rgm@gnu.org>
22213 * progmodes/fortran.el (fortran-mode-syntax-table):
22214 * progmodes/f90.el (f90-mode-syntax-table):
22215 Set % to punctuation. (Bug#8820)
22216 (f90-find-tag-default): Remove, no longer needed.
22218 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22220 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22222 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22224 * image.el (image-animated-p): Return animation delay in seconds.
22225 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22226 (image-animate-timeout): Remove DELAY argument. Don't assume
22227 every subimage has the same delay; get it from image-animated-p.
22228 (image-animate): Caller changed.
22230 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22232 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22233 to ignored backtrace functions.
22235 2011-06-11 Glenn Morris <rgm@gnu.org>
22237 * calendar/appt.el (appt-disp-window-function): Doc fix.
22238 (appt-check): Handle overlapping appointments. (Bug#8337)
22240 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22242 * window.el (window-tree-1, window-tree): New functions, moving
22243 the latter to window.el.
22244 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22245 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22246 (bw-refresh-edges): Remove.
22247 (balance-windows-1, balance-windows-2): New functions.
22248 (balance-windows): Rewrite in terms of window tree functions,
22249 balance-windows-1 and balance-windows-2.
22250 (bw-adjust-window): Remove.
22251 (balance-windows-area-adjust): New function with functionality of
22252 bw-adjust-window but using resize-window.
22253 (set-window-text-height): Rewrite doc-string.
22254 Use normalize-live-window and resize-window.
22255 (enlarge-window-horizontally, shrink-window-horizontally):
22256 Rename argument to DELTA.
22257 (window-buffer-height): New function.
22258 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22259 Rewrite using new window resize routines.
22260 (kill-buffer-and-window, mouse-autoselect-window-select):
22261 Use ignore-errors instead of condition-case.
22262 (quit-window): Call delete-frame instead of delete-windows-on
22263 for the only buffer on frame.
22265 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22267 * loadup.el (top-level): Load window before files for the sake
22268 of replace-buffer-in-windows.
22270 * files.el (read-buffer-to-switch)
22271 (switch-to-buffer-other-window)
22272 (switch-to-buffer-other-frame, display-buffer-other-frame):
22275 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22276 (previous-buffer): Move to window.el.
22278 * bindings.el (unbury-buffer): Move to window.el.
22280 * window.el (delete-other-windows-vertically): Move after
22281 definition of delete-other-windows.
22282 (other-window, delete-windows-on, replace-buffer-in-windows):
22283 Move here from window.c.
22284 (record-window-buffer, unrecord-window-buffer)
22285 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22286 (switch-to-next-buffer): New functions.
22287 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22288 from simple.el. Call switch-to-next-buffer.
22289 (previous-buffer): Move here from simple.el.
22290 Call switch-to-prev-buffer.
22291 (bury-buffer): Move here from buffer.c. Switch to previous
22292 buffer when window cannot be deleted.
22293 (unbury-buffer): Move here from bindings.el.
22294 (ctl-x-map): Move binding for other-window from window.c to
22296 (read-buffer-to-switch, switch-to-buffer-other-window)
22297 (switch-to-buffer-other-frame): Move here from files.el.
22298 (normalize-buffer-to-switch-to): New functions.
22299 (switch-to-buffer): Move here from buffer.c.
22300 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22302 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22304 * window.el (window-min-height, window-min-width): Move here
22305 from window.c. Add defcustoms and rewrite doc-strings.
22306 (resize-mini-window, resize-window): New functions.
22307 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22308 Move here from window.c.
22309 (maximize-window, minimize-window): New functions.
22310 (delete-window, delete-other-windows, split-window): Move here
22312 (window-split-min-size): New function.
22313 (split-window-keep-point): Mention split-window-above-each-other
22314 instead of split-window-vertically.
22315 (split-window-above-each-other, split-window-vertically):
22316 Rename split-window-vertically to split-window-above-each-other
22317 and provide defalias for old definition.
22318 (split-window-side-by-side, split-window-horizontally):
22319 Rename split-window-horizontally to split-window-side-by-side
22320 and provide defalias for the old definition.
22321 (ctl-x-map): Move bindings for delete-window,
22322 delete-other-windows and enlarge-window here from window.c.
22323 Replace bindings for split-window-vertically and
22324 split-window-horizontally by bindings for
22325 split-window-above-each-other and split-window-side-by-side.
22327 * cus-start.el (all): Remove entries for window-min-height and
22328 window-min-width. Add entries for window-splits and
22331 2011-06-09 Glenn Morris <rgm@gnu.org>
22333 * calendar/appt.el (appt-mode-line): New function.
22334 (appt-check, appt-disp-window): Use it.
22336 * files.el (hack-one-local-variable-eval-safep):
22337 Allow minor-modes with explicit +/-1 arguments.
22339 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22341 * term/xterm.el (xterm): Add defgroup.
22342 (xterm-extra-capabilities): Add defcustom to supply known xterm
22343 capabilities, skip querying them, or query them (default).
22344 (terminal-init-xterm): Use it.
22345 (terminal-init-xterm-modify-other-keys): New function to set up
22346 modifyOtherKeys support to simplify `terminal-init-xterm'.
22348 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22350 * window.el (resize-window-reset, resize-window-reset-1)
22351 (resize-subwindows-skip-p, resize-subwindows-normal)
22352 (resize-subwindows, resize-other-windows, resize-this-window)
22353 (resize-root-window, resize-root-window-vertically)
22354 (window-deletable-p, window-or-subwindow-p)
22355 (frame-root-window-p): New functions.
22357 2011-06-09 Glenn Morris <rgm@gnu.org>
22359 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22360 (ange-ftp-get-files): Use it.
22362 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22364 * mail/sendmail.el (mail-recover-1, mail-recover):
22365 * files.el (recover-file, recover-session):
22366 Handle dired-listing-switches not being just a single short option.
22368 2011-06-09 Glenn Morris <rgm@gnu.org>
22370 * calendar/appt.el (appt-display-message, appt-disp-window):
22371 Handle lists of appointments.
22373 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22375 * window.el (one-window-p): Move down in code.
22376 Rewrite doc-string.
22377 (window-current-scroll-bars): Rewrite doc-string.
22378 Normalize live window argument.
22379 (walk-windows, get-window-with-predicate, count-windows):
22380 Rewrite doc-string. Use window-list-1.
22381 (window-in-direction-2, window-in-direction, get-mru-window):
22384 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22386 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22387 Doc fix (Bug#8713).
22389 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22391 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22393 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22395 * loadhist.el (unload-feature-special-hooks):
22396 Add `comint-output-filter-functions'.
22398 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22400 * calendar/appt.el (appt-check): Move some initializations into the let.
22402 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22404 * window.el (window-height): Defalias to window-total-height.
22405 (window-width): Defalias to window-body-width.
22407 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22409 * image-mode.el (image-toggle-animation): New command.
22410 (image-mode-map): Bind it to RET.
22411 (image-mode): Update message.
22412 (image-toggle-display-image): Avoid a spurious cache flush.
22413 (image-transform-rotation): Doc fix.
22414 (image-transform-properties): Return quickly in the normal case.
22415 (image-animate-loop): Rename from image-animate-max-time.
22417 * image.el (image-animate-max-time): Move to image-mode.el.
22418 (create-animated-image): Remove unnecessary function.
22419 (image-animate): Rename from image-animate-start. New arg.
22420 (image-animate-stop): Remove; just use image-animate-timer.
22421 (image-animate-timer): Use car-safe.
22422 (image-animate-timeout): Rename argument.
22424 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22426 * window.el (get-lru-window, get-largest-window): Move here from
22427 window.c. Rename first argument to ALL-FRAMES.
22428 Rephrase doc-strings.
22429 (get-buffer-window-list): Rewrite using window-list-1.
22430 Rephrase doc-string.
22431 (window-safe-min-height, window-safe-min-width): New constants.
22432 (window-size-ignore, window-min-size, window-min-size-1)
22433 (window-sizable, window-sizable-p, window-size-fixed-1)
22434 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22435 (window-max-delta-1, window-max-delta, window-resizable)
22436 (window-resizable-p, window-total-height, window-total-width)
22437 (window-body-width): New functions.
22438 (window-full-height-p, window-full-width-p): Rewrite using
22440 (window-body-height): Rewrite using window-body-size.
22442 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22444 * window.el (window-right, window-left, window-child)
22445 (window-child-count, window-last-child, window-any-p)
22446 (normalize-live-buffer, normalize-live-frame)
22447 (normalize-any-window, normalize-live-window)
22448 (window-iso-combination-p, window-iso-combined-p)
22449 (window-iso-combinations)
22450 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22451 (windows-with-parameter, window-with-parameter)
22452 (window-atom-root, make-window-atom, window-atom-check-1)
22453 (window-atom-check, window-side-check, window-check):
22455 (ignore-window-parameters, window-sides, window-sides-vertical)
22456 (window-sides-slots): New variables.
22457 (window-size-fixed): Move down in code. Minor doc-string fix.
22459 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22461 * comint.el (comint-dynamic-complete-as-filename)
22462 (comint-dynamic-complete-filename): Correctly call
22463 completion-in-region.
22465 2011-06-05 Deniz Dogan <deniz@dogan.se>
22467 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22470 2011-06-05 Deniz Dogan <deniz@dogan.se>
22472 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22473 (rcirc): Use it to prompt for encryption.
22475 2011-06-05 Roland Winkler <winkler@gnu.org>
22477 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22478 (bibtex-search-entries): New command bound to C-c C-a.
22479 (bibtex-display-entries): New function.
22481 2011-06-05 Roland Winkler <winkler@gnu.org>
22483 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22484 (bibtex-insert-kill): After yanking insert newline if necessary.
22485 (bibtex-initialize): Call bibtex-string-files-init only once.
22486 (bibtex-mode): Do not call easy-menu-add.
22487 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22488 (bibtex-yank): Set arg properly if nil.
22490 2011-06-05 Roland Winkler <winkler@gnu.org>
22492 * textmodes/bibtex.el (bibtex-search-entry-globally):
22494 (bibtex-search-entry): Use it.
22496 2011-06-05 Roland Winkler <winkler@gnu.org>
22498 * textmodes/bibtex.el (bibtex-entry-format): New option
22500 (bibtex-format-entry, bibtex-reformat): Honor this option.
22501 (bibtex-parse-entry): Return fields in proper order.
22503 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22505 * doc-view.el (doc-view-remove-if): Move computation of result out
22506 of `dolist' to silence misleading lexical-binding warning.
22508 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22510 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22511 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22513 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22515 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22518 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22520 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22521 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22522 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22523 (tramp-parse-putty):
22524 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22525 (tramp-completion-function-alist-ssh)
22526 (tramp-completion-function-alist-telnet)
22527 (tramp-completion-function-alist-su)
22528 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22531 * net/tramp-ftp.el:
22533 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22534 load "tramp.el" `tramp-set-completion-function'.
22536 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22538 * shell.el: Require and use pcomplete.
22539 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22540 (shell-completion-vars): Set pcomplete-default-completion-function.
22542 2011-06-04 Deniz Dogan <deniz@dogan.se>
22544 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22547 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22549 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22551 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22553 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22554 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22555 * vc/log-view.el (log-view-beginning-of-defun):
22556 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22557 (smerge-refine-forward, smerge-refine-chopup-region):
22558 Silence warning for unused `dotimes' counter variables.
22560 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22562 * net/tramp.el (tramp-with-progress-reporter): Rename from
22563 with-progress-reporter. Use `declare'.
22564 * net/tramp-smb.el:
22566 * net/tramp-gvfs.el: Update all uses.
22568 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22570 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22571 buffer isn't killed before making it current.
22573 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22575 Silence various byte-compiler warnings.
22576 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22577 `access-type' and new obsolescence format.
22578 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22580 (byte-compile-check-variable): New `access-type' argument.
22581 Only warn if the access-type is obsolete.
22582 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22583 (byte-compile-variable-set): Adjust callers.
22584 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22585 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22586 setting it as obsolete.
22587 * simple.el (minibuffer-completing-symbol):
22588 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22589 access as obsolete.
22590 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22592 * international/quail.el (quail-mouse-choose-completion): Remove unused
22593 code referring to obsolete var.
22594 (quail-choose-completion-string): Remove.
22595 * server.el (server-clients-with, server-kill-buffer-query-function)
22596 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22597 * proced.el (proced-send-signal):
22598 * emacs-lisp/lisp.el (lisp-complete-symbol):
22599 Replace completion-annotate-function with completion-extra-properties.
22601 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22603 * simple.el (goto-line): Use read-number.
22604 (overriding-map-is-bound): Remove.
22605 (saved-overriding-map): Change default.
22606 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22607 Take the map as argument.
22608 (universal-argument, negative-argument, digit-argument): Use it.
22609 (restore-overriding-map): Adjust.
22610 (do-auto-fill): Use fill-forward-paragraph.
22611 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22613 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22614 (minibuffer-inactive-mode): New major mode.
22615 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22616 the *Messages* buffer" hack.
22617 (mouse-popup-menubar): Don't burp if the event is a normal key.
22619 Miscellaneous tweaks.
22620 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22621 lexical scoping as in subr.el's dolist and dotimes.
22622 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22623 Silence compiler warning.
22624 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22625 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22626 * international/ccl.el (ccl-compile): Trivial simplification.
22627 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22628 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22629 `printflag' argument.
22630 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22631 Purecopy the whole obsolescence data.
22633 2011-06-01 Leo Liu <sdl.web@gmail.com>
22635 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22636 improve doc-string as suggested by Marco Pessotto
22637 <melmothx@gmail.com>.
22638 (rcirc-print): Fix last change.
22640 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22642 * minibuffer.el (complete-with-action): Return nil for the metadata and
22643 boundaries of non-functional tables.
22644 (completion-table-dynamic): Return nil for the metadata.
22645 (completion-table-with-terminator): Add default case, using
22646 complete-with-action.
22647 (completion--metadata): New function.
22648 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22649 to try and avoid pathological performance problems.
22650 (completion--embedded-envvar-table): Return `category' metadata.
22652 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22654 * subr.el (process-alive-p): New tiny convenience function.
22656 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22658 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22659 content but also its previous major mode.
22661 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22663 * emacs-lisp/debug.el (debug): Restore the previous content of the
22664 *Backtrace* buffer when we exit with C-M-c.
22666 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22668 * minibuffer.el: Add metadata method to completion tables.
22669 (completion-category-overrides): New defcustom.
22670 (completion-metadata, completion--field-metadata)
22671 (completion-metadata-get, completion--styles)
22672 (completion--cycle-threshold): New functions.
22673 (completion-try-completion, completion-all-completions):
22674 Add `metadata' argument to choose completion-styles.
22675 (completion--do-completion): Use metadata to choose cycling.
22676 (completion-all-sorted-completions): Use metadata for sorting.
22677 Remove :completion-cycle-penalty which is not needed any more.
22678 (completion--try-word-completion): Add `metadata' argument.
22679 (minibuffer-completion-help): Check metadata for annotation function
22681 (completion-file-name-table): Return `category' metadata.
22682 (minibuffer-completing-file-name): Make obsolete.
22683 * simple.el (minibuffer-completing-symbol): Make obsolete.
22684 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22685 completion-try-completion.
22687 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22689 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22691 2011-05-30 Leo Liu <sdl.web@gmail.com>
22693 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22694 (rcirc-print): Decode all incoming messages (bug#8744).
22695 (rcirc-decode-coding-system): Allow value nil for automatic coding
22698 2011-06-01 Glenn Morris <rgm@gnu.org>
22700 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22702 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22704 * image.el (image-animate-max-time): Allow nil and t values.
22706 (create-animated-image): Doc fix.
22707 (image-animate-start): Remove second arg; just use
22708 image-animate-max-time.
22709 (image-animate-timeout): Doc fix. Args changed.
22711 * image-mode.el (image-toggle-display-image): Ensure that the
22712 image spec passed to the animate timer is the same object as in
22713 the buffer's display property (Bug#6981).
22714 (image-transform-properties): Doc fix.
22716 * image.el (image-animate-max-time): Default to nil.
22718 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22720 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22721 entire buffer list (Bug#8184).
22723 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22725 * image.el (imagemagick-types-inhibit)
22726 (imagemagick-register-types): Doc fix.
22728 2011-05-29 Deniz Dogan <deniz@dogan.se>
22730 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22733 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22735 * select.el: Don't perform clipboard-manager saving in hooks;
22736 leave the hooks empty.
22738 2011-05-28 Leo Liu <sdl.web@gmail.com>
22740 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22741 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22742 (occur-edit-mode): New major mode (Bug#8463).
22743 (occur-after-change-function): New function.
22744 (occur-engine): Give Occur tags a read-only property.
22746 2011-05-28 Kevin Ryde <user42@zip.com.au>
22748 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22750 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22752 * bindings.el (help-echo): Make the initial non-indicator dash
22753 empty on graphical terminals (Bug#7295).
22755 * files.el (auto-mode-alist): Move config rule after the
22756 in-stripping one (Bug#8547).
22758 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22760 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22761 setting (Bug#8740).
22763 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22765 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22766 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22769 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22771 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22773 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22775 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22776 (hs-hide-block-at-point, hs-find-block-beginning)
22777 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22780 2011-05-28 Glenn Morris <rgm@gnu.org>
22782 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22784 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22786 * help-fns.el (describe-function-1): If the function is a derived
22787 major mode, print the parent mode.
22789 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22790 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22792 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22794 * minibuffer.el (completion--capf-wrapper): Check applicability before
22795 returning non-nil for non-exclusive completion data.
22796 * progmodes/etags.el (tags-completion-at-point-function):
22797 * info-look.el (info-lookup-completions-at-point): Mark as
22799 (info-complete): Adjust accordingly.
22801 * info-look.el: Convert to lexical-binding and completion-at-point.
22802 (info-lookup-completions-at-point): New function.
22803 (info-complete): Use it and completion-in-region.
22805 2011-05-28 Drew Adams <drew.adams@oracle.com>
22807 * isearch.el: Let M-e start with point at the first mismatched char.
22808 (isearch-fail-pos): New function.
22809 (isearch-edit-string): Use it.
22811 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22813 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22815 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22817 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22818 traversal functions for avl-trees.
22819 (avl-tree--stack): New struct.
22820 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22821 (avl-tree-enter): Add optional `updatefun' arg.
22822 (avl-tree--do-enter): Add optional `updatefun' arg.
22823 Change return value.
22824 (avl-tree-delete): Add optional `test' and `nilflag' args.
22825 (avl-tree--do-delete): Add `test' and `nilflag' args.
22826 Change return value.
22827 (avl-tree-member): Add optional `nilflag'
22828 (avl-tree-member-p): New function.
22829 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22830 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22831 (avl-tree-stack-empty-p): New functions.
22833 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22834 avl-tree--del-balance1 and make it work both ways.
22835 (avl-tree--del-balance2): Remove.
22836 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22837 make it work both ways.
22838 (avl-tree--enter-balance2): Remove.
22839 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22841 (avl-tree--mapc, avl-tree-map): Add direction argument.
22843 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22845 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22847 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22849 * select.el: Support clipboard managers with built-in function
22850 x-clipboard-manager-save, via delete-frame-functions and
22852 (xselect-convert-to-targets): Add MULTIPLE target to list.
22853 (xselect-convert-to-save-targets): New function.
22855 2011-05-27 Kenichi Handa <handa@m17n.org>
22857 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22858 let-binding rfc2047-encode-encoded-words to nil.
22860 2011-05-27 Glenn Morris <rgm@gnu.org>
22862 * mail/emacsbug.el: Don't require url-util.
22864 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22866 * files.el (set-auto-mode):
22867 Also respect mode: entries at the end of the file. (Bug#8586)
22869 2011-05-26 Glenn Morris <rgm@gnu.org>
22871 * files.el (hack-local-variables-prop-line, hack-local-variables):
22872 Downcase mode names, as seems to be traditional.
22873 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22875 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22876 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22878 2011-05-25 Julien Danjou <julien@danjou.info>
22880 * textmodes/rst.el (rst-define-level-faces): Do not define face
22881 symbol if it is already defined.
22883 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22885 * play/5x5.el (5x5-new-game, 5x5-randomize):
22886 Reset 5x5-solver-output to nil when a new grid is cast.
22887 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22888 these debugging traces, as defmacro breaks the compiled code.
22890 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22894 2011-05-24 Leo Liu <sdl.web@gmail.com>
22896 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22897 (vc-bzr-sha1): Adapt.
22899 * sha1.el: Remove. Function `sha1' is now builtin.
22901 * bindings.el: Provide sha1 feature.
22903 2011-05-24 Kenichi Handa <handa@m17n.org>
22905 * mail/sendmail.el: Require `rfc2047'.
22906 (mail-insert-from-field): Do not perform RFC2047 encoding.
22907 (mail-encode-header): New function.
22908 (sendmail-send-it): Set buffer-file-coding-system of the work
22909 buffer to the return value of select-message-coding-system.
22910 Call mail-encode-header.
22912 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22914 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22916 * mail/supercite.el (sc-default-cite-frame):
22917 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22919 2011-05-24 Glenn Morris <rgm@gnu.org>
22921 * progmodes/python.el (brm-menu): Declare.
22923 * emulation/viper.el (viper-set-hooks): Declare.
22925 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22926 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22927 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22928 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22929 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22930 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22932 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22934 Add an :exit-function for completion-at-point.
22936 * minibuffer.el (completion--done): New fun.
22937 (completion--do-completion): Use it. New arg `expect-exact'.
22938 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22939 since completion--do-completion does it for us now.
22940 (minibuffer-force-complete): Use completion--done and
22941 completion--replace. Handle sole-completion case with more care.
22942 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22943 (completion-extra-properties): New var.
22944 (completion-annotate-function): Make obsolete.
22945 (minibuffer-completion-help): Adjust accordingly.
22946 Use completion-list-insert-choice-function.
22947 (completion-at-point, completion-help-at-point):
22948 Bind completion-extra-properties.
22949 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22950 * simple.el (completion-list-insert-choice-function): New var.
22951 (completion-setup-function): Preserve it.
22952 (choose-completion): Pay attention to it, shuffle the code a bit.
22953 (choose-completion-string): New arg `insert-function'.
22955 * textmodes/bibtex.el: Convert to lexical binding.
22956 (bibtex-mode-map): Use completion-at-point.
22957 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22958 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22959 (bibtex-complete): Define as obsolete alias.
22960 (bibtex-complete-internal): Remove.
22961 (bibtex-format-entry): Remove unused sub-group in regexp.
22962 * shell.el (shell--command-completion-data)
22963 (shell-environment-variable-completion):
22964 * pcomplete.el (pcomplete-completions-at-point):
22965 * comint.el (comint--complete-file-name-data): Use :exit-function
22966 instead of completion-table-with-terminator so it also works for
22969 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22971 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22973 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22976 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22978 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22980 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22981 customization variable and implement: If non-nil, auto-fill will
22982 be inhibited while on topic's header line.
22984 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22986 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22987 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22988 always have a solution in grid size = 5 cases.
22989 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22990 (5x5-solver-output, 5x5-log-buffer): New vars.
22991 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22992 Make these variables buffer local to achieve 5x5 multi-session-ness.
22993 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22994 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22995 (5x5-solve-suggest): New funs.
22996 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22997 randomize a grid so that we ensure that there is always a solution.
22998 (5x5-make-random-grid): Allow other movement than flipping.
23000 2011-05-23 Kevin Ryde <user42@zip.com.au>
23002 * emacs-lisp/advice.el (ad-read-advised-function):
23003 Use `function-called-at-point' as the default, if it has
23004 advice and passes PREDICATE.
23006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23008 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23009 byte-compile-lambda if it's actually a lambda.
23011 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23012 Fix function quoting. Use backquote better.
23014 2011-05-22 Yuanle Song <sylecn@gmail.com>
23016 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23017 matching (Bug#8516).
23019 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23021 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23022 different face (Bug#8178).
23024 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23026 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23027 defface (Bug#8144).
23029 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23031 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23032 funcall as well (bug#8712). Warn when performing those conversions.
23033 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23035 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23037 2011-05-22 Glenn Morris <rgm@gnu.org>
23039 * files.el (hack-local-variables-prop-line): Small simplifications.
23040 (hack-local-variables, hack-local-variables-prop-line):
23041 If MODE-ONLY, return the mode, rather than just `t'.
23043 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23045 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23047 2011-05-21 Glenn Morris <rgm@gnu.org>
23049 * files.el (hack-local-variables-prop-line, hack-local-variables):
23050 If only interested in the mode, don't bother doing the other stuff.
23052 * image-mode.el (image-after-revert-hook):
23053 Redraw all frames on which the image is visible. (Bug#8567)
23055 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23057 * wid-edit.el (widget-checklist-match-inline):
23058 Fix 2011-04-19 change. (Bug#8649)
23060 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23062 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23063 Also allow singlespace after single-letter capitals followed by a dot.
23065 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23066 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23068 2011-05-20 Nix <nix@esperi.org.uk>
23070 * files.el (basic-save-buffer-2):
23071 Fix handling of break-hardlink-on-save with non-existent files.
23073 2011-05-19 Deniz Dogan <deniz@dogan.se>
23075 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23076 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23078 2011-05-19 Glenn Morris <rgm@gnu.org>
23080 * progmodes/f90.el (f90-type-def-re):
23081 Handle "type, bind(c)". (Bug#8691)
23083 * emacs-lisp/autoload.el (batch-update-autoloads):
23084 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23086 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23088 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23089 property for the correct connection in case of multihops.
23091 2011-05-18 Glenn Morris <rgm@gnu.org>
23093 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23094 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23096 Rationalize calendar handling of day and month abbrev-arrays.
23097 * calendar/calendar.el (calendar-customized-p): New function.
23098 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23099 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23101 (calendar-abbrev-length, calendar-day-abbrev-array)
23102 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23103 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23104 Elements may no longer be nil.
23105 (calendar-day-name, calendar-month-name):
23106 Update for changed nature of abbrev arrays.
23107 * calendar/diary-lib.el (diary-name-pattern):
23108 Update for changed nature of abbrev arrays.
23109 (diary-mark-entries-1): Update calendar-make-alist calls.
23110 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23111 * calendar/cal-html.el (cal-html-day-abbrev-array):
23112 Simply inherit from calendar-day-abbrev-array.
23114 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23116 * progmodes/grep.el (grep-mode): Disable default
23117 compilation-directory-matcher setting (bug#8684).
23119 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23121 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23122 instead of "head" and "tail". There were problems with SunOS 5.9,
23123 and it performs better.
23125 2011-05-17 Glenn Morris <rgm@gnu.org>
23127 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23129 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23130 Replace obsolete function.
23132 * shell.el (pcomplete-parse-arguments-function): Declare.
23134 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23135 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23136 (appt-check): Doc fixes.
23137 (appt-disp-window-function, appt-delete-window-function):
23138 Remove needless special case in custom :type.
23139 (appt-display-count): Default to 0, not nil.
23140 (appt-check): Reset appt-display-count to 0, not nil.
23142 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23144 * progmodes/python.el (python-font-lock-keywords):
23145 Add the Python 3.X keyword "nonlocal" (bug#8639).
23147 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23149 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23151 2011-05-16 Kevin Ryde <user42@zip.com.au>
23153 * info-look.el (makefile-automake-mode): New setups, looking in
23154 automake manual, then makefile-mode.
23155 (makefile-mode): Remove automake manual, have it just in
23156 makefile-automake-mode since there's various things different or
23157 not relevant to plain make.
23158 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23159 believe a hypothetical automake-mode would go to makefile-mode,
23160 not the other way around.
23162 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23164 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23165 hunk-end tags (Bug#8672).
23167 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23168 vc-annotate-show-diff-revision-at-line (Bug#8671).
23170 2011-05-14 Glenn Morris <rgm@gnu.org>
23172 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23173 in the middle of an existing one with multiple authors. (Bug#8645)
23174 (change-log-font-lock-keywords): Also handle multiple author lines
23175 with leading tabs. (Bug#8644)
23177 * calendar/appt.el (appt-check): Rename some local variables.
23178 Some simplification/reordering.
23180 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23181 (feedmail-sendmail-f-doesnt-sell-me-out)
23182 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23183 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23184 (feedmail-queue-runner-message-sender): Set :version.
23185 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23186 (bbdb-dwim-net-address, vm-mail): Declare.
23187 (feedmail-binmail-gnulinuxish-template):
23188 Rename from feedmail-binmail-linuxish-template.
23189 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23190 Use insert-buffer-substring.
23192 2011-05-14 Bill Carpenter <bill@carpenter.org>
23194 * mail/feedmail.el (feedmail-patch-level): Increase.
23195 (feedmail-debug): New custom group.
23196 (feedmail-confirm-outgoing-timeout)
23197 (feedmail-sendmail-f-doesnt-sell-me-out)
23198 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23199 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23200 (feedmail-sender-line, feedmail-from-line)
23201 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23202 (feedmail-spray-this-address)
23203 (feedmail-spray-address-fiddle-plex-list)
23204 (feedmail-queue-use-send-time-for-date)
23205 (feedmail-queue-use-send-time-for-message-id)
23206 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23207 (feedmail-buffer-eating-function):
23209 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23210 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23211 (feedmail-message-action-scroll-down): New functions.
23212 (feedmail-queue-directory, feedmail-queue-draft-directory):
23213 Use expand-file-name.
23214 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23215 Remove C-v help entry.
23216 (feedmail-queue-buffer-file-name): New variable.
23217 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23218 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23219 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23220 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23221 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23222 (feedmail-message-action-toggle-spray)
23223 (feedmail-run-the-queue-no-prompts)
23224 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23225 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23226 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23227 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23228 (feedmail-envelope-deducer, feedmail-fiddle-from)
23229 (feedmail-fiddle-sender, feedmail-default-date-generator)
23230 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23231 (feedmail-fiddle-spray-address)
23232 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23233 (feedmail-fiddle-list-of-fiddle-plexes)
23234 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23235 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23236 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23237 Change default. Doc fix.
23238 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23239 (feedmail-binmail-linuxish-template): New constant.
23240 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23241 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23242 (feedmail-send-it): Add debug call.
23243 Use feedmail-queue-buffer-file-name, and
23244 feedmail-send-it-immediately-wrapper.
23245 (feedmail-message-action-send): Add debug call.
23246 Use feedmail-send-it-immediately-wrapper.
23247 (feedmail-queue-express-to-queue): Add debug call.
23248 Run feedmail-queue-express-hook.
23249 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23250 (feedmail-message-action-help-blat):
23251 Rename from feedmail-queue-send-edit-prompt-help-first.
23252 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23253 Check line-endings. Handle errors better.
23254 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23255 Doc fix. Add debug call.
23256 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23257 Use feedmail-queue-send-edit-prompt-inner.
23258 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23259 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23260 from feedmail-queue-send-edit-prompt.
23261 (feedmail-queue-send-edit-prompt-help)
23262 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23263 (feedmail-tidy-up-slug): Add debug call.
23264 Respect feedmail-queue-slug-suspect-regexp.
23265 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23266 (feedmail-dump-message-to-queue): Add debug call.
23267 Expand queue-directory.
23268 (feedmail-dump-message-to-queue): Change message slightly.
23269 Use feedmail-say-chatter.
23270 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23271 (feedmail-send-it-immediately-wrapper): New function.
23272 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23273 Insert empty string rather than newline. Handle full-frame case.
23274 Use catch/throw. Use feedmail-say-chatter.
23275 (feedmail-fiddle-from): Try mail-host-address.
23276 (feedmail-default-message-id-generator): Doc fix.
23277 Bind system-time-locale. Handle missing end.
23278 (feedmail-fiddle-x-mailer): Add debug call.
23279 Handle feedmail-x-mailer-line being nil.
23280 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23281 Add debug call. Use buffer-substring-no-properties.
23282 (feedmail-say-debug, feedmail-say-chatter): New functions.
23283 (feedmail-find-eoh): Give an explicit error.
23285 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23287 * net/newst-treeview.el (newsticker-treeview-face): Change default
23288 family from helvetica to sans.
23289 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23290 etc/images/newsticker.
23292 * net/newst-reader.el (newsticker-feed-face): Change default
23293 family from helvetica to sans.
23295 * net/newst-plainview.el (newsticker-new-item-face)
23296 (newsticker-old-item-face, newsticker-immortal-item-face)
23297 (newsticker-obsolete-item-face, newsticker-date-face)
23298 (newsticker-statistics-face): Change default family from
23300 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23301 etc/images/newsticker.
23303 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23304 (newsticker--process-auto-mark-filter-match): Tell user about
23307 2011-05-13 Didier Verna <didier@xemacs.org>
23309 Common Lisp indentation improvements on defmethod and lambda-lists.
23310 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23312 (lisp-lambda-list-keyword-parameter-indentation)
23313 (lisp-lambda-list-keyword-parameter-alignment)
23314 (lisp-lambda-list-keyword-alignment): New customizable user options.
23315 (lisp-indent-defun-method): Improve docstring.
23316 (extended-loop-p): Fix comment.
23317 (lisp-indent-lambda-list-keywords-regexp): New variable.
23318 (lisp-indent-lambda-list): New function.
23319 (lisp-indent-259): Use it.
23320 (lisp-indent-defmethod): Support for more than one
23321 method qualifier and properly indent methods lambda-lists.
23322 (defgeneric): Provide a missing common-lisp-indent-function property.
23324 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23326 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23327 bounds for the empty string (bug#8667).
23329 2011-05-13 Glenn Morris <rgm@gnu.org>
23331 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23333 * mail/sendmail.el (sendmail-program): Try executable-find first.
23334 (sendmail-send-it): `sendmail-program' cannot be unbound.
23336 * calendar/appt.el (appt-make-list): Simplify.
23337 (appt-time-msg-list): Doc fix.
23338 (appt-check): Change mode-line message at the time of the appointment.
23340 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23342 * progmodes/ld-script.el (ld-script-keywords)
23343 (ld-script-builtins): Update keywords list.
23345 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23347 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23349 * shell.el (shell-completion-vars): New function.
23351 * simple.el (read-shell-command): Use it.
23352 (blink-matching-open): No need for " [...]" in minibuffer-message.
23354 2011-05-12 Glenn Morris <rgm@gnu.org>
23356 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23357 (appt-check): Simplify.
23359 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23361 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23362 literal "/dev/null".
23364 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23366 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23369 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23371 * progmodes/which-func.el (which-function):
23372 Use add-log-current-defun instead of add-log-current-defun-function,
23373 which might not be defined (Bug#8260).
23375 2011-05-12 Glenn Morris <rgm@gnu.org>
23377 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23378 Let byte-compile-initial-macro-environment always take precedence.
23380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23382 * net/rcirc.el: Add support for SSL/TLS connections.
23383 (rcirc-server-alist): New field `encryption'.
23384 (rcirc): Check `encryption' settings.
23385 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23386 Merge make-local-variable into `set'.
23387 (rcirc--connection-open-p): New function.
23388 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23389 the process is not a network process (e.g. running gnutls-cli).
23390 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23391 Make rcirc-(en|de)code-coding-system local here.
23392 (rcirc-mode): Merge make-local-variable into `set'.
23393 (rcirc-parent-buffer): Make permanent buffer-local.
23394 (rcirc-multiline-minor-mode): Don't do it here.
23395 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23396 there's no server buffer.
23398 2011-05-11 Glenn Morris <rgm@gnu.org>
23400 * newcomment.el (comment-kill): Prefix "unused" local.
23402 * term/w32console.el (get-screen-color): Declare.
23404 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23405 Handle symbol elements of byte-compile-initial-macro-environment.
23407 2011-05-10 Leo Liu <sdl.web@gmail.com>
23409 * bookmark.el (bookmark-bmenu-mode-map):
23410 Bind bookmark-bmenu-search to `/'.
23412 * mail/footnote.el: Convert to utf-8 encoding.
23413 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23414 (Footnote-unicode): New function.
23415 (footnote-style-alist): Add unicode style to the list.
23416 (footnote-style): Doc fix.
23418 2011-05-10 Jim Meyering <meyering@redhat.com>
23420 Fix doubled-word typos.
23421 * international/quail.el (quail-insert-kbd-layout): and and -> and
23422 * kermit.el: and and -> and
23423 * net/ldap.el (ldap-search-internal): to to -> to
23424 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23425 * progmodes/js.el (js-mode): and and -> and
23426 * textmodes/artist.el (artist-move-to-xy): at at -> at
23427 (artist-draw-region-trim-line-endings): if if -> if
23428 And Safetyc -> Safety.
23429 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23431 2011-05-10 Glenn Morris <rgm@gnu.org>
23432 Stefan Monnier <monnier@iro.umontreal.ca>
23434 * files.el (hack-one-local-variable-eval-safep):
23435 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23437 2011-05-10 Glenn Morris <rgm@gnu.org>
23439 * calendar/diary-lib.el (diary-list-entries-hook)
23440 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23441 (diary-nongregorian-marking-hook, diary-list-entries)
23442 (diary-include-other-diary-files, diary-mark-entries)
23443 (diary-mark-included-diary-files): Doc fixes.
23445 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23447 * misc.el: Require tabulated-list.el during compilation.
23449 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23451 * progmodes/compile.el (compilation-start):
23452 Run compilation-filter-hook for the async case too.
23453 (compilation-filter-hook): Doc fix.
23455 2011-05-09 Deniz Dogan <deniz@dogan.se>
23457 * wdired.el: Remove outdated installation comment. Fix usage
23460 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23462 * misc.el: Implement new command `list-dynamic-libraries'.
23463 (list-dynamic-libraries--loaded-only-p): New variable.
23464 (list-dynamic-libraries--refresh): New function.
23465 (list-dynamic-libraries): New command.
23467 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23470 Fix the ant regexp to handle end-line and end-column info from jikes.
23471 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23472 higher priority to avoid clobbering by gnu.
23474 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23476 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23477 if the face has existing theme settings (Bug#8454).
23479 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23481 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23482 Only match variables declared via `my' or `our' (Bug#8261).
23484 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23485 special file names `.' and `..' (Bug#8259).
23487 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23489 * progmodes/grep.el (grep-mode-font-lock-keywords):
23490 Remove buffer-changing entries.
23491 (grep-filter): New function.
23492 (grep-mode): Add it to compilation-filter-hook.
23494 * progmodes/compile.el (compilation-filter-hook)
23495 (compilation-filter-start): New defvars.
23496 (compilation-filter): Call compilation-filter-hook prior to
23497 updating the process mark.
23499 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23501 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23503 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23505 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23506 mailclient-send-it even if window-system is nil. (Bug#8595)
23508 * term/w32console.el (terminal-init-w32console):
23509 Call get-screen-color and use its output to set the frame
23510 background-mode. (Bug#8597)
23512 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23514 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23515 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23517 (defgeneric, eieio--defmethod): Use them.
23518 (eieio-defgeneric): Remove.
23519 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23521 2011-05-07 Glenn Morris <rgm@gnu.org>
23523 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23524 Use let rather than let*.
23525 (timeclock-find-discrep): Remove unused local.
23527 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23529 * calendar/appt.el (appt-time-msg-list): Doc fix.
23531 2011-05-06 Noah Friedman <friedman@splode.com>
23533 * apropos.el (apropos-print-doc): Only use
23534 emacs-lisp-docstring-fill-column when it is bound to an integer,
23535 per that variable's documentation.
23537 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23539 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23540 and warnings are not silently discarded (e.g. use -d instead of -P).
23542 2011-05-06 Glenn Morris <rgm@gnu.org>
23544 * calendar/appt.el (appt-message-warning-time): Doc fix.
23545 (appt-warning-time-regexp): New option.
23546 (appt-make-list): Respect appt-message-warning-time.
23548 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23550 (diary-add-to-list): Strip comments from the displayed string.
23551 (diary-mode): Set comment-start and comment-end.
23553 * vc/diff-mode.el (smerge-refine-subst): Declare.
23554 (diff-refine-hunk): Don't require smerge-mode when compiling.
23556 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23558 * simple.el (list-processes): Return nil as the docstring says.
23560 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23562 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23564 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23565 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23566 determining of binary transfer. (Bug#7383)
23568 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23571 Fix port computation bug. (Bug#8618)
23573 2011-05-05 Glenn Morris <rgm@gnu.org>
23575 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23577 * simple.el (shell-dynamic-complete-functions)
23578 (comint-dynamic-complete-functions): Declare.
23580 * net/network-stream.el (gnutls-negotiate):
23581 * simple.el (tabulated-list-print): Fix declarations.
23583 * progmodes/gud.el (syntax-symbol, syntax-point):
23584 Remove unnecessary and incorrect declarations.
23586 * emacs-lisp/check-declare.el (check-declare-scan):
23587 Handle byte-compile-initial-macro-environment in bytecomp.el.
23589 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23591 Fix earlier half-done eieio-defmethod change (bug#8338).
23592 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23593 Streamline and change calling convention.
23594 (defmethod): Adjust accordingly and simplify.
23595 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23596 new eieio--defmethod.
23597 (slot-boundp): Minor CSE simplification.
23599 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23601 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23602 (glasses-make-readable): Use glasses-separate-capital-groups.
23604 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23606 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23607 (warning-series): Doc fix.
23608 (display-warning): Don't try to create the buffer if we just found it.
23610 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23612 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23613 (autoload-find-generated-file): New function.
23614 (generate-file-autoloads): Bind generated-autoload-file to
23616 (update-file-autoloads, update-directory-autoloads):
23617 Use autoload-find-generated-file. If called interactively, prompt for
23618 output file (Bug#7989).
23619 (batch-update-autoloads): Doc fix.
23621 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23623 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23625 2011-05-04 Glenn Morris <rgm@gnu.org>
23627 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23628 function, so it follows changes in calendar-date-style.
23629 (diary-fancy-date-matcher): New function.
23630 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23631 (diary-fancy-font-lock-fontify-region-function):
23632 Use diary-fancy-date-pattern as a function.
23634 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23635 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23637 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23639 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23640 instead of positional arguments. Allow :keylist and :crlfiles
23642 (open-gnutls-stream): Call it.
23644 * net/network-stream.el (network-stream-open-starttls): Adjust to
23645 call `gnutls-negotiate' with :process and :hostname arguments.
23647 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23649 * minibuffer.el (completion--message): New function.
23650 (completion--do-completion, minibuffer-complete)
23651 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23652 (completion--do-completion): Don't ignore completion-auto-help when in
23655 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23656 internal encoding (e.g. tibetan zero is not whitespace).
23657 (global-whitespace-mode): Prefer save-current-buffer.
23658 (whitespace-trailing-regexp): Remove useless save-match-data.
23659 (whitespace-empty-at-bob-regexp): Minor simplification.
23661 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23663 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23665 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23667 * textmodes/ispell.el (ispell-add-per-file-word-list):
23668 Use `concat' to create string for insertion.
23670 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23672 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23673 Avoid open-line which runs post-self-insert-hook.
23674 (bibtex-fill-entry): Remove unused `end' var.
23676 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23678 * textmodes/ispell.el (ispell-add-per-file-word-list):
23679 Protect against `nil' value of `comment-start' (Bug#8579).
23681 2011-05-03 Leo Liu <sdl.web@gmail.com>
23683 * isearch.el (isearch-yank-pop): New command.
23684 (isearch-mode-map): Bind it to `M-y'.
23685 (isearch-forward): Mention it.
23687 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23689 * simple.el (minibuffer-complete-shell-command): Remove.
23690 (minibuffer-local-shell-command-map): Use completion-at-point.
23691 (read-shell-command): Setup completion vars here instead.
23692 (read-expression-map): Bind TAB to symbol completion.
23694 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23695 error directly rather via storing it into `results'.
23697 2011-05-02 Leo Liu <sdl.web@gmail.com>
23699 * vc/diff.el: Fix description.
23701 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23703 * server.el (server-eval-at): New function.
23705 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23707 * net/network-stream.el (open-network-stream): Take a :nowait
23708 parameter and pass it on to `make-network-process'.
23709 (network-stream-open-plain): Ditto.
23711 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23713 * faces.el (face-spec-set-match-display): Don't match toolkit
23714 options on terminal frames.
23716 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23718 * progmodes/pascal.el: Use lexical binding.
23719 (pascal-mode-map): Remove author preferences.
23721 * pcomplete.el (pcomplete-std-complete): Don't abuse
23722 completion-at-point.
23724 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23726 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23727 removing code that has been dead since 1991 or so.
23729 * startup.el (command-line): When warning about "_emacs", use a
23730 delayed warning to allow the user to filter it out.
23732 2011-04-28 Deniz Dogan <deniz@dogan.se>
23734 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23735 user has not joined.
23737 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23739 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23740 aren't any completions at point.
23742 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23744 * subr.el (display-delayed-warnings): New function.
23745 (delayed-warnings-hook): New variable.
23747 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23749 * minibuffer.el (completion-at-point, completion-help-at-point):
23750 Don't presume that a given completion-at-point-function will always
23751 use the same calling convention.
23753 * pcomplete.el (pcomplete-completions-at-point):
23754 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23755 pcomplete-seen is non-nil.
23756 (pcomplete-comint-setup): Also recognize the new comint/shell
23757 completion functions.
23758 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23759 pcomplete-seen is non-nil.
23761 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23763 * calendar/icalendar.el (diary-lib): Add require statement.
23764 (icalendar--create-uid): Read out a uid from a text-property on
23765 the first character in the entry. This allows for code to add its
23766 own uid to the entry.
23767 (icalendar--convert-float-to-ical): Add export of
23768 `diary-float'-entries save for those with the optional DAY
23771 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23773 * subr.el (shell-quote-argument): Use alternate escaping strategy
23774 when we spot a variable reference in a string.
23776 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23778 * cus-start.el (all): Define customization for debug-on-event.
23780 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23782 * subr.el (shell-quote-argument): Escape correctly under Windows.
23784 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23786 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23788 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23790 * net/tramp.el (tramp-process-actions): Add POS argument.
23791 Delete region between POS and (pos).
23793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23794 Use `nil' position in `tramp-process-actions' call.
23795 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23797 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23798 position in `tramp-process-actions' call.
23800 * net/trampver.el: Update release number.
23802 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23804 * custom.el (defcustom): Obey lexical-binding.
23806 Fix octave-inf completion problems reported by Alexander Klimov.
23807 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23808 Inherit from octave-mode-syntax-table.
23809 (inferior-octave-mode): Set info-lookup-mode.
23810 (inferior-octave-completion-at-point): New function.
23811 (inferior-octave-complete): Use it and completion-in-region.
23812 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23813 comint-filename-completion.
23814 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23815 symbol elements which shouldn't be word elements.
23816 (octave-font-lock-keywords, octave-beginning-of-defun)
23817 (octave-function-header-regexp): Adjust regexps accordingly.
23818 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23820 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23822 * net/gnutls.el (gnutls-errorp): Declare before first use.
23824 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23826 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23827 verify-error, and verify-hostname-error parameters. Check whether
23828 default trustfile exists before going to use it. Add missing
23829 argument to gnutls-message-maybe call. Return value.
23830 Reported by Claudio Bley <claudio.bley@gmail.com>.
23831 (open-gnutls-stream): Add usage example.
23833 * net/network-stream.el (network-stream-open-starttls): Give host
23834 parameter to `gnutls-negotiate'.
23835 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23836 * subr.el (shell-quote-argument): Escape correctly under Windows.
23838 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23840 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23841 Use correct match group (bug#8438).
23843 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23845 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23846 (package-menu--generate): New arg specifying packages to show.
23847 (package-menu-refresh, package-menu-execute, list-packages):
23849 (package-show-package-list): New function, replacing deleted
23850 package--list-packages (renamed because it is non-internal).
23852 * finder.el (finder-list-matches): Use package-show-package-list
23853 instead of deleted package--list-packages.
23855 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23856 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23857 (vc-annotate-mode-map): Bind it to RET.
23859 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23861 * progmodes/etags.el (next-file): Don't use set-buffer to change
23862 buffers (Bug#8478).
23864 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23866 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23868 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23869 (apropos-accumulator): Doc fix.
23870 (apropos-function, apropos-macro, apropos-command)
23871 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23872 (apropos-plist): Add face property.
23873 (apropos-symbols-internal): Fix indentation.
23874 (apropos-print): Simplify help, and recognize apropos-multi-type.
23875 (apropos-print-doc): Use button-type-get to extract the button's
23876 face property. Fill docstring (Bug#8352).
23878 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23880 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23882 * play/mpuz.el (mpuz-silent): Doc fix.
23883 (mpuz-mode-map): Use mapc.
23884 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23885 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23886 Fix typos in docstrings.
23888 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23889 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23891 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23893 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23895 * minibuffer.el (completion--do-completion): Avoid the "Next char
23896 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23898 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23899 mouse-2 into unread-command-events, it is interpreted correctly.
23901 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23902 (image-toggle-display): Doc fix.
23904 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23906 * textmodes/page.el (what-page): Use line-number-at-pos to
23907 calculate line number (Bug#6825).
23909 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23911 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23912 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23913 Pass argument NO-DEFAULT to `find-tag-interactive'.
23915 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23917 Lexical-binding cleanup.
23919 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23920 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23921 * progmodes/ada-prj.el (ada-prj-initialize-values)
23922 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23923 (ada-prj-show-value):
23924 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23925 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23926 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23927 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23928 * progmodes/bug-reference.el (bug-reference-push-button):
23929 * progmodes/fortran.el (fortran-line-length):
23930 * progmodes/glasses.el (glasses-change):
23931 * progmodes/octave-mod.el (octave-fill-paragraph):
23932 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23933 (python-pdbtrack-grub-for-buffer, python-sentinel):
23934 * progmodes/sql.el (sql-save-connection):
23935 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23936 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23937 Mark unused parameters.
23939 * progmodes/compile.el (compilation--flush-directory-cache)
23940 (compilation--flush-parse, compile-internal): Mark unused parameters.
23941 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23942 (compilation-next-error-function): Remove unused variable `timestamp'.
23944 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23945 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23947 * progmodes/dcl-mode.el (dcl-end-of-command):
23948 Remove unused variable `start'.
23949 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23950 (dcl-option-value-basic, dcl-option-value-offset)
23951 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23952 Mark unused parameters.
23953 (dcl-save-local-variable): Remove unused variable `val'.
23956 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23957 Mark unused parameters.
23958 (delphi-ignore-changes): Move before first use.
23959 (delphi-charset-token-at): Remove unused variable `start'.
23960 (delphi-else-start): Remove unused variable `if-count'.
23961 (delphi-comment-block-start, delphi-comment-block-end):
23962 Remove unused variable `kind'.
23963 (delphi-indent-line): Remove unused variable `new-point'.
23965 * progmodes/ebrowse.el (ebrowse-files-list)
23966 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23967 Mark unused parameters. Don't quote `lambda'.
23968 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23969 Don't quote `lambda'.
23970 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23971 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23972 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23973 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23974 Use `ignore-errors'.
23975 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23976 (ebrowse-view/find-file-and-search-pattern)
23977 (ebrowse-view/find-member-declaration/definition):
23978 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23979 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23980 Rename parameter PREFIX-ARG to PREFIX.
23981 (ebrowse-tags-read-name): Remove unused variables `start' and
23983 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23986 * progmodes/etags.el (local-find-tag-hook): Declare.
23987 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23988 Mark unused parameters.
23990 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23991 (executable-interpret): Mark unused parameter.
23993 * progmodes/flymake.el (flymake-process-sentinel)
23994 (flymake-after-change-function)
23995 (flymake-create-temp-with-folder-structure)
23996 (flymake-get-include-dirs-dot): Mark unused parameters.
23997 (flymake-safe-delete-directory): Remove unused variable `err'.
23999 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24000 (speedbar-timer-fn, speedbar-line-text)
24001 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24002 (speedbar-center-buffer-smartly): Declare functions.
24003 (gdb-find-watch-expression): Remove unused variable `array'.
24004 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24005 (gdb-starting): Mark unused parameters.
24006 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24007 (gdb-table-string): Remove unused variable `res'.
24008 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24009 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24010 (gdb-display-buffer): Remove unused variable `cur-size'.
24012 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24013 allow lexical-binding compilation.
24014 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24015 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24016 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24017 Mark unused parameters.
24018 (gud-gdb-marker-filter): Remove unused variable `match'.
24019 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24020 lambda expressions and funcall them, instead of using `fset'.
24022 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24023 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24025 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24026 variable `header-beg'; use `let'.
24028 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24029 `restart', `last-sexp' and `at-do'.
24031 * progmodes/js.el (js--debug): Mark unused parameter.
24032 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24033 (js--splice-into-items): Remove unused variable `item'.
24034 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24036 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24037 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24038 (makefile-complete): Remove unused variable `try'.
24039 (makefile-fill-paragraph, makefile-match-function-end):
24040 Mark unused parameters.
24042 * progmodes/octave-inf.el (inferior-octave-complete):
24043 Remove unused variable `proc'.
24044 (inferior-octave-output-digest): Mark unused parameter.
24046 * progmodes/perl-mode.el (perl-calculate-indent):
24047 Remove unused variable `err'.
24049 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24050 (prolog-indent-line): Mark unused parameters.
24051 (prolog-indent-line): Remove unused variable `beg'.
24053 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24054 (reporter-dont-compact-list): Declare.
24056 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24057 Remove unused variable `char'.
24058 (sh-debug): Mark unused parameter.
24059 (sh-get-indent-info): Remove unused variable `start'.
24060 (sh-calculate-indent): Remove unused variable `var'.
24062 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24063 (simula-electric-keyword): Remove unused variable `null'.
24064 (simula-search-backward, simula-search-forward): Remove unused
24065 variables `begin' and `end'.
24067 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24068 Remove unused variable `pos'.
24069 (vera-electric-tab, vera-comment-uncomment-region):
24070 Mark unused parameters.
24071 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24073 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24075 * emacs-lisp/package.el (package--builtins, package-alist)
24076 (package-load-descriptor, package-built-in-p, package-activate)
24077 (define-package, package-installed-p)
24078 (package-compute-transaction, package-buffer-info)
24079 (package--push): Doc fix. Distinguish more clearly between
24080 version strings and version lists.
24082 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24084 Lexical-binding cleanup.
24086 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24087 (5x5-make-mutate-best):
24088 * play/fortune.el (fortune-in-buffer):
24089 * play/gomoku.el (gomoku-init-display):
24090 * play/solitaire.el (solitaire, solitaire-do-check):
24091 * play/tetris.el (tetris-default-update-speed-function):
24092 Mark unused parameters.
24094 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24095 (bubbles--shift): Remove unused variable `char-org'.
24096 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24097 (bubbles--show-images): Remove unused variable `char'.
24099 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24100 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24101 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24102 (decipher-analyze-buffer): Use ?\s.
24103 (decipher-make-checkpoint): Remove unused variable `mapping'.
24105 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24107 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24108 Remove unused variable `result'; use `let'.
24110 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24111 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24112 (gametree-children-shown-p, gametree-compute-reduced-score):
24113 Use `ignore-errors'.
24115 * play/handwrite.el (ps-lpr-switches): Declare.
24116 (handwrite): Remove unused variables `pmin' and `lastp'.
24118 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24120 * play/landmark.el (landmark-init-display)
24121 (landmark-update-naught-weights): Mark unused parameters.
24122 (landmark-y): Remove unused variable `noise'. Simplify.
24123 (landmark-human-plays): Remove unused variable `score'.
24125 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24126 (mpuz-try-proposal): Remove unused variable `game'.
24128 * play/zone.el (life-patterns): Declare.
24130 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24132 * vc/vc.el (ediff-vc-internal): Declare function.
24134 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24136 * shell.el: Use lexical-binding and std completion UI.
24137 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24138 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24139 comint-preoutput-filter-functions rather than on
24140 comint-output-filter-functions.
24141 (shell-command-completion, shell--command-completion-data)
24142 (shell-filename-completion, shell-environment-variable-completion)
24143 (shell-c-a-p-replace-by-expanded-directory): New functions.
24144 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24145 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24146 (shell-dynamic-complete-environment-variable): Use them.
24147 (shell-dynamic-complete-as-environment-variable)
24148 (shell-dynamic-complete-as-command): Remove.
24149 (shell-match-partial-variable): Match past point.
24150 * comint.el: Clean up use of completion-at-point-functions.
24151 (comint-completion-at-point): New function.
24152 (comint-mode): Use it completion-at-point-functions.
24153 (comint-dynamic-complete): Make it obsolete.
24154 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24155 (comint-c-a-p-replace-by-expanded-history): New function.
24156 (comint-dynamic-complete-functions)
24157 (comint-replace-by-expanded-history): Use it.
24158 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24159 termination strings. Try harder to avoid second try-completion.
24160 (completion-in-region-mode-map): Disable bindings that don't work yet.
24162 * comint.el: Use lexical-binding. Require CL.
24163 (comint-dynamic-complete-functions): Use comint-filename-completion.
24164 (comint-completion-addsuffix): Tweak custom type.
24165 (comint-filename-completion, comint--common-suffix)
24166 (comint--common-quoted-suffix, comint--table-subvert)
24167 (comint--complete-file-name-data): New functions.
24168 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24169 (comint-dynamic-list-filename-completions): Use them.
24170 (comint-dynamic-simple-complete): Make obsolete.
24172 * minibuffer.el (completion-in-region-mode):
24173 Keep completion-in-region-mode--predicate global.
24174 (completion-in-region--postch):
24175 Assume completion-in-region-mode--predicate is not null.
24177 * progmodes/flymake.el (flymake-start-syntax-check-process):
24178 Obey `dir'. Simplify.
24180 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24181 we're in VC after all.
24183 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24185 * vc/vc.el (vc-diff-build-argument-list-internal)
24186 (vc-version-ediff, vc-ediff): New commands.
24187 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24189 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24191 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24194 * obsolete/erc-hecomplete.el: Make obsolete.
24195 * obsolete/: Standardize obsolescence info in the header.
24197 2011-04-20 Glenn Morris <rgm@gnu.org>
24199 * calendar/solar.el (solar-horizontal-coordinates):
24200 Use the longitude argument rather than `calendar-longitude'.
24201 (solar-date-next-longitude): Remove unused locals.
24203 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24205 * whitespace.el: New version 13.2.1.
24207 2011-04-20 felix <EmacsWiki> (tiny change)
24209 * whitespace.el (global-whitespace-mode): Keep highlight when
24210 switching between major modes on a file.
24212 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24214 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24215 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24216 multi-line comments as well.
24218 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24220 Lexical-binding cleanup.
24222 * arc-mode.el (archive-mode-revert):
24223 * cmuscheme.el (scheme-interactively-start-process):
24224 * custom.el (custom-initialize-delay):
24225 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24226 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24227 * emacs-lock.el (emacs-lock-clear-sentinel):
24228 * ezimage.el (defezimage):
24229 * follow.el (follow-avoid-tail-recenter):
24230 * fringe.el (set-fringe-mode-1):
24231 * generic-x.el (bat-generic-mode-compile):
24232 * help-mode.el (help-info-variable, help-do-xref)
24233 (help-mode-revert-buffer):
24234 * help.el (view-emacs-todo):
24235 * iswitchb.el (iswitchb-completion-help):
24236 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24237 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24238 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24239 * locate.el (locate-update):
24240 * longlines.el (longlines-encode-region)
24241 (longlines-after-change-function):
24242 * outline.el (outline-isearch-open-invisible):
24243 * ps-def.el (declare-function, charset-dimension, char-width)
24245 * ps-mule.el (ps-mule-plot-string):
24246 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24247 (recentf-edit-list-select, recentf-edit-list-validate)
24248 (recentf-open-files-action):
24249 * rect.el (delete-whitespace-rectangle-line)
24250 (rectangle-number-line-callback):
24251 * register.el (window-configuration-to-register)
24252 (frame-configuration-to-register):
24253 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24254 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24255 (xselect-convert-to-targets, xselect-convert-to-delete)
24256 (xselect-convert-to-filename, xselect-convert-to-charpos)
24257 (xselect-convert-to-lineno, xselect-convert-to-colno)
24258 (xselect-convert-to-os, xselect-convert-to-host)
24259 (xselect-convert-to-user, xselect-convert-to-class)
24260 (xselect-convert-to-name, xselect-convert-to-integer)
24261 (xselect-convert-to-atom, xselect-convert-to-identity):
24262 * subr.el (declare, ignore, process-kill-without-query)
24263 (text-clone-maintain):
24264 * terminal.el (te-get-char, te-tic-sentinel):
24265 * tool-bar.el (tool-bar-make-keymap):
24266 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24267 * type-break.el (type-break-mode, type-break-noninteractive-query):
24268 * view.el (View-back-to-mark):
24269 * wid-browse.el (widget-browse-action, widget-browse-widget)
24270 (widget-browse-widgets, widget-browse-sexp):
24271 * widget.el (define-widget-keywords):
24272 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24273 Mark unused parameters.
24275 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24276 (align-areas): Remove unused variable `look'.
24277 (align-region): Remove unused variables `real-end' and `pos-list'.
24279 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24281 * bindings.el (mode-line-modified, mode-line-remote):
24282 Mark unused parameters.
24283 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24285 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24286 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24288 * comint.el (comint-history-isearch-pop-state)
24289 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24290 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24291 (comint-substitute-in-file-name): Doc fix.
24293 * completion.el (cmpl-statistics-block): Mark unused parameter.
24294 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24295 (save-completions-to-file, load-completions-from-file):
24296 Remove unused local variable `e'.
24298 * composite.el (compose-chars): Remove unused variable `len'.
24299 (lgstring-insert-glyph): Remove unused variable `g'.
24300 (compose-glyph-string): Remove unused variables `ascent',
24301 `descent', `lbearing' and `rbearing'.
24302 (compose-glyph-string-relative): Remove unused variables
24303 `lbearing', `rbearing' and `wadjust'.
24304 (compose-gstring-for-graphic): Remove unused variables `header',
24305 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24306 (compose-gstring-for-terminal): Remove unused variables `header'
24307 and `nchars'. Use `let', not `let*'.
24309 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24310 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24311 (Custom-buffer-done, custom-buffer-create-internal)
24312 (custom-browse-visibility-action, custom-browse-group-tag-action)
24313 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24314 (widget-magic-mouse-down-action, custom-toggle-parent)
24315 (custom-add-parent-links, custom-toggle-hide-variable)
24316 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24317 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24318 (custom-face-menu-create, custom-variable-menu-create, get)
24319 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24320 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24321 (customize-apropos): Remove unused variable `tests'.
24322 (custom-group-value-create): Remove unused variable `hidden-p'.
24323 (sort-fold-case): Declare.
24325 * cus-theme.el (custom-reset-standard-faces-list)
24326 (custom-reset-standard-variables-list): Declare.
24327 (customize-create-theme, custom-theme-revert, custom-theme-write)
24328 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24329 Mark unused parameters.
24331 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24333 * delim-col.el (delimit-columns-max): Move defvar before first use.
24335 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24336 (describe-char): Don't quote `lambda'. Mark unused parameter.
24338 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24339 (auto-insert): Declare.
24340 (desktop-restore-file-buffer): Rename desktop-* parameters;
24342 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24343 (desktop-buffer): Rename desktop-* parameters.
24345 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24346 (dframe-reposition-frame-xemacs, dframe-help-echo)
24347 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24348 Mark unused parameters.
24350 * dired-aux.el (backup-extract-version-start, overwrite-query)
24351 (overwrite-backup-query, rename-regexp-query)
24352 (rename-non-directory-query): Declare.
24353 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24354 (dired-add-entry): Remove unused variable `orig-file-name'.
24355 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24356 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24357 `dired-copy-preserve-time' directly.
24358 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24359 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24361 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24362 (dired-virtual-revert, dired-make-relative-symlink):
24363 Mark unused parameters.
24364 (manual-program): Declare.
24365 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24366 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24367 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24369 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24371 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24373 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24376 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24378 * electric.el (Electric-command-loop): Rename parameter
24379 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24381 * expand.el (expand-in-literal): Remove unused variable `here'.
24383 * facemenu.el (facemenu-add-new-color):
24384 Remove unused variable `docstring'.
24386 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24387 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24388 (face-attr-construct): Mark unused parameter. Doc fix.
24389 (read-color): Remove unused variable `hex-string'.
24391 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24392 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24393 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24394 (display-buffer-other-frame): Remove unused variable `old-window'.
24395 (kill-buffer-hook): Declare.
24396 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24397 Mark unused parameters.
24398 (after-find-file): Pass 1 to `auto-save-mode', not t.
24400 * files-x.el (auto-insert): Declare.
24401 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24403 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24404 variable `buf'. Mark unused parameter.
24405 (find-lisp-insert-directory): Mark unused parameter.
24407 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24408 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24409 (format-common-tail): Remove, unused.
24410 (format-deannotate-region): Remove unused variable `loc'.
24411 (format-annotate-region): Remove unused variable `p'.
24412 (format-annotate-single-property-change): Remove unused variables
24413 `default' and `tail'.
24415 * forms.el (read-file-filter): Declare.
24416 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24418 * frame.el (frame-creation-function-alist): Mark unused parameter.
24419 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24421 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24422 Remove unused parameters.
24423 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24424 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24426 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24427 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24428 (hfy-prepare-tag-map): Mark unused parameters.
24429 (htmlfontify-buffer): Use `called-interactively-p'.
24431 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24432 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24433 (ibuffer-do-occur): Mark unused parameters.
24434 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24435 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24437 * ibuffer.el: Don't quote `lambda'.
24438 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24439 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24440 Mark unused parameters.
24442 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24443 (ido-completing-read): Mark unused parameters.
24444 (ido-copy-current-word): Mark unused parameters;
24445 remove unused variable `name'.
24446 (ido-sort-merged-list): Remove unused parameter `dirs'.
24448 * ielm.el (ielm-input-sender): Mark unused parameter.
24449 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24450 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24451 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24452 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24453 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24455 * image-dired.el (image-dired-display-thumbs): Remove unused
24456 variables `curr-file' and `count'.
24457 (image-dired-remove-tag): Remove unused variable `start'.
24458 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24459 variable `curr-file'
24460 (image-dired-rotate-original): Remove unused variable `temp-file'.
24461 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24462 Remove unused variable `file'.
24463 (image-dired-gallery-generate): Remove unused variable `curr'.
24464 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24466 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24468 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24470 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24472 * isearch.el (minibuffer-history-symbol): Declare.
24473 (isearch-edit-string): Remove unused variable `err'.
24474 (isearch-message-prefix, isearch-message-suffix):
24475 Mark unused parameters.
24477 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24479 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24481 * makesum.el (double-column): Remove unused variable `cnt'.
24483 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24484 (ido-ignore-item-temp-list): Declare.
24486 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24487 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24488 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24489 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24492 * mouse-sel.el (mouse-extend-internal):
24493 Remove unused variable `orig-window-frame'.
24495 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24496 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24497 Move declarations before first use.
24498 (pcomplete-opt): Mark unused parameters; doc fix.
24500 * proced.el (proced-revert): Mark unused parameter.
24501 (proced-send-signal): Remove unused variable `err'.
24503 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24504 Rename parameter PREFIX-ARG to ARG.
24505 (ps-basic-plot-string, ps-basic-plot-whitespace):
24506 Mark unused parameters.
24508 * replace.el (replace-count): Define.
24509 (occur-revert-function): Mark unused parameters.
24510 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24511 (isearch-case-fold-search, isearch-string): Declare.
24512 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24513 bind `case-fold-search'. Remove unused variables `beg' and `end',
24515 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24516 COUNT and bind `replace-count'.
24517 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24520 * savehist.el (print-readably, print-string-length): Declare.
24522 * shadowfile.el (shadow-expand-cluster-in-file-name):
24523 Remove unused variable `cluster'.
24524 (shadow-copy-file): Remove unused variable `i'.
24525 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24526 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24527 (shadow-define-literal-group, shadow-define-regexp-group)
24528 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24530 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24531 (shell): Use `called-interactively-p'.
24532 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24534 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24535 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24536 (delete-backward-char): Remove unused variable `ocol'.
24537 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24538 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24539 (event-apply-hyper-modifier, event-apply-shift-modifier)
24540 (event-apply-control-modifier, event-apply-meta-modifier):
24541 Mark unused parameters.
24542 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24543 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24545 * speedbar.el (speedbar-ignored-directory-expressions)
24546 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24547 (speedbar-find-file, speedbar-dir-follow)
24548 (speedbar-directory-buttons-follow, speedbar-tag-find)
24549 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24550 (speedbar-buffers-line-directory, speedbar-buffer-click):
24551 Mark unused parameters.
24552 (speedbar-tag-file): Remove unused variable `mode'.
24553 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24555 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24557 * talk.el (talk): Remove unused variable `display'.
24559 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24560 (tar-write-region-annotate): Mark unused parameter.
24562 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24563 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24564 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24565 warning by another.
24567 * time-stamp.el (time-stamp-string-preprocess):
24568 Remove unused variable `require-padding'.
24570 * tree-widget.el (widget-glyph-enable): Declare.
24571 (tree-widget-action): Mark unused parameter.
24573 * w32-fns.el (x-get-selection): Mark unused parameter.
24574 (autoload-make-program, generated-autoload-file): Declare.
24576 * wdired.el (wdired-revert): Mark unused parameters.
24577 (wdired-xcase-word): Remove unused variable `err'.
24579 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24580 (whitespace-help-scroll): Remove unused variable `data-help'.
24582 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24583 (widget-image-insert, widget-after-change, default)
24584 (widget-default-format-handler, widget-default-notify)
24585 (widget-default-prompt-value, widget-info-link-action)
24586 (widget-url-link-action, widget-function-link-action)
24587 (widget-variable-link-action, widget-file-link-action)
24588 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24589 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24590 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24591 (widget-insert-button-action, widget-delete-button-action, visibility)
24592 (widget-documentation-link-action, widget-documentation-string-action)
24593 (widget-const-prompt-value, widget-regexp-match, symbol)
24594 (widget-coding-system-prompt-value)
24595 (widget-key-sequence-value-to-external, sexp)
24596 (widget-sexp-value-to-internal, character, vector, cons)
24597 (widget-choice-prompt-value, widget-boolean-prompt-value)
24598 (widget-color--choose-action): Mark unused parameters.
24599 (widget-item-match-inline, widget-choice-match-inline)
24600 (widget-checklist-match, widget-checklist-match-inline)
24601 (widget-group-match): Rename parameter VALUES to VALS.
24602 (widget-field-value-set): Remove unused variable `size'.
24603 (widget-color-action): Remove unused variables `value' and `start'.
24605 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24606 variable `dir'. Doc fix.
24607 (windmove-find-other-window): Don't pass it.
24609 * window.el (count-windows): Mark unused parameter.
24610 (bw-adjust-window): Remove unused variable `err'.
24612 * woman.el (woman-file-name): Remove unused variable `default'.
24613 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24614 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24615 (global-font-lock-mode): Declare.
24616 (woman-decode-region): Mark unused parameter.
24617 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24619 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24620 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24621 (x-dnd-handle-moz-url): Remove unused variable `title'.
24622 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24624 * xml.el (xml-parse-tag, xml-parse-attlist):
24625 Remove unused variable `pos'.
24627 2011-04-19 Glenn Morris <rgm@gnu.org>
24629 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24630 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24631 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24632 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24633 * calendar/cal-html.el (cal-html-insert-minical):
24634 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24635 (calendar-mark-date-pattern):
24636 Prefix "unused" locals.
24638 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24639 optional argument `style'.
24641 * calendar/appt.el (appt-make-list):
24642 * calendar/cal-china.el (calendar-chinese-date-string):
24643 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24644 (diary-hebrew-yahrzeit):
24645 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24646 * calendar/calendar.el (calendar-generate-window):
24647 * calendar/time-date.el (time-to-days):
24648 Remove unused local variables.
24650 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24652 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24653 glyphless-char-display table.
24654 (tabulated-list-glyphless-char-display): New var.
24656 2011-04-18 Sam Steingold <sds@gnu.org>
24658 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24659 to acknowledgments.
24661 2011-04-17 Glenn Morris <rgm@gnu.org>
24663 * calendar/diary-lib.el (diary-sexp-entry):
24664 * calendar/holidays.el (holiday-sexp):
24665 Set debug-on-error rather than the removed stack-trace-on-error.
24667 2011-04-16 Glenn Morris <rgm@gnu.org>
24669 * progmodes/f90.el: Use lexical-binding.
24670 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24672 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24674 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24675 (mail-mode): Setup mailalias completion here instead.
24676 * mail/mailalias.el: Use lexical-binding.
24677 (pattern, mailalias-done): Declare dynamic.
24678 (mail-completion-at-point-function): New function, from mail-complete.
24679 (mail-complete): Use it.
24680 (mail-completion-expand): New function.
24681 (mail-get-names): Use it.
24682 (mail-directory, mail-directory-process, mail-directory-stream):
24683 Don't use `pattern' for lexically bound arg.
24685 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24687 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24688 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24689 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24691 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24692 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24693 (byte-interactive-p): Define them again, for use when inlining
24696 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24698 * loadup.el: Use `string-to-number', not `string-to-int'.
24700 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24702 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24703 gud-gdb-complete-command.
24704 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24705 (gud-gdb-completion-at-point): New function.
24706 (gud-gdb-completions): Remove.
24708 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24710 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24711 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24712 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24713 whether `executable-find' is bound.
24715 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24717 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24719 * minibuffer.el (completion-in-region-mode-predicate)
24720 (completion-in-region-mode--predicate): New vars.
24721 (completion-in-region, completion-in-region--postch)
24722 (completion-in-region-mode): Use them.
24723 (completion--capf-wrapper): Also return the hook function.
24724 (completion-at-point, completion-help-at-point):
24725 Adjust and provide a predicate.
24727 Preserve arg names for advice of subr and lexical functions (bug#8457).
24728 * help-fns.el (help-function-arglist): Consolidate the subr and
24729 new-byte-code cases. Add argument `preserve-names' to extract names
24730 from the docstring when needed.
24731 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24732 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24733 (ad-arglist): Use help-function-arglist's new arg.
24734 (ad-definition-type): Use cond.
24736 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24738 * autorevert.el (auto-revert-handler):
24739 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24740 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24741 Don't quote lambda.
24743 * image-mode.el (image-transform-set-scale):
24744 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24746 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24748 * net/network-stream.el (network-stream-open-starttls): Only do
24749 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24750 Upgrades via gnutls-cli are too slow to be done opportunistically.
24752 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24754 * dframe.el (dframe-current-frame): Remove spurious quote.
24756 2011-04-12 Glenn Morris <rgm@gnu.org>
24758 * calendar/cal-tex.el (cal-tex-end-document):
24759 Try to automatically use latin1 input if needed.
24761 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24762 Don't try to cons a mark onto an empty element.
24764 2011-04-11 Leo Liu <sdl.web@gmail.com>
24766 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24768 (ido-kill-buffer-at-head): Support killing virtual buffers.
24770 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24772 * minibuffer.el (completion-show-inline-help): New var.
24773 (completion--do-completion, minibuffer-complete)
24774 (minibuffer-force-complete, minibuffer-complete-word):
24775 Inhibit minibuffer messages if completion-show-inline-help is nil.
24777 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24778 to avoid interference from inline help (Bug#5849).
24780 2011-04-10 Leo Liu <sdl.web@gmail.com>
24782 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24785 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24787 * image-mode.el (image-toggle-display-image): Signal an error if
24789 (image-transform-mode, image-transform-resize)
24790 (image-transform-set-rotation): Doc fix.
24791 (image-transform-set-resize): Delete.
24792 (image-transform-set-scale, image-transform-fit-to-height)
24793 (image-transform-fit-to-width): Handle image-toggle-display-image
24794 and image-transform-resize directly.
24796 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24798 * doc-view.el (doc-view-fit-width-to-window)
24799 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24800 New functions for fitting the shown image to the Emacs window size.
24801 (doc-view-mode-map): Add bindings for the new functions.
24803 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24805 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24806 Fix typo in docstring.
24808 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24810 * files.el (file-size-human-readable): Produce one digit after
24811 decimal, like "ls -lh" does.
24813 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24814 the file size representation.
24816 * simple.el (list-processes): If async subprocesses are not
24817 available, error out with a clear error message.
24819 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24821 * help.el (help-form-show): New function, to be called from C.
24822 Put help-form output in a buffer named differently than *Help*.
24824 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24826 * files.el (file-size-human-readable): New function.
24828 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24829 computing the representation inline. Don't require `cl'.
24831 2011-04-08 Glenn Morris <rgm@gnu.org>
24833 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24835 * net/browse-url.el (browse-url-firefox):
24836 Test system-type, not system-configuration.
24838 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24839 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24840 Use log-edit-empty-buffer-p. (Bug#7598)
24842 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24843 (rlogin-mode-map): Initialize in the defvar.
24844 (rlogin): Use ignore-errors.
24846 * replace.el (occur-mode-map): Some fixes for menu items.
24848 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24850 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24852 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24854 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24855 issuing unused warnings.
24857 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24860 * simple.el: Lisp reimplement of list-processes. Based on an
24861 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24862 (process-menu-mode): New major mode.
24863 (list-processes--refresh, list-processes):
24864 (process-menu-visit-buffer): New functions.
24866 * files.el (save-buffers-kill-emacs): Don't assume any return
24867 value of list-processes, which is undocumented anyway.
24869 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24871 * emacs-lisp/tabulated-list.el: New file.
24873 * emacs-lisp/package.el: Use Tabulated List mode.
24874 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24875 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24876 table format using Tabulated List mode variables.
24877 (package--push): New macro, replacing package-list-maybe-add.
24878 (package-menu--generate): Use package--push. Renamed from
24879 package--generate-package-list.
24880 (package-menu-refresh, list-packages): Use it.
24881 (package-menu--print-info): Rename from package-print-package.
24882 Return insertion data instead of inserting it directly.
24883 (package-menu-describe-package, package-menu-execute):
24884 Use tabulated-list-get-id.
24885 (package-menu-mark-delete, package-menu-mark-install)
24886 (package-menu-mark-unmark, package-menu-backup-unmark)
24887 (package-menu-mark-obsolete-for-deletion):
24888 Use tabulated-list-put-tag.
24889 (package--list-packages, package-menu-revert)
24890 (package-menu-get-package, package-menu-get-version)
24891 (package-menu-sort-by-column): Functions deleted.
24892 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24893 (package-menu--status-predicate, package-menu--version-predicate)
24894 (package-menu--name-predicate)
24895 (package-menu--description-predicate): Handle arguments in the
24896 Tabulated List format.
24897 (package-list-packages-no-fetch): Call list-packages.
24899 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24901 * files.el (after-find-file-from-revert-buffer): Remove variable.
24902 (after-find-file): Don't bind it.
24903 (revert-buffer-in-progress-p): New variable.
24904 (revert-buffer): Bind it.
24905 Pass nil for `after-find-file-from-revert-buffer'.
24907 * saveplace.el (save-place-find-file-hook): Use new variable
24908 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24910 2011-04-06 Glenn Morris <rgm@gnu.org>
24912 * Makefile.in (AUTOGEN_VCS): New variable.
24913 (autoloads): Use $AUTOGEN_VCS.
24915 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24916 * calendar/calendar.el (calendar-mode-map):
24917 Check for toolkit scroll bars. (Bug#8305)
24919 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24921 * minibuffer.el (completion-in-region--postch)
24922 (completion-in-region-mode): Remove unnecessary messages.
24924 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24926 * font-lock.el (font-lock-refresh-defaults):
24927 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24928 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24930 * info.el (Info-directory-list, Info-read-node-name-2)
24931 (Info-split-parameter-string): Doc fixes.
24932 (Info-virtual-nodes): Reflow docstring.
24933 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24934 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24935 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24936 Fix typos in docstrings.
24937 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24938 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24939 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24940 (Info-restore-desktop-buffer): Mark unused parameters.
24941 (Info-directory-find-file, Info-directory-find-node)
24942 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24943 (Info-virtual-index-find-node, Info-apropos-find-file)
24944 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24945 Mark unused parameters; fix typos in docstrings.
24946 (Info-virtual-index): Remove unused local variable `nodename'.
24948 2011-04-05 Deniz Dogan <deniz@dogan.se>
24950 * net/rcirc.el: Update my e-mail address.
24951 (rcirc-mode-map): Remove M-o binding.
24953 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24955 * startup.el (command-line): Save the cursor's theme-face
24956 directly, instead of using face-override-spec.
24958 * custom.el (load-theme): Minor optimization in assigning faces.
24960 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24962 * help-fns.el (describe-variable): Complete all variables having
24963 documentation, including keywords.
24964 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24966 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24968 Convert to lexical-binding.
24970 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24971 (bs--get-marked-string, bs--get-modified-string)
24972 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24973 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24974 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24976 * ehelp.el (electric-help-execute-extended)
24977 (electric-help-ctrl-x-prefix):
24978 * hexl.el (hexl-revert-buffer-function):
24979 * linum.el (linum-after-change, linum-after-scroll):
24980 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24982 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24984 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24991 * epg.el: Use lexical binding.
24993 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24995 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24997 * textmodes/flyspell.el (flyspell-word): Recognize default
24998 dictionary case for flyspell-mark-duplications-exceptions.
24999 Use regexp matching for languages.
25000 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25001 default dictionary (Bug#7926).
25003 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25005 * emacs-lisp/package.el (package--with-work-buffer):
25006 Recognize https URLs.
25008 * net/network-stream.el: Move from gnus/proto-stream.el.
25009 Change prefix to network-stream throughout.
25010 (open-protocol-stream): Merge into open-network-stream, leaving
25011 open-protocol-stream as an alias. Handle nil BUFFER args.
25013 * subr.el (open-network-stream): Move to net/network-stream.el.
25015 2011-04-02 Glenn Morris <rgm@gnu.org>
25017 * find-dired.el (find-exec-terminator): New option.
25018 (find-ls-option): Test for -ls support.
25019 (find-ls-subdir-switches): Test for -b in find-ls-option.
25020 (find-dired, find-grep-dired): Doc fixes.
25021 (find-dired): Use find-exec-terminator.
25023 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25024 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25025 (find-name-arg): Remove purecopy.
25027 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25028 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25029 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25030 accordingly. Don't add the null-device if not needed.
25032 * files.el (save-some-buffers): Doc fix.
25034 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25036 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25038 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25040 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25041 Use `dolist' rather than `mapcar'.
25043 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25045 Add lexical binding.
25047 * subr.el (apply-partially): Use new closures rather than CL.
25048 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25049 (dolist, dotimes): Use slightly different expansion for lexical code.
25050 (functionp): Move to C.
25051 (letrec): New macro.
25052 (with-wrapper-hook): Use it and apply-partially instead of CL.
25053 (eval-after-load): Preserve lexical-binding.
25054 (save-window-excursion, with-output-to-temp-buffer): Turn them
25057 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25059 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25061 (help-add-fundoc-usage): Don't add `Not documented'.
25062 (help-function-arglist): Handle closures, subroutines, and new
25063 byte-code-functions.
25064 (help-make-usage): Remove leading underscores.
25065 (describe-function-1): Handle closures.
25066 (describe-variable): Use special-variable-p for completion.
25068 * files.el (lexical-binding): Declare safe.
25070 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25071 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25072 (pcase): Add `let' pattern.
25073 Change memoization so it actually works.
25074 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25075 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25078 * emacs-lisp/macroexp.el: Use lexical binding.
25079 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25080 Don't convert ' to #' without checking that it's indeed quoting
25083 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25084 Use eval-sexp-add-defvars.
25085 (eval-sexp-add-defvars): New fun.
25087 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25089 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25091 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25092 than the internal `byte-compile-lambda'.
25093 (defmethod): Don't hide code under quotes.
25094 (eieio-defmethod): New `code' argument.
25096 * emacs-lisp/eieio-comp.el: Remove.
25098 * emacs-lisp/edebug.el (edebug-eval-defun)
25099 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25100 (edebug-toggle): Avoid `eval'.
25102 * emacs-lisp/disass.el (disassemble-internal): Handle new
25104 (disassemble-1): Handle new byte codes.
25106 * emacs-lisp/cl.el (pushnew): Silence warning.
25108 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25109 (cl-byte-compile-throw): Remove.
25110 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25112 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25115 * emacs-lisp/cconv.el: New file.
25117 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25118 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25119 (byte-compile-initial-macro-environment):
25120 Handle declare-function here.
25121 (byte-compile--lexical-environment): New var.
25122 (byte-stack-ref, byte-stack-set, byte-discardN)
25123 (byte-discardN-preserve-tos): New lap codes.
25124 (byte-interactive-p): Don't use any more.
25125 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25127 (byte-compile-lapcode): Use them and handle new lap codes.
25128 (byte-compile-obsolete): Remove.
25129 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25130 (byte-compile-arglist-warn): Check late def of inlinable funs.
25131 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25132 since they should have been expanded by now.
25133 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25134 (byte-compile-from-buffer): Remove unused second arg.
25135 (byte-compile-preprocess): New function.
25136 (byte-compile-toplevel-file-form): New function to distinguish
25137 file-form calls from outside from file-form calls from hunk-handlers.
25138 (byte-compile-file-form): Simplify.
25139 (byte-compile-file-form-defsubst): Remove.
25140 (byte-compile-file-form-defmumble): Simplify now that
25141 byte-compile-lambda always returns a byte-code-function.
25142 (byte-compile): Preprocess.
25143 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25144 Remove, not used any more.
25145 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25146 (byte-compile-make-args-desc): New funs.
25147 (byte-compile-lambda): Handle lexical functions. Always return
25148 a byte-code-function.
25149 (byte-compile-reserved-constants): New var, to make up room for
25150 closed-over variables.
25151 (byte-compile-constants-vector): Obey it.
25152 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25153 (byte-compile-macroexpand-declare-function): New function.
25154 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25155 byte-code-functions.
25156 (byte-compile-form): Check obsolescence here.
25157 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25158 (byte-compile-variable-ref): Remove.
25159 (byte-compile-dynamic-variable-op): New fun.
25160 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25161 (byte-compile-variable-set): New funs.
25162 (byte-compile-discard): Add 2 args.
25163 (byte-compile-stack-ref, byte-compile-stack-set)
25164 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25165 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25166 macroexpand-all instead.
25167 (byte-compile-quote-form): Remove.
25168 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25169 (byte-compile-bind, byte-compile-unbind): New funs.
25170 (byte-compile-let): Handle let* and lexical binding.
25171 (byte-compile-let*): Remove.
25172 (byte-compile-catch, byte-compile-unwind-protect)
25173 (byte-compile-track-mouse, byte-compile-condition-case):
25174 Handle a new :fun-body form, used for lexical scoping.
25175 (byte-compile-save-window-excursion)
25176 (byte-compile-with-output-to-temp-buffer): Remove.
25177 (byte-compile-defun): Simplify.
25178 (byte-compile-stack-adjustment): New fun.
25179 (byte-compile-out): Use it.
25180 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25182 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25185 * emacs-lisp/byte-opt.el: Use lexical binding.
25186 (byte-inline-lapcode): Remove (to bytecomp).
25187 (byte-compile-inline-expand): Pay attention to inlining to/from
25188 lexically bound code.
25189 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25191 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25192 any more and don't call compiler-macros.
25193 (byte-compile-splice-in-already-compiled-code): Remove.
25194 (byte-code): Don't inline any more.
25195 (disassemble-offset): Receive `bytes' as argument rather than via
25197 (byte-compile-tag-number): Declare before first use.
25198 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25199 `return' even if make-spliceable.
25200 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25201 obsolete interactive-p.
25202 (byte-optimize-lapcode): Optimize new lap-codes.
25203 Don't trip up on new form of `byte-constant' lap code.
25205 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25207 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25209 * custom.el (custom-initialize-default, custom-declare-variable):
25212 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25214 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25215 (COMPILE_FIRST): Add macroexp and cconv.
25216 * makefile.w32-in: Mirror changes in Makefile.in.
25218 * vc/cvs-status.el:
25222 * vc/smerge-mode.el:
25223 * textmodes/bibtex-style.el:
25224 * textmodes/css-mode.el:
25232 * emacs-lisp/smie.el:
25235 * abbrev.el: Use lexical binding.
25237 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25239 * info.el (info-display-manual): New function.
25241 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25243 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25245 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25247 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25248 an entry for that server in rcirc-authinfo. (Bug#8385)
25250 2011-03-31 Glenn Morris <rgm@gnu.org>
25252 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25254 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25256 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25258 * progmodes/python.el (python-default-interpreter)
25259 (python-python-command-args, python-jython-command-args)
25260 (python-which-shell, python-which-args, python-which-bufname)
25261 (python-file-queue, python-comint-output-filter-function)
25262 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25263 variables and functions.
25265 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25267 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25268 (completion-in-region-mode): New minor mode.
25269 (completion-in-region): Use it.
25270 (completion-in-region--data, completion-in-region-mode-map): New vars.
25271 (completion-in-region--postch): New function.
25272 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25274 (completion--capf-wrapper): New function.
25275 (completion-at-point): Use it to track well-behavedness of
25277 (completion-help-at-point): New command.
25279 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25281 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25282 syntax class to search for whitespace on a single line
25283 (Message-ID: <4D938140.4030905@redhat.com>).
25285 2011-03-30 Leo Liu <sdl.web@gmail.com>
25287 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25289 (edit-abbrevs-map): Bind them here.
25290 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25292 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25294 * allout.el (allout-hide-by-annotation, allout-flag-region):
25295 Reduce possibility of overlay leakage by making them volatile.
25297 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25298 hash is not shared between buffers. Mode initialization is
25299 responsible for giving it a useful starting value.
25300 (allout-item-span): Reduce possibility of overlay leakage by
25301 making them volatile.
25302 (allout-widgets-count-buttons-in-region): Add diagnostic function
25303 for tracking down button overlay leaks.
25305 2011-03-29 Leo Liu <sdl.web@gmail.com>
25307 * ido.el (ido-read-internal): Use the default history var
25308 minibuffer-history if no HISTORY is specified.
25310 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25312 * net/imap.el (imap-shell-open, imap-process-connection-type):
25313 Use imap-process-connection-type for 'shell' streams as well as
25314 Kerberos, SSL, other subprocesses.
25316 2011-03-28 Leo Liu <sdl.web@gmail.com>
25318 * abbrev.el (abbrev-table-empty-p): New function.
25319 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25320 nonempty ones. (Bug#5937)
25322 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25324 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25326 2011-03-27 Leo Liu <sdl.web@gmail.com>
25328 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25329 for foreground and background colors.
25330 (ansi-color-make-color-map): Adapt.
25332 2011-03-25 Leo Liu <sdl.web@gmail.com>
25334 * midnight.el (midnight-time-float): Remove. Note it calculates
25335 the microsecond component incorrectly and seconds-to-time does the
25337 Remove redundant (require 'timer).
25339 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25340 (ido-completions): Remove unused arguments. (Bug#8329)
25342 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25344 * minibuffer.el (completion--flush-all-sorted-completions):
25345 Remove itself from hook.
25346 (completion-at-point): Let the functions perform the completion
25347 immediately and return nil or t.
25348 * comint.el (comint-dynamic-complete-functions): Now identical to
25349 completion-at-point-functions.
25350 (comint-dynamic-list-input-ring): Remove unused var `index'.
25351 (comint--match-partial-filename, comint--unquote&expand-filename):
25352 New funs, split from comint-match-partial-filename.
25353 (comint-dynamic-complete): Use completion-at-point.
25354 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25356 2011-03-24 Drew Adams <drew.adams@oracle.com>
25358 * thingatpt.el: Support `defun'.
25360 2011-03-23 Leo Liu <sdl.web@gmail.com>
25362 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25364 * help-mode.el (help-mode-finish): Tweak regexp.
25366 2011-03-23 Glenn Morris <rgm@gnu.org>
25368 * eshell/esh-opt.el (eshell-eval-using-options):
25369 Do not bind unused local variable `eshell-option-stub'.
25371 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25373 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25375 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25376 keymap variable in `with-no-warnings' to avoid a warning when the
25377 keymap has been already `defconst'ed.
25379 2011-03-22 Leo Liu <sdl.web@gmail.com>
25381 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25382 encode all chars in abbrevs; otherwise use emacs-mule or
25383 utf-8-emacs. (Bug#8308)
25385 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25387 * simple.el (backward-delete-char-untabify):
25388 Avoid warning about using `delete-backward-char'.
25390 * image.el (image-type-file-name-regexps): Make it variable.
25391 `imagemagick-register-types' modifies it, and the user may want
25392 to add new extensions for known image types.
25393 (imagemagick-register-types): Throw error if not using ImageMagick.
25395 2011-03-22 Leo Liu <sdl.web@gmail.com>
25397 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25398 located before rcirc-prompt-end-marker.
25399 (rcirc-complete): Error if point is not after rcirc prompt.
25400 Handle the case when table is nil.
25401 (rcirc-user-authenticated): Define to fix compiler warning.
25403 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25405 * custom.el (custom--inhibit-theme-enable): Make it affect only
25406 custom-theme-set-variables and custom-theme-set-faces.
25407 (provide-theme): Ignore custom--inhibit-theme-enable.
25408 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25409 (custom-enabling-themes): Delete variable.
25410 (enable-theme): Accept only loaded themes as arguments.
25411 Ignore the special custom-enabled-themes variable.
25412 (custom-enabled-themes): Forbid themes from setting this.
25413 Eliminate use of custom-enabling-themes.
25414 (custom-push-theme): Quote "changed" custom var entry.
25416 2011-03-21 Leo Liu <sdl.web@gmail.com>
25418 * ido.el (ido-read-internal): Add ido-selected to history instead
25421 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25423 * subr.el (deferred-action-list, deferred-action-function):
25426 2011-03-21 Leo Liu <sdl.web@gmail.com>
25428 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25429 change on 2011-02-13 (bug#8309).
25431 * minibuffer.el (read-file-name-function): Change default value.
25432 (read-file-name--defaults): Rename from read-file-name-defaults.
25433 (read-file-name-default): Rename from read-file-name.
25434 (read-file-name): Call read-file-name-function.
25436 2011-03-21 Glenn Morris <rgm@gnu.org>
25438 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25441 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25443 * cus-theme.el: Add missing provide statement.
25444 (customize-create-theme): Extract theme value correctly.
25445 (custom-theme-visit-theme): Autoload.
25446 (customize-create-theme): Prompt before inserting default faces.
25448 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25450 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25451 units and musical notes.
25453 2011-03-20 Leo Liu <sdl.web@gmail.com>
25455 * ido.el (ido-read-internal): Use completing-read-default.
25456 (ido-completing-read): Fix compatibility with completing-read.
25458 2011-03-20 Christian Ohler <ohler@gnu.org>
25460 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25461 (ert-delete-all-tests): Use `called-interactively-p' rather than
25463 (ert--make-xrefs-region): Respect END.
25465 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25467 * dired-aux.el (dired-create-directory): Signal an error if the
25468 directory already exists (Bug#8246).
25470 * facemenu.el (list-colors-display): Call list-faces-display
25471 inside with-help-window.
25472 (list-colors-print): Use display property to align the final
25473 column, instead of checking window-width.
25475 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25477 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25478 windows-nt systems.
25479 (emerge-protect-metachars): Quote correctly for ms-dos and
25480 windows-nt systems.
25482 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25484 * info.el (info-initialize): Replace all uses of `:' with
25485 path-separator for compatibility with non-Unix systems.
25486 Cache quoting of path-separator. (Bug#8258)
25488 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25490 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25491 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25492 (mouse-avoidance-mode): Fix typos in docstrings.
25494 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25496 * startup.el (package-subdirectory-regexp): Move from package.el.
25497 Omit \\` and \\', and let callers add them.
25499 * emacs-lisp/package.el (package-strip-version)
25500 (package-load-all-descriptors): Add \\` and \\' to
25501 package-subdirectory-regexp before using it.
25502 (package-untar-buffer): New arg DIR; ensure that file untars only
25503 into this expected directory. Remove superfluous delete-region.
25504 (package-unpack): Caller changed.
25505 (package-tar-file-info): Use package-subdirectory-regexp.
25507 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25509 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25510 diff-mode-shared-map (bug#8284).
25511 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25513 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25515 * calendar/time-date.el (format-seconds): Use assoc instead of
25516 assoc-string, since assoc-string doesn't exist in XEmacs.
25518 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25520 * custom.el (custom-known-themes): Reflow docstring.
25521 (custom-theme-load-path): Fix typo in docstring.
25522 (load-theme): Fix typo in error message.
25523 (custom-available-themes, custom-variable-theme-value):
25524 Use `let', not `let*'.
25526 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25528 * calc/README: Mention inclusion of musical notes.
25530 * calc/calc-units.el (calc-lu-quant): Rename from
25531 `calc-logunits-quantity'.
25532 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25533 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25534 (calc-db): Rename from `calc-dblevel'.
25535 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25536 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25537 (calc-np): Rename from `calc-nplevel'.
25538 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25539 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25540 (calc-lu-plus): Rename from `calc-logunits-add'.
25541 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25542 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25543 (calc-lu-minus): Rename from `calc-logunits-sub'.
25544 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25545 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25546 (calc-lu-times): Rename from `calc-logunits-mul'.
25547 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25548 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25549 (calc-lu-divide): Rename from `calc-logunits-div'.
25550 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25551 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25553 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25554 functions being autoloaded.
25556 * calc/calc.el (calc-lu-power-reference): Rename from
25557 `calc-logunits-power-reference'.
25558 (calc-lu-field-reference): Rename from
25559 `calc-logunits-field-reference'.
25561 * calc/calc-help.el (calc-l-prefix-help):
25562 Mention musical note functions.
25564 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25566 * minibuffer.el (completion-all-sorted-completions):
25567 Use :completion-cycle-penalty text property if present.
25569 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25571 * allout.el (allout-yank-processing): Adjust for new rebulleting
25572 regime so bullet being yanked is used without prompting the user
25575 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25577 * startup.el (command-line): Warn the user that _emacs is deprecated.
25579 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25581 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25582 (delphi-verbose, delphi-comment-face, delphi-string-face)
25583 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25584 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25585 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25586 (delphi-new-comment-line, delphi-font-lock-defaults)
25587 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25588 Fix typos in docstrings.
25590 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25592 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25593 Invert the roles of character and string values for INSTEAD, so a
25594 string is used for the more common case of a defaulting prompt.
25596 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25598 * progmodes/ruby-mode.el (ruby-backward-sexp):
25599 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25600 * play/gamegrid.el (gamegrid-make-face):
25601 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25602 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25603 * notifications.el (notifications-notify):
25604 * net/xesam.el (xesam-search-engines):
25605 * net/quickurl.el (quickurl-list-insert):
25606 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25608 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25610 * startup.el (command-line): Update package subdirectory regexp.
25612 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25614 * allout.el (allout-abbreviate-flattened-numbering)
25615 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25617 * subr.el (read-char-choice): Only show the cursor after the prompt,
25618 not after the answer.
25620 2011-03-15 Kevin Ryde <user42@zip.com.au>
25622 * help-fns.el (variable-at-point): Skip leading quotes, if any
25625 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25627 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25630 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25632 * shell.el (shell): When called interactively, offer to change the
25633 shell file name on remote hosts.
25635 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25637 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25638 integration for LDAP parameters. The host, base, user or binddn,
25639 and secret tokens can be specified in a netrc file, for instance.
25640 This is optional because an `auth-source' parameter must be
25641 specified in the search attributes.
25643 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25645 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25647 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25649 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25650 into declaration. Remove redundant and harmful binding.
25652 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25654 * files.el (file-ownership-preserved-p): Pass `integer' as an
25655 explicit 2nd argument to `file-attributes'. If the file's owner
25656 is the Administrators group on Windows, and the current user is
25657 Administrator, consider that a match.
25659 * server.el (server-ensure-safe-dir): Consider server directory
25660 safe on MS-Windows if its owner is the Administrators group while
25661 the current Emacs user is Administrator. Use `=' to compare
25662 numerical UIDs, since they could be integers or floats.
25664 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25666 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25668 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25670 Sync with Tramp 2.2.1.
25672 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25674 * net/trampver.el: Update release number.
25676 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25678 * progmodes/compile.el (compilation--previous-directory): Fix up
25679 various nil/dead-marker mismatches (bug#8014).
25680 (compilation-directory-properties, compilation-error-properties):
25681 Don't call it at a position past the one we're about to change.
25683 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25684 Disable obsolescence warnings in the file that declares it.
25686 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25688 * allout-widgets.el (allout-widgets-tally):
25689 Initialize allout-widgets-tally as a hash table rather than nil to
25690 prevent mode-line redisplay warnings. Also, clarify the module
25691 description and fix a comment typo.
25693 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25695 * help-fns.el (describe-variable): Don't complete keywords.
25696 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25698 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25700 * emacs-lisp/package.el (package-version-join): Impose a standard
25701 string representation for pre/alpha/beta version lists.
25702 (package-unpack-single): Standardize the directory name by passing
25703 it through package-version-join.
25704 (package-strip-rcs-id): Accept any version string that does not
25705 signal an error in version-to-list.
25707 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25709 * simple.el (delete-trailing-whitespace): Return nil for the
25710 benefit of `write-file-functions'.
25712 2011-03-10 Glenn Morris <rgm@gnu.org>
25714 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25716 * vc/vc-git.el (vc-git-program): New option.
25717 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25718 (vc-git--call): Use it.
25720 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25722 * cus-edit.el (Custom-newline): If no button at point, look
25723 for a subgroup button at start-of-line. (Bug#2298)
25725 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25727 2011-03-10 Julien Danjou <julien@danjou.info>
25729 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25730 `cursor-type' is nil.
25732 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25734 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25736 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25738 * allout.el: Change so yank of distinctive-bullet items
25739 preserves the existing header prefix, rebulleting it if necessary,
25740 rather than replacing it. This is necessary for proper operation
25741 of cooperative addons like allout-widgets.
25742 (allout-make-topic-prefix, allout-rebullet-heading):
25743 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25744 value as alternate bullet to be used, instead of prompting the user
25745 for a bullet character.
25747 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25750 Do not use `tramp-file-name-port', because this returns also
25751 `tramp-default-port'.
25753 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25755 * net/rcirc.el (rcirc-handler-001): Remove useless
25756 with-rcirc-process-buffer.
25757 (rcirc-check-auth-status): Swap arguments to string-match.
25759 2011-03-09 Glenn Morris <rgm@gnu.org>
25761 * shell.el (shell-mode):
25762 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25764 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25765 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25767 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25769 * emacs-lisp/package.el (package-refresh-contents)
25770 (package-menu-execute): Use condition-case-no-debug.
25772 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25774 * simple.el (shell-command-to-string): Use `process-file'.
25776 * emacs-lisp/package.el (package-tar-file-info): Handle also
25779 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25780 Use `equal' for upload base check.
25782 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25784 * textmodes/texinfo.el (texinfo-environments):
25785 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25787 2011-03-08 Glenn Morris <rgm@gnu.org>
25789 * cus-start.el (cursor-in-non-selected-windows):
25790 Fix :set quoting oddness. (Bug#8192)
25792 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25793 in some setf expressions. (Bug#2159)
25795 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25797 * custom.el (custom-available-themes): Return themes in
25798 alphabetical order.
25800 See ChangeLog.15 for earlier changes.
25802 ;; Local Variables:
25806 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25808 This file is part of GNU Emacs.
25810 GNU Emacs is free software: you can redistribute it and/or modify
25811 it under the terms of the GNU General Public License as published by
25812 the Free Software Foundation, either version 3 of the License, or
25813 (at your option) any later version.
25815 GNU Emacs is distributed in the hope that it will be useful,
25816 but WITHOUT ANY WARRANTY; without even the implied warranty of
25817 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25818 GNU General Public License for more details.
25820 You should have received a copy of the GNU General Public License
25821 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.