1 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11 2013-04-07 Leo Liu <sdl.web@gmail.com>
13 * pcmpl-x.el: New file.
15 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
17 Do not set x-display-name until X connection is established.
18 This is needed to prevent from weird situation described at
19 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20 * frame.el (make-frame): Set x-display-name after call to
21 window system initialization function, not before.
22 * term/x-win.el (x-initialize-window-system): Add optional
23 display argument and use it.
24 * term/w32-win.el (w32-initialize-window-system):
25 * term/ns-win.el (ns-initialize-window-system):
26 * term/pc-win.el (msdos-initialize-window-system):
27 Add compatible optional display argument.
29 2013-04-06 Eli Zaretskii <eliz@gnu.org>
31 * files.el (normal-backup-enable-predicate): On MS-Windows and
32 MS-DOS compare truenames of temporary-file-directory and of the
33 file, so that 8+3 aliases (usually found in $TEMP on Windows)
34 don't fail comparison by compare-strings. Also, compare file
35 names case-insensitively on MS-Windows and MS-DOS.
37 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
39 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
40 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
42 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
44 * whitespace.el (whitespace-color-on, whitespace-color-off):
45 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
47 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
49 * ispell.el (ispell-set-spellchecker-params):
50 Really set `ispell-args' for all equivs.
52 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
54 * ido.el (ido-completions): Use extra elements of ido-decorations
56 (ido-decorations): Update docstring.
58 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
60 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
61 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
62 nil during initialization, in order not to miss changes since the
63 file was opened. (Bug#14140)
65 2013-04-05 Leo Liu <sdl.web@gmail.com>
67 * kmacro.el (kmacro-call-macro): Fix bug#14135.
69 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
71 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
73 2013-04-04 Glenn Morris <rgm@gnu.org>
75 * electric.el (electric-pair-inhibit-predicate): Add :version.
77 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
79 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
80 when a package is required several times (bug#14082).
82 2013-04-04 Roland Winkler <winkler@gnu.org>
84 * faces.el (read-face-name): Behave as promised by the docstring.
85 Assume that arg default is a list of faces.
86 (describe-face): Call read-face-name with list of default faces.
88 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
90 * bookmark.el: Fix deletion of bookmarks (bug#13972).
91 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
92 (bookmark-bmenu-execute-deletions): Only skip first line if it's
94 (bookmark-exit-hook-internal): Save even if list is empty.
96 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
98 * emacs-lisp/package.el (package-pinned-packages): New var.
99 (package--add-to-archive-contents): Obey it (bug#14118).
101 2013-04-03 Alan Mackenzie <acm@muc.de>
103 Handle `parse-partial-sexp' landing inside a comment opener
104 (Bug#13244). Also adapt to the new values of element 7 of a parse
107 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
108 parameter `not-in-delimiter'. Handle being inside comment opener.
109 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
110 character in case we're typing a '*' after a '/'.
111 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
112 instead by passing the parameter to c-state-pp-to-literal.
114 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
115 for elt. 7 of a parse state.
117 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
119 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
120 * international/latin1-disp.el, international/mule-util.el:
121 * language/cyril-util.el, language/european.el, language/ind-util.el:
122 * language/lao-util.el, language/thai.el, language/tibet-util.el:
123 * language/tibetan.el, language/viet-util.el:
124 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
126 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
128 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
129 (electric-pair-post-self-insert-function): Use it.
130 (electric-pair-default-inhibit): New function, extracted from
131 electric-pair-post-self-insert-function.
133 2013-03-31 Roland Winkler <winkler@gnu.org>
135 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
137 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
139 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
141 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
143 Un-indent after "pass" and "return" statements (Bug#13888)
144 * progmodes/python.el (python-indent-block-enders): New var.
145 (python-indent-calculate-indentation): Use it.
147 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
149 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
150 defun. Defining it as defalias could introduce too eager
151 byte-compiler optimization. (Bug#14030)
153 2013-03-30 Chong Yidong <cyd@gnu.org>
155 * iswitchb.el (iswitchb-read-buffer): Fix typo.
157 2013-03-30 Leo Liu <sdl.web@gmail.com>
159 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
160 (kmacro-execute-from-register): Pass the keyboard macro to
161 kmacro-call-macro or repeating won't work correctly.
163 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
165 * progmodes/subword.el: Back to using `forward-symbol'.
167 * subr.el (forward-whitespace, forward-symbol)
168 (forward-same-syntax): Move from thingatpt.el.
170 2013-03-29 Leo Liu <sdl.web@gmail.com>
172 * kmacro.el (kmacro-to-register): New command.
173 (kmacro-execute-from-register): New function.
174 (kmacro-keymap): Bind to 'x'. (Bug#14071)
176 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
178 * mpc.el: Use defvar-local and setq-local.
179 (mpc--proc-connect): Connection failures are not bugs.
180 (mpc-mode-map): `follow-link' only applies to the buffer's content.
181 (mpc-volume-map): Bind to the up-events.
183 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
185 * progmodes/subword.el (superword-mode): Use `forward-sexp'
186 instead of `forward-symbol'.
188 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
190 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
191 (edebug--recursive-edit): Use it.
192 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
193 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
195 2013-03-28 Leo Liu <sdl.web@gmail.com>
197 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
199 2013-03-27 Eli Zaretskii <eliz@gnu.org>
201 * facemenu.el (list-colors-callback): New defvar.
202 (list-colors-redisplay): New function.
203 (list-colors-display): Install list-colors-redisplay as the
204 revert-buffer-function. (Bug#14063)
206 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
208 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
209 and suffixes don't overlap (bug#14061).
211 * case-table.el: Use lexical-binding.
212 (case-table-get-table): New function.
213 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
215 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
217 * progmodes/subword.el: Add `superword-mode' to do word motion
218 over symbol_words (parallels and leverages `subword-mode' which
219 does word motion inside MixedCaseWords).
221 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
223 * eshell/em-unix.el: Move su and sudo to...
224 * eshell/em-tramp.el: ...Eshell tramp module
226 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
228 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
229 Change return value to be a sexp. Delay `get-buffer' to after
230 restoring the desktop (bug#13951).
232 2013-03-26 Leo Liu <sdl.web@gmail.com>
234 * register.el: Move semantic tag handling back to
235 cedet/semantic/senator.el. (Bug#14052)
237 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
239 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
240 into the prompt either (bug#13963).
242 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
244 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
245 part of "(error-foo)".
247 2013-03-24 Juri Linkov <juri@jurta.org>
249 * replace.el (list-matching-lines-prefix-face): New defcustom.
250 (occur-1): Pass `list-matching-lines-prefix-face' to the function
251 `occur-engine' if `face-differs-from-default-p' returns t.
252 (occur-engine): Add `,' inside backquote construct to evaluate
253 `prefix-face'. Propertize the prefix with the `prefix-face' face.
254 Pass `prefix-face' to the functions `occur-context-lines' and
255 `occur-engine-add-prefix'.
256 (occur-engine-add-prefix, occur-context-lines): Add optional arg
257 `prefix-face' and propertize the prefix with `prefix-face'.
260 2013-03-24 Leo Liu <sdl.web@gmail.com>
262 * nxml/rng-valid.el (rng-validate-while-idle)
263 (rng-validate-quick-while-idle): Guard against deleted buffer.
266 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
267 is the last entry in kill-buffer-hook.
269 * files.el (kill-buffer-hook): Doc fix.
271 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
273 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
276 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
278 2013-03-23 Leo Liu <sdl.web@gmail.com>
280 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
283 * nxml/rng-valid.el (rng-validate-mode)
284 (rng-after-change-function, rng-do-some-validation):
285 * nxml/rng-maint.el (rng-validate-buffer):
286 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
287 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
288 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
289 (nxml-extend-after-change-region): Use with-silent-modifications.
291 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
294 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
295 (rng-next-error-1, rng-previous-error-1): Do not let-bind
296 timer-idle-list. (Bug#13999)
298 2013-03-23 Juri Linkov <juri@jurta.org>
300 * info.el (info-index-match): New face.
301 (Info-index, Info-apropos-matches): Add a nested subgroup to the
302 main pattern and add text properties with the new face to matches
303 in index entries relative to the beginning of the index entry.
306 2013-03-21 Eric Ludlam <zappo@gnu.org>
308 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
309 Inhibit read only while inserting objects.
311 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
313 * progmodes/cfengine.el: Update docs to mention
314 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
315 symbol motion. Remove "_" from the word syntax.
317 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
319 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
320 syntax for both `cfengine2-mode' and `cfengine3-mode'.
322 2013-03-20 Juri Linkov <juri@jurta.org>
324 * info.el (Info-next-reference-or-link)
325 (Info-prev-reference-or-link): New functions.
326 (Info-next-reference, Info-prev-reference): Use them.
327 (Info-try-follow-nearest-node): Handle footnote navigation.
328 (Info-fontify-node): Fontify footnotes. (Bug#13989)
330 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
332 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
333 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
335 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
337 Suppress unnecessary non-ASCII chatter during build process.
338 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
339 (batch-skkdic-convert): Suppress most of the chatter.
340 It's not needed so much now that machines are faster,
341 and its non-ASCII component was confusing; see Dmitry Gutov in
342 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
344 2013-03-20 Leo Liu <sdl.web@gmail.com>
346 * ido.el (ido-chop): Fix bug#10994.
348 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
350 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
352 (whitespace-color-on, whitespace-color-off):
353 Use `font-lock-fontify-buffer' (Bug#13817).
355 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
357 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
358 remapping in mode-line.
359 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
361 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
363 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
364 value for `whitespace-line' face (Bug#13875).
365 (whitespace-font-lock-keywords): Change description.
366 (whitespace-color-on): Don't save `font-lock-keywords' value, save
367 the constructed keywords instead.
368 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
370 2013-03-19 Leo Liu <sdl.web@gmail.com>
372 * progmodes/compile.el (compilation-display-error): New command.
373 (compilation-mode-map, compilation-minor-mode-map): Bind it to
376 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
378 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
380 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
382 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
384 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
386 * net/tramp-compat.el (tramp-compat-user-error): New defun.
388 * net/tramp-adb.el (tramp-adb-handle-shell-command):
389 * net/tramp-gvfs.el (top):
390 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
391 (tramp-handle-shell-command): Use it.
392 (tramp-dissect-file-name): Raise an error when hostname is a
393 method name, and neither method nor user is specified.
395 * net/trampver.el: Update release number.
397 2013-03-18 Leo Liu <sdl.web@gmail.com>
399 Make sure eldoc can be turned off properly.
400 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
402 (eldoc-display-message-p): Revert last change.
403 (eldoc-display-message-no-interference-p)
404 (eldoc-print-current-symbol-info): Tweak.
406 2013-03-18 Tassilo Horn <tsdh@gnu.org>
408 * doc-view.el (doc-view-new-window-function): Check the new window
409 overlay's display property instead the char property of the
410 buffer's first char. Use `with-selected-window' instead of
411 `save-window-excursion' with `select-window'.
412 (doc-view-document->bitmap): Check the current doc-view overlay's
413 display property instead the char property of the buffer's first char.
415 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
417 Automate the build of ja-dic.el (Bug#13984).
418 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
419 from the input, rather than assume that it's been done for us by the
420 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
421 the current date into a ja-dic.el comment, as that complicates
424 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
426 * whitespace.el: Fix double evaluation.
427 (whitespace-space, whitespace-hspace, whitespace-tab)
428 (whitespace-newline, whitespace-trailing, whitespace-line)
429 (whitespace-space-before-tab, whitespace-indentation)
430 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
432 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
433 (whitespace-color-on): Use a single font-lock-add-keywords call.
434 Fix double-evaluation of face variables.
436 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
438 * net/tramp-adb.el (tramp-adb-parse-device-names):
439 Use `start-process' instead of `call-process'. Otherwise, the
440 function might be blocked under MS Windows. (Bug#13299)
442 2013-03-17 Leo Liu <sdl.web@gmail.com>
444 Extend eldoc to display info in the mode-line. (Bug#13978)
445 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
446 (eldoc-mode-line-string): New variable.
447 (eldoc-minibuffer-message): New function.
448 (eldoc-message-function): New variable.
449 (eldoc-message): Use it.
450 (eldoc-display-message-p)
451 (eldoc-display-message-no-interference-p):
452 Support eldoc-post-insert-mode.
454 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
455 (eval-expression): Run it.
457 2013-03-17 Roland Winkler <winkler@gnu.org>
459 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
460 strings in the list of return values.
462 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
464 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
465 radix before checking for HMS forms.
467 2013-03-16 Leo Liu <sdl.web@gmail.com>
469 * progmodes/scheme.el: Add indentation and font-locking for λ.
472 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
474 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
475 token before point (bug#13942).
477 2013-03-16 Leo Liu <sdl.web@gmail.com>
479 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
481 2013-03-16 Eli Zaretskii <eliz@gnu.org>
483 * startup.el (command-line-normalize-file-name): Fix handling of
484 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
485 <xfq.free@gmail.com> in
486 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
488 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
490 Sync with Tramp 2.2.7.
492 * net/trampver.el: Update release number.
494 2013-03-14 Tassilo Horn <tsdh@gnu.org>
496 * doc-view.el Fix bug#13887.
497 (doc-view-insert-image): Don't modify overlay associated to
498 non-live windows, and implement horizontal centering of image in
499 case it's smaller than the window.
500 (doc-view-new-window-function): Force redisplay of new windows on
503 2013-03-13 Karl Fogel <kfogel@red-bean.com>
505 * saveplace.el (save-place-alist-to-file): Don't sort
506 `save-place-alist', just pretty-print it (bug#13882).
508 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
510 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
511 whether `default-file-name-coding-system' is bound. It isn't in
514 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
516 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
517 backquotes for `obsolete' (bug#13929).
519 * international/mule.el (find-auto-coding): Include file name in
520 obsolescence warning (bug#13922).
522 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
524 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
525 for CFEngine 3-specific indentation.
526 (cfengine3-indent-line): Use it. Fix up category regex.
527 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
529 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
531 * type-break.el (type-break-file-name):
532 * textmodes/remember.el (remember-data-file):
533 * strokes.el (strokes-file):
534 * shadowfile.el (shadow-initialize):
535 * saveplace.el (save-place-file):
536 * ps-bdf.el (bdf-cache-file):
537 * progmodes/idlwave.el (idlwave-config-directory):
538 * net/quickurl.el (quickurl-url-file):
539 * international/kkc.el (kkc-init-file-name):
540 * ido.el (ido-save-directory-list-file):
541 * emulation/viper.el (viper-custom-file-name):
542 * emulation/vip.el (vip-startup-file):
543 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
544 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
546 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
548 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
549 * language/thai-word.el: Switch to UTF-8.
551 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
553 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
555 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
557 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
558 Use with-current-buffer and don't move point.
559 (net-utils-run-simple): Remove useless code.
560 (net-utils-remove-ctl-m): Remove unused custom.
562 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
564 * international/characters.el (glyphless-set-char-table-range): New fun.
565 (update-glyphless-char-display): Use it (bug#13744).
567 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
569 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
570 namespaces in the syntax, indent closer for hanging brace
571 correctly, allow single-quote delimited 'strings', and make
572 `cfengine3-mode' the default.
574 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
576 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
577 Use lexical-binding. Fix up docstring according to conventions.
578 (gdbmi-debug-mode): New var.
579 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
580 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
581 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
582 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
583 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
584 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
585 (gdbmi-bnf-incomplete-record-result): New functions.
586 (gdb-car<): Remove function.
587 (gdbmi-record-list): Remove variable.
588 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
589 (gdbmi-bnf-result-state-configs): New const.
590 (gud-gdbmi-marker-filter): Rewrite.
591 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
592 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
593 Add `token' argument.
594 (gdb-done, gdb-error): New functions.
595 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
597 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
599 * term/xterm.el (xterm--report-background-handler): Don't burp
601 (xterm--version-handler): Extract from terminal-init-xterm.
602 (xterm--query): Don't mishandle timeout. Remove debugging messages.
603 Allow multiple handlers.
604 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
606 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
607 (xterm--report-background-handler, xterm--query): New functions.
608 (terminal-init-xterm): Use them.
610 2013-03-11 Michael R. Mauger <michael@mauger.com>
612 * progmodes/sql.el Version 3.2
613 Please note that my address changed to <michael@mauger.com>;
614 the <mmaug@yahoo.com> address remains active.
615 (sql-connection-alist): Updates documentation to fix bug#13715.
616 (sql-connect): Handle missing `sql-connection-alist' correctly.
617 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
618 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
620 (sql-default-value): New function.
621 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
622 values were not used.
623 (sql-rename-buffer): Make sure alternate buffer name has no text
625 (sql-input-sender, sql-execute-feature): Fetch variable with
626 `buffer-local-value' rather than `with-current-buffer'.
627 (sql-*): Use #' function syntax consistently.
628 (sql-*): Use message/error/user-error consistently.
630 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
632 * xt-mouse.el (xterm-mouse-event-read): Remove.
633 (xterm-mouse--read-event-sequence-1000)
634 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
636 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
638 * term/xterm.el (xterm-function-map): Support format used with
639 formatOtherKeys=1 (bug#13839).
641 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
642 (with-no-warnings): Use `declare'.
644 * whitespace.el (whitespace-enable-predicate): New variable.
645 (whitespace-enable-predicate): Use it.
647 * comint.el (comint-send-input, comint-snapshot-last-prompt)
648 (comint-output-filter, comint-update-fence):
649 Use with-silent-modifications.
651 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
653 * replace.el (occur-read-regexp-defaults-function): New var.
654 (occur-read-regexp-defaults): New defun.
655 (occur-read-primary-args): Propagate above change (bug#13892).
657 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
659 * mouse.el (mouse-drag-track): Remove left-over debugging code.
661 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
663 Major rewrite due to changed D-Bus interface of GVFS 1.14.
665 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
666 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
667 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
669 (tramp-gvfs-file-name-handler-alist) [directory-files]
670 [directory-files-and-attributes, file-exists-p, file-modes]:
671 Use Tramp default handler.
672 [file-acl, file-selinux-context, process-file, set-file-acl]:
673 [set-file-modes, set-file-selinux-context, shell-command]:
674 [start-file-process]: Remove handler.
675 [verify-visited-file-modtime]: New handler.
676 (tramp-gvfs-dbus-string-to-byte-array)
677 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
678 calls of `dbus-string-to-byte-array' and
679 `tramp-gvfs-dbus-byte-array-to-string'.
680 (tramp-gvfs-handle-copy-file)
681 (tramp-gvfs-handle-delete-directory)
682 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
683 (tramp-gvfs-handle-file-directory-p)
684 (tramp-gvfs-handle-file-executable-p)
685 (tramp-gvfs-handle-file-name-all-completions)
686 (tramp-gvfs-handle-file-readable-p)
687 (tramp-gvfs-handle-file-writable-p)
688 (tramp-gvfs-handle-insert-directory)
689 (tramp-gvfs-handle-insert-file-contents)
690 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
691 (tramp-gvfs-handle-set-visited-file-modtime)
692 (tramp-gvfs-handle-write-region): Rewrite.
693 (tramp-gvfs-handle-file-acl)
694 (tramp-gvfs-handle-file-selinux-context)
695 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
696 (tramp-gvfs-handle-set-file-modes)
697 (tramp-gvfs-handle-set-file-selinux-context)
698 (tramp-gvfs-handle-shell-command)
699 (tramp-gvfs-handle-start-file-process)
700 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
701 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
702 over the symlinks. Fix user handling.
703 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
704 of the D-Bus signals.
705 (tramp-gvfs-connection-mounted-p): Handle different names of the
707 (tramp-gvfs-mount-spec-entry): New defun.
708 (tramp-gvfs-mount-spec): Use it.
709 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
710 there is a share name. Handle different names of the D-Bus
711 signals and methods. Set connection properties needed for
712 `tramp-check-cached-permissions'.
713 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
716 * net/tramp.el (tramp-backtrace): Move up.
717 (tramp-error): Dump a backtrace into the debug buffer when
719 (tramp-file-mode-type-map, tramp-file-mode-from-int)
720 (tramp-file-mode-permissions, tramp-get-local-uid)
721 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
724 * net/tramp-sh.el (tramp-file-mode-type-map)
725 (tramp-check-cached-permissions, tramp-file-mode-from-int)
726 (tramp-file-mode-permissions, tramp-get-local-uid)
727 (tramp-get-local-gid): Move to tramp.el.
729 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
731 Separate mouse-1-click-follows-link from mouse-drag-region.
732 * mouse.el (mouse--down-1-maybe-follows-link): New function.
733 (key-translation-map): Use it to implement mouse-1-click-follows-link.
734 (mouse-drag-line, mouse-drag-track):
735 Remove mouse-1-click-follows-link code.
736 (mouse--remap-link-click-p): Remove.
738 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
740 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
741 (hi-lock-read-regexp-defaults): New defun.
742 (hi-lock-line-face-buffer, hi-lock-face-buffer)
743 (hi-lock-face-phrase-buffer): Propagate above change.
744 Update docstring (bug#13892).
746 * subr.el (find-tag-default-as-regexp): New defun.
747 * replace.el (read-regexp): Propagate above change.
749 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
751 * calc/calc-units.el (calc-convert-units): Fix the way that default
752 new units are stored.
754 2013-03-07 Matthias Meulien <orontee@gmail.com>
756 * bookmark.el: Define a face to highlight bookmark names in
757 bookmark menu buffers, where the default is a bold face similarly
758 to buffer names in buffer menu buffers.
759 (bookmark-menu-bookmark): New face to highlight bookmark names.
760 (bookmark-insert-location): Remove duplicated text property to
761 conform to buffer list (see `list-buffers').
762 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
763 `bookmark-menu-bookmark' to bookmark names.
765 2013-03-07 Matthias Meulien <orontee@gmail.com>
766 Karl Fogel <kfogel@red-bean.com>
768 * bookmark.el: Display the bookmark list header similarly to the
769 buffer list header (see `list-buffers'), where the default is now
770 an immovable/immutable header line.
771 (bookmark-bmenu-use-header-line): New variable.
772 (bookmark-bmenu-inline-header-height): New name for
773 `bookmark-bmenu-header-height', to avoid confusion with the code
774 for the new immovable header. All references changed.
775 (bookmark-bmenu-set-header): New function.
776 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
777 Conditionalize header construction accordingly.
778 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
779 the inline header height.
780 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
781 Conditionalize the skipping of the inline header height.
783 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
785 * progmodes/js.el (js--multi-line-declaration-indentation):
786 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
788 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
790 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
791 Only propertize regexp when not inside a string (Bug#13885).
793 2013-03-06 Alan Mackenzie <acm@muc.de>
795 Correct the position of point in some line-up functions.
796 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
797 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
798 point at column 0 rather than at a random place in the line.
800 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
802 * net/tramp-compat.el (tramp-compat-delete-directory):
803 Implement TRASH argument.
805 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
807 Keep pre-existing highlighting in completion candidates (Bug#13250).
808 * minibuffer.el (completions-first-difference): State that the
809 face is "added" in the docstring.
810 (completions-common-part): Same. And don't inherit from default.
811 (completion-hilit-commonality): Prepend 'completions-common-part
812 and 'completion-first-difference faces to the 'face property,
813 instead of replacing the value(s).
814 (completion--insert-strings): Same with 'completions-annotations face.
815 (completion-hilit-commonality): Use 'face instead of
816 'font-lock-face, because it gets priority if the completion
817 strings already have 'face set.
819 2013-03-04 Alan Mackenzie <acm@muc.de>
821 Replace `last-command-event' by `last-command-char' in XEmacs.
822 * progmodes/cc-defs.el (c-last-command-char): New macro.
823 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
824 (c-semi&comma-no-newlines-before-nonblanks)
825 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
826 in place of `last-command-event'.
827 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
828 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
829 (c-electric-paren, c-electric-continued-statement): Use the new
830 macro in place of `last-command-event'.
832 2013-03-04 Glenn Morris <rgm@gnu.org>
834 * files.el (inhibit-local-variables-regexps):
835 Add .diff and .patch. (Bug#13862)
837 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
839 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
840 whether the "su" command is available on the device.
842 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
844 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
845 (tramp-adb-handle-process-file): Remove superfluous setting.
846 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
847 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
848 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
850 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
852 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
853 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
854 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
855 Use dict-key rather than dict-name for the error message.
857 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
859 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
860 when reverting (bug#13831).
862 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
864 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
865 Always expand affix-file before storing to protect against changed
867 (ispell-print-if-debug): Make sure message is printed at the end
870 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
872 * net/tramp.el (tramp-obsolete-methods): New defconst.
873 (tramp-warned-obsolete-methods): New defvar.
874 (tramp-find-method): Check for obsolete methods. Map them to a
875 replacement method if appropriate.
877 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
879 (top): Remove completion functions for "scp1", "scp2", "ssh1",
882 2013-02-28 Dale Sedivec <dale@codefu.org>
884 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
885 Return valid syntax-table property value when converting
886 quotes within text from string syntax to punctuation syntax (bug#13844).
888 2013-02-28 Juri Linkov <juri@jurta.org>
890 * dired-aux.el (dired-diff): If file at point is a backup file,
891 use its original as the default value, and reverse the order
892 of arguments to the `diff' call. Doc fix. (Bug#13772)
894 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
896 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
897 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
899 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
901 Initial support for hunspell dictionaries auto-detection (Bug#13639)
903 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
904 Ask hunspell about available and default dictionaries.
905 (ispell-parse-hunspell-affix-file): Extract relevant info from
907 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
908 `ispell-dictionary-alist' entry for given dictionary after info
909 provided by `ispell-parse-hunspell-affix-file'.
910 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
911 of parsed hunspell dicts and associated affix files.
912 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
913 of parsed hunspell dicts and associated parameters.
914 (ispell-set-spellchecker-params):
915 Call `ispell-find-hunspell-dictionaries' if hunspell and not
917 (ispell-start-process):
918 Call `ispell-hunspell-fill-dictionary-entry' for current
919 dictionary if it is not initialized.
921 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
923 * imenu.el: Comment nitpicks.
925 2013-02-28 Sam Steingold <sds@gnu.org>
927 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
928 See <http://stackoverflow.com/questions/14720205>.
930 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
932 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
933 (net-utils-mode): Use it.
934 (net-utils--revert-cmd): New var.
935 (net-utils-run-simple): Set it, and remove bogus interactive spec.
936 (traceroute): Use net-utils-run-simple.
938 2013-02-28 Glenn Morris <rgm@gnu.org>
940 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
942 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
944 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
945 (doc-view-fallback-mode): Remove overlays here.
946 (doc-view-toggle-display): Instead of here. Don't throw away
947 image-mode-winprops-alist.
948 (doc-view-goto-page): Don't mess with hscroll.
950 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
952 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
953 &optional (bug#13819).
955 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
957 * net/tramp-adb.el (tramp-adb-parse-device-names)
958 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
960 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
962 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
963 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
964 defined. POSIX environments fall back to the "C" locale then and
965 emit a warning, which shall be suppressed.
967 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
969 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
970 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
972 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
974 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
976 2013-02-25 Juri Linkov <juri@jurta.org>
978 * replace.el (read-regexp): Let-bind `default' to the first
979 element of `defaults' if it's a list, otherwise it should be
980 a string or nil. Let-bind `suggestions' to `defaults' if it's
981 a list, otherwise make a list with the string value. Doc fix.
984 2013-02-25 Eli Zaretskii <eliz@gnu.org>
986 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
987 that match "\`\.#", to avoid compiling lock files, even if they
988 are readable (as they are on MS-Windows).
990 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
992 * files.el (basic-save-buffer): Remove redundant directory-creation.
994 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
996 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
997 Add option to force `pi' to remain symbolic.
998 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
999 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1000 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1001 derivatives, when necessary.
1003 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1005 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1006 (ps-mode-octal-region): Use string-make-unibyte.
1008 2013-02-23 Glenn Morris <rgm@gnu.org>
1010 * emulation/viper-cmd.el (viper-submit-report):
1011 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1012 * progmodes/vera-mode.el (vera-mode-help-address):
1013 * textmodes/artist.el (artist-maintainer-address):
1014 * textmodes/reftex.el (reftex-report-bug):
1015 * vc/ediff-util.el (ediff-submit-report):
1016 Add bug-gnu-emacs to bug report address.
1018 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1019 Remove bug report entries.
1020 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1022 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1023 (byte-compile-file, byte-compile-from-buffer):
1024 Use separate input/output buffers for each level of recursive
1025 byte-compile-file calls. (Bug#13787)
1027 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1029 * net/tramp.el (tramp-methods): Fix docstring.
1030 (tramp-ssh-controlmaster-options): Rename it from
1031 `tramp-ssh-controlmaster-template'. Return a string.
1032 (tramp-default-method): Adapt check for
1033 `tramp-ssh-controlmaster-options'.
1035 * net/tramp-sh.el (tramp-methods):
1036 Replace `tramp-ssh-controlmaster-template' by "%c".
1037 (tramp-do-copy-or-rename-file-out-of-band)
1038 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1039 that it is applied for the first hop only.
1041 2013-02-22 Juri Linkov <juri@jurta.org>
1043 * isearch.el (isearch-lazy-highlight-new-loop):
1044 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1045 to `isearch-other-end' if it is not nil. (Bug#13402)
1047 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1050 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1051 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1052 and `isearch-error' to nil.
1054 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1056 * progmodes/python.el (python-info-current-defun):
1057 Enhance match-data cluttering prevention.
1059 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1061 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1063 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1064 Handle multibyte file names.
1066 2013-02-22 Glenn Morris <rgm@gnu.org>
1068 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1069 (sgml-transformation-function): Give it a :set function.
1070 (sgml-tag): Doc fix.
1072 * cmuscheme.el (scheme-buffer):
1073 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1074 * progmodes/tcl.el (inferior-tcl-buffer):
1075 * textmodes/tex-mode.el (tex-command): Doc fixes.
1077 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1079 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1081 2013-02-21 Bastien Guerry <bzg@gnu.org>
1083 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1085 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1087 * progmodes/python.el (python-info-current-defun):
1088 Enhance match-data cluttering prevention.
1090 2013-02-21 Glenn Morris <rgm@gnu.org>
1092 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1093 loaded while outline-regexp is let bound. (Bug#9584)
1095 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1097 * progmodes/python.el (python-info-current-defun): Fix failed
1098 defun name retrieval because of unwanted match-data cluttering.
1100 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1102 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1103 defconst. Apply independent check for ControlPersist.
1105 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1106 temporarily, via "env".
1108 2013-02-21 Glenn Morris <rgm@gnu.org>
1110 * info.el (Info-enable-edit): Remove.
1111 (Info-edit): Disable it rather than using Info-enable.
1112 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1113 (Info-cease-edit): Make editing of Info files obsolete.
1115 * informat.el (Info-tagify):
1116 Handle buffers not visiting files. (Bug#13763)
1118 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1120 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1122 2013-02-21 Glenn Morris <rgm@gnu.org>
1124 * files.el (basic-save-buffer): Move check for existing parent
1125 directory after hooks. (Bug#13773)
1127 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * simple.el (command-execute): Move from C. Add obsolete check.
1130 (extended-command-history): Move from C.
1132 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1134 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1135 (jka-compr-mode-alist-additions): Handle .txz suffix for
1136 XZ-compressed tar archives (bug#13770).
1138 2013-02-20 Bastien Guerry <bzg@gnu.org>
1140 * outline.el (outline-regexp, outline-heading-end-regexp):
1141 Make variables, not options (bug#13731).
1143 2013-02-20 Glenn Morris <rgm@gnu.org>
1145 * image.el (image-current-frame): Change from variable to function.
1146 (image-show-frame): Rename from image-nth-frame. Update callers.
1147 * image-mode.el (image-multi-frame): New variable.
1148 (image-mode-map, image-mode, image-goto-frame):
1149 Use image-multi-frame rather than image-current-frame.
1150 (image-mode, image-goto-frame): Use image-current-frame as
1151 function rather than as variable.
1153 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1154 * emacs-lisp/cl-macs.el (cl--make-type-test)
1155 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1157 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1159 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1160 (tramp-get-file-property, tramp-set-file-property)
1161 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1162 (tramp-flush-file-property, tramp-flush-directory-property):
1163 Rename argument to KEY.
1164 (tramp-flush-connection-property): Simplify a little bit.
1165 (tramp-connection-property-p): New defun.
1166 (top): Reapply saved values only if there isn't a corresponding
1167 entry in `tramp-connection-properties'.
1169 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1171 * progmodes/python.el (python-indent-context):
1172 Fix python-info-line-ends-backslash-p call.
1173 (python-info-line-ends-backslash-p)
1174 (python-info-beginning-of-backslash): Respect line-number argument.
1175 (python-info-current-line-comment-p):
1176 Fix behavior when not at beginning-of-line.
1177 (python-util-position): Remove function.
1178 (python-util-goto-line): New function.
1180 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1182 * eshell/em-unix.el (eshell/su): Require tramp.
1183 (eshell/sudo): Require tramp. Remove now unnecessary check.
1185 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1186 `tramp-current-connection' in order to avoid an error when several
1187 commands are invoked in a short time in eshell and friends.
1189 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1191 Cleanup some of EIEIO's namespace.
1192 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1193 Use it to define all the class-* and object-* field accessors (renamed
1194 to eieio--class-* and eieio--object-*). Update all uses.
1195 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1196 class-num-slots and object-num-slots.
1197 (eieio--check-type): New macro.
1198 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1199 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1200 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1201 (object-assoc-list-safe): Use it.
1202 (eieio-defclass): Tighten regexp.
1203 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1204 Remove unreachable code.
1205 (object-class-fast): Declare obsolete.
1206 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1207 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1208 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1209 Rename from class-name, object-name, object-set-name-string,
1210 object-class, object-class-name, class-parents, class-children,
1211 class-precedence-list, class-parent; with obsolete alias.
1212 (class-of, class-direct-superclasses, class-direct-subclasses):
1214 (eieio-defmethod): Use `memq'; remove unreachable code.
1215 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1216 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1217 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1220 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1222 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1225 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1227 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1228 Use font-lock-keyword-face for macros and special forms (bug#8345).
1230 2013-02-17 Didier Verna <didier@didierverna.net>
1232 * net/network-stream.el (network-stream-open-starttls):
1233 Check that response to the starttls-command is non-nil. (Bug#13706)
1235 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1238 Don't assume all identifier chars have syntax word.
1239 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1240 Remove bar-not-symbol. Adjust callers.
1241 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1243 2013-02-17 Leo Liu <sdl.web@gmail.com>
1245 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1247 2013-02-17 Glenn Morris <rgm@gnu.org>
1249 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1251 * image-mode.el (image-mode-map): Add image-dired menu entry.
1253 * image-dired.el (tumme): Make this alias obsolete.
1255 2013-02-16 Glenn Morris <rgm@gnu.org>
1257 * image.el (image-animated-types): Remove.
1258 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1259 (image-animated-p): Make obsolete alias.
1260 (image-animate, image-nth-frame, image-animate-timeout):
1261 Use image-multi-frame-p.
1262 (image-animate-timeout): If no delay, use image-default-frame-delay.
1263 * image-mode.el (image-mode, image-toggle-animation):
1264 Use image-multi-frame-p. (Bug#763, bug#10739)
1265 (image-mode): Adjust startup message for a multi-frame image.
1267 * image-mode.el (image-mode-map): Give it a menu.
1269 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1271 * net/tramp-cache.el (tramp-connection-properties): New customer
1273 (tramp-get-connection-property): Use it.
1275 * net/tramp-compat.el (top): Require 'trampver.
1277 * net/tramp-sh.el (tramp-remote-process-environment):
1278 Set tramp-autoload cookie.
1280 2013-02-16 Kevin Ryde <user42@zip.com.au>
1282 * info-look.el (info-lookup-select-mode): If major-mode has no
1283 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1285 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1287 * replace.el (read-regexp): Tighten the regexp that matches tag.
1288 When tag is retrieved with `find-tag-default', use regexp that
1289 matches tag at point. Also update docstring (Bug#13687).
1291 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1293 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1294 add watch for the file, not its parent directory, since w32notify
1295 sets up the watch for the directory internally. (Bug#13725)
1297 2013-02-16 Glenn Morris <rgm@gnu.org>
1299 * image.el (image-default-frame-delay): New variable.
1300 (image-animated-p): Use image-default-frame-delay.
1301 (image-minimum-frame-delay): New constant.
1302 (image-animate-timeout): Use image-minimum-frame-delay.
1304 * image.el (image-nth-frame): New, split from image-animate-timeout.
1305 (image-animate-timeout): Use image-nth-frame.
1306 * image-mode.el (image-goto-frame, image-next-frame)
1307 (image-previous-frame): New commands.
1308 (image-mode-map): Add new frame commands.
1310 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1312 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1313 If col-desc already has help-echo, use it. (Bug#13563)
1315 2013-02-16 Glenn Morris <rgm@gnu.org>
1317 * image.el (image-current-frame): New variable.
1318 (image-animate-timeout): Set image-current-frame.
1319 * image-mode.el (image-mode): For animated images,
1320 display a frame counter via mode-line-process.
1322 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1324 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1328 2013-02-15 Alan Mackenzie <acm@muc.de>
1330 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1331 global minor mode has been enabled, call the minor mode function
1332 for a new buffer once only, after the major mode hook, whilst
1333 allowing that hook explicitly to disable the minor mode.
1334 (MODE-disable-in-buffer): New (generated) function.
1335 (disable-MODE): New (generated) buffer local variable.
1337 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1339 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1340 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1341 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1342 `ido-next-match' and `ido-prev-match' resply.
1343 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1344 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1345 `icomplete-backward-completions' (Bug#13708).
1347 2013-02-15 Glenn Morris <rgm@gnu.org>
1349 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1351 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1354 (goto-address-fontify-region): Use them instead of narrowing, so
1355 syntax-ppss has access to the whole buffer.
1357 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1359 * progmodes/python.el: Explain how to restore "cc-mode"-like
1360 forward-sexp movement in header documentation (Bug#13642).
1361 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1362 comments and strings (GH bug 114).
1364 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1366 * progmodes/python.el (python-info-current-defun): Fix current
1367 defun detection (Bug#13618).
1369 2013-02-15 Chong Yidong <cyd@gnu.org>
1371 * xml.el (xml-parse-string): Fix typo in handling of bad character
1374 2013-02-15 Glenn Morris <rgm@gnu.org>
1376 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1378 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1380 * net/tramp.el (tramp-debug-message):
1381 Add `tramp-condition-case-unless-debug'.
1382 (tramp-debug-on-error): New defvar.
1383 (tramp-condition-case-unless-debug): New defun.
1384 (tramp-file-name-handler): Use it.
1386 2013-02-14 Juri Linkov <juri@jurta.org>
1388 * info.el (Info-isearch-filter): Treat non-nil values of
1389 `search-invisible' including its default value `open'
1390 like the value `t' to match hidden text. (Bug#13402)
1392 2013-02-14 Glenn Morris <rgm@gnu.org>
1394 * help-fns.el (find-lisp-object-file-name): Give special treatment
1395 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1397 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1399 * net/quickurl.el (quickurl-save-urls):
1400 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1402 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1404 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1405 depth for unfinished percent literal. Not using it in the caller.
1406 (ruby-move-to-block): Jump over multiline literals of all types,
1407 ignoring code-looking contents inside them.
1408 (ruby-add-log-current-method): Improve performance at the expense
1409 of accuracy. `ruby-block-contains-point' is relatively slow, so
1410 only use it for method and singleton class blocks.
1412 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1414 Use ControlMaster where applicable. (Bug#13677)
1416 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1417 replacing `tramp-detect-ssh-controlmaster'.
1418 (tramp-default-method): Use it.
1420 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1421 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1423 [scpc, rsyncc]: Remove methods.
1424 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1426 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1427 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1429 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * emacs-lisp/package.el (package--initialized): Move before first use.
1433 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1435 * icomplete.el (icomplete-hide-common-prefix): New user option.
1436 (icomplete-first-match): New face.
1437 (icomplete-completions): Correct handling of "complete but not
1438 unique" (Bug#12638).
1440 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1442 * descr-text.el (describe-char): Display the script (bug#13698).
1444 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * tmm.el: Use lexical-binding and current-active-maps.
1447 (tmm-menubar): Use map-keymap and pcase.
1448 (tmm--completion-table): New function.
1449 (tmm-prompt): Use it to fix the menu order.
1450 (tmm-get-keybind): Use current-active-maps.
1452 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1454 Add dired-hide-details-mode. (Bug#6799)
1456 * locate.el (locate-mode): Set parent mode property to dired-mode.
1458 * find-dired.el (find-dired): Call dired-insert-set-properties on
1459 initial information line. Set process mark on end of buffer.
1460 (find-dired-sentinel):
1461 Call dired-insert-set-properties on summary.
1463 * dired.el (dired-hide-details-hide-symlink-targets)
1464 (dired-hide-details-hide-information-lines): New options.
1465 (dired-insert-directory):
1466 Set properties after final treatment of output.
1467 (dired-insert-set-properties):
1468 Set dired-hide-details-* properties.
1469 (dired-mode-map): Bind dired-hide-details-mode.
1470 (dired-mode): Set buffer-invisibility-spec to a list.
1471 (dired-next-line): Skip hidden lines.
1472 (dired-previous-line): Use dired-next-line.
1473 (dired-hide-details-mode): New minor mode.
1474 (dired-hide-details-update-invisibility-spec): New function.
1476 2013-02-13 Glenn Morris <rgm@gnu.org>
1478 * play/yow.el: Move to obsolete/. (Bug#9384)
1480 2013-02-13 Juri Linkov <juri@jurta.org>
1482 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1483 to select `ediff-control-frame' and set input focus correctly on Xfce.
1486 2013-02-13 Juri Linkov <juri@jurta.org>
1488 * image-mode.el (image-mode-map):
1489 * doc-view.el (doc-view-mode-map):
1490 * vc/ediff-util.el (ediff-setup-keymap):
1491 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1493 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1495 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1496 performance. Instead of recalculating indentation fully for each
1497 line, sum up indentation depth based only on visited lines.
1498 (ruby-parse-partial): Increase the depth after "do" even when END
1500 (ruby-parse-partial): When END is in the middle of a percent
1501 literal, increase the depth if the delimiter chars belong to the
1504 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1506 * play/fortune.el (fortune-compile): Also make the compiled file
1507 if it does not exist at all, not just if it is old. (Bug#5338)
1509 2013-02-13 Glenn Morris <rgm@gnu.org>
1511 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1513 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1515 * lisp/emacs-lisp/package.el (package-menu-execute):
1516 Add optional noquery argument. (Bug#13625)
1518 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1520 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1521 if DIR exists and PARENTS is non-nil.
1523 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1525 * progmodes/js.el (js--multi-line-declaration-indentation):
1526 Silence byte-compiler warning.
1528 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1530 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1532 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1533 only if it doesn't exist.
1535 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1538 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1540 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1541 UserInstallation when calling soffice to work around LibreOffice
1544 2013-02-12 Glenn Morris <rgm@gnu.org>
1546 * files.el (basic-save-buffer):
1547 Offer to create a non-existing directory. (Bug#3016)
1549 * calc/calc-graph.el (calc-graph-show-dumb):
1550 * calendar/calendar.el (calendar-mode-map):
1551 * cus-edit.el (custom-mode-map):
1552 * ehelp.el (electric-help-map):
1553 * emulation/vip.el (vip-mode-map):
1554 * epa.el (epa-key-list-mode-map):
1555 * info.el (Info-mode-map):
1556 * mail/rmail.el (rmail-mode-map):
1557 * mail/rmailsum.el (rmail-summary-mode-map):
1558 * man.el (Man-mode-map):
1559 * net/newst-plainview.el (newsticker-mode-map):
1560 * progmodes/cpp.el (cpp-edit-mode-map):
1561 * progmodes/grep.el (grep-mode-map):
1562 * progmodes/idlw-help.el (idlwave-help-mode-map):
1563 * simple.el (special-mode-map):
1564 * startup.el (splash-screen-keymap):
1565 * view.el (view-mode-map):
1566 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1568 2013-02-11 Elias Pipping <pipping@lavabit.com>
1570 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1573 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1577 2013-02-11 Glenn Morris <rgm@gnu.org>
1579 * vc/diff.el (diff-use-labels): New variable.
1580 (diff-no-select): Use --label rather than -L, and first
1581 check that it is supported. (Bug#11067)
1583 * files.el (enable-dir-local-variables): New variable.
1584 (hack-dir-local-variables): Respect enable-dir-local-variables.
1585 * tutorial.el (help-with-tutorial):
1586 Ignore directory-local variables. (Bug#11127)
1588 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1589 (vc-svn-global-switches): ... to here. (Bug#13513)
1591 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1593 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1594 Handle "foo (bar, default: xxx): " prompts.
1596 2013-02-10 Chong Yidong <cyd@gnu.org>
1598 * files.el (basic-save-buffer-1): Do not set
1599 buffer-file-coding-system-explicit (Bug#4533).
1601 * mail/emacsbug.el (report-emacs-bug): Change binding of
1602 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1604 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1606 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1607 * calc/calc-units.el (calc-convert-units): Use new variable.
1609 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1611 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1613 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1616 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1617 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1618 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1619 coding-system-for-write instead.
1621 * jka-compr.el (jka-compr-write-region): Don't bind
1624 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1627 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1628 (insert-file-contents-literally): Remove reference to
1629 file-name-buffer-file-type-alist.
1631 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1633 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1634 (find-buffer-file-type-coding-system): Remove references to
1635 find-buffer-file-type-match, find-buffer-file-type, and
1637 Don't put find-buffer-file-type-coding-system into
1638 file-coding-system-alist.
1639 (find-file-binary, find-file-text): Bind coding-system-for-read
1640 instead of file-name-buffer-file-type-alist.
1642 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1644 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1645 converter (Bug#13622).
1646 (doc-view-unoconv-program): Make obsolete alias.
1647 (doc-view-odf->pdf-converter-program): New variable.
1648 (doc-view-odf->pdf-converter-function): New variable.
1649 (doc-view-mode-p): Use it.
1650 (doc-view-odf->pdf-converter-unoconv):
1651 Rename from `doc-view-odf->pdf-converter-unoconv'.
1652 (doc-view-odf->pdf-converter-soffice): New function.
1653 (doc-view-convert-current-doc):
1654 Use `doc-view-odf->pdf-converter-function'.
1656 2013-02-09 Chong Yidong <cyd@gnu.org>
1658 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1659 view-echo-area-messages (Bug#13340).
1661 * help.el (view-echo-area-messages): Use display-buffer.
1663 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1666 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1668 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1669 Eval body right away, now that we do eager macroexpansion (bug#13605).
1671 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1672 (fundamental-mode): Use run-mode-hooks.
1674 * eshell/esh-proc.el (eshell/kill): Fix last change.
1675 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1677 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1679 * eshell/esh-proc.el (eshell/kill): Rewrite.
1681 * eshell/em-ls.el (show-almost-all): Declare.
1682 (eshell-do-ls): Add support for -A argument.
1684 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1686 * icomplete.el (icomplete-forward-completions)
1687 (icomplete-backward-completions): Handle corner case (bug#13602).
1689 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1691 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1692 be nil. Handle this. (Bug#13636)
1694 2013-02-07 Richard Stallman <rms@gnu.org>
1696 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1697 `save-buffer-coding-system'.
1699 2013-02-07 Alan Mackenzie <acm@muc.de>
1701 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1702 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1703 (c-parse-state-get-strategy): Don't return 'BOD any more.
1704 (c-append-lower-brace-pair-to-state-cache):
1705 Extra parameter HERE instead of narrowing.
1706 Widen to top of buffer before searching backwards for a brace pair.
1707 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1708 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1709 Narrow to parameter HERE, in place of being called narrowed.
1710 (c-remove-stale-state-cache): Extra parameter HERE in place of
1711 narrowing. Check there's an open brace in the cache before
1712 searching for its match.
1713 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1714 (c-parse-state-1): Don't narrow here for 'forward strategy,
1715 instead passing extra parameter HERE to several functions.
1716 Remove 'BOD strategy.
1718 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1720 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1721 used to install the package.
1723 2013-02-06 Glenn Morris <rgm@gnu.org>
1725 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1726 if we can't get user input. (Bug#6567)
1728 * startup.el (command-line): If simple.el is missing,
1729 test and warn about for some possible causes.
1731 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1733 * cus-start.el (all): Add ns-use-native-fullscreen.
1735 2013-02-05 Glenn Morris <rgm@gnu.org>
1737 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1739 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1740 Fix directory creation in fallback case.
1742 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1744 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1745 (vc-update-change-log): Use dolist.
1747 2013-02-04 Chong Yidong <cyd@gnu.org>
1749 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1751 (thing-at-point-beginning-of-url-regexp): New var.
1752 (thing-at-point-uri-schemes): Update list of URI schemes.
1753 (thing-at-point-url-regexp): Variable deleted.
1754 (thing-at-point-markedup-url-regexp): Disallow newlines.
1755 (thing-at-point-newsgroup-regexp)
1756 (thing-at-point-newsgroup-heads)
1757 (thing-at-point-default-mail-uri-scheme): New variables.
1758 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1759 method to find the possible bounds of the URI at point.
1760 New optional argument to find ill-formed URIs.
1761 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1762 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1763 the scheme-adding heuristics from ffap-url-at-point.
1764 (thing-at-point--bounds-of-well-formed-url): New function.
1765 Do parens matching to decide whether to include parens in the URI
1768 * ffap.el: Require thingatpt.
1769 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1770 All URI-valid characters are now recognized (Bug#5673).
1771 (ffap-string-at-point): Use use-region-p.
1772 (ffap-url-regexp): Extra character is handled by thing-at-point.
1773 (ffap-string-at-point-mode-alist): Allow parentheses.
1774 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1775 Convert to aliases; code moved to thingatpt.el.
1776 (ffap-gnus-hook): Use setq-local.
1778 2013-02-04 Glenn Morris <rgm@gnu.org>
1780 * emacs-lisp/ert.el (ert--explain-format-atom):
1781 Don't try to print non-characters as characters. (Bug#13543)
1783 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1785 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1786 (tramp-backtrace): New defun.
1787 (tramp-handle-insert-file-contents): Use `visit' when inserting
1790 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1791 Use `remote-file-name-inhibit-cache'.
1793 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1795 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1798 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1799 current-load-list (bug#13366).
1801 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1804 Identify g++ template instantiation trace. (Bug#12287)
1805 (compilation-mode-hook, compilation-start-hook)
1806 (compilation-window-height): Simplify docstrings. (Bug#13379)
1808 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * mouse.el (mouse-drag-track): Always deactivate the mark before
1811 running the final event's command since that command is in charge of
1812 activating the mark if needed (bug#13523).
1814 2013-02-02 Juri Linkov <juri@jurta.org>
1816 * replace.el (perform-replace): Move let-bindings of isearch-*
1817 variables deeper to the loop that searches for the next match.
1818 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1819 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1822 * isearch.el (isearch-search-fun-default): Check for null
1823 first element of isearch-cmds as a precaution when it's used
1824 with inactive isearch.
1826 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1828 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1829 error when buffer in question is narrowed so position 1 is out of
1832 2013-02-02 Glenn Morris <rgm@gnu.org>
1834 * textmodes/remember.el (remember-clipboard): Doc fix.
1836 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1839 properties (bug#13179).
1841 2013-02-02 Juri Linkov <juri@jurta.org>
1843 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1844 instead of hard-coded default face `match'. (Bug#9438)
1846 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1848 * vc/vc-arch.el (vc-arch-registered):
1849 * vc/vc-bzr.el (vc-bzr-registered):
1850 * vc/vc-cvs.el (vc-cvs-registered):
1851 * vc/vc-git.el (vc-git-registered):
1852 * vc/vc-hg.el (vc-hg-registered):
1853 * vc/vc-mtn.el (vc-mtn-registered):
1854 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1857 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1858 prefix argument. (Bug#11656)
1860 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1862 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1864 2013-02-01 Glenn Morris <rgm@gnu.org>
1866 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1867 if the backend is known not to support it.
1869 * imenu.el (imenu-default-create-index-function):
1870 Tweak infinite loop test to check for forward motion as well as none.
1872 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1874 * net/soap-client.el (soap-invoke): Encode the string for
1875 `url-request-data' as UTF-8.
1876 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1878 2013-02-01 Glenn Morris <rgm@gnu.org>
1880 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1882 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1884 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1886 * net/tramp.el (tramp-tramp-file-p): Comment check for
1887 `string-as-unibyte'. The function does not exist on XEmacs, and
1888 likely we need another approach.
1890 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1891 `tramp-gw-*' variables are bound.
1893 2013-01-31 Glenn Morris <rgm@gnu.org>
1895 * files.el (basic-save-buffer-2): Choose coding system for
1896 writing the file before backing it up, to reduce delay between
1897 backing up and writing the new version. (Bug#13522)
1899 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1901 * simple.el (cycle-spacing): New command.
1902 (just-one-space): Use it.
1904 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1907 (opascal-newline-always-indents): Remove custom.
1908 (opascal-tab, opascal-newline): Remove commands.
1909 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1910 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1911 (opascal-save-match-data): Remove, use save-match-data instead.
1912 (opascal-save-state): Use with-silent-modifications.
1914 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1917 2013-01-30 Juri Linkov <juri@jurta.org>
1919 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1920 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1921 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1923 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1926 column if we're just deleting the backslashes.
1927 (makefile-fill-paragraph): Use eolp.
1929 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1931 * autorevert.el (auto-revert-use-notify): Fix docstring.
1933 2013-01-30 Leo Liu <sdl.web@gmail.com>
1935 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1937 2013-01-30 Glenn Morris <rgm@gnu.org>
1939 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1940 unread-command-events twice in some cases. This tries to implement
1941 the 2012-07-26 changes in a different way. (Bug#13560)
1943 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1945 * progmodes/python.el
1946 (python-pdbtrack-comint-output-filter-function): Enhancements on
1947 stacktrace detection. (thanks @gnovak)
1949 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1952 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1954 (jit-lock-register): Use setq-local.
1956 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1958 * calc-units.el (math-default-units-table): Remove initial value.
1959 (calc-convert-units): Treat expressions where all the units cancel as
1960 if they didn't have units.
1962 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1964 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1965 (tramp-completion-reread-directory-timeout): Fix type.
1966 (tramp-connection-min-time-diff): New defcustom.
1968 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1970 2013-01-30 Glenn Morris <rgm@gnu.org>
1972 * imenu.el (imenu-default-create-index-function):
1973 Put back a version of the infinite loop test removed 2013-01-23.
1975 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1977 * progmodes/python.el (python-shell-parse-command):
1978 Find python-shell-interpreter with modified environment.
1980 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1984 2013-01-29 Alan Mackenzie <acm@muc.de>
1986 Amend to fontify /regexp/s in actions correctly.
1987 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1988 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1989 are no longer included.
1990 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1991 What used to be these variables without "-line" in the name.
1992 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1993 (c-awk-non-arith-op-bra-re): Now also matches {.
1994 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1995 "return", and "case".
1996 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1998 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1999 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2001 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2003 * autorevert.el (auto-revert-use-notify):
2004 Use `custom-initialize-default' for initialization. (Bug#13583)
2006 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2008 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2009 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2010 in `tramp-file-name-handler'.
2011 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2013 (tramp-compute-multi-hops): Check, whether
2014 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2016 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2021 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2023 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2024 checks made superfluous by the \_< operator.
2025 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2026 temporarily) broken indentation.
2027 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2028 Highlight nested constants, too. \_< broke that.
2030 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2032 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2035 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2037 * autorevert.el (auto-revert-handler): Notifications which result
2038 from a saved file shall not be taken into account. (Bug#13557)
2040 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2042 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2043 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2044 (lisp-mode): Pass t for it. (Bug#13556)
2046 2013-01-25 Alan Mackenzie <acm@muc.de>
2048 AWK Mode: Fix indentation bug at top level. Bug #12274.
2050 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2051 just before CASE 5D.
2053 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2055 * net/socks.el (socks-nslookup-host): Use string-to-number.
2057 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2059 * autorevert.el (auto-revert-remote-files)
2060 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2061 (auto-revert-notify-enabled, auto-revert-use-notify)
2062 (auto-revert-notify-watch-descriptor-hash-list)
2063 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2064 (auto-revert-notify-event-descriptor)
2065 (auto-revert-notify-event-action)
2066 (auto-revert-notify-event-file-name): Doc fix.
2067 (global-auto-revert-mode): Reorder checks.
2068 (auto-revert-notify-rm-watch): Respect changed values of
2069 `auto-revert-notify-watch-descriptor-hash-list'.
2070 (auto-revert-notify-add-watch): Check for
2071 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2072 `inotify-add-watch'. Watch `default-directory' instead of
2073 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2074 has a changed meaning now. (Bug#13540)
2075 (auto-revert-notify-handler): Change implementation wrt events
2076 returning from a directory.
2077 (auto-revert-handler): Reorder implementation for checks of remote
2079 (auto-revert-buffers): Fix parentheses error.
2081 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2083 * progmodes/python.el: Enhancements to header documentation about
2084 skeletons. (Bug#5716)
2086 * imenu.el (imenu-default-create-index-function): Remove useless
2087 infinite loop check. (Bug#13438)
2089 2013-01-25 Alan Mackenzie <acm@muc.de>
2091 Fix a bug in the state cache mechanism. Refactor this a bit.
2093 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2094 `cache-pos' element from the return value.
2095 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2096 buffer to enable proper searching from beyond HERE. Amend the
2097 test for detecting the sought brace pair. Amend the value written
2098 to the "brace desert cache" when the brace isn't found.
2099 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2100 and several other variables analogously.
2101 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2102 parameter to a locally calculated variable.
2103 (c-parse-state-1): Change the calling conventions to the two
2104 defuns involving `cache-pos'.
2106 2013-01-25 Chong Yidong <cyd@gnu.org>
2108 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2110 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2112 * paren.el (show-paren-function): Make sure to set 'priority and
2113 'face only if the overlay does exist.
2115 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2117 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2119 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2121 (tramp-sh-handle-set-file-acl): Improve error checking.
2123 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2125 * doc-view.el (doc-view-display): Force mode line update until all
2126 document is converted. Suggested by Stefan Monnier (Bug#13164).
2128 2013-01-23 Bastien Guerry <bzg@gnu.org>
2130 * paren.el (show-paren-function): Make sure an overlay exists
2131 before trying to delete it. Also use `pos' as a position only
2132 when it is an integer.
2134 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2136 * play/gametree.el (gametree-break-line-here): Use point-marker.
2138 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2140 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2141 Mark descriptive parts with `display' property.
2143 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2145 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2146 New variable to map standard dict names to hunspell ones.
2147 (ispell-set-spellchecker-params): Make sure specific dict names
2148 are used for standard dicts with hunspell.
2150 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2152 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2153 chars for note (%N) and url (%U).
2154 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2156 2013-01-21 Juri Linkov <juri@jurta.org>
2158 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2159 in addition to existing separate binding `meta f10' in `global-map'.
2162 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2164 Improve XEmacs compatibility.
2166 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2168 * net/tramp-adb.el (top): Require `time-date'.
2169 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2170 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2171 Use `tramp-file-name-handler'.
2172 (tramp-adb-maybe-open-connection):
2173 Use `tramp-compat-set-process-query-on-exit-flag'.
2175 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2176 Use `tramp-compat-funcall'.
2178 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2179 `tramp-compat-funcall'.
2181 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2183 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2184 reimplementation using "adb shell command ..." instead of running
2185 remote shell interactively.
2187 2013-01-20 Glenn Morris <rgm@gnu.org>
2189 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2190 Add native profiler menu entries.
2192 * profiler.el (profiler-running-p): New function.
2193 (profiler-cpu-profile): Use profiler-running-p.
2194 (profiler-report-mode-map): Add some more menu entries.
2196 2013-01-19 Glenn Morris <rgm@gnu.org>
2198 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2199 fixes 2012-12-07 change. (Bug#13499)
2201 2013-01-19 Leo Liu <sdl.web@gmail.com>
2203 * dired.el (dired-get-marked-files): Prune erroneous values due to
2204 last change. (Bug#13152)
2206 2013-01-19 Glenn Morris <rgm@gnu.org>
2208 * progmodes/etags.el (tags-table-check-computed-list):
2209 Preserve point in tags buffer. (Bug#13412)
2211 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2213 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2214 Chong Yidong <cyd@gnu.org>
2216 * image-mode.el (image-next-file, image-previous-file):
2217 New commands (Bug#8453).
2218 (image-mode-map): Bind them to n and p.
2219 (image-mode--images-in-directory): New helper function.
2221 2013-01-19 Chong Yidong <cyd@gnu.org>
2223 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2224 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2225 save and restore the old window configuration.
2227 2013-01-18 Leo Liu <sdl.web@gmail.com>
2229 * progmodes/js.el: Tweak autoload cookie for alias.
2231 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2233 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2234 buffer local, again. This was lost with the fix on 2013-01-12.
2236 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2238 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2239 order to support several eshell buffers in parallel.
2241 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2243 * autorevert.el (auto-revert-use-notify): In the :set function, do
2244 not modify `kill-buffer-hook'.
2245 (auto-revert-notify-rm-watch):
2246 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2247 (auto-revert-notify-add-watch): Do not call
2248 `auto-revert-notify-rm-watch', but add it to a buffer local
2251 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2253 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2254 call to `eval' rather than a backquoted lambda.
2256 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2259 to return an explicit nil.
2260 (advice--remove-function): Change accordingly.
2262 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2263 the use of nadvice.el.
2265 * progmodes/which-func.el (which-function): Silence imenu errors
2268 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2270 * progmodes/sql.el: (sql-imenu-generic-expression):
2271 (sql-mode-font-lock-object-name): Match schema qualified names.
2272 (sql-connect): Use string keys.
2273 (sql-product-interactive): Wait for interpreter prompt.
2274 (sql-comint-oracle): Set process coding based on NLS_LANG.
2276 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2278 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2279 (sql-interactive-remove-continuation-prompt):
2280 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2282 2013-01-14 Leo Liu <sdl.web@gmail.com>
2284 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2287 2013-01-14 Glenn Morris <rgm@gnu.org>
2289 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2290 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2292 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2294 * progmodes/python.el (python-nav-end-of-statement):
2295 Fix cornercase when handling multiline strings.
2297 2013-01-13 Richard Stallman <rms@gnu.org>
2299 * mail/sendmail.el (mail-position-on-field): Add doc string.
2301 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2302 Get current message boundaries and pass them to
2303 message-forward-make-body-mime. Minor style changes.
2305 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2307 * cus-start.el (all): Avoid warnings about
2308 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2310 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2312 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2314 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2317 (jit-lock--debug-fontifying): New var.
2318 (jit-lock--debug-fontify): New function.
2319 * subr.el (condition-case-unless-debug): Don't prevent catching the
2320 error, just let the debbugger run.
2321 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2322 timer code and don't drop errors silently.
2324 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2326 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2327 `permanent-local' property.
2328 (auto-revert-notify-handler): Use `file-equal-p'.
2330 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2332 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2333 file notification by ACTION. For filtering by file name, compare
2334 only the non-directory part of the file name.
2336 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * autorevert.el: Use cl-lib instead of cl.
2340 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2341 (vc-bzr-checkin): Use it.
2342 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2343 will preserve match-data.
2345 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2347 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2348 (js--declaration-keyword-re): New var.
2349 (js--multi-line-declaration-indentation): New function.
2350 (js--proper-indentation): Use it.
2352 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2354 * calc/calc.el (calc-highlight-selections-with-faces)
2356 * comint.el (comint-history-isearch-message):
2357 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2358 * ffap.el (ffap-string-at-point-region, ffap-next)
2359 (ffap-string-at-point, ffap-string-around)
2360 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2362 * font-lock.el (font-lock-keywords-alist)
2363 (font-lock-removed-keywords-alist):
2364 * help-mode.el (help-xref-symbol-regexp):
2365 * info.el (Info-find-emacs-command-nodes):
2366 * international/mule.el (add-to-coding-system-list):
2367 * isearch.el (isearch-message-function, isearch-fail-pos):
2368 * misearch.el (multi-isearch-next-buffer-function):
2369 * newcomment.el (comment-box):
2370 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2371 (pr-setting-database):
2372 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2373 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2374 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2375 (pike-font-lock-keywords-3):
2376 * progmodes/compile.el (compile):
2377 * progmodes/etags.el (tags-table-files)
2378 (tags-table-files-function, tags-included-tables-function):
2379 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2380 (gdb-restore-windows):
2381 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2382 (ps-n-up-filling-database):
2383 * server.el (server-buffer, server-log):
2384 * simple.el (newline, delete-backward-char, delete-forward-char)
2385 (minibuffer-history-isearch-message, kill-line, track-eol)
2386 (temporary-goal-column):
2387 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2388 (flyspell-default-deplacement-commands):
2389 * textmodes/ispell.el (ispell-accept-output):
2390 * textmodes/sgml-mode.el (html-tag-help):
2391 * vc/compare-w.el (compare-ignore-whitespace)
2392 (compare-ignore-case, compare-windows-dehighlight):
2393 * vc/diff.el (diff):
2394 * whitespace.el (whitespace-point)
2395 (whitespace-font-lock-refontify, whitespace-bob-marker)
2396 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2398 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2400 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2401 (auto-revert-notify-rm-watch): Ignore errors.
2402 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2403 inotify, and '(size last-write-time) for w32notify.
2404 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2405 watch fails - this is a fallback to the file modification check.
2406 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2407 (auto-revert-notify-event-action)
2408 (auto-revert-notify-event-file-name): New defuns.
2409 (auto-revert-notify-handler): Use them. Implement first
2410 plausibility checks.
2411 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2413 2013-01-11 Julien Danjou <julien@danjou.info>
2415 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2416 max are almost equal. Also return the correct value for V which is
2417 already between 0 and 1.
2419 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2421 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2423 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2425 * autorevert.el (auto-revert-notify-rm-watch)
2426 (auto-revert-notify-add-watch): Fix typos in w32notify function
2429 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2431 * autorevert.el (auto-revert-notify-enabled): Move up.
2432 (auto-revert-use-notify): New defcustom.
2433 (auto-revert-mode, global-auto-revert-mode)
2434 (auto-revert-notify-add-watch, auto-revert-handler)
2435 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2436 `auto-revert-notify-enabled'.
2438 2013-01-10 Elias Pipping <pipping@exherbo.org>
2440 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2441 * doc-view.el (doc-view-document->bitmap):
2442 Use doc-view-single-page-converter-function instead of
2443 single-page-converter arg; adjust callers.
2445 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2447 * progmodes/which-func.el (which-function): Understand Semantic's use
2448 of overlays in imenu--index-alist.
2450 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2452 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2453 (Man-man-k-use-anchor): New var.
2454 (Man-parse-man-k): New function.
2455 (Man-completion-table): Use it.
2456 (man): Flush the completion cache between uses.
2458 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2460 * autorevert.el: Add file watch support.
2461 (auto-revert-notify-enabled): New defconst.
2462 (auto-revert-notify-watch-descriptor-hash-list)
2463 (auto-revert-notify-watch-descriptor)
2464 (auto-revert-notify-modified-p): New defvars.
2465 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2466 (auto-revert-notify-handler): New defuns.
2467 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2468 when mode is disabled.
2469 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2470 (auto-revert-buffers): Add file watches for active buffers.
2472 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2474 * cus-start.el (toplevel): Only allow float values for
2475 scroll-up-aggressively and scroll-down-aggressively.
2476 Allow any number for line-spacing.
2478 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2481 (doc-view-pdf->png-converter-function): Use mupdf if available.
2482 (doc-view-djvu->png-converter-function)
2483 (doc-view-ps->png-converter-function): Remove.
2484 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2485 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2486 (doc-view-already-converted-p): Adjust accordingly.
2487 (doc-view-mode-p): Simplify.
2488 (doc-view-enlarge): Use setq-local.
2489 (doc-view-pdf->png-converter-ghostscript)
2490 (doc-view-djvu->png-converter-ddjvu)
2491 (doc-view-pdf->png-converter-mupdf): Rework to call
2492 doc-view-start-process directly.
2493 (doc-view-pdf/ps->png): Simplify accordingly.
2494 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2495 (doc-view-document->bitmap): Rename from doc-view-document->png.
2496 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2497 (doc-view-set-slice-from-bounding-box): Fix completion table.
2498 (doc-view-mode): Use add-hook for after-revert-hook.
2500 2013-01-10 Glenn Morris <rgm@gnu.org>
2502 * emacs-lisp/authors.el (authors-ignored-files)
2503 (authors-valid-file-names, authors-renamed-files-alist):
2504 Add some more entries.
2506 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2509 `t' pseudo-window entry.
2511 2013-01-10 Alan Mackenzie <acm@muc.de>
2513 Fix bugs in the c-parse-state mechanism. Reuse some markers
2514 instead of continually generating new ones.
2516 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2517 (c-state-old-cpp-end-marker): New variables.
2518 (c-append-lower-brace-pair-to-state-cache): Start a backward
2519 search for "}" definitively outside CPP constructs.
2520 (c-remove-stale-state-cache): Inform the caller of a need to
2521 search back for a brace pair in certain circumstances.
2522 (c-state-maybe-marker): New macro.
2523 (c-parse-state): Reuse markers when appropriate.
2525 2013-01-10 Glenn Morris <rgm@gnu.org>
2527 * simple.el (execute-extended-command): Doc fix.
2528 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2530 2013-01-10 Chong Yidong <cyd@gnu.org>
2532 * faces.el (read-face-name): Doc fix.
2534 2013-01-10 Roland Winkler <winkler@gnu.org>
2536 * emacs-lisp/crm.el: Allow any regexp for separators.
2537 (crm-default-separator): All spaces around the default comma separator.
2538 (crm--completion-command): New macro.
2539 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2540 (crm-complete-and-exit): Handle non-single-char separators.
2542 2013-01-09 Elias Pipping <pipping@lavabit.com>
2544 * doc-view.el: Add support for DjVu (bug#13164).
2545 (doc-view-djvu->png-converter-function): New config var.
2546 (doc-view-single-page-converter-function, doc-view--image-type)
2547 (doc-view--image-file-extension): New vars.
2548 (doc-view-mode): Initialize them.
2549 (doc-view-goto-page): Use them.
2550 (doc-view-mode-p): Add support for ddjvu.
2551 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2552 (doc-view-set-up-single-converter): New funs.
2553 (doc-view-pdf/ps->png): Extend for djvu.
2554 (doc-view-document->png): Rename from doc-view-pdf->png.
2555 (doc-view-convert-current-doc): Handle djvu.
2556 (doc-view-insert-image, doc-view-display)
2557 (doc-view-already-converted-p): Don't hardcode png.
2558 (doc-view-set-doc-type): Recognize djvu docs.
2560 2013-01-09 Elias Pipping <pipping@lavabit.com>
2562 * doc-view.el: Add support for mupdf converter (bug#13164).
2563 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2564 (doc-view-ps->png-converter-function): New config vars.
2565 (doc-view-pdf->png-converter-ghostscript)
2566 (doc-view-ps->png-converter-ghostscript)
2567 (doc-view-pdf->png-converter-mupdf): New functions.
2568 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2570 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2572 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2573 first in session cache: When `tramp-own-remote-path' is in
2574 `tramp-remote-path', the remote path is only set in the session
2577 2013-01-09 Glenn Morris <rgm@gnu.org>
2579 * emacs-lisp/trace.el (trace-function-foreground)
2580 (trace-function-background): Doc fix.
2582 2013-01-09 Juri Linkov <juri@jurta.org>
2584 * international/mule-cmds.el (read-char-by-name): Move let-binding
2585 of completion-ignore-case around completing-read to fix regression
2586 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2587 `string-match-p' using the nil value of `case-fold-search' and
2588 `completion-ignore-case' in `completion-pcm--all-completions'.
2591 2013-01-09 Glenn Morris <rgm@gnu.org>
2593 * progmodes/compile.el (compilation-parse-errors):
2594 Fix typo. (Bug#13369)
2596 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2598 * comint.el (comint-send-input): Check size of buffer before
2599 waiting for process output, in case already accepted. (Bug#13290)
2601 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2604 * net/tramp-adb.el (tramp-adb-get-toolbox):
2605 Fix misspelling of 'unknown'.
2607 2013-01-08 Juri Linkov <juri@jurta.org>
2609 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2610 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2611 Use underline style wave on terminals that support it. (Bug#13000)
2613 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2615 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2616 the predicate returns nil.
2618 * simple.el: Use lexical-binding.
2619 (primitive-undo): Use pcase.
2620 (minibuffer-history-isearch-push-state): Use a closure.
2622 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2624 * simple.el (primitive-undo): Move from undo.c.
2626 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2629 (cvs-mode-remove-handled): Use it (bug#13380).
2631 * emacs-lisp/nadvice.el (advice--tweak): New function.
2632 (advice--remove-function, advice--subst-main): Use it.
2634 * emacs-lisp/advice.el: Update commentary.
2636 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2639 Remove spurious entry.
2641 2013-01-08 Glenn Morris <rgm@gnu.org>
2643 * net/tramp.el (tramp-default-host-alist): Add :version.
2645 2013-01-08 Juri Linkov <juri@jurta.org>
2647 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2648 single completion. (Bug#12456)
2649 (info--manual-names): Expand node completions into an explicit list
2650 before appending it to another list. Filter out internal buffers
2651 with the leading space in the buffer name. (Bug#10771)
2653 2013-01-08 Juri Linkov <juri@jurta.org>
2655 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2656 that defaults to the Top node.
2657 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2658 the short format (FILENAME) goes to the Top node.
2659 (Info-build-node-completions): Rename arg `file' to `filename'.
2662 2013-01-07 Bastien Guerry <bzg@gnu.org>
2664 * menu-bar.el (menu-bar-search-documentation-menu):
2665 Use `apropos-user-option' and fix the help message.
2667 2013-01-07 Bastien Guerry <bzg@gnu.org>
2669 * apropos.el (apropos-do-all): Update docstring.
2670 (apropos-user-option-button): New face.
2671 (apropos-user-option): Rename from `apropos-variable' and update
2673 (apropos-variable): Rewrite, now show all variables by default.
2674 (apropos-print): Mention "User option" instead of "Variable" when
2675 printing doc for user options. (Bug#13276)
2677 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2679 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2680 Handle filename correctly, when parsing "source -> target" symlink
2682 (tramp-adb-handle-set-file-times): New defun.
2684 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2686 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2687 advice list when the interactive-spec of ad-Advice-* changes.
2689 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2691 * wid-edit.el (widget-default-get): Work for inlined elements.
2694 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2696 * net/tramp.el (tramp-default-host-alist): New defcustom.
2697 (tramp-find-host): Use it.
2698 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2699 `eshell-directory-change-hook'.
2701 * net/tramp-adb.el (top): Add adb specific entry in
2702 `tramp-default-host-alist'.
2703 (tramp-adb-file-name-host): Remove function.
2704 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2705 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2707 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2709 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2711 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2713 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2715 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2716 consist of more than one digit.
2717 (tramp-adb-file-name-handler-alist):
2718 Use `tramp-handle-file-exists-p' consistently.
2719 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2720 (tramp-adb-handle-file-exists-p): Remove function.
2721 (tramp-adb-file-name-host): New defun.
2722 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2724 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2726 2013-01-06 Chong Yidong <cyd@gnu.org>
2728 * vc/vc.el (vc-next-action): Detect buffer modifications
2729 conflicting with locking VCS operation (Bug#11490).
2731 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2733 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2735 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2736 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2738 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2740 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2741 parsing of ls output using regular expression (handle filenames
2742 with spaces). Use virtual device number.
2743 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2746 2013-01-04 Daiki Ueno <ueno@gnu.org>
2748 * epg.el: Silence byte-compiler warnings.
2749 (epg--start): Use delete-char instead of delete-backward-char.
2750 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2752 2013-01-04 Daiki Ueno <ueno@gnu.org>
2754 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2755 Suggested by Eli Zaretskii <eliz@gnu.org>.
2757 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2759 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2760 non-negative integers. Otherwise, the default values are used.
2761 (tramp-convert-file-attributes): Convert uid and gid to integers.
2763 2013-01-04 Glenn Morris <rgm@gnu.org>
2765 * term.el (term-handle-colors-array): Ensure face attributes
2766 are fully specified, not nil. (Bug#13337)
2768 * term.el (term-default-fg-color, term-default-bg-color):
2771 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2772 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2773 rather than 'jka-compr being loaded. (Bug#13338)
2775 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2777 * icomplete.el (icomplete-completions):
2778 Honor icomplete-prospects-height once more following
2779 2012-11-29 changes. (Bug#13224)
2781 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2784 of called-interactively-p as well (bug#13237).
2786 * view.el (view--enable, view--disable): Rename from view-mode-enable
2787 and view-mode-disable and assume it's called from view-mode.
2788 (view-mode-enable, view-mode-disable): Redefine as obsolete
2789 compatibility layer above view-mode.
2790 (view-mode-enter): Call `view-mode'.
2792 * files.el (after-find-file): Call `view-mode'.
2794 * doc-view.el (doc-view-scale-internally): New var.
2795 (doc-view-enlarge, doc-view-insert-image): Obey it.
2797 2013-01-03 Daiki Ueno <ueno@gnu.org>
2799 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2802 2013-01-03 Glenn Morris <rgm@gnu.org>
2804 * mail/rmail.el (rmail-set-header-1): Ignore case.
2805 Handle multi-line headers. (Bug#13330)
2807 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2808 Handle paragraph starting at beginning of buffer.
2810 * subr.el (eval-after-load): Don't purecopy the form, so that it
2811 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2813 * emacs-lisp/byte-run.el (defun): Place cl declarations
2814 after any interactive spec. (Bug#13265)
2816 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2818 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2819 defun. Don't check for DECL if DOCSTRING isn't a string.
2822 2013-01-02 Glenn Morris <rgm@gnu.org>
2824 * eshell/em-cmpl.el (eshell-pcomplete):
2825 More thoroughly imitate pcomplete. (Bug#13293)
2827 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2828 Return nil for empty path elements. (Bug#13296)
2830 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2832 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2833 order to improve efficiency (Based on Daniel Colascione's
2834 <dancol@dancol.org> patch). (Bug#13182)
2836 2013-01-02 Glenn Morris <rgm@gnu.org>
2838 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2840 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2842 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2843 neither DOCSTRING nor DECL was given. (Bug#13316)
2845 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2847 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2849 (tramp-do-copy-or-rename-file): Ignore errors when calling
2850 `set-file-extended-attributes'.
2852 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2853 Add handler for `file-acl'.
2854 (tramp-smb-handle-file-acl): New defun.
2856 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2858 * calc/README: Mention ISO 8601 week-numbering dates.
2860 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2862 * view.el (view-mode-enable): New argument run-view-mode-hook.
2863 Run view-mode-hook only when it's non-nil (Bug#13315).
2864 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2867 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2869 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2870 (No device connected, invalid device name). (Bug #13299)
2872 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2874 * window.el (window-resizable--p): Rename to window-resizable-p.
2875 (window-resize-no-error): New function.
2877 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2878 broken in fix from 2012-12-28.
2880 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * subr.el (special-form-p): Don't signal errors on undef aliases.
2884 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2886 * calc/calc-forms.el (math-parse-date): Try using
2887 `math-parse-iso-date' when it looks like it might be needed.
2888 Allow times of 24:00.
2889 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2892 2012-12-30 Glenn Morris <rgm@gnu.org>
2894 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2895 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2896 (rmail-summary-displayed, rmail-summary): Declare.
2897 (mairix-rmail-display): Just require rmail.
2899 2012-12-30 Chong Yidong <cyd@gnu.org>
2901 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2902 check for the tarball contents.
2904 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2906 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2907 tarfile content listings (Bug#13136).
2909 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2911 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2912 Insert the undecoded text of the message being forwarded. (Bug#9521)
2914 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2916 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2917 integers, if they are real numbers. (Bug#13282)
2919 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2920 Return `t' on success.
2922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2923 Add handler for `set-file-selinux-context'.
2925 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2927 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2928 (tramp-sh-handle-set-file-acl): Return `t' on success.
2930 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2932 * files.el (backup-buffer-copy, basic-save-buffer-2):
2933 If set-file-extended-attributes fails, fall back on set-file-modes
2934 instead of signaling an error. (Bug#13298)
2935 (basic-save-buffer): Likewise.
2937 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2939 * progmodes/python.el: Support other commands triggering
2940 python-indent-line so indentation cycling continues to work.
2941 (python-indent-trigger-commands): New defcustom.
2942 (python-indent-line): Use it.
2944 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2946 * progmodes/python.el (python-shell-send-region): Add blank lines
2947 for non sent code so backtraces remain correct.
2949 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2951 * progmodes/python.el: Remove cl dependency.
2952 (python-syntax-count-quotes): Replace incf call.
2953 (python-fill-string): Replace setf call.
2955 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2957 * info.el (info-other-window): New arg, for consistency with info.
2959 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2961 * mail/rmail.el (rmail-maybe-display-summary):
2962 Rewrite (Bug#13066).
2964 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2966 * epg.el (epg--start): Modify process-environment locally.
2968 2012-12-28 Daiki Ueno <ueno@gnu.org>
2970 * epg.el: Support pinentry-curses.
2971 Suggested by Werner Koch in
2972 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2973 (epg-agent-file, epg-agent-mtime): New variable.
2974 (epg--start): Record the modified time of gpg-agent socket file,
2975 to restore Emacs frame after pinentry-curses termination.
2976 (epg-wait-for-completion): Restore Emacs frame here.
2978 2012-12-27 Juri Linkov <juri@jurta.org>
2980 * info.el (Info-file-completions): New variable.
2981 (Info-read-node-name-1): Complete node names in the Info file
2982 when a file name is given. Call `Info-build-node-completions'
2984 (Info-build-node-completions): Add new arg `file'. When it is
2985 non-nil, visit it in a temporary buffer and cache its completions in
2986 `Info-current-file-completions'. Move most of the function body to
2987 `Info-build-node-completions-1'.
2988 (Info-build-node-completions-1): New function with the body from
2989 `Info-build-node-completions'. (Bug#12456)
2991 2012-12-27 Juri Linkov <juri@jurta.org>
2993 * frame.el (frame-maximization-style): Remove user option.
2994 (cycle-frame-maximized): Remove function.
2995 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2996 (toggle-frame-fullscreen): New command bound to <f11> instead of
2997 `toggle-frame-maximized'.
2998 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3000 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3002 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3007 for `file-accessible-directory-p'. (Bug#13275)
3009 2012-12-27 Sam Steingold <sds@gnu.org>
3011 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3012 continuations, see <http://stackoverflow.com/questions/3582436>.
3014 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3016 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3017 "module" and "def" to have indentation before them.
3018 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3020 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3022 2012-12-27 Alan Mackenzie <acm@muc.de>
3024 Speed up fontification where there's large brace blocks.
3025 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3026 to a call of c-beginning-of-decl-1.
3028 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3030 * comint.el (comint-adjust-window-point): New function.
3031 (comint-postoutput-scroll-to-bottom):
3032 Call comint-adjust-window-point (Bug#13248).
3034 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3036 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3038 (auto-mode-alist): Associate .gemspec files with ruby-mode
3039 (https://bugs.ruby-lang.org/issues/5453).
3041 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3043 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3044 Suppress coloring, if possible (required for BusyBox based systems like
3046 (tramp-adb-handle-file-attributes)
3047 (tramp-adb-handle-insert-directory)
3048 (tramp-adb-handle-file-name-all-completions): Use it.
3049 (tramp-adb-get-toolbox): New defun. Check for remote shell
3050 implementation (BusyBox or Toolbox).
3052 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3054 * startup.el (initial-buffer-choice): Allow function as value
3056 (command-line-1): Handle case where initial-buffer-choice
3057 specifies a function.
3058 * server.el (server-execute): Handle case where
3059 initial-buffer-choice specifies a function.
3061 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3063 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3065 (smtpmail-try-auth-methods): Forget the user name/password if the
3066 login is unsuccessful (bug#12424).
3068 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3070 * notifications.el (notifications-notify): Protect body with
3071 `with-demoted-errors'.
3073 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3074 Check properties of remote device. Restart connection, if there is a
3077 2012-12-21 Chong Yidong <cyd@gnu.org>
3079 * sort.el (sort-subr): Doc fix (Bug#13056).
3081 2012-12-21 Bastien Guerry <bzg@gnu.org>
3083 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3085 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3087 * simple.el (process-file): Overwrite stderr file, if exists.
3089 2012-12-21 Daiki Ueno <ueno@gnu.org>
3091 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3092 (epg-error): Set `error-message' property.
3094 2012-12-21 Chong Yidong <cyd@gnu.org>
3096 * international/mule-cmds.el (read-char-by-name): Signal an error
3097 if the user does not supply a valid character (Bug#13177).
3099 * simple.el (transpose-subr-1): Preserve marker positions by
3100 changing the insertion sequence (Bug#13122).
3102 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3104 * simple.el (kill-region): Deactivate mark even for empty regions
3107 2012-12-21 Chong Yidong <cyd@gnu.org>
3109 * help-fns.el (describe-variable): Make sure we get the right
3110 buffer name (Bug#13105). Suggested by Kelly Dean.
3112 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3114 * comint.el (comint-redirect-previous-input-string): New variable.
3115 (comint-redirect-setup, comint-redirect-cleanup)
3116 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3117 (comint-redirect-preoutput-filter): Fix verbose message.
3119 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3121 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3122 is too long for Tramp. See discussion in
3123 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3125 * progmodes/compile.el (compilation-start): Remove line escape
3128 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3130 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3133 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3135 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3136 following non-comment text (bug#13207).
3137 (lm-header-multiline): Continuation lines need to be indented more than
3139 (lm-homepage): New function.
3140 (lm-with-file): Don't be confused if narrowing is in effect.
3142 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3145 very beginning of a hunk (e.g. killing the first line).
3147 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3149 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3150 and text properties from returned ACL string.
3151 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3152 for "setfacl" command.
3154 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3156 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3157 `tramp-cleanup-this-connection', when the process has died.
3160 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3164 2012-12-17 Kevin Ryde <user42@zip.com.au>
3166 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3168 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3170 Add support for preserving ACL entries of files.
3172 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3173 `set-file-acl' handlers.
3175 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3176 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3178 * net/tramp-compat.el (tramp-compat-copy-file):
3179 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3181 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3182 Add `file-acl' and `set-file-acl' handlers.
3183 (tramp-gvfs-handle-copy-file):
3184 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3185 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3188 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3189 Add `file-acl' and `set-file-acl' handlers.
3190 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3191 (tramp-sh-handle-set-file-acl): New defuns.
3192 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3193 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3195 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3196 Add `file-acl' and `set-file-acl' handlers.
3197 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3199 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3201 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3202 use pop-to-buffer with NORECORD argument t. As buffer name, use
3203 *Metahelp* with a leading space (Bug#13190).
3205 2012-12-16 Romain Francoise <romain@orebokech.com>
3207 * files.el (file-extended-attributes)
3208 (set-file-extended-attributes): New functions.
3209 (backup-buffer): Use them to handle both SELinux context and ACL
3211 (backup-buffer-copy): Work with an alist of extended attributes,
3212 rather than an SELinux context.
3213 (basic-save-buffer-2): Ditto.
3215 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3217 * battery.el (battery-bsd-apm): New function.
3219 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3221 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3222 standard date formats.
3224 2012-12-15 Juri Linkov <juri@jurta.org>
3226 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3227 `isearch-insert-char-by-name'.
3228 (with-isearch-suspended): New defmacro with body mostly from
3229 `isearch-edit-string' except the part that sets
3230 `isearch-new-string' and `isearch-new-message'.
3231 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3232 body that sets `isearch-new-string' and `isearch-new-message'.
3233 (isearch-insert-char-by-name): New command.
3234 * international/mule-cmds.el (read-char-by-name): Let-bind
3235 `enable-recursive-minibuffers' to t.
3236 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3238 2012-12-15 Juri Linkov <juri@jurta.org>
3240 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3243 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3245 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3246 the prompt. (Bug#13045)
3248 2012-12-14 Glenn Morris <rgm@gnu.org>
3250 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3251 Try to include filename in non-bytecomp warning. (Bug#13132)
3253 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3255 Fix permissions bugs with setgid directories etc. (Bug#13125)
3256 * files.el (backup-buffer): Don't rely on 9th output of
3257 file-attributes, as it's now a placeholder. Instead, use the new
3258 optional arg of file-ownership-preserved-p.
3259 (file-ownership-preserved-p): New optional arg GROUP.
3260 Fix mishandling of setuid directories that would cause this
3261 function to return t when it should have returned nil.
3262 Document what happens if the file does not exist, and when
3263 it's not known whether the ownership will be preserved.
3264 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3266 (tramp-get-local-gid): Use group-gid for integer, as that's
3267 faster and more reliable.
3269 2012-12-14 Julien Danjou <julien@danjou.info>
3271 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3272 Update keywords list, data type and PL/pgSQL.
3274 2012-12-14 Dave Abrahams <dave@boostpro.com>
3276 * vc/ediff-util.el (ediff-buffer-type): New function.
3277 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3278 rather than taking it as as argument.
3279 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3281 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3283 * json.el: Add pretty-print option (bug#12634).
3284 (json-encoding-separator, json-encoding-default-indentation)
3285 (json--encoding-current-indentation, json-encoding-pretty-print)
3286 (json-encoding-lisp-style-closings): New vars.
3287 (json--with-indentation): New macro.
3288 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3289 (json-encode-array): Use it to obey json-encoding-pretty-print.
3290 (json-pretty-print-buffer, json-pretty-print): New commands.
3292 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3294 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3295 Extract `ruby-syntax-propertize-expansions'.
3296 (ruby-syntax-propertize-expansions): Only change syntax on
3297 certain string delimiters, to punctuation. This way the common
3298 functions like forward-word and thing-at-point still work.
3299 (ruby-match-expression-expansion): Improve readability.
3300 (ruby-block-contains-point): New function.
3301 (ruby-add-log-current-method): Handle several edge cases.
3303 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3305 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3306 unload-feature finishes even when aborting an ongoing edebug session.
3307 Also, do not worry about edebug-mode, unload-feature takes care of it.
3309 2012-12-13 Andreas Schwab <schwab@suse.de>
3311 * net/tls.el (tls-program): Update customize type.
3313 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3315 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3316 (edebug-setup-hook, cl-read-load-hooks): Use it.
3317 (edebug-unload-function): New function. (Bug#13163)
3319 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3321 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3322 Otherwise, there could be errors in autoloading. (Bug#13151)
3324 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3326 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3329 2012-12-13 Alan Mackenzie <acm@muc.de>
3331 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3332 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3333 around `forward-comment' not recognizing ^M as whitespace.
3335 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3337 * progmodes/python.el (python-skeleton-class)
3338 (python-skeleton-def): Do not add space after defun name.
3340 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3343 (cl--symbol-function): Remove (now that funbound is like nil).
3345 2012-12-12 Glenn Morris <rgm@gnu.org>
3347 * button.el (button--area-button-p): Fix typo.
3349 2012-12-12 Sam Steingold <sds@gnu.org>
3351 * frame.el (frame-maximization-style): New user option.
3352 (toggle-frame-maximized): Toggle frame maximization according to
3353 `frame-maximization-style', bound to <f11>.
3354 (cycle-frame-maximized): Cycle between all maximization styles and
3355 non-maximized frame, bound to shift-<f11>.
3357 2012-12-12 David Cadé <codename68@gmail.com>
3359 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3361 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3363 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3364 (eieio-override-prin1): Don't quote kewords and booleans.
3365 (object-write) <eieio-default-superclass>: Don't put closing parens
3366 on new line, avoid needless empty lines, align values that are objects
3367 with the slot keyword (instead of beginning on the same line).
3368 (eieio-list-prin1): Align value with slot keyword; increase
3369 eieio-print-depth before printing members of the list.
3371 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3374 a display text-property.
3375 (report-emacs-bug-hook): Don't bother deleting it any more.
3377 * hilit-chg.el (highlight-save-buffer-state): Delete.
3378 Use with-silent-modifications instead.
3379 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3381 * button.el: Handle buttons in display text-properties.
3382 (button--area-button-p, button--area-button-string):
3383 Use (STRING . STRING-POS) representation instead of just STRING.
3385 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3387 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3388 subdirectory be skipped.
3390 2012-12-11 Glenn Morris <rgm@gnu.org>
3392 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3394 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3395 Treat preprocessor lines embedded in continuations like comments.
3396 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3398 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3400 * calc/calc.el (calc-standard-date-formats): Add more date
3402 * calc/calc-forms.el (math-parse-iso-date): New function.
3403 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3404 (math-parse-iso-date-validate): Add extra error checking.
3405 (calc-date-notation): Add ability to access new date formats.
3407 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3410 font-lock as well as when there's no text-property.
3412 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3414 * hi-lock.el: Refine the choice of default face.
3415 (hi-lock-keyword->face): New function. Use it wherever we used
3417 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3418 (hi-lock--last-face): Remove var.
3419 (hi-lock--unused-faces): New var to replace it.
3420 (hi-lock-read-face-name): Use/maintain it.
3421 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3422 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3423 if it has another face.
3425 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3427 * subr.el (w32notify-handle-event): New function.
3428 (inotify-handle-event): Doc fix.
3430 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3432 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3434 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3436 * simple.el (just-one-space): Doc fix.
3438 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3440 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3442 2012-12-10 Le Wang <l26wang@gmail.com>
3444 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3445 narrowed buffer (bug#12361).
3447 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3449 * vc/vc-hooks.el (vc-state): Doc fix.
3451 2012-12-10 Glenn Morris <rgm@gnu.org>
3453 * mail/rmail.el (rmail-maybe-display-summary):
3454 Preserve buffer, in case select-window changes it. (Bug#13066)
3456 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3458 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3459 cl-load-hook where they belong.
3461 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3465 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3467 Parallelize byte compilation on MS-Windows.
3468 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3469 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3470 (WINS_BASIC): Define as concatenation of the above.
3471 (compile): Subdivide into 4 separate and independent jobs that can
3473 (compile0-CMD, compile0-SH): New targets for compiling
3474 COMPILE_FIRST files, which are prerequisites for the rest of the
3476 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3477 New targets for parallel compilation with cmd.exe.
3478 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3479 compiling under a Unixy shell.
3481 2012-12-09 Chong Yidong <cyd@gnu.org>
3483 * simple.el (set-mark-default-inactive): Delete this
3484 accidentally-introduced option.
3485 (set-mark-command, exchange-point-and-mark): Remove calls.
3487 2012-12-09 Glenn Morris <rgm@gnu.org>
3489 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3490 Respect a defcustom's :set function, if appropriate. (Bug#109)
3491 (eval-defun): Doc fix.
3493 2012-12-08 Juri Linkov <juri@jurta.org>
3495 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3496 (Info-fontify-node, Info-bookmark-make-record): Remove the
3497 file extension from Info-current-file (Bug#13016).
3499 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3502 point, still provide some default.
3503 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3504 names, since we don't use it right now. Actually return the list.
3505 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3507 2012-12-07 Chong Yidong <cyd@gnu.org>
3509 * novice.el (disabled-command-function): Remove a spurious help
3510 xref (Bug#13043). Suggested by Kelly Dean.
3512 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3513 syntax is specified (Bug#13025).
3515 * info.el (Info-set-mode-line): Remove the file extension from
3516 Info-current-file if there is one (Bug#13016).
3518 2012-12-07 Glenn Morris <rgm@gnu.org>
3520 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3521 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3522 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3523 and rmail-mime-decoded. (Bug#9841)
3525 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3526 (batch-unrmail, unrmail): Doc fixes.
3527 (unrmail): Respect unrmail-mbox-format.
3528 * mail/rmail.el (rmail-mbox-format): New option.
3529 (rmail-show-message-1): Respect rmail-mbox-format.
3531 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3535 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3537 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3538 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3539 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3540 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3541 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3542 (cl-progv): Don't rely on dynamic scoping to find the body.
3543 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3544 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3545 (cl-declaim): Use backquotes.
3546 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3547 Use "cl--" prefix for the object's tag.
3549 * ses.el: Use advice-add/remove.
3550 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3551 (copy-region-as-kill, yank): Use advice-add.
3552 (ses-unload-function): Use advice-remove.
3554 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3556 * button.el: Make them work in header-lines (bug#12817).
3557 (button-map): Add bindings for header-line and mode-line use.
3558 (button-get, button-put, button-label): `button' may now be a string.
3559 (button-activate): Don't make it a defsubst.
3560 (button--area-button-p, button--area-button-string): New functions.
3561 (make-text-button): Fix the return value when `beg' was a string.
3562 (push-button): Handle the mode-line case.
3564 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3567 (sql-signum): Remove. Use `cl-signum' instead.
3568 (sql-read-passwd): Remove; use read-passwd instread.
3569 (sql-get-login-ext): Use read-string.
3570 (sql-get-login): Use dolist and pcase.
3571 (sql--completion-table): Rename from sql-try-completion.
3572 Use complete-with-action.
3573 (sql-mode): Don't change abbrev-all-caps globally.
3574 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3575 (sql-postgres-completion-object): Initialize vars in their `let'.
3576 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3577 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3578 (sql-comint-interbase): Use a single append, without setq.
3579 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3581 * hi-lock.el: Rework the default face and the serialize regexp code.
3582 (hi-lock--auto-select-face-defaults): Remove.
3583 (hi-lock-string-serialize-serial): Remove.
3584 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3586 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3588 (hi-lock-set-pattern): Adjust accordingly.
3589 (hi-lock--regexps-at-point): Simplify accordingly.
3590 (hi-lock--auto-select-face-defaults): Remove.
3591 (hi-lock--last-face): New var to replace it.
3592 (hi-lock-read-face-name): Rewrite (bug#11095).
3593 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3595 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3597 * net/tramp.el (tramp-replace-environment-variables):
3598 Hide compiler warning.
3599 (tramp-file-name-for-operation): Remove `executable-find',
3600 `start-process', `call-process' and `call-process-region'.
3602 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3604 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3607 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3609 2012-12-06 Chong Yidong <cyd@gnu.org>
3611 * ffap.el (ffap-replace-file-component): Fix typo.
3613 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3616 fix open-paren-like token test (bug#12785).
3618 2012-12-06 Glenn Morris <rgm@gnu.org>
3620 * mail/rmailsum.el (rmail-new-summary): Tweak for
3621 rmail-maybe-display-summary changing buffer. (Bug#13066)
3623 2012-12-06 Juri Linkov <juri@jurta.org>
3625 * info.el (Info-fontify-node): Don't hide the last newline.
3628 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3630 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3631 so as to enable message-read-from-minibuffer to expand mail aliases.
3633 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3635 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3636 the `intangible' property.
3637 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3639 2012-12-05 Deniz Dogan <deniz@dogan.se>
3641 * net/rcirc.el (rcirc-urls): Update documentation.
3642 (rcirc-condition-filter): New function.
3643 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3644 and exclude consecutive duplicate URLs (Bug#6082).
3646 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3648 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3649 Check return code of copy command.
3651 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3652 Use group `tramp'. Add version.
3654 2012-12-05 Chong Yidong <cyd@gnu.org>
3656 * ffap.el (ffap-url-regexp): Don't require matching at front of
3658 (ffap-url-p): If only a substring matches, return that.
3659 (ffap-url-at-point): Use the return value of ffap-url-p.
3660 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3661 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3662 (ffap-guess-file-name-at-point): Likewise.
3663 (ffap-replace-file-component): Fix typo.
3665 * info.el (info-display-manual): Add existing Info buffers, whose
3666 files may not be in Info-directory-list, to the completion.
3667 (info--manual-names): New helper function.
3669 2012-12-05 Glenn Morris <rgm@gnu.org>
3671 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3672 New functions, for detecting and resolving conflicts. (Bug#10709)
3674 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3676 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3677 (hi-lock-auto-select-face-defaults): New buffer local variable.
3678 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3679 (hi-lock-unface-buffer): Prompt user with useful defaults.
3680 With prefix arg, unhighlight all hi-lock patterns in buffer.
3682 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3686 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3688 * Makefile.in (TRAMP_SRC):
3689 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3691 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3693 * net/tramp-adb.el: New package.
3695 2012-12-04 Chong Yidong <cyd@gnu.org>
3697 * terminal.el: Move to obsolete/.
3699 * longlines.el: Move to obsolete/.
3701 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3702 Remove code referring to longlines mode.
3704 2012-12-03 Juri Linkov <juri@jurta.org>
3706 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3708 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3710 * textmodes/ispell.el (ispell-init-process)
3711 (ispell-start-process, ispell-internal-change-dictionary):
3712 Make sure personal dictionary name is expanded after initial
3713 `default-directory' value. Use expanded strings for
3714 keep/restart checks and for value (Bug#13019).
3716 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3718 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3720 2012-12-03 Leo Liu <sdl.web@gmail.com>
3722 * files.el (dir-locals-read-from-file): Check file non-empty
3723 before reading. (Bug#13038)
3725 2012-12-03 Glenn Morris <rgm@gnu.org>
3727 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3728 Remove any version extension before checking filename. (Bug#13006)
3729 (jka-compr-compression-info-list): Belated :version bump.
3731 2012-12-03 Chong Yidong <cyd@gnu.org>
3733 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3735 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3736 (buffer-menu): Doc fix (Bug#12294).
3738 2012-12-03 Roland Winkler <winkler@gnu.org>
3740 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3741 of diary-show-all-entries in the diary buffer (Bug#12994).
3743 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3745 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3746 "<STDIN>". This is binary safe.
3748 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3750 * calc/calc-forms.el (math-absolute-from-iso-dt)
3751 (math-date-to-iso-dt, math-parse-iso-date-validate)
3752 (math-iso-dt-to-date): New functions.
3753 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3754 (math-fd-isoweekday): New variables.
3755 (calc-date-notation, math-parse-standard-date, math-format-date)
3756 (math-format-date-part): Add support for more formatting codes.
3758 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3760 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3761 current buffer's file name when called interactively (Bug#12488).
3763 2012-12-02 Juri Linkov <juri@jurta.org>
3765 * info.el (info-display-manual): Don't clobber an existing Info
3766 buffer (Bug#10770). Add completion (Bug#10771).
3768 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3770 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3771 before using it for comparison (Bug#5297).
3773 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3775 * textmodes/css-mode.el (css-current-defun-name): New function.
3778 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3779 (html-mode): Use it.
3781 2012-12-01 Chong Yidong <cyd@gnu.org>
3783 Modularize add-log-current-defun (Bug#2224).
3784 Suggested by Jari Aalto.
3786 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3787 (add-log-current-defun): Move mode-specific code to other files.
3788 (add-log-lisp-like-modes, add-log-c-like-modes)
3789 (add-log-tex-like-modes): Variables deleted.
3791 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3792 (lisp-mode-variables): Use it.
3794 * progmodes/cc-mode.el (c-common-init):
3795 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3796 add-log-current-defun-function.
3798 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3801 * progmodes/perl-mode.el (perl-current-defun-name): New.
3802 (perl-mode): Use it.
3804 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3805 Use lisp-current-defun-name.
3807 * textmodes/tex-mode.el (tex-current-defun-name): New.
3808 (tex-common-initialization): Use it.
3810 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3811 (texinfo-mode): Use it.
3813 2012-12-01 Chong Yidong <cyd@gnu.org>
3815 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3816 * progmodes/autoconf.el (autoconf-mode):
3817 * progmodes/js.el (js-mode):
3818 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3819 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3820 * progmodes/perl-mode.el (perl-mode):
3821 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3822 * textmodes/css-mode.el (css-mode):
3823 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3824 (sgml-tags-invisible, sgml-guess-indent):
3825 * textmodes/tex-mode.el (tex-common-initialization)
3826 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3827 (doctex-mode, plain-tex-mode, latex-mode):
3828 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3830 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3832 * vc/vc-hg.el (vc-hg-next-revision):
3833 Ensure use of default "tip" output format. (Bug#6968)
3835 2012-12-01 Kim F. Storm <storm@cua.dk>
3837 * startup.el (fancy-startup-tail): Add a clickable link
3840 2012-12-01 Chong Yidong <cyd@gnu.org>
3842 * startup.el (fancy-startup-tail): Improve the message about
3843 auto-save files (Bug#2176).
3845 * files.el (recover-session): Improve the descriptive message, and
3846 use substitute-command-keys.
3848 2012-12-01 Glenn Morris <rgm@gnu.org>
3850 * ido.el (ido-file-internal):
3851 Handle other-window, other-frame for dired. (Bug#13036)
3853 2012-11-30 Glenn Morris <rgm@gnu.org>
3855 * icomplete.el (icomplete-separator): Fix :version.
3857 2012-11-30 Chong Yidong <cyd@gnu.org>
3859 * shell.el (shell): For C-u M-x shell, use an inactive shell
3860 buffer as the default (Bug#1975).
3861 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3862 (shell-mode): Use them to reapply ansi colorization if Shell mode
3865 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3867 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3869 2012-11-30 Samuel Bronson <naesten@gmail.com>
3871 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3872 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3874 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3876 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3877 by move-to-column (Bug#3234).
3879 2012-11-30 Chong Yidong <cyd@gnu.org>
3881 * longlines.el (longlines-wrap-line, longlines-encode-region):
3882 Preserve text properties (Bug#1425).
3884 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3886 * vc/vc.el (vc-register): Allow registering a file which is
3887 already registered with a different backend (Bug#10589).
3889 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3890 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * icomplete.el: Change separator; add ido-style commands.
3893 (icomplete-show-key-bindings): Remove custom var.
3894 (icomplete-get-keys): Remove function.
3895 (icomplete-forward-completions, icomplete-backward-completions):
3897 (icomplete-minibuffer-map): New var.
3898 (icomplete-minibuffer-setup): Use it.
3899 (icomplete-exhibit): Don't delay if the list of completions is known.
3900 (icomplete-separator): New custom.
3901 (icomplete-completions): Use it.
3902 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3903 (minibuffer-force-complete-and-exit): New command.
3904 (minibuffer--complete-and-exit): New function extracted from
3905 minibuffer-complete-and-exit.
3906 (minibuffer-complete-and-exit): Use it.
3908 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3909 error message when the file doesn't exist (bug#12974).
3911 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3913 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3915 2012-11-29 Glenn Morris <rgm@gnu.org>
3917 * files.el (hack-dir-local-variables): Warn if try to set
3918 coding via dir-locals, since it doesn't work. (Bug#7169)
3920 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3921 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3922 Set buffer-local value of desktop-save-buffer.
3923 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3925 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3926 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3928 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3929 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3931 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3934 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3936 * calc/calc-forms.el (calc-date-notation): Fix regexp
3937 used to find time codes. Fix symbol for seconds.
3939 2012-11-27 Glenn Morris <rgm@gnu.org>
3941 * emacs-lisp/derived.el (derived-mode-make-docstring):
3942 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3944 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3947 lexically scoped variables (bug#13005).
3949 2012-11-27 Glenn Morris <rgm@gnu.org>
3951 * vc/vc-hooks.el (vc-mistrust-permissions):
3952 Default to t, to avoid data-loss. (Bug#11490)
3954 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3956 * progmodes/python.el (python-indent-guess-indent-offset):
3957 If indentation is guessed make python-indent-offset buffer-local.
3959 Fix Imenu regression.
3960 * progmodes/python.el (python-nav-beginning-of-defun):
3961 Fix forward movement when statement(s) separates point from defun.
3962 (python-imenu-prev-index-position): New function.
3964 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3966 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3968 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3969 Don't set buffer-file-type. Return nil. (Bug#12989)
3971 2012-11-27 Glenn Morris <rgm@gnu.org>
3973 * hippie-exp.el (hippie-expand-try-functions-list):
3974 Re-autoload it. (Bug#12982)
3976 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3978 * descr-text.el (describe-char-padded-string):
3979 Call internal-char-font only on GUI frames. (Bug#11964)
3981 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3983 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3984 and obsoletion message.
3986 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3988 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3989 the constructs to keep outside of the `cl-block' (bug#12977).
3991 2012-11-27 Chong Yidong <cyd@gnu.org>
3993 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3994 keep reading until we get the up-event anyway, in order to process
3995 the up-event for mouse-1-click-follows-link (Bug#12971).
3997 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4000 base function is not yet defined (bug#12965).
4001 (ad-activate-advised-definition): Use ad-compile-function.
4002 (ad-activate): Use cond.
4004 2012-11-25 Leo Liu <sdl.web@gmail.com>
4006 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4009 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4011 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4012 reftex-section-info-function in order to be compatible with
4013 Texinfo integration.
4015 * textmodes/reftex.el (reftex-section-pre-regexp)
4016 (reftex-section-post-regexp, reftex-section-info-function):
4018 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4019 reftex-section-post-regexp, and reftex-section-info-function in order
4020 to be compatible with Texinfo integration.
4022 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4023 use reftex-section-pre-regexp variable in order to be compatible with
4024 Texinfo integration.
4026 2012-11-25 Chong Yidong <cyd@gnu.org>
4028 * faces.el: Make face-spec-set more analogous to setq.
4029 (face-spec-set): Change the third arg to specify whether this
4030 function is being called via defface, customize, or a third party.
4031 Set the appropriate symbol properties. Clear the override spec if
4032 setting via Custom. Initialize face if necessary. (Bug#4988)
4033 (face-spec-recalc): Allow theme faces to completely replace the
4034 defface spec, in the same way as custom faces (Bug#8454).
4036 * cus-face.el (custom-declare-face): Move face initialization to
4038 (custom-theme-set-faces): Don't initialize the face name here, as
4039 that is now done in face-spec-set.
4041 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4042 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4043 Simplify by using the new arg to face-spec-set.
4045 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4046 reset face-override-spec too, and use custom-declare-face.
4048 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4050 * term/ns-win.el (ns-initialize-window-system): Move creation of
4051 fontsets here (Bug#11964).
4053 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4055 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4058 2012-11-24 Chong Yidong <cyd@gnu.org>
4060 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4063 * custom.el (custom-theme-set-variables): Use a topological sort
4064 for ordering by custom dependencies (Bug#12952).
4065 (custom--sort-vars, custom--sort-vars-1): New functions.
4067 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4070 lexical-binding (bug#12938).
4072 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4074 * image-mode.el (image-transform-check-size): Use assertions only
4075 for images of type imagemagick.
4077 Otherwise no error, image-transform-fit-to-{width,height} is
4078 silently ignored, as before. Doc fix.
4080 2012-11-24 Chong Yidong <cyd@gnu.org>
4082 * faces.el (color-defined-p): Doc fix (Bug#12853).
4084 2012-11-24 Juri Linkov <juri@jurta.org>
4086 * dired.el (dired-mark): Add optional arg `interactive'.
4087 Check for `use-region-p' if `interactive' is non-nil.
4088 (dired-unmark, dired-flag-file-deletion): Add optional arg
4089 `interactive'. Call `dired-mark' with the arg `interactive'.
4092 * wdired.el: Revert 2012-10-17 change partly and replace it with
4093 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4094 (wdired-finish-edit): Add marks for new file names to
4095 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4096 after `revert-buffer'.
4097 (wdired-do-renames): Remove calls to `dired-remove-file',
4098 `dired-add-file', `dired-add-entry'. (Bug#11795)
4100 2012-11-24 Alan Mackenzie <acm@muc.de>
4102 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4104 Fix bugs in the state cache. Enhance a debugging mechanism.
4105 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4106 "brace at column zero" strategy for C++.
4107 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4108 (c-parse-state-point): New variable.
4109 (c-record-parse-state-state): Record old parse state with
4110 `copy-tree'. Record previous value of point.
4111 (c-debug-parse-state-double-cons): New debugging function.
4112 (c-debug-parse-state): Call the above new function.
4113 (c-toggle-parse-state-debug): Output a confirmatory message.
4115 * progmodes/cc-mode.el (c-before-change, c-after-change):
4116 Call c-invalidate-state-cache from `c-before-change' instead of
4119 2012-11-23 Chong Yidong <cyd@gnu.org>
4121 * find-cmd.el (find-constituents): Add executable, ipath,
4122 readable, samefile, writable, daystart, regextype (Bug#12856).
4124 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4126 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4128 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4130 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4131 definition. This fixes a bootstrap failure.
4132 (calc-gregorian-switch): In menu, put dates before regions.
4133 This is easier to follow, lines up better in the menu, and lets us
4134 coalesce regions that switch at the same time. Give country
4135 names, not "Vatican", as that's better for non-expert users.
4136 Use names that are stable between the date of switch and now, e.g.,
4137 Bohemia and Moravia (which existed then and now) and not
4138 Czechoslovakia (which didn't exist then and doesn't exist now).
4139 What is now the U.S. mostly did not switch at the same time as
4140 Britain, so omit the U.S. Correct spelling of "Britain".
4141 Catholic Switzerland was too much of a mess, so omit it.
4143 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4145 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4146 after the variable is changed.
4148 2012-11-21 Daniel Colascione <dancol@dancol.org>
4150 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4151 in SQL declarations for font-lock.
4152 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4154 2012-11-21 Glenn Morris <rgm@gnu.org>
4156 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4157 (face-italic-p): Add optional argument "inherit".
4159 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4160 Remove -p suffix from names, for consistency with other set-face-*.
4161 (set-face-inverse-video): Fix interactive spec.
4162 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4163 * textmodes/table.el (table--update-cell-face):
4164 Use set-face-inverse-video rather than now obsolete alias.
4166 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4168 * simple.el (line-move): Don't call line-move-partial if
4169 scroll-conservatively is in effect. (Bug#12927)
4171 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4174 Fallback on completion-at-point rather than
4175 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4176 (eshell-cmpl-initialize): Setup completion-at-point.
4178 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4180 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4182 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4184 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4185 are remote, check out-of-band property for both.
4187 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4192 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4194 More minor time fixes.
4195 * calendar/time-date.el: Commentary fix.
4196 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4197 too much other code depends on (0 0) time stamps.
4198 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4199 Add a couple of FIXME comments.
4201 Minor cleanup for times as lists of four integers.
4202 * files.el (dir-locals-directory-cache):
4203 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4205 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4206 * ps-bdf.el (bdf-file-newer-than-time):
4207 Process four-integers time stamps, not two. Doc fixes.
4209 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * uniquify.el (uniquify-managed): Use defvar-local.
4212 (rename-buffer, create-file-buffer): Advise with advice-add.
4213 (uniquify-unload-function): Unadvise accordingly.
4215 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4216 (trace-buffer): Don't purecopy.
4217 (trace-entry-message, trace-exit-message): Add `context' arg.
4218 (trace--timer): New var.
4219 (trace-make-advice): Adjust for use in nadvice.
4220 Add `context' argument. Delay `display-buffer' via a timer.
4221 (trace-function-internal): Use advice-add.
4222 (trace--read-args): New function.
4223 (trace-function-foreground, trace-function-background): Use it.
4224 (trace-function): Rename to trace-function-foreground and redefine as
4225 an alias to that new name.
4226 (untrace-function, untrace-all): Adjust to the use of nadvice.
4228 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4230 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4232 * subr.el (called-interactively-p-functions): New var.
4233 (internal--called-interactively-p--get-frame): New macro.
4234 (called-interactively-p, interactive-p): Rewrite in Lisp.
4235 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4236 (called-interactively-p-functions): Use it.
4237 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4238 (called-interactively-p-functions): Use it.
4239 * allout.el (allout-called-interactively-p): Don't assume
4240 called-interactively-p is a subr.
4242 2012-11-20 Glenn Morris <rgm@gnu.org>
4244 * profiler.el (profiler-report-mode-map): Add a menu.
4245 No need to bind `q' because we derive from special-mode.
4246 (profiler-report-find-entry): Handle calls from the menu-bar.
4248 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * emacs-lisp/byte-run.el (defun-declarations-alist):
4251 Allow a compiler-macro to be a lambda expression.
4253 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4255 (python-syntax-context): Add compiler-macro.
4256 (python-font-lock-keywords): Simplify with De Morgan.
4258 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4260 * files.el (load-file): Require match in minibuffer selection, as was
4261 the case in Emacs-20 before we changed the spec to allow .elc files
4264 * json.el: Don't require cl since we don't use it.
4265 * color.el: Don't require cl.
4266 (color-complement): `caddr' -> `nth 2'.
4268 * calendar/time-date.el (time-to-seconds): De-obsolete.
4270 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4272 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4274 (math-date-to-julian-dt): Adjust the initial approximation for the
4275 year to deal with the new definition of the DATE.
4277 2012-11-19 Daniel Colascione <dancol@dancol.org>
4279 * term/w32-win.el (cygwin-convert-path-from-windows):
4280 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4282 2012-11-18 Chong Yidong <cyd@gnu.org>
4284 * filecache.el (file-cache--read-list): New function.
4285 (file-cache-add-directory-list, file-cache-add-file-list)
4286 (file-cache-delete-file-list, file-cache-delete-directory-list):
4287 Use it to read a list of files or directories (Bug#12846).
4288 (file-cache-add-file, file-cache-add-directory)
4289 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4290 (file-cache-delete-directory): Print an message.
4292 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4294 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4295 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4297 2012-11-18 Glenn Morris <rgm@gnu.org>
4299 * image.el (insert-image, insert-sliced-image): Doc fix.
4301 2012-11-18 Chong Yidong <cyd@gnu.org>
4303 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4306 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4308 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4309 response when the target file is in a subdirectory (Bug#12757).
4311 2012-11-18 Chong Yidong <cyd@gnu.org>
4313 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4315 2012-11-18 Glenn Morris <rgm@gnu.org>
4317 * emacs-lisp/cl-lib.el (face-underline-p):
4318 Use set-face-underline rather than the alias set-face-underline-p.
4320 * window.el (with-temp-buffer-window): Doc fix.
4321 * subr.el (with-output-to-temp-buffer):
4322 Add doc xref to with-temp-buffer-window.
4324 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4326 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4327 * calc/calc.el (math-format-date-cache): Declare.
4329 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4331 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4332 It also uses January 1, 1 AD as its day number 1.
4333 * calc/calc-forms.el (math-julian-date-beginning)
4334 (math-julian-date-beginning-int): Implement this.
4336 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4338 * descr-text.el (quail-find-key):
4339 * dired.el (desktop-file-name):
4340 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4341 * generic-x.el (comint-mode, comint-exec):
4342 * image-dired.el (widget-forward):
4343 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4344 (speedbar-change-expand-button-char)
4345 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4346 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4347 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4348 (widget-field-action, widget-value-set):
4349 * speedbar.el (imenu--make-index-alist):
4350 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4351 (ring-length, ring-insert):
4352 * vcursor.el (compare-windows-skip-whitespace):
4353 * woman.el (dired-get-filename):
4356 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4358 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4360 * calc/calc.el (calc-gregorian-switch): New variable.
4362 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4363 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4364 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4365 (math-leap-year-p): Add option to distinguish between Julian
4366 and Gregorian calendars.
4367 (math-day-number): Use `math-day-in-year' to do the computations.
4368 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4369 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4370 to do the computations.
4371 (math-date-to-dt): Use `math-date-to-julian-dt' and
4372 `math-date-to-gregorian-dt' to do the computations.
4373 (calcFunc-weekday, math-format-date-part): Use the new version of
4374 the DATE to determine the weekday.
4375 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4378 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4380 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4381 Cygwin; otherwise use 'file:'. (Bug#12914)
4382 (cygwin-convert-path-from-windows): Declare, to avoid
4383 byte-compiler warnings.
4385 2012-11-17 Andreas Politz <politza@fh-trier.de>
4387 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4388 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4389 prefix and negative numeric prefix args (Bug#12795).
4391 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4393 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4394 Don't signal an error with a score that is too low to add to the
4395 list of top scores. (Bug#12779)
4397 2012-11-17 Chong Yidong <cyd@gnu.org>
4399 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4401 * filecache.el (file-cache-add-file): Handle relative file name in
4402 the argument (Bug#12694).
4404 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4406 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4408 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4410 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4412 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4414 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4416 * window.el (enlarge-window, shrink-window): Don't mention return
4417 value in doc-string (Bug#12896).
4418 (window--display-buffer): Don't resize frames - it won't work
4419 with all window managers and defeat pop-up-frame-alist.
4420 (display-buffer-alist): In doc-string explain that CONDITION can
4421 be a function and which arguments are passed to it (Bug#12854).
4422 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4423 expressions (Bug#12854).
4424 (display-buffer): Pass ACTION argument to
4425 display-buffer-assq-regexp.
4427 2012-11-16 Glenn Morris <rgm@gnu.org>
4429 * window.el (fit-frame-to-buffer-bottom-margin)
4430 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4432 * faces.el (face-underline-p): Use face-attribute-specified-or.
4434 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4436 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4438 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4440 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4442 2012-11-16 Glenn Morris <rgm@gnu.org>
4444 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4445 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4447 * faces.el (face-underline-p): Doc fix. Handle :underline being
4448 things other than `t' (a string, a list).
4449 (face-inverse-video-p): Doc fix.
4450 (set-face-underline): Rename it back from set-face-underline-p.
4451 Doc fix. Allow interactive input of values other than t.
4452 (read-face-attribute): Apply formatting to :underline,
4453 since like :box and :stipple it can take list values.
4455 * term.el (ansi-term): Don't let C-x escape-char binding
4456 clobber the more standard C-c binding. (Bug#12842)
4458 * subr.el (set-temporary-overlay-map): Doc fix.
4460 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4462 * window.el (record-window-buffer)
4463 (display-buffer-record-window): When copying the markers to
4464 window-point preserve window-point-insertion-type. (Bug#12588)
4466 2012-11-16 Glenn Morris <rgm@gnu.org>
4468 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4469 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4470 Use new names for hooks rather than obsolete aliases.
4472 2012-11-15 Daniel Colascione <dancol@dancol.org>
4474 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4475 prefix instead of "file:" so that when FILE-NAME begins with "//",
4476 as it does when the target file is on a network share, url-handler
4479 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4481 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4482 a preactivated advice from an old advice.el; they're not compatible!
4484 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4486 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4487 Fix string-spec case.
4489 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4491 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4493 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4494 (advice--buffer-local-function-sample): New var.
4495 (advice--set-buffer-local, advice--buffer-local): New functions.
4496 (add-function, remove-function): Use them.
4498 2012-11-15 Drew Adams <drew.adams@oracle.com>
4500 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4502 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4505 potential binding of print-gensym to t, and prettify (back)quotes in
4506 case they appear in args's default values (bug#12884).
4508 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4511 (advice-eval-interactive-spec): New function.
4512 (advice--make-interactive-form): Support around advice (bug#12844).
4514 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4516 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4517 more strict. Add docstring.
4518 (ruby-expression-expansion-re): Extract from
4519 `ruby-match-expression-expansion'.
4520 (ruby-syntax-propertize-function): After everything else, search
4521 for expansions in string literals, mark their insides as
4522 whitespace syntax and save match data for font-lock.
4523 (ruby-font-lock-keywords): Use the 2nd group from expression
4525 (ruby-match-expression-expansion): Use the match data saved to the
4526 text property in ruby-syntax-propertize-function.
4528 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4530 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4533 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4535 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4536 start/end keyword a bit harder. Works with different values of N.
4538 (ruby-end-of-block): Update accordingly.
4540 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4542 * woman.el (woman-file-name): Don't mess with unread-command-events
4545 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4546 Remove out of date self-require hack.
4547 (ad-do-advised-functions): Use simple `dolist'.
4548 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4549 (ad-advice-definition): Redefine as functions.
4550 (ad-advice-classes): Move before first use.
4551 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4552 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4553 (ad--defalias-fset): Remove functions.
4554 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4555 (ad-get-orig-definition): Rewrite.
4556 (ad-make-advised-definition-docstring): Change base docstring.
4557 (ad-real-orig-definition): Rewrite.
4558 (ad-map-arglists): Change name of called function.
4559 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4560 (ad-make-advised-definition): Simplify.
4561 (ad-assemble-advised-definition): Tweak for new calling context.
4562 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4563 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4564 function and call ad-activate if needed.
4565 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4566 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4567 (ad-compile-function): Compile ad-Advice-*.
4568 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4569 (ad-start-advice, ad-stop-advice): Remove.
4571 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4573 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4574 period before class method names, not after. Remove handling of
4575 one impossible case. Add comments.
4577 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * emacs-lisp/advice.el: Remove support for freezing.
4580 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4581 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4582 Remove support for `freeze'.
4584 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4585 override the default.
4586 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4588 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4591 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4593 (advice--strip-macro): New function.
4594 (advice--defalias-fset): Use them to handle macros.
4595 (advice-add): Use them.
4596 (advice-member-p): Correctly handle macros.
4598 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4600 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4601 Never font-lock the beginning of singleton class as heredoc.
4603 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4607 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4609 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4610 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4611 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4613 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4615 Fix end-of-defun misbehavior.
4616 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4617 python-beginning-of-defun-function. Handle nested defuns
4619 (python-nav-end-of-defun): Rename from
4620 python-end-of-defun-function. Ensure forward movement.
4621 (python-info-current-defun): Reimplement to work as intended
4622 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4623 parent defuns as soon as possible.
4625 2012-11-13 Glenn Morris <rgm@gnu.org>
4627 * progmodes/flymake.el (flymake-error-bitmap)
4628 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4629 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4631 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4633 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4634 backward, always stop at indentation. Reverts the change from
4635 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4637 2012-11-13 Glenn Morris <rgm@gnu.org>
4639 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4640 Add ibuffer-filter-by-derived-mode.
4642 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4643 the same name shadowing each other.
4645 * window.el (with-temp-buffer-window): Doc tweak.
4647 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4649 * help.el (temp-buffer-max-height):
4650 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4651 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4653 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * emacs-lisp/nadvice.el: New package.
4656 * subr.el (special-form-p): New function.
4657 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4658 (elp-all-instrumented-list): Remove var.
4659 (elp-not-profilable): Remove elp-wrapper.
4660 (elp-profilable-p): Use autoloadp and special-form-p.
4661 (elp--advice-name): New const.
4662 (elp-instrument-function): Use advice-add.
4663 (elp--instrumented-p): New predicate.
4664 (elp-restore-function): Use advice-remove.
4665 (elp-restore-all, elp-reset-all): Use mapatoms.
4666 (elp-set-master): Use elp--instrumented-p.
4667 (elp--make-wrapper): Rename from elp-wrapper, return a function
4668 suitable for advice-add. Use cl-inf.
4669 (elp-results): Use mapatoms+elp--instrumented-p.
4670 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4671 (debug-function-list): Remove var.
4672 (debug): Rename arg, and then let-bind it explicitly inside.
4673 (debugger-setup-buffer): Rename arg.
4674 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4675 (debugger-frame-number): Adjust to new debug-on-entry setup.
4676 (debug--implement-debug-on-entry): Rename from
4677 implement-debug-on-entry, add argument.
4678 (debugger-special-form-p): Remove, use special-form-p instead.
4679 (debug-on-entry): Use advice-add.
4680 (debug--function-list): New function.
4681 (cancel-debug-on-entry): Use it, along with advice-remove.
4682 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4683 (debugger-list-functions): Use debug--function-list instead of
4684 debug-function-list.
4685 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4686 (ad-special-form-p): Remove, use special-form-p instead.
4687 (ad-set-advice-info): Use add-function and remove-function.
4688 (ad--defalias-fset): Adjust accordingly.
4690 2012-11-10 Glenn Morris <rgm@gnu.org>
4692 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4693 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4694 (report-emacs-bug-create-existing-bugs-buffer)
4695 (report-emacs-bug-parse-query-results)
4696 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4698 * term.el (term-default-fg-color, term-default-bg-color):
4699 Make obsolete, rather than just saying "deprecated" in the doc.
4701 * term.el (term): Rename from `term-face'.
4702 (term-current-face, ansi-term-color-vector)
4703 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4706 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4708 * server.el (server-create-window-system-frame): Handle Nextstep
4709 specially (Bug#12780).
4711 2012-11-10 Glenn Morris <rgm@gnu.org>
4713 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4714 Unautoload, and make obsolete. (Bug#7449)
4716 2012-11-10 Chong Yidong <cyd@gnu.org>
4718 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4719 rename from diff-remove-trailing-whitespace (Bug#12831).
4721 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4724 miscompilation of trace.el.
4726 2012-11-10 Glenn Morris <rgm@gnu.org>
4728 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4730 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4732 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4735 2012-11-10 Chong Yidong <cyd@gnu.org>
4737 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4738 a defcustom with an appropriate :set function.
4739 (minibuffer-default--in-prompt-regexps): New function.
4741 2012-11-10 Glenn Morris <rgm@gnu.org>
4743 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4744 (define-modify-macro): Doc fixes.
4746 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4747 (gv-define-simple-setter): Update doc of `fix-return'.
4749 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4752 twice when `fix-return' is set (bug#12813).
4754 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4755 gv-define-simple-setter (bug#12812).
4757 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4760 2012-11-10 Glenn Morris <rgm@gnu.org>
4762 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4764 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4765 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4766 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4767 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4769 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4771 2012-11-10 Leo Liu <sdl.web@gmail.com>
4773 * ido.el (ido-set-matches-1): Improve flex matching performance by
4774 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4776 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4778 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4779 (ad--defalias-fset): New function.
4780 (ad-safe-fset): Remove.
4781 (ad-make-freeze-definition): Use cl-letf*.
4783 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * subr.el (dolist): Don't bind VAR in RESULT.
4787 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4788 (fset, documentation): Don't save real def since we don't advise.
4789 (ad-do-advised-functions): Remove problematic `result-form'.
4790 (ad-safe-fset): `ad-real-fset' => `fset'.
4791 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4792 uses CL's dolist internally.
4793 (ad-arglist): Remove unused arg `name'.
4794 (ad-docstring, ad-make-advised-docstring):
4795 `ad-real-documentation' => `documentation'.
4796 (warning-suppress-types): Declare.
4797 (ad-set-arguments): Simple CSE.
4798 (ad-recover-normality): Sanity check.
4800 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4801 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4803 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4805 * ses.el: symbol to coordinate mapping is made by symbol property
4806 `ses-cell'. This means that the same mapping is done for all SES
4807 sheets. That is good enough for cells with standard A1 names, but
4808 not for named cell. So a hash map is added for the latter.
4809 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4810 (ses-sym-rowcol): Use hashmap for named cell.
4811 (ses-is-cell-sym-p): New defun.
4812 (ses-decode-cell-symbol): New defun.
4813 (ses-create-cell-variable): Add cell to hashmap when name is not
4815 (ses-rename-cell): Check that cell new name is not already in
4816 spreadsheet with the use of ses-is-cell-sym-p
4817 (ses-rename-cell): Use hash map for named cells, but accept also
4818 renaming back to A1-like.
4820 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4822 * emacs-lisp/advice.el: Use new dynamic docstrings.
4823 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4824 Use dynamic-docstring-function instead of ad-advice-info.
4825 (ad--make-advised-docstring): New function extracted from
4826 ad-make-advised-docstring.
4827 (ad-make-advised-docstring): Use it.
4828 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4830 (sql-help): Use it with dynamic-docstring-function.
4832 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4834 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * files.el (hack-one-local-variable--obsolete): New function.
4837 (hack-one-local-variable): Use it for obsolete settings.
4839 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4842 * progmodes/js.el (js--filling-paragraph): New var.
4843 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4844 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4847 2012-11-08 Julien Danjou <julien@danjou.info>
4849 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4850 `auto-mode-alist' (Bug#12835).
4852 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4854 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4855 (perl--prettify-symbols-alist): New const.
4856 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4858 (perl-font-lock-keywords-2): Use them.
4859 (perl-electric-noindent-p): New function.
4860 (perl-mode): Use it to set up electric-indent-mode.
4861 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4862 (perl-mode-map): Remove bindings for them.
4863 (perl-imenu-generic-expression, perl-outline-level):
4864 Match functions&packages in column>0.
4866 * env.el (env--substitute-vars-regexp): New const.
4867 (substitute-env-vars): Use it. Add `only-defined' arg.
4868 * net/tramp.el (tramp-replace-environment-variables): Use it.
4870 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4871 Byte-compile *before* eval in eval-and-compile.
4872 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4873 (byte-compile-file-form-autoload): Don't hide actual definition.
4874 (byte-compile-maybe-guarded): Accept `functionp' as well.
4876 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4878 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4880 * notifications.el (notifications-get-server-information-method):
4882 (notifications-get-capabilities): Fix docstring.
4883 (notifications-get-server-information): New defun.
4885 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4887 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4890 * textmodes/ispell.el: Experimental support for support debugging.
4891 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4893 (ispell-print-if-debug): New function to print stuff to
4894 `ispell-debug-buffer' if debugging is enabled.
4895 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4896 show some debugging info.
4897 (ispell-buffer-with-debug): New function that creates a debugging
4898 buffer and calls `ispell-buffer' with debugging enabled.
4900 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4901 comment in autoconf mode. (Bug#12768)
4903 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4905 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4906 frame-first-window, frame-root-window, frame-selected-window,
4907 minibuffer-selected-window, minibuffer-window,
4908 window-absolute-pixel-edges, window-at, window-body-height,
4909 window-body-width, window-display-table, window-combination-limit,
4910 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4911 window-inside-edges, window-inside-pixel-edges, window-left-child,
4912 window-left-column, window-margins, window-next-buffers,
4913 window-next-sibling, window-new-normal, window-new-total,
4914 window-normal-size, window-parameter, window-parameters, window-parent,
4915 window-pixel-edges, window-point, window-prev-buffers,
4916 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4917 window-start, window-text-height, window-top-child, window-top-line,
4918 window-total-height, window-total-width and window-use-time to the list
4919 of functions without side-effects.
4920 (toplevel): Add window-valid-p to the list of error-free functions
4921 without side-effects.
4923 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4925 * textmodes/ispell.el (ispell-program-name):
4926 Update spellchecker parameters when customized.
4928 2012-11-04 Glenn Morris <rgm@gnu.org>
4930 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4932 2012-11-04 Chong Yidong <cyd@gnu.org>
4934 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4935 same-window-* variables.
4937 2012-11-04 Juri Linkov <juri@jurta.org>
4939 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4940 (isearch-describe-key, isearch-describe-mode): Use a display
4941 action instead of binding same-window-* variables (Bug#10040).
4943 2012-11-03 Glenn Morris <rgm@gnu.org>
4945 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4946 Rename handler properties back from cl-- to cl-. (Bug#12788)
4948 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4950 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4952 * term/pc-win.el: Don't load term/internal from here.
4954 * loadup.el: Load term/internal from here.
4956 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4958 * progmodes/python.el (inferior-python-mode): Fix hang in
4959 jit-lock (Bug#12645).
4961 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4963 * window.el (switch-to-visible-buffer)
4964 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4966 2012-11-03 Glenn Morris <rgm@gnu.org>
4968 * emacs-lisp/cl-lib.el (cl--random-time):
4969 Rename from cl-random-time. (Bug#12773)
4970 (cl--gensym-counter, cl--random-state): Update callers.
4971 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4973 2012-11-03 Chong Yidong <cyd@gnu.org>
4975 * cus-start.el: Make cursor-type customizable (Bug#11633).
4977 2012-11-02 Glenn Morris <rgm@gnu.org>
4979 * filecache.el: No need to load find-lisp when compiling.
4980 (find-lisp-find-files): Autoload it.
4981 (file-cache-add-directory-recursively): Don't require find-lisp.
4983 * image.el (image-type-from-file-name): Trivial simplification.
4985 * emacs-lisp/bytecomp.el (byte-compile-eval):
4986 Decouple "noruntime" and "cl-functions" warnings.
4988 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4990 * play/gomoku.el (gomoku-display-statistics): Update mode line
4991 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4993 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4995 * window.el (quit-restore-window): If the window has been
4996 created on an existing frame and ended up as the sole window on
4997 that frame, do not delete it (Bug#12764).
4999 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5001 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5002 Rename from sh--inside-arithmetic-expression, handle more cases
5005 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5006 (sh-font-lock-open-heredoc): Use it (bug#12770).
5008 2012-10-30 Glenn Morris <rgm@gnu.org>
5010 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5012 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5014 2012-10-29 Chong Yidong <cyd@gnu.org>
5016 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5017 function key is stored in a keyboard macro (Bug#4894).
5019 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5021 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5023 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5025 (diff-unified->context, diff-context->unified)
5026 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5028 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5030 * files.el (find-alternate-file): Only ask one question (bug#12487).
5032 2012-10-29 Chong Yidong <cyd@gnu.org>
5034 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5035 Suggested by Dan Nicolaescu (Bug#6326).
5037 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5039 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5041 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5043 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5045 * face-remap.el (face-remap-add-relative): Handle the case where a
5046 face-remapping-alist entry is a cons cell (Bug#12762).
5048 2012-10-29 Kevin Ryde <user42@zip.com.au>
5050 * woman.el (woman-parse-numeric-value): Handle picas correctly
5053 2012-10-29 Glenn Morris <rgm@gnu.org>
5055 * emacs-lisp/cl.el (defsetf): Doc fix.
5057 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5059 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5060 syntax to the matching opener, if any (bug#12547).
5061 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5062 matching open as a "case-(".
5063 (sh-smie-rc-grammar): Add a corresponding rule for it.
5065 2012-10-28 Daniel Hackney <dan@haxney.org>
5067 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5068 "PKGNAME-autoloads.el" in case we created it.
5070 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5072 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5073 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5074 (completion--twq-all): Disable too-strict assertions.
5076 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5078 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5080 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5081 text to match the real keybindings.
5083 2012-10-27 Juri Linkov <juri@jurta.org>
5085 * wdired.el (wdired-keep-marker-rename): New defcustom.
5086 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5089 * dired.el (dired-keep-marker-rename): Add reference to
5090 `wdired-keep-marker-rename' in the docstring.
5091 Add default character value ?R to display initially in
5092 Customization UI instead of ?@.
5094 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5096 * window.el (display-buffer): In doc-string describe
5097 window-height and window-width alist entries.
5099 * time.el (display-time-world): Restore fit-window-to-buffer
5102 2012-10-27 Chong Yidong <cyd@gnu.org>
5104 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5106 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5108 * minibuffer.el (completion-category-overrides): New completion
5109 category `bookmark' (bug#11131).
5111 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5114 Silence bogus compiler warnings for ad-do-it.
5116 * bookmark.el (bookmark-completing-read): Set the completion category
5117 to `bookmark' (bug#11131).
5119 2012-10-26 Bastien <bzg@altern.org>
5120 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * face-remap.el: Use lexical-binding.
5123 (text-scale-adjust): Improve docstring. Use itself for the temporary
5124 overlay-map bindings, so as to repeat the "Use..." message each time.
5126 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * emacs-lisp/macroexp.el (macroexp--expand-all):
5129 Obey byte-compile-warning-enabled-p (bug#12486).
5131 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5132 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5134 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5136 * mouse.el (mouse-drag-line): Move last form into preceding when
5139 * help.el (resize-temp-buffer-window): Fix doc-string.
5141 2012-10-25 David Engster <deng@randomsample.de>
5143 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5144 Remove. This feature is already integrated in imenu.
5146 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5147 always loaded. Require `speedbar' unconditionally.
5149 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5153 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5155 * net/ldap.el (ldap-search-internal): The official ldif format starts
5156 with a "version: 1" header (bug#12724).
5158 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5161 2012-10-25 Glenn Morris <rgm@gnu.org>
5163 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5165 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5167 * minibuffer.el (minibuffer-force-complete): Use one more marker
5168 for the temporary-overlay-map command (bug#12619).
5170 2012-10-24 Chong Yidong <cyd@gnu.org>
5172 * time.el (display-time-world-mode): Derive from special-mode.
5173 (display-time-world): Use display-buffer (Bug#12708).
5174 (display-time-world-mode-map): Variable deleted.
5175 (display-time-world-display): Wrap the final delete-char inside
5178 2012-10-24 Chong Yidong <cyd@gnu.org>
5180 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5183 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5185 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5187 * minibuffer.el (completion--all-sorted-completions-location): New var.
5188 (completion--cache-all-sorted-completions)
5189 (completion--flush-all-sorted-completions): Use it.
5190 (completion-in-region, completion-in-region--postch)
5191 (completion-at-point, completion-help-at-point): Use markers in
5192 completion-in-region--data (bug#12619).
5194 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * progmodes/compile.el (compilation-start): Try to handle common
5197 quoting of `cd' argument (bug#12640).
5199 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5202 2012-10-23 Glenn Morris <rgm@gnu.org>
5204 * progmodes/gud.el (gud-menu-map):
5205 Check gdb-active-process is bound. (Bug#12358)
5207 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * repeat.el (repeat): Set real-this-command (bug#12232).
5211 * htmlfontify.el (hfy-post-html-hook):
5212 * filesets.el (filesets-cache-fill-content-hook):
5213 * arc-mode.el (archive-extract-hook):
5214 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5215 * net/rcirc.el (rcirc-sentinel-functions)
5216 (rcirc-receive-message-functions, rcirc-activity-functions)
5217 (rcirc-print-functions):
5218 * net/dbus.el (dbus-event-error-functions):
5219 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5220 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5221 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5222 * term/sun.el (sun-raw-prefix-hooks):
5223 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5225 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5227 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5228 Set `tramp-chunksize' to 1. This improves the performance.
5229 (tramp-smb-wait-for-output): Add timeout to
5230 `tramp-accept-process-output' calls.
5232 2012-10-23 Chong Yidong <cyd@gnu.org>
5234 * faces.el (font-list-limit): Define as an obsolete variable.
5236 * startup.el (command-line):
5237 * cus-start.el: Don't refer to font-list-limit.
5239 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5241 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5243 * subr.el (internal-temp-output-buffer-show): Rename from
5244 temp-output-buffer-show, since previously compiled files expect this name.
5246 2012-10-23 Glenn Morris <rgm@gnu.org>
5248 * image.el (image-type-from-file-name): If multiple types match,
5249 return the first one that is supported. (Bug#9045)
5251 2012-10-22 Glenn Morris <rgm@gnu.org>
5253 * image.el (imagemagick-enabled-types): Doc fix.
5255 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5257 * progmodes/which-func.el (which-func-current): The hash-table may have
5258 an explicit nil (bug#12338).
5260 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * electric.el (electric-pair-delete-selection-self-insert-function):
5263 Rename to electric-pair-will-use-region, return a boolean.
5264 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5266 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5267 (delete-selection-pre-hook): Use use-region-p.
5268 (delete-selection-self-insert-function): Remove.
5269 (self-insert-command): Obey self-insert-uses-region-functions.
5270 (self-insert-iso): Revert to previous setting, since we don't actually
5271 know what that command does.
5272 (delete-selection-self-insert-hooks): Remove.
5274 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5276 * delsel.el (delete-selection-helper): New function, extracted from
5277 delete-selection-pre-hook.
5278 (delete-selection-pre-hook): Use it.
5279 (delete-selection-self-insert-function): New function.
5280 (delete-selection-self-insert-hooks): New hook.
5281 (self-insert-command, self-insert-iso): Use it.
5282 * electric.el (electric-pair-syntax): New function, extracted from
5283 electric-pair-post-self-insert-function.
5284 (electric-pair-post-self-insert-function): Use it.
5285 (electric-pair-delete-selection-self-insert-function): New function.
5286 (electric-pair-mode): Require delsel and setup
5287 delete-selection-self-insert-hooks (bug#11520).
5289 2012-10-20 Chong Yidong <cyd@gnu.org>
5291 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5292 no changes to show (Bug#12586).
5294 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5295 list explicitly (Bug#12571).
5297 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5299 * progmodes/flymake.el (flymake-create-temp-inplace):
5302 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5304 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5306 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5308 * calc/calc-units.el (math-extract-units): Properly extract powers
5311 2012-10-20 Daniel Colascione <dancol@dancol.org>
5313 * frame.el (make-frame): Set x-display-name as we used to in order
5314 to unbreak creating an X11 frame from an Emacs daemon started
5317 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5320 the same completion-field (bug#12221).
5322 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5324 * emacs-lisp/debug.el (debug): Record height of debugger window
5325 also when debugger will be back (Bug#8789).
5327 2012-10-18 Chong Yidong <cyd@gnu.org>
5329 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5330 Convert to defcustom.
5331 (gdb-get-source-file): Don't bind pop-up-windows.
5333 * progmodes/gud.el (gud-display-line): Don't specially re-use
5334 other frames for the gdb-mi case (Bug#12648).
5336 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * emacs-lisp/advice.el: Clean up commentary a bit.
5339 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5340 (byte-code-function-p): Never redefine.
5342 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5344 2012-10-18 Glenn Morris <rgm@gnu.org>
5346 * dired.el (dired-sort-toggle): Some ls implementations only allow
5347 a single option string. (Bug#12666)
5349 * minibuffer.el (completion-cycle-threshold): Doc fix.
5351 2012-10-17 Kenichi Handa <handa@gnu.org>
5353 * international/mule.el (set-keyboard-coding-system):
5354 Recover input meta mode when the new coding system doesn not use 8-bit.
5355 Supply TERMINAL arg to set-input-meta-mode.
5357 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5359 * wdired.el (wdired-old-marks): New variable.
5360 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5361 (wdired-do-renames): Move point with renamed file and don't lose
5362 mark status (Bug#11795).
5364 2012-10-16 Juri Linkov <juri@jurta.org>
5366 * replace.el (query-replace-help): Mention multi-buffer replacement
5367 keys in the Help message. (Bug#12655)
5369 2012-10-15 Chong Yidong <cyd@gnu.org>
5371 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5373 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5375 * window.el (display-buffer): Doc fix.
5377 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5378 Adjust the msft regexp to the output of Studio 2010, and move msft
5379 before edg-1. See the discussion on emacs-devel,
5380 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5383 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5385 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5386 (oset): Move uses of object-class-fast macro after its definition.
5388 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5390 2012-10-13 Chong Yidong <cyd@gnu.org>
5392 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5393 enabled, re-enable it (Bug#11963).
5395 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5397 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5398 non-nil, restore window configuration (Bug#12623).
5400 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5402 * help-fns.el (describe-variable, describe-function-1):
5403 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5405 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5407 2012-10-12 Glenn Morris <rgm@gnu.org>
5409 * mail/rmailsum.el (rmail-header-summary):
5410 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5412 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5414 * progmodes/python.el (python-mode-map):
5415 Replace subtitute-key-definition with proper command remapping.
5416 (python-nav--up-list): Fix behavior for blocks on the same level.
5418 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5422 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5423 changes to the format of load-history.
5425 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5426 completion-ignore-case in case that var is buffer-local (bug#12615).
5428 2012-10-11 Kenichi Handa <handa@gnu.org>
5430 * international/eucjp-ms.el: Re-generated.
5432 2012-10-10 Kenichi Handa <handa@gnu.org>
5434 * select.el (xselect--encode-string): If a coding is specified for
5435 selection, and that is compatible with COMPOUND_TEXT, use it.
5437 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5439 * window.el (switch-to-buffer-preserve-window-point): New option.
5441 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5443 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5445 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5446 Don't document nil as a useful value (bug#12583).
5448 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5450 * net/tramp.el (tramp-debug-message):
5451 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5452 (with-tramp-progress-reporter): Rename from
5453 `tramp-with-progress-reporter'.
5454 (with-tramp-file-property, with-tramp-connection-property):
5455 Move from tramp-cache.el, rename from `with-file-property' and
5456 `with-connection-property', respectively.
5458 * net/tramp-cache.el: Remove `with-file-property' and
5459 `with-connection-property'.
5462 * net/tramp-gvfs.el:
5464 * net/tramp-smb.el: Adapt callees.
5466 * net/trampver.el: Update release number.
5468 2012-10-09 Glenn Morris <rgm@gnu.org>
5470 * w32-fns.el (set-message-beep):
5471 * term/w32-win.el (set-message-beep): Update declarations.
5473 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5475 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5476 (mode-line-widen, mode-line-input-method-map)
5477 (mode-line-coding-system-map, mode-line-remote)
5478 (mode-line-unbury-buffer, mode-line-bury-buffer)
5479 (mode-line-next-buffer, mode-line-previous-buffer):
5480 Replace save-selected-window+select-window => with-selected-window.
5482 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5483 * progmodes/cc-vars.el (bq-process): Remove, unused.
5485 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5487 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5489 Implemented `backward-up-list'-like navigation.
5490 * progmodes/python.el (python-nav-up-list)
5491 (python-nav-backward-up-list): New functions.
5492 (python-mode-map): Define substitute key for backward-up-list to
5493 python-nav-backward-up-list.
5495 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5497 * progmodes/python.el (python-fill-paragraph): Rename from
5498 python-fill-paragraph-function. Fixed fill-paragraph for
5499 decorators (Bug#12605).
5501 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5503 * progmodes/python.el (python-shell-output-filter): Handle extra
5504 carriage return in OSX (Bug#12409).
5506 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5508 Fix shell handling of unbalanced quotes and parens in output.
5509 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5510 (python-syntax-propertize-function): Use it.
5511 (python-shell-output-syntax-table): New var.
5512 (inferior-python-mode): Prevent unbalanced parens/quotes from
5513 previous output mess with current input context.
5515 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5517 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5518 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5520 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5522 * ffap.el (ffap-replace-file-component): Support Tramp file name
5523 syntax, not only ange-ftp's one.
5525 2012-10-08 Glenn Morris <rgm@gnu.org>
5527 * cus-start.el (message-log-max): Set :version.
5529 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5531 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5533 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5534 the minibuffer window (Bug#10851).
5536 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5538 Enhancements on forward-sexp movement.
5539 * progmodes/python.el (python-nav-beginning-of-statement)
5540 (python-nav-end-of-statement): Return point-marker.
5541 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5542 (python-info-current-symbol)
5543 (python-info-statement-starts-block-p): Rename from
5544 python-info-beginning-of-block-p.
5545 (python-info-statement-ends-block-p): Rename from
5546 python-info-end-of-block-p.
5547 (python-info-beginning-of-statement-p)
5548 (python-info-end-of-statement-p)
5549 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5552 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5554 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5555 frame-selected-windows.
5557 2012-10-08 Daniel Colascione <dancol@dancol.org>
5559 * battery.el (battery-status-function): Check for
5560 w32-battery-status itself, not system-time windows-nt.
5562 * frame.el: Require cl-lib.
5563 (display-format-alist): New variable mapping frame types to
5564 functions that initialize them.
5565 (window-system-for-display): New function: interprets
5566 display-format-alist.
5567 (make-frame-on-display): Remove existing display-selection logic
5568 and just forward to make-frame, which will now DTRT.
5569 (make-frame): Restructure to use window-system-for-display to
5570 figure out how to create a frame on a given display.
5571 (display-mouse-p): Look for frame-type w32, not a particular
5574 * loadup.el: Load w32 lisp code when we have the w32 feature.
5576 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5577 system-type windows-nt.
5579 * server.el (server-create-window-system-frame): Look for window
5581 (server-proces-filter): Only force a window system when windows-nt
5582 _and_ w32. Explain why.
5584 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5585 of window systems we configure for the mode.
5587 * startup.el (command-line): Mark window system is initialized
5588 after we've done it.
5590 * common-win.el (x-select-text): Look for w32, not windows-nt.
5592 * ns-win.el: Require cl-lib. Add ourselves to
5593 display-format-alist.
5594 (ns-initialize-window-system): Assert we're not initialized twice.
5596 * w32-win.el: Enable lexical binding; require cl-lib; add
5597 ourselves to display-format-alist.
5598 (w32-handle-dropped-file): Convert incoming dropped files from
5599 Windows paths to Cygwin ones before passing them on to the rest of
5601 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5602 (w32-initialize-window-system): Assert we're not initialized twice.
5604 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5605 (x-initialize-window-system): Assert we're not initialized twice.
5607 * w32-common-fns.el: New File.
5608 (w32-version, w32-using-nt, w32-get-clipboard-data)
5609 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5610 (w32-charset-info-alist, x-last-selected, text)
5611 (x-get-selection-value, x-selection-value): Move here.
5613 * w32-fns.el: Require w32-common-fns.
5614 (w32-version, w32-using-nt, w32-get-clipboard-data)
5615 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5616 (w32-charset-info-alist, x-last-selected, text)
5617 (x-get-selection-value, x-selection-value): Move to
5621 (w32-allow-system-shell, w32-system-shells): Define only in
5624 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5626 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5627 (read-passwd): Remove a few more potential sources of leaks.
5629 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5631 * progmodes/python.el (inferior-python-mode)
5632 (python-shell-make-comint): Fix initialization of local
5633 variables copied from parent buffer.
5635 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5637 * term/ns-win.el (ns-read-file-name): Update declaration to match
5639 (ns-respond-to-change-font): Change fontsize separately so we are sure
5640 it is set when font is acted upon.
5642 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5644 Enhancements to indentation.
5645 * progmodes/python.el (python-indent-context): Give priority to
5646 inside-string context. Make comments indentation markers.
5647 (python-indent-region): Do not mess with strings, unless it's the
5648 enclosing set of quotes.
5650 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * window.el (internal--before-save-selected-window)
5653 (internal--after-save-selected-window): New functions extracted from
5654 save-selected-window. Make sure we return the `alist' we construct.
5655 (save-selected-window): Use them.
5657 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5658 Use with-selected-window.
5660 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5661 forms that define macros (bug#12593).
5663 2012-10-07 Kenichi Handa <handa@gnu.org>
5665 * international/mule-conf.el (compound-text-with-extensions):
5666 Add :mime-charset property as x-ctext.
5668 2012-10-07 Stefan Merten <smerten@oekonux.de>
5670 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5671 (rst-indent-literal-normal, rst-indent-literal-minimized)
5672 (rst-indent-comment): Correct :version tag.
5673 (rst-official-cvs-rev): Correct version string.
5675 2012-10-07 Glenn Morris <rgm@gnu.org>
5677 * mail/rmailmm.el (rmail-mime-process-multipart):
5678 Do not confuse a multipart message with an epilogue
5679 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5681 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5683 Fix shell output retrieval and comint-prompt-regexp init.
5684 * progmodes/python.el (inferior-python-mode):
5685 (python-shell-make-comint): Fix initialization of
5686 comint-prompt-regexp from copied file local variables.
5687 (python-shell-fetched-lines): Remove var.
5688 (python-shell-output-filter-in-progress): Rename from
5689 python-shell-fetch-lines-in-progress.
5690 (python-shell-output-filter-buffer): Rename from
5691 python-shell-fetch-lines-string.
5692 (python-shell-fetch-lines-filter): Delete function.
5693 (python-shell-output-filter): New function.
5694 (python-shell-send-string-no-output): Use them.
5696 2012-10-07 Glenn Morris <rgm@gnu.org>
5698 * hi-lock.el (hi-lock-process-phrase):
5699 Try to make it less fragile. (Bug#7161)
5701 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5703 2012-10-06 Glenn Morris <rgm@gnu.org>
5705 * ehelp.el (electric-help-mode): Use help-mode rather than
5706 non-existent mode `help'.
5707 (electric-help-map): Use button-buffer-map. (Bug#10917)
5709 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5710 (reftex-create-bibtex-footer): Fix custom types.
5712 * progmodes/sh-script.el (sh-indent-after-continuation):
5713 Add explicit :group.
5715 * textmodes/rst.el (rst-preferred-decorations)
5716 (rst-shift-basic-offset): Clarify obsolescence versions.
5718 * profiler.el (profiler): Add missing group :version tag.
5719 * avoid.el (mouse-avoidance-banish-position):
5720 * proced.el (proced-renice-command):
5721 * calc/calc.el (calc-ensure-consistent-units):
5722 * calendar/icalendar.el (icalendar-import-format-uid):
5723 * net/tramp.el (tramp-save-ad-hoc-proxies):
5724 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5725 * progmodes/flymake.el (flymake-error-bitmap)
5726 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5727 * progmodes/sh-script.el (sh-indent-after-continuation):
5728 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5729 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5730 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5731 (vhdl-array-index-record-field-in-sensitivity-list)
5732 (vhdl-indent-comment-like-next-code-line):
5733 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5734 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5735 (reftex-cite-key-separator, reftex-create-bibtex-header)
5736 (reftex-create-bibtex-footer):
5737 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5738 (rst-indent-literal-normal, rst-indent-literal-minimized)
5739 (rst-indent-comment): Add missing custom :version tags.
5741 * calendar/timeclock.el (timeclock-modeline-display):
5742 Add missing obsolete alias for renamed user option.
5744 * strokes.el (strokes-modeline-string):
5745 * emulation/crisp.el (crisp-mode-modeline-string):
5746 * eshell/esh-mode.el (eshell-status-in-modeline):
5747 Aliases to defcustoms must come before the defcustom.
5749 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5750 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5751 (cal-tex-cursor-week-monday): Doc fixes.
5752 (cal-tex-cursor-week2-summary): Doc fix.
5753 Rename from cal-tex-cursor-week-at-a-glance.
5755 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5756 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5758 * calendar/calendar.el (calendar-mode-map):
5759 Add cal-tex-cursor-week2-summary.
5761 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5763 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5765 * subr.el (read-passwd-map): New var.
5766 (read-passwd): Use `read-string' again.
5767 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5769 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5771 * register.el (append-to-register, prepend-to-register):
5772 Deactivate mark, as does `copy-to-register' (bug#12389).
5774 2012-10-06 Chong Yidong <cyd@gnu.org>
5776 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5778 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5780 * international/characters.el: Fix simple mistake ((car chars) ->
5781 elt), delete duplicated code.
5783 2012-10-06 Glenn Morris <rgm@gnu.org>
5785 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5787 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5789 * color.el (color-hsl-to-rgb): Fix incorrect results for
5790 small and large hue values. (Bug#12559)
5792 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5794 Enhancements to docstring formatting when filling paragraphs.
5795 * progmodes/python.el (python-fill-docstring-style): Rename from
5796 python-fill-string-style. Added new style.
5797 (python-fill-string): Use new style. Better checks for
5800 2012-10-05 Glenn Morris <rgm@gnu.org>
5802 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5804 * color.el (color-name-to-rgb, color-rgb-to-hex)
5805 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5806 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5807 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5808 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5810 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5812 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5814 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5815 to get the correct size across symlinks.
5817 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5819 2012-10-04 Juri Linkov <juri@jurta.org>
5821 * replace.el (query-replace-interactive): Declare obsolete.
5822 (query-replace-read-from): Add the last incremental search string
5823 to the list of default values accessible via M-n.
5824 (map-query-replace-regexp): Use `read-regexp'.
5825 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5826 (map-query-replace-regexp, replace-string, replace-regexp):
5827 Fix docstrings to replace mentions of `query-replace-interactive'
5828 with alternatives. (Bug#12526)
5830 2012-10-04 Juri Linkov <juri@jurta.org>
5832 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5833 (dired-pop-to-buffer): Declare obsolete.
5834 (dired-mark-pop-up): Doc fix.
5836 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5838 Allow user to set docstring style for fill-paragraph.
5839 * progmodes/python.el
5840 (python-fill-comment-function, python-fill-string-function)
5841 (python-fill-decorator-function, python-fill-paren-function):
5842 Remove :safe for defcustoms.
5843 (python-fill-string-style): New defcustom
5844 (python-fill-paragraph-function): Enhance context detection.
5845 (python-fill-string): Honor python-fill-string-style settings.
5847 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5849 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5850 after setting its buffer (Bug#10805).
5852 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5854 Fix cornercase for string syntax.
5855 * progmodes/python.el (python-syntax-propertize-function):
5856 Simplify and enhance the regexp for unescaped quotes. Now it also
5857 matches quotes in weird situations like the single quote in
5859 (python-syntax-stringify): Simplify num-quotes detecting code.
5861 2012-10-03 Glenn Morris <rgm@gnu.org>
5863 * help-macro.el (three-step-help):
5864 Revert 2012-09-29 change. (Bug#12567)
5866 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5868 * menu-bar.el (kill-this-buffer): Don't do anything when
5869 `menu-frame' is not alive or visible (Bug#8184).
5871 * emacs-lisp/debug.el (debug): When quitting the debugger window
5872 restore current buffer (Bug#12502).
5874 2012-10-02 Chong Yidong <cyd@gnu.org>
5876 * progmodes/hideif.el (hif-lookup, hif-defined):
5877 Handle semantic-c-takeover-hideif.
5879 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5881 Change sampling interval units from ms to ns.
5882 * profiler.el (profiler-sampling-interval): Change units
5883 from ms to ns, multiplying the default by 1000000 so that
5885 (profiler-report-cpu-line-format): Give enough room for
5886 the maximum counters on 64-bit hosts.
5887 (profiler-report-render-calltree-1): Call them "CPU samples",
5888 not "Time (ms)", since they are not milliseconds now (and
5891 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5893 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5894 Fix querying BBDB for entries without a last name (Bug#11580).
5896 2012-10-02 Chong Yidong <cyd@gnu.org>
5898 * emacs-lisp/eieio.el: Restore Version header.
5900 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5902 * vc/diff-mode.el (diff--auto-refine-data): New var.
5903 (diff-hunk): Use it to delay refinement.
5904 (diff-mode): Remove overlays when we turn off font-lock.
5906 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5907 (table-initialize-table-fixed-width-mode)
5908 (table-set-table-fixed-width-mode): Remove functions.
5909 (table-command-list): Move initialization into declaration.
5910 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5911 (table-with-cache-buffer): Use `declare'.
5912 (table-span-cell): Simplify via CSE.
5913 (table-fixed-width-mode): Use define-minor-mode.
5914 (table-call-interactively, table-funcall, table-apply): Remove.
5915 (table-function): New function, to replace them.
5917 * bookmark.el (bookmark-search-pattern): Remove var.
5918 (bookmark-read-search-input): Remove function.
5919 (bookmark-bmenu-search): Reimplement using a minibuffer.
5921 * faces.el (modeline): Remove obsolete face name.
5923 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5924 and give a non-nil default value.
5925 (add-change-log-entry): Simplify accordingly.
5927 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5929 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5930 (vc-git-log-edit-toggle-amend): New function.
5931 (vc-git-log-edit-toggle-signoff): New function.
5932 (vc-git-log-edit-mode): New major mode.
5933 (vc-git-log-edit-mode-map): Keymap for it.
5934 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5936 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5938 (log-edit-toggle-header): New function.
5939 (log-edit-extract-headers): Accept function values in HEADERS alist.
5941 2012-10-01 David Engster <deng@randomsample.de>
5943 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5944 from symbol property and change message to be more consistent with
5946 (eieio-describe-generic): Add filename for each implementation.
5947 Fix indices for generic and normal methods.
5948 (eieio-method-def, eieio-class-def): New buttons.
5949 (eieio-help-find-method-definition)
5950 (eieio-help-find-class-definition): New functions.
5951 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5952 class, constructor and method definitions.
5954 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5955 information in symbol property.
5956 (scoped-class): Remove.
5957 (eieio-slot-name-index, call-next-method): Check if it is bound.
5959 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5961 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5962 (eieio-custom-mode): New major mode.
5963 (eieio-customize-object): Use it.
5965 2012-10-01 Eric Ludlam <zappo@gnu.org>
5967 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5968 specifying the expected class, and whether subclassing is allowed.
5969 (eieio-persistent-convert-list-to-object):
5970 (eieio-persistent-validate/fix-slot-value)
5971 (eieio-persistent-slot-type-is-class-p): New functions.
5972 (eieio-named::slot-missing): Doc fix.
5974 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5975 Stop using unused publd variable.
5977 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5978 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5979 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5980 (eieio-speedbar-handle-click): Do not specify a class for the
5981 method. Fixes method invocation order problems with EDE.
5983 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5986 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5988 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5990 * bookmark.el (bookmark-version-control): Give tags in the
5991 :type choices (Bug#12309), and improve doc string.
5992 (bookmark-write-file): Bind `print-circle' to `t' to allow
5993 circular custom bookmark types. (Bug#12503)
5995 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5997 Revert the FOLLOW-SYMLINKS change for file-attributes.
5998 * files.el (remote-file-name-inhibit-cache, after-find-file):
5999 * time.el (display-time-file-nonempty-p): Undo last change.
6001 * profiler.el (profiler-sampling-interval): Change default back to 1.
6002 See Stefan Monnier in
6003 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6005 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6007 Shell output catching a la gud-gdb.
6008 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6009 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6011 (python-shell-fetch-lines-filter): New function.
6012 (python-shell-send-string-no-output): Use them.
6014 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6016 * profiler.el (profiler-sampling-interval): Rename from
6017 profiler-sample-interval.
6018 (profiler-sampling-interval): Default to 10.
6019 (profiler-find-profile): New command (was profiler-find-log).
6020 (profiler-find-profile-other-window): New command.
6021 (profiler-find-profile-other-frame): New command.
6022 (profiler-profile): Introduce API-level data structure.
6024 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6026 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6027 * files.el (remote-file-name-inhibit-cache):
6028 * time.el (display-time-file-nonempty-p): Use it.
6029 * files.el (after-find-file): Don't chase links before calling
6030 file-exists-p, as file-exists-p already does the right thing.
6032 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6034 Merge from standalone RefTeX repository.
6036 The following ChangeLog entries are shortened versions of the
6037 original ones with file paths adapted. A not so strongly edited
6038 version of the original ChangeLog can be found in the commit log.
6040 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6041 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6042 Correctly handle new value type returned by `reftex-citation'.
6044 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6045 that entries with whitespace at various places are found.
6046 Doc fix. Include entries that are cross-referenced from cited entries.
6047 Include @String definitions in the resulting bib file. Add header
6048 and footer defined in `reftex-create-bibtex-header' and
6049 `reftex-create-bibtex-footer'.
6050 (reftex-do-citation): Make it possible again to insert
6051 non-existent entries. Save match data when asking for optional
6052 arguments. Return all keys, not just the first one.
6053 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6054 all citations in the same line.
6055 (reftex-parse-bibtex-entry): Accept additional optional argument
6056 `raw' and keep quotes or braces if it is non-nil. Match fields
6057 containing hyphens besides word constituents.
6058 (reftex-get-string-refs): New function.
6059 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6060 and ask if it should be reread in case it did.
6061 (reftex-pop-to-bibtex-entry)
6062 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6063 entries with spaces or tabs in front of arguments.
6064 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6065 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6066 Match entries containing numbers and symbol constituents.
6067 (reftex-do-citation, reftex-figure-out-cite-format):
6068 Use `reftex-cite-key-separator'.
6070 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6071 (reftex-mouse-view-crossref): Explain why point is set.
6073 * textmodes/reftex-global.el: Whitespace changes.
6075 * textmodes/reftex-index.el: Move provide statement to end of
6077 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6078 (reftex-index-visit-phrases-buffer): Set marker when visiting
6079 buffer. This allows for returning from the phrases file to the
6080 file one was just editing instead of the file where the last
6081 phrases was added from.
6082 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6083 punctuation syntax as it usually is not used as string quote in
6084 TeX-related modes and may occur unmatched. The change also
6085 prevents fontification of quoted content.
6086 (reftex-index-phrases-mode): Use it.
6088 * textmodes/reftex-parse.el (reftex-parse-from-file):
6089 Move backward one char if a `\' was matched after a section macro.
6090 (reftex-parse-from-file): Use beginning of match instead of end as
6093 * textmodes/reftex-ref.el: Adapt creation of
6094 `reftex-<package>-<macro>' functions to new structure of
6095 `reftex-ref-style-alist'.
6096 (reftex-reference): Use `reftex-ref-style-list' function.
6097 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6098 reference macro if `reftex-ref-macro-prompt' is non-nil.
6099 (reftex-reference): Pass refstyle to `reftex-format-special'.
6100 Determine reference macro by looking at
6101 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6102 Use only one special format function.
6103 (reftex-varioref-vref, reftex-fancyref-fref)
6104 (reftex-fancyref-Fref): Remove definitions. The functions are now
6105 generated from `reftex-ref-style-alist'.
6106 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6108 (reftex-format-special): New function.
6110 * textmodes/reftex-sel.el
6111 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6112 of `reftex-ref-style-alist'. Remove code for testing macro type.
6113 (reftex-select-toggle-varioref)
6114 (reftex-select-toggle-fancyref): Remove.
6115 (reftex-select-cycle-ref-style-internal)
6116 (reftex-select-cycle-ref-style-forward)
6117 (reftex-select-cycle-ref-style-backward): New functions.
6118 (reftex-select-label-map): Use `v' and `V' for general cycling
6119 through reference styles. Add `p' for switching between number
6120 and page reference types.
6122 * textmodes/reftex-toc.el (reftex-re-enlarge):
6123 Call `enlarge-window' only if there is something to do because in Emacs
6124 the horizontal version throws an error even if the parameter is 0.
6126 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6127 (reftex-plug-into-AUCTeX): Doc fix.
6128 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6129 string. Adapt to new name.
6130 (reftex-ref-style-alist): Change structure so that it is not
6131 possible to use multiple different package names within a style.
6132 Remove the symbols for symbols for macro type distinction.
6133 Add characters for macro selection.
6134 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6135 (reftex-create-bibtex-footer): New variables.
6136 (reftex-format-ref-function): Mention third argument of special
6138 (reftex-ref-style-alist, reftex-ref-style-default-list):
6140 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6141 to new implementation. Mark as obsolete. Add compatibility code
6142 for honoring the variable values in case they are set.
6143 (reftex-cite-format-builtin, reftex-bibliography-commands):
6144 Add support for ConTeXt.
6145 (reftex-format-ref-function, reftex-format-cite-function):
6147 (reftex-cite-key-separator): New variable.
6149 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6150 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6151 `reftex-syntax-table' because parens have to retain their paren
6152 syntax in order for parsing of BibTeX entries like @book(...) to
6154 (reftex-in-comment): Do not error out if `comment-start-skip' is
6155 not set. Deal correctly with escaped comment characters.
6156 (reftex-tie-multifile-symbols): Add doc string.
6157 Initialize `reftex-ref-style-list'.
6158 (reftex-untie-multifile-symbols): Add doc string.
6159 (reftex-add-index-macros): Doc fix.
6160 (reftex-ref-style-activate, reftex-ref-style-toggle)
6161 (reftex-ref-style-list): New functions.
6162 (reftex-mode-menu): Use them. Adapt to new structure of
6163 `reftex-ref-style-alist'.
6164 (reftex-select-with-char): Kill the RefTeX Select buffer when
6166 (reftex-remove-if): New function.
6167 (reftex-erase-all-selection-and-index-buffers)
6168 (reftex-mode-menu): Reference styles are now computed from
6169 `reftex-ref-style-alist'. Fix typo.
6170 (reftex-report-bug): New function.
6171 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6172 algorithms with O(n log n). Introduce optional argument SORT (not
6175 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6177 Enhancements for triple-quote string syntax.
6178 * progmodes/python.el (python-syntax-propertize-function):
6179 Match both quote cases in one regexp.
6180 (python-syntax-stringify): Handle matches properly.
6182 2012-09-30 Juri Linkov <juri@jurta.org>
6184 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6185 to nil around the call to `insert' to prevent
6186 directory time modification by lock_file. (Bug#2295)
6187 * tar-mode.el (tar-summarize-buffer): Idem.
6189 2012-09-30 Juri Linkov <juri@jurta.org>
6191 * facemenu.el (list-colors-sort): Add option "Luminance".
6192 (list-colors-sort-key): Implement it.
6194 * vc/diff-mode.el (diff-refine-removed):
6195 * vc/ediff-init.el (ediff-fine-diff-A):
6196 * vc/smerge-mode.el (smerge-refined-removed):
6197 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6199 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6201 * term/ns-win.el (x-file-dialog): New function.
6203 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6205 * ido.el (ido-max-directory-size): Default to nil; the current
6206 default is small for POSIX systems, and impractical on Windows 7
6207 now that lstat returns directory sizes for NTFS.
6209 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6211 In buffer display functions handle window-height/window-width
6212 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6213 * window.el (window--display-buffer): New argument ALIST.
6214 Obey window-height and window-width alist entries.
6215 (window--try-to-split-window): New argument ALIST.
6216 Bind window-combination-limit to t when the window's size shall be
6217 changed and window-combination-limit equals `window-size'.
6218 (display-buffer-in-atom-window)
6219 (display-buffer-in-major-side-window)
6220 (display-buffer-in-side-window, display-buffer-same-window)
6221 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6222 (display-buffer-pop-up-window, display-buffer-below-selected)
6223 (display-buffer-at-bottom, display-buffer-in-previous-window)
6224 (display-buffer-use-some-window): Adjust all callers of
6225 window--display-buffer and window--try-to-split-window.
6226 (fit-frame-to-buffer): New option.
6227 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6229 (display-buffer-in-major-side-window): Evaluate window-height /
6230 window-width alist entries.
6232 * help.el (temp-buffer-resize-frames)
6233 (temp-buffer-resize-regexps): Remove options.
6234 (temp-buffer-resize-mode): Adjust doc-string.
6235 (resize-temp-buffer-window): Don't consult
6236 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6237 temp-buffer-resize-frames.
6239 * dired.el (dired-mark-pop-up):
6240 Call display-buffer-below-selected with a fit-window-to-buffer alist
6243 2012-09-30 Chong Yidong <cyd@gnu.org>
6245 * server.el (server-host): Document the security implications.
6246 (server-auth-key): Doc fix.
6248 * startup.el (initial-buffer-choice): Doc fix.
6250 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6252 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6255 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6257 * help-fns.el (help-fns--obsolete): Fix last change.
6259 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6262 (minor-mode-map-alist): Remove redundant code.
6264 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6265 visited in a buffer.
6266 (cvs-insert-visited-file): New function.
6267 (find-file-hook): Use it.
6269 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6271 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6273 (log-edit-empty-buffer-p): Don't require a space after a header.
6275 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6277 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6279 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6280 a proper minor-mode.
6282 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6284 2012-09-29 Glenn Morris <rgm@gnu.org>
6286 * winner.el (winner-mode): Remove variable (let define-minor-mode
6288 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6290 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6291 (winner-mode): Use define-minor-mode.
6293 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6294 the full definition in loaddefs, rather than duplicating it.
6296 * help-macro.el (three-step-help): No need to autoload defcustom.
6298 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6299 (inferior-lisp-program, inferior-lisp-load-command)
6300 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6301 No need to autoload defcustoms.
6303 * hippie-exp.el (hippie-expand-try-functions-list)
6304 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6305 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6306 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6307 (hippie-expand-only-buffers): No need to autoload defcustoms.
6308 * progmodes/vhdl-mode.el (vhdl-line-expand):
6309 Explicitly load hippie-exp, so it does not get autoloaded
6310 while hippie-expand-try-functions-list is let-bound.
6312 2012-09-28 Glenn Morris <rgm@gnu.org>
6314 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6316 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6317 Only "cl.el" counts as cl these days.
6319 2012-09-28 Juri Linkov <juri@jurta.org>
6321 Display archive errors in the echo area instead of inserting
6324 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6325 to STDERR-TEST that can be a regexp matching a successful output.
6326 Create a temporary file and redirect stderr to it. Search for
6327 STDERR-TEST in the stderr output and display it in the echo area
6328 if no match is found.
6329 (archive-extract-by-file): New function like
6330 `archive-extract-by-stdout' but extracting archives to files
6331 and looking for successful matches in stdout. Function body is
6332 mostly copied from `archive-rar-extract'.
6333 (archive-rar-extract): Use `archive-extract-by-file'.
6334 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6336 2012-09-28 Leo Liu <sdl.web@gmail.com>
6338 * pcomplete.el (pcomplete-show-completions):
6339 Use minibuffer-message to make pcomplete usable in minibuffer.
6341 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6343 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * type-break.el: Use lexical-binding.
6346 (type-break-mode): Use define-minor-mode.
6348 * emacs-lisp/pcase.el (pcase--mark-used): New.
6349 (pcase--u1): Use it (bug#12512).
6351 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6352 in load-history with the right file name.
6354 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6356 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6357 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6358 (doc-view-get-bounding-box): Make bounding box slicing work for
6359 ODF and DVI documents.
6361 2012-09-28 Glenn Morris <rgm@gnu.org>
6363 * type-break.el (type-break-mode, type-break-interval)
6364 (type-break-good-rest-interval, type-break-keystroke-threshold):
6365 No need to autoload.
6366 (type-break-good-rest-interval, type-break-keystroke-threshold):
6369 2012-09-28 Chong Yidong <cyd@gnu.org>
6371 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6374 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6378 2012-09-27 Glenn Morris <rgm@gnu.org>
6380 * faces.el (x-display-name): Declare (for without-x builds).
6382 * linum.el (linum-format): Don't autoload it. Improve :type.
6384 * progmodes/tcl.el: Don't require outline when compiling.
6385 (outline-regexp, outline-level): Declare.
6386 * textmodes/sgml-mode.el: Don't require outline when compiling.
6387 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6389 * term.el (term-ansi-reset):
6390 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6392 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6393 files for RCS and SCCS. (Bug#9781)
6395 2012-09-27 Chong Yidong <cyd@gnu.org>
6397 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6398 change; value should be t.
6400 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * image-mode.el: Use lexical-binding.
6403 (image-mode-winprops): Use t to stand for the window of
6404 a buffer that's not displayed.
6405 * doc-view.el (doc-view-new-window-function): Handle the new
6407 (doc-view-enlarge): Make it a real nop if the size is not changed.
6408 (doc-view-display): Handle the case where the buffer is not (yet?)
6409 displayed in any window.
6410 (doc-view-saved-settings): New var.
6411 (doc-view-mode): Use it.
6412 (doc-view-fallback-mode): Set it.
6414 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6415 Set lexical-binding.
6416 (minibuffer-eldef-shorten-default): New var.
6417 (minibuffer-default-in-prompt-regexps): Use it for new default.
6418 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6420 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6422 * international/uni-bidi.el:
6423 * international/uni-category.el:
6424 * international/uni-name.el:
6425 * international/uni-numeric.el: Regenerate.
6427 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6428 Stefan Monnier <monnier@iro.umontreal.ca>
6430 * profiler.el: New file.
6432 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6435 (testcover-reinstrument): Simplify with CSE.
6437 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6439 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6441 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6443 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6444 (verilog-auto-input, verilog-auto-insert-lisp)
6445 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6446 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6447 (verilog-auto-unused, verilog-auto-wire)
6448 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6449 newline. Reported by Andrew Jones.
6450 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6451 Reported by Brad Dobbie.
6452 (verilog-batch-delete-trailing-whitespace):
6453 Create verilog-batch-delete-trailing-whitespace.
6454 Reported by Brad Dobbie.
6455 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6456 parameters from another module. Reported by Dan Katz.
6457 (verilog-auto, verilog-auto-assign-modport)
6458 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6459 AUTOINOUTMODPORT for UVM interface module shell generation.
6460 Reported by Brad Dobbie.
6461 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6463 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6464 Reported by Matt Martin.
6466 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6468 * window.el (window--resize-child-windows): When resizing child
6469 windows proportionally, process them in reverse order to
6470 preserve the "when splitting a window the new one gets the odd
6472 (window--resize-root-window-vertically): When resizing the
6473 minibuffer window try to affect only windows at the bottom of the
6476 2012-09-25 Chong Yidong <cyd@gnu.org>
6478 * subr.el (declare): Doc fix.
6480 * help-fns.el (help-fns--obsolete): Handle macros properly.
6482 2012-09-25 Chong Yidong <cyd@gnu.org>
6484 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6485 this function obsolete.
6487 * calendar/cal-x.el (calendar-two-frame-setup)
6488 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6489 * calendar/calendar.el (american-calendar, european-calendar)
6490 (calendar-for-loop):
6491 * comint.el (comint-dynamic-simple-complete)
6492 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6493 * desktop.el (desktop-load-default):
6494 * dired-x.el (dired-omit-here-always)
6495 (dired-hack-local-variables, dired-default-directory):
6496 * emacs-lisp/derived.el (derived-mode-class):
6497 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6498 * emacs-lock.el (toggle-emacs-lock):
6499 * epa.el (epa-display-verify-result):
6500 * epg.el (epg-sign-keys, epg-start-sign-keys)
6501 (epg-passphrase-callback-function):
6502 * eshell/esh-util.el (eshell-for):
6503 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6504 (eshell-add-to-window-buffer-names):
6505 * files.el (locate-file-completion):
6506 * imenu.el (imenu-example--create-c-index)
6507 (imenu-example--create-lisp-index)
6508 (imenu-example--lisp-extract-index-name)
6509 (imenu-example--name-and-position):
6510 * international/mule-cmds.el (princ-list):
6511 * international/mule-diag.el (decode-codepage-char):
6512 * international/mule-util.el (detect-coding-with-priority):
6513 * iswitchb.el (iswitchb-read-buffer):
6514 * mail/mailalias.el (mail-complete):
6515 * mail/sendmail.el (mail-sent-via):
6516 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6517 (mouse-major-mode-menu):
6518 * password-cache.el (password-read-and-add):
6519 * pcomplete.el (pcomplete-parse-comint-arguments):
6520 * progmodes/sh-script.el (sh-maybe-here-document):
6521 * replace.el (query-replace-regexp-eval):
6522 * savehist.el (savehist-load):
6523 * simple.el (choose-completion-delete-max-match):
6524 * term.el (term-dynamic-simple-complete):
6525 * vc/ediff-init.el (ediff-check-version):
6526 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6527 * vc/vc.el (vc-diff-switches-list):
6528 * view.el (view-return-to-alist-update): Likewise.
6530 * subr.el (eval-next-after-load, makehash, insert-string)
6531 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6533 (mode-line-inverse-video): Variable deleted.
6535 * international/mule-util.el (string-to-sequence): Remove.
6537 * calendar/calendar.el (calendar-version):
6538 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6539 (icalendar-convert-diary-to-ical):
6540 * cus-edit.el (custom-mode):
6541 * ansi-color.el (ansi-color-unfontify-region):
6542 * international/latin1-disp.el (latin1-char-displayable-p):
6543 * progmodes/cwarn.el (turn-on-cwarn-mode):
6544 * progmodes/which-func.el (which-func-update-1):
6545 Use define-obsolete-function-alias.
6547 * net/newst-backend.el (newsticker-cache-filename):
6548 * net/newst-treeview.el (newsticker-groups-filename):
6549 Fix incorrect obsolescence declaration.
6551 * allout.el (allout-passphrase-hint-string): Likewise.
6552 (allout-init): Use a declare form to mark obsolete.
6554 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6555 this applies to functions.
6557 * iswitchb.el (iswitchb-read-buffer): Move code of
6558 iswitchb-define-mode-map here, and delete that obsolete function.
6560 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6561 font-lock-reference-face.
6563 2012-09-25 Glenn Morris <rgm@gnu.org>
6565 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6568 * eshell/em-term.el (eshell-term-name):
6569 Default to term-term-name. (Bug#12485)
6571 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6573 * progmodes/python.el (python-shell-send-buffer): Better handling
6574 of "if __name__ == '__main__':" conditionals when sending the buffer.
6576 2012-09-24 Glenn Morris <rgm@gnu.org>
6578 * eshell/esh-cmd.el (eshell-find-alias-function):
6579 Tighten up file-name regexp. (Bug#12499)
6581 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6583 Enhancements for triple-quote string syntax.
6584 * progmodes/python.el (python-quote-syntax): Remove.
6585 (python-syntax-propertize-function): New value.
6586 (python-syntax-count-quotes, python-syntax-stringify):
6589 2012-09-24 Chong Yidong <cyd@gnu.org>
6591 * mail/supercite.el (sc-version): Remove obsolete function.
6592 (sc-describe): Don't mark as obsolete, since it is bound.
6593 (sc-submit-bug-report): Remove.
6595 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6596 (cvs-commit-buffer-require-final-newline): Remove.
6597 (log-edit-require-final-newline)
6598 (log-edit-changelog-full-paragraphs): Default to t.
6600 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6601 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6602 * vc/vc.el (vc-checkout-carefully): Likewise.
6604 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6605 (emerge-version): Remove.
6607 * progmodes/compile.el (compile-internal): Remove.
6608 (compilation-parse-errors-function): Fix typo.
6610 * international/mule.el (set-char-table-default): Remove.
6611 (set-coding-priority, make-coding-system, generic-char-p)
6612 (charset-list, charset-bytes, charset-id): Use declare to mark
6613 functions as obsolete.
6615 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6616 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6617 * vc/vc-hooks.el (vc-default-registered): Don't use
6618 vc-master-templates.
6620 * font-lock.el (font-lock-reference-face):
6621 Use define-obsolete-variable-alias.
6623 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6624 * calendar/calendar.el (calendar-font-lock-keywords):
6625 * calendar/diary-lib.el (diary-font-lock-keywords)
6626 (diary-fancy-font-lock-keywords):
6627 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6628 * textmodes/reftex-index.el (reftex-insert-index):
6629 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6630 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6631 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6632 * progmodes/prolog.el (prolog-font-lock-keywords):
6633 * progmodes/idlwave.el (idlwave-idl-keywords):
6634 * progmodes/ada-mode.el (ada-font-lock-keywords):
6635 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6637 2012-09-24 Glenn Morris <rgm@gnu.org>
6639 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6641 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6643 * progmodes/python.el (python-indent-line): More consistent cursor
6646 2012-09-23 Stefan Merten <smerten@oekonux.de>
6648 * textmodes/rst.el: Fix compiler warning.
6650 2012-09-23 Roland Winkler <winkler@gnu.org>
6652 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6653 Transcribe also LaTeX hyphenation.
6654 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6655 bibtex-reformat-previous-options.
6657 2012-09-23 Roland Winkler <winkler@gnu.org>
6659 * proced.el (proced-renice-command): New variable.
6660 (proced-marked-processes): New function.
6661 (proced-with-processes-buffer): New macro.
6662 (proced-send-signal): Use them.
6663 (proced-renice): New command bound to r.
6665 2012-09-23 Roland Winkler <winkler@gnu.org>
6667 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6668 ibuffer-saved-filter-groups has one element, shortcut the call of
6669 completing-read. (Bug#12331)
6671 2012-09-23 Chong Yidong <cyd@gnu.org>
6673 * bindings.el (mode-line-toggle-read-only):
6674 * bs.el (bs-toggle-readonly):
6675 * buff-menu.el (Buffer-menu-toggle-read-only):
6676 * dired.el (dired-toggle-read-only):
6677 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6679 2012-09-23 Chong Yidong <cyd@gnu.org>
6681 * image.el (image-type-available-p): Adapt to init-image-library
6684 2012-09-22 Juri Linkov <juri@jurta.org>
6686 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6687 `dired-toggle-read-only'. (Bug#12462)
6689 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6691 * subr.el (temp-output-buffer-show): New function.
6692 (with-output-to-temp-buffer): Call temp-output-buffer-show
6693 instead of internal-temp-output-buffer-show.
6695 2012-09-22 Chong Yidong <cyd@gnu.org>
6697 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6700 * repeat.el (repeat): Doc fix (Bug#12348).
6702 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6705 * simple.el (shell-command-on-region): Doc fix.
6706 (read-only-mode): Doc fix.
6708 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6710 * emacs-lisp/timer.el (run-with-idle-timer)
6711 (timer-activate-when-idle): Warn against reinvoking an idle timer
6712 from within its own timer action. (Bug#12447)
6714 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6716 * cus-start.el (window-combination-limit): Add new optional
6718 * window.el (temp-buffer-window-show)
6719 (window--try-to-split-window): Handle new values of
6720 window-combination-limit (Bug#1806).
6721 (split-window): Test window-combination-limit for t instead of
6723 (display-buffer-at-bottom): New buffer display action function.
6724 * help.el (temp-buffer-resize-regexps): New option.
6725 (temp-buffer-resize-mode): Rewrite doc-string.
6726 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6727 Don't resize reused window. Suggested by Glenn Morris.
6729 2012-09-22 Stefan Merten <smerten@oekonux.de>
6731 * textmodes/rst.el: Revamp section title faces.
6732 (rst-official-version)
6733 (rst-package-emacs-version-alist): Sync with official version
6735 (rst-faces-defaults, rst-set-level-default)
6736 (rst-level-face-max, rst-level-face-base-color)
6737 (rst-level-face-base-light, rst-level-face-format-light)
6738 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6739 (rst-adornment-faces-alist): Match new setup.
6740 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6741 (rst-level-5, rst-level-6): New faces.
6743 2012-09-22 Chong Yidong <cyd@gnu.org>
6745 * simple.el (undo): Handle indirect buffers (Bug#8207).
6747 2012-09-21 Leo Liu <sdl.web@gmail.com>
6749 IDO: Disable match re-ordering for buffer switching.
6750 * ido.el (ido-buffer-disable-smart-matches): New variable.
6751 (ido-set-matches-1): Use it. (Bug#2042)
6753 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6755 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6756 Fix 2011-05-17 change. (Bug#12418)
6758 2012-09-21 Leo Liu <sdl.web@gmail.com>
6760 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6762 2012-09-21 Glenn Morris <rgm@gnu.org>
6764 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6765 Be more robust about locating simple.el.
6767 2012-09-21 Glenn Morris <rgm@gnu.org>
6769 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6771 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6773 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6775 2012-09-20 Juri Linkov <juri@jurta.org>
6777 * replace.el (query-replace-read-from): Use `read-regexp' instead
6778 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6779 (occur-read-primary-args): Use `read-regexp' instead of
6781 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6782 `read-from-minibuffer'.
6783 * isearch.el (isearch-occur): Use `read-regexp' instead of
6785 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6786 `read-from-minibuffer'.
6787 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6788 of `read-string'. (Bug#7567)
6790 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6791 and allow accepting a list of strings prepended to a list of
6792 standard default values. Doc fix. (Bug#12321)
6794 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6796 * replace.el (read-regexp): Don't add ": " when PROMPT already
6797 ends with a colon and space. (Bug#12321)
6799 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6801 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6804 2012-09-20 Stefan Merten <smerten@oekonux.de>
6806 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6807 Fixes feature request bug#11711.
6808 (rst-mode): Create `imenu-create-index-function'.
6809 (rst-get-stripped-line): Delete after refactoring.
6810 (rst-section-tree, rst-section-tree-rec)
6811 (rst-section-tree-point): Refactor and document properly.
6812 (rst-imenu-find-adornments-for-position)
6813 (rst-imenu-convert-cell, rst-imenu-create-index):
6816 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6819 (macroexp--expand-all): Use it.
6820 (macroexp--funcall-and-return): Remove by folding it into its sole
6821 caller (macroexp--warn-and-return).
6822 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6823 Use macroexp--obsolete-warning.
6825 * calc/calc.el: Fix last change by removing the whole chunk, since it
6826 was only needed back when Calc was not bundled.
6828 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6830 * emacs-lisp/debug.el (debug): Restore assignment to
6831 debugger-old-buffer removed on 2012-09-08.
6833 2012-09-20 Juri Linkov <juri@jurta.org>
6835 * dired-aux.el (dired-diff): Remove (require 'diff) since
6836 `diff-latest-backup-file' is now autoloaded.
6838 2012-09-20 Chong Yidong <cyd@gnu.org>
6840 * vc/diff.el (diff-latest-backup-file): Autoload.
6842 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * calc/calc.el: Remove redundant autoload shape check.
6845 (sel-mode): Don't defvar.
6846 (calc-get-stack-element): Add `sel-mode' arg instead.
6847 (calc-top, calc-top-list): Pass it this additional argument.
6848 * calc/calc-store.el (calc-store-map):
6849 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6850 (calc-map-equation, calc-outer-product, calc-inner-product):
6851 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6853 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6855 2012-09-19 Juri Linkov <juri@jurta.org>
6857 * dired-aux.el (dired-diff): Add (require 'diff) because
6858 `diff-latest-backup-file' is not autoloaded.
6859 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6860 of `dired-get-filename' to t to not report error when there is
6861 no default file on the current line.
6863 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6866 macroexp--eval-if-compile.
6867 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6868 (macroexp--expand-all): Use them (bug#12371).
6870 * doc-view.el (doc-view-guess-paper-size)
6871 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6873 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6875 New feature: set optimal slice from BoundingBox information.
6876 * doc-view.el (doc-view-mode-map): Add keybinding.
6877 (doc-view-menu): Add menu entry.
6878 (doc-view-set-slice): Adapt docstring.
6879 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6880 (doc-view-scale-bounding-box)
6881 (doc-view-set-slice-from-bounding-box): New functions.
6882 (doc-view-paper-sizes): New defvar.
6884 2012-09-19 Glenn Morris <rgm@gnu.org>
6886 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6887 (byte-compile-log-warning): Autoload. (Bug#12371)
6889 * calendar/calendar.el (calendar-american-month-header)
6890 (calendar-european-month-header, calendar-iso-month-header)
6891 (calendar-month-header): New options.
6892 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6893 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6895 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6897 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6899 2012-09-18 Juri Linkov <juri@jurta.org>
6901 * dired-aux.el (dired-diff): Restore original functionality of
6902 getting the default value, but keep new feature of using the
6903 latest existing backup file (`diff-latest-backup-file').
6905 2012-09-18 Juri Linkov <juri@jurta.org>
6907 * dired.el (dired-mark): If the region is active in Transient Mark
6908 mode, mark all files in the active region. Doc fix.
6909 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6910 Doc fix. (Bug#10624)
6912 2012-09-18 Juri Linkov <juri@jurta.org>
6914 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6915 attributes for M-n are pulled from the file at point.
6916 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6917 Suggested by Drew Adams. (Bug#10624)
6919 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6921 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6922 whitespace after "end".
6923 (ruby-do-end-to-brace): Collapse block to one line if it fits
6926 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6928 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6930 (debug): Don't remove debugger window when debugger is expected
6933 2012-09-18 Chong Yidong <cyd@gnu.org>
6935 * custom.el (defface): Doc fix.
6937 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6939 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6941 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6942 to initialize query-on-exit; then test that instead (bug#12288).
6944 2012-09-17 Stefan Merten <smerten@oekonux.de>
6946 * textmodes/rst.el: Add support for `testcover'.
6947 (rst-defcustom-testcover, rst-testcover-add-compose)
6948 (rst-testcover-add-1value): New functions.
6949 (rst-portable-mark-active-p): Replace by `use-region-p'.
6950 (rst-update-section, rst-classify-adornment)
6951 (rst-find-title-line): Mark `1value' forms.
6952 (rst-classify-adornment): Remove superfluous form.
6953 (rst-update-section, rst-get-adornments-around)
6954 (rst-adornment-complete-p, rst-get-next-adornment)
6955 (rst-adjust, rst-promote-region)
6956 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6957 (rst-find-pfx-in-region, rst-section-tree-rec)
6958 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6959 (rst-toc-node, rst-toc, rst-forward-section)
6960 (rst-iterate-leftmost-paragraphs)
6961 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6962 (rst-bullet-list-region)
6963 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6964 (rst-compile-find-conf, rst-compile)
6965 (rst-repeat-last-character): Fix style.
6967 2012-09-17 Chong Yidong <cyd@gnu.org>
6969 * comint.el (comint--complete-file-name-data): Don't add a space
6970 if the status is `sole'; that adds a gratuitous space in the
6971 completion-cycling case (Bug#12092).
6973 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6975 2012-09-17 Richard Stallman <rms@gnu.org>
6977 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6978 only in the mime-shown mode, not in raw mode.
6979 (rmail-mime): Toggle off mime by displaying the message without
6980 mime processing. (Bug#12305)
6982 * mail/rmail.el (rmail-retry-failure):
6983 Turn off mime processing first. (Bug#12037)
6985 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6987 2012-09-17 Chong Yidong <cyd@gnu.org>
6989 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6990 (shell-dynamic-complete-functions): Convert to defcustom.
6991 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6993 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6994 * comint.el (comint-prompt-read-only):
6995 * custom.el (defcustom):
6996 * hi-lock.el (hi-lock-mode):
6997 * ibuffer.el (ibuffer-formats):
6998 * ielm.el (ielm-prompt-read-only):
6999 * novice.el (disable-command):
7000 * saveplace.el (toggle-save-place):
7001 * speedbar.el (speedbar-supported-extension-expressions):
7002 * startup.el (auto-save-list-file-prefix, init-file-user)
7003 (after-init-hook, inhibit-startup-echo-area-message):
7004 * strokes.el (strokes-help):
7005 * time-stamp.el (time-stamp):
7006 * calendar/calendar.el (calendar, diary-file):
7007 * calendar/diary-lib.el (diary-mail-entries, diary)
7008 (diary-list-entries-hook):
7009 * calendar/holidays.el (holidays, calendar-holidays):
7010 * calendar/lunar.el (lunar-phases):
7011 * calendar/solar.el (sunrise-sunset):
7012 * emulation/edt.el (edt-load-keys):
7013 * emulation/viper.el (viper-mode):
7014 * eshell/em-alias.el (eshell-command-aliases-list):
7015 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7016 * international/ogonek.el (ogonek-information):
7017 * net/tramp-cmds.el (tramp-bug):
7018 * net/quickurl.el (quickurl-reread-hook-postfix):
7019 * play/decipher.el (decipher-font-lock-keywords):
7020 * progmodes/cc-styles.el (c-set-style):
7021 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7022 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7023 * progmodes/octave-mod.el (octave-mode):
7024 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7025 * progmodes/verilog-mode.el (verilog-read-defines):
7026 * textmodes/two-column.el (2C-mode): Likewise.
7028 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7030 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7031 that holds many addresses.
7033 2012-09-16 Chong Yidong <cyd@gnu.org>
7035 * align.el (align-areas): Call the indication function with
7036 positions instead of markers for arguments (Bug#12343).
7038 * files.el (parse-colon-path): Use split-string (Bug#12351).
7040 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7041 (display-buffer-function): Mark as obsolete.
7043 * progmodes/compile.el (compilation-parse-errors): Accept list
7044 values similar to font-lock-keywords (Bug#12136).
7045 Suggested by Oleksandr Manzyuk.
7046 (compilation-error-regexp-alist): Doc fix.
7048 2012-09-15 Glenn Morris <rgm@gnu.org>
7050 * version.el (emacs-bzr-version-bzr): New function.
7051 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7053 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7054 checkouts, check the parent dirstate matches the branch.
7055 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7058 * version.el (emacs-bzr-version): Doc fix.
7059 (emacs-bzr-version-dirstate): New function.
7060 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7061 is local try and check that it matches the branch. If not, just
7062 use dirstate information. (Bug#12441)
7064 2012-09-14 Juri Linkov <juri@jurta.org>
7066 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7069 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7073 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7074 Remove obsolete byte-compiler hack that tried to silence some warnings.
7075 (edebug-submit-bug-report): Remove.
7076 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7077 Remove aliases, use the un-prefixed name instead.
7078 (edebug-pop-to-buffer): Consider other frames.
7079 (edebug-original-read):: Make it more obvious that it's always defined.
7080 (edebug--make-form-data-entry, edebug--form-data-name)
7081 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7082 single-dashed name, and implement with cl-defstruct.
7083 (edebug-set-form-data-entry): Use the standard accessors.
7084 (edebug-make-top-form-data-entry): Use push.
7085 (edebug-no-match): Drop useless `funcall'.
7086 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7088 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7089 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7090 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7091 (easy-menu-define, with-custom-print): Remove redundant specs.
7092 (edebug-outside-overriding-local-map)
7093 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7094 (edebug--display): Bind unread-command-events directly to nil rather
7095 than binding it to unread-command-events and later setting it to nil.
7096 (edebug--display): Kill edebug-eval-buffer here...
7097 (edebug--recursive-edit): ...rather than here.
7098 Bind standard-output and standard-input.
7099 (edebug-eval): Check cl-macroexpand-all is fboundp.
7100 (edebug-temp-display-freq-count): Fix last change.
7102 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7103 * subr.el (noreturn, 1value): Add `debug' spec.
7104 * emacs-lisp/advice.el: Require cl-lib.
7105 (ad-copy-tree): Remove, use copy-tree instead.
7106 (ad-dolist): Remove use dolist or cl-dolist instead.
7107 (ad-do-return): Remove, use cl-return instead.
7108 (defadvice): Add `debug' spec.
7110 2012-09-13 Juri Linkov <juri@jurta.org>
7112 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7115 2012-09-13 Glenn Morris <rgm@gnu.org>
7117 * calc/calc.el (math-compose-expr):
7118 * calc/calc-ext.el (math-compose-expr):
7119 * progmodes/cc-defs.el (cl-macroexpand-all):
7120 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7121 (cl-macroexpand-all): Update declarations.
7123 * vc/vc.el: No need to require ediff.
7124 (ediff-load-version-control): Declare.
7125 (ediff-vc-internal): Fix declaration.
7126 (vc-version-ediff): Require ediff.
7128 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7130 Use a more backwards-compatible timer format (Bug#12430).
7131 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7132 being right after USECS, as that better supports old code that
7133 inadvisedly looked directly at the timer vector.
7135 2012-09-13 Kenichi Handa <handa@gnu.org>
7137 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7138 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7139 `coding-priority' property of these language environment.
7141 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7143 Fix glitches caused by addition of psec to timers (Bug#12430).
7144 * image.el (image-animate-timer):
7145 * time.el (display-time-world-timer):
7146 Use timer--function and timer--args rather than raw access to
7149 2012-09-13 Glenn Morris <rgm@gnu.org>
7151 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7152 If not compiling a file, try using load-file-name.
7154 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7158 (edebug-update-eval-list): Use `push'.
7160 * emacs-lisp/edebug.el: Use lexical-binding.
7161 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7162 Mark unused args with underscore.
7163 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7164 (edebug-form-data): Use defvar-local.
7165 (edebug-make-before-and-after-form, edebug-make-after-form):
7167 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7168 Not dynamically scoped any more.
7169 (edebug--enter-trace): Add arguments `function' and `args'.
7170 Rename from edebug-enter-trace.
7171 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7172 (edebug--update-coverage): Add `after-index' and `value' args.
7173 Rename from edebug-update-coverage.
7174 (edebug-slow-after): Call it accordingly.
7175 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7176 edebug-recursive-edit.
7177 (edebug--display): Call it accordingly. Add args `value',
7178 `offset-index', and `arg-mode'. Rename from edebug-display.
7179 (edebug-debugger, edebug): Call it accordingly.
7180 (edebug-eval-display-list): Use dolist.
7182 2012-09-12 Juri Linkov <juri@jurta.org>
7184 * info.el (Info-search): Don't check for isearch-mode and
7185 isearch-regexp before let-binding search-spaces-regexp to
7186 Info-search-whitespace-regexp.
7187 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7188 search-whitespace-regexp if isearch-lax-whitespace or
7189 isearch-regexp-lax-whitespace is non-nil.
7190 (Info-mode): Don't set local variable search-whitespace-regexp.
7191 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7193 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7195 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7196 (debugger-env-macro): Remove support for unread-command-char.
7198 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7199 the temporary map re-appearing on emulation-mode-map-alists.
7201 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7204 * ehelp.el (with-electric-help): Accept functions in
7205 electric-help-form-to-execute.
7206 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7207 And replace unread-command-char -> unread-command-events.
7209 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7211 Sync with Tramp 2.2.6.
7213 * net/tramp.el (tramp-accept-process-output): Don't use
7214 JUST-THIS-ONE in the XEmacs case.
7216 * net/trampver.el: Update release number.
7218 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7220 * emacs-lisp/debug.el (debugger-previous-window-height):
7222 (debug): When debugger-jumping-flag is non-nil try to restore
7223 height of debugger window. (Bug#8789)
7225 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7228 overriding-local-map and pre/post-command-hook here.
7229 (edebug-recursive-edit): Do it here instead (bug#12345).
7230 (edebug-outside-unread-command-char): Remove all uses of
7231 unread-command-char.
7233 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7234 inhibit-debugger is bound instead.
7236 2012-09-11 Bastien Guerry <bzg@gnu.org>
7238 * subr.el (set-temporary-overlay-map): Add a docstring.
7241 2012-09-11 Bastien Guerry <bzg@gnu.org>
7243 * minibuffer.el (completion-table-subvert): Fix docstring.
7246 2012-09-11 Bastien Guerry <bzg@gnu.org>
7248 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7250 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7252 * progmodes/sql.el: Version 3.1
7253 (sql-db2-escape-newlines): New variable.
7254 (sql-escape-newlines-filter): Use it.
7256 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7258 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7260 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7262 * vc/diff-mode.el (diff-mode-menu):
7263 Bind diff-remove-trailing-whitespace.
7265 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7268 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7269 (emacs-lisp-byte-code-mode): New functions.
7270 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7271 (eval-defun-2): Remove bogus interactive spec.
7272 (lisp-indent-line): Remove redundant whole-exp code, now done in
7273 indent-according-to-mode.
7274 (save-match-data): Remove redundant indent data.
7276 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7279 2012-09-09 Juri Linkov <juri@jurta.org>
7281 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7282 (replace-lax-whitespace, query-replace-regexp)
7283 (query-replace-regexp-eval, replace-regexp): Doc fix.
7284 (perform-replace, replace-highlight): Let-bind
7285 isearch-lax-whitespace to replace-lax-whitespace and
7286 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7288 * isearch.el (isearch-query-replace): Let-bind
7289 replace-lax-whitespace to isearch-lax-whitespace and
7290 replace-regexp-lax-whitespace to
7291 isearch-regexp-lax-whitespace. (Bug#10885)
7293 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7295 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7297 2012-09-09 Alan Mackenzie <acm@muc.de>
7299 * progmodes/cc-engine.el (c-state-cache-init):
7300 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7301 (c-record-parse-state-state):
7302 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7304 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7306 * register.el (register-separator): Rename from
7307 separator-register. All uses changed. Doc fix.
7308 (register): Fix version.
7310 2012-09-09 Chong Yidong <cyd@gnu.org>
7312 * replace.el (query-replace-map): Bind four new symbols for
7313 requesting window scrolling.
7315 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7316 query-replace-map (Bug#8948).
7318 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7320 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7321 since they are now in query-replace-map.
7323 * window.el (scroll-other-window-down): Make the arg optional.
7325 2012-09-09 Chong Yidong <cyd@gnu.org>
7327 * files.el (hack-local-variables-confirm): Use quit-window to kill
7328 the *Local Variables* buffer.
7330 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7332 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7333 not just expect to be at its beginning. Adjust callees.
7334 Succeed when do-end block has no space before the pipe character.
7335 (ruby-brace-to-do-end): When the original block is one-liner,
7336 convert to multiline. Reindent the result.
7338 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7340 * register.el (register): New group.
7341 (separator-register): New user option.
7342 (increment-register): Route it to `append-to-register', if
7343 register contains text. Implication is that `C-x r +' can now be
7344 used for appending to a text register (bug#12217).
7345 (append-to-register, prepend-to-register): Add separator based on
7346 `separator-register'.
7348 2012-09-08 Alan Mackenzie <acm@muc.de>
7350 AWK Mode: make auto-newline work when there's "==" in the pattern.
7351 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7353 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7354 Test more rigorously for "=" token.
7356 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7358 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7359 Only fail when reached LIMIT.
7361 2012-09-08 Chong Yidong <cyd@gnu.org>
7363 * dired.el (dired-mode-map): Don't bind M-=.
7365 * dired-aux.el (dired-diff): Use backup file as default.
7367 2012-09-08 Drew Adams <drew.adams@oracle.com>
7369 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7371 2012-09-08 Chong Yidong <cyd@gnu.org>
7373 * subr.el (syntax-after, syntax-class): Doc fix.
7375 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7377 * window.el (display-buffer-in-previous-window): New buffer
7378 display action function.
7380 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7381 (debugger-previous-window): New variable.
7382 (debug): Rewrite using display-buffer-in-previous-window,
7383 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7385 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7389 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7391 * progmodes/python.el (python-shell-send-string):
7392 When default-directory is remote, create temp file on remote
7394 (python-shell-send-file): When file is remote, pass local view of
7395 file paths to remote Python interpreter. (Bug#12340)
7397 2012-09-07 Chong Yidong <cyd@gnu.org>
7399 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7401 * files.el (after-find-file): Don't fail on a read-only buffer if
7402 require-final-newline is `visit' or `visit-save' (Bug#11156).
7404 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7406 * userlock.el (ask-user-about-supersession-threat):
7407 Use read-char-choice (Bug#12093).
7409 2012-09-07 Chong Yidong <cyd@gnu.org>
7411 * subr.el (buffer-narrowed-p): New function.
7413 * ses.el (ses-widen):
7414 * simple.el (count-words--buffer-message):
7415 * net/browse-url.el (browse-url-of-buffer): Use it.
7417 * simple.el (count-words-region): Don't signal an error if there
7418 is a non-nil prefix arg and the mark is not set.
7420 * help.el (describe-key-briefly): Allow the message to be seen
7421 when invoked from the minibuffer (Bug#7014).
7423 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7425 * progmodes/ruby-mode.el (ruby-end-of-defun)
7426 (ruby-beginning-of-defun): Simplify, allow indentation before
7427 block beginning and end keywords.
7428 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7429 (ruby-end-of-defun): Expect that the point is at the beginning of
7432 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7436 (cl--make-usage-args): Strip _ from argument names.
7438 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7440 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7441 obsolete alias speedbar-key-map.
7442 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7443 (vhdl-index-menu-init): Don't use obsolete variable
7444 font-lock-maximum-size.
7446 2012-09-06 Chong Yidong <cyd@gnu.org>
7448 * frame.el (window-system-version): Mark as obsolete.
7450 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7451 of obsolete variable speedbar-key-map.
7453 2012-09-06 Juri Linkov <juri@jurta.org>
7455 * replace.el (replace-lax-whitespace): New defcustom.
7456 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7457 (replace-string, replace-regexp): Mention it in docstrings.
7458 (perform-replace, replace-highlight): Let-bind
7459 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7460 to the values of replace-lax-whitespace and regexp-flag.
7461 Don't let-bind search-whitespace-regexp. (Bug#10885)
7463 * isearch.el (isearch-query-replace): Let-bind
7464 replace-lax-whitespace instead of let-binding
7465 replace-search-function and replace-re-search-function.
7466 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7467 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7468 (isearch-toggle-symbol): Set isearch-regexp to nil
7469 in isearch-word mode (like in isearch-toggle-word).
7471 2012-09-06 Juri Linkov <juri@jurta.org>
7473 * replace.el (replace-search-function)
7474 (replace-re-search-function): Set default values to nil.
7475 (perform-replace): Let-bind isearch-related variables based on
7476 replace-related values, call `isearch-search-fun' and let-bind
7477 the result to `search-function'. Remove code that sets
7478 `search-function' and `search-string' separately for
7480 (replace-highlight): Add new argument `delimited-flag' and
7481 rename other arguments to the names used in `perform-replace'.
7482 Let-bind `isearch-word' to the argument `delimited-flag'.
7483 (Bug#10885, bug#10887)
7485 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7487 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7488 ruby-beginning-of-indent, simplify, allow all keywords to have
7489 indentation before them.
7490 (ruby-beginning-of-indent): Adjust for above. Search until the
7491 found point is not inside a string or comment.
7492 (ruby-font-lock-keywords): Allow symbols to start with "@"
7493 character, give them higher priority than variables.
7494 (ruby-syntax-propertize-function)
7495 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7496 matchers. Expression expansions are not comments when inside a
7497 string, and there comment syntax status is irrelevant.
7498 (ruby-match-expression-expansion): New function. Check that
7499 expression expansion is inside a string, and it's not escaped.
7500 (ruby-font-lock-keywords): Use it.
7502 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7504 * help.el (temp-buffer-max-height): New default value.
7505 (temp-buffer-resize-frames): New option.
7506 (resize-temp-buffer-window): Optionally resize frame.
7508 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7509 (fit-frame-to-buffer): New function.
7511 2012-09-05 Glenn Morris <rgm@gnu.org>
7513 * emulation/cua-rect.el (cua--init-rectangles):
7514 * textmodes/picture.el (picture-mode-map):
7515 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7516 like forward-char and backward-char. (Bug#12317)
7518 2012-09-05 Leo Liu <sdl.web@gmail.com>
7520 * progmodes/flymake.el (flymake-warning-re): New variable.
7521 (flymake-parse-line): Use it.
7523 2012-09-05 Glenn Morris <rgm@gnu.org>
7525 * calendar/holidays.el (holiday-christian-holidays):
7526 Rename an entry. (Bug#12289)
7528 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7530 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7533 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7535 * loadup.el: Load macroexp. Remove hack.
7536 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7537 (macroexp--expand-all): Use it to get better warnings.
7538 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7539 (internal-macroexpand-for-load): New functions.
7540 (macroexp--pending-eager-loads): New var.
7541 (emacs-startup-hook): New hack to replace one in loadup.el.
7542 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7543 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7544 (cl-psetf): Simplify.
7545 (cl-defstruct): Add indent rule.
7547 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7549 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7550 over `user-mail-address' for the SMTP MAIL FROM envelope.
7551 (smtpmail-via-smtp): Ditto.
7553 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7555 * progmodes/ruby-mode.el: Clean up keybindings.
7556 (ruby-mode-map): Don't bind ruby-electric-brace,
7557 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7558 backward-kill-word, reindent-then-newline-and-indent.
7559 (ruby-mark-defun): Remove.
7560 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7561 (ruby-mode): Set local beginning-of-defun-function and
7562 end-of-defun-function values.
7564 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7566 * window.el (temp-buffer-window-setup-hook)
7567 (temp-buffer-window-show-hook): New hooks.
7568 (temp-buffer-window-setup, temp-buffer-window-show)
7569 (with-temp-buffer-window): New functions.
7570 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7571 (special-display-popup-frame): Make sure the window used shows BUFFER.
7573 * help.el (temp-buffer-resize-mode): Fix doc-string.
7574 (resize-temp-buffer-window): New optional argument WINDOW.
7576 * files.el (recover-file, save-buffers-kill-emacs):
7577 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7579 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7581 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7582 remote definition of `default-directory', ensure we can connect.
7584 2012-09-02 Juri Linkov <juri@jurta.org>
7586 Toggle whitespace matching mode with M-s SPC.
7587 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7589 * isearch.el (search-whitespace-regexp): Doc fix.
7590 Remove cons cell customization.
7591 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7592 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7594 (isearch-forward, isearch-forward-regexp): Doc fix.
7595 (isearch-toggle-lax-whitespace): New command.
7596 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7597 (re-search-forward-lax-whitespace)
7598 (re-search-backward-lax-whitespace): New functions.
7599 (isearch-whitespace-regexp): Remove function.
7600 (isearch-query-replace): Let-bind replace-search-function and
7601 replace-re-search-function.
7602 (isearch-occur): Let-bind search-spaces-regexp according to the
7603 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7604 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7605 condition for C-q SPC.
7606 (isearch-search-fun-default): Use new functions mentioned above.
7607 (isearch-search-forward, isearch-search-backward): Remove functions.
7608 (isearch-search): Don't let-bind search-spaces-regexp.
7609 (isearch-lazy-highlight-space-regexp): Remove variable.
7610 (isearch-lazy-highlight-lax-whitespace)
7611 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7612 (isearch-lazy-highlight-new-loop): Use them.
7613 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7615 2012-09-02 Chong Yidong <cyd@gnu.org>
7617 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7619 2012-09-02 Glenn Morris <rgm@gnu.org>
7621 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7623 2012-09-01 Glenn Morris <rgm@gnu.org>
7625 * term.el: Tidy up menu definitions.
7626 (term-mode-map): Use easymenu for In/Out, Complete menus.
7627 (term-pager-break-map): Initialize in the defvar.
7628 (term-terminal-menu, term-signals-menu): Define with easymenu.
7629 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7630 (term-pager-menu): New, extracted from term-process-pager.
7631 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7632 (term-update-mode-line): Propertize line/char and page items.
7633 (term-process-pager): Move keymap initialization elsewhere.
7635 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7637 * window.el (switch-to-prev-buffer): Handle additional values of
7638 BURY-OR-KILL argument. Don't switch in minibuffer window.
7639 (switch-to-next-buffer): Don't switch in minibuffer window.
7640 (quit-restore-window): New function based on quit-window.
7641 Handle additional values of former KILL argument.
7642 (quit-window): Call quit-restore-window with appropriate
7643 interpretation of KILL argument.
7644 (display-buffer-below-selected): New buffer display action
7647 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7649 * minibuffer.el (completion-at-point-functions): Complete docstring
7652 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7654 Better seed support for (random).
7655 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7656 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7657 * play/mpuz.el, play/tetris.el, play/zone.el:
7658 * calc/calc-comb.el (math-init-random-base):
7659 * play/blackbox.el (bb-init-board):
7660 * play/life.el (life):
7661 * server.el (server-use-tcp):
7662 * type-break.el (type-break):
7663 Remove unnecessary call to (random t).
7664 * net/sasl.el (sasl-unique-id-function):
7665 Change (random t) to (random), now that the latter is more random.
7666 * play/life.el (life-initialized): Remove no-longer-needed var.
7668 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7670 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7671 Consider frame's buffer predicate when choosing the buffer.
7674 2012-08-30 Richard Stallman <rms@gnu.org>
7676 * simple.el (special-mode-map): Delete binding for `z'.
7678 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7680 * progmodes/compile.el (compilation-always-kill): Doc fix.
7682 2012-08-30 Chong Yidong <cyd@gnu.org>
7684 * window.el (display-buffer-reuse-frames): Make the obsolescence
7685 message more informative.
7687 2012-08-30 Glenn Morris <rgm@gnu.org>
7689 * paren.el (show-paren-delay):
7690 Add a :set function. Doc fix. (Bug#12297)
7692 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7694 * progmodes/compile.el (compilation-always-kill): New var.
7695 (compilation-start): Use it.
7697 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7700 * files.el (read-only-mode): Move to simple.el.
7702 * files.el (read-only-mode): New minor mode.
7703 (toggle-read-only): Use it and mark obsolete.
7704 (find-file--read-only):
7705 * vc/vc.el (vc-next-action, vc-checkout):
7706 * vc/vc-cvs.el (vc-cvs-checkout):
7707 * obsolete/vc-mcvs.el (vc-mcvs-update):
7708 * ffap.el (ffap--toggle-read-only): Update callers.
7710 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7712 * eshell/esh-ext.el (eshell-external-command): Do not examine
7713 remote shell scripts.
7714 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7716 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7719 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7721 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7723 2012-08-28 Leo Liu <sdl.web@gmail.com>
7725 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7726 completion-at-point. (Bug#12220)
7728 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7730 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7732 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7734 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7735 be buffer-local; add delete-trailing-whitespace (bug#12259).
7737 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7739 * progmodes/hideif.el (hif-compress-define-list):
7740 Fix typo. (Bug#11951)
7742 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7744 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7745 buffer local setting.
7747 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7748 rcirc-encode-coding-system.
7750 2012-08-28 Leo Liu <sdl.web@gmail.com>
7752 * net/rcirc.el (rcirc-split-message): New function.
7753 (rcirc-send-message): Use it. (Bug#12051)
7755 2012-08-28 Juri Linkov <juri@jurta.org>
7757 * info.el (Info-fontify-node): Hide empty lines at the end of
7758 the node. (Bug#12272)
7760 2012-08-27 Drew Adams <drew.adams@oracle.com>
7762 * dired.el (dired-pop-to-buffer): Make window start at beginning
7763 of buffer (Bug#12281).
7765 2012-08-26 Chong Yidong <cyd@gnu.org>
7767 * window.el (special-display-regexps, special-display-frame-alist)
7768 (special-display-buffer-names, special-display-function)
7769 (display-buffer-reuse-frames): Mark as obsolete.
7771 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7773 * help.el (help-print-return-message): Don't treat
7774 display-buffer-reuse-frames specially.
7776 2012-08-26 Chong Yidong <cyd@gnu.org>
7778 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7779 New variable, replacing gdb-frame-parameters.
7780 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7781 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7782 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7783 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7784 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7785 the functions directly with gdb-display-buffer-other-frame-action.
7786 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7787 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7788 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7789 (gdb-display-registers-buffer): Define directly.
7790 (def-gdb-display-buffer): Macro deleted.
7791 (gdb-display-buffer): Remove second and third args, callers don't
7792 use them. Defer to the default display-buffer behavior, apart
7793 from making windows dedicated.
7794 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7796 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7798 * window.el (display-buffer-pop-up-frame): Handle a
7799 pop-up-frame-parameters alist entry.
7800 (display-buffer): Document it.
7802 2012-08-26 Chong Yidong <cyd@gnu.org>
7804 * isearch.el (search-whitespace-regexp): Make string and nil
7805 values apply to both ordinary and regexp search. Allow a cons
7806 cell value to distinguish between the two.
7807 (isearch-whitespace-regexp, isearch-search-forward)
7808 (isearch-search-backward): New functions.
7809 (isearch-occur, isearch-search-fun-default, isearch-search)
7810 (isearch-lazy-highlight-new-loop): Use them.
7811 (isearch-forward, isearch-forward-regexp): Doc fix.
7813 2012-08-26 Chong Yidong <cyd@gnu.org>
7815 * faces.el (help-argument-name): Always inherit from italic
7818 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7820 * window.el (window--even-window-heights): Even heights when
7821 WINDOW and the selected window form a vertical combination.
7822 (display-buffer-use-some-window): Provide that window used gets
7823 sized back by quit-window. (Bug#11880) and (Bug#12091)
7825 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7827 Fix file time stamp problem with bzr and CVS (Bug#12001).
7828 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7829 in the file's time stamp, since the version control system loses
7832 2012-08-22 Juri Linkov <juri@jurta.org>
7834 * info.el (Info-fontify-node): Hide the suffix of the
7835 Info file name in the header line. (Bug#12187)
7837 2012-08-22 Glenn Morris <rgm@gnu.org>
7839 * calendar/cal-tex.el (cal-tex-weekly-common):
7840 Restore leading blank page.
7842 2012-08-22 Le Wang <l26wang@gmail.com>
7844 * misc.el (forward-to-word, backward-to-word): Activate or extend
7845 the region under `shift-select-mode'. (Bug#12231)
7847 2012-08-22 Bastien Guerry <bzg@gnu.org>
7849 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7850 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7851 gives details on why the space is never needed.
7853 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7855 * window.el (walk-window-tree, window-with-parameter):
7856 New optional argument MINIBUF to control whether these functions
7857 should run on the minibuffer window.
7858 (window-at-side-list): Don't operate on minibuffer window.
7859 (window-in-direction): Simplify and rewrite doc-string.
7860 (window--size-ignore): Rename to window--size-ignore-p.
7862 (display-buffer-in-atom-window, window--major-non-side-window)
7863 (window--major-side-window, display-buffer-in-major-side-window)
7864 (delete-side-window, display-buffer-in-side-window):
7866 (window--side-check, window-deletable-p, delete-window)
7867 (delete-other-windows, split-window): Handle side windows and
7868 atomic windows appropriately.
7869 (window--display-buffer): Call display-buffer-record-window also
7870 when the window buffer did not change.
7872 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7874 * help-fns.el (help-fns--key-bindings):
7875 Abbreviate non-symbol remap targets. (Bug#12174)
7877 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7879 * dired.el (dired-mark-remembered): Don't clobber point.
7882 2012-08-22 Glenn Morris <rgm@gnu.org>
7884 * progmodes/bug-reference.el (bug-reference): New custom group.
7885 (bug-reference-bug-regexp): Make it a defcustom.
7887 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7889 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7890 (js-paren-indent-offset, js-square-indent-offset)
7891 (js-curly-indent-offset): Add :safe (Bug#12257).
7893 2012-08-22 Edward O'Connor <hober0@gmail.com>
7895 * json.el (json-key-format): Add error properties.
7896 (json-encode-key): New function.
7897 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7898 Use json-encode-key.
7900 2012-08-22 Glenn Morris <rgm@gnu.org>
7902 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7903 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7904 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7905 Update for above change.
7907 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7909 * cus-face.el (custom-face-attributes): Fix customize type for the
7910 :underline attribute. (Bug#11805)
7912 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7914 * window.el (window-point-1, set-window-point-1): Remove.
7915 (window-in-direction, record-window-buffer)
7916 (set-window-buffer-start-and-point, split-window-below)
7917 (window--state-get-1, display-buffer-record-window):
7918 Replace calls to window-point-1 and set-window-point-1 by calls to
7919 window-point and set-window-point respectively.
7921 2012-08-21 Glenn Morris <rgm@gnu.org>
7923 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7924 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7927 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7928 (cal-tex-shortday): New function.
7929 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7930 (cal-tex-cursor-filofax-daily): Use the above.
7932 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7934 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7935 (cal-tex-cursor-filofax-week): Use them.
7937 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7939 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7940 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7942 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7943 (cal-tex-end-document): Don't rely on buffer name.
7945 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7947 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7948 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7949 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7952 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7953 (cal-tex-cursor-week, cal-tex-cursor-week2)
7954 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7955 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7956 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7957 (cal-tex-insert-preamble, cal-tex-b-document)
7958 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7959 Improve cal-tex-cmd usage.
7961 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7962 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7963 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7964 (cal-tex-weekly-paper): New function.
7965 (cal-tex-cursor-week, cal-tex-cursor-week2)
7966 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7967 (cal-tex-cursor-day): Use it.
7969 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7970 (cal-tex-cursor-filofax-week): Remove leading blank page.
7972 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7973 Add autoload cookie. For now at least, don't use color, since
7974 no other cal-tex function does.
7976 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7977 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7978 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7980 2012-08-21 Juri Linkov <juri@jurta.org>
7982 * info.el (Info-file-attributes): New variable.
7983 (info-insert-file-contents): Add file attributes to
7984 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7985 `Info-toc-nodes' when previous modtime of the Info file is less
7987 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7988 of info.el. (Bug#12230)
7990 2012-08-20 Glenn Morris <rgm@gnu.org>
7992 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7993 * calendar/holidays.el (calendar-holiday-list):
7994 Report errors with display-warning rather than beep'n'sleep.
7996 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7998 * net/tramp.el (tramp-accept-process-output): Accept only output
7999 from PROC. Otherwise, process filters and sentinels might be
8000 confused. (Bug#12145)
8002 2012-08-20 Chong Yidong <cyd@gnu.org>
8004 * descr-text.el (describe-text-properties-1): Use overlays-in to
8005 report on empty overlays (Bug#3322).
8007 2012-08-20 Glenn Morris <rgm@gnu.org>
8009 * mail/rmailout.el (rmail-output-read-file-name):
8010 Trap and report errors in rmail-output-file-alist elements.
8012 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8013 since most non-font-lock faces are not also variables).
8015 2012-08-20 Edward Reingold <reingold@iit.edu>
8017 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8018 New function. (Bug12160)
8020 2012-08-19 Glenn Morris <rgm@gnu.org>
8022 * mail/rmailout.el (rmail-output-read-file-name):
8023 Fix previous change (when the alist is nil or does not match).
8025 2012-08-19 Chong Yidong <cyd@gnu.org>
8027 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8030 2012-08-18 Chong Yidong <cyd@gnu.org>
8032 * simple.el (yank-handled-properties): New defcustom.
8033 (yank-excluded-properties): Add font-lock-face and category.
8036 * subr.el (remove-yank-excluded-properties):
8037 Obey yank-handled-properties. The special handling of font-lock-face
8038 and category is now done this way, instead of being hard-coded.
8039 (insert-for-yank-1): Remove font-lock-face handling.
8040 (yank-handle-font-lock-face-property)
8041 (yank-handle-category-property): New function.
8043 2012-08-17 Glenn Morris <rgm@gnu.org>
8045 * mail/rmailout.el (rmail-output-read-file-name):
8046 Check rmail-output-file-alist against the full message body
8047 in the correct rmail buffer. (Bug#12214)
8049 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8051 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8052 Eliminate superfluous prompt. (Bug#12203)
8054 2012-08-17 Chong Yidong <cyd@gnu.org>
8056 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8057 font spec, set the font directly (Bug#3228).
8059 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8061 * window.el (delete-window): Fix last fix.
8063 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8065 * window.el (window-valid-p): Move to window.c.
8066 (window-child, window-child-count, window-last-child)
8067 (window-normalize-window, window-combined-p)
8068 (window-combinations, window-atom-root, window-min-size)
8069 (window-sizable, window-sizable-p, window-size-fixed-p)
8070 (window-min-delta, window-max-delta, window--resizable)
8071 (window--resizable-p, window-resizable, window-total-size)
8072 (window-full-height-p, window-full-width-p, window-body-size)
8073 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8074 (minimize-window, window-deletable-p, delete-window)
8075 (delete-other-windows, set-window-buffer-start-and-point)
8076 (next-buffer, previous-buffer, split-window, balance-windows-2)
8077 (set-window-text-height, window-buffer-height)
8078 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8079 (truncated-partial-width-window-p): Minor code adjustments.
8080 In doc-strings state whether the argument window has to denote a
8081 live, valid or any window.
8083 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8085 * progmodes/subword.el (subword-forward-function)
8086 (subword-backward-function, subword-forward-regexp)
8087 (subword-backward-regexp): New variables.
8088 (subword-forward, subword-forward-internal, subword-backward-internal):
8089 Use new variables, eg so that different "word" definitions
8090 can be easily used. (Bug#11411)
8092 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8094 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8095 for composite selectors.
8096 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8097 operation just because we can't find a previous revision.
8099 2012-08-15 Chong Yidong <cyd@gnu.org>
8101 * frame.el (set-frame-font): Accept font objects.
8103 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8105 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8107 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8109 * man.el (Man-overstrike-face, Man-underline-face)
8110 (Man-reverse-face): Remove variables.
8111 (Man-overstrike, Man-underline, Man-reverse): New faces.
8112 (Man-fontify-manpage): Use them instead of the variables.
8113 (Man-cleanup-manpage): Comment change.
8114 (Man-ansi-color-map): New variable.
8115 (Man-fontify-manpage): Use it.
8116 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8118 Implement ANSI SGR parameters 22-27 (bug#12146).
8119 * ansi-color.el (ansi-colors): Doc fix.
8120 (ansi-color-context, ansi-color-context-region): Doc fix.
8121 (ansi-color--find-face): New function.
8122 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8123 Rename the local variable `face' to `codes' since it is now a list of
8124 ansi codes. Doc fix.
8125 (ansi-color-get-face): Remove.
8126 (ansi-color-parse-sequence): New function, derived from
8127 ansi-color-get-face.
8128 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8131 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * subr.el (read-passwd): Allow use from a minibuffer.
8135 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8137 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8138 inside comments and strings as identifiers.
8140 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8141 expression to evaluate. This allows to evaluate expressions with
8142 embedded whitespace.
8143 (gud-tooltip-tips): Add a blank before the newline in the
8144 message-box text, for the benefit of message-box emulation on
8147 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8148 messages from GDB, pop them up in a tooltip to give feedback to
8150 (gdb-tooltip-print-1): Quote the expression to evaluate.
8151 This allows to evaluate expressions with embedded whitespace.
8152 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8153 if the TTY name is nil or empty (which happens when communicating
8154 with the inferior via pipes, e.g. on MS-Windows).
8155 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8156 don't send that to the GUD buffer.
8158 2012-08-14 Glenn Morris <rgm@gnu.org>
8160 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8161 Optimize away setq-default with no args, as for setq. (Bug#12195)
8163 2012-08-14 Chong Yidong <cyd@gnu.org>
8165 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8167 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8170 2012-08-14 Glenn Morris <rgm@gnu.org>
8172 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8174 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8176 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8177 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8178 Use cached shell name.
8180 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8182 * progmodes/python.el (python-shell-send-string):
8183 (python-shell-send-setup-code): Do not use `format' with `message'.
8185 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8187 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8188 (ruby-percent-literal-beg-re): New constant.
8189 (ruby-syntax-general-delimiters-goto-beg): Rename to
8190 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8191 (ruby-syntax-propertize-general-delimiters): Rename to
8192 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8193 popular term. Adjust comments everywhere.
8194 (ruby-syntax-propertize-percent-literal): Only propertize when not
8195 inside a simple string or comment. When the literal is unclosed,
8196 leave the text after it unpropertized.
8197 (ruby-syntax-methods-before-regexp): New constant.
8198 (ruby-syntax-propertize-function): Use it to recognize regexps.
8199 Don't look at the text after regexp, just use the whitelist.
8201 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8203 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8204 non-nil always load the compiled file if it exists. (Bug#12197)
8206 2012-08-14 Chong Yidong <cyd@gnu.org>
8208 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8209 (hi-lock-set-pattern): When deciding whether to use font lock or
8210 overlays, look at font-lock-mode instead of font-lock-fontified
8212 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8213 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8215 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8217 * subr.el (internal--after-with-selected-window): Fix typo
8220 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8222 Use `completion-table-dynamic' for completion functions.
8223 * progmodes/python.el
8224 (python-shell-completion--do-completion-at-point)
8225 (python-shell-completion--get-completions):
8227 (python-shell-completion-complete-at-point): New function.
8228 (python-completion-complete-at-point): Use it.
8230 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8232 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8233 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8235 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * subr.el (function-get): Refine `autoload' arg so it can also
8238 autoload functions for gv.el (bug#12191).
8239 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8242 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8243 Prefer pcase-let over destructuring-bind.
8244 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8245 Also, remove whitespace as we go, rather than after accumulating the
8248 * subr.el (internal--before-with-selected-window)
8249 (internal--after-with-selected-window): Fix typo seleted->selected.
8250 (with-selected-window): Adjust callers.
8251 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8253 2012-08-13 Bastien Guerry <bzg@gnu.org>
8255 * window.el (special-display-popup-frame): Minor docstring
8256 enhancement. (Bug#12172)
8258 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8260 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8262 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8265 * files.el (hack-local-variables-filter): Remove useless eval.
8267 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8269 * subr.el (with-selected-window): Fix last change.
8271 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * subr.el (internal--before-with-seleted-window)
8274 (internal--after-with-seleted-window): New functions.
8275 (with-selected-window): Use them, to replace dependency on
8278 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8280 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8281 binding for `newline'.
8282 (ruby-move-to-block): When moving backward, stop at block opening,
8284 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8285 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8286 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8287 `ruby-toggle-block'.
8289 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8291 * ibuffer.el (ibuffer-do-toggle-read-only):
8292 * dired.el (dired-toggle-read-only):
8293 * buff-menu.el (Buffer-menu-toggle-read-only):
8294 * bindings.el (mode-line-toggle-read-only):
8295 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8297 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8299 * descr-text.el (describe-char): Put the overlays over the
8300 "displayed as" character.
8302 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8304 * calc/calc-units.el (math-default-units-table): Give an
8306 (math-put-default-units): Add options to put composite units and
8307 unit systems in the default units table.
8308 (calc-convert-units): Send composite units to
8309 `math-put-default-units' when appropriate.
8311 2012-08-11 Glenn Morris <rgm@gnu.org>
8313 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8315 * tutorial.el (help-with-tutorial):
8316 * emacs-lisp/copyright.el (copyright-update-directory):
8317 * emacs-lisp/autoload.el (autoload-find-generated-file)
8318 (autoload-find-file): Disable local eval: (for insurance).
8320 * files.el (hack-local-variables-filter): If an eval: form is not
8321 known to be safe, and enable-local-variables is :safe, then ignore
8322 the form totally, as is done for non-eval forms. (Bug#12155)
8323 This is CVE-2012-3479.
8325 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8327 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8328 (rx-form): Simplify.
8330 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8332 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8333 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8334 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8335 (ruby-syntax-propertize-function): Adjust for changes in
8336 `ruby-syntax-propertize-heredoc'.
8338 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8340 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8341 binding (use `M-;' instead).
8342 (ruby-singleton-class-p): New function.
8343 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8345 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8349 2012-08-10 Chong Yidong <cyd@gnu.org>
8351 * progmodes/python.el (python-shell-get-process-name): Don't mess
8352 with same-window-buffer-names.
8354 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8355 (eshell-remove-from-window-buffer-names): Make obsolete.
8356 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8357 (eshell): Just use pop-to-buffer-same-window instead.
8359 2012-08-10 Chong Yidong <cyd@gnu.org>
8361 * bindings.el: Bind M-= back to count-words-region.
8363 * simple.el (count-words-region): Accept a prefix arg for acting
8364 on the entire buffer.
8365 (count-words--buffer-message): New helper function.
8367 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8370 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8371 (event-start, event-end): Use posn-at-point to return a more
8373 (posnp): New function.
8374 * mouse.el (popup-menu-normalize-position): Use it.
8376 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8378 * mouse.el (popup-menu-normalize-position): New function.
8379 (popup-menu): Use `popup-menu-normalize-position' to normalize
8380 the form for POSITION argument.
8382 * term/x-win.el (x-menu-bar-open):
8383 Use the value returend from (posn-at-point) as position
8384 passed to `popup-menu'.
8386 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8388 * calc/calccomp.el (math-compose-expr): Add extra argument
8389 indicating that parentheses should be put around products in
8390 denominators. Give multiplication precedence over division during
8393 2012-08-09 Chong Yidong <cyd@gnu.org>
8395 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8396 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8397 (Man-untabify-command, manual-program): Convert to defcustom
8400 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8402 * descr-text.el (describe-char): Don't insert extra newlines
8405 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8406 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8408 * align.el (align-region): Delete temporary markers (Bug#10047).
8409 Plus some code cleanups.
8411 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8413 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8414 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8415 (python-shell-internal-last-output): Use make-local-variable
8416 instead of make-variable-buffer-local.
8418 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8420 * progmodes/python.el: Enhancements to forward-sexp.
8421 (python-nav-forward-sexp): Rename from
8422 python-nav-forward-sexp-function.
8423 (python-nav--forward-sexp, python-nav--backward-sexp):
8426 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8428 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8429 modes and simplification modes.
8431 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * delsel.el (delete-selection-pre-hook): Don't propagate the
8434 file-supersession signals (bug#12161).
8436 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8439 (cl-map-extents): Add compatibility aliases (bug#12135).
8441 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8443 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8444 tests by `ignore-error'.
8445 (tramp-find-shell): Open also a new shell, when cache is already
8446 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8448 2012-08-08 Juri Linkov <juri@jurta.org>
8450 * bookmark.el: Add `defaults' property to the bookmark record.
8451 (bookmark-current-buffer): Doc fix.
8452 (bookmark-make-record): Add `defaults' property with default values
8453 to the bookmark record.
8454 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8455 with `bookmark-insert-current-bookmark'.
8456 (bookmark-set): Get `defaults' property from the bookmark record
8457 and use it in `read-from-minibuffer'.
8458 (bookmark-insert-current-bookmark): Remove function.
8460 * info.el (Info-bookmark-make-record): Add `defaults' property
8461 with values of canonical Info node name, the current Info file
8462 name and the current Info node name. (Bug#12107)
8464 2012-08-08 Juri Linkov <juri@jurta.org>
8466 * files.el (basic-save-buffer): Use `buffer-name' as the default
8467 of `read-file-name' when buffer is not visiting a file (bug#12128).
8469 2012-08-08 Juri Linkov <juri@jurta.org>
8471 * info.el (Info-isearch-search): Doc fix.
8472 (Info-search): Change search-failed message from "initial node" to
8473 "end of node" (bug#12078).
8474 (Info-isearch-search): Change `isearch-string-state' to
8475 `isearch--state-string'.
8477 2012-08-08 Glenn Morris <rgm@gnu.org>
8479 * language/persian.el: Remove file.
8480 * language/misc-lang.el: Move unique part of persian.el here.
8481 * loadup.el: Remove language/persian.
8483 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8485 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8487 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8489 * progmodes/python.el: Fix defsubst warning.
8490 (python-syntax-context) Rename from python-info-ppss-context.
8491 (python-syntax-context-type): Rename from
8492 python-info-ppss-context-type.
8493 (python-syntax-comment-or-string-p): Rename from
8494 python-info-ppss-comment-or-string-p.
8496 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8498 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8500 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8502 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8503 a defcustom that is quoted with backquote.
8505 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8506 Fix handling of interactive spec when the body uses return.
8507 (math-do-arg-check, math-define-function-body): Use backquote forms.
8508 * calc/calc-ext.el (math-defcache): Likewise.
8509 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8510 * allout.el (allout-new-exposure): Likewise.
8511 * calc/calcalg2.el (math-tracing-integral): Likewise.
8512 * info.el (Info-last-menu-item): Likewise.
8513 * emulation/vip.el (vip-loop): Likewise.
8514 * textmodes/artist.el (artist-funcall): Likewise.
8515 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8516 Construct menu-item directly.
8518 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8521 2012-08-07 Chong Yidong <cyd@gnu.org>
8523 * simple.el (deactivate-mark): Preserve text properties when
8524 saving the primary selection (Bug#8384).
8526 2012-08-07 Kevin Ryde <user42@zip.com.au>
8528 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8529 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8530 and continue processing (Bug#12110).
8532 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8535 syntax-propertize-function (bug#10095).
8537 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8540 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8541 describe-function-1.
8542 (describe-function-1): Use them. Move compiler macro after sig.
8543 (help-fns--compiler-macro): Use function-get. Assume we're already in
8544 standard-output. Adjust layout to new call order.
8546 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8547 re-binding a symbol that has a symbol-macro (bug#12119).
8549 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8551 * language/persian.el: New file. (Bug#11812)
8552 * loadup.el: Add language/persian.el.
8554 2012-08-06 Chong Yidong <cyd@gnu.org>
8556 * window.el (window--maybe-raise-frame): New function.
8557 (window--display-buffer): Split off from here.
8558 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8559 (display-buffer-pop-up-window, display-buffer-use-some-window):
8560 Obey an inhibit-switch-frame action alist entry.
8561 (display-buffer): Update doc.
8563 * replace.el (occur-after-change-function): Avoid losing focus by
8564 using the inhibit-switch-frame display parameter (Bug#12139).
8566 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8568 Make internal shell process buffer names start with space.
8569 * progmodes/python.el (python-shell-make-comint): Add optional
8571 (run-python-internal): Use it.
8572 (python-shell-internal-get-or-create-process): Check for new
8573 internal buffer names.
8575 2012-08-06 Glenn Morris <rgm@gnu.org>
8577 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8578 Do less getting and setting of environment variables.
8580 2012-08-05 Chong Yidong <cyd@gnu.org>
8582 * proced.el (proced): Add substitution string to docstring to
8583 trigger autoloading of the proced library on C-h f (Bug#1768).
8585 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8586 Don't show defvars which have no second argument (Bug#8638).
8588 * imenu.el (imenu-generic-expression): Move documentation here
8589 from imenu--generic-function.
8590 (imenu--generic-function): Refer to imenu-generic-expression.
8592 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8594 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8595 indentation declaration.
8596 (viper-loop): Add indentation declaration (Bug#7025).
8598 2012-08-05 Chong Yidong <cyd@gnu.org>
8600 * help-fns.el (describe-variable): Add hyperlink for
8601 directory-local variables files. Improve buffer-local and
8602 permanent-local reporting; suggested by MON KEY (Bug#6644).
8604 * help-mode.el (help-dir-local-var-def): New button type.
8606 * files.el (kill-buffer-hook): Provide a defvar.
8608 2012-08-05 Glenn Morris <rgm@gnu.org>
8610 * eshell/esh-ext.el (eshell/addpath):
8611 Also update eshell-path-env. (Bug#12013)
8613 2012-08-05 Chong Yidong <cyd@gnu.org>
8615 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8617 * fringe.el (fringe-styles): Add docstring.
8618 (fringe--check-mode): New function.
8619 (set-fringe-mode, set-fringe-style): Use it.
8620 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8622 * files.el (set-auto-mode): Fix invalid setq call.
8624 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8626 * isearch.el: Misc simplification; use defstruct.
8627 (isearch-mode-map): Dense maps now work like sparse ones.
8628 (isearch--state): New defstruct.
8629 (isearch-string-state, isearch-message-state, isearch-point-state)
8630 (isearch-success-state, isearch-forward-state)
8631 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8632 (isearch-wrapped-state, isearch-barrier-state)
8633 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8634 replaced by defstruct's accessors.
8635 (isearch--set-state): Rename from isearch-top-state and change
8637 (isearch-push-state): Use new isearch--get-state.
8638 (isearch-toggle-word): Disable regexp when enabling word.
8639 (isearch-message-prefix): Remove unused arg _c-q-hack.
8640 (isearch-message-suffix): Remove unused arg _ellipsis.
8642 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8644 * simple.el (list-processes--refresh): For a server use :host or
8645 :local as the address.
8646 (list-processes): Doc fix.
8648 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8650 * lisp/mpc.el: Support password in host argument.
8651 (mpc--proc-connect): Parse and use new password element.
8652 Set mpc-proc variable instead of returning process.
8653 (mpc-proc): Adjust accordingly.
8655 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8657 * whitespace.el (whitespace-display-mappings): Use Unicode
8658 codepoints, instead of emacs-mule codepoints. See
8659 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8662 * files.el (file-truename): Don't skip symlink-chasing part on
8663 windows-nt. Incorporate the resolution of 8+3 short aliases on
8664 Windows into the loop that recursively chases symlinks.
8665 Compare directory and its parent case-insensitively on MS-Windows and
8668 2012-08-03 Chong Yidong <cyd@gnu.org>
8670 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8672 * sort.el (sort-regexp-fields): Doc fix.
8674 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8676 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8677 labels regex position point at the expected place.
8679 2012-08-03 MON KEY <monkey@sandpframing.com>
8681 * net/imap.el (imap-interactive-login, imap-authenticate)
8682 (imap-mailbox-lsub, imap-mailbox-list)
8683 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8684 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8685 (imap-parse-response): Doc fix.
8687 2012-08-03 João Távora <joaotavora@gmail.com>
8689 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8690 if sexp scanning does not move point (Bug#5734).
8692 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8694 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8695 Add listings, minted, and ctable packages.
8696 (reftex-label-alist-builtin): Move listings, minted, and ctable
8697 entries before LaTeX.
8698 (reftex-label-alist): Docfix.
8700 2012-08-02 Bastien Guerry <bzg@gnu.org>
8702 * replace.el (occur): Fix docstring (bug#12122).
8704 2012-08-02 Glenn Morris <rgm@gnu.org>
8706 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8708 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8710 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8711 * international/mule-cmds.el: Create
8712 inactivate-current-input-method-function as an obsolete alias for
8713 deactivate-current-input-method-function. See Katsumi Yamaoka in
8714 <http://bugs.gnu.org/10150#46>.
8716 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8718 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8721 2012-08-01 Glenn Morris <rgm@gnu.org>
8723 * progmodes/autoconf.el (autoconf-definition-regexp):
8724 Add AH_TEMPLATE, adjust submatch numbering.
8725 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8726 (autoconf-current-defun-function): Update for above change.
8727 (autoconf-current-defun-function): First skip to end of current word.
8729 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8731 * calendar/cal-html.el (cal-html-insert-agenda-days):
8732 Fix typo. (Bug#12018)
8734 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8736 Shell processes: enhancements to startup and CEDET compatibility.
8737 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8738 (python-shell-make-comint): accept-process-output at startup.
8739 (run-python-internal): Set inferior-python-mode-hook to nil.
8740 (python-shell-internal-get-or-create-process): call sit-for.
8741 (python-preoutput-result): Add obsolete alias.
8742 (python-shell-internal-send-string): Use it.
8743 (python-shell-send-setup-code): Remove call to
8744 accept-process-output.
8746 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8748 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8751 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8753 * calc-mode.el (calc-basic-simplification-mode): Rename from
8754 `calc-limited-simplification-mode'.
8755 (calc-alg-simplification-mode): New function.
8756 (calc-set-simplify-mode): Adjust message.
8758 * calc.el (calc-set-mode-line): Adjust mode line display for
8759 basic simplification mode.
8761 * calc-help.el (calc-m-prefix-help): Update help message.
8763 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8764 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8766 2012-07-31 Bastien Guerry <bzg@gnu.org>
8768 * man.el (man): Fix comment. (bug#12101)
8770 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8772 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8773 Don't return a non-nil value when no suitable buffer was found.
8775 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8777 * progmodes/python.el (run-python-internal): Disable font lock for
8780 2012-07-30 Stefan Merten <smerten@oekonux.de>
8782 * textmodes/rst.el: Silence `checkdoc-ispell'.
8783 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8784 (rst-official-version, rst-official-cvs-rev)
8785 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8786 (rst-mode-map): New key binding.
8788 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8790 Update .PHONY listings in makefiles.
8791 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8792 autoloads, update-subdirs, updates, bzr-update, update-authors,
8793 compile-onefile, compile-calc, backup-compiled-files,
8794 compile-after-backup, compile-one-process, mh-autoloads,
8795 bootstrap-clean, distclean, maintainer-clean.
8797 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8799 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8800 (calc-set-mode-line): Don't display "AlgSimp ".
8802 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8803 (calc-lim-simplify-mode): New function.
8804 (calc-set-simplify-mode): Default to 'alg.
8805 (calc-default-simplify-mode): Make algebraic simplifications
8808 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8809 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8811 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8812 indicate new simplification modes.
8814 * calc/README: Mention new default simplification mode.
8816 * calc/calc.el (math-normalize-error): New variable.
8817 (math-normalize): Set `math-normalize-error' to t
8818 when there's an error.
8820 * calc/calc-alg.el (math-simplify): Don't simplify when
8821 `math-normalize' returns an error.
8823 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8825 * international/mule-cmds.el (set-locale-environment): Revert last
8826 change, since display-graphic-p returns nil when this function is
8827 called during startup. Instead...
8829 * term/w32console.el (terminal-init-w32console): ...setup the
8830 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8832 2012-07-29 Juri Linkov <juri@jurta.org>
8834 * simple.el (goto-line): Don't display default line number in the
8835 prompt because it should be displayed by `read-number' (bug#9952).
8836 Add the current line number to the defaults of `goto-line' to
8837 allow its easier modification by users with `M-n' (bug#9201).
8839 * subr.el (read-number): Support multiple default values like in
8840 other minibuffer reading functions. Replace `read' with
8841 `string-to-number' for consistency with `number-to-string'.
8843 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8845 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8846 * emulation/viper-init.el (viper-deactivate-input-method-action):
8847 Rename from viper-inactivate-input-method-action.
8848 (viper-deactivate-input-method):
8849 Rename from viper-inactivate-input-method.
8850 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8851 * international/mule-cmds.el (deactivate-input-method):
8852 Rename from inactivate-input-method.
8853 Also run input-method-deactivate-hook.
8854 (deactivate-current-input-method-function):
8855 Rename from inactivate-current-input-method-function.
8856 (input-method-deactivate-hook): New hook.
8857 (input-method-inactivate-hook): Mark obsolete.
8858 (inactivate-input-method): Mark obsolete.
8860 * international/quail.el (quail-activate):
8861 Also run quail-deactivate-hook.
8862 (quail-deactivate): Rename from quail-inactivate.
8863 * international/robin.el (robin-activate):
8864 Also run robin-deactivate-hook.
8865 (robin-deactivate): Rename from robin-inactivate.
8867 2012-07-29 Chong Yidong <cyd@gnu.org>
8869 * simple.el (indicate-copied-region): New function.
8870 (kill-ring-save): Split off from here.
8872 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8873 (kill-rectangle): Set deactivate-mark to t on read-only error.
8875 * register.el (copy-to-register, copy-rectangle-to-register):
8876 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8877 (append-to-register, prepend-to-register): Call indicate-copied-region.
8879 2012-07-29 Juri Linkov <juri@jurta.org>
8881 * simple.el (async-shell-command-buffer): New defcustom.
8882 (shell-command): Use it. (Bug#4719)
8884 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8886 * international/mule-cmds.el (set-locale-environment): In a
8887 console session on MS-Windows, set up keyboard and terminal
8888 encoding from the OEM codepage, not the ANSI codepage.
8891 2012-07-28 Chong Yidong <cyd@gnu.org>
8893 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8896 2012-07-28 Leo Liu <sdl.web@gmail.com>
8898 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8899 the alist (bug#12029).
8901 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8903 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8904 (compile-always, compile-first)
8905 ($(lisp)/calendar/cal-loaddefs.el)
8906 ($(lisp)/calendar/diary-loaddefs.el)
8907 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8908 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8909 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8910 instead of on update-subdirs.
8911 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8913 2012-07-28 Chong Yidong <cyd@gnu.org>
8915 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8916 directory if vc-deduce-backend returns nil (Bug#7350).
8918 * simple.el (delete-trailing-lines): New option.
8919 (delete-trailing-whitespace): Obey it (Bug#11879).
8921 2012-07-28 David Engster <deng@randomsample.de>
8923 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8924 Explanation of new 'symbol-qnames feature in doc-strings.
8925 (xml-maybe-do-ns): Return expanded names as plain symbols if
8926 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8927 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8929 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8931 Consistent completion in inferior python with emacs -nw.
8932 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8933 binding in inferior-python-mode-map with "\t".
8934 (python-shell-completion-complete-at-point)
8935 (python-completion-complete-at-point): Remove interactive spec.
8937 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8939 * calc/calccomp.el (math-compose-expr): Undo previous change.
8941 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8943 * progmodes/python.el (python-mode-map): Add keybinding for
8945 (python-shell-make-comint): Fix pop-to-buffer call.
8946 (run-python): Autoload. New arg SHOW.
8947 (python-shell-get-or-create-process): Do not pop python process
8950 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8952 * notifications.el (notifications-on-action-signal)
8953 (notifications-on-closed-signal): Use also the bus address for the map.
8954 (notifications-notify, notifications-close-notification)
8955 (notifications-get-capabilities): Add optional argument BUS.
8957 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8959 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8960 Add support for the lstlisting and minted environments, and for the
8962 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8963 labels written in keyvals syntax.
8965 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8967 * calc/calccomp.el (math-compose-expr): Use parentheses when
8968 there is a product in the denominator of a fraction.
8970 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8972 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8973 ($(lisp)/calendar/diary-loaddefs.el)
8974 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8975 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8976 Fixes failures in parallel bootstrap because subdirs.el is being
8977 rewritten while the autoload files are built at the same time,
8978 which needs to load subdirs.el.
8980 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8982 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8983 (mouse-drag-line): Don't exit tracking when a switch-frame or
8984 switch-window event occurs (Bug#12006).
8986 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * mouse.el (popup-menu): Fix last change.
8990 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8992 Autoload from Lisp with more care. Follow aliases when looking for
8993 function properties.
8994 * subr.el (autoloadp): New function.
8995 (symbol-file): Use it.
8996 (function-get): New function.
8997 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8999 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9000 (lisp-indent-function):
9001 * emacs-lisp/gv.el (gv-get):
9002 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9003 * emacs-lisp/byte-opt.el (byte-optimize-form):
9004 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9005 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9007 * emacs-lisp/cl.el: Don't propagate function properties any more.
9009 * speedbar.el (speedbar-add-localized-speedbar-support):
9010 * emacs-lisp/disass.el (disassemble-internal):
9011 * desktop.el (desktop-load-file):
9012 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9013 (describe-function-1):
9014 * emacs-lisp/find-func.el (find-function-noselect):
9015 * emacs-lisp/elp.el (elp-instrument-function):
9016 * emacs-lisp/advice.el (ad-has-proper-definition):
9017 * apropos.el (apropos-safe-documentation, apropos-macrop):
9018 * emacs-lisp/debug.el (debug-on-entry):
9019 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9020 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9021 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9023 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9025 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9026 function, not an obsolete variable (Bug#12046).
9028 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9030 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9032 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9034 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9035 window only if it is still live (Bug#12034).
9037 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9039 * subr.el (redirect-frame-focus): Add advertised calling
9040 convention (Bug#12030).
9042 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9044 Prefer typical American spelling for "acknowledgment".
9045 * vc/add-log.el (change-log-acknowledgment): Rename from
9046 change-log-acknowledgement, with an alias for the old name.
9048 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9050 * calc-alg.el (math-simplify-divide): Don't cross multiply
9051 in an equation when the lhs is a variable.
9053 2012-07-24 Julien Danjou <julien@danjou.info>
9055 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9058 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9060 * startup.el (command-line): Don't display an empty user name in
9061 the error message about non-existent home directory, when
9062 init-file-user was set to an empty string. See
9063 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9064 for the details and context.
9066 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9068 * ses.el (ses-cell-formula-aset): New macro.
9069 (ses-cell-references-aset): New macro.
9070 (ses-cell-p): New function.
9071 (ses-rename-cell): Do no longer rely on complex operations like
9072 ses-cell-set-formula or ses-set-cell to change the cell and handle
9073 the undo at the same time, but rather use lower level new macros
9074 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9075 the undo directly. Refresh the mode line.
9077 2012-07-21 Leo Liu <sdl.web@gmail.com>
9079 * progmodes/cc-cmds.el (c-defun-name):
9080 Use match-string-no-properties instead for consistency.
9082 2012-07-20 Leo Liu <sdl.web@gmail.com>
9084 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9087 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9089 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9091 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9092 * progmodes/bug-reference.el, misearch.el: Provide themselves
9095 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9096 of narrowed buffer (bug#11966).
9098 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9100 * ses.el (ses-rename-cell): Set new name also in reference list of
9101 cells of which the renamed cell depends.
9103 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9105 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9106 to check whether menu-bar is shown or not. If not shown,
9107 show the menu-bar as a popup menu instead of using tmm.
9108 * mouse.el (popup-menu): Accept `point' as `position' argument.
9110 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9112 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9113 up inside string symbol literal (bug#11923).
9115 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9117 * startup.el (fancy-startup-text): Read the whole tutorial, not
9118 just its first 256 bytes. Prevents gibberish in display of the
9121 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9123 Drop idle buffer compaction due to an absence of the
9125 * compact.el: Remove.
9127 2012-07-19 Sam Steingold <sds@gnu.org>
9129 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9130 vc-bzr-pull & vc-bzr-merge-branch.
9131 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9132 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9133 for consistency with compilation-error-regexp-alist.
9134 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9135 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9136 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9137 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9139 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * emacs-lisp/chart.el: Use lexical-binding.
9142 (chart-emacs-storage): Don't hardcode the list of entries.
9144 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9146 Next round of tweaks caused by Fgarbage_collect changes.
9147 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9149 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9151 Compact buffers when idle.
9152 * compact.el: New file.
9154 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * subr.el (eventp): Presume that if it looks vaguely like an event,
9157 it's an event (bug#10190).
9159 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9161 Enhancements to ppss related code (thanks Stefan).
9162 * progmodes/python.el (python-indent-context)
9163 (python-indent-calculate-indentation, python-indent-dedent-line)
9164 (python-indent-electric-colon, python-nav-forward-block)
9165 (python-mode-abbrev-table)
9166 (python-info-assignment-continuation-line-p): Simplify checks
9168 (python-info-continuation-line-p): Cleanup.
9169 (python-info-ppss-context): Do not catch 'quote.
9170 (python-info-ppss-context-type)
9171 (python-info-ppss-comment-or-string-p): Simplify.
9173 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9175 * progmodes/python.el: Enhancements to eldoc support.
9176 (python-info-current-symbol): New function.
9177 (python-eldoc-at-point): Use python-info-current-symbol.
9178 (python-info-current-defun): Fix cornercase on first defun scan.
9179 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9180 and signal error when no inferior python process is available.
9182 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9184 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9185 assume it's always t.
9186 (vc-git-registered): Remove caching, the function is only called
9188 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9190 2012-07-18 Chong Yidong <cyd@gnu.org>
9192 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9194 * simple.el (count-words): Report on narrowing (Bug#9959).
9196 * bindings.el: Bind M-= to count-words.
9198 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9200 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9202 * progmodes/sh-script.el (sh-imenu-generic-expression):
9203 Capture a function with `function' keyword and without parentheses
9204 like "function FOO" (bug#11856).
9206 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9208 * window.el (split-window-sensibly): Make WINDOW argument
9211 2012-07-18 Chong Yidong <cyd@gnu.org>
9213 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9215 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9216 and make C-x 8 RET exit isearch (Bug#11439).
9218 * international/iso-transl.el: Move isearch-mode-map key
9219 definitions to isearch.el.
9221 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9223 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9224 (eieio-defclass): Use gv-define-setter when possible.
9226 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9228 Reflect recent changes in Fgarbage_collect.
9229 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9230 reflect new format of data returned by Fgarbage_collect.
9232 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9234 New utility functions + python-info-ppss-context fix (Bug#11910).
9235 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9236 (python-info-ppss-comment-or-string-p): New functions.
9237 (python-info-ppss-context): Small fix for string check.
9239 2012-07-17 Juri Linkov <juri@jurta.org>
9241 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9242 (dired-do-async-shell-command): Don't add `*' at the end of the
9243 command (Bug#11815).
9244 (dired-do-shell-command): Doc fix.
9245 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9246 Join the individual commands using either "&" or ";" as the
9247 separator depending on the values of these trailing characters.
9248 At the end re-add the trailing "&". (Bug#10598)
9250 * simple.el (async-shell-command): Sync the interactive spec with
9251 `shell-command'. Doc fix.
9252 (shell-command): Doc fix.
9254 2012-07-17 Juri Linkov <juri@jurta.org>
9256 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9258 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9260 Final renames and doc fixes for movement commands (bug#11899).
9261 * progmodes/python.el (python-nav-beginning-of-statement):
9262 Rename from python-nav-statement-start.
9263 (python-nav-end-of-statement): Rename from
9264 python-nav-statement-end.
9265 (python-nav-beginning-of-block): Rename from
9266 python-nav-block-start.
9267 (python-nav-end-of-block): Rename from python-nav-block-end.
9269 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9271 * progmodes/python.el (python-shell-send-string-no-output):
9272 Allow accept-process-output to quit, keeping shell process ready for
9273 future interactions (Bug#11868).
9275 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9279 * emacs-lisp/elint.el (elint-find-args-in-code):
9280 Use help-function-arglist, so as to handle lexical byte-code.
9282 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9285 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9287 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9288 Avoid spuriously marking the buffer as modified because of c-is-sws.
9290 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9291 as not-a-comment (bug#11946).
9293 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9294 for uninterned vars.
9296 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9297 Use read-event since we don't really want to read chars but bytes.
9299 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9300 $$..$$ but also $..$ using regexps (bug#11953).
9301 Use tex-verbatim for \url and \path.
9302 (tex-font-lock-keywords): Define as defconst like the others.
9303 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9305 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9307 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9308 alias for insert-char.
9310 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9312 * progmodes/python.el: Simplified imenu implementation.
9313 (python-nav-jump-to-defun): Remove command.
9314 (python-mode-map): Use `imenu' instead.
9315 (python-nav-list-defun-positions-cache)
9316 (python-imenu-include-defun-type, python-imenu-make-tree)
9317 (python-imenu-subtree-root-label, python-imenu-index-alist):
9319 (python-nav-list-defun-positions, python-nav-read-defun)
9320 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9321 (python-imenu-make-tree, python-imenu-create-index):
9323 (python-mode): Update to interact with imenu by setting
9324 `imenu-extract-index-name-function' only.
9326 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9328 * progmodes/python.el: Enhancements to navigation commands.
9329 (python-nav-backward-sentence)
9330 (python-nav-forward-sentence): Remove.
9331 (python-nav-backward-statement, python-nav-forward-statement)
9332 (python-nav-statement-start, python-nav-statement-end)
9333 (python-nav-backward-block, python-nav-forward-block)
9334 (python-nav-block-start, python-nav-block-end)
9335 (python-nav-forward-sexp-function)
9336 (python-info-current-line-comment-p)
9337 (python-info-current-line-empty-p): New functions.
9338 (python-indent-context): Use `python-nav-statement-start'.
9340 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9342 * eshell/em-ls.el (eshell/ls): Use `apply'.
9344 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9345 multi-hops, instead of Tramp internals.
9347 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9349 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9350 when F1 and F2 are located on different hosts.
9352 2012-07-14 Chong Yidong <cyd@gnu.org>
9354 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9355 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9356 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9357 (xterm-mouse--read-event-sequence-1000)
9358 (xterm-mouse--read-event-sequence-1006): New functions. For old
9359 mouse protocol, handle M-mouse-X events correctly.
9360 (xterm-mouse-event): New arg specifying mouse protocol.
9361 (turn-on-xterm-mouse-tracking-on-terminal)
9362 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9363 sequence to toggle extended coordinates on newer XTerms.
9364 This appears to be harmless on terminals which do not support this.
9366 2012-07-14 Leo Liu <sdl.web@gmail.com>
9368 Add fringe bitmap indicators for flymake. (Bug#11253)
9369 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9370 (flymake-make-overlay): New arg BITMAP.
9371 (flymake-error-bitmap, flymake-warning-bitmap)
9372 (flymake-fringe-indicator-position): New user variables.
9374 * fringe.el: New bitmap exclamation-mark.
9376 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9378 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9381 2012-07-14 Chong Yidong <cyd@gnu.org>
9383 * electric.el (electric-pair-post-self-insert-function): Fix pair
9384 insertion in empty-region case (Bug#11520).
9386 2012-07-14 Chong Yidong <cyd@gnu.org>
9388 * bindings.el: Consolidate ctl-x-r-map bindings.
9389 Bind copy-rectangle-as-kill to C-x r w.
9391 * rect.el, register.el: Move bindings to bindings.el.
9393 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9395 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9397 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9399 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9401 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9403 * bindings.el (top): Use `mapc' instead of `mapcar'.
9405 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9407 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9409 * progmodes/sql.el (sql-comint): Suppress the check for program on
9410 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9413 2012-07-13 Chong Yidong <cyd@gnu.org>
9415 * bindings.el: Assign a non-nil permanent-local property to
9416 per-buffer variables which lack a default value (Bug#11930).
9418 * help-fns.el (describe-variable): In the "automatically becomes
9419 local" notice, take note of permanent-local variables.
9421 2012-07-13 Chong Yidong <cyd@gnu.org>
9423 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9424 to allow printing the message when called from Lisp.
9426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9427 Remove toggle-read-only.
9429 * bs.el (bs-toggle-readonly):
9430 * buff-menu.el (Buffer-menu-toggle-read-only):
9431 Remove with-no-warnings around toggle-read-only.
9433 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9434 Remove with-no-warnings around toggle-read-only.
9435 (ffap-read-only, ffap-read-only-other-window)
9436 (ffap-read-only-other-frame): Callers changed.
9438 * help-mode.el: Don't require view package.
9439 (help-mode-finish): Set buffer-read-only instead of calling
9442 * bindings.el (mode-line-toggle-read-only):
9443 * dired.el (dired-toggle-read-only):
9444 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9445 with non-nil second arg.
9447 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9448 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9451 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9453 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9456 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9458 More CL cleanups and reduction of use of cl.el.
9459 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9460 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9461 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9462 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9463 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9464 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9465 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9466 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9467 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9468 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9469 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9470 * eshell/em-cmpl.el, eshell/em-banner.el:
9471 * calendar/parse-time.el: Use cl-lib.
9472 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9473 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9474 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9475 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9476 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9477 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9478 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9479 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9480 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9481 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9482 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9483 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9484 `lambda' rather than with `quote'.
9485 (eshell-do-opt): Adjust accordingly.
9486 (eshell-process-option): Simplify.
9487 * eshell/esh-var.el:
9488 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9489 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9490 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9491 to `pcase--dontcare'.
9492 * emacs-lisp/cl.el (labels): Mark obsolete.
9493 (cl--letf, letf): Move to cl-lib.
9494 (cl--letf*, letf*): Remove.
9495 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9496 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9497 (cl-progv): Rewrite.
9498 (cl--letf, cl-letf): Move from cl.el.
9499 (cl-letf*): New macro.
9500 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9502 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9504 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9506 2012-07-11 Chong Yidong <cyd@gnu.org>
9508 * vc/log-edit.el (log-edit-vc-backend): New variable.
9509 (log-edit): Doc fix.
9511 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9512 argument of log-edit to set up all local variables.
9513 (vc-start-logentry): New optional arg specifying VC backend.
9515 * vc/vc.el (vc-checkin): Use it.
9516 (vc-deduce-fileset): Handle Log Edit buffers.
9517 (vc-diff): Make first argument optional too.
9519 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9521 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9523 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9524 command, just in case. The function is not needed anymore.
9525 (eshell-external-command): Do not call `eshell-remote-command'.
9527 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9529 Reduce use of (require 'cl).
9530 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9531 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9532 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9533 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9534 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9535 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9536 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9537 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9538 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9539 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9540 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9541 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9542 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9543 (byte-compile-unfold-bcf, byte-compile-check-variable):
9544 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9545 (byte-compile-nilconstp):
9546 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9547 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9549 * emacs-lisp/gv.el (cond): Make it a valid place.
9550 (if): Simplify slightly.
9552 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9553 (pcase--self-quoting-p): New function.
9554 (pcase--u1): Use it.
9556 2012-07-10 Glenn Morris <rgm@gnu.org>
9558 * emacs-lisp/authors.el (authors-fixed-entries):
9559 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9561 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9563 Rename configure.in to configure.ac (Bug#11603).
9564 * emacs-lisp/authors.el (authors-canonical-file-name):
9565 * progmodes/autoconf.el (autoconf-mode):
9566 Prefer configure.ac to configure.in.
9568 2012-07-08 Chong Yidong <cyd@gnu.org>
9570 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9571 Implement the mouse-1-click-follows-link handling properly.
9573 * info.el (Info-link-keymap): Use follow-link mechanism for
9574 header-line links (Bug#374).
9576 * simple.el (deactivate-mark): Do not set the primary selection
9577 if another program has acquired it (Bug#11772).
9579 2012-07-07 Kevin Ryde <user42@zip.com.au>
9581 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9582 (woman-decode-region): Replace escaped-escapes without destroying
9583 bold or underline (Bug#11552).
9584 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9586 2012-07-07 Chong Yidong <cyd@gnu.org>
9588 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9589 (interprogram-cut-function, interprogram-paste-function):
9590 Mention that we typically mean the clipboard.
9592 2012-07-06 Glenn Morris <rgm@gnu.org>
9594 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9596 * files.el (toggle-read-only): Restrict message to interactive use.
9598 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9600 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9602 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9604 2012-07-06 Glenn Morris <rgm@gnu.org>
9606 * Makefile.in (compile-one-process): Rename from "recompile".
9608 * Makefile.in (bzr-update): "compile" is the same as "recompile
9609 autoloads", but parallelizable, so use that instead.
9611 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9613 * window.el (quit-window): Always restore window height when
9614 it's saved in quit-restore parameter (Bug#11810).
9616 2012-07-06 Glenn Morris <rgm@gnu.org>
9618 * simple.el (kill-whole-line): Doc tweak.
9620 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9622 * files.el (file-relative-name): Compare file names
9623 case-insensitively if on MS-Windows or MS-DOS, or if
9624 read-file-name-completion-ignore-case is non-nil. Don't use
9625 case-fold-search for this purpose. (Bug#11827)
9627 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9629 * calendar/cal-dst.el (calendar-current-time-zone):
9630 Return calendar-current-time-zone-cache if non-nil.
9632 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9633 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9635 * calendar/cal-dst.el (calendar-current-time-zone):
9636 Return calendar-current-time-zone-cache if non-nil.
9638 2012-07-06 Glenn Morris <rgm@gnu.org>
9640 * Makefile.in (cvs-update): Remove old alias.
9642 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9644 Sync with Tramp 2.2.6-pre.
9646 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9647 compatible declaration.
9649 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9650 Protect `list-load-path-shadows' call.
9652 * net/tramp-compat.el (top): Require packages, which aren't
9653 autoloaded anymore for XEmacs. Protect call of
9654 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9655 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9656 it hurts at least for SXEmacs.
9657 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9658 standard-value for `temporary-file-directory'.
9660 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9661 Redirect stderr to /dev/null.
9662 (tramp-sh-handle-write-region): uid and gid can be floats.
9663 Reported by Russell Sim <russell.sim@gmail.com>.
9664 (tramp-sh-handle-vc-registered): Hide errors.
9665 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9666 and `start-file-process'.
9667 (tramp-maybe-open-connection): Check also whether `non-essential'
9670 2012-07-04 Chong Yidong <cyd@gnu.org>
9672 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9673 (xml-parse-tag): Likewise, and avoid changing entity tables.
9674 (xml-syntax-table): Define from scratch, making sure not to give
9675 x2000 and other Unicode spaces whitespace syntax, since those are
9677 (xml-parse-fragment): Delete unused function.
9678 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9679 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9680 (xml-entity-ref, xml-pe-reference-re)
9681 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9682 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9683 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9684 (xml-entity-value-re): Use syntax references in regexps where
9685 possible; no need to define inside a let-binding.
9686 (xml-parse-dtd): Use xml-pe-reference-re.
9687 (xml-entity-or-char-ref-re): New defconst.
9688 (xml-parse-string, xml-substitute-special): Use it.
9690 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9692 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9693 (find-file--read-only): New function.
9694 (find-file-read-only, find-file-read-only-other-window)
9695 (find-file-read-only-other-frame): Use it.
9696 (insert-file-contents-literally): Don't `fset'.
9697 (get-free-disk-space): Use locate-dominating-file.
9699 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9700 function is already compiled.
9702 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9704 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9706 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9707 files on the same host.
9709 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9711 * help-fns.el (describe-function-1): Only call
9712 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9714 2012-07-03 Chong Yidong <cyd@gnu.org>
9716 * xml.el: Protect parser against XML bombs.
9717 (xml-entity-expansion-limit): New variable.
9718 (xml-parse-string, xml-substitute-special): Use it.
9719 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9721 2012-07-03 Glenn Morris <rgm@gnu.org>
9723 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9724 Allow linking to specific messages in debbugs reports (eg 123#5).
9726 2012-07-02 Chong Yidong <cyd@gnu.org>
9728 * xml.el: Fix entity and character reference expansion, allowing
9729 them to expand into markup as per XML spec.
9730 (xml-default-ns): New variable.
9731 (xml-entity-alist): Use XML spec definitions for lt and amp.
9732 (xml-parse-region): Make first two arguments optional.
9733 Discard text properties.
9734 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9735 All callers changed.
9736 (xml-parse-tag): Call xml-parse-tag-1. For backward
9737 compatibility, this function should not modify buffer contents.
9738 (xml-parse-tag-1): Fix opening-tag regexp.
9739 (xml-parse-string): Rewrite, handling entity and character
9740 references properly.
9741 (xml--entity-replacement-text): Signal an error if a parameter
9742 entity is undefined.
9744 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * comint.el (comint-output-filter): Filter out repeated prompts.
9748 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9749 and file-name-absolute-p.
9750 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9753 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9756 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9757 Rename from byte-compile--refiy-function. All uses changed.
9759 2012-07-01 Chong Yidong <cyd@gnu.org>
9761 * xml.el (xml--parse-buffer): New function. Move most of
9762 xml-parse-region here.
9763 (xml-parse-region): Copy region into a temporary buffer, since
9764 parameter entity substitution requires changing buffer contents.
9765 Use xml--parse-buffer.
9766 (xml-parse-file): Use xml--parse-buffer.
9767 (xml-parse-dtd): Make parameter entity substitution work right.
9768 Use proper regexps for ELEMENT declarations (Bug#7172).
9770 2012-06-30 Glenn Morris <rgm@gnu.org>
9772 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9774 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9775 Remove outdated and unnecessary dbus declarations.
9777 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9779 * emacs-lisp/timer.el (timer-until): Subtract results of
9780 float-time, instead of taking float-time of the result of
9781 time-subtract, since float-time signals an error for negative time
9784 2012-06-30 Chong Yidong <cyd@gnu.org>
9786 * xml.el (xml-*-re): Convert defvars into defconsts, and
9787 eval-and-compile them so eval-and-compile works on derivatives.
9788 (xml--entity-replacement-text): Use eval-and-comple.
9790 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9792 * vc/vc-git.el (vc-git-registered): Use cache property
9794 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9795 `vc-git-working-revision' in order to benefit from the cache.
9796 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9798 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9800 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9801 removed (likely outside Emacs). (Bug#11757)
9803 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * emacs-lisp/cl-lib.el: Require macroexp.
9807 2012-06-30 Chong Yidong <cyd@gnu.org>
9809 * xml.el: Implement XML parameter entities.
9810 (xml-parameter-entity-alist): New variable.
9811 (xml-parse-region, xml-parse-fragment): Preserve previous values
9812 of xml-entity-alist and xml-parameter-entity-alist, so that
9813 repeated calls on different documents do not change them.
9814 (xml-parse-tag): Fix doctype regexp.
9815 (xml--entity-replacement-text): New function.
9816 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9817 properly requires url retrieval which is unimplemented.
9818 (xml-escape-string): Doc fix.
9820 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9824 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9826 * fringe.el (fringe-mode): Doc fix.
9828 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9830 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9832 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9833 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9835 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9837 * calendar/cal-dst.el (calendar-current-time-zone):
9838 Return calendar-current-time-zone-cache if non-nil.
9840 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9842 * progmodes/which-func.el (which-func-format):
9843 Add mouse-face. (Bug#11698)
9845 2012-06-29 Leo Liu <sdl.web@gmail.com>
9847 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9849 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * minibuffer.el (minibuffer-confirm-exit-commands):
9852 Add completion-at-point (bug#11725).
9854 2012-06-29 Glenn Morris <rgm@gnu.org>
9856 * progmodes/f90.el (f90-font-lock-keywords-2):
9857 Add some preprocessor elements. (Bug#10499)
9859 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9862 Use syntax-propertize (bug#11739).
9864 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9866 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9868 2012-06-28 Julien Danjou <julien@danjou.info>
9870 * term.el (term-handle-colors-array): Use a set of new faces to
9871 color the terminal. Also uses :inverse-video property.
9872 (term-default-fg-color): Set to nil by default, deprecate in favor
9874 (term-default-bg-color): Set to nil by default, deprecate in favor
9876 (term-current-face): Use `term-face' by default.
9877 (term-bold-attribute): Variable deleted.
9879 2012-06-28 Glenn Morris <rgm@gnu.org>
9881 * simple.el (completion-list-mode-finish):
9882 Don't use toggle-read-only. (Since completion-list-mode has
9883 a special mode-class, it wasn't doing anything extra anyway.)
9885 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9887 Make inlining of other-mode interpreted functions work (bug#11799).
9888 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9889 (byte-compile): Use it to fix compilation of lexical-binding closures.
9890 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9891 function, if needed.
9893 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * help-mode.el (help-make-xrefs): Don't just withstand
9896 cyclic-variable-indirection but any error in documentation-property.
9898 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9900 * bindings.el (bindings--define-key): New function.
9901 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9902 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9903 * bindings.el: Use it to purecopy define-key bindings.
9905 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9907 * emacs-lisp/cl.el (flet): Mark obsolete.
9908 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9909 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9910 * progmodes/js.el (js-c-fill-paragraph):
9911 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9912 (ebrowse-switch-member-buffer-to-derived-class):
9913 * play/5x5.el (5x5-solver): Use cl-flet.
9915 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9916 (cl--symbol-function): New macro.
9917 (cl--letf, cl--letf*): Use it.
9919 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9920 Strip "toggle-" if any.
9922 2012-06-27 Glenn Morris <rgm@gnu.org>
9924 * info.el (Info-default-directory-list): Move here from paths.el.
9925 * paths.el: Remove file, which is now empty.
9926 * loadup.el: No longer load "paths".
9928 * custom.el (custom-initialize-delay): Doc fix.
9930 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9931 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9932 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9933 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9934 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9935 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9936 * eshell/eshell.el (eshell-defgroup): Remove alias.
9938 2012-06-27 Chong Yidong <cyd@gnu.org>
9940 * help.el (help-enable-auto-load): New variable.
9942 * help-fns.el (help-fns--autoloaded-p): New function.
9943 (describe-function-1): Refer to a function as "autoloaded" if it
9944 was autoloaded at any time in the past. Perform autoloading if
9945 help-enable-auto-load is non-nil.
9947 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9949 * makefile.w32-in (compile, compile-always): Depend on
9950 update-subdirs, not on subdirs.el. Otherwise, several different
9951 sub-targets of 'bootstrap' running in parallel could
9952 simultaneously write to subdirs.el, producing a garbled file.
9954 2012-06-26 Sam Steingold <sds@gnu.org>
9956 * files.el (file-name-base): New convenience function.
9957 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9958 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9959 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9960 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9961 * textmodes/ispell.el, textmodes/reftex-ref.el:
9962 * textmodes/tex-mode.el: Use it.
9963 Did not touch cedet and org because they are maintained elsewhere.
9965 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9967 * calendar/calendar.el (calendar-exit): Don't try to delete or
9968 iconify last frame. See:
9969 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9971 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9973 * server.el (server-process-filter): Remember dir in the
9974 process's `server-client-directory' properties.
9976 2012-06-24 Chong Yidong <cyd@gnu.org>
9978 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9981 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9983 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9985 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * help-fns.el (describe-variable): Don't croak when doc is not found.
9988 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9989 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9990 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9991 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9992 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9994 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9996 2012-06-23 Chong Yidong <cyd@gnu.org>
9998 * info.el (Info-mouse-follow-link): Accept symbol values of
9999 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10000 (Info-fontify-node): Use Info-link-keymap for all navigation
10001 buttons, with link-args property to perform the desired action.
10002 (Info-link-keymap): Doc fix.
10003 (Info-next-link-keymap, Info-prev-link-keymap)
10004 (Info-up-link-keymap): Delete now-unused keymaps.
10006 2012-06-23 Chong Yidong <cyd@gnu.org>
10008 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10010 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10013 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10015 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10017 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10020 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10021 the requote function doesn't work properly (bug#11714).
10023 2012-06-23 Glenn Morris <rgm@gnu.org>
10025 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10027 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10029 Further GV/CL cleanups.
10030 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10032 (gv--defun-declaration): New function.
10033 (defun-declarations-alist): Use it.
10034 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10035 (gv-place): Autoload.
10036 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10037 original definition of dotimes and dolist.
10038 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10039 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10040 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10041 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10042 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10043 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10044 to the function's definition.
10045 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10049 * env.el: Don't use CL.
10051 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10053 Support higher-resolution time stamps (Bug#9000).
10055 * calendar/time-date.el (with-decoded-time-value): New arg
10056 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10057 (encode-time-value): New optional arg PICO. New type 3.
10058 (time-to-seconds) [!float-time]: Support the new picoseconds
10059 component if it's used.
10060 (seconds-to-time, time-subtract, time-add):
10061 Support ps-resolution time stamps as well.
10063 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10064 (timerp): Timer vectors now have length 9, not 8.
10065 (timer--time): Support new-style (4-part) time stamps.
10066 (timer-next-integral-multiple-of-time): Time stamps now have
10067 picosecond resolution, so take a bit more care about rounding.
10068 (timer-relative-time, timer-inc-time): New optional arg psecs.
10069 (timer-set-time-with-usecs): Set psecs to 0.
10070 (timer--activate): Check psecs component, too.
10072 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10074 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10077 Move the non-essential binding to the post/pre-command-hook where it is
10078 more obviously correct.
10080 * subr.el (read-passwd): Don't use a history at all.
10081 * savehist.el (savehist-save): Remove password saved accidentally
10082 because of the above bug.
10084 2012-06-22 Bastien Guerry <bzg@gnu.org>
10086 * files.el (toggle-read-only): Display a message telling whether
10087 the buffer is read-only or not (bug#11726).
10089 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10091 * emacs-lisp/gv.el: New file.
10092 * subr.el (push, pop): Extend to generalized variables.
10093 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10094 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10095 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10096 gv-define-simple-setter, and gv-define-expander.
10097 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10098 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10099 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10100 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10101 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10103 (cl-defstruct): Don't define setf-method any more.
10104 * emacs-lisp/cl.el (flet): Don't autoload.
10105 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10106 (define-setf-expander, defsetf, define-modify-macro)
10107 (cl-struct-setf-expander): Move from cl-lib.el.
10108 * emacs-lisp/syntax.el:
10109 * emacs-lisp/ewoc.el:
10110 * emacs-lisp/smie.el:
10111 * emacs-lisp/cconv.el:
10112 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10113 (timer--time): Use gv-define-simple-setter.
10114 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10115 to avoid coding-system problems in subr.el. Adjust all users.
10116 (macroexp--maxsize, macroexp-small-p): New functions.
10117 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10118 * scroll-bar.el (scroll-bar-mode):
10119 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10120 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10121 * winner.el (winner-configuration, winner-make-point-alist)
10122 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10123 * files.el (locate-file-completion-table): Avoid list*.
10125 2012-06-22 Chong Yidong <cyd@gnu.org>
10127 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10128 (dired-create-files): Doc fix (Bug#11329).
10129 (dired-do-copy): Doc fix (Bug#11334).
10130 (dired-mark-read-string): Doc fix (Bug#11553).
10132 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10133 Doc fix (Bug#11326).
10134 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10135 (dired-dwim-target): Doc fix.
10137 * wdired.el (wdired-mode): Doc fix.
10139 2012-06-22 Glenn Morris <rgm@gnu.org>
10141 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10142 (pcmpl-rpm-cache-stamp-file): New constant.
10143 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10144 (pcmpl-rpm-packages): Optionally cache list of packages.
10146 * pcmpl-rpm.el (pcmpl-rpm): New group.
10147 (pcmpl-rpm-query-options): New option.
10148 (pcmpl-rpm-packages): No need to inline it.
10149 Use pcmpl-rpm-query-options.
10151 * calendar/calendar.el (calendar-in-read-only-buffer):
10152 Avoid some needless mode changes.
10154 2012-06-21 Chong Yidong <cyd@gnu.org>
10156 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10157 (desktop-path): Remove . from the default value (Bug#10977).
10158 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10160 2012-06-20 Chong Yidong <cyd@gnu.org>
10162 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10164 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10166 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10169 2012-06-20 Chong Yidong <cyd@gnu.org>
10171 * term.el (term-window-width): Handle the case of a missing right
10173 (term-check-size): Use window-text-height (Bug#5445).
10174 (term-mode): Use define-derived-mode. Minor cleanups.
10175 Set font-lock-defaults (Bug#7692).
10176 (term-move-columns, term-insert-char, term-emulate-terminal)
10177 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10179 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10181 * net/ange-ftp.el (ange-ftp-get-passwd):
10182 Bind `enable-recursive-minibuffers'.
10183 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10185 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10187 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10189 2012-06-19 Glenn Morris <rgm@gnu.org>
10191 * progmodes/python.el (python-mode): Derive from prog-mode.
10193 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10195 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10196 (edt-user-menu-bar-update-buffers): New functions.
10197 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10199 2012-06-19 Chong Yidong <cyd@gnu.org>
10201 * subr.el (with-selected-window): Preserve the selected window's
10202 terminal's top-frame (Bug#4702).
10204 * window.el (save-selected-window): Likewise.
10206 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * progmodes/python.el (python-rx-constituents): Move backquote.
10209 (python-skeleton-define, python-define-auxiliary-skeleton):
10212 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10214 * minibuffer.el (read-file-name-default): Revert the patch from
10217 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10219 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10220 (pcase--u1, pcase--q1): Don't use apply-partially.
10222 2012-06-18 Glenn Morris <rgm@gnu.org>
10224 * progmodes/python.el (python-proc, python-buffer)
10225 (python-send-receive, python-send-string): Fix obsolete versions.
10227 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10229 * window.el (special-display-p): Completely remove stringp
10230 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10232 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10234 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10236 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10238 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10239 * net/tramp-sh.el (tramp-maybe-open-connection):
10240 Throw if `non-essential' is non-nil.
10242 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10244 * window.el (special-display-p): Signal an error if BUFFER-NAME
10245 is not a string (Bug#11713).
10247 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10249 * progmodes/python.el (python-info-beginning-of-backslash):
10250 Rename from python-info-beginning-of-backlash, as a spelling fix.
10252 2012-06-17 Chong Yidong <cyd@gnu.org>
10254 * term.el (term-emulate-terminal): If term-check-size is called,
10255 move point to the process mark without resetting point (Bug#4635).
10257 2012-06-17 Glenn Morris <rgm@gnu.org>
10259 * international/mule-cmds.el (mule-menu-keymap)
10260 (set-language-environment, set-locale-environment): Doc tweaks.
10262 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10264 * cus-face.el (custom-face-attributes): Add wave-style underline
10266 * faces.el (set-face-attribute): Update docstring to describe
10267 wave-style underline attribute.
10269 2012-06-16 Chong Yidong <cyd@gnu.org>
10271 * term/xterm.el (terminal-init-xterm): Discard input before
10272 querying background mode (Bug#10959).
10274 2012-06-16 Stefan Merten <smerten@oekonux.de>
10276 * textmodes/rst.el: Added and corrected some comments.
10277 (rst-re-alist-def): Improve symbol syntax.
10278 (rst-mode-syntax-table): Correct syntax entries.
10279 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10280 (rst-official-version, rst-official-cvs-rev): Update version
10283 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10285 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10286 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10288 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10290 * progmodes/python.el: New python.el merge.
10291 (python-guess-indent): Obsolete var.
10292 (python-indent-guess-indent-offset): New defcustom.
10293 (python-indent): Obsolete var.
10294 (python-indent-offset): New defcustom.
10295 (python-python-command, python-jython-command): Delete var.
10296 (python-shell-interpreter): New defcustom.
10297 (python-pdbtrack-do-tracking-p): Delete var.
10298 (python-pdbtrack-activate): New defcustom.
10299 (python-use-skeletons): Obsolete var.
10300 (python-skeleton-autoinsert): New defcustom.
10301 (inferior-python-filter-regexp, python-continuation-offset)
10302 (python-honour-comment-indentation, python-indent-string-contents)
10303 (python-jython-packages, python-mode-hook)
10304 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10305 (python-shell-prompt-alist)
10306 (python-source-modes): Delete defcustoms.
10307 (python-check-buffer-name, python-eldoc-setup-code)
10308 (python-eldoc-string-code, python-ffap-setup-code)
10309 (python-ffap-string-code, python-fill-comment-function)
10310 (python-fill-decorator-function, python-fill-paren-function)
10311 (python-fill-string-function, python-imenu-include-defun-type)
10312 (python-imenu-make-tree, python-imenu-subtree-root-label)
10313 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10314 (python-shell-compilation-regexp-alist)
10315 (python-shell-completion-module-string-code)
10316 (python-shell-completion-pdb-string-code)
10317 (python-shell-completion-setup-code)
10318 (python-shell-completion-string-code)
10319 (python-shell-enable-font-lock, python-shell-exec-path)
10320 (python-shell-extra-pythonpaths)
10321 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10322 (python-shell-process-environment)
10323 (python-shell-prompt-block-regexp)
10324 (python-shell-prompt-output-regexp)
10325 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10326 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10327 (python-shell-virtualenv-path): New defcustoms.
10328 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10329 (inferior-python-mode-syntax-table, python--prompt-regexp)
10330 (python-buffer, python-command python-python-command)
10331 (python-default-template, python-imports, python-indent-index)
10332 (python-indent-list, python-indent-list-length)
10333 (python-mode-running, python-pdbtrack-is-tracking-p)
10334 (python-preoutput-continuation, python-preoutput-leftover)
10335 (python-preoutput-result, python-preoutput-skip-next-prompt)
10336 (python-prev-dir/file, python-recursing)
10337 (python-saved-check-command, python-version-checked)
10338 (python-which-func-length-limit)
10339 (view-return-to-alist): Delete vars.
10340 (python-check-custom-command, python-dotty-syntax-table)
10341 (python-imenu-index-alist, python-indent-current-level)
10342 (python-indent-dedenters, python-indent-levels)
10343 (python-nav-beginning-of-defun-regexp)
10344 (python-nav-list-defun-positions-cache)
10345 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10346 (python-shell-internal-buffer)
10347 (python-skeleton-available): New vars.
10348 (def-python-skeleton): Delete macro.
10349 (python-skeleton-define): New macro.
10350 (python-define-auxiliary-skeleton, python-rx): New macros.
10351 (python-insert-class): Delete command.
10352 (python-skeleton-class): New command.
10353 (python-insert-def): Delete command.
10354 (python-skeleton-def): New command.
10355 (python-insert-for): Delete command.
10356 (python-skeleton-for): New command.
10357 (python-insert-if): Delete command.
10358 (python-skeleton-if): New command.
10359 (python-insert-try/except, python-insert-try/finally): Delete commands.
10360 (python-skeleton-try): New command.
10361 (python-insert-while): Delete command.
10362 (python-skeleton-while): New command.
10363 (python-backspace): Delete command.
10364 (python-indent-dedent-line-backspace): New command.
10365 (python-electric-colon): Delete command.
10366 (python-indent-electric-colon): New command.
10367 (python-guess-indent): Delete command.
10368 (python-indent-guess-indent-offset): New command.
10369 (python-shift-left): Delete command.
10370 (python-indent-shift-left): New command.
10371 (python-shift-right): Delete command.
10372 (python-indent-shift-right): New command.
10373 (python-find-function): Delete command.
10374 (python-nav-jump-to-defun): New command.
10375 (python-next-statement): Delete command.
10376 (python-nav-forward-sentence): New command.
10377 (python-previous-statement): Delete command.
10378 (python-nav-backward-sentence): New command.
10379 (python-fill-paragraph): Delete command.
10380 (python-fill-paragraph-function): New command.
10381 (python-send-buffer): Delete command.
10382 (python-shell-send-buffer): New command.
10383 (python-send-defun): Delete command.
10384 (python-shell-send-defun): New command.
10385 (python-send-region, python-send-region-and-go): Delete commands.
10386 (python-shell-send-region)
10387 (python-shell-switch-to-shell): New commands.
10388 (python-send-string): Delete command.
10389 (python-shell-send-string): New command.
10390 (python-switch-to-python): Delete command.
10391 (python-shell-switch-to-shell): New command.
10392 (python-describe-symbol): Delete command.
10393 (python-eldoc-at-point): New command.
10394 (python--set-prompt-regexp, python-args-to-list)
10395 (python-after-info-look, python-check-version)
10396 (python-check-comint-prompt, python-find-imports)
10397 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10398 (python-unload-function, python-expand-template)
10399 (python-maybe-jython, python-preoutput-filter)
10400 (python-pdbtrack-get-source-buffer)
10401 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10402 (python-pdbtrack-toggle-stack-tracking)
10403 (python-pdbtrack-track-stack-file, python-initial-text)
10404 (python-first-word, python-comment-line-p, python-send-command)
10405 (python-setup-brm, python-sentinel, python-set-proc)
10406 (python-skip-out, python-input-filter, python-outdent-p)
10407 (python-outline-level, python-backslash-continuation-line-p)
10408 (python-end-of-block, python-end-of-statement, python-mark-block)
10409 (python-beginning-of-block, python-beginning-of-statement)
10410 (python-blank-line-p, python-beginning-of-string)
10411 (python-open-block-statement-p): Delete functions.
10412 (python-indent-line, python-indent-line-1): Delete functions.
10413 (python-indent-line): New function.
10414 (python-indentation-levels): Delete function.
10415 (python-indent-calculate-levels): New function.
10416 (python-proc): Delete function.
10417 (python-shell-get-process): New function.
10418 (python-send-receive): Delete function.
10419 (python-shell-send-string-no-output): New function.
10420 (python-module-path): Delete function.
10421 (python-ffap-module-path): New function.
10422 (python-completion-at-point)
10423 (python-symbol-completions): Delete functions.
10424 (python-completion-complete-at-point): New function.
10425 (python-load-file): Delete function.
10426 (python-shell-send-file): New function.
10427 (python-calculate-indentation): Delete function.
10428 (python-indent-calculate-indentation): New function.
10429 (python-skip-comments/blanks): Delete function.
10430 (python-util-forward-comment): New function.
10431 (python-continuation-line-p): Delete function.
10432 (python-info-continuation-line-p): New function.
10433 (python-which-func, python-current-defun): Delete function.
10434 (python-info-current-defun): New function.
10435 (python-beginning-of-defun): Delete function.
10436 (python-nav-beginning-of-defun): New function.
10437 (python-close-block-statement-p)
10438 (python-block-end-p): Delete function.
10439 (python-info-closing-block): New function.
10440 (python-comint-output-filter-function)
10441 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10442 (python-fill-comment, python-fill-decorator, python-fill-paren)
10443 (python-fill-string, python-imenu-make-element-tree)
10444 (python-imenu-make-tree, python-imenu-tree-assoc)
10445 (python-indent-context, python-indent-dedent-line)
10446 (python-indent-line-function)
10447 (python-indent-post-self-insert-function)
10448 (python-indent-toggle-levels)
10449 (python-info-assignment-continuation-line-p)
10450 (python-info-beginning-of-backlash)
10451 (python-info-block-continuation-line-p)
10452 (python-info-closing-block-message)
10453 (python-info-line-ends-backslash-p)
10454 (python-info-looking-at-beginning-of-defun)
10455 (python-info-ppss-context, python-info-ppss-context-type)
10456 (python-nav-list-defun-positions, python-nav-read-defun)
10457 (python-nav-sentence-end, python-nav-sentence-start)
10458 (python-pdbtrack-comint-output-filter-function)
10459 (python-pdbtrack-set-tracked-buffer)
10460 (python-shell-calculate-exec-path)
10461 (python-shell-calculate-process-environment)
10462 (python-shell-completion--do-completion-at-point)
10463 (python-shell-completion--get-completions)
10464 (python-shell-completion-complete-at-point)
10465 (python-shell-completion-complete-or-indent)
10466 (python-shell-get-or-create-process)
10467 (python-shell-get-process-name)
10468 (python-shell-internal-get-or-create-process)
10469 (python-shell-internal-get-process-name)
10470 (python-shell-internal-send-string, python-shell-make-comint)
10471 (python-shell-parse-command, python-shell-send-setup-code)
10472 (python-skeleton-add-menu-items)
10473 (python-util-clone-local-variables, python-util-position)
10474 (run-python-internal, python-indentation-levels)
10475 (python-nav-beginning-of-defun)
10476 (python-completion-complete-at-point): New functions.
10477 (run-python): Change arguments. New API requirements.
10479 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10484 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10485 (macroexp--expand-all): Use it.
10487 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10488 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10489 Use `cl-function' instead.
10491 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10493 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10494 Suggested by Stefan Monnier while discussing bug#11657.
10496 2012-06-14 Sam Steingold <sds@gnu.org>
10498 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10500 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10502 * play/doctor.el (doctor-doc): Remove parameter and use
10503 doctor-sent instead of sent.
10504 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10506 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * files.el: Require cl-lib.
10509 (file-name-non-special): Replace case -> cl-case.
10511 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10513 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10514 mapping from #' to function*.
10516 2012-06-13 Chong Yidong <cyd@gnu.org>
10518 * mouse.el (mouse-drag-track): Do not set the mark if the user
10519 releases the mouse without selecting anything (Bug#11588).
10521 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10523 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10524 as well (bug#11646).
10526 * loadup.el: Count byte-code functions as well.
10528 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10529 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10531 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10532 (bug#11649). Add cl-defun and cl-defmacro.
10534 2012-06-13 Drew Adams <drew.adams@oracle.com>
10536 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10539 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10541 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10542 Otherwise, it blocks in batch mode.
10544 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10546 * help-mode.el (bookmark-make-record-default): Declare.
10548 2012-06-13 Chong Yidong <cyd@gnu.org>
10550 * emacs-lisp/package.el (list-packages): Compute a list of
10551 packages that are newly-available since the last list-packages
10553 (package-menu--new-package-list): New var.
10554 (package-menu--generate, package-menu--print-info)
10555 (package-menu--status-predicate, package-menu-mark-install):
10556 Handle new status label "new".
10558 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10560 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10561 conversion to backquotes.
10563 2012-06-12 Chong Yidong <cyd@gnu.org>
10565 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10566 Rename from gud-inhibit-global-bindings.
10568 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10570 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10571 hook from nxml-glyph-set-hook.
10573 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10576 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10578 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10579 Convert to defcustom.
10581 2012-06-12 Drew Adams <drew.adams@oracle.com>
10583 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10585 (help-mode): Use them.
10587 2012-06-11 Glenn Morris <rgm@gnu.org>
10589 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10590 Use preprocessor face for directives.
10591 (fortran-directive-re): Doc fix.
10593 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10596 conversion to backquotes (bug#11652).
10598 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10599 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10600 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10601 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10602 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10603 (cl-ninth, cl-tenth): Mark them as inlinable.
10604 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10605 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10606 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10607 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10608 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10609 (cl-list*, cl-adjoin): Don't put an autoload manually.
10610 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10611 (cl--compiler-macro-list*): Add autoload cookie.
10612 (cl--compiler-macro-cXXr): New function.
10614 * help-fns.el (help-fns--compiler-macro): New function extracted from
10615 describe-function-1; follow aliases and use `compiler-macro' property.
10616 (describe-function-1): Use it.
10618 2012-06-11 Chong Yidong <cyd@gnu.org>
10620 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10621 is uninstalled, if imagemagick is installed.
10623 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * emacs-lisp/cl-lib.el: Use lexical-binding.
10626 (cl-map-extents, cl-maclisp-member): Remove.
10627 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10628 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10629 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10630 * emacs-lisp/cl-extra.el: Use lexical-binding.
10631 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10632 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10633 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10634 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10635 * emacs-lisp/cl-seq.el: Use lexical-binding.
10636 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10637 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10638 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10639 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10640 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10643 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10645 Sync with Tramp 2.2.6-pre.
10647 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10648 `print-length' and `print-level' to nil, in order to avoid
10649 truncation. Reported by Christopher Schmidt
10650 <christopher@ristopher.com>.
10652 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10654 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10656 (tramp-compat-copy-directory): Add optional argument
10657 COPY-CONTENTS. It is not handled yet.
10659 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10660 (tramp-ftp-file-name-p): Simplify.
10662 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10663 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10666 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10667 (tramp-methods): Do not use `tramp-password-end-of-line'.
10668 (tramp-completion-function-alist-putty): Handle UNIX case.
10669 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10670 (tramp-do-file-attributes-with-stat)
10671 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10672 gid as real numbers. They could run out of integer range on cygwin.
10673 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10674 (tramp-sh-handle-expand-file-name): Handle hops.
10675 (tramp-open-connection-setup-interactive-shell):
10676 Use `tramp-cleanup'. Move check for busyboxes ...
10677 (tramp-find-shell): ... here. Simplify implementation.
10678 Set "remote-shell" property also for alternative shells.
10679 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10680 If failing, a regular file would be written otherwise.
10681 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10682 (tramp-find-inline-encoding): Cache the coding commands in the
10683 process cache. Apply test command on the remote side, if defined.
10684 (tramp-find-inline-compress): Cache the compress commands in the
10686 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10687 when requested. Handle hops.
10688 (tramp-current-connection): New defvar.
10689 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10690 Throw `suppress', if there was a failed connection shortly before.
10691 Handle user interrupt. (Bug#10187)
10692 (tramp-get-inline-compress, tramp-get-inline-coding):
10693 Read connection properties from the process cache.
10695 * net/tramp-smb.el (tramp-smb-server-version)
10696 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10698 (tramp-smb-prompt): Extend for powershell prompt.
10699 (tramp-smb-file-name-handler-alist): Add handlers for
10700 `process-file', `shell-command' and `start-file-process'.
10701 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10702 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10703 (tramp-smb-file-name-p): Simplify.
10704 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10705 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10706 (tramp-smb-shell-quote-argument): New defuns.
10707 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10708 Implement using "tar". By this, time-stamps are preserved.
10709 (tramp-smb-handle-copy-file): Handle also the case of directories.
10710 (tramp-smb-do-file-attributes-with-stat)
10711 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10712 Use `tramp-get-connection-buffer').
10713 (tramp-smb-handle-rename-file): Use "rename", when source and
10714 target are on the same share.
10715 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10716 Use `tramp-smb-server-version'.
10717 (tramp-smb-wait-for-output): Remove prompt.
10719 * net/tramp.el (top): Require 'cl.
10720 (tramp-methods, tramp-rsh-end-of-line):
10721 Remove `tramp-password-end-of-line' from docstring.
10722 (tramp-save-ad-hoc-proxies): New defcustom.
10723 (tramp-completion-function-alist): Adapt docstring.
10724 (tramp-default-password-end-of-line): Remove defcustom.
10725 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10726 (tramp-user-regexp, tramp-file-name-regexp-unified)
10727 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10728 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10729 (tramp-remote-file-name-spec-regexp): New defconst.
10730 (tramp-file-name-structure): Extend structure for hops.
10731 (tramp-get-method-parameter): Move up.
10732 (tramp-file-name-p, tramp-dissect-file-name)
10733 (with-parsed-tramp-file-name): Handle hops.
10734 (tramp-file-name-hop): New defun.
10735 (tramp-make-tramp-file-name): New optional arg HOP.
10736 (tramp-message-show-progress-reporter-message): New defvar.
10737 (tramp-with-progress-reporter): Use it. We cannot use
10738 `tramp-message-show-message' here, because this suppresses also
10740 (tramp-error-with-buffer): Suppress buffer view, if
10741 `tramp-message-show-message' is nil.
10742 Use `tramp-get-connection-buffer'.
10743 (tramp-cleanup): New defun.
10744 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10745 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10746 an error unchanged.
10747 (tramp-completion-handle-file-name-all-completions): Handle hops.
10748 Fix an error when called from ido.
10749 (tramp-completion-dissect-file-name): Use better local variable
10750 name. Add hop to the vector.
10751 (tramp-handle-insert-file-contents): Use progress-reporter for the
10753 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10755 (tramp-check-for-regexp): Simplify search.
10756 (tramp-enter-password): Remove it. Move implementation ...
10757 (tramp-action-password): ... here.
10758 (tramp-mode-string-to-int, tramp-local-host-p)
10759 (tramp-make-tramp-temp-file, tramp-read-passwd)
10760 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10761 Set tramp-autoload cookie.
10763 * net/trampver.el: Update release number.
10765 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10766 Michael Albinus <michael.albinus@gmx.de>
10768 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10769 (tramp-parse-group, tramp-parse-file)
10770 (tramp-parse-shostkeys-sknownhosts): New defuns.
10771 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10772 (tramp-parse-shosts-group, tramp-parse-sconfig)
10773 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10774 (tramp-parse-sknownhosts, tramp-parse-hosts)
10775 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10777 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10778 (tramp-parse-putty-group): Don't narrow.
10779 (tramp-parse-putty): Make a loop.
10780 (tramp-file-name-handler): Catch the `suppress' signal.
10782 2012-06-11 Chong Yidong <cyd@gnu.org>
10784 * image.el (imagemagick-register-types): Put the ImageMagick entry
10785 at the end of image-type-file-name-regexps.
10787 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10789 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10790 (pcase, pcase-let*, pcase-dolist): Use them.
10792 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * emacs-lisp/pcase.el (pcase--let*): New function.
10795 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10796 (pcase--expand): Use macroexp-let².
10798 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10801 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10802 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10803 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10804 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10805 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10807 2012-06-10 Glenn Morris <rgm@gnu.org>
10809 * mail/rmail.el (rmail-yank-current-message): Leave point at
10810 correct position. (Bug#11660)
10812 2012-06-10 Chong Yidong <cyd@gnu.org>
10814 * allout-widgets.el: Fix code header.
10816 2012-06-10 Chong Yidong <cyd@gnu.org>
10818 * cus-edit.el (customize-changed-options-previous-release):
10821 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10823 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10825 2012-06-09 Chong Yidong <cyd@gnu.org>
10827 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10829 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10831 * window.el (special-display-popup-frame): Don't use
10832 window--display-buffer (Bug#11651).
10834 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10836 Fix parallel builds: make sure loaddefs.el is not being written
10837 while Lisp files are compiled.
10838 (compile): Don't depend on 'mh-autoloads'.
10839 (compile-CMD, compile-SH): Depend on 'autoloads'.
10840 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10842 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10844 2012-06-09 Chong Yidong <cyd@gnu.org>
10846 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10847 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10848 Doc fixes (Bug#11225).
10850 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10852 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10853 a function if there's a clear indication that it has a compiler-macro.
10854 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10855 (macro-declarations-alist): Add arglist to declaration functions.
10856 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10857 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10858 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10859 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10860 Also add autoload to find the compiler macro.
10861 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10862 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10863 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10864 (cl--compiler-macro-get): New functions, replacing calls to
10865 cl-define-compiler-macro.
10866 (cl-typep) [compiler-macro]: Use macroexp-let².
10868 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10870 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10871 string properly, fixes Bug#11473.
10873 2012-06-08 Chong Yidong <cyd@gnu.org>
10875 * faces.el (set-face-attribute): Doc fix.
10876 (modify-face): Don't use :bold and :italic.
10877 (error, warning, success): Tweak definitions.
10879 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10880 (custom-modified, custom-set, custom-changed, custom-themed)
10881 (custom-saved, custom-button, custom-button-mouse)
10882 (custom-button-pressed, custom-state, custom-comment-tag)
10883 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10884 (custom-group-subtitle): Use new-style face specs.
10885 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10886 (custom-set-face, custom-changed-face, custom-saved-face)
10887 (custom-button-face, custom-button-pressed-face)
10888 (custom-documentation-face, custom-state-face)
10889 (custom-comment-face, custom-comment-tag-face)
10890 (custom-variable-tag-face, custom-variable-button-face)
10891 (custom-face-tag-face, custom-group-tag-face-1)
10892 (custom-group-tag-face): Remove obsolete face alias.
10894 * epa.el (epa-validity-high, epa-validity-medium)
10895 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10896 (epa-field-name, epa-field-body):
10897 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10898 (font-lock-keyword-face, font-lock-builtin-face)
10899 (font-lock-function-name-face, font-lock-variable-name-face)
10900 (font-lock-type-face, font-lock-constant-face):
10901 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10902 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10903 * speedbar.el (speedbar-button-face, speedbar-file-face)
10904 (speedbar-directory-face, speedbar-tag-face)
10905 (speedbar-selected-face, speedbar-highlight-face)
10906 (speedbar-separator-face):
10907 * whitespace.el (whitespace-newline, whitespace-space)
10908 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10909 (whitespace-line, whitespace-space-before-tab)
10910 (whitespace-space-after-tab, whitespace-indentation)
10911 (whitespace-empty):
10912 * emulation/cua-base.el (cua-global-mark):
10913 * eshell/em-prompt.el (eshell-prompt):
10914 * net/newst-plainview.el (newsticker-new-item-face)
10915 (newsticker-old-item-face, newsticker-immortal-item-face)
10916 (newsticker-obsolete-item-face, newsticker-date-face)
10917 (newsticker-statistics-face, newsticker-default-face):
10918 * net/newst-reader.el (newsticker-feed-face)
10919 (newsticker-extra-face, newsticker-enclosure-face):
10920 * net/newst-treeview.el (newsticker-treeview-face)
10921 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10922 (newsticker-treeview-immortal-face)
10923 (newsticker-treeview-obsolete-face)
10924 (newsticker-treeview-selection-face):
10925 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10926 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10927 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10928 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10929 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10930 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10931 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10933 * progmodes/vera-mode.el (vera-font-lock-number)
10934 (vera-font-lock-function, vera-font-lock-interface):
10935 * textmodes/table.el (table-cell): Use new-style face specs, and
10936 don't use the old :bold and :italic attributes.
10938 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10939 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10940 (ebrowse-member-class, ebrowse-progress): Likewise.
10941 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10942 (ebrowse-file-name-face, ebrowse-default-face)
10943 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10944 (ebrowse-progress-face): Remove obsolete faces.
10946 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10947 Inherit from error and warning faces respectively.
10949 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10951 (flyspell-incorrect-face, flyspell-duplicate-face):
10952 Remove obsolete aliases.
10954 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10956 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10959 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * startup.el (argv, argi): Make lexically scoped.
10962 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10963 * emacs-lisp/cl-macs.el: Use lexical-binding.
10964 Rename cl-bind-* to cl--bind-*.
10965 * files.el: Don't require `cl' since it doesn't use it.
10966 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10968 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10970 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10971 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10972 instead of calling external sort utility.
10973 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10975 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10977 * descr-text.el (describe-char): Mention how to insert the
10978 character, if the current input method doesn't support it.
10979 See the discussion in this thread for the details:
10980 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10982 2012-06-08 Sam Steingold <sds@gnu.org>
10984 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10985 XF86Back to previous-buffer.
10986 (minibuffer-local-map): Bind them to next-history-element and
10987 previous-history-element respectively.
10988 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10989 help-go-back respectively.
10990 * info.el (Info-mode-map): Bind them to Info-history-forward and
10991 Info-history-back respectively.
10992 These are the keys next to Up on the ThinkPad keyboard.
10994 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10996 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10997 * emacs-lisp/cl-macs.el: Provide itself.
10998 (cl--labels-convert-cache): New var.
10999 (cl--labels-convert): New function.
11000 (cl-flet, cl-labels): New implementation with new semantics, relying on
11002 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11003 (cl-closure-vars, cl--function-convert-cache)
11004 (cl--function-convert): Move from cl-macs.el.
11005 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11006 rename by removing the "cl-" prefix.
11007 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11009 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11012 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11013 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11014 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11015 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11016 (cl-hash-table-count): Add old compatibility aliases.
11018 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11019 Use macroexpand-all-environment instead.
11020 (cl--old-macroexpand): New var.
11021 (cl--sm-macroexpand): New function.
11022 (cl-symbol-macrolet): Use it during macro expansion.
11023 (cl--function-convert-cache): New var.
11024 (cl--function-convert): New function, extracted from
11025 cl-macroexpand-all.
11026 (cl-lexical-let): Use it.
11028 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11029 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11030 (cl-member): Remove old alias.
11032 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11033 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11034 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11035 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11036 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11037 (cl-macroexpand-cmacs): Remove var.
11038 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11039 Use macroexpand-all instead.
11041 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11043 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11044 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11045 (macroexp-copyable-p): New functions and macros.
11046 * emacs-lisp/edebug.el (edebug-unwrap):
11047 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11048 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11049 (pcase--let*): Remove.
11050 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11051 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11052 macroexp-const-p instead.
11053 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11055 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11056 instead of "cl-" for internal definitions. Use macroexp-const-p.
11057 (cl-old-bc-file-form): Remove var.
11058 (cl-const-exprs-p): Remove fun.
11059 (cl-labels, cl-macrolet): Use backquote.
11060 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11061 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11062 (cl-define-setf-expander): Rename from cl-define-setf-method.
11063 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11065 * international/mule-cmds.el: Don't require CL.
11066 (view-hello-file): Don't use `letf'.
11068 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * tmm.el (tmm-prompt): Use string-prefix-p.
11071 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11072 (tmm-add-prompt): Use minibuffer-completion-help.
11073 (tmm-delete-map): Remove.
11075 * subr.el (kbd): Make it its own function.
11077 2012-06-07 Stefan Merten <smerten@oekonux.de>
11079 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11080 Silence compiler warnings. Fix versions.
11081 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11082 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11083 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11084 (rst-package-emacs-version-alist): Correct Emacs version to
11085 represent major merge with upstream.
11086 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11088 2012-06-06 Glenn Morris <rgm@gnu.org>
11090 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11091 Only print environment variables if set.
11093 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11095 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11096 (macroexp--cons): Rename from maybe-cons.
11097 (macroexp--accumulate): Rename from macroexp-accumulate.
11098 (macroexp--all-forms): Rename from macroexpand-all-forms.
11099 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11100 (macroexp--expand-all): Rename from macroexpand-all-1.
11102 2012-06-06 Sam Steingold <sds@gnu.org>
11104 * calendar/calendar.el (calendar-in-read-only-buffer):
11105 Call `special-mode' to enable the standard read-only keybindings.
11107 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11110 with "loading" messages (bug#11635).
11112 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11114 * files.el (enable-remote-dir-locals): New option.
11115 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11117 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11118 Ensure, that the temp directory is local.
11120 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11121 `temporary-file-directory'.
11123 * progmodes/python.el (python-send-region): Ensure, that the
11124 temporary file is created also in the remote case.
11126 2012-06-06 Glenn Morris <rgm@gnu.org>
11128 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11129 (vc-rcs-update-changelog): Use it.
11131 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11133 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11134 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11135 (vc-sccs-diff): Replace use of the external vcdiff script.
11137 2012-06-05 Glenn Morris <rgm@gnu.org>
11139 * ledit.el: Move to obsolete/.
11141 2012-06-05 Sam Steingold <sds@gnu.org>
11143 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11146 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * emacs-lisp/cust-print.el: Move to obsolete.
11150 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11151 compiler-macro expansion.
11153 Add native compiler-macro support.
11154 * emacs-lisp/macroexp.el (macroexpand-all-1):
11155 Support compiler-macros directly. Properly follow aliases and apply
11156 the compiler macros more thoroughly.
11157 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11158 macroexpand now properly follows aliases.
11159 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11160 (cl-compiler-macroexpand): Use new prop.
11161 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11163 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11165 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11167 * window.el (get-lru-window, get-mru-window, get-largest-window):
11168 New argument NOT-SELECTED to avoid picking the selected window.
11169 (window--display-buffer-1, window--display-buffer-2): Replace by
11170 new function window--display-buffer
11171 (display-buffer-same-window, display-buffer-reuse-window)
11172 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11173 Use window--display-buffer.
11174 (display-buffer-use-some-window): Remove temporary dedication
11175 hack by calling get-lru-window and get-largest-window with
11176 NOT-SELECTED argument non-nil. Call window--display-buffer.
11178 2012-06-05 Glenn Morris <rgm@gnu.org>
11180 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11181 Replace external vcdiff script.
11183 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11185 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11187 2012-06-04 Chong Yidong <cyd@gnu.org>
11189 * image.el (imagemagick-types-inhibit): Revert last change.
11191 (imagemagick-enabled-types): Remove CIN and EPS*.
11193 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11195 * emacs-lisp/cl-lib.el: Rename from cl.el.
11196 * emacs-lisp/cl.el: New compatibility file.
11197 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11198 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11199 to obey the "cl-" prefix.
11200 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11202 2012-06-03 Glenn Morris <rgm@gnu.org>
11204 * emacs-lisp/authors.el (authors-aliases): Addition.
11206 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11209 2012-06-03 Stefan Merten <smerten@oekonux.de>
11211 * textmodes/rst.el: Add comments.
11212 (rst-transition, rst-adornment): New faces.
11213 (rst-adornment-faces-alist): Make default safe to reevaluate.
11215 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11216 Improve customization tags.
11217 (rst-define-level-faces): Clarify meaning.
11219 2012-06-03 Chong Yidong <cyd@gnu.org>
11221 * progmodes/compile.el (compilation-mode-line-fail)
11222 (compilation-mode-line-run, compilation-mode-line-exit):
11224 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11226 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11228 * progmodes/which-func.el (which-func-update-ediff-windows):
11229 New function. Use it in ediff-select-hook (Bug#11478).
11231 2012-06-03 Chong Yidong <cyd@gnu.org>
11233 * bindings.el: Remove explicit help text from format-mode-line.
11234 It is now supplied by mode-line-default-help-echo.
11235 (mode-line-front-space, mode-line-end-spaces)
11236 (mode-line-misc-info): New variables.
11237 (mode-line-modes, mode-line-position): Move the default value to
11238 the variable definition.
11239 (mode-line-default-help-echo): New defcustom.
11240 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11241 (mode-line-modified-help-echo): New functions.
11242 (mode-line-mule-info, mode-line-modified): Use them.
11243 (mode-line-eol-desc, propertized-buffer-identification):
11244 Consistency fixes for help text.
11245 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11246 set-buffer-file-coding-system (Bug#289).
11247 (mode-line-mule-info-help-echo): Update help text.
11249 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * simple.el (execute-extended-command): Set real-this-command
11254 2012-06-02 Chong Yidong <cyd@gnu.org>
11256 Remove incorrect uses of "modeline" in comments, docstrings, and
11257 function/variable names (Bug#10329).
11259 * cus-edit.el (mode-line):
11260 * dframe.el (dframe-mouse-hscroll):
11261 * emacs-lisp/re-builder.el:
11262 * emacs-lisp/easy-mmode.el (define-minor-mode):
11263 * frame.el (set-frame-name):
11264 * help.el (lookup-minor-mode-from-indicator):
11265 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11266 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11267 (c-toggle-hungry-state):
11268 * progmodes/antlr-mode.el (antlr-language-alist):
11269 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11270 * progmodes/vhdl-mode.el (vhdl-mode):
11271 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11272 * term/ns-win.el (ns-face-at-pos):
11273 * term/sup-mouse.el (sup-mouse-report):
11274 * textmodes/flyspell.el (flyspell-mode-line-string):
11275 * textmodes/ispell.el (ispell-highlight-face):
11276 * textmodes/reftex-global.el:
11277 * vc/vc-arch.el (vc-arch-mode-line-string):
11278 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11279 * vc/vc-git.el (vc-git-mode-line-string):
11280 * vc/vc-hooks.el (vc-display-status)
11281 (vc-default-mode-line-string):
11282 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11284 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11286 * dired.el (dired-sort-set-mode-line): Rename from
11287 dired-sort-set-modeline. All callers changed.
11289 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11290 eshell-status-in-modeline.
11292 * foldout.el (foldout-mode-line-string): Rename from
11293 foldout-modeline-string. All callers changed.
11294 (foldout-update-mode-line): Rename from foldout-update-modeline.
11296 * subr.el (redraw-modeline): Make into obsolete alias.
11298 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11299 timeclock-modeline-display. Make old name an alias.
11300 (timeclock-update-mode-line): Likewise. All callers changed.
11301 (timeclock-mode-line-display): No need to check before using
11303 (timeclock-relative, timeclock-day-over-hook)
11304 (timeclock-use-elapsed, timeclock-mode-string)
11305 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11307 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11308 crisp-mode-modeline-string.
11310 * play/solitaire.el (solitaire-build-mode-line): Rename from
11311 solitaire-build-modeline. All callers changed.
11313 * play/zone.el (zone-hiding-mode-line): Rename from
11314 zone-hiding-modeline. All callers changed.
11315 (zone): Remove unusued `modeline-hidden-level' property.
11317 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11318 xscheme-modeline-initialize. All callers changed.
11320 * strokes.el (strokes-lighter): Rename from
11321 strokes-modeline-string.
11323 * textmodes/sgml-mode.el (html-face-tag-alist)
11324 (html-tag-face-alist): Use mode-line face instead of obsolete
11327 2012-06-02 Stefan Merten <smerten@oekonux.de>
11329 * textmodes/rst.el: Always require `cl'.
11330 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11332 2012-06-02 Chong Yidong <cyd@gnu.org>
11334 * image.el (imagemagick-enabled-types): Rename from
11335 imagemagick-types-enable. Add many more types.
11336 (imagemagick-types-inhibit): Change default to nil.
11337 (imagemagick-filter-types): Caller changed.
11339 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * emacs-lisp/cl-macs.el: Use backquotes.
11342 (cl-transform-function-property): Use eval-and-compile rather than
11344 (defstruct): Use declare-function instead of with-no-warnings.
11346 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11347 (byte-compile-output-docform): Re-add the print-circle bindings.
11348 (byte-compile-fix-header): Use #$ just because it's shorter.
11349 (byte-compile-output-file-form): Remove defun/defmacro.
11351 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11353 * simple.el (choose-completion): Remove now obsolete binding for
11356 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11358 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11359 in order to avoid "Stack overflow in regexp matcher".
11361 2012-05-31 Glenn Morris <rgm@gnu.org>
11363 * image.el: For clarity, call imagemagick-register-types at
11364 top-level, rather than relying on a custom :initialize.
11365 (imagemagick-types-enable): New option. (Bug#11557)
11366 (imagemagick-filter-types): New function. (Bug#7406)
11367 (imagemagick-register-types): Use imagemagick-filter-types.
11368 If disabling support, remove elements altogether rather
11369 than using an impossible regexp.
11370 (imagemagick-types-inhibit): Give it the default init function.
11372 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11375 Handle arbitrary file name lengths (Bug#11585).
11377 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11379 * desktop.el (desktop-read): Clear previous and next buffers for
11380 all windows and bury *Messages* buffer (bug#11556).
11382 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11384 Add `declare' for `defun'. Align `defmacro's with it.
11385 * emacs-lisp/easy-mmode.el (define-minor-mode)
11386 (define-globalized-minor-mode): Don't autoload the var definitions.
11387 * emacs-lisp/byte-run.el: Use lexical-binding.
11388 (defun-declarations-alist, macro-declarations-alist): New vars.
11389 (defmacro, defun): Use them.
11390 (make-obsolete, define-obsolete-function-alias)
11391 (make-obsolete-variable, define-obsolete-variable-alias):
11393 (macro-declaration-function): Mark obsolete.
11394 * emacs-lisp/autoload.el: Use lexical-binding.
11395 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11397 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11399 * textmodes/ispell.el (ispell-with-no-warnings):
11401 (ispell-kill-ispell, ispell-change-dictionary):
11402 Use `called-interactively-p' for Emacs instead of obsolete
11405 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11408 (macro-declaration-function): Move var from C code.
11409 (macro-declaration-function): Define function with defalias.
11410 * emacs-lisp/macroexp.el (macroexpand-all-1):
11411 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11412 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11413 defun/defmacro any more.
11414 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11415 Provide fallback for unknown arglist.
11416 (byte-compile-arglist-warn): Change calling convention.
11417 (byte-compile-output-file-form): Move print-vars binding.
11418 (byte-compile-output-docform): Simplify accordingly.
11419 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11420 (byte-compile-defmacro-declaration): Remove.
11421 (byte-compile-file-form-defmumble): Generalize to defalias.
11422 (byte-compile-output-as-comment): Return byte-positions.
11423 Simplify callers accordingly.
11424 (byte-compile-lambda): Use `assert'.
11425 (byte-compile-defun, byte-compile-defmacro): Remove.
11426 (byte-compile-file-form-defalias):
11427 Use byte-compile-file-form-defmumble.
11428 (byte-compile-defalias-warn): Remove.
11430 2012-05-29 Stefan Merten <smerten@oekonux.de>
11432 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11433 possible. Fix authors. Improve comments. Improve loading of `cl'.
11435 (rst-mode-abbrev-table): Merge definition.
11436 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11437 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11439 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11441 * calendar/icalendar.el
11442 (icalendar-export-region): Export UID properly.
11444 2012-05-29 Leo Liu <sdl.web@gmail.com>
11445 * calendar/icalendar.el (icalendar-import-format):
11446 Add `icalendar-import-format-uid' (Bug#11525).
11447 (icalendar-import-format-uid): New.
11448 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11451 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11454 different alternative patterns.
11455 (pcase-codegen): Be more careful to preserve identity.
11456 (pcase--u1): Don't forget to mark vars as used.
11458 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11459 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11460 (byte-compile-from-buffer): ...rather than here.
11462 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11463 functions from byte-compile-function-environment.
11465 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11467 * window.el (window-deletable-p): Avoid deleting the root window
11468 of a frame with an active minibuffer.
11470 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11472 * simple.el (choose-completion): Use quit-window (Bug#11567).
11474 2012-05-29 Chong Yidong <cyd@gnu.org>
11476 * whitespace.el (whitespace-cleanup): Fix usage of
11477 whitespace-empty-at-bob-regexp (Bug#11492).
11479 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11481 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11482 revert (Bug#11488).
11484 2012-05-29 Juri Linkov <juri@jurta.org>
11486 * isearch.el (isearch-mode-map): Bind `M-s _' to
11487 `isearch-toggle-symbol'. Bind `M-s c' to
11488 `isearch-toggle-case-fold'.
11489 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11490 (isearch-forward): Add `M-s _' to the docstring.
11491 (isearch-forward-symbol, isearch-toggle-case-fold)
11492 (isearch-symbol-regexp): New functions. (Bug#11381)
11494 2012-05-29 Juri Linkov <juri@jurta.org>
11496 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11497 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11498 a function, call it to get the regexp.
11499 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11500 property `isearch-message-prefix' instead of the string "word ".
11501 (isearch-search-fun-default): For the case of `isearch-word',
11502 return a lambda that calls re-search-forward/re-search-backward
11503 with a regexp returned by `word-search-regexp' or by the function
11506 2012-05-29 Juri Linkov <juri@jurta.org>
11508 * isearch.el (isearch-search-fun-default): New function.
11509 (isearch-search-fun): Move default part to the new function
11510 `isearch-search-fun-default'.
11511 (isearch-search-fun-function): Set the default value to
11512 `isearch-search-fun-default'. (Bug#11381)
11514 * comint.el (comint-history-isearch-end):
11515 Use `isearch-search-fun-default'.
11516 (comint-history-isearch-search): Use `isearch-search-fun-default'
11517 and remove spacial case for `isearch-word'.
11518 (comint-history-isearch-wrap): Remove spacial case for
11521 * hexl.el (hexl-isearch-search-function):
11522 Use `isearch-search-fun-default'.
11524 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11525 Use `word-search-regexp' for `isearch-word'.
11527 * misearch.el (multi-isearch-search-fun):
11528 Use `isearch-search-fun-default'.
11530 * simple.el (minibuffer-history-isearch-search):
11531 Use `isearch-search-fun-default' and remove spacial case for
11533 (minibuffer-history-isearch-wrap): Remove spacial case for
11536 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11537 Remove spacial case for `isearch-word'.
11538 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11540 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11542 Decrease XEmacs incompatibilities.
11543 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11544 Use `string-match'.
11545 (flyspell-delete-region-overlays): Use alternative definition for
11547 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11548 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11549 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11550 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11551 `define-obsolete-face-alias' under XEmacs, but old method.
11553 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11554 `with-no-warnings' definition or Emacs alias.
11555 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11556 (ispell-word): Do not use `region-p' if XEmacs.
11558 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11560 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11561 Check for `ispell-dictionary-base-alist' instead of full
11562 `ispell-dictionary-alist'.
11563 (ispell-init-process): Show spellchecker when starting new Ispell
11566 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11568 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11569 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11571 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11573 * version.el (motif-version-string, gtk-version-string)
11574 (ns-version-string): Declare.
11576 2012-05-27 Juri Linkov <juri@jurta.org>
11578 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11579 after the `eval-defun-1' specialcaseing
11580 like in `edebug-eval-defun' (bug#10181).
11582 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11583 like in `eval-defun-1'.
11585 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11587 * mail/sendmail.el (mail-yank-region):
11588 Recognize rmail-yank-current-message in addition to insert-buffer.
11589 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11590 a *mail* buffer created through rmail-start-mail with sendmail as
11593 2012-05-27 Chong Yidong <cyd@gnu.org>
11595 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11596 Default to 256 (Bug#11267).
11598 * help.el (describe-mode): Doc fix.
11600 2012-05-26 Glenn Morris <rgm@gnu.org>
11602 * w32-fns.el (w32-init-info): Remove.
11603 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11605 * info.el (info-initialize): For self-contained NS builds, put the
11606 included info/ directory at the front. (Bug#2791)
11608 * paths.el (Info-default-directory-list): Make it a defcustom,
11609 mainly so that we can use custom-initialize-delay.
11611 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * subr.el (buffer-has-markers-at): Mark obsolete.
11615 * subr.el (lambda): Use declare.
11617 * emacs-lisp/lisp-mode.el (lambda):
11618 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11620 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11622 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11624 2012-05-26 Glenn Morris <rgm@gnu.org>
11626 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11628 2012-05-25 Glenn Morris <rgm@gnu.org>
11630 * paths.el: Remove no-byte-compile.
11631 * loadup.el: No need to load paths.el uncompiled.
11633 * image.el (imagemagick-types-inhibit): Doc fix.
11635 * version.el: Remove no-byte-compile and associated formatting.
11636 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11637 is ancient code from when there was an "inc-vers.el".
11639 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11641 * progmodes/gdb-mi.el: Minor style changes.
11642 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11643 Turn into minor modes.
11644 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11645 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11646 (gdb-shell): Remove unneeded let-binding.
11647 (gdb-get-many-fields): Eliminate O(n²) behavior.
11649 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11651 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11652 platforms that don't link in fontset.c.
11654 2012-05-25 Juri Linkov <juri@jurta.org>
11656 Use the same diff color scheme as in modern VCSes (bug#10181).
11658 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11659 to avoid confusion with `diff-added' that now uses green colors.
11660 (diff-removed): Use shades of red.
11661 (diff-added): Use shades of green.
11662 (diff-changed): Leave just the yellow color.
11663 (diff-use-changed-face): New variable.
11664 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11665 how to highlight context diff changes.
11666 (diff-refine-change): Use shades of yellow.
11667 (diff-refine-removed): New face that uses shades of red.
11668 (diff-refine-added): New face that uses shades of green.
11669 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11670 `diff-refine-removed' in the call to `smerge-refine-subst'
11671 depending on the value of `diff-use-changed-face'.
11673 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11674 (smerge-other): Use shades of green.
11675 (smerge-base): Use shades of yellow.
11676 (smerge-refined-change): Empty face.
11677 (smerge-refined-removed): New face that uses shades of red.
11678 (smerge-refined-added): New face that uses shades of green.
11679 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11680 args `props-r' and `props-a', and use them. Doc fix.
11681 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11682 on its value use different faces `smerge-refined-change',
11683 `smerge-refined-removed', `smerge-refined-added' in the call to
11684 `smerge-refine-subst'.
11686 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11687 Add face condition `min-colors 88' with shades of red.
11688 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11689 `min-colors 88' with shades of green.
11690 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11691 `min-colors 88' with shades of yellow.
11693 2012-05-24 Glenn Morris <rgm@gnu.org>
11695 * paths.el (prune-directory-list, remote-shell-program): Move to...
11696 * files.el (prune-directory-list, remote-shell-program): ...here.
11697 For the latter, delay initialization, prefer ssh, just search PATH.
11699 * paths.el (term-file-prefix): Move to faces.el (the only user).
11700 * faces.el (term-file-prefix): Move here, make it a defcustom.
11702 * paths.el (news-directory, news-path, news-inews-program):
11703 Move to gnus/nnspool.el.
11705 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11707 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11708 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11709 Make the latter a defcustom, with a delayed initialization.
11711 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11712 These were deleted from Gnus itself late 2010.
11714 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11716 * progmodes/which-func.el (which-func-ff-hook):
11717 Check against user-error, not error.
11719 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11720 cl-specs.el, which no longer exists.
11722 2012-05-22 Glenn Morris <rgm@gnu.org>
11724 * info.el (info-emacs-bug): New command.
11725 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11726 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11728 2012-05-21 Glenn Morris <rgm@gnu.org>
11730 * makefile.w32-in (update-subdirs-SH):
11731 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11733 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11735 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11737 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11738 Simplify Maven regexp, and make sure the file can't start with a space
11741 2012-05-21 Glenn Morris <rgm@gnu.org>
11743 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11744 Scrap superfluous subshells.
11746 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11748 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11749 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11751 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11753 * calc/calc.el (calc-ensure-consistent-units): New variable.
11755 * calc/calc-units.el (math-consistent-units-p)
11756 (math-check-unit-consistency): New functions.
11757 (calc-quick-units, calc-convert-units):
11758 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11760 (calc-extract-units): Fix typo.
11762 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11764 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11766 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11767 (flyspell-default-deplacement-commands): Don't spell check after
11768 repeated window/frame switches (e.g. triggered by mouse-movement).
11769 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11770 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11771 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11772 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11773 Remove unused vars.
11774 (flyspell-get-casechars, flyspell-get-not-casechars):
11775 Simplify; Don't bother removing a ] just to add it back.
11776 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11778 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11780 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11782 (math-function-table): Add support for more C functions.
11784 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11786 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11787 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11788 Protect delay handling for otherchars against empty otherchars.
11790 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11792 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11793 their respective macro declarations.
11794 * skeleton.el (define-skeleton):
11795 * progmodes/compile.el (define-compilation-mode):
11796 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11797 (define-ibuffer-filter):
11798 * emacs-lisp/generic.el (define-generic-mode):
11799 * emacs-lisp/easy-mmode.el (define-minor-mode)
11800 (define-globalized-minor-mode):
11801 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11802 * emacs-lisp/byte-run.el (defsubst):
11803 * custom.el (deftheme): Add doc-string metadata.
11805 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11809 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11813 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11814 * emacs-lisp/cl-macs.el: Idem.
11815 * emacs-lisp/cl-specs.el: Remove.
11817 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11819 Minor renaming of internal CL functions and variables.
11820 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11821 (cl--position): Rename from cl-position.
11822 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11823 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11824 (cl--random-state): Rename from *random-state*.
11826 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11828 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11829 parens around the arg list (bug#11499).
11831 2012-05-17 Juri Linkov <juri@jurta.org>
11833 * isearch.el (word-search-regexp, word-search-backward)
11834 (word-search-forward, word-search-backward-lax)
11835 (word-search-forward-lax): Move functions from search.c
11836 (bug#10145, bug#11381).
11838 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11840 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11841 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11842 Delay for otherchars as for normal word components.
11844 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * minibuffer.el (completion--sifn-requote): Fix last change.
11847 (minibuffer-local-must-match-filename-map):
11848 Move define-obsolete-variable-alias before its var.
11850 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11852 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11854 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11856 (completion--string-equal-p): New function.
11857 (completion--twq-all): Use it to get better assertion failure data.
11859 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11860 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11861 (shell--requote-argument): New functions.
11862 (shell-completion-vars): Use them.
11863 (shell--parse-pcomplete-arguments): Rename from
11864 shell-parse-pcomplete-arguments.
11865 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11866 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11867 Obey comint-file-name-quote-list.
11869 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11870 (smie-indent-keyword): Use it.
11872 2012-05-14 Stefan Merten <smerten@oekonux.de>
11874 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11876 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11878 * net/rlogin.el (rlogin-mode-map): Fix last change.
11880 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11882 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11883 the following \r\n using a single `process-send-string', since the
11884 Lotus SMTP server refuses to accept any commands if they are sent
11885 with two `process-send-string's (Bug#11444).
11887 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11889 * shell.el (shell-parse-pcomplete-arguments):
11890 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11892 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11894 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11895 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11896 (image-transform-width, image-transform-fit-width): New functions.
11897 (image-transform-properties): Use them.
11898 (image-transform-check-size): New function.
11899 (image-toggle-display-image): Use it (for testing).
11900 (image-transform-set-rotation): Reduce angle mod 360.
11901 Delete obsolete comment.
11903 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11905 * image-mode.el: Fix scaling (bug#11399).
11906 (image-transform-resize): Doc fix.
11907 (image-transform-properties): Default scale is 1 and height should
11910 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11912 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11913 than hard-coding `car', to fix misbehavior when moving forward.
11915 2012-05-13 Chong Yidong <cyd@gnu.org>
11917 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11918 (tabulated-list-entries, tabulated-list-padding)
11919 (tabulated-list-sort-key): Make permanent-local.
11921 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11922 (electric-buffer-list): Put electric buffer menu
11923 command descriptions in this docstring, instead of the docstring
11924 of electric-buffer-menu-mode. Code cleanups.
11925 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11926 Electric-buffer-menu-mode.
11927 (electric-buffer-update-highlight): Minor code cleanup.
11929 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11931 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11934 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11936 Move define-obsolete-variable-alias before the var's definition.
11937 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11938 * tooltip.el (tooltip-hook):
11939 * textmodes/reftex-toc.el (reftex-toc-map):
11940 * textmodes/reftex-sel.el (reftex-select-label-map)
11941 (reftex-select-bib-map):
11942 * textmodes/reftex-index.el (reftex-index-map)
11943 (reftex-index-phrases-map):
11944 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11945 * progmodes/meta-mode.el (meta-mode-map):
11946 * novice.el (disabled-command-hook):
11947 * loadhist.el (unload-hook-features-list):
11948 * frame.el (blink-cursor):
11949 * files.el (find-file-not-found-hooks, write-file-hooks)
11950 (write-contents-hooks):
11951 * emulation/tpu-edt.el (GOLD-map):
11952 * emacs-lock.el (emacs-lock-from-exiting):
11953 * emacs-lisp/generic.el (generic-font-lock-defaults):
11954 * emacs-lisp/chart.el (chart-map):
11955 * dos-fns.el (register-name-alist):
11956 * dired-x.el (dired-omit-files-p):
11957 * desktop.el (desktop-enable):
11958 * cus-edit.el (custom-mode-hook):
11959 * buff-menu.el (buffer-menu-mode-hook):
11960 * bookmark.el (bookmark-read-annotation-text-func)
11961 (bookmark-exit-hooks):
11962 * allout.el (allout-mode-deactivate-hook)
11963 (allout-exposure-change-hook, allout-structure-added-hook)
11964 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11965 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11966 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11967 comes before the corresponding variable's definition.
11969 2012-05-12 Chong Yidong <cyd@gnu.org>
11971 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11972 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11973 (Buffer-menu-mode-map): Bind it.
11974 (Buffer-menu--pretty-name): Add a mouse-face property.
11976 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11978 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11979 (prolog-upper-case-string, prolog-lower-case-string)
11980 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11981 (prolog-use-smie, prolog-smie-grammar): New vars.
11982 (prolog-smie-forward-token, prolog-smie-backward-token)
11983 (prolog-smie-rules): New funs.
11984 (prolog-comment-indent): Remove.
11985 (prolog-mode-variables): Use default comment indentation instead.
11987 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11988 (prolog-mode): Don't call them any more.
11989 (prolog-electric-colon, prolog-electric-dash)
11990 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11992 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11994 * minibuffer.el (completion--twq-all): Again, allow case differences.
11996 * term.el: Move keymap initialization code to be more idiomatic.
11997 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11998 (term-terminal-menu): Move initialization into declaration.
11999 (term-escape-char): Let the user set it in her .emacs.
12001 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12002 Provide SMIE-based indentation (not enabled by default yet).
12003 (sh-mode-map): Don't bind electric keys.
12004 Use electric-pair-mode instead of skeleton-pair.
12005 (sh-assignment-regexp): Fit within 80 columns.
12006 (sh-indent-supported): Specify actual shell name instead of boolean.
12007 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12008 (sh-maybe-here-document): Use it. Make obsolete.
12009 (sh-electric-here-document-mode) New minor mode.
12010 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12011 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12012 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12013 (sh-smie-rc-grammar, sh-use-smie): New vars.
12014 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12015 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12016 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12017 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12018 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12019 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12020 (sh-set-shell): Use smie-setup if requested.
12022 * term.el (term-set-escape-char): Properly set term-escape-char.
12023 See http://stackoverflow.com/questions/10524656.
12025 2012-05-10 Chong Yidong <cyd@gnu.org>
12027 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12028 Use url-generic-parse-url, and handle host names and Windows
12029 filenames properly.
12030 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12031 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12032 URL schemes to work on.
12033 (ffap--toggle-read-only): New function.
12034 (ffap-read-only, ffap-read-only-other-window)
12035 (ffap-read-only-other-frame): Use it.
12036 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12037 necessary for ffap-url-unwrap-remote.
12039 2012-05-10 Dave Abrahams <dave@boostpro.com>
12041 * cus-start.el (create-lockfiles): Add it.
12043 2012-05-09 Chong Yidong <cyd@gnu.org>
12045 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12046 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12048 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12052 2012-05-09 Chong Yidong <cyd@gnu.org>
12054 * ansi-color.el (ansi-color-process-output): Check for validity of
12055 comint-last-output-start before using it. This avoids a bad
12056 interaction with gdb-mi's input/output buffer.
12058 2012-05-09 Glenn Morris <rgm@gnu.org>
12060 * files.el (dir-locals-read-from-file):
12061 Mention dir-locals in any error message.
12063 2012-05-09 Chong Yidong <cyd@gnu.org>
12065 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12066 package (Bug#11410).
12068 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12069 variables into description.
12071 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12073 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12074 shell-delimiter-argument-list (bug#11348).
12075 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12077 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12079 * textmodes/rst.el: Silence byte-compiler warnings.
12080 (rst-re-alist, rst-reset-section-caches): Move around.
12081 (rst-re): Use `characterp', not `char-valid-p'.
12082 (font-lock-beg, font-lock-end): Declare.
12084 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12085 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12087 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12089 2012-05-08 Glenn Morris <rgm@gnu.org>
12091 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12093 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * vc/log-edit.el: Add GNU coding standards highlighting.
12096 (log-edit-font-lock-gnu-style)
12097 (log-edit-font-lock-gnu-keywords): New vars.
12098 (log-edit-font-lock-keywords): New fun.
12099 (log-edit-mode): Don't fold case in font-lock.
12100 (log-edit-font-lock-keywords): Do not assume case-folding.
12102 * imenu.el: Misc cleanup. Make docstrings out of comments.
12103 Use lexical-binding.
12104 (imenu--index-alist, imenu--last-menubar-index-alist)
12105 (imenu-menubar-modified-tick): Use defvar-local.
12106 (imenu--split-menu): Remove unused var.
12107 (imenu--cleanup-seen): Declare as global.
12108 (imenu--cleanup): Use dolist.
12110 * subr.el (defvar-local): Add debug spec and doc-string position.
12112 2012-05-08 Glenn Morris <rgm@gnu.org>
12114 * language/burmese.el, language/cham.el, language/czech.el:
12115 * language/english.el, language/georgian.el, language/greek.el:
12116 * language/japanese.el, language/khmer.el, language/korean.el:
12117 * language/lao.el, language/misc-lang.el, language/romanian.el:
12118 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12119 * language/thai.el, language/utf-8-lang.el:
12120 Remove no-byte-compile setting.
12122 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12124 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12126 * progmodes/make-mode.el (makefile-browse):
12127 Remove unnecessary interactive. (Bug#11324)
12129 2012-05-07 Glenn Morris <rgm@gnu.org>
12131 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12133 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12135 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12137 * loadup.el: Preload newcomment.el.
12138 * newcomment.el: Move autoload-only code to toplevel.
12140 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12141 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12142 Handle new :right-align column property.
12143 (tabulated-list-print-col): Idem, plus use `display' text-property to
12144 try and preserve alignment for variable pitch fonts.
12146 2012-05-07 Chong Yidong <cyd@gnu.org>
12148 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12149 (tabulated-list-use-header-line): New var.
12150 (tabulated-list-init-header): Use it.
12151 (tabulated-list-print-fake-header): New function.
12152 (tabulated-list-print): Use it.
12153 (tabulated-list-sort-button-map): Add non-header-line commands.
12154 (tabulated-list-init-header): Add column name property to basic
12156 (tabulated-list-col-sort): Handle non-header-line button case.
12157 (tabulated-list--sort-by-column-name): Fix a corner case.
12159 * buff-menu.el (list-buffers--refresh):
12160 Handle Buffer-menu-use-header-line.
12162 2012-05-06 Chong Yidong <cyd@gnu.org>
12164 * buff-menu.el: Convert to Tabulated List mode.
12165 (Buffer-menu-buffer+size-width): Make obsolete.
12166 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12167 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12168 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12169 documentation into docstring of buffer-menu.
12170 (Buffer-menu-toggle-files-only): Add an informative message.
12171 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12172 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12173 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12174 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12175 (Buffer-menu-execute, Buffer-menu-select)
12176 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12177 (Buffer-menu-bury): Use Tabulated List machinery.
12178 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12179 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12181 (list-buffers--refresh): New function.
12182 (list-buffers-noselect): Use it.
12183 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12184 (Buffer-menu--pretty-file-name): New helper functions.
12186 * loadup.el: Preload tabulated-list.
12188 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12189 tabulated-list-sort-column.
12190 (tabulated-list-init-header): Add the initial aligning space even
12191 if tabulated-list-padding is zero.
12193 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12195 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12196 whose cdr is not a cons cell correctly (bug#11038).
12198 2012-05-06 Chong Yidong <cyd@gnu.org>
12200 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12201 Accept additional plist in column descriptors.
12202 (tabulated-list-init-header): Obey it.
12203 (tabulated-list-get-entry): New function.
12204 (tabulated-list-put-tag): Use it. Use string-width instead of
12206 (tabulated-list--column-number): New function.
12207 (tabulated-list-print): Use it.
12208 (tabulated-list-print-col): New function.
12209 Set `tabulated-list-column-name' property on each column's text.
12210 (tabulated-list-print-entry): Use it.
12211 (tabulated-list-delete-entry, tabulated-list-set-col):
12213 (tabulated-list-sort-column): New command (Bug#11337).
12215 * buff-menu.el (list-buffers): Move C-x C-b binding from
12216 buff-menu.el to bindings.el.
12218 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12219 :advertised-binding feature.
12221 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12223 * progmodes/compile.el (compilation-internal-error-properties):
12224 Calculate start position correctly when end-col is set but
12225 end-line is not (Bug#11382).
12227 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12229 * man.el (Man-unindent): Use text-property-default-nonsticky to
12230 prevent untabify from inheriting face properties (Bug#11408).
12232 2012-05-05 Stefan Merten <smerten@oekonux.de>
12234 * textmodes/rst.el: Major merge with upstream development up to
12235 Docutils SVN r7399 / rst.el V1.2.1.
12237 Clarify maintainership and authors.
12239 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12240 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12241 (rst-official-version, rst-official-cvs-rev, rst-version)
12242 (rst-package-emacs-version-alist): New functions and variables
12243 for version information.
12245 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12246 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12247 (rst-mode-syntax-table, rst-mode): New and corrected functions
12248 and variables representing reStructuredText features.
12250 (rst-re): New function for reStructuredText regexes. Use in
12253 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12254 (rst-mode-map): Rebind keys.
12256 (rst-mode-lazy, rst-font-lock-keywords)
12257 (rst-font-lock-extend-region)
12258 (rst-font-lock-extend-region-internal)
12259 (rst-font-lock-extend-region-extend)
12260 (rst-font-lock-find-unindented-line-limit)
12261 (rst-font-lock-find-unindented-line-match)
12262 (rst-adornment-level, rst-font-lock-adornment-level)
12263 (rst-font-lock-adornment-match)
12264 (rst-font-lock-handle-adornment-pre-match-form)
12265 (rst-font-lock-handle-adornment-matcher): Major revision of
12266 font-locking. Integrate with other code. Use `jit-lock-mode'.
12268 (rst-preferred-adornments, rst-adjust-hook)
12269 (rst-new-adornment-down, rst-preferred-bullets)
12270 (rst-preferred-bullets, rst-indent, rst-indent-width)
12271 (rst-indent-field, rst-indent-literal-normal)
12272 (rst-indent-literal-minimized, rst-indent-comment): Change,
12273 extend and improve customization.
12275 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12276 (rst-normalize-cursor-position, rst-get-decoration)
12277 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12278 (rst-rstrip, rst-toc-insert-find-delete-contents)
12279 (rst-shift-fill-region, rst-compute-bullet-tabs)
12280 (rst-debug-print-tabs, rst-debug-mark-found)
12281 (rst-shift-region-guts, rst-shift-region-right)
12282 (rst-shift-region-left, rst-use-char-classes)
12283 (rst-font-lock-keywords-function)
12284 (rst-font-lock-indentation-point)
12285 (rst-font-lock-find-unindented-line-begin)
12286 (rst-font-lock-find-unindented-line-end)
12287 (rst-font-lock-find-unindented-line)
12288 (rst-font-lock-adornment-point, rst-font-lock-level)
12289 (rst-adornment-level-alist): Remove functions and variables.
12291 (rst-compare-adornments, rst-get-adornment-match)
12292 (rst-suggest-new-adornment, rst-get-adornments-around)
12293 (rst-adornment-complete-p, rst-get-next-adornment)
12294 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12295 (rst-straighten-adornments): Standardize function names to
12296 use "adornment" instead of "decoration". Correct callers.
12297 Similar standardizing in many places.
12299 (rst-update-section, rst-adjust, rst-promote-region)
12300 (rst-enumerate-region, rst-bullet-list-region)
12301 (rst-repeat-last-character): Correct use of `interactive'.
12303 (rst-classify-adornment, rst-find-all-adornments)
12304 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12305 (rst-find-leftmost-column, rst-repeat-last-character):
12306 Refactor functions.
12308 (rst-find-title-line, rst-reset-section-caches)
12309 (rst-get-adornments-around, rst-adjust-adornment-work)
12310 (rst-arabic-to-roman, rst-roman-to-arabic)
12311 (rst-insert-list-pos, rst-insert-list-new-item)
12312 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12315 (rst-all-sections, rst-section-hierarchy)
12316 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12319 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12320 configuration instead of only buffer. Change where necessary.
12322 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12323 (rst-shift-region, rst-adaptive-fill): New functions for
12324 indentation and filling.
12326 (rst-comment-line-break, rst-comment-indent)
12327 (rst-comment-insert-comment, rst-comment-region)
12328 (rst-uncomment-region): New functions for handling comments.
12330 (rst-compile): Quote shell arguments.
12332 (rst-compile-pdf-preview, rst-compile-slides-preview):
12333 Delete temporary files after use.
12335 2012-05-05 Glenn Morris <rgm@gnu.org>
12337 * calendar/cal-html.el: Optionally include holidays in the output.
12338 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12339 (cal-html-holidays): New option.
12340 (cal-html-css-default): Add holiday entry.
12341 (holiday-in-range): Autoload it.
12342 (cal-html-htmlify-entry): Add optional class argument.
12343 (cal-html-htmlify-list): Add optional holidays argument.
12344 (cal-html-insert-agenda-days): Include holidays in the output.
12345 (cal-html-one-month): Maybe include holidays.
12347 * calendar/holidays.el (holiday-in-range):
12348 Move here from cal-tex-list-holidays.
12349 * calendar/cal-tex.el (cal-tex-list-holidays):
12350 Make it an obsolete alias for holiday-in-range. Update all callers.
12352 2012-05-05 Chong Yidong <cyd@gnu.org>
12354 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12357 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12359 * files.el (file-auto-mode-skip): New var.
12360 (set-auto-mode-1): Use it.
12362 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12364 * repeat.el: Use lexical-binding.
12365 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12366 (repeat-undo-count): Remove.
12368 * progmodes/octave-mod.el (octave-abbrev-start):
12369 * progmodes/f90.el (f90-abbrev-start):
12370 * face-remap.el (text-scale-adjust):
12371 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12373 * emacs-lisp/pcase.el (pcase--let*): New function.
12374 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12376 (pcase--split-pred): Be more clever about ruling out overlap between
12377 a predicate and some constant pattern.
12378 (pcase--q1): Use `null' instead of (eq foo nil).
12380 * subr.el (setq-local, defvar-local): New macros.
12381 (kbd): Redefine as an alias.
12382 (with-selected-window): Leave unrelated frames alone.
12383 (set-temporary-overlay-map): New function.
12385 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * subr.el (user-error): New function.
12388 * window.el (switch-to-buffer):
12389 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12390 (smerge-match-conflict):
12391 * simple.el (previous-matching-history-element)
12392 (next-matching-history-element, goto-history-element, undo-more)
12394 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12395 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12396 (next-file, tags-loop-scan, list-tags, complete-tag):
12397 * progmodes/compile.el (compilation-loop):
12398 * mouse.el (mouse-minibuffer-check):
12399 * man.el (Man-bgproc-sentinel, Man-goto-page):
12400 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12401 (Info-history-forward, Info-follow-reference, Info-menu)
12402 (Info-extract-menu-item, Info-extract-menu-counting)
12403 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12404 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12405 (Info-next-reference, Info-prev-reference, Info-index)
12406 (Info-index-next, Info-follow-nearest-node)
12407 (Info-copy-current-node-name):
12408 * imenu.el (imenu--make-index-alist)
12409 (imenu-default-create-index-function, imenu-add-to-menubar):
12410 * files.el (basic-save-buffer, recover-file):
12411 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12412 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12413 (checkdoc-message-text, checkdoc-defun):
12414 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12415 * cus-edit.el (customize-changed-options, customize-rogue)
12416 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12417 (custom-variable-mark-to-reset-standard)
12418 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12420 * completion.el (check-completion-length):
12421 * comint.el (comint-search-arg)
12422 (comint-previous-matching-input-string-position)
12423 (comint-previous-matching-input)
12424 (comint-replace-by-expanded-history-before-point, comint-send-input)
12425 (comint-copy-old-input, comint-backward-matching-input)
12426 (comint-goto-process-mark, comint-set-process-mark):
12427 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12428 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12430 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * dabbrev.el (dabbrev--ignore-case-p): New function.
12433 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12436 * files.el (automount-dir-prefix): Mark as obsolete.
12438 2012-05-04 Glenn Morris <rgm@gnu.org>
12440 * patcomp.el, play/bruce.el: Move to obsolete/.
12442 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12444 Fix minor Y10k bugs.
12445 * arc-mode.el (archive-unixdate):
12446 * autoinsert.el (auto-insert-alist):
12447 * calc/calc-forms.el (math-this-year):
12448 * emacs-lisp/copyright.el (copyright-current-year)
12449 (copyright-update-year, copyright):
12450 * tar-mode.el (tar-clip-time-string):
12451 * time.el (display-time-update):
12452 Don't assume years have 4 digits.
12454 2012-05-04 Chong Yidong <cyd@gnu.org>
12456 * dos-w32.el (file-name-buffer-file-type-alist)
12457 (direct-print-region-use-command-dot-com):
12458 * ffap.el (ffap-menu-regexp):
12459 * find-file.el (ff-special-constructs):
12460 * follow.el (follow-debug):
12461 * forms.el (forms--debug):
12462 * iswitchb.el (iswitchb-all-frames):
12463 * ido.el (ido-all-frames):
12464 * emacs-lisp/timer.el (timer-max-repeats):
12465 * mail/feedmail.el (feedmail-mail-send-hook)
12466 (feedmail-mail-send-hook-queued):
12467 * mail/footnote.el (footnote-signature-separator):
12468 * mail/mailabbrev.el (mail-alias-separator-string)
12469 (mail-abbrev-mode-regexp):
12470 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12471 * progmodes/idlwave.el (idlwave-libinfo-file)
12472 (idlwave-default-completion-case-is-down)
12473 (idlwave-library-routines): Convert defvars to defcustoms.
12475 * mail/rmail.el (rmail-decode-mime-charset):
12476 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12477 (idlwave-shell-fix-inserted-breaks)
12478 (idlwave-shell-activate-alt-keybindings)
12479 (idlwave-shell-use-breakpoint-glyph):
12480 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12482 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12486 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12488 * progmodes/verilog-mode.el (font-lock-keywords):
12489 Fix mis-highligting auto. Reported by Craig Barner.
12490 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12491 defines from global name space. Reported by Dan Dever.
12492 (verilog-auto-reset, verilog-auto-reset-widths)
12493 (verilog-auto-tieoff): Support using unbased numbers for
12494 AUTORESET and AUTOTIEOFF.
12495 (verilog-submit-bug-report): Update variable list.
12496 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12497 parenthesis from not matching. Reported by Michael Rytting.
12498 (verilog-auto-template-lint): Fix hash error when linting modules
12499 with no used templates.
12500 (verilog-warn, verilog-warn-error)
12501 (verilog-warn-fatal): When non-interactive report multiple
12502 warnings before exiting. Suggested by Brad Dobbie.
12503 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12504 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12505 to report unused template errors. Reported by Brad Dobbie.
12506 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12507 nets, bug438. Reported by Vns Blore.
12508 (verilog-auto-inout-module, verilog-auto-reg)
12509 (verilog-read-decls, verilog-read-sub-decls-sig)
12510 (verilog-signals-edit-wire-reg, verilog-signals-with):
12511 Fix passing of Verilog data types in ANSI input/output ports
12512 such as "output logic" into the AUTOs. Special case "wire" and
12513 "reg" for backwards compatibility presuming Verilog 2001.
12514 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12515 (verilog-preprocess): Fix replication of preprocess output.
12516 Reported by Brad Dobbie.
12517 (verilog-auto-inst-interfaced-ports):
12518 Create verilog-auto-inst-interfaced-ports, bug429.
12519 Reported by Julian Gorfajn.
12520 (verilog-after-save-font-hook)
12521 (verilog-before-save-font-hook): New variable.
12522 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12523 (verilog-save-font-mods): Wrap disabling fontification, reported
12525 (verilog-do-indent, verilog-pretty-declarations-auto)
12526 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12527 Reported by Pierre-David Pfister.
12528 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12529 of class declarations, bug292. Reported by Kevin Heilman.
12530 (verilog-read-decls): Fix 'parameter type' not appearing in
12531 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12532 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12533 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12534 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12535 Reported by David Kravitz.
12537 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12539 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12540 assignment with tests in ifs and for loops.
12541 (verilog-extended-complete-re, verilog-complete-reg): Change so
12542 that DPI inport functions don't look like fuction declarations.
12543 (verilog-pretty-expr): Don't line up assignment
12544 operations to the test and increment in if and for loops
12545 (verilog-extended-complete-re, verilog-complete-reg): Change so
12546 that DPI inport functions don't look like fuction declarations.
12548 2012-05-03 Kenichi Handa <handa@m17n.org>
12550 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12551 decoding, and show a warning message without signaling an error
12554 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * emacs-lisp/bytecomp.el
12557 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12558 since cconv.el might have introduced :fun-body, internal-make-closure,
12559 and friends for bytecomp to handle (bug#11391).
12560 * custom.el (defcustom): Avoid ((λ ..) ..).
12562 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12564 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12566 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12568 * notifications.el (dbus-debug):
12569 * term/linux.el (gpm-mouse-enable):
12570 * term/screen.el (xterm-register-default-colors): Declare.
12572 2012-05-02 Chong Yidong <cyd@gnu.org>
12574 * cus-start.el (gc-cons-percentage, exec-suffixes)
12575 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12576 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12577 (make-cursor-line-fully-visible, void-text-area-pointer)
12578 (font-list-limit): Add customization data.
12580 * allout.el (allout-exposure-change-functions)
12581 (allout-structure-added-functions)
12582 (allout-structure-deleted-functions)
12583 (allout-structure-shifted-functions): Rename abnormal hooks from
12584 *-hook, and convert to defcustoms.
12585 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12586 Convert to defcustoms.
12587 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12589 * allout-widgets.el: Hook callers changed.
12591 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12593 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12594 the yanked message in preference to the default value of
12595 buffer-file-coding-system.
12597 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12599 * window.el (display-buffer--action-function-custom-type):
12602 2012-05-02 Alan Mackenzie <acm@muc.de>
12604 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12606 2012-05-01 Glenn Morris <rgm@gnu.org>
12608 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12610 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12612 * cus-edit.el (custom-variable-documentation): Simplify with format.
12614 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12615 Stefan Monnier <monnier@iro.umontreal.ca>
12617 * simple.el (suggest-key-bindings, execute-extended-command):
12618 Move from keyboard.c.
12620 2012-05-01 Chong Yidong <cyd@gnu.org>
12622 * follow.el: Eliminate advice.
12623 (set-process-filter, process-filter, sit-for): Advice deleted.
12624 (follow-mode-off-hook): Obsolete hook removed.
12625 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12627 (follow-auto): Use a :set function.
12628 (follow-mode): Rewritten. Don't advise process filters.
12629 (follow-switch-to-current-buffer-all, follow-scroll-up)
12630 (follow-scroll-down): Assume follow-mode is bound.
12631 (follow-comint-scroll-to-bottom)
12632 (follow-align-compilation-windows): New functions.
12633 (follow--window-sorter): New function.
12634 (follow-all-followers): Use it to explicitly sort windows by their
12635 positions; don't make assumptions about next-window order.
12636 (follow-windows-start-end, follow-delete-other-windows-and-split)
12637 (follow-calc-win-start): Doc fix.
12638 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12639 vertical-motion unnecessarily.
12640 (follow-adjust-window): New function.
12641 (follow-post-command-hook): Use it.
12642 (follow-call-set-process-filter, follow-call-process-filter)
12643 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12644 (follow-stop-intercept-process-output, follow-generic-filter):
12646 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12647 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12648 New functions, replacing advice on scroll-bar-* commands.
12649 (follow-mwheel-scroll): New function (Bug#4112).
12651 * comint.el (comint-adjust-point): New function.
12652 (comint-postoutput-scroll-to-bottom): Use it.
12653 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12655 2012-05-01 Glenn Morris <rgm@gnu.org>
12657 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12658 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12659 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12660 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12661 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12662 Remove no-byte-compile setting.
12664 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12666 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12667 all-completions code to not return a number in the last cdr.
12669 2012-04-30 Leo Liu <sdl.web@gmail.com>
12671 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12674 2012-04-29 Chong Yidong <cyd@gnu.org>
12676 * follow.el (follow-calc-win-end): Rewrite to handle partial
12677 screen lines correctly (Bug#8390).
12678 (follow-avoid-tail-recenter): Minor cleanup.
12680 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12682 Avoid the obsolete `assoc' package.
12683 * speedbar.el (speedbar-refresh): Avoid adelete.
12684 (speedbar-file-lists): Simplify and avoid aput.
12685 * man.el (Man--sections, Man--refpages): New vars, replacing
12686 Man-sections-alist and Man-refpages-alist.
12687 (Man-build-section-alist, Man-build-references-alist):
12688 Use them; avoid aput.
12689 (Man--last-section, Man--last-refpage): New vars.
12690 (Man-follow-manual-reference): Use them.
12691 Use the `default' arg of completing-read.
12692 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12694 2012-04-27 Chong Yidong <cyd@gnu.org>
12696 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12698 * startup.el (x-apply-session-resources): New function.
12700 * term/ns-win.el (ns-initialize-window-system):
12701 * term/w32-win.el (w32-initialize-window-system):
12702 * term/x-win.el (x-initialize-window-system): Use it to properly
12703 set menu-bar-mode and other vars from X resources, even if the
12704 initial frame is not a window-system frame (Bug#2299).
12706 * subr.el (read-key): Avoid running filter function when setting
12707 up temporary tool bar entries (Bug#9922).
12709 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12711 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12714 2012-04-27 Chong Yidong <cyd@gnu.org>
12716 * select.el (xselect--encode-string): New function, split from
12717 xselect-convert-to-string.
12718 (xselect-convert-to-string): Use it.
12719 (xselect-convert-to-filename, xselect-convert-to-os)
12720 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12721 returned strings are properly encoded (Bug#11315).
12723 2012-04-27 Chong Yidong <cyd@gnu.org>
12725 * simple.el (delete-active-region): Move to killing custom group.
12727 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12729 * progmodes/which-func.el (which-func-current): Quote %
12730 characters for mode-line processing.
12732 2012-04-27 Chong Yidong <cyd@gnu.org>
12734 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12735 reaching eob (Bug#11286).
12737 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12739 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12740 (gdb): Make it buffer-local and init to zero.
12741 (gdb-control-commands-regexp): New variable.
12742 (gdb-send): Don't wrap in "-interpreter-exec console" if
12743 gdb-control-level is positive. Increment gdb-control-level
12744 whenever the command matches gdb-control-commands-regexp, and
12745 decrement it each time the command is "end". (Bug#11279)
12747 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12749 * window.el (adjust-window-trailing-edge, enlarge-window)
12750 (shrink-window, window-resize):
12751 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12752 windows (Bug#11276).
12754 2012-04-27 Chong Yidong <cyd@gnu.org>
12756 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12757 fix "missing prefix" warning. All callers changed.
12759 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * emacs-lisp/assoc.el: Move to obsolete/.
12763 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12765 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12767 * term/ns-win.el (ns-define-service):
12768 * progmodes/pascal.el (pascal-goto-defun):
12769 * progmodes/js.el (js--read-tab):
12770 * progmodes/etags.el (tags-lazy-completion-table):
12771 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12772 * emacs-lisp/ewoc.el (ewoc--wrap):
12773 * emacs-lisp/assoc.el (aput, adelete, amake):
12774 * doc-view.el (doc-view-convert-current-doc):
12775 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12777 2012-04-26 Chong Yidong <cyd@gnu.org>
12779 * image.el (image-type-from-buffer): Only return supported image
12782 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12783 value, for symmetry with diff-end-of-hunk.
12784 (diff-split-hunk, diff-find-source-location)
12785 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12786 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12787 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12788 compute the relevant hunk or file properly (Bug#6005).
12789 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12791 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * vc/vc.el: Replace lexical-let by lexical-binding.
12801 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12802 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12803 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12805 2012-04-26 Chong Yidong <cyd@gnu.org>
12807 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12808 (diff-mode-shared-map): Bind it to / and [remap undo].
12810 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12811 (ediff-window-setup-function): Use it as the default, to set up
12812 windows based on whether the current frame is graphical (Bug#2138).
12813 (ediff-choose-window-setup-function-automatically): Make obsolete.
12815 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12817 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * ffap.el: Remove old code for obsolete package.
12820 (ffap-complete-as-file-p): Remove.
12822 Use completion-table-with-quoting for comint and pcomplete.
12823 * comint.el (comint--unquote&requote-argument)
12824 (comint--unquote-argument, comint--requote-argument): New functions.
12825 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12826 (comint-quote-filename): Use regexp-opt-charset.
12827 (comint--common-suffix, comint--common-quoted-suffix)
12828 (comint--table-subvert): Remove.
12829 (comint-unquote-function, comint-requote-function): New vars.
12830 (comint--complete-file-name-data): Use them with
12831 completion-table-with-quoting.
12832 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12833 * pcomplete.el (pcomplete-arg-quote-list)
12834 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12835 (pcomplete-unquote-argument-function): Default to non-nil.
12836 (pcomplete-unquote-argument): Simplify.
12837 (pcomplete--common-quoted-suffix): Remove.
12838 (pcomplete-requote-argument-function): New var.
12839 (pcomplete--common-suffix): New function.
12840 (pcomplete-completions-at-point): Use completion-table-with-quoting
12841 and completion-table-subvert.
12843 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12844 (minibuffer--double-dollars): Preserve properties.
12845 (completion--sifn-requote): New function.
12846 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12848 * minibuffer.el: Add support for completion of quoted/escaped data.
12849 (completion-table-with-quoting, completion-table-subvert): New funs.
12850 (completion--twq-try, completion--twq-all): New functions.
12851 (completion--nth-completion): New function.
12852 (completion-try-completion, completion-all-completions): Use it.
12854 2012-04-25 Leo Liu <sdl.web@gmail.com>
12856 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12857 Use compilation-message if available to find real filename.
12859 2012-04-25 Chong Yidong <cyd@gnu.org>
12861 * vc/diff-mode.el (diff-setup-whitespace): New function.
12862 (diff-mode): Use it.
12864 * vc/diff.el (diff-sentinel):
12865 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12866 Whitespace mode variables based on diff style (Bug#8612).
12868 2012-04-25 Leo Liu <sdl.web@gmail.com>
12870 * progmodes/python.el (python-send-region): Add suffix .py to the
12873 * files.el (auto-mode-alist): Use javascript-mode instead.
12875 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12877 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12879 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12880 (soap-resolve-references-for-array-type): Hack to prevent self
12881 references, see Bug#9.
12882 (soap-parse-envelope): Report the contents of the 'detail' node
12883 when receiving a fault reply.
12884 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12886 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12887 (soap-inspect-simple-type): New function.
12889 * net/soap-client.el (soap-simple-type): New struct.
12890 (soap-default-xsd-types, soap-default-soapenc-types)
12891 (soap-decode-basic-type, soap-encode-basic-type):
12892 support unsignedInt and double basic types.
12893 (soap-resolve-references-for-simple-type)
12894 (soap-parse-simple-type, soap-encode-simple-type): New function.
12895 (soap-parse-schema): Parse xsd:simpleType declarations.
12897 * net/soap-client.el (soap-default-xsd-types)
12898 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12899 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12900 the local name of "soapenc:Array".
12901 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12902 decoding integer, byte and anyURI xsd types.
12904 2012-04-25 Chong Yidong <cyd@gnu.org>
12906 * cus-edit.el (custom-buffer-create-internal): Update header text.
12908 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12910 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12911 settings on 'system-type', not on 'window-system'. On MS-Windows,
12912 set interactive-mode on in GDB.
12914 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12916 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12917 (ruby-syntax-propertize-regexp): Remove.
12918 (ruby-syntax-propertize-function): Split regexp into chunks.
12919 Match following code directly.
12921 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12923 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12924 (ruby-syntax-propertize-regexp): New function.
12925 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12926 by a special keyword.
12928 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12929 (ruby-syntax-general-delimiters-goto-beg)
12930 (ruby-syntax-propertize-general-delimiters): New functions.
12931 (ruby-syntax-propertize-function): Use them to handle GDL.
12932 (ruby-font-lock-keywords): Move old handling of GDL...
12933 (ruby-font-lock-syntactic-keywords): .. to here.
12934 (ruby-calculate-indent): Adjust indentation for GDL.
12936 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12938 * notifications.el (top): Remove unneeded declarations.
12939 (notifications-specification-version): Change to "1.2".
12940 (notifications-interface, notifications-notify-method)
12941 (notifications-close-notification-method): Fix docstring.
12942 (notifications-get-capabilities-method): New defconst.
12943 (notifications-notify): Add :action-items, :resident and
12944 :transient hints. Change "image_data" to "image-data" and
12945 "image_path" to "image-path".
12946 (notifications-get-capabilities): New defun.
12948 2012-04-24 Leo Liu <sdl.web@gmail.com>
12950 * progmodes/python.el: Move hideshow setup to the end.
12952 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12954 * window.el (handle-select-window): Clear echo area since this is
12955 no more done by read_char (Bug#11304).
12957 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12959 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12960 and `/ M' to filter-derived-mode.
12961 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12962 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12963 (ibuffer-mark-by-mode): Use default rather than initial-input.
12964 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12966 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12968 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12969 (ibuffer-filter-by-derived-mode): New filter.
12970 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12972 2012-04-23 Andreas Politz <politza@fh-trier.de>
12974 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12976 2012-04-23 Chong Yidong <cyd@gnu.org>
12978 * cus-edit.el (customize-apropos, customize-apropos-options):
12979 Disable matching of non-option variables (Bug#11176).
12980 (customize-option, customize-option-other-window)
12981 (customize-changed-options): Doc fix.
12982 (customize-apropos-options, customize-apropos-faces)
12983 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12985 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12986 Fix word list splitting (Bug#11132).
12987 (apropos-symbol, apropos-keybinding, apropos-label)
12988 (apropos-property, apropos-function-button)
12989 (apropos-variable-button, apropos-misc-button): New faces.
12990 (apropos-symbol-face, apropos-keybinding-face)
12991 (apropos-label-face, apropos-property-face, apropos-match-face):
12992 Variables removed (Bug#8396).
12993 (apropos-library-button, apropos-format-plist, apropos-print)
12994 (apropos-print-doc, apropos-describe-plist): Callers changed.
12996 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12998 * net/xesam.el (xesam-mode-map): Use let-bound map in
12999 initialization. (Bug#11292)
13001 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13003 Preserve ispell session localwords when switching back to
13006 * textmodes/ispell.el (ispell-buffer-session-localwords):
13007 New buffer-local variable to hold buffer session localwords.
13008 (ispell-kill-ispell): Add option 'clear to delete session
13010 (ispell-command-loop, ispell-change-dictionary)
13011 (ispell-buffer-local-words): Preserve session localwords when
13014 * textmodes/flyspell.el (flyspell-process-localwords)
13015 (flyspell-do-correct): Preserve session localwords when needed.
13017 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13019 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13020 using obsolete `translation-table-for-input'.
13021 (ispell-word, ispell-process-line, ispell-complete-word):
13022 Use plain `insert' instead of removed `ispell-insert-word'.
13024 2012-04-22 Chong Yidong <cyd@gnu.org>
13026 * cus-edit.el (custom-variable-menu)
13027 (custom-variable-reset-saved, custom-face-menu)
13028 (custom-face-reset-saved): If there is no saved value, make the
13029 "reset-saved" operation bring back the default (Bug#9509).
13030 (custom-face-state): Properly detect themed faces.
13032 * faces.el (face-spec-set): Stop supporting deprecated form of
13035 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13037 Move functions from C to Lisp. Make non-blocking method calls
13038 the default. Implement further D-Bus standard interfaces.
13040 * net/dbus.el (dbus-message-internal): Declare function.
13041 Remove unneeded function declarations.
13042 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13043 (dbus-message-type-method-return, dbus-message-type-error)
13044 (dbus-message-type-signal): Declare variables. Remove local
13046 (dbus-interface-dbus, dbus-interface-peer)
13047 (dbus-interface-introspectable, dbus-interface-properties)
13048 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13050 (dbus-interface-objectmanager): New defconst.
13051 (dbus-call-method, dbus-call-method-asynchronously)
13052 (dbus-send-signal, dbus-method-return-internal)
13053 (dbus-method-error-internal, dbus-register-service)
13054 (dbus-register-signal, dbus-register-method): New defuns, moved
13056 (dbus-call-method-handler, dbus-setenv)
13057 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13059 (dbus-call-method-non-blocking): Make it an obsolete function.
13060 (dbus-unregister-object, dbus-unregister-service)
13061 (dbus-handle-event, dbus-register-property)
13062 (dbus-property-handler): Obey the new structure of
13063 `bus-registered-objects'.
13064 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13065 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13066 Use `dbus-call-method'.
13068 2012-04-22 Chong Yidong <cyd@gnu.org>
13070 * cus-edit.el (custom-commands, custom-reset-menu)
13071 (Custom-reset-standard): Tweak labels.
13072 (custom-reset-button-menu): Change default to t.
13073 (custom-buffer-create-internal): For the custom-reset-button-menu
13074 case, put the revert button first.
13075 (custom-group-subtitle): New face.
13076 (custom-group-value-create): Align docstring to a specific column.
13078 * wid-edit.el (widget-documentation-link-add): Don't handle
13079 indentation in this function.
13080 (widget-documentation-string-indent-to): New function.
13081 (widget-documentation-string-value-create): Use it.
13083 * autorevert.el (auto-revert):
13084 * epg-config.el (epg):
13085 * ibuffer.el (ibuffer):
13088 * eshell/eshell.el (eshell):
13089 * net/ange-ftp.el (ange-ftp):
13090 * progmodes/ebnf2ps.el (postscript):
13091 * progmodes/flymake.el (flymake):
13092 * progmodes/prolog.el (prolog):
13093 * progmodes/verilog-mode.el (verilog-mode):
13094 * progmodes/which-func.el (which-func):
13095 * term/xterm.el (xterm):
13096 * textmodes/picture.el (picture):
13097 * textmodes/tildify.el (tildify):
13098 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13099 customization buffers.
13101 2012-04-22 Alan Mackenzie <acm@muc.de>
13103 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13104 Adding a ) can hide the resulting (..) from searches. Fix it.
13105 Bound the backward search to the position of the existing (.
13107 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13109 * progmodes/verilog-mode.el (verilog-mode): Check whether
13110 which-func-modes is t before adding verilog-mode.
13111 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13113 2012-04-21 Leo Liu <sdl.web@gmail.com>
13115 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13117 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13119 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13120 filling of the last column of a table (Bug#5635).
13121 (woman-find-next-control-line): New arg, specifying an additional
13122 regexp component for the control line.
13123 (woman2-roff-buffer): Use it.
13124 (woman-break-table): New function.
13125 (woman2-TS): Use it.
13127 2012-04-21 Chong Yidong <cyd@gnu.org>
13129 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13130 (woman-horizontal-escapes, woman-negative-vertical-space)
13131 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13132 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13134 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13136 * minibuffer.el (completion-file-name-table): Complete user names.
13138 2012-04-20 Leo Liu <sdl.web@gmail.com>
13140 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13143 2012-04-20 Chong Yidong <cyd@gnu.org>
13145 * server.el (server-execute): Respect initial-buffer-choice if it
13146 is a string and there are no files to open (Bug#2825).
13147 (server-create-window-system-frame, server-create-tty-frame):
13148 Don't switch buffers here.
13149 (server-process-filter): Only try to open a window system frame if
13150 compiled with graphical support (Bug#8314).
13152 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13154 * battery.el (battery-echo-area-format): Display remaining time
13155 for sysfs backend too (Bug#11269).
13156 (battery-linux-sysfs): Fix conditional for the charge.
13158 2012-04-20 Chong Yidong <cyd@gnu.org>
13160 * progmodes/gdb-mi.el (gdb): Revert previous change.
13161 (gdb-inferior-io--init-proc): New function.
13162 (gdb-init-1): Use it.
13163 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13164 responsible for allocating a new pty and hooking it to gdb when
13165 the old pty gets an EIO due to process exit.
13166 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13167 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13168 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13170 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13172 * window.el (window-min-size, window-sizable, window-min-delta)
13173 (window-max-delta, window--resizable, window-resizable)
13174 (window-total-size, window-full-height-p, window-full-width-p)
13175 (window-in-direction, window--resize-mini-window, window-resize)
13176 (window--resize-child-windows-normal)
13177 (window--resize-child-windows, window--resize-siblings)
13178 (window--resize-this-window, adjust-window-trailing-edge)
13179 (enlarge-window, shrink-window): Doc fixes.
13181 2012-04-20 Chong Yidong <cyd@gnu.org>
13183 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13184 New function to call delete-process on the gdb-inferior buffer's pty.
13185 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13186 pty process (Bug#11273).
13187 (gdb-update): New arg to suppress talking to the gdb process.
13188 (gdb-done-or-error): Use it.
13189 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13190 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13191 sentinel not being called.
13193 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13195 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13197 2012-04-20 Glenn Morris <rgm@gnu.org>
13199 * net/network-stream.el (open-network-stream): Doc fix.
13201 2012-04-20 Chong Yidong <cyd@gnu.org>
13203 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13205 2012-04-20 Alan Mackenzie <acm@muc.de>
13207 Ensure searching for keywords is case sensitive.
13209 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13210 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13211 (c-defun-name, c-mark-function, c-cpp-define-name)
13212 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13213 (c-context-line-break): Bind case-fold-search to nil.
13215 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13216 Bind case-fold-search to nil.
13218 2012-04-20 Chong Yidong <cyd@gnu.org>
13220 * mail/sendmail.el (mail-bury): Call return action with the right
13221 Rmail buffer (Bug#11242).
13223 * server.el (server-process-filter): Handle corner case where both
13224 tty and nowait options are present (Bug#11102).
13226 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13228 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13229 (top level): Put into the executable the ident-style '$Id:' tag on
13230 windows-nt as well.
13232 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13234 * electric.el (electric-indent-post-self-insert-function): Check that
13235 electric-indent-mode is enabled in current buffer.
13237 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13239 * imenu.el (imenu-progress-message): Restore; it is "used" in
13240 erc/erc-imenu.el and net/snmp-mode.el.
13242 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13244 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13245 (mouse-avoidance-nudge-mouse): Remove unused binding.
13247 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13249 * descr-text.el (describe-char):
13250 * progmodes/python.el (python-describe-symbol):
13251 Don't call `toggle-read-only', set `buffer-read-only'.
13253 * imenu.el (imenu-default-goto-function): Mark unused args.
13254 (imenu-progress-message): Remove obsolete macro; all callers changed.
13256 * subr.el (keymap-canonicalize): Remove unused binding.
13257 (read-passwd): Mark unused arg.
13259 * tutorial.el (tutorial--display-changes): Remove unused binding.
13260 (tutorial--save-tutorial-to): Remove unused variable.
13262 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13263 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13264 (package-generate-autoloads, package-menu--generate)
13265 (package-menu--find-upgrades): Remove unused bindings.
13267 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13268 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13269 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13270 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13271 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13272 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13273 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13274 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13275 (cua-delete-char-rectangle): Mark unused args.
13276 (cua-align-rectangle): Remove unused binding.
13278 * mail/rmail.el (compilation--message->loc)
13279 (epa--find-coding-system-for-mime-charset): Declare.
13281 * net/dbus.el (dbus-register-service): Declare.
13282 (dbus-name-owner-changed-handler): Remove unused binding.
13284 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13285 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13286 (nxml-scan-backward-within): Mark unused arg.
13287 (nxml-dynamic-markup-word): Remove unused binding.
13289 * mouse.el (mouse-menu-major-mode-map):
13290 * emacs-lisp/authors.el (authors-scan-change-log)
13291 (authors-add-to-author-list):
13292 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13293 * emacs-lisp/smie.el (smie-auto-fill):
13294 * mail/sendmail.el (mail-bury):
13295 * mail/unrmail.el (unrmail):
13296 * net/tls.el (open-tls-stream):
13297 * textmodes/picture.el (picture-mouse-set-point):
13298 Remove unused bindings.
13300 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13302 * net/tramp.el (tramp-action-password): Let-bind
13303 `enable-recursive-minibuffers' to t.
13305 2012-04-18 Sam Steingold <sds@gnu.org>
13307 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13308 instead of 'string to accommodate values like [f11].
13309 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13310 * progmodes/gdb-mi.el: Likewise.
13312 2012-04-18 Leo Liu <sdl.web@gmail.com>
13314 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13316 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13319 2012-04-18 Chong Yidong <cyd@gnu.org>
13321 * simple.el (line-move): Use forward-line if in batch mode
13324 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13326 * files.el (after-find-file): Do not try to add a final newline if
13327 the buffer is read-only (Bug#11156).
13329 2012-04-17 Richard Stallman <rms@gnu.org>
13331 * mail/rmail.el (rmail-start-mail):
13332 Pass (rmail-mail-return...) for the return-action.
13333 Pass (rmail-yank-current-message...) for the yank-action.
13334 (rmail-yank-current-message): New function.
13335 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13336 (rmail-reply): Likewise.
13337 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13339 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13340 buffer, not the last. Reject temp buffers. Use the rmail-mode
13341 buffer, not newbuf.
13343 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13345 * server.el (server-ensure-safe-dir): Simplify.
13347 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13349 * emacs-lisp/smie.el: Provide smarter auto-filling.
13350 (smie-auto-fill): New function.
13351 (smie-setup): Use it.
13353 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13355 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13357 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13358 (comment-indent): Use it.
13360 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13362 * ses.el: The overall change is to add cell renaming, that is
13363 setting fancy names for cell symbols other than name matching
13364 "\\`[A-Z]+[0-9]+\\'" regexp .
13365 (ses-localvars): Add ses--renamed-cell-symb-list.
13366 (ses-create-cell-variable): New defun.
13367 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13368 (ses-relocate-formula): Relocate formulas only for cells the
13369 symbols of which are not renamed, i.e. symbols whose names do not
13370 match regexp "\\`[A-Z]+[0-9]+\\'".
13371 (ses-relocate-all): Relocate values only for cells the symbols of
13372 which are not renamed.
13373 (ses-load): Create cells variables as the (ses-cell ...) are read,
13374 in order to check row col consistency with cell symbol name only
13375 for cells that are not renamed.
13376 (ses-replace-name-in-formula): New defun.
13377 (ses-rename-cell): New defun.
13379 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13381 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13382 New option (bug#11118).
13383 (perl-calculate-indent): Respect it.
13385 2012-04-17 Glenn Morris <rgm@gnu.org>
13387 * dired-aux.el (dired-mark-read-string): Doc fix.
13389 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13391 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13392 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13394 2012-04-17 Glenn Morris <rgm@gnu.org>
13396 * mouse.el (mouse-drag-track):
13397 * speedbar.el (speedbar-frame-mode):
13398 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13400 2012-04-16 Leo Liu <sdl.web@gmail.com>
13402 * progmodes/python.el: Trivial cleanup.
13404 2012-04-16 Glenn Morris <rgm@gnu.org>
13406 * vc/vc.el (vc-string-prefix-p):
13407 * vc/pcvs-util.el (cvs-string-prefix-p):
13408 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13409 * mpc.el (mpc-string-prefix-p):
13410 Make all of these into obsolete aliases for string-prefix-p.
13412 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13414 * textmodes/two-column.el: Move custom options to the start.
13415 (frame-width): Remove compat definition.
13416 (2C-associate-buffer, 2C-dissociate):
13417 Use with-current-buffer rather than save-excursion.
13418 (2C-dissociate): Force a mode-line update.
13419 (2C-autoscroll): Use ignore-errors.
13421 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13424 * emacs-lisp/cl-extra.el (*random-state*):
13425 Remove unnecessary declaration.
13427 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13429 * play/cookie1.el (cookie-snarf):
13430 Give an explicit error if input file cannot be read.
13432 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13434 * progmodes/perl-mode.el (c-macro-expand):
13435 Remove unnecessary autoload (it is in loaddefs.el).
13437 * textmodes/picture.el (picture-desired-column)
13438 (picture-update-desired-column): Convert comments to doc-strings.
13439 (picture-substitute): Remove function.
13440 (picture-mode-map): Initialize in the defvar.
13442 * woman.el: Remove eval-after-load for tar-mode.
13443 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13444 (woman-tar-extract-file): Autoload it.
13446 * frame.el (automatic-hscrolling): Make this alias obsolete.
13448 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13450 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13451 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13452 (ispell-dictionary-base-alist): Revert to original XEmacs
13453 friendly version for default. [:alpha:] will be added in
13454 `ispell-set-spellchecker-params' if needed.
13456 2012-04-16 Chong Yidong <cyd@gnu.org>
13458 * image.el (imagemagick--file-regexp): New variable.
13459 (imagemagick-register-types): Use it.
13460 (imagemagick-types-inhibit): Add :set function. Allow new value
13461 of t to inhibit all types.
13463 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13464 so we can preload it.
13466 * loadup.el (fboundp): Preload regexp-opt, needed by
13467 imagemagick-register-types.
13469 2012-04-15 Chong Yidong <cyd@gnu.org>
13471 * frame.el (scrolling): Remove nearly unused customization group.
13473 * scroll-all.el (scroll-all-mode): Move to windows group.
13475 2012-04-15 Chong Yidong <cyd@gnu.org>
13477 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13479 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13481 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13482 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13484 2012-04-15 Glenn Morris <rgm@gnu.org>
13486 * simple.el (process-file-side-effects): Doc fix.
13488 2012-04-15 Glenn Morris <rgm@gnu.org>
13490 * international/mule-cmds.el (set-language-environment): Doc fix.
13492 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13494 * server.el (server-auth-key, server-generate-key): Doc fixes.
13495 (server-get-auth-key): Doc fix. Use `string-match-p'.
13496 (server-start): Reflow docstring.
13498 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13500 * server.el (server-generate-key): `called-interactively-p'
13501 requires a parameter.
13503 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13505 * server.el (server-auth-key): New variable.
13506 (server-generate-key, server-get-auth-key): New function.
13507 (server-start): Use the new variable and functions to allow
13508 setting a permanent server key (bug#9423).
13510 2012-04-14 Leo Liu <sdl.web@gmail.com>
13512 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13514 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13517 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13518 Emacs uses American spelling.
13520 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13522 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13523 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13524 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13525 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13527 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * progmodes/which-func.el (which-func-modes): Change default.
13531 2012-04-14 Kim F. Storm <storm@cua.dk>
13533 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13534 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13536 2012-04-14 Chong Yidong <cyd@gnu.org>
13538 * custom.el (custom-theme-set-variables): Doc fix.
13540 2012-04-14 Glenn Morris <rgm@gnu.org>
13542 * international/mule.el (set-auto-coding-for-load): Doc fix.
13544 2012-04-14 Alan Mackenzie <acm@muc.de>
13546 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13547 imenu work again for Objective C Mode. Correct the *-index values,
13548 these having been disturbed by a previous change in 2011-08.
13550 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13551 Correct two search limits.
13553 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13555 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13557 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13559 * international/characters.el: Fix sorting.
13561 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13563 * international/characters.el: Add more missing Latin case pairs.
13565 2012-04-14 Glenn Morris <rgm@gnu.org>
13567 * files.el (dir-locals-set-class-variables): Doc fix.
13569 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13571 * international/characters.el: Add set-case-syntax-pair call for
13572 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13573 counterpart. (Bug#11209)
13575 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13577 2012-04-14 Glenn Morris <rgm@gnu.org>
13579 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13581 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13583 * textmodes/ispell.el (ispell-dictionary-base-alist):
13584 Add data for Hebrew.
13586 2012-04-14 Chong Yidong <cyd@gnu.org>
13588 * net/rcirc.el (rcirc-cmd-quit):
13589 Revert 2012-03-18 change (Bug#11192).
13591 2012-04-14 Glenn Morris <rgm@gnu.org>
13593 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13595 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13597 * minibuffer.el (completion-in-region-mode-map):
13598 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13600 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13602 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13604 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13606 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13607 to allow `C-M-f' and `C-M-b' to move to the nearest path
13608 separator (bug#9511).
13610 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13612 * avoid.el: Require cl when compiling. And also move the
13613 `provide' to the end.
13615 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13617 * avoid.el (mouse-avoidance-banish-position): New variable.
13618 (mouse-avoidance-banish-destination): Use it (bug#10165).
13620 2012-04-13 Leo Liu <sdl.web@gmail.com>
13622 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13624 2012-04-13 Ken Brown <kbrown@cornell.edu>
13626 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13627 this is no longer needed now that cygstart understands file:// URLs.
13628 (browse-url-filename-alist): For the same reason, don't modify
13629 file:// URLs on Cygwin.
13631 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13633 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13634 the region on shift if the binding is already shifted (bug#11221).
13636 2012-04-12 Glenn Morris <rgm@gnu.org>
13638 * mail/mailpost.el: Move to obsolete/.
13640 2012-04-12 Drew Adams <drew.adams@oracle.com>
13642 * imenu.el (imenu--generic-function): Ignore invisible definitions
13645 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13647 * hexl.el (hexl-bits): New variable.
13648 (hexl-options): Mention the variable in the doc string.
13649 (hexl-rulerise, hexl-line-displen): New functions.
13650 (hexl-mode): Mention the new variable.
13651 (hexl-mode, hexl-current-address, hexl-current-address):
13653 (hexl-ascii-start-column): New function.
13654 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13655 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13657 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13659 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13660 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13661 the encoding, as expected by hunspell.
13663 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13665 * battery.el (battery--linux-sysfs-regexp): New const.
13666 (battery-status-function): Use it. Remove yeeloong special case.
13667 (battery-yeeloong-sysfs): Remove.
13668 (battery-echo-area-format): Remove yeeloong special case.
13670 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13672 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13673 Reported by Noah Friedman.
13675 * subr.el (read-passwd): Use read-string.
13677 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13679 * vcursor.el (vcursor-move): Increase the priority of the overlay
13682 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13684 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13685 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13687 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13689 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13690 define-minor-mode (bug#10760).
13692 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13694 * progmodes/grep.el (rgrep): Tweak the find command line so
13695 that directories matching `grep-find-ignored-files' won't be
13696 pruned (bug#10351).
13698 2012-04-11 Chong Yidong <cyd@gnu.org>
13700 * startup.el (command-line): Remove support for long-obsolete
13701 variable font-lock-face-attributes.
13703 2012-04-11 Glenn Morris <rgm@gnu.org>
13705 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13707 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * window.el (window--state-get-1): Obey window-point-insertion-type.
13711 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13713 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13714 to previous function when point is on the first character of a
13715 function. Take care of that in `narrow-to-defun' (bug#6157).
13717 2012-04-11 Glenn Morris <rgm@gnu.org>
13719 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13720 not just file-errors.
13722 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13723 (vc-bzr-sha1): Use internal sha1.
13725 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13727 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13729 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13731 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13732 that start in the middle of the line (bug#10496).
13734 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13736 * battery.el (battery-linux-proc-acpi): Only one battery is
13737 discharged at a time, but that seems to confuse battery.el when
13738 computing `rate-type' for the battery not being discharged
13741 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13743 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13745 * international/quail.el: Use dolist and simplify.
13746 (quail-define-package, quail-update-keyboard-layout)
13747 (quail-define-rules): Use dolist.
13748 (quail-insert-kbd-layout, quail-get-translation): CSE.
13750 * tmm.el: Use dolist, remove left over hook.
13751 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13753 (calendar-load-hook): Don't mess with it.
13755 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13756 Use derived-mode-p. Run the diff asynchronously.
13758 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13760 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13762 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13764 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13765 (list-dynamic-libraries--loaded): New function.
13766 (list-dynamic-libraries--refresh): Use it.
13768 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13770 * progmodes/python.el (python-fill-paragraph):
13771 Make python-fill-region in a multiline string work when font-lock is
13772 disabled (bug#7018).
13774 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13776 * language/european.el (cp775): Add oem/legacy (en)coding on
13777 DOS/MS Windows for the Baltic languages. There are still plenty
13778 of texts written in this encoding/codepage (bug#6519).
13780 2012-04-10 Glenn Morris <rgm@gnu.org>
13782 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13783 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13785 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13787 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13788 next-line "n" and previous-line "p" in order to make recentf more
13789 consistent with ibuffer, dired or org-mode (bug#9387).
13791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13793 * image.el (put-image): Return the overlay created instead of the
13794 optional input string (bug#7834). Note that this may break code
13795 that is (for some reason or other) depending on `put-image'
13796 returning the string.
13798 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13800 * simple.el (zap-to-char): Allow zapping using input methods
13803 * textmodes/fill.el (fill-region): Leave point and mark where they
13804 were before filling (bug#5399).
13806 2012-04-09 Glenn Morris <rgm@gnu.org>
13808 * version.el (emacs-bzr-get-version):
13809 Handle lightweight checkouts of local branches.
13811 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13813 * international/characters.el: Recover lost case pairs. (Bug#11209)
13815 2012-04-09 Chong Yidong <cyd@gnu.org>
13817 * custom.el (custom-variable-p): Return nil for non-symbol
13818 arguments instead of signaling an error.
13819 (user-variable-p): Obsolete alias for custom-variable-p.
13821 * apropos.el (apropos-variable):
13822 * files-x.el (read-file-local-variable):
13823 * simple.el (set-variable):
13824 * woman.el (woman-mini-help):
13825 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13827 2012-04-09 Glenn Morris <rgm@gnu.org>
13829 * startup.el (normal-top-level): Don't look for leim-list.el
13830 in places where it will not be found. (Bug#910)
13832 * international/mule-cmds.el (set-default-coding-systems):
13833 * files.el (normal-mode):
13834 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13835 This function was removed with ucs-tables.el in 2008.
13837 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13839 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13840 ispell-encoding8-command to "-i", without a trailing space.
13841 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13842 separate command-line arguments, to specify the encoding, since
13843 that's how hunspell expects it.
13845 2012-04-08 Glenn Morris <rgm@gnu.org>
13847 * loadup.el: Load bindings before cus-start.
13848 This reduces somewhat the number of "rogue" settings in emacs -Q.
13850 2012-04-07 Glenn Morris <rgm@gnu.org>
13852 * version.el (emacs-bzr-get-version): New function.
13853 (emacs-bzr-version): New variable.
13854 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13855 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13857 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13859 * international/uni-bidi.el, international/uni-category.el:
13860 * international/uni-combining.el, international/uni-decimal.el:
13861 * international/uni-decomposition.el, international/uni-digit.el:
13862 * international/uni-lowercase.el, international/uni-mirrored.el:
13863 * international/uni-name.el, international/uni-numeric.el:
13864 * international/uni-titlecase.el, international/uni-uppercase.el:
13865 Update for Unicode 6.1.
13867 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13869 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13871 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13873 * window.el (shrink-window): Mention the `window-min-height'
13874 variable in the doc string.
13876 2012-04-05 Bastien Guerry <bzg@altern.org>
13878 * color.el (color-lighten-name): Fix typo.
13880 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13882 * server.el (server--on-display-p): New function.
13883 (server--on-display-p): Use it.
13885 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13887 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13890 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13892 * comint.el (comint--common-quoted-suffix): Check string boundary
13893 before comparing (bug#11158).
13894 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13896 2012-04-04 Chong Yidong <cyd@gnu.org>
13898 * minibuffer.el (completion-extra-properties): Doc fix.
13900 * subr.el (delayed-warnings-hook): Doc fix.
13902 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13904 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13905 selection (Bug#11159).
13906 (epa-insert-keys): Inform that the default public key will be
13907 exported if no key is selected.
13909 2012-04-04 Richard Stallman <rms@gnu.org>
13911 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13913 2012-04-03 Chong Yidong <cyd@gnu.org>
13915 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13916 mail-insert-file, not its obsolete alias mail-attach-file.
13918 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13920 * notifications.el (notifications-notify): Fix docstring.
13922 2012-04-02 Glenn Morris <rgm@gnu.org>
13924 * emacs-lisp/authors.el (authors-aliases): Another addition.
13926 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13928 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13929 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13930 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13932 2012-04-01 Chong Yidong <cyd@gnu.org>
13934 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13935 Handle root directory properly.
13936 (copy-directory): Caller changed.
13938 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13939 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13941 2012-03-31 Glenn Morris <rgm@gnu.org>
13943 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13945 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13947 * calendar/calendar.el (calendar-window-list)
13948 (calendar-hide-window): Restore. (Bug#11140)
13949 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13951 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13953 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13955 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13956 Check if file is a symlink (Bug#10489).
13958 * files.el (copy-directory): Likewise.
13960 2012-03-30 Chong Yidong <cyd@gnu.org>
13962 * image.el (imagemagick-types-inhibit)
13963 (imagemagick-register-types): Doc fix.
13965 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13967 * textmodes/ispell.el (ispell-get-extended-character-mode):
13968 Disable extended-char-mode for hunspell. hunspell does not support it
13969 and treats ~word as ordinary words in pipe mode.
13971 2012-03-30 Glenn Morris <rgm@gnu.org>
13973 * tutorial.el (help-with-tutorial): Ensure local variables don't
13974 happen to make the buffer read-only. (Bug#11127)
13976 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13978 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13979 (perl-calculate-indent): Return `noindent' in strings.
13981 2012-03-28 Sam Steingold <sds@gnu.org>
13983 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13984 instead of the broken adhockery which does not prevent calendar
13985 buffers from being displayed at random after exit.
13986 (calendar-window-list, calendar-hide-window): Remove the broken
13989 2012-03-28 Glenn Morris <rgm@gnu.org>
13991 * replace.el (query-replace-map): Doc fix.
13993 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13995 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13996 contents. (Bug#11109)
13998 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14000 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14002 (avl-tree--check, avl-tree--check-node): New funs.
14004 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14006 * window.el (switch-to-visible-buffer): New option.
14007 (switch-to-prev-buffer, switch-to-next-buffer):
14008 Observe switch-to-visible-buffer. Make sure that checking for a window
14009 showing a buffer already is done on the same frame.
14011 2012-03-27 Glenn Morris <rgm@gnu.org>
14013 * startup.el (mail-host-address): Doc fix.
14015 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14017 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14018 than 197 variables.
14020 2012-03-26 Ami Fischman <ami@fischman.org>
14022 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14024 2012-03-26 Glenn Morris <rgm@gnu.org>
14026 * files.el (save-buffers-kill-emacs): Doc fix.
14028 * startup.el (normal-top-level, command-line, command-line-1):
14029 Give them doc strings.
14031 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14033 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14034 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14036 2012-03-25 Chong Yidong <cyd@gnu.org>
14038 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14039 theme if it was previously enabled before (Bug#11031).
14041 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14042 spec with custom-face-get-current-spec if its :shown-value is not
14043 determined yet (Bug#9337).
14044 (customize-create-theme, custom-theme-revert): Doc fixes.
14046 * button.el (button-at): Minor addition to docstring.
14048 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14050 * vc/vc.el (vc-merge): Fix a prompt.
14052 2012-03-24 Chong Yidong <cyd@gnu.org>
14054 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14057 * button.el (button-at): Minor addition to docstring.
14059 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14061 * newcomment.el (comment-choose-indent): No space after BOL.
14063 2012-03-22 Sam Steingold <sds@gnu.org>
14065 * window.el (switch-to-prev-buffer): Revert last patch because the
14066 bug turned out to be an advertised feature (Elisp manual 28.14).
14068 2012-03-22 Glenn Morris <rgm@gnu.org>
14070 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14071 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14073 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14075 * net/network-stream.el (network-stream-open-starttls): Make error
14076 message under Windows be less misleading.
14078 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14080 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14081 understands (bug#9942).
14083 2012-03-22 Chong Yidong <cyd@gnu.org>
14085 * simple.el (end-of-visible-line): Handle return value of
14086 next-single-property-change properly (Bug#9371).
14088 2012-03-22 Kenichi Handa <handa@m17n.org>
14090 * international/quail.el (quail-insert-kbd-layout): Fix previous
14091 change. To avoid unwanted bidi reordering, use
14092 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14094 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14096 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14097 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14098 (ruby-beginning-of-indent): Be more careful with the difference
14099 between word-boundary and symbol boundary.
14100 (ruby-mode-syntax-table): Make : a symbol constituent.
14102 2012-03-21 Andreas Politz <politza@fh-trier.de>
14104 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14106 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14108 * progmodes/etags.el (tags-completion-at-point-function):
14111 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14113 2012-03-21 Sam Steingold <sds@gnu.org>
14115 * progmodes/etags.el (tags-completion-at-point-function):
14116 Avoid the error when point is inside the pattern.
14118 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14120 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14123 2012-03-21 Drew Adams <drew.adams@oracle.com>
14125 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14127 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14129 * ido.el (ido-set-current-directory, ido-read-internal)
14130 (ido-choose-completion-string, ido-completion-help): Handle nil
14131 value of ido-completion-buffer (Bug#11008).
14133 2012-03-21 Sam Steingold <sds@gnu.org>
14135 * window.el (switch-to-prev-buffer): Do not switch to a visible
14136 window previous buffer, just like with the frame previous buffers.
14138 2012-03-21 Chong Yidong <cyd@gnu.org>
14140 * faces.el (make-face, make-empty-face, copy-face):
14141 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14144 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14146 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14147 (widget-complete): Remove broken use of it.
14149 2012-03-20 Chong Yidong <cyd@gnu.org>
14151 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14152 Use string-width and truncate-string-width to handle arbitrary
14155 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14157 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14158 to draw rectangles, not squares. (Regression introduced by revno
14159 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14161 2012-03-18 Chong Yidong <cyd@gnu.org>
14163 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14164 it is not yet defined (for temacs).
14166 2012-03-18 Leo Liu <sdl.web@gmail.com>
14168 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14171 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14173 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14174 (ispell-choices-win-default-height, ispell-silently-savep)
14175 (ispell-dictionary-alist, ispell-encoding8-command)
14176 (ispell-check-version, ispell-aspell-find-dictionary)
14177 (ispell-valid-dictionary-list, ispell-words-keyword)
14178 (ispell-get-word, ispell-internal-change-dictionary)
14179 (ispell-region, ispell-skip-region-list)
14180 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14181 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14182 (ispell-message-text-end, ispell-message)
14183 (ispell-buffer-local-parsing): Doc fix.
14185 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14187 * htmlfontify.el: Add support for code block fontification for ODT
14188 export (Bug #9914).
14189 (hfy-optimisations): Define new option
14191 (hfy-fontify-buffer): Honor above setting.
14192 (hfy-begin-span, hfy-end-span): New routines factored out form
14193 `hfy-fontify-buffer'.
14194 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14195 that permit insertion of custom tags.
14196 (hfy-fontify-buffer): Use above handlers.
14197 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14198 (hfy-face-to-css): Re-defined to be a variable.
14199 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14200 over multiple runs. This is made possible by having the caller let
14201 bind a special variable `hfy-user-sheet-assoc'.
14202 (htmlfontify-string): New defun.
14203 (hfy-compile-face-map): Make sure that the last char in the
14204 buffer is correctly fontified.
14205 (hfy-face-resolve-face): Whitespace only change.
14207 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14209 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14210 message more clear.
14212 2012-03-16 Leo Liu <sdl.web@gmail.com>
14214 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14216 2012-03-16 Alan Mackenzie <acm@muc.de>
14218 Further optimize the handling of large macros.
14220 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14221 limit to a call of `c-literal-limits'.
14222 (c-determine-+ve-limit): New function.
14223 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14224 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14225 In CASE 5B, restrict a search limit to 500.
14226 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14228 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14229 Restrict macro bounds to +-500 from after-change's BEG END.
14231 2012-03-16 Leo Liu <sdl.web@gmail.com>
14233 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14235 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14237 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14238 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14240 2012-03-16 Glenn Morris <rgm@gnu.org>
14242 * view.el (view-buffer, view-buffer-other-window)
14243 (view-buffer-other-frame): Doc fixes re special mode-class.
14245 * subr.el (eval-after-load): If named feature is provided not from
14246 a file, run after-load forms. (Bug#10946)
14248 * calendar/calendar.el (calendar-insert-at-column):
14249 Handle non-unit-width characters a bit better. (Bug#10978)
14251 2012-03-15 Chong Yidong <cyd@gnu.org>
14253 * emacs-lisp/ring.el (ring-extend): New function.
14254 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14256 * comint.el (comint-read-input-ring)
14257 (comint-add-to-input-history): Grow comint-input-ring lazily.
14259 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14261 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14262 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14264 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14265 (imenu-add-to-menubar): Don't add a redundant index.
14266 (imenu-update-menubar): Handle a dynamically composed keymap.
14268 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14270 * mail/sendmail.el (mail-encode-header):
14271 Bind rfc2047-encode-encoded-words to nil.
14273 2012-03-13 Glenn Morris <rgm@gnu.org>
14275 * calendar/calendar.el (calendar-string-spread):
14276 Handle non-unit-width characters a bit better. (Bug#10978)
14278 2012-03-13 Leo Liu <sdl.web@gmail.com>
14280 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14281 directory and file as argument (Bug#10822).
14283 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14285 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14286 For dynamically generated code, follow $PC.
14287 (gdb-disassembly-handler-custom): Handle no function name case.
14289 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14291 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14292 * emulation/ws-mode.el (ws-query-replace):
14293 * sort.el (sort-regexp-fields):
14294 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14296 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14298 * dabbrev.el: Fix cycle completion order (bug#10963).
14299 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14300 (dabbrev-completion): Don't use an obarray; provide
14301 a cycle-sort-function.
14303 2012-03-12 Leo Liu <sdl.web@gmail.com>
14305 * simple.el (kill-new): Use equal-including-properties for comparison.
14306 (kill-do-not-save-duplicates): Doc fix.
14308 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14310 * dabbrev.el: Fix cycle completion (bug#10963).
14311 Use lexical binding and wrap to 80 columns.
14312 (dabbrev-completion): Delay computing the list of completions.
14314 2012-03-12 Kenichi Handa <handa@m17n.org>
14316 * international/quail.el (quail-insert-kbd-layout): Surround each
14317 row by LRO and PDF instead of inserting many LRMs. Pad the left
14318 and right of each non-spacing marks. Insert invisible space
14319 between lower and upper characters to prevent composition.
14321 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * minibuffer.el (minibuffer-complete): Don't get confused when the
14324 function is run twice via different commands (bug#10958).
14325 (complete-with-action): Fix docstring.
14327 2012-03-12 Chong Yidong <cyd@gnu.org>
14329 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14330 (nxml-completion-at-point-function): New function.
14331 (nxml-mode): Use it.
14332 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14334 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14335 Load generated autoloads file before byte compiling (Bug#10970).
14336 (package--make-autoloads-and-compile): New helper fun.
14338 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14340 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14342 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14344 * autorevert.el (auto-revert-handler): Ensure, that
14345 file-readable-p is applied only for local files or in
14346 auto-revert-tail-mode.
14348 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14350 * server.el (server-eval-at): Handle non-tcp connections.
14351 Decode result string.
14353 * server.el (server-msg-size): New constant.
14354 (server-reply-print): New function.
14355 (server-eval-and-print): Use it.
14356 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14357 Handle -print-nonl.
14359 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14361 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14364 2012-03-11 Chong Yidong <cyd@gnu.org>
14366 * simple.el (goto-line): Doc fix (Bug#9938).
14368 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14370 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14371 when finished (Bug#10963).
14373 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14375 * window.el (split-window-below): Fix bug in case where
14376 split-window-keep-point is nil (Bug#10971).
14378 2012-03-11 Juri Linkov <juri@jurta.org>
14380 * replace.el (replace-highlight): Set isearch-word to nil
14381 unconditionally. (Bug#10887)
14383 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14385 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14386 mairix-replace-illegal-chars; all callers changed. Don't remove
14387 ^, ~, and = characters: they are meaningful in mairix search specs.
14388 (mairix-widget-create-query): Add usage information about mairix
14389 search forms: negating words, searching for substrings, etc.
14391 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14393 * international/fontset.el (font-encoding-alist): Add an entry for
14394 ksx1001 (Bug#5667).
14396 2012-03-10 Richard Stallman <rms@gnu.org>
14398 * mail/sendmail.el (mail-encode-header):
14399 Set rfc2047-encode-encoded-words.
14401 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14403 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14404 view buffer means not swapped.
14405 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14406 (rmail-write-region-annotate): Error if real text has disappeared.
14408 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14410 2012-03-10 Chong Yidong <cyd@gnu.org>
14412 * emulation/cua-rect.el (cua--init-rectangles):
14413 * emulation/cua-base.el (cua--init-keymaps):
14414 Add delete-forward-char to remappings (Bug#9666).
14416 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14418 * speedbar.el (speedbar-unhighlight-one-tag-line):
14419 Avoid unhighlighting due to frame switching (Bug#10275).
14421 2012-03-10 Chong Yidong <cyd@gnu.org>
14423 * minibuffer.el (completion-in-region, completion-help-at-point):
14424 Give the completion field overlay a high priority (Bug#6830).
14426 * dired.el (dired-goto-file): Recognize absolute file name
14427 listings (Bug#7126).
14428 (dired-goto-file-1): New helper function.
14429 (dired-toggle-read-only): Inhibit warnings.
14431 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14433 * net/dbus.el (dbus-property-handler): Return empty array if
14434 there are no properties.
14436 2012-03-09 Leo Liu <sdl.web@gmail.com>
14438 * savehist.el (savehist-printable): Stricter check for string
14441 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14443 * mail/smtpmail.el (smtpmail-send-it):
14444 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14447 2012-03-09 Glenn Morris <rgm@gnu.org>
14449 * files.el (dir-locals-find-file):
14450 Don't check result is regular, readable.
14451 (dir-locals-read-from-file): Demote errors.
14453 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14455 * international/quail.el (quail-insert-kbd-layout):
14456 Insert invisible LRM characters before each character in a keyboard
14457 layout cell, to prevent their reordering by bidi display engine.
14458 For details, see the discussion in
14459 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14461 2012-03-08 Alan Mackenzie <acm@muc.de>
14463 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14464 the starting position; make it extend the marked region when
14465 invoked repeatedly - all under appropriate circumstances.
14466 Fixes bugs #5525, #10906.
14468 2012-03-08 Glenn Morris <rgm@gnu.org>
14470 * files.el (locate-dominating-file, dir-locals-find-file):
14471 Undo 2012-03-06 change.
14473 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14475 * international/quail.el (quail-help):
14476 Force bidi-paragraph-direction be left-to-right. See discussion in
14477 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14480 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14482 Avoid superfluous registering of signals. (Bug#10807)
14484 * notifications.el (notifications-on-action-object)
14485 (notifications-on-close-object): New defvars.
14486 (notifications-on-action-signal, notifications-on-closed-signal):
14487 Unregister the signal if not needed any longer.
14488 (notifications-notify): Register `notifications-action-signal' or
14489 `notifications-closed-signal', if :on-action or :on-close has been
14490 passed as argument.
14492 2012-03-07 Chong Yidong <cyd@gnu.org>
14494 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14497 2012-03-06 Glenn Morris <rgm@gnu.org>
14499 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14500 (x-disown-selection-internal, x-get-selection-internal):
14501 Doc fix (add arglist signatures). (Bug#10783)
14503 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14505 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14506 Handle breakpoints with no "type".
14508 2012-03-06 Glenn Morris <rgm@gnu.org>
14510 * files.el (locate-dominating-file): Add optional predicate argument.
14511 (dir-locals-find-file): Make use of above change.
14513 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14515 * info.el (Info-insert-dir): Also try "dir.gz".
14517 2012-03-06 Glenn Morris <rgm@gnu.org>
14519 * files.el (dir-locals-find-file):
14520 Ignore non-readable or non-regular files. (Bug#10928)
14522 * files.el (locate-dominating-file): Doc fix.
14524 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14526 * calendar/calendar.el (calendar-set-mode-line):
14527 `getenv' returns a string. (Bug#10951)
14529 2012-03-05 Leo Liu <sdl.web@gmail.com>
14531 * simple.el (backward-delete-char-untabify): Constrain point to
14534 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14536 2012-03-05 Chong Yidong <cyd@gnu.org>
14538 * simple.el (count-words): If called from Lisp, return the word
14539 count, for symmetry with `count-lines'. Arglist changed.
14540 (count-words--message): Args changed. Consolidate counting code
14541 from count-words and count-words-region.
14542 (count-words-region): Caller changed.
14543 (count-lines-region): Make it an obsolete alias.
14545 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14547 * saveplace.el (save-place-to-alist)
14548 (save-place-ignore-files-regexp): Allow value nil to disable this
14551 2012-03-04 Chong Yidong <cyd@gnu.org>
14553 * faces.el (face-spec-reset-face): For the default face, reset the
14554 attributes to default values (Bug#10748).
14556 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14558 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14559 previous patch: Check `message-send-mail-function', and not the
14560 default function (bug#10897).
14562 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14564 * notifications.el (notifications-on-action-signal)
14565 (notifications-on-closed-signal): Check for unique service name of
14566 incoming event. Fix error in removing entry.
14567 (top): Register for signals with wildcard service name.
14568 (notifications-notify): Use daemon unique service name for map entries.
14570 2012-03-04 Chong Yidong <cyd@gnu.org>
14572 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14574 2012-03-04 Glenn Morris <rgm@gnu.org>
14576 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14577 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14578 (expand-abbrev, define-abbrev-table): Doc fixes.
14580 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14582 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14583 `message-default-send-mail-function' and not `send-mail-function'
14584 when doing the prompting for `sendmail-query-once' before sending
14585 in Message buffers (bug#10897).
14587 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14588 This is inconsistent with all the other stream functions, which leave
14589 the setting up to the higher levels (if so wanted) (bug#10931).
14591 2012-03-02 Alan Mackenzie <acm@muc.de>
14593 Depessimize the handling of very large macros.
14595 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14596 (c-macro-cache-syntactic): New variables to implement a one
14597 element macro cache.
14598 (c-invalidate-macro-cache): New function.
14599 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14600 Adapt to use the new cache.
14601 (c-state-safe-place): Use better the cache of safe positions.
14602 (c-state-semi-nonlit-pos-cache)
14603 (c-state-semi-nonlit-pos-cache-limit):
14604 New variables for...
14605 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14606 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14607 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14608 Use c-state-semi-safe-place.
14610 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14611 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14613 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14615 * jka-compr.el (jka-compr-call-process):
14616 Apply `file-accessible-directory-p' only when the default directory is
14619 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14621 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14622 access of FILE2, if FILE1 does not exist.
14624 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14625 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14627 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14628 Add "PAGER=" to `process-environment'.
14630 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14632 * progmodes/sql.el: Bug fix
14633 (sql-get-login-ext): Save login values in globals.
14634 (sql-get-login): Use new version of `sql-get-login-ext'.
14635 (sql-interactive-mode): Set global `sql-connection' to nil.
14636 (sql-connect): Set global values for connection.
14637 (sql-product-interactive): Save global values as buffer local.
14639 2012-02-29 Leo Liu <sdl.web@gmail.com>
14641 * abbrev.el (define-abbrevs): Reset sys to nil.
14643 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14645 * files.el (file-equal-p): Rename from `files-equal-p'.
14646 Return nil when one or both files don't exist.
14647 (file-subdir-of-p): Now only top directory must exists,
14648 return nil if it doesn't.
14649 (copy-directory): No need to test with `file-subdir-of-p' after
14651 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14654 2012-02-28 Glenn Morris <rgm@gnu.org>
14656 * shell.el (shell-mode):
14657 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14658 * play/landmark.el (landmark-font-lock-face-O):
14659 * play/handwrite.el (handwrite):
14660 * play/gomoku.el (gomoku-O):
14661 * net/browse-url.el (browse-url-browser-display):
14662 * international/mule.el (define-charset):
14663 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14664 * filesets.el (filesets-find-file-delay):
14665 * eshell/em-xtra.el (eshell-xtra):
14666 * eshell/em-unix.el (eshell-grep):
14667 * emulation/viper.el (viper-mode):
14668 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14669 * emacs-lisp/easymenu.el (easy-menu-define):
14670 * calendar/timeclock.el (timeclock-use-display-time):
14672 * bookmark.el (bookmark-save-flag):
14673 Doc fix (standardize possessive apostrophe usage).
14675 2012-02-27 Chong Yidong <cyd@gnu.org>
14677 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14678 Fix key-binding lookup for ESC key (Bug#9146).
14680 * font-lock.el (font-lock-specified-p): Rename from
14681 font-lock-spec-present. Callers changed.
14683 2012-02-27 Daniel Hackney <dan@haxney.org>
14685 * emacs-lisp/package.el (package-compute-transaction):
14686 Handle holding a package version to t in package-load-list.
14688 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14690 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14691 (tramp-get-inode, tramp-get-device): Use cached values.
14693 2012-02-26 Alan Mackenzie <acm@muc.de>
14695 Check there is a font-lock specification before doing initial
14698 * font-core.el (font-lock-mode): Move the conditional from
14699 :after-hook to font-lock-initial-fontify.
14700 (font-lock-default-function): Move the check for a specification
14701 to font-lock-spec-present.
14703 * font-lock.el (font-lock-initial-fontify): Call ...
14704 (font-lock-spec-present): New function.
14706 2012-02-26 Jim Blandy <jimb@red-bean.com>
14708 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14709 (gdb-send): Apply it to the operand of the '-interpreter-exec
14710 console' command, so that we can pass arguments with (say) quotes
14711 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14713 2012-02-26 Chong Yidong <cyd@gnu.org>
14715 * help-fns.el (describe-function-1): Clarify description of
14716 remapping (Bug#10844).
14718 * files.el (files-equal-p): Doc fix.
14719 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14720 and quit the loop once a mismatch is found.
14722 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14724 * bs.el (bs--show-with-configuration): Don't throw an error
14725 if the window cannot be split; otherwise, subsequent calls to
14726 bs-show fail, restoring a stale window config. (Bug#10882)
14728 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14730 * term/ns-win.el (global-map): Bind ns-drag-file to
14731 ns-find-file (Bug#5855, Bug#10050).
14733 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14735 * calendar/parse-time.el (parse-time-string): Allow extractor to
14738 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14740 * net/tramp.el (tramp-file-name-for-operation):
14741 Add `files-equal-p' and `file-subdir-of-p'.
14743 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14744 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14745 Add COPY-CONTENTS argument.
14747 2012-02-25 Chong Yidong <cyd@gnu.org>
14749 Add custom groups for VC backends, for consistency with vc-bzr.
14751 * vc/vc-arch.el (vc-arch):
14752 * vc/vc-cvs.el (vc-cvs):
14753 * vc/vc-git.el (vc-git):
14754 * vc/vc-hg.el (vc-hg):
14755 * vc/vc-mtn.el (vc-mtn):
14756 * vc/vc-rcs.el (vc-rcs):
14757 * vc/vc-sccs.el (vc-sccs):
14758 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14759 All relevant defcustoms reassigned.
14761 2012-02-25 Chong Yidong <cyd@gnu.org>
14763 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14765 * term/x-win.el (x-initialize-window-system): Reduce default for
14766 x-selection-timeout to 5 seconds (Bug#8869).
14768 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14770 * files.el (files-equal-p, file-subdir-of-p): New functions.
14771 (copy-directory): Error when trying to copy a directory on itself.
14772 Add missing copy-contents arg to tramp handler.
14773 * dired-aux.el (dired-copy-file-recursive): Same.
14774 (dired-create-files): Modify destination when source is equal to
14775 dest when copying files.
14776 Return also when dest is a subdir of source. (Bug#10489)
14778 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14780 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14783 2012-02-23 Alan Mackenzie <acm@muc.de>
14785 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14786 parameter "after-hook:" to allow the expansion to run code after
14787 the execution of the mode hooks.
14789 * font-lock.el (font-lock-initial-fontify): New function extracted
14790 from font-lock-mode-internal.
14792 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14795 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14797 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14798 (completion--cache-all-sorted-completions): New function.
14799 (completion-all-sorted-completions): Use it.
14800 (completion--do-completion, minibuffer-force-complete):
14801 Use it to re-instate the flush hook.
14803 * icomplete.el (icomplete-completions): Replace last fix with a better
14806 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14808 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14809 when it might call us back infinitely (bug#10797).
14811 2012-02-23 Glenn Morris <rgm@gnu.org>
14813 * minibuffer.el (completion-category-overrides): Doc fix.
14815 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14817 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14818 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14820 2012-02-23 Glenn Morris <rgm@gnu.org>
14822 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14823 (authors-obsolete-files-regexps, authors-ignored-files)
14824 (authors-ambiguous-files, authors-renamed-files-alist):
14827 2012-02-23 Juri Linkov <juri@jurta.org>
14829 * isearch.el (isearch-occur): Sync interactive spec with occur's
14830 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14832 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14834 2012-02-22 Juri Linkov <juri@jurta.org>
14836 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14837 (ucs-insert): Doc fix. Check for hex digits in the string.
14838 Don't display `nil' in the error message. (Bug#10857)
14840 2012-02-22 Alan Mackenzie <acm@muc.de>
14842 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14844 2012-02-22 Glenn Morris <rgm@gnu.org>
14846 * ffap.el (ffap-c-path):
14847 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14849 2012-02-22 Chong Yidong <cyd@gnu.org>
14851 * custom.el (load-theme): Doc fix.
14853 2012-02-22 Glenn Morris <rgm@gnu.org>
14855 * dired-x.el (dired-guess-shell-alist-default):
14856 Remove escape sequences from nroff output. (Bug#172)
14858 2012-02-21 Glenn Morris <rgm@gnu.org>
14860 * vc/emerge.el (emerge-defvar-local):
14861 Set `permanent-local' property rather than unused `preserved'.
14863 * textmodes/picture.el (picture-delete-char): New alias.
14864 (picture-mode-map): Use it. (Bug#10860)
14865 (picture-mode): Doc fix.
14867 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14869 * newcomment.el (uncomment-region-default): Remove unused binding.
14871 2012-02-21 Glenn Morris <rgm@gnu.org>
14873 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14874 (picture-self-insert, picture-tab-chars): Doc fix.
14875 (picture-mode-map): Fix C-a, C-e.
14877 2012-02-20 Glenn Morris <rgm@gnu.org>
14879 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14881 2012-02-20 Leo Liu <sdl.web@gmail.com>
14883 * icomplete.el (icomplete-completions): Check FROM arg before
14884 passing to substring (Bug#10850).
14886 2012-02-19 Chong Yidong <cyd@gnu.org>
14888 * comint.el: Require ansi-color.
14889 (comint-output-filter-functions): Add ansi-color-process-output.
14891 * ansi-color.el: Don't set comint-output-filter-functions; it is
14892 now in the initial value defined in comint.el.
14893 (ansi-color-apply-face-function): New variable.
14894 (ansi-color-apply-on-region): Use it.
14895 (ansi-color-apply-overlay-face): New function.
14897 * shell.el (shell): No need to require ansi-color.
14898 (shell-mode): Use ansi-color-apply-face-function to highlight
14899 color escapes using font-lock-face property (Bug#10835).
14901 2012-02-19 Chong Yidong <cyd@gnu.org>
14903 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14904 mode-line formats (Bug#10839).
14906 2012-02-18 Glenn Morris <rgm@gnu.org>
14908 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14910 * mail/undigest.el (unforward-rmail-message): Doc fix.
14912 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14914 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14916 * international/characters.el (script-list): Sync with the latest
14917 Unicode Character Database.
14919 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14921 * international/titdic-cnv.el: Remove duplicate coding tag.
14922 * language/cham.el: Likewise.
14923 * language/tai-viet.el: Likewise.
14925 2012-02-18 Glenn Morris <rgm@gnu.org>
14927 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14928 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14929 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14930 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14931 * calendar/holidays.el (holiday-bahai-holidays)
14932 (calendar-holidays, list-holidays):
14933 Use utf-8 Bahá'í in doc-strings, menus, etc.
14935 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14937 * saveplace.el (save-place-ignore-files-regexp): New variable
14938 allowing for excluding files from saving their location of point.
14939 The default value matches the temporary commit message editing
14940 files from Git, SVN, Bazaar, and Mercurial.
14941 (save-place-to-alist): Use it.
14943 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14944 Stefan Monnier <monnier@iro.umontreal.ca>
14946 * newcomment.el (uncomment-region-default): Don't leave extra space
14947 when an arg is provided (bug#8150).
14949 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14951 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14953 2012-02-17 Glenn Morris <rgm@gnu.org>
14955 * net/socks.el: Require network-stream. (Bug#10599)
14957 2012-02-17 Kenichi Handa <handa@m17n.org>
14959 * international/charprop.el:
14960 * international/uni-name.el:
14961 * international/uni-old-name.el:
14962 * international/uni-comment.el: Regenerate.
14964 2012-02-16 Glenn Morris <rgm@gnu.org>
14966 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14967 Interactively in calendar buffer, give an error if not on a date.
14969 2012-02-15 Glenn Morris <rgm@gnu.org>
14971 * shell.el (shell-delimiter-argument-list):
14972 Revert 2011-02-17 change. (Bug#8027)
14974 2012-02-15 Chong Yidong <cyd@gnu.org>
14976 * minibuffer.el (completion-at-point-functions): Doc fix.
14978 * custom.el (defcustom): Doc fix; note use of defvar.
14980 2012-02-15 Glenn Morris <rgm@gnu.org>
14982 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14985 2012-02-14 Glenn Morris <rgm@gnu.org>
14987 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14989 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14991 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14992 way the ports list is computed.
14993 (smtpmail-query-smtp-server): Prompt the user for a port number if
14994 we can't connect to any of the standard ports (bug#10810).
14996 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14998 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15000 2012-02-13 Glenn Morris <rgm@gnu.org>
15002 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15004 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15006 * net/gnutls.el (gnutls-trustfiles): New variable.
15007 (gnutls-negotiate): Use it.
15009 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15011 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15012 does its stuff if Gnus is running.
15014 2012-02-13 Alan Mackenzie <acm@muc.de>
15016 Fix a loop in c-set-fl-decl-start.
15018 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15019 c-backward-syntactic-ws actually moves backwards.
15021 2012-02-13 Leo Liu <sdl.web@gmail.com>
15023 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15024 beginning so that all \C-o chars are removed.
15026 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15028 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15030 2012-02-12 Alan Mackenzie <acm@muc.de>
15032 Fix infinite loop with long macros.
15033 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15035 2012-02-12 Chong Yidong <cyd@gnu.org>
15037 * window.el (display-buffer): Doc fix (Bug#10785).
15039 2012-02-12 Glenn Morris <rgm@gnu.org>
15041 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15042 (x-disown-selection-internal, x-get-selection-internal):
15043 Sync docs with the xselect.c versions.
15045 * allout-widgets.el: Add missing license notice.
15047 2012-02-11 Glenn Morris <rgm@gnu.org>
15049 * select.el (x-get-selection-internal, x-own-selection-internal)
15050 (x-disown-selection-internal):
15051 * x-dnd.el (x-get-selection-internal): Update declarations.
15053 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15055 * window.el (window-sides-slots):
15056 * tool-bar.el (tool-bar-position):
15057 * term/xterm.el (xterm-extra-capabilities):
15058 * ses.el (ses-self-reference-early-detection):
15059 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15060 (verilog-auto-wire-type)
15061 (verilog-auto-delete-trailing-whitespace)
15062 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15063 (verilog-auto-tieoff-declaration):
15064 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15065 (sql-oracle-statement-starters, sql-oracle-scan-on):
15066 * progmodes/prolog.el (prolog-align-comments-flag)
15067 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15068 (prolog-left-indent-regexp, prolog-paren-indent-p)
15069 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15070 (prolog-types, prolog-mode-specificators)
15071 (prolog-determinism-specificators, prolog-directives)
15072 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15073 (prolog-electric-dot-flag)
15074 (prolog-electric-dot-full-predicate-template)
15075 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15076 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15077 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15078 (prolog-program-switches, prolog-prompt-regexp)
15079 (prolog-debug-on-string, prolog-debug-off-string)
15080 (prolog-trace-on-string, prolog-trace-off-string)
15081 (prolog-zip-on-string, prolog-zip-off-string)
15082 (prolog-use-standard-consult-compile-method-flag)
15083 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15084 (prolog-imenu-max-lines, prolog-info-predicate-index)
15085 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15086 (prolog-char-quote-workaround):
15087 * progmodes/cc-vars.el (c-defun-tactic):
15088 * net/tramp.el (tramp-encoding-command-interactive)
15089 (tramp-local-end-of-line):
15090 * net/soap-client.el (soap-client):
15091 * net/netrc.el (netrc-file):
15092 * net/gnutls.el (gnutls):
15093 * minibuffer.el (completion-category-overrides)
15094 (completion-cycle-threshold)
15095 (completion-pcm-complete-word-inserts-delimiters):
15096 * man.el (Man-name-local-regexp):
15097 * mail/feedmail.el (feedmail-display-full-frame):
15098 * international/characters.el (glyphless-char-display-control):
15099 * eshell/em-ls.el (eshell-ls-date-format):
15100 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15101 (lisp-lambda-list-keyword-parameter-indentation)
15102 (lisp-lambda-list-keyword-parameter-alignment):
15103 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15104 * dired-x.el (dired-omit-verbose):
15105 * cus-theme.el (custom-theme-allow-multiple-selections):
15106 * calc/calc.el (calc-highlight-selections-with-faces)
15107 (calc-lu-field-reference, calc-lu-power-reference)
15108 (calc-note-threshold):
15109 * battery.el (battery-mode-line-limit):
15110 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15111 (archive-7z-update):
15112 * allout.el (allout-prefixed-keybindings)
15113 (allout-unprefixed-keybindings)
15114 (allout-inhibit-auto-fill-on-headline)
15115 (allout-flattened-numbering-abbreviation):
15116 * allout-widgets.el (allout-widgets-auto-activation)
15117 (allout-widgets-icons-dark-subdir)
15118 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15119 (allout-widgets-theme-dark-background)
15120 (allout-widgets-theme-light-background)
15121 (allout-widgets-item-image-properties-emacs)
15122 (allout-widgets-item-image-properties-xemacs)
15123 (allout-widgets-run-unit-tests-on-load)
15124 (allout-widgets-time-decoration-activity)
15125 (allout-widgets-hook-error-post-time)
15126 (allout-widgets-track-decoration):
15127 Add missing :version tags to new defcustoms and defgroups.
15129 * progmodes/sql.el (sql-ansi-statement-starters)
15130 (sql-oracle-statement-starters): Add custom type.
15132 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15133 (prolog-system-version): Give it a type.
15135 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15137 * term/pc-win.el (x-select-text, x-selection-owner-p)
15138 (x-own-selection-internal, x-disown-selection-internal)
15139 (x-get-selection-internal): Sync doc strings and argument lists
15140 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15142 2012-02-11 Leo Liu <sdl.web@gmail.com>
15144 * progmodes/python.el (python-end-of-statement): Fix infinite
15147 2012-02-10 Glenn Morris <rgm@gnu.org>
15149 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15150 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15152 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15154 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15155 about SMTP before checking the From header.
15157 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15158 into own function for reuse by emacsbug.el.
15160 2012-02-10 Leo Liu <sdl.web@gmail.com>
15162 * subr.el (condition-case-unless-debug): Rename from
15163 condition-case-no-debug. All callers changed.
15164 (with-demoted-errors): Fix caller.
15166 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15167 * nxml/rng-valid.el (rng-do-some-validation):
15168 * emacs-lisp/package.el (package-refresh-contents)
15169 (package-menu-execute):
15170 * desktop.el (desktop-create-buffer):
15171 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15173 2012-02-10 Glenn Morris <rgm@gnu.org>
15175 * textmodes/bibtex.el:
15176 Add missing :version tags for new/changed defcustoms.
15178 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15180 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15182 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15183 (smtpmail-via-smtp): Use it, or fall back on the From address.
15184 (smtpmail-send-it): Ditto.
15186 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15189 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15190 (byte-compile-tmp-var): New const.
15191 (byte-compile-defvar): Use it to minimize .elc size.
15192 Just use `defvar' rather than simulate it (bug#10761).
15194 2012-02-09 Glenn Morris <rgm@gnu.org>
15196 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15198 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15201 * progmodes/compile.el (compilation-error-screen-columns)
15202 (compilation-first-column, compilation-filter-start): Doc fixes.
15204 * vc/log-view.el (log-view-toggle-entry-display):
15205 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15207 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15208 (report-emacs-bug-can-use-xdg-email):
15209 (report-emacs-bug-insert-to-mailer): Doc fixes.
15210 (report-emacs-bug): Message fix.
15212 * net/browse-url.el (browse-url-can-use-xdg-open)
15213 (browse-url-xdg-open): Doc fixes.
15215 * electric.el (electric-indent-mode, electric-pair-mode)
15216 (electric-layout-rules, electric-layout-mode): Doc fixes.
15217 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15219 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15221 * server.el (server-unselect-display): Don't inadvertently kill
15222 the current buffer. (Bug#10729)
15224 2012-02-08 Glenn Morris <rgm@gnu.org>
15226 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15227 (sql-list-table): Doc fixes.
15229 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15230 Comment out (does nothing).
15232 * completion.el (dynamic-completion-mode):
15233 * dirtrack.el (dirtrack-debug-mode):
15234 * electric.el (electric-layout-mode):
15235 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15236 * face-remap.el (text-scale-mode, buffer-face-mode):
15237 * iimage.el (iimage-mode):
15238 * image-mode.el (image-transform-mode):
15239 * minibuffer.el (completion-in-region-mode):
15240 * scroll-lock.el (scroll-lock-mode):
15241 * simple.el (next-error-follow-minor-mode):
15242 * tar-mode.el (tar-subfile-mode):
15243 * tooltip.el (tooltip-mode):
15244 * vcursor.el (vcursor-use-vcursor-map):
15245 * wid-browse.el (widget-minor-mode):
15246 * emulation/tpu-edt.el (tpu-edt-mode):
15247 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15248 * international/iso-ascii.el (iso-ascii-mode):
15249 * language/thai-util.el (thai-word-mode):
15250 * mail/supercite.el (sc-minor-mode):
15251 * net/goto-addr.el (goto-address-mode):
15252 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15253 * progmodes/cwarn.el (cwarn-mode):
15254 * progmodes/flymake.el (flymake-mode):
15255 * progmodes/glasses.el (glasses-mode):
15256 * progmodes/hideshow.el (hs-minor-mode):
15257 * progmodes/pascal.el (pascal-outline-mode):
15258 * textmodes/enriched.el (enriched-mode):
15259 * vc/smerge-mode.el (smerge-mode):
15260 Doc fixes (minor mode argument).
15262 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15264 * ls-lisp.el (ls-lisp-sanitize): New function.
15265 (ls-lisp-insert-directory): Use it to fix or remove any elements
15266 in file-alist with missing attributes. (Bug#4673)
15268 2012-02-07 Alan Mackenzie <acm@muc.de>
15270 Fix spurious recognition of c-in-knr-argdecl.
15272 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15273 putative K&R region.
15275 2012-02-07 Alan Mackenzie <acm@muc.de>
15277 * progmodes/cc-engine.el (c-forward-objc-directive):
15278 Prevent looping in "#pragma mark @implementation".
15280 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15282 * notifications.el (notifications-on-closed-signal): Make `reason'
15283 optional. (Bug#10744)
15285 2012-02-07 Glenn Morris <rgm@gnu.org>
15287 * emacs-lisp/easy-mmode.el (define-minor-mode):
15288 Doc fixes for the macro and the mode it defines.
15290 * image.el (imagemagick-types-inhibit): Doc fix.
15292 * cus-start.el (imagemagick-render-type): Add it.
15294 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15296 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15297 Set the default at load time, too, so that `font-lock-fontify-buffer'
15298 can be called without setting up the entire mode first. This fixes
15299 a bug in `mm-inline-text' with C MIME parts.
15301 2012-02-06 Chong Yidong <cyd@gnu.org>
15303 * simple.el (list-processes--refresh): Delete exited processes
15306 * comint.el (comint-next-prompt): next-single-char-property-change
15307 and prev-single-char-property-change never return nil (Bug#8657).
15309 * custom.el (defcustom): Doc fix (Bug#9711).
15311 2012-02-05 Chong Yidong <cyd@gnu.org>
15313 * cus-edit.el (custom-variable-reset-backup): Quote the value
15314 before storing it in the customized-value property (Bug#6712).
15315 (custom-display): Add a customization type tag.
15316 (custom-buffer-create-internal): Improve tooltip message.
15318 * wid-edit.el (widget-field-value-get): New optional arg to
15319 suppress trailing whitespace truncation.
15320 (character): Use it (Bug#2689).
15322 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15324 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15325 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15327 2012-02-05 Chong Yidong <cyd@gnu.org>
15329 * cus-edit.el (custom-variable-value-create): For mismatched
15330 types, show the current value (Bug#7600).
15332 * custom.el (defcustom): Doc fix.
15334 2012-02-05 Glenn Morris <rgm@gnu.org>
15336 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15338 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15340 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15341 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15342 (pp-last-sexp): Use `looking-at-p'.
15344 2012-02-04 Glenn Morris <rgm@gnu.org>
15346 * files.el (revert-buffer):
15347 Doc fix (mention revert-buffer-in-progress-p).
15349 * emacs-lisp/ert-x.el (ert-simulate-command):
15350 Check deferred-action-list (which is obsolete) is bound.
15352 * subr.el (with-wrapper-hook): Doc fixes.
15354 * simple.el (filter-buffer-substring-functions)
15355 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15357 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15359 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15360 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15362 2012-02-04 Leo Liu <sdl.web@gmail.com>
15364 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15366 2012-02-04 Glenn Morris <rgm@gnu.org>
15368 * image.el (image-extension-data): Add obsolete alias.
15370 * isearch.el (isearch-update): Doc fix.
15372 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15374 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15376 2012-02-03 Glenn Morris <rgm@gnu.org>
15378 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15379 (image-animate-timeout): Doc fix.
15381 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15383 2012-02-02 Glenn Morris <rgm@gnu.org>
15385 * server.el (server-auth-dir): Doc fix.
15386 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15388 * subr.el (run-mode-hooks): Doc fix.
15390 2012-02-02 Juri Linkov <juri@jurta.org>
15392 * image-mode.el (image-toggle-display-image): Remove tautological
15393 `major-mode' from the `derived-mode-p' test.
15395 2012-02-02 Kenichi Handa <handa@m17n.org>
15397 * composite.el (compose-region): Cancel previous change.
15399 2012-02-02 Kenichi Handa <handa@m17n.org>
15401 * composite.el (compose-region, compose-string): Signal error for
15402 a null string component (Bug#6988).
15404 2012-02-01 Chong Yidong <cyd@gnu.org>
15406 * view.el (view-buffer-other-window, view-buffer-other-frame):
15407 Handle special modes like view-buffer (Bug#10650).
15408 (view-buffer): Simplify.
15410 * frame.el (set-frame-font): Tweak meaning of third argument.
15412 * dynamic-setting.el (font-setting-change-default-font):
15413 Use set-frame-font (Bug#9982).
15415 2012-02-01 Glenn Morris <rgm@gnu.org>
15417 * progmodes/compile.el (compilation-internal-error-properties):
15418 Respect compilation-first-column in the "*compilation*" buffer.
15420 * emacs-lisp/easy-mmode.el (define-minor-mode):
15421 Relax :variable's test for a named function.
15423 2012-01-31 Alan Mackenzie <acm@muc.de>
15425 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15428 2012-01-31 Chong Yidong <cyd@gnu.org>
15430 * frame.el (set-frame-font): New arg ALL-FRAMES.
15432 * menu-bar.el (menu-set-font): Use set-frame-font.
15434 * faces.el (face-spec-reset-face): Don't apply unspecified
15435 attribute values to the default face.
15437 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15439 * progmodes/cwarn.el (cwarn): Remove dead link.
15440 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15441 Remove * from defcustom docstrings.
15442 (turn-on-cwarn-mode): Make obsolete.
15443 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15444 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15446 2012-01-31 Glenn Morris <rgm@gnu.org>
15448 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15449 Fix :variable handling of mode a symbol not equal to modefun.
15450 Allow named functions to be used as the cdr of :variable.
15452 2012-01-30 Glenn Morris <rgm@gnu.org>
15454 * emacs-lisp/authors.el (authors-fixed-entries):
15455 Remove reference to deleted file rnewspost.el.
15457 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15459 * window.el (window-with-parameter): Remove unused variable `windows'.
15460 (window--side-check): Remove unused variable `code'.
15461 (window--resize-siblings): Remove unused variable `first'.
15462 (adjust-window-trailing-edge): Remove unused variable `failed'.
15463 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15464 Use `let', not `let*'.
15465 (balance-windows-2): Remove unused variable `found'.
15466 (window--state-put-2): Remove unused variable `splits'.
15467 (window-state-put): Remove unused variable `selected'.
15468 (same-window-p): Use `string-match-p'.
15469 (display-buffer-assq-regexp): Remove unused variable `value'.
15470 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15471 Mark argument ALIST as ignored.
15472 (pop-to-buffer): Remove unused variable `old-window'.
15474 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15476 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15477 and .lzma compressed files.
15479 2012-01-29 Chong Yidong <cyd@gnu.org>
15481 * frame.el (window-system-default-frame-alist): Doc fix.
15483 * dynamic-setting.el (font-setting-change-default-font): Don't
15484 change the default face if SET-FONT argument is non-nil (Bug#9982).
15486 2012-01-29 Samuel Bronson <naesten@gmail.com>
15488 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15490 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15492 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15493 breakpoints in files outside current directory (Bug#6098).
15495 2012-01-29 Chong Yidong <cyd@gnu.org>
15497 * progmodes/python.el: Require ansi-color at top-level.
15499 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15500 Define and use in Emacs Lisp mode (Bug#9360).
15501 (lisp-mode-abbrev-table): Add doc.
15502 (lisp-mode-variables): Don't set local-abbrev-table.
15503 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15505 2012-01-28 Roland Winkler <winkler@gnu.org>
15507 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15509 2012-01-28 Roland Winkler <winkler@gnu.org>
15511 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15512 (bibtex-set-dialect): Use it. Either set global values of
15513 dialect-dependent variables or bind these variables buffer-locally
15515 (bibtex-mode): Call bibtex-set-dialect via
15516 hack-local-variables-hook.
15517 (bibtex-dialect): Update docstring.
15518 Add safe-local-variable predicate.
15519 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15520 bibtex-set-dialect.
15521 (bibtex-mode-map): Define menu for each dialect.
15522 (bibtex-entry): Fix docstring.
15524 2012-01-28 Chong Yidong <cyd@gnu.org>
15526 * eshell/esh-arg.el (eshell-quote-argument): New function.
15528 * eshell/esh-ext.el (eshell-invoke-batch-file):
15529 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15530 first arg to eshell-parse-command (Bug#10523).
15532 2012-01-28 Drew Adams <drew.adams@oracle.com>
15534 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15535 `default-directory' is non-nil.
15537 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15539 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15540 line that displays system-configuration-options. (Bug#9924)
15542 2012-01-28 Drew Adams <drew.adams@oracle.com>
15544 * descr-text.el (describe-char): Show information about POS, in
15545 addition to information about the character at POS. Improve and
15546 update the doc string. Change "code point" to "code point in
15547 charset", to avoid confusion with the character's Unicode code
15548 point shown above that. (Bug#10129)
15550 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15552 * descr-text.el (describe-char): Show the raw character, not only
15553 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15554 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15557 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15559 * emacs-lisp/package.el (package-install):
15560 Run package-refresh-contents if there is no archive yet (Bug#9798).
15562 2012-01-28 Chong Yidong <cyd@gnu.org>
15564 * emacs-lisp/package.el (package-maybe-load-descriptor):
15565 New function, split from package-maybe-load-descriptor.
15566 (package-maybe-load-descriptor): Use it.
15567 (package-download-transaction): Fully load required packages
15568 inside the loop, so that `require' calls work (Bug#10593).
15569 (package-install): No need to call package-initialize now.
15571 2012-01-28 Chong Yidong <cyd@gnu.org>
15573 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15575 * tooltip.el (tooltip-mode): Doc fix.
15576 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15578 * frame.el (set-cursor-color): Doc fix (Bug#352).
15580 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15581 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15583 * cus-edit.el (custom-buffer-create-internal): Fix search button
15584 action (Bug#10542).
15585 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15587 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15589 * dired.el (dired-mark-files-regexp):
15590 Include any subdirectory components. (Bug#10445)
15592 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15594 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15595 Handle [host]:port syntax. (Bug#10533)
15597 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15599 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15601 2012-01-26 Glenn Morris <rgm@gnu.org>
15603 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15604 * term.el (term-raw-escape-map): Use Control-X-prefix.
15605 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15607 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15609 * window.el (window-state-get, window--state-get-1): Don't deal
15610 with fixed-sizeness of windows. Simplify code.
15612 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15614 * window.el (window--state-get-1, window--state-put-2):
15615 Don't save and restore the mark.
15617 2012-01-25 Chong Yidong <cyd@gnu.org>
15619 * custom.el (custom-variable-p): Doc fix.
15621 2012-01-25 Glenn Morris <rgm@gnu.org>
15623 * dired.el (dired-goto-file): Handle some of the more common
15624 characters that `ls -b' escapes. (Bug#10596)
15626 * progmodes/compile.el (compilation-next-error-function):
15627 Respect compilation-first-column in the "*compilation*" buffer.
15628 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15630 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15632 2012-01-24 Glenn Morris <rgm@gnu.org>
15634 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15636 2012-01-24 Julien Danjou <julien@danjou.info>
15638 * color.el (color-rgb-to-hsl): Fix value computing.
15639 (color-hue-to-rgb): New function.
15640 (color-hsl-to-rgb): New function.
15641 (color-clamp, color-saturate-hsl, color-saturate-name)
15642 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15643 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15645 2012-01-24 Glenn Morris <rgm@gnu.org>
15647 * vc/vc-rcs.el (vc-rcs-create-tag):
15648 * vc/vc-sccs.el (vc-sccs-create-tag):
15649 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15651 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15653 * eshell/esh-util.el (eshell-read-hosts-file):
15654 Skip comment lines. (Bug#10549)
15656 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15658 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15660 * subr.el (display-delayed-warnings): Doc fix.
15661 (collapse-delayed-warnings): New function to collapse identical
15663 (delayed-warnings-hook): Add it.
15665 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15667 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15669 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15670 (tramp-default-user-alist): Don't add "pscp".
15671 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15672 property "login-as", if set. (Bug#10530)
15674 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15676 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15677 "plink1" and "psftp". (Bug#10530)
15679 2012-01-21 Kenichi Handa <handa@m17n.org>
15681 * international/mule-cmds.el (prefer-coding-system): Show a
15682 warning message if the default value of file-name-coding-system
15685 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15687 * windmove.el (windmove-reference-loc):
15688 Fix windmove-reference-loc miscalculation.
15690 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15692 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15695 2012-01-21 Glenn Morris <rgm@gnu.org>
15697 * international/mule.el (auto-coding-alist): Add .tbz.
15699 * files.el (local-enable-local-variables): Doc fix.
15700 (inhibit-local-variables-regexps): Rename from
15701 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15702 Doc fix. Add some extensions from auto-coding-alist.
15703 (inhibit-local-variables-suffixes):
15704 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15705 (inhibit-local-variables-p):
15706 New function, extracted from set-auto-mode-1.
15707 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15708 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15709 (hack-local-variables): Doc fix. Make the mode-only case
15710 respect enable-local-variables and friends.
15711 Respect inhibit-local-variables-regexps for file-locals, but
15712 not for directory-locals.
15713 (set-visited-file-name):
15714 Take account of inhibit-local-variables-regexps.
15715 Whether it applies may change as the file name is changed.
15716 * jka-cmpr-hook.el (jka-compr-install):
15717 * jka-compr.el (jka-compr-uninstall):
15718 Update for inhibit-first-line-modes-suffixes name change.
15720 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15722 * help-macro.el (make-help-screen): Temporarily restore original
15723 binding for minor-mode-map-alist (Bug#10454).
15725 2012-01-19 Julien Danjou <julien@danjou.info>
15727 * color.el (color-name-to-rgb): Use the white color to find the max
15728 color component value and return correctly computed values.
15729 (color-name-to-rgb): Add missing float conversion for max value.
15731 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15733 * window.el (window--state-get-1, window-state-get): Do not use
15734 special state value for window-persistent-parameters.
15735 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15736 (window--state-put-2): Reset all window parameters to nil before
15737 assigning values of persistent parameters.
15739 2012-01-18 Alan Mackenzie <acm@muc.de>
15741 Eliminate sluggishness and hangs in fontification of "semicolon
15744 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15745 Change value 10000 -> 3000.
15746 (c-state-safe-place): Reformulate so it doesn't stack up an
15747 infinite number of wrong entries in c-state-nonlit-pos-cache.
15748 (c-determine-limit-get-base, c-determine-limit): New functions to
15749 determine backward search limits disregarding literals.
15750 (c-find-decl-spots): Amend commenting.
15751 (c-cheap-inside-bracelist-p): New function which detects "={".
15753 * progmodes/cc-fonts.el
15754 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15756 (c-font-lock-declarations): Fix an occurrence of point being
15757 undefined. Check additionally for point being in a bracelist or
15758 near a macro invocation without a semicolon so as to avoid a
15759 fruitless time consuming search for a declarator. Give a more
15760 precise search limit for declarators using the new
15763 2012-01-18 Glenn Morris <rgm@gnu.org>
15765 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15766 (set-auto-mode): Doc fixes.
15768 2012-01-17 Glenn Morris <rgm@gnu.org>
15770 * isearch.el (search-nonincremental-instead): Fix doc typo.
15772 * dired.el (dired-insert-directory): Handle newlines in directory name.
15773 (dired-build-subdir-alist): Unescape newlines in directory name.
15775 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15777 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15778 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15779 (tramp-action-terminal): Use it. (Bug#10530)
15781 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15783 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15785 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15787 * window.el (window-state-ignored-parameters): Remove variable.
15788 (window--state-get-1): Rename argument MARKERS to IGNORE.
15789 Handle persistent window parameters. Make copy of clone-of
15790 parameter only if requested. (Bug#10348)
15791 (window--state-put-2): Install a window parameter only if it has
15792 a non-nil value or an existing parameter shall be overwritten.
15794 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15796 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15798 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15800 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15801 don't pass the (nil) value of `upnode' to string-match.
15803 2012-01-14 Chong Yidong <cyd@gnu.org>
15805 * startup.el (command-line): Fix X resource class for cursorColor.
15806 Fix values recognized by the cursorBlink resource.
15808 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15810 * epg.el (epg--make-temp-file): Avoid permission race condition
15811 when running on old Emacs versions (bug#10403).
15813 2012-01-14 Glenn Morris <rgm@gnu.org>
15815 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15817 2012-01-13 Alan Mackenzie <acm@muc.de>
15819 Fix filling for when filladapt mode is enabled.
15821 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15822 c-mask-paragraph, pass in `fill-paragraph' rather than
15823 `fill-region-as-paragraph'. (This is a reversion of a previous
15825 * progmodes/cc-mode.el (c-basic-common-init):
15826 Make fill-paragraph-handle-comment buffer local and set it to nil.
15828 2012-01-13 Glenn Morris <rgm@gnu.org>
15830 * dired.el (dired-switches-escape-p): New function.
15831 (dired-insert-directory): Use dired-switches-escape-p.
15832 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15834 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15836 2012-01-12 Glenn Morris <rgm@gnu.org>
15838 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15839 changes in adaptive-fill-regexp. (Bug#10276)
15841 2012-01-11 Alan Mackenzie <acm@muc.de>
15843 Fix Emacs bug #10463 - put `widen's around the critical spots.
15845 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15846 widen around each invocation of c-state-pp-to-literal. Remove an
15847 unused let variable.
15849 2012-01-11 Glenn Morris <rgm@gnu.org>
15851 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15854 2012-01-10 Chong Yidong <cyd@gnu.org>
15856 * net/network-stream.el (network-stream-open-starttls):
15857 Avoid emitting a confusing error message when the server gives a bad
15858 response to the capability command.
15860 2012-01-10 Glenn Morris <rgm@gnu.org>
15862 * mail/unrmail.el (unrmail): Tweak previous change.
15864 2012-01-09 Chong Yidong <cyd@gnu.org>
15866 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15868 2012-01-08 Alan Mackenzie <acm@muc.de>
15870 Optimize font locking in long enum definitions.
15872 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15873 arm to a cond form to handle enums.
15874 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15875 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15877 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15879 * files.el (move-file-to-trash): Preserve default file modes on error.
15882 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15884 * faces.el (set-face-attribute): Clarify the meaning of the nil
15887 * subr.el (with-selected-frame): Mention that the selected frame
15888 is restored (bug#9980).
15890 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15893 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15894 (password-read): Don't autoload unused function.
15896 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15898 * progmodes/which-func.el (which-func-mode): Turn into a
15899 non-interactive function and mark as obsolete (bug#10428).
15901 2012-01-06 Chong Yidong <cyd@gnu.org>
15903 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15904 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15905 functions, along with 1 and -1.
15907 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15909 * time.el (display-time-load-average)
15910 (display-time-default-load-average): Doc fixes. See the thread
15912 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15915 2012-01-06 Glenn Morris <rgm@gnu.org>
15917 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15918 has no messages. (Bug#10377)
15920 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15921 than Info-edit. (Bug#10385)
15923 * time.el (display-time-load-average, display-time-next-load-average):
15926 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15927 local setting of buffer-read-only to the input buffer. (Bug#10419)
15929 * calendar/calendar.el (calendar-mode):
15930 Locally set scroll-margin to 0. (Bug#10379)
15932 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15934 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15936 2012-01-05 Glenn Morris <rgm@gnu.org>
15938 * eshell/em-unix.el (diff-no-select): Autoload it.
15939 (eshell/diff): Use diff-no-select. (Bug#10420)
15941 2012-01-05 Chong Yidong <cyd@gnu.org>
15943 * shell.el (shell-dynamic-complete-functions): Revert last change.
15944 (shell-command-completion-function): New function.
15945 (shell-completion-vars): Use it to implement
15946 shell-completion-execonly (Bug#10417).
15948 * custom.el (enable-theme): Don't set custom-safe-themes.
15950 * cus-theme.el (custom-theme-merge-theme):
15951 Ignore custom-enabled-themes and custom-safe-themes.
15953 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15955 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15956 first prompt in `sql-interacive-mode'.
15957 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15959 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15960 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15961 context of original buffer. Invoke `sql-login-hook'.
15963 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15965 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15966 letters in cite-prefix.
15968 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15972 2012-01-03 Chong Yidong <cyd@gnu.org>
15974 * shell.el (shell-dynamic-complete-functions):
15975 Put pcomplete-completions-at-point, so as to try
15976 comint-filename-completion first (Bug#10417).
15978 2012-01-02 Richard Stallman <rms@gnu.org>
15980 * battery.el (battery-status-function):
15981 Detect when to use battery-yeeloong-sysfs.
15982 (battery-echo-area-format): Add string for Yeeloong.
15983 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15984 (battery-yeeloong-sysfs): New function.
15986 2012-01-02 Chong Yidong <cyd@gnu.org>
15988 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15989 (dirtrack): Merge code for handling relative filenames in prompt
15990 from shell-dir-cookie-watcher.
15991 (dirtrack-debug-message): New arg to avoid excess format calls.
15993 * shell.el (shell-dir-cookie-re): Variable deleted.
15994 (shell-dir-cookie-watcher): Function deleted.
15995 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15996 with dirtrack-mode.
15998 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16000 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16001 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16004 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16006 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16008 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16010 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16011 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16013 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16015 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16016 also for alternative shells.
16017 (tramp-open-connection-setup-interactive-shell): Check, whether
16018 the shell is a busybox.
16019 (tramp-send-command): Don't suppress multiple prompts for
16020 busyboxes, it hurts.
16022 2011-12-28 Chong Yidong <cyd@gnu.org>
16024 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16025 (gdb-get-source-file): Move mode line update to
16026 gdb-get-source-file (Bug#10087).
16028 2011-12-25 Chong Yidong <cyd@gnu.org>
16030 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16031 gud-gdb-marker-filter without taking it as an argument.
16032 (gud-gdb-run-command-fetch-lines): Caller changed.
16033 (gud-gdb-completion-function): New variable.
16034 (gud-gdb-completion-at-point): Use it.
16035 (gud-gdb-completions-1): Split from gud-gdb-completions.
16037 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16038 function as separate arguments.
16039 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16040 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16041 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16042 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16043 (gdb-stopped, def-gdb-auto-update-trigger)
16044 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16045 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16047 (gud-gdbmi-completions): New function.
16048 (gdb): Use it for generating the completion table.
16050 2011-12-24 Alan Mackenzie <acm@muc.de>
16052 Introduce a mechanism to widen the region used in context font
16053 locking. Use this to protect declarations from losing their contexts.
16055 * progmodes/cc-langs.el (c-before-font-lock-functions):
16056 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16057 (c-before-context-fontification-functions): New defvar, a list of
16058 functions to be run just before context (etc.) font locking.
16060 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16061 New, functionality extracted from
16062 c-neutralize-syntax-in-and-mark-CPP.
16063 (c-in-after-change-fontification): New variable.
16064 (c-after-change): Set c-in-after-change-fontification.
16065 (c-set-fl-decl-start): Rejig its interface, so it can be called
16066 from both after-change and context fontifying.
16067 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16069 (c-standard-font-lock-fontify-region-function): New variable.
16070 (c-font-lock-fontify-region): New function.
16072 2011-12-24 Juri Linkov <juri@jurta.org>
16074 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16077 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16079 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16080 existence of source file. (Bug#10325)
16082 2011-12-23 Alan Mackenzie <acm@muc.de>
16084 Fix unstable fontification inside templates.
16086 * progmodes/cc-langs.el (c-before-font-lock-functions):
16087 Newly created from the singular version. The (c c++ objc) entry now
16088 additionally has c-set-fl-decl-start. The other languages (apart
16089 from AWK) have that as a single entry.
16091 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16092 The functionality for "local" declarations has been extracted to
16093 c-set-fl-decl-start.
16095 * progmodes/cc-mode.el (c-common-init, c-after-change):
16096 Changes due to pluralisation of c-before-font-lock-functions.
16097 (c-set-fl-decl-start): New function, extracted from
16098 c-font-lock-enclosing-decls and enhanced.
16100 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16102 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16104 2011-12-22 Juri Linkov <juri@jurta.org>
16106 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16108 2011-12-22 Chong Yidong <cyd@gnu.org>
16110 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16112 2011-12-21 Drew Adams <drew.adams@oracle.com>
16114 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16116 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16118 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16120 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16122 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16123 highlighting and support. Fix up comments for capitalization.
16124 (cfengine-mode-debug): New var.
16125 (cfengine3-mode): Change the modeline indicator to "CFE3".
16126 (cfengine3-font-lock-keywords): Improve defun highlighting.
16127 (cfengine2-actions): Rename from `cfengine-actions'.
16128 (cfengine2-font-lock-keywords): Rename from
16129 `cfengine-font-lock-keywords'.
16130 (cfengine2-imenu-expression): Rename from
16131 `cfengine-imenu-expression'.
16132 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16133 (cfengine2-beginning-of-defun): Rename from
16134 `cfengine-beginning-of-defun'.
16135 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16136 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16137 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16138 modeline indicator to "CFE2".
16139 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16140 (cfengine-mode-abbrevs): Mark obsolete.
16142 2011-12-21 Chong Yidong <cyd@gnu.org>
16144 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16147 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16149 * window.el (window-normalize-buffer-to-display): Remove.
16150 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16152 2011-12-19 Chong Yidong <cyd@gnu.org>
16154 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16155 Don't signal an error in a predicate function; return non-nil.
16156 (vc-dir-mark-file): Move the error here.
16157 (vc-dir-mark-unmark): If acting on the region, keep going if one
16158 of the entries cannot be marked/unmarked.
16159 (vc-dir-mark-all-files): If current entry is a directory, mark
16160 only child files, as documented.
16162 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16164 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16165 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16168 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16170 * term/ns-win.el (ns-get-selection-internal)
16171 (ns-store-selection-internal): Declare.
16172 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16173 Declare as obsolete.
16174 (ns-get-pasteboard, ns-paste-secondary):
16175 Use ns-get-selection-internal.
16176 (ns-set-pasteboard, ns-copy-including-secondary):
16177 Use ns-store-selection-internal.
16179 2011-12-17 Chong Yidong <cyd@gnu.org>
16181 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16182 (vc-deduce-fileset): Doc fix.
16184 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16186 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16188 2011-12-13 Sam Steingold <sds@gnu.org>
16190 * man.el (Man-getpage-in-background): When running under a
16191 window-system, ignore $MANWIDTH and $COLUMNS.
16193 2011-12-15 Kenichi Handa <handa@m17n.org>
16195 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16196 (setup-ethiopic-environment-internal): Comment out key-binding for
16197 ethio-toggle-punctuation.
16199 2011-12-13 Alan Mackenzie <acm@muc.de>
16201 Add the switch statement to AWK Mode.
16203 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16204 "default" to the keywords regexp.
16206 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16207 expression as the rest.
16208 (c-nonlabel-token-key): Allow string literals for AWK.
16209 Refactor for the other modes.
16211 Large brace-block initialisation makes CC Mode slow: Fix.
16212 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16213 routines. Limit backward searching in c-font-lock-enclosing.decl.
16215 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16216 pp-state and literal type in addition to the limits.
16217 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16218 (c-state-literal-at): Use the above new defun.
16219 (c-slow-in-literal, c-fast-in-literal): Remove.
16220 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16222 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16223 being in a literal. Add a limit for backward searching.
16225 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16228 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16232 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16234 * window.el (delete-other-windows): Use correct frame in call to
16235 window-with-parameter.
16237 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16239 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16240 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16241 (makefile-gmake-statements, makefile-makepp-statements):
16242 Use it and add new makepp keywords.
16243 (makefile-makepp-font-lock-keywords): Add new patterns.
16244 (makefile-match-function-end): Match new [...] and [[...]].
16246 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16248 * ses.el (ses-call-printer-return, ses-cell-property-get)
16249 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16250 (ses-create-cell-variable, ses-reset-header-string)
16251 (ses-cell-set-formula, ses-repair-cell-reference-all)
16252 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16253 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16254 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16255 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16256 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16257 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16258 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16259 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16260 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16261 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16262 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16263 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16265 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16267 * ses.el: The overall change is to add cell renaming, that is
16268 setting fancy names for cell symbols other than name matching
16269 "\\`[A-Z]+[0-9]+\\'" regexp .
16270 (ses-create-cell-variable): New defun.
16271 (ses-relocate-formula): Relocate formulas only for cells the
16272 symbols of which are not renamed, i.e. symbols whose names do not
16273 match regexp "\\`[A-Z]+[0-9]+\\'".
16274 (ses-relocate-all): Relocate values only for cells the symbols of
16275 which are not renamed.
16276 (ses-load): Create cells variables as the (ses-cell ...) are read,
16277 in order to check row col consistency with cell symbol name only
16278 for cells that are not renamed.
16279 (ses-replace-name-in-formula): New defun.
16280 (ses-rename-cell): New defun.
16282 2011-12-11 Chong Yidong <cyd@gnu.org>
16284 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16285 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16287 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16289 * window.el (other-window): Fix docstring.
16291 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16293 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16294 `from' or `to' address before taking its substring.
16295 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16296 encoded name is chopped in the middle of the encoded string, and
16297 thus displayed encoded.
16299 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16301 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16303 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16305 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16306 to use texinfo-update-node and commands that call it if the
16307 Texinfo file uses @node lines without next/prev/up pointers.
16308 Correct outdated description about texinfo-master-menu.
16309 (texinfo-all-menus-update, texinfo-master-menu)
16310 (texinfo-update-node, texinfo-every-node-update)
16311 (texinfo-multiple-files-update): Doc fix. Warn against updating
16312 all the @node lines.
16313 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16314 argument is numeric. Explain better in the doc string what the
16315 function really does.
16316 (texinfo-insert-master-menu-list): Improve the error message
16317 displayed if there's no menu in the Top node.
16318 (Bug#2975) See also this thread:
16319 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16321 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16323 * speedbar.el (speedbar-supported-extension-expressions):
16324 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16326 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16328 * printing.el (pr-mode-alist):
16329 * simple.el (filter-buffer-substring-functions)
16330 (completion-list-insert-choice-function):
16331 * window.el (window-with-parameter, window-atom-root)
16332 (window-sides-slots, window-size-fixed, window-min-delta)
16333 (window-max-delta, window--resize-mini-window)
16334 (window--resize-child-windows-normal, window-tree)
16335 (delete-other-windows, quit-window, split-window)
16336 (display-buffer-record-window, special-display-buffer-names)
16337 (special-display-regexps, special-display-popup-frame)
16338 (same-window-p, split-window-sensibly)
16339 (display-buffer-overriding-action, display-buffer-alist)
16340 (display-buffer-base-action, display-buffer, switch-to-buffer)
16341 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16342 (fit-window-to-buffer, recenter-positions)
16343 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16344 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16345 and remove unneeded backslashes in docstrings.
16347 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16351 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16352 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16354 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16355 when reading the makefile (bug#10116).
16357 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16359 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16362 2011-12-06 Glenn Morris <rgm@gnu.org>
16364 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16366 2011-12-06 Chong Yidong <cyd@gnu.org>
16368 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16370 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16372 * textmodes/table.el (table-shorten-cell): Fix typo.
16374 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16376 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16378 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16380 * descr-text.el (describe-char): Fix display of strong
16381 right-to-left characters and directional embeddings and overrides.
16383 * simple.el (what-cursor-position): Fix display of codepoints of
16384 strong right-to-left characters.
16386 2011-12-05 Chong Yidong <cyd@gnu.org>
16388 * faces.el (read-color): Doc fix.
16390 2011-12-05 Glenn Morris <rgm@gnu.org>
16392 * align.el (align--set-marker): Add doc-string.
16393 Don't try to move something that is not a marker. (Bug#10216)
16395 2011-12-04 Glenn Morris <rgm@gnu.org>
16397 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16398 overly zealous deletion of trailing whitespace.
16400 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16402 * server.el (server-delete-client): On Windows, do not try to delete
16404 (server-process-filter): On Windows, treat requests for a tty frame as
16405 if they were for a GUI frame if the running server is in GUI mode.
16407 2011-12-03 Glenn Morris <rgm@gnu.org>
16409 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16411 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16413 * electric.el: Streamline electric-indent's hook.
16414 (electric-indent-chars): Revert to simple list.
16415 (electric-indent-functions): New var.
16416 (electric-indent-post-self-insert-function): Use it.
16418 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16419 there's no inferior buffer (bug#10196).
16420 (prolog-consult-compile): Don't use toggle-read-only.
16422 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16424 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16425 interrupt. (Bug#10187)
16427 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16429 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16432 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16435 2011-12-02 Juri Linkov <juri@jurta.org>
16437 * info.el (Info-search): Display "end of manual" when Isearch
16438 reaches the end of single-file Info manual. (Bug#9918)
16440 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16442 * isearch.el (isearch-message-prefix): Run the input method part
16443 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16445 2011-12-02 Juri Linkov <juri@jurta.org>
16447 * isearch.el (isearch-occur): Use `word-search-regexp' for
16449 (isearch-search-and-update): Add condition for `isearch-word' and
16450 call `word-search-regexp'. (Bug#10145)
16452 2011-12-01 Glenn Morris <rgm@gnu.org>
16454 * eshell/em-hist.el (eshell-hist-initialize):
16455 Handle eshell-history-size nil and HISTSIZE set or unset.
16456 (eshell-history-file-name, eshell-history-size): Fix custom type.
16458 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16460 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16462 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16464 * progmodes/verilog-mode.el (verilog-pretty-expr):
16465 Rework verilog-pretty-expr to handle new assignment operators in system
16466 verilog, such as += *= and the like.
16467 (verilog-assignment-operator-re): Regular expression to find the
16468 assigment operator in a verilog assignment.
16469 (verilog-assignment-operation-re): Regular expression to find an
16470 assignment statement for pretty-expr.
16471 (verilog-in-attribute-p): Query returns true if point is in an
16472 attribute context; used to skip these for expression line up from
16474 (verilog-in-parameter-p): Query returns true if point is in an
16475 parameter definition context; used to skip these for expression
16476 line up from pretty-expr.
16477 (verilog-in-parenthesis-p): Query returns true if point is in a
16478 parenthetical expression, specifically ( ) but not [ ] or { };
16479 used by pretty-expr.
16480 (verilog-just-one-space): If there is no space, don't add one.
16481 (verilog-get-lineup-indent-2): Specifically skip just attribute
16482 contexts for expression lineup, rather than skipping all
16483 parenthetical expressions.
16484 (verilog-calculate-indent): Fix comment, and fix indent.
16485 (verilog-do-indent): Indent declarations in lists (suggested by
16487 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16489 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16492 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16494 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16495 parameters with embedded comments. Reported by Ray Stevens.
16496 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16497 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16498 Reported by Tim Holt.
16499 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16500 instantiated by upper module causing wrong expansion until AUTOed a
16501 second time. Reported by K C Buckenmaier.
16502 (verilog-diff-auto): Fix showing .* as a difference when
16503 `verilog-auto-star-save' off. Reported by Dan Dever.
16504 (verilog-auto-reset, verilog-read-always-signals)
16505 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16506 temporary signals in reset list if
16507 verilog-auto-reset-blocking-in-non is nil, and match assignment
16508 style to each signal's assignment type, bug381.
16509 Reported by Thomas Esposito.
16510 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16511 (verilog-uvm-statement-re): Support UVM indentation and
16512 highlighting, with old OVM keywords only.
16513 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16514 Support AUTOTIEOFF creating non-wire data types.
16515 Suggested by Jonathan Greenlaw.
16516 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16517 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16518 (verilog-inject-sense, verilog-read-inst-pins)
16519 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16520 Fix mismatching parenthesis inside commented out code when deleting
16521 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16522 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16523 non-numeric vector width. Reported by Alex Reed.
16524 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16525 detecting signals with parameter widths. Reported by Alex Reed.
16526 (verilog-auto-delete-trailing-whitespace):
16527 With `verilog-auto-delete-trailing-whitespace' remove trailing
16528 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16529 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16530 Fix verilog-scan-cache corruption when running user AUTO expansion
16531 hooks that call indentation routines.
16532 (verilog-simplify-range-expression): Fix typo ignoring lower case
16534 (verilog-delete-auto): Fix delete-autos to also remove user created
16535 automatics, as long as they start with AUTO.
16536 (verilog-batch-diff-auto, verilog-diff-auto)
16537 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16538 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16539 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16540 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16541 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16542 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16543 is disabled and its cache will get corrupt, causing AUTOS not to
16544 expand. Instead use only -quick functions.
16545 (verilog-scan-region): Fix scanning over escaped quotes.
16546 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16547 (verilog-re-search-backward-quick)
16548 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16549 related functions now ignore strings, to fix misparsing of strings
16550 with magic comments embedded in them.
16551 (verilog-read-auto-template):
16552 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16553 Reported by Brad Dobbie.
16554 (verilog-read-auto-template):
16555 Fix 'verilog-auto-inst-template-numbers' with comments.
16556 Reported by Brad Dobbie.
16557 (verilog-auto-inst, verilog-auto-inst-param)
16558 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16559 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16560 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16561 debugging templates without merge conflicts, bug357.
16562 Reported by Brad Dobbie.
16563 (verilog-read-auto-template):
16564 Fix verilog-auto-inst-template-numbers with multiple templates.
16565 Reported by Brad Dobbie.
16566 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16567 abbrevs so user won't be asked to save.
16568 (verilog-read-auto-lisp-present): Fix to start at beginning of
16569 buffer in case called outside of verilog-auto.
16570 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16571 to "X-2". Reported by Matthew Myers.
16572 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16573 all inputs from module templates. Reported by Leith Johnson.
16574 (verilog-module-inside-filename-p): Fix locating programs as with
16576 (verilog-auto-inst-port): Fix vl-width expressions when using
16577 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16578 (verilog-decls-get-regs, verilog-decls-get-signals,
16579 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16580 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16581 verilog-read-decls): Combine reg and wire structures into one var
16582 structure to represent SystemVerilog concepts.
16583 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16584 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16585 (verilog-auto-wire-type, verilog-insert-definition):
16586 Add verilog-auto-wire-type and AUTOLOGIC to support using
16587 SystemVerilog "logic" keyword instead of "wire"/"reg".
16588 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16589 to declares outputs that also have assignments (presumably in an
16590 ifdef or generate if so there's not a driver conflict).
16591 Reported by Matthew Myers.
16592 (verilog-auto-declare-nettype, verilog-insert-definition):
16593 Add verilog-auto-declare-nettype to fix declarations using
16594 `default_nettype none. Reported by Julian Gorfajn.
16595 (verilog-read-always-signals-recurse, verilog-read-decls)
16596 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16597 malformed end statement, bug325. Reported by Joshua Wise and
16599 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16600 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16601 when expanding .* in interfaces, bug320.
16602 Reported by Pierre-David Pfister.
16603 (verilog-read-module-name): Fix import statements between module
16604 name and open parenthesis, bug317.
16605 Reported by Pierre-David Pfister.
16606 (verilog-simplify-range-expression): Fix simplification of
16607 multiplications inside AUTOWIRE connections, bug303.
16608 (verilog-auto-inst-port): Support parameter expansion in
16609 multidimensional arrays.
16610 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16611 after "assert property". Reported by Julian Gorfajn.
16612 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16613 with multiplication, bug303.
16614 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16615 Reported by Jan Frode Lonnum.
16617 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16619 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16620 (hfy-shell-file-name, hfy-shell):
16621 * international/fontset.el (x-decompose-font-name): Fix typos.
16623 2011-11-29 Ken Brown <kbrown@cornell.edu>
16625 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16626 (gdb-version): Remove defvar.
16627 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16628 (gdb-gud-context-command, gdb-non-stop-handler)
16629 (gdb-current-context-command, gdb-stopped): Use it.
16630 (gdb-init-1): Enable pretty printing here.
16631 (gdb-non-stop-handler): Don't enable pretty-printing here.
16632 Check to see if the target supports non-stop mode; if not, turn off
16633 non-stop mode. Use the following.
16634 (gdb-check-target-async): New defun.
16635 (gud-watch, gdb-stopped): Fix whitespace.
16636 (gdb-get-source-file): Don't try to display the source file if
16637 `gdb-main-file' is nil.
16639 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16641 * align.el: Try to generate fewer markers (bug#10047).
16642 (align--set-marker): New macro.
16643 (align-region): Use it.
16645 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16647 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16649 2011-11-29 Chong Yidong <cyd@gnu.org>
16651 * indent.el (indent-for-tab-command, indent-according-to-mode):
16653 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16655 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16657 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16658 aware of remote file names. (Bug#10124)
16660 2011-11-29 Chong Yidong <cyd@gnu.org>
16662 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16664 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16666 * files.el (find-file): Don't use force-same-window (bug#10144).
16667 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16668 use pop-to-buffer if the selected window can't be used.
16669 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16671 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16673 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16676 2011-11-28 Chong Yidong <cyd@gnu.org>
16678 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16680 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16682 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16683 gdb-get-source-file-list on gdb-create-source-file-list.
16685 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16687 * whitespace.el (whitespace-newline): Use a different foreground
16688 color for 16-color light-background displays.
16690 2011-11-24 Chong Yidong <cyd@gnu.org>
16692 * window.el (display-buffer--special-action): Doc fix.
16694 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16696 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16697 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16698 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16699 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16700 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16701 (avl-tree-stack-first):
16702 * emacs-lisp/cconv.el (cconv--analyse-use):
16703 * net/gnutls.el (gnutls-negotiate): Fix typos.
16705 2011-11-24 Glenn Morris <rgm@gnu.org>
16707 * lpr.el (lpr-windows-system, lpr-lp-system):
16708 * mail/binhex.el (binhex-begin-line):
16709 * progmodes/grep.el (grep-history, grep-find-history):
16710 * textmodes/flyspell.el:
16711 * vc/pcvs-defs.el (cvs-global-menu):
16712 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16713 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16714 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16716 * net/tls.el: Fix case of "GnuTLS".
16718 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16720 * version.el (emacs-build-system): Give it a doc-string.
16722 2011-11-24 Juri Linkov <juri@jurta.org>
16724 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16726 2011-11-24 Glenn Morris <rgm@gnu.org>
16728 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16729 if called on a non-mime message just toggle the headers. (Bug#8006)
16731 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16733 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16734 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16735 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16736 (allout-rebullet-heading, allout-open-sibtopic)
16737 (allout-toggle-current-subtree-encryption)
16738 (allout-toggle-subtree-encryption, allout-encrypt-string)
16739 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16740 (allout-distinctive-bullets-string, allout-auto-activation):
16741 * window.el (window-normalize-buffer-to-display):
16742 * progmodes/verilog-mode.el (verilog-batch-indent):
16743 * textmodes/bibtex.el (bibtex-field-braces-opt)
16744 (bibtex-field-strings-opt):
16745 * vc/cvs-status.el (cvs-tree-merge):
16748 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16750 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16751 `non-essential' to t, in order to avoid remote connections.
16753 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16755 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16756 On MS-DOS and MS-Windows, compare with loaddefs.el
16757 case-insensitively.
16759 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16761 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16763 2011-11-23 Glenn Morris <rgm@gnu.org>
16765 * paths.el (rmail-file-name): Reformat the doc-string so that it
16768 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16769 (rmail-auto-file): Ignore case in the "special" field names,
16770 as mail-fetch-field does for all others.
16772 * mail/rmail.el (rmail-forward):
16773 * mail/rmailkwd.el (rmail-set-label):
16774 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16775 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16777 * mail/rmail.el (rmail-current-message): Doc fix.
16779 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16781 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16783 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16785 2011-11-22 Glenn Morris <rgm@gnu.org>
16787 * mail/rmailmm.el (test-rmail-mime-handler)
16788 (test-rmail-mime-bulk-handler)
16789 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16791 2011-11-21 Juri Linkov <juri@jurta.org>
16793 * calc/calc.el (calc-read-key-sequence):
16794 Let-bind `input-method-function' to nil. (Bug#10018)
16796 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16798 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16799 Tell the caller that the next line needs recomputation, even
16800 though it doesn't start a sexp (bug#10094).
16802 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16804 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16806 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16808 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16809 Use force-same-window.
16811 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16813 * descr-text.el (describe-char-unicode-data):
16814 * json.el (json-string-escape):
16815 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16816 (Footnote-unicode, Footnote-style-p):
16817 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16819 2011-11-20 Chong Yidong <cyd@gnu.org>
16821 * window.el (replace-buffer-in-windows): Restore interactive spec.
16823 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16825 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16827 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16828 (byte-compile-global-not-obsolete-vars): New var.
16829 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16831 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16833 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16835 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16836 * progmodes/pascal.el (electric-pascal-equal):
16837 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16838 * xml.el (xml-substitute-special): Fix typos.
16840 2011-11-20 Glenn Morris <rgm@gnu.org>
16842 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16843 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16845 (rmail-decode-mime-charset): Mark as obsolete.
16847 * mail/rmailsum.el (rmail-message-regexp-p-1):
16848 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16849 Before using mime functions, check they are set. (Bug#10077)
16851 2011-11-19 Juri Linkov <juri@jurta.org>
16853 * info.el (Info-finder-find-node): Use `package--builtins' instead
16854 of `package-alist'. Use node names formed by the pattern "Keyword "
16855 and the keyword name.
16857 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16859 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16861 2011-11-19 Juri Linkov <juri@jurta.org>
16863 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16864 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16865 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16866 `old-history', `old-history-forward'. Add let-binding
16867 `window-selected'. Remove calls to `kill-buffer',
16868 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16869 before calling `Info-find-node', so `Info-find-node-2' will reread
16870 the Info file. Restore window positions only when `window-selected'
16873 2011-11-19 Juri Linkov <juri@jurta.org>
16875 * isearch.el (isearch-lazy-highlight-new-loop):
16876 Remove condition `(not isearch-error)'. (Bug#9918)
16878 * misearch.el (multi-isearch-search-fun): Add condition
16879 `(not bound)' to ignore lazy-highlighting search.
16880 Add the search-failed message "end of multi" when the end of
16881 multi-sequence is reached. Uncapitalize the search-failed
16882 message "Repeat for next buffer".
16884 * info.el (Info-search): Add the search-failed message
16885 "end of the manual" when the end of the manual is reached
16888 2011-11-19 Juri Linkov <juri@jurta.org>
16890 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16891 Use non-destructive `remove' instead of `delete' because
16892 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16893 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16895 2011-11-19 Juri Linkov <juri@jurta.org>
16897 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16898 to nil instead of binding `search-ring' and `regexp-search-ring'.
16901 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16903 * simple.el (line-move): Force movement by logical lines for any
16904 hscrolled window, not only when auto-hscroll-mode is on.
16905 (line-move-visual): Update doc string to that effect. (Bug#10076)
16907 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16909 * language/european.el (macintosh): Define as alias for mac-roman.
16911 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16913 * mail/rmailmm.el (rmail-mime-display-header)
16914 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16915 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16916 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16917 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16918 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16920 (rmail-mime-entity-segment): To get past the tagline, move forward
16921 2 more lines, to account for the 2 empty lines that precede and
16922 follow the line with the buttons.
16923 (rmail-mime-update-tagline): Move one more line, to get past the
16924 empty line that follows the buttons in the tagline. (Bug#9520)
16926 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16928 * window.el (window-max-delta-1, window-min-delta-1)
16929 (window-min-size-1, window-state-get-1, window-state-put-1)
16930 (window-state-put-2): Use "window--" prefix.
16932 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16934 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16935 (smie-warning-count): New var.
16936 (smie-set-prec2tab): Use it.
16937 (smie-bnf->prec2): Improve warnings. Add docstring.
16938 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16939 (smie-bnf--set-class): New function.
16940 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16943 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16944 (compilation-error-properties, compilation-move-to-column):
16945 Handle compilation-first-column while in the target buffer.
16947 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16948 Don't hardcode point-min==1.
16950 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16951 (eshell-rewrite-for-command): Remove workaround.
16952 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16953 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16954 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16956 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16958 2011-11-17 Glenn Morris <rgm@gnu.org>
16960 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16961 Ignore buffer-local generated-autoload-file if it is the same
16962 as the global value. (Bug#10049)
16964 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16966 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16967 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16968 (reftex-toc-previous-heading, reftex-toc-max-level)
16969 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16970 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16971 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16972 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16973 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16974 (reftex-toc-rename-label, reftex-toc-visit-location)
16975 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16976 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16977 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16978 leaving "*toc*" only for references to the buffer.
16980 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16982 * window.el (window-resize, delete-window, split-window):
16983 Replace window-splits by window-combination-resize.
16984 * cus-start.el (window-splits): Replace by window-combination-resize.
16986 2011-11-17 Glenn Morris <rgm@gnu.org>
16988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16989 Make bash entry derive from sh entry, not shell entry.
16991 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16993 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16996 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16998 * menu-bar.el (menu-bar-file-menu):
16999 * printing.el (pr-ps-utility):
17000 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17001 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17002 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17003 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17004 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17005 (icalendar--convert-cyclic-to-ical)
17006 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17007 (icalendar--convert-ical-to-diary)
17008 (icalendar--convert-recurring-to-diary)
17009 (icalendar--convert-non-recurring-all-day-to-diary)
17010 (icalendar-import-format-sample):
17011 * progmodes/idlw-shell.el (idlwave-shell-mode):
17012 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17013 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17014 (vhdl-ps-print-init): Fix typos.
17016 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17018 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17019 FSF and collapse date sequence, obscure author/maintainer email address
17020 better, remove extra version line, track relocation of author's webpage.
17022 * progmodes/python.el (python-pdbtrack-input-prompt)
17023 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17024 regular python pdb prompts. Adjustments shamelessly taken exactly as
17025 suggested in EmacsWiki page (tiny change):
17026 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17028 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17030 * expand.el (expand-pos, expand-index, expand-point):
17031 Remove redundant info from docstring.
17032 (expand-add-abbrevs): Doc fix.
17033 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17034 (expand-sample-perl-mode-expand-list): Fix typos.
17036 * net/dbus.el (dbus-event-member-name):
17037 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17038 * term/pc-win.el (msdos-create-frame-with-faces):
17039 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17041 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17043 * window.el (split-window, window-state-get-1)
17044 (window-state-put-1, window-state-put-2): Rename occurrences of
17045 window-nest to window-combination-limit.
17046 * cus-start.el (window-nest): Rename to window-combination-limit.
17048 2011-11-16 Chong Yidong <cyd@gnu.org>
17050 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17051 regexp (Bug#10033).
17053 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17055 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17056 `completing-read' will remove *Completions* and will preserve
17057 current-buffer for us.
17058 (tmm-add-prompt): Users of *Completions* will always (re)set its
17060 (tmm-old-comp-map): Remove.
17062 2011-11-16 Glenn Morris <rgm@gnu.org>
17064 * mail/rmailedit.el: Require rmailmm when compiling.
17065 (rmail-old-mime-state): New declaration.
17066 (rmail-edit-current-message): If editing a mime message,
17067 edit the "raw" message from the mbox buffer.
17068 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17070 2011-11-15 Glenn Morris <rgm@gnu.org>
17072 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17073 which wasn't being used. Add optional arg to force given state.
17074 (rmail-mime): Add optional arg to force given state.
17076 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17078 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17079 * frame.el (display-mm-dimensions-alist):
17080 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17081 (outline-move-subtree-down):
17082 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17083 (newsticker--treeview-do-get-node):
17084 * net/quickurl.el (quickurl-list-buffer-name):
17085 * progmodes/dcl-mode.el (dcl-mode):
17086 * progmodes/gdb-mi.el (gdb-mapcar*):
17087 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17089 2011-11-15 Glenn Morris <rgm@gnu.org>
17091 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17092 in a boolean sense, so just make it a boolean, and fix the doc.
17093 (rmail-show-mime-function, rmail-mime-feature)
17094 (rmail-require-mime-maybe): Doc fixes.
17095 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17097 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17099 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17101 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17102 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17103 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17104 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17106 2011-11-15 Glenn Morris <rgm@gnu.org>
17108 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17109 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17110 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17111 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17112 (rmail-mime, rmail-show-mime): Doc fixes.
17114 * term/ns-win.el (mode-line-frame-identification):
17115 Leave it alone. (Bug#10051)
17117 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17119 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17120 Handle empty buffers. (Bug#9978)
17122 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17124 * international/mule.el (define-charset):
17125 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17126 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17127 * progmodes/verilog-mode.el (verilog-backward-token):
17128 * textmodes/ispell.el (lookup-words):
17129 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17131 2011-11-14 Glenn Morris <rgm@gnu.org>
17133 * progmodes/executable.el
17134 (executable-make-buffer-file-executable-if-script-p):
17135 Handle file-modes returning nil.
17137 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17138 message - not necessary, and causes problems. (Bug#9831)
17140 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17142 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17144 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17145 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17146 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17148 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17150 * window.el (window-resize, delete-window): Use window-splits
17151 variable instead of function.
17152 (window-state-get-1, window-state-put-2, window-state-put):
17153 Don't deal with windows' splits status.
17155 2011-11-12 Glenn Morris <rgm@gnu.org>
17157 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17158 (apropos-documentation): Doc fixes.
17160 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17162 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17163 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17165 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17167 * electric.el (electric-indent-post-self-insert-function): Make it
17168 possible for a char to only indent in some circumstances.
17169 (electric-indent-mode): Simplify.
17171 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17173 * window.el (windows-with-parameter): Remove unused function.
17174 (windows-at-side): Rename to window-at-side-list.
17175 (window-check, window-atom-check, window-atom-check-1)
17176 (window-side-check, window-size-ignore, window-size-fixed-1)
17177 (window-in-direction-2): Prefix with "window--".
17178 (window-tree-1): Rename to window--subtree, fix doc-string.
17180 2011-11-11 Glenn Morris <rgm@gnu.org>
17182 * subr.el (eval-after-load): If FILE is already loaded,
17183 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17185 2011-11-10 Glenn Morris <rgm@gnu.org>
17187 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17188 Call svn via vc-svn-command rather than vc-do-command.
17189 (vc-svn-command): Add --non-interactive. (Bug#9993)
17190 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17192 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17193 Add toggle-read-only. (Bug#7292)
17194 * files.el (toggle-read-only): Mention that it should only
17195 be used interactively. (Bug#10006)
17197 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17200 Adjust regexp for OCaml warnings.
17202 * electric.el (electric-pair-post-self-insert-function): Let user
17203 turn it off buffer-locally (bug#9932).
17205 * progmodes/python.el (python-beginning-of-statement):
17206 Rewrite (bug#2703).
17208 * progmodes/compile.el: Better handle TABs (bug#9749).
17209 (compilation-internal-error-properties)
17210 (compilation-next-error-function): Obey the target buffer's
17211 compilation-error-screen-columns.
17213 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17215 * progmodes/meta-mode.el: Remove obsolete comments.
17216 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17217 Fix typos in docstrings.
17219 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17221 * window.el (window-size-fixed-p): Rewrite doc-string.
17222 (window-resizable-p): Rename to window--resizable-p. Update callers.
17223 (window--resizable): New function. Make all callers of
17224 window-resizable call window--resizable instead.
17225 (window-resizable): Rewrite in terms of window--resizable.
17227 2011-11-08 Glenn Morris <rgm@gnu.org>
17229 * progmodes/delphi.el (delphi-mode-syntax-table):
17230 Let define-derived-mode define a proper syntax table. (Bug#9994)
17232 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17234 * window.el: Stay away from defsubst.
17235 (window-list-no-nils): Remove.
17236 (window-state-get-1, window-state-get): Use backquote instead.
17238 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17240 * emacs-lisp/find-func.el (find-function-read):
17241 Fix incorrect use of default argument in `completing-read'.
17243 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17245 * window.el (display-buffer-function, special-display-function):
17246 Mention display-buffer-record-window but do not mention
17247 help-setup parameter in doc-strings.
17248 (window-min-delta): Fix doc-string typo.
17250 2011-11-08 Chong Yidong <cyd@gnu.org>
17252 * window.el (window-total-height, window-total-width): Doc fix.
17253 (window-body-size): Move from C.
17254 (window-body-height, window-body-width): Move to C.
17256 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17258 * window.el: Make special-display like display-buffer-alist (bug#9532).
17259 (display-buffer--special-action): New function, morphed
17260 from display-buffer--special.
17261 (display-buffer): Use it to handle special-display-buffers at higher
17262 priority (just after display-buffer-alist).
17263 (display-buffer-fallback-action, display-buffer--other-frame-action)
17264 (pop-to-buffer-same-window): Remove display-buffer--special.
17266 2011-11-07 Glenn Morris <rgm@gnu.org>
17268 * calendar/cal-menu.el (cal-menu-set-date-title):
17269 Do nothing if not in a calendar. (Bug#9976)
17271 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * files.el (find-file): Always use selected-window.
17275 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17277 * window.el (window-combinations): Make WINDOW argument
17278 mandatory. Rewrite doc-string.
17279 (walk-window-subtree, window-atom-check, window-min-delta)
17280 (window-max-delta, window--resize-this-window)
17281 (window--resize-root-window-vertically, window-tree)
17282 (balance-windows, window-state-put): Rewrite doc-strings as to
17283 not mention the term "subwindow".
17284 (window--resize-subwindows-skip-p): Rename to
17285 window--resize-child-windows-skip-p.
17286 (window--resize-subwindows-normal): Rename to
17287 window--resize-child-windows-normal.
17288 (window--resize-subwindows): Rename to
17289 window--resize-child-windows.
17290 (window-or-subwindow-p): Rename to window--in-subtree-p.
17292 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17294 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17295 Ensure that mbox format messages end in two newlines (Bug#9974).
17297 2011-11-06 Chong Yidong <cyd@gnu.org>
17299 * window.el (window-combination-p): Function deleted; its
17300 side-effect is not used in any existing code.
17301 (window-combinations, window-combined-p): Call window-*-child
17304 2011-11-05 Chong Yidong <cyd@gnu.org>
17306 * window.el (window-valid-p): Rename from window-any-p.
17307 (window-size-ignore, window-state-get): Callers changed.
17308 (window-normalize-window): Rename from window-normalize-any-window.
17309 New arg LIVE-ONLY, replacing window-normalize-live-window.
17310 (window-normalize-live-window): Delete.
17311 (window-combination-p, window-combined-p, window-combinations)
17312 (walk-window-subtree, window-atom-root, window-min-size)
17313 (window-sizable, window-sizable-p, window-size-fixed-p)
17314 (window-min-delta, window-max-delta, window-resizable)
17315 (window-resizable-p, window-full-height-p, window-full-width-p)
17316 (window-current-scroll-bars, window-point-1, set-window-point-1)
17317 (window-at-side-p, window-in-direction, window-resize)
17318 (adjust-window-trailing-edge, maximize-window, minimize-window)
17319 (window-deletable-p, delete-window, delete-other-windows)
17320 (record-window-buffer, unrecord-window-buffer)
17321 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17322 (quit-window, split-window, window-state-put)
17323 (set-window-text-height, fit-window-to-buffer)
17324 (shrink-window-if-larger-than-buffer): Callers changed.
17326 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17328 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17329 rfc2047-decode-string.
17330 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17333 * window.el (window-body-height, window-body-width): Mention in
17334 the doc string that the return values are in frame's canonical
17337 2011-11-03 Alan Mackenzie <acm@muc.de>
17339 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17340 change in cc-engine.el.
17342 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17344 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17346 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17348 * window.el (quit-window): Call unrecord-window-buffer after
17349 showing another buffer in the window. (Bug#9937)
17350 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17352 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17354 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17355 Accept status with more than 9 shelves. (Bug#9935)
17356 Reported by Colin D Bennett <colin@gibibit.com>.
17358 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17360 * help.el (with-help-window): Don't reference
17361 temp-buffer-show-specifiers in doc-string.
17363 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17365 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17368 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17370 * whitespace.el: New version 13.2.2.
17371 (whitespace-newline-mode): Disable properly. Reported by Sarah
17374 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17376 * net/newst-treeview.el: Remove "Time-stamp".
17377 (newsticker--group-manage-orphan-feeds): Do not call
17378 newsticker--treeview-tree-update.
17379 (newsticker-treeview-update, newsticker-treeview):
17380 Call newsticker--treeview-tree-update if necessary.
17382 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17384 * window.el (window-iso-combination-p, window-iso-combined-p)
17385 (window-iso-combinations): Remove "iso-" infix.
17386 Suggested by Chong Yidong.
17387 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17388 (window-max-delta-1, window-resize, window--resize-siblings)
17389 (window--resize-this-window, adjust-window-trailing-edge)
17390 (split-window, balance-windows-1)
17391 (shrink-window-if-larger-than-buffer):
17392 * calendar/calendar.el (calendar-generate-window):
17393 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17395 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17397 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17398 in place (bug#9907).
17399 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17400 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17401 (eshell-structure-basic-command, eshell-rewrite-while-command)
17402 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17403 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17404 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17405 (eshell-do-pipelines-synchronously, eshell-eval-command):
17406 Use backquotes and prefer setq to set.
17407 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17408 (eshell-macrop): Use functionp.
17409 (eshell-do-eval): Handle multiple expressions in `while' body.
17411 2011-10-30 Chong Yidong <cyd@gnu.org>
17413 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17414 instead of set-mark (Bug#9810).
17416 2011-10-30 Chong Yidong <cyd@gnu.org>
17418 * window.el (split-window-below, split-window-right): Rename from
17419 split-window-above-each-other and split-window-side-by-side
17420 respectively. All callers changed.
17421 (split-window-sensibly, split-window-sensibly): Use them.
17422 (split-window-keep-point): Doc fix.
17424 * isearch.el: Add isearch-scroll property to split-window-below
17425 and split-window-right.
17427 * follow.el (follow-mode):
17428 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17429 * progmodes/ada-xref.el (ada-gdb-application):
17430 * emulation/vip.el (vip-buffer-in-two-windows):
17431 * image-dired.el (image-dired-dired-with-window-configuration):
17432 * dired-x.el (dired-do-find-marked-files):
17433 * dired.el (dired-pop-to-buffer):
17434 * bs.el (bs--show-with-configuration):
17435 * vc/emerge.el (emerge-setup-windows):
17436 * textmodes/two-column.el (2C-two-columns):
17437 * textmodes/reftex-toc.el (reftex-toc):
17438 * progmodes/gdb-mi.el (gdb-setup-windows):
17439 * progmodes/fortran.el (fortran-window-create):
17440 * net/newst-treeview.el (newsticker--treeview-window-init):
17441 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17442 * emulation/tpu-edt.el (tpu-gold-map):
17443 * emulation/crisp.el (crisp-mode-map):
17444 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17446 2011-10-29 Chong Yidong <cyd@gnu.org>
17448 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17450 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17452 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17453 forged Ispell output (Bug#7904).
17455 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17457 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17459 * doc-view.el: Avoid ugly errors about not finding nil.
17460 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17461 (doc-view-dvipdf-program, doc-view-unoconv-program)
17462 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17463 Avoid nil or absolute file name as default value.
17464 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17466 2011-10-28 Alan Mackenzie <acm@muc.de>
17468 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17470 2011-10-28 Alan Mackenzie <acm@muc.de>
17472 Amend the handling of c-beginning/end-of-defun in nested declaration
17475 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17476 cc-langs.el. Change it to a defcustom.
17478 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17481 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17482 Prevent "class foo : bar" being spuriously recognized as a label.
17484 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17485 Add parameter `inclusive' (to include enclosing braces in the region).
17486 (c-widen-to-enclosing-decl-scope): New function.
17487 (c-while-widening-to-decl-block): New macro.
17488 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17489 outward for defun boundaries, and correspondingly change symbol
17490 `respect-enclosure' to `go-outward'.
17491 (c-declaration-limits): Change algorithm to report only the "innermost"
17492 defun's boundaries.
17494 2011-10-28 Deniz Dogan <deniz@dogan.se>
17496 * net/rcirc.el (rcirc-mode): Use hard newlines.
17498 2011-10-28 Alan Mackenzie <acm@muc.de>
17500 Amend to indent and fontify macros "which include their own semicolon"
17501 correctly, using the "virtual semicolon" mechanism.
17503 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17505 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17506 Recode to scan one line at a time rather than having \n and \r
17507 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17508 (c-forward-label): Amend for virtual semicolons.
17509 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17511 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17512 of the new C macros.
17514 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17515 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17516 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17517 (c-opt-cpp-macro-define): Make into a full language variable.
17518 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17519 AWK Mode (including \n, \r) removed, no longer needed.
17521 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17522 Invoke c-make-macro-with-semi-re.
17524 * progmodes/cc-vars.el (c-macro-with-semi-re):
17525 (c-macro-names-with-semicolon): New variables.
17526 (c-make-macro-with-semi-re): New function.
17528 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * vc/log-edit.el: Fill empty field rather than adding new one.
17531 (log-edit-add-field): New function.
17532 (log-edit-insert-changelog): Use it.
17534 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17536 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17538 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17540 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17541 (gdb--check-interpreter): New function.
17544 2011-10-27 Glenn Morris <rgm@gnu.org>
17546 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17547 (least-positive-float, least-negative-float)
17548 (least-positive-normalized-float, least-negative-normalized-float)
17549 (float-epsilon, float-negative-epsilon):
17550 Remove unnecessary declarations.
17552 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17553 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17554 (least-positive-float, least-negative-float)
17555 (least-positive-normalized-float, least-negative-normalized-float)
17556 (float-epsilon, float-negative-epsilon): Add doc-strings,
17557 based on those in cl.texi.
17559 * files.el (set-visited-file-name): If the major-mode changed,
17560 reload the local variables. (Bug#9796)
17562 2011-10-27 Chong Yidong <cyd@gnu.org>
17564 * subr.el (change-major-mode-after-body-hook): New hook.
17565 (run-mode-hooks): Run it.
17567 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17568 Use change-major-mode-before-body-hook.
17570 * simple.el (fundamental-mode):
17571 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17572 change introducing fundamental-mode-hook.
17574 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17576 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17578 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17580 * ido.el (ido-file-name-all-completions-1): Do not require
17581 tramp.el explicitly. (Bug#7583)
17583 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17585 * progmodes/octave-mod.el:
17586 * progmodes/octave-inf.el: Update maintainer.
17588 2011-10-26 Chong Yidong <cyd@gnu.org>
17590 * subr.el (with-wrapper-hook): Rewrite doc.
17592 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17594 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17595 filenames "/method:foo:". (Bug#9793)
17597 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17602 2011-10-24 Glenn Morris <rgm@gnu.org>
17604 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17606 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17608 * notifications.el: Add the requirement of a running D-Bus session
17609 bus to the Commentary.
17611 2011-10-24 Juri Linkov <juri@jurta.org>
17613 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17614 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17617 2011-10-24 Juri Linkov <juri@jurta.org>
17619 * info.el (Info-following-node-name-re): Add newline to the list
17620 of allowed characters for leading space. (Bug#9824)
17622 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17624 * progmodes/octave-inf.el (inferior-octave-mode-map):
17625 Fix C-c C-h binding.
17626 * progmodes/octave-mod.el (octave-help): Remove.
17628 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17630 Sync with Tramp 2.2.3.
17632 * net/tramp-cache.el (top): Pacify byte-compiler using
17633 `init-file-user' and `site-run-file'.
17635 * net/trampver.el: Update release number.
17637 2011-10-23 Chong Yidong <cyd@gnu.org>
17639 * files.el (toggle-read-only): Remove obsolete comment about
17642 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17643 for toggle-read-only. Note that this hasn't called vc-next-action
17644 since 2008-05-02, though it wasn't documented at the time.
17646 * vc/ediff-init.el (ediff-toggle-read-only-function):
17647 Use toggle-read-only.
17649 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17651 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17654 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17655 correct faulty logical expression.
17656 (c-parse-state-state, c-record-parse-state-state):
17657 (c-replay-parse-state-state): New defvar/defuns.
17658 (c-debug-parse-state): Use new functions.
17660 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17662 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17663 last fix. Use window-in-direction correctly.
17665 2011-10-21 Chong Yidong <cyd@gnu.org>
17667 * progmodes/idlwave.el (idlwave-mode):
17668 * progmodes/vera-mode.el (vera-mode): No need to set
17669 require-final-newline; that's done in prog-mode.
17670 Suggested by Stefan Monnier.
17672 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17674 * mouse.el (mouse-drag-window-above)
17675 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17676 (mouse-drag-mode-line-1, mouse-drag-header-line)
17677 (mouse-drag-vertical-line-rightward-window): Remove.
17678 (mouse-drag-line): New function.
17679 (mouse-drag-mode-line, mouse-drag-header-line)
17680 (mouse-drag-vertical-line): Call mouse-drag-line.
17681 * window.el (window-at-side-p, windows-at-side): New functions.
17683 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17685 * tar-mode.el (tar-grind-file-mode):
17686 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17688 2011-10-21 Chong Yidong <cyd@gnu.org>
17690 * progmodes/idlwave.el (idlwave-mode):
17691 * progmodes/vera-mode.el (vera-mode):
17692 Use mode-require-final-newline.
17694 2011-10-20 Glenn Morris <rgm@gnu.org>
17696 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17698 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17700 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17702 2011-10-20 Chong Yidong <cyd@gnu.org>
17704 * emulation/cua-base.el (cua-mode):
17705 * mail/footnote.el (footnote-mode):
17706 * mail/mailabbrev.el (mail-abbrevs-mode):
17707 * net/xesam.el (xesam-minor-mode):
17708 * progmodes/bug-reference.el (bug-reference-mode):
17709 * progmodes/cap-words.el (capitalized-words-mode):
17710 * progmodes/compile.el (compilation-minor-mode)
17711 (compilation-shell-minor-mode):
17712 * progmodes/gud.el (gud-tooltip-mode):
17713 * progmodes/hideif.el (hide-ifdef-mode):
17714 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17715 * progmodes/subword.el (subword-mode):
17716 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17717 * progmodes/which-func.el (which-function-mode):
17718 * term/tvi970.el (tvi970-set-keypad-mode):
17719 * term/vt100.el (vt100-wide-mode):
17720 * textmodes/flyspell.el (flyspell-mode):
17721 * textmodes/ispell.el (ispell-minor-mode):
17722 * textmodes/nroff-mode.el (nroff-electric-mode):
17723 * textmodes/paragraphs.el (use-hard-newlines):
17724 * textmodes/refill.el (refill-mode):
17725 * textmodes/reftex.el (reftex-mode):
17726 * textmodes/rst.el (rst-minor-mode):
17727 * textmodes/sgml-mode.el (html-autoview-mode)
17728 (sgml-electric-tag-pair-mode):
17729 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17730 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17731 * emulation/crisp.el (crisp-mode):
17732 * emacs-lisp/eldoc.el (eldoc-mode):
17733 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17734 minor mode behavior.
17736 2011-10-19 Juri Linkov <juri@jurta.org>
17738 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17739 the list of hard-coded chars with escape-glyph face.
17741 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17743 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17745 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17747 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17750 2011-10-19 Glenn Morris <rgm@gnu.org>
17752 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17753 Ignore ignored files. (Bug#9726)
17755 2011-10-19 Chong Yidong <cyd@gnu.org>
17757 Doc fix for minor modes, stating that an omitted argument enables
17758 the mode unconditionally when called from Lisp.
17760 * abbrev.el (abbrev-mode):
17761 * allout.el (allout-mode):
17762 * autoinsert.el (auto-insert-mode):
17763 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17764 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17765 (global-auto-revert-mode):
17766 * battery.el (display-battery-mode):
17767 * composite.el (global-auto-composition-mode)
17768 (auto-composition-mode):
17769 * delsel.el (delete-selection-mode):
17770 * desktop.el (desktop-save-mode):
17771 * dired-x.el (dired-omit-mode):
17772 * dirtrack.el (dirtrack-mode):
17773 * doc-view.el (doc-view-minor-mode):
17774 * double.el (double-mode):
17775 * electric.el (electric-indent-mode, electric-pair-mode):
17776 * emacs-lock.el (emacs-lock-mode):
17777 * epa-hook.el (auto-encryption-mode):
17778 * follow.el (follow-mode):
17779 * font-core.el (font-lock-mode):
17780 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17781 * help.el (temp-buffer-resize-mode):
17782 * hilit-chg.el (highlight-changes-mode)
17783 (highlight-changes-visible-mode):
17784 * hi-lock.el (hi-lock-mode):
17785 * hl-line.el (hl-line-mode, global-hl-line-mode):
17786 * icomplete.el (icomplete-mode):
17787 * ido.el (ido-everywhere):
17788 * image-file.el (auto-image-file-mode):
17789 * image-mode.el (image-minor-mode):
17790 * iswitchb.el (iswitchb-mode):
17791 * jka-cmpr-hook.el (auto-compression-mode):
17792 * linum.el (linum-mode):
17793 * longlines.el (longlines-mode):
17794 * master.el (master-mode):
17795 * mb-depth.el (minibuffer-depth-indicate-mode):
17796 * menu-bar.el (menu-bar-mode):
17797 * minibuf-eldef.el (minibuffer-electric-default-mode):
17798 * mouse-sel.el (mouse-sel-mode):
17799 * msb.el (msb-mode):
17800 * mwheel.el (mouse-wheel-mode):
17801 * outline.el (outline-minor-mode):
17802 * paren.el (show-paren-mode):
17803 * recentf.el (recentf-mode):
17804 * reveal.el (reveal-mode, global-reveal-mode):
17805 * rfn-eshadow.el (file-name-shadow-mode):
17806 * ruler-mode.el (ruler-mode):
17807 * savehist.el (savehist-mode):
17808 * scroll-all.el (scroll-all-mode):
17809 * scroll-bar.el (scroll-bar-mode):
17810 * server.el (server-mode):
17811 * shell.el (shell-dirtrack-mode):
17812 * simple.el (auto-fill-mode, transient-mark-mode)
17813 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17814 (line-number-mode, column-number-mode, size-indication-mode)
17815 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17816 * strokes.el (strokes-mode):
17817 * time.el (display-time-mode):
17818 * t-mouse.el (gpm-mouse-mode):
17819 * tool-bar.el (tool-bar-mode):
17820 * tooltip.el (tooltip-mode):
17821 * type-break.el (type-break-mode-line-message-mode)
17822 (type-break-query-mode):
17823 * view.el (view-mode):
17824 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17825 (global-whitespace-mode, global-whitespace-newline-mode):
17826 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17828 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17829 Fix autogenerated docstring.
17831 2011-10-19 Juri Linkov <juri@jurta.org>
17833 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17834 by checking environment variables "DESKTOP_SESSION" and
17835 "XDG_CURRENT_DESKTOP". (Bug#9779)
17837 2011-10-19 Juri Linkov <juri@jurta.org>
17839 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17840 (browse-url-chromium-program, browse-url-chromium-arguments):
17842 (browse-url-default-browser): Check for `browse-url-chromium' and
17843 call `browse-url-chromium-program'.
17844 (browse-url-chromium): New command. (Bug#9779)
17846 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17848 * facemenu.el (list-colors-duplicates): On Windows, detect more
17849 duplicates by assuming that only colors matching "^System" are
17850 special "system colors". (Bug#9722)
17852 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17854 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17855 to distinguish the author from the committer.
17857 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17859 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17861 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17863 * international/mule.el (sgml-html-meta-auto-coding-function):
17864 Add support for detecting encoding in HTML5 specified only as
17865 <meta charset="UTF-8">. Implementation just makes http-equiv and
17866 content-type parts from HTML4 encoding string optional. (Bug#9716)
17868 2011-10-18 Glenn Morris <rgm@gnu.org>
17870 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17872 2011-10-18 Chong Yidong <cyd@gnu.org>
17874 * faces.el (cursor): Doc fix.
17876 2011-10-17 Chong Yidong <cyd@gnu.org>
17878 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17880 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17882 * dirtrack.el (dirtrack): Support shell buffers with path
17883 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17885 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17887 * json.el: Bump version to 1.3 and note change in History.
17888 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17890 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17892 * comint.el (comint-insert-input, comint-send-input)
17893 (comint-get-old-input-default, comint-backward-matching-input)
17894 (comint-next-prompt): Use nil instead of `input' for field property of
17895 past user input (bug#114).
17897 * minibuffer.el (completion--replace): Inherit surrounding properties
17899 (minibuffer-complete-and-exit): Use it.
17901 * comint.el (comint--table-subvert): Quote the all-completions output
17904 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17906 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17908 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17909 window on right of selected. (Bug#9350) Reword other window
17910 entries and separate them from frame entries.
17912 2011-10-15 Glenn Morris <rgm@gnu.org>
17914 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17917 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17919 * net/network-stream.el (network-stream-open-starttls):
17920 Improve detection of failure due to lack of TLS support.
17922 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17923 putting the input text in front and in bold.
17925 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17927 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17929 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17932 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17933 unread-command-events rather than pushing yet-another event.
17935 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17937 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17938 the explanation of the possible choices. Make the options passed
17939 to completing-read shorter.
17941 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17943 * textmodes/flyspell.el (flyspell-large-region): Make sure
17944 extended character mode is used if defined (Bug#1339).
17946 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17948 * simple.el (what-cursor-position): Fix the display of the
17949 character info for LRE, LRO, RLE, and RLO characters by appending
17952 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17955 even in case of error; add debug spec; simplify data flow.
17956 (with-timeout-handler): Remove.
17958 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17960 Fix Bug#6019, Bug#9315.
17962 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17963 complete `buffer-file-name', the local file name part could look
17964 remotely (for example on VMS).
17966 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17967 `tramp-run-real-handler'.
17968 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17969 already quoted by '"'.
17971 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17972 Let `file-name-handler-alist' be nil, the local file name part
17973 could look remotely (for example on VMS).
17975 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17977 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17979 (flyspell-post-command-hook): ...to here.
17981 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17983 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17985 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17986 using completion. Protect against "slow" callers.
17987 Remove the "message hack".
17989 2011-10-11 Juri Linkov <juri@jurta.org>
17991 * isearch.el (isearch-lazy-highlight-word): New variable.
17992 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17995 2011-10-11 Glenn Morris <rgm@gnu.org>
17997 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17998 like f90-previous-statement does.
18000 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18002 * eshell/eshell.el (eshell-command): History should be saved
18003 only in interactive use, to avoid error.
18005 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18007 * minibuffer.el (completion-file-name-table): Fix last change,
18008 i.e. ignore normal errors but not the other ones.
18010 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18012 * window.el (special-display-buffer-names)
18013 (special-display-regexps): Remove some remnants of earlier
18014 changes from doc-strings.
18015 (quit-windows-on): New function.
18017 * vc/vc.el (vc-revert, vc-rollback):
18018 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18019 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18020 (Bug#6183) (Bug#7074) (Bug#7447)
18022 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18024 * window.el (frame-auto-hide-function): Add version tag.
18027 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18029 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18032 2011-10-09 Leo Liu <sdl.web@gmail.com>
18034 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18037 2011-10-08 Glenn Morris <rgm@gnu.org>
18039 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18040 before the first code statement zero indent. (Bug#9690)
18042 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18044 * simple.el (count-words-region): Always count in the region.
18045 Report the number of lines and characters too.
18046 (count-words): New command, which counts in the buffer if the
18047 region is inactive, as count-words-region used to.
18048 (count-words--message): New function. Handle plurals.
18049 (count-lines-region): Make it an alias for count-words-region.
18051 * bindings.el (esc-map): Replace count-lines-region with
18052 count-words-region.
18054 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18056 * window.el (window--delete): Delete dedicated frame
18057 unconditionally when argument KILL is non-nil. (Bug#9699)
18058 (switch-to-buffer): Fix doc-string typo.
18060 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18062 * eshell/eshell.el (eshell-command): Avoid using hooks.
18064 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18066 * bindings.el ([M-left],[M-right]): Bind to left-word and
18067 right-word respectively.
18069 2011-10-07 Glenn Morris <rgm@gnu.org>
18071 * cus-start.el (debug-on-quit): Fix custom type.
18073 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18075 * subr.el (define-key-after): Clarify that the function is not
18076 useful for non-menu keymaps.
18078 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18080 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18082 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18083 in current minibuffer (Fix bug with recursive minibuffers).
18085 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18087 * progmodes/gdb-mi.el (gdb): Doc fix.
18089 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18091 * window.el (frame-auto-hide-function): New option replacing
18092 frame-auto-delete. Suggested by Stefan Monnier.
18093 (window--delete): Call frame-auto-hide-function instead of
18094 investigating frame-auto-delete.
18095 (window-point-1, set-window-point-1): New functions.
18096 (window-in-direction, record-window-buffer, window-state-get-1)
18097 (display-buffer-record-window): Use window-point-1 instead of
18099 (set-window-buffer-start-and-point): Use set-window-point-1.
18101 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18103 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18105 2011-10-05 Glenn Morris <rgm@gnu.org>
18107 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18108 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18110 2011-10-05 Leo Liu <sdl.web@gmail.com>
18112 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18113 works with buffer object.
18115 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18117 * mpc.el (mpc-tool-bar-map): Add labels.
18119 2011-10-04 Glenn Morris <rgm@gnu.org>
18121 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18123 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18125 * window.el (window--delete): New function.
18126 (frame-auto-delete): Resuscitate option.
18127 (bury-buffer, replace-buffer-in-windows)
18128 (quit-window): Rewrite using window--delete.
18129 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18130 Pass display-buffer-mark-dedicated to window--display-buffer-2
18133 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18135 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18136 returns a list (bug#9554). Add remote file name completion.
18137 * comint.el (comint--table-subvert): Curry and get quote&unquote
18138 functions as arguments.
18139 (comint--complete-file-name-data): Adjust call accordingly.
18140 * pcomplete.el (pcomplete--table-subvert): Remove.
18141 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18143 * minibuffer.el (completion-table-case-fold): Use currying.
18144 (completion--styles-type, completion--cycling-threshold-type):
18146 (completion-styles, completion-category-overrides)
18147 (completion-cycle-threshold): Use them.
18148 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18149 completion-table-case-fold.
18151 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18153 * minibuffer.el (completion-category-overrides): Fix type of styles
18154 and add more user friendly tags (bug#9660).
18156 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18158 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18159 (mule-input-method-string): New widget.
18160 (default-input-method, language-info-custom-alist): Use it.
18162 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18164 * pcomplete.el: Require comint.
18165 (pcomplete--common-suffix): Remove.
18166 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18167 (pcomplete--table-subvert): Sync with comint--table-subvert.
18168 (pcomplete--entries): Use comint-completion-file-name-table.
18169 * comint.el (comint-unquote-filename): Simplify.
18170 (comint-completion-file-name-table): New function (bug#9616).
18171 (comint--complete-file-name-data): Use it.
18173 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18174 (pcmpl-gnu-tar-buffer): Remove.
18175 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18176 around. Make sure pcomplete-suffix-list is only changed temporarily.
18177 Don't look inside the tar's file if it's too large.
18179 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18181 * cus-edit.el (custom-mode-map):
18182 * epa.el (epa-key-list-mode-map):
18183 * man.el (Man-mode-map):
18184 * startup.el (splash-screen-keymap):
18185 * simple.el (special-mode-map): Use scroll-up-command and
18186 scroll-down-command.
18188 * progmodes/idlw-help.el (idlwave-help-mode-map):
18189 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18190 * net/newst-plainview.el (newsticker-mode-map):
18191 * emulation/ws-mode.el (wordstar-mode-map):
18192 * emulation/vi.el (vi-com-map):
18193 * calc/calc-graph.el (calc-graph-show-dumb):
18194 * term/sun.el (terminal-init-sun):
18195 * term/ns-win.el (global-map):
18196 * progmodes/grep.el (grep-mode-map):
18197 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18198 * mail/rmail.el (rmail-mode-map):
18199 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18201 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18202 custom-safe-themes as special.
18204 2011-10-01 Julien Danjou <julien@danjou.info>
18206 * notifications.el (notifications-notify): Fix docstring.
18208 2011-10-01 Per Starbäck <per@starback.se>
18210 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18212 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18214 * startup.el (command-line-1): Fix last fix by inserting
18215 initial-scratch-message into *scratch* before displaying it.
18216 (Bug#9605) and (Bug#9636)
18218 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18220 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18221 window is hscrolled, move by logical lines. (Bug#9607)
18222 (line-move-visual): Update the doc string to the above effect.
18224 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18226 * window.el (display-buffer-record-window): When WINDOW is the
18227 selected window use `point' instead of `window-point'. (Bug#9626)
18229 * startup.el (command-line-1): Use insert-before-markers when
18230 inserting initial-scratch-message. (Bug#9605)
18232 * help.el (help-window): Remove variable.
18234 2011-09-29 Glenn Morris <rgm@gnu.org>
18236 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18238 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18240 * descr-text.el (describe-char-categories): Accept category
18241 descriptions more than one line long.
18243 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18245 * simple.el (delete-trailing-whitespace): Fix last change.
18247 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18248 Don't confuse "y => 3" as the beginning of a `y' operation.
18250 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18251 object has more than 4 slots (bug#9613).
18253 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18255 * subr.el (with-output-to-temp-buffer):
18256 * net/quickurl.el (quickurl, quickurl-browse-url):
18257 Fix typos in docstrings.
18259 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18261 * minibuffer.el (completion-styles)
18262 (completion-category-overrides): Cross reference each other in doc
18265 2011-09-27 Glenn Morris <rgm@gnu.org>
18267 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18268 to split-string. (Bug#9606)
18270 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18272 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18275 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18277 * emacs-lisp/package.el (list-packages): Fix echo area message.
18279 2011-09-27 Leo Liu <sdl.web@gmail.com>
18281 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18283 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18285 * net/dbus.el (dbus-unregister-object): Don't release services for
18286 registered signals. (Bug#9581)
18288 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18290 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18291 function that picks between cfengine 2 and 3 support
18292 automatically. Update docs accordingly.
18294 2011-09-22 Kenichi Handa <handa@m17n.org>
18296 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18298 (indian-itrans-v5-table-for-tamil): New variable.
18299 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18301 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18303 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18304 that's true if the current command involved collapsing of text.
18305 It's reset to false at the beginning of the next command.
18306 (allout-post-command-business): Move the cursor to the beginning
18307 of entry if the cursor is hidden and collapsing activity just
18310 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18312 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18313 tracking (Bug#9541).
18315 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18317 * net/newst-reader.el (newsticker-html-renderer)
18318 (newsticker-show-news): Automatically load html rendering package
18319 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18320 because w3m-fill-column is let-bound" and the error "Symbol's value
18321 as variable is void: w3m-fill-column".
18323 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18325 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18326 Release services only if they are defined. (Bug#9581)
18328 2011-09-23 Richard Stallman <rms@gnu.org>
18330 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18331 distinguish start of paragraph from start of its text.
18333 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18335 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18336 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18337 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18339 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18341 * international/mule-diag.el (mule-diag): Insert a newline after
18342 each fontset description.
18344 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18346 * simple.el (delete-trailing-whitespace):
18347 Document last change; simplify.
18349 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18351 * simple.el (delete-trailing-whitespace): Also delete
18352 extra newlines at the end of the buffer.
18354 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18355 (picture-newline): Use forward-line so as to ignore fields.
18357 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18359 * subr.el (with-wrapper-hook): Fix edebug spec.
18361 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18363 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18366 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18368 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18369 Fix nasty bug using wrong cached values.
18371 2011-09-23 Alan Mackenzie <acm@muc.de>
18373 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18375 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18377 * window.el (pop-to-buffer): Ensure right window is selected if we
18378 chose another frame.
18380 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18382 * simple.el (what-cursor-position): Use get-char-property-change
18383 and next-single-char-property-change, to be able to show display
18384 properties that come from overlays as well as text properties.
18386 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18388 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18390 * cmuscheme.el (run-scheme, switch-to-scheme):
18391 * cus-edit.el (customize-group, custom-buffer-create)
18392 (customize-browse):
18394 * shell.el (shell):
18395 * mail/sendmail.el (mail):
18396 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18398 2011-09-22 Richard Stallman <rms@gnu.org>
18400 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18401 move back only to line beg, don't move back over blank lines.
18403 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18405 * files.el (copy-directory): Set directory attributes only in case
18406 they could be retrieved from the source directory. (Bug#9565)
18408 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18410 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18411 (hs-find-block-beginning, hs-hide-level-recursive):
18412 Ignore strings as well as comments. (Bug#9502)
18414 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18416 * progmodes/sql.el (sql-comint-postgres):
18417 Convert port number to a string. (Bug#9566)
18419 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18421 * window.el (quit-window): Undedicate window when switching to
18422 previous buffer. Reported by Thierry Volpiatto
18423 <thierry.volpiatto@gmail.com>.
18424 (special-display-popup-frame): When popping up a new frame reset
18425 its previous buffers to nil. Simplify code.
18427 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18429 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18430 and process filter, as done also in `shell-command'.
18432 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18434 * window.el (set-window-buffer-start-and-point):
18435 Call set-window-start with NOFORCE argument t.
18436 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18437 (quit-window): Reword doc-string. Handle new format of
18438 quit-restore parameter. Don't delete window if it has a
18439 previous buffer we can show instead of the present one.
18440 (display-buffer-record-window): Rewrite using a new format for
18441 the quit-restore window parameter
18442 (special-display-popup-frame, display-buffer-same-window)
18443 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18444 (display-buffer-pop-up-window, display-buffer-use-some-window):
18445 Adapt symbol passed to display-buffer-record-window.
18446 * help.el (help-window-setup): Handle new format of quit-restore
18449 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18451 * faces.el (face-list): Fix docstring (bug#9564).
18453 * window.el (display-buffer--action-function-custom-type):
18454 Don't include internal functions in the Custom interface.
18456 2011-09-20 Juri Linkov <juri@jurta.org>
18458 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18459 (Info-forward-node, Info-backward-node, Info-next-preorder)
18460 (Info-last-preorder): Use it. (Bug#9528)
18462 2011-09-20 Juri Linkov <juri@jurta.org>
18464 * info.el (Info-last-preorder): Visit last menu item only when
18465 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18467 2011-09-20 Julien Danjou <julien@danjou.info>
18469 * password-cache.el (password-cache-remove): Remove entries even if the
18470 value is nil, so that password with a nil value (negative caching) is
18471 possible to invalidate.
18473 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18475 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18476 all whitespace around breakpoint. (Bug#9553)
18477 (f90-find-breakpoint): Only break at whitespace inside a comment.
18479 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18481 * minibuffer.el (completion-file-name-table): Keep track of errors.
18482 (completion-table-with-predicate): Handle the case where pred1 is nil.
18483 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18485 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18487 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18488 (debugger-return-value): Signal an error if the debugging context does
18489 not await any return value.
18491 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18492 * image-mode.el (image-toggle-display-text)
18493 (image-toggle-display-image): Stay away from evil `intangible'.
18495 2011-09-19 Leo Liu <sdl.web@gmail.com>
18497 * replace.el (occur-revert-arguments): Make it permanent-local.
18498 (occur-mode): Don't call font-lock-defontify.
18500 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18502 * net/ldap.el (ldap-search-internal): Don't push empty search
18505 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18509 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18511 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18512 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18514 2011-09-18 Juri Linkov <juri@jurta.org>
18516 * buff-menu.el (Buffer-menu-mode-map):
18517 * dired.el (dired-mode-map):
18518 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18519 (lisp-interaction-mode-map):
18520 * emacs-lisp/package.el (package-menu-mode-map):
18521 * epa.el (epa-key-list-mode-map):
18522 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18523 (menu-bar-options-menu):
18524 * outline.el (outline-mode-menu-bar-map):
18525 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18526 * vc/vc-dir.el (vc-dir-menu-map):
18527 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18528 Capitalize non-function content words in menu item strings.
18530 * dired.el (dired-mode-map): Add menu item for
18531 `image-dired-dired-toggle-marked-thumbs'.
18533 2011-09-18 Juri Linkov <juri@jurta.org>
18535 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18536 to `isearch-case-fold-search' and restore its original value
18537 after the `isearch-mode' call.
18539 2011-09-18 Juri Linkov <juri@jurta.org>
18541 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18542 because `zgrep' returns 1 for successful matches (bug#9226).
18544 2011-09-18 Juri Linkov <juri@jurta.org>
18546 * info.el (Info-extract-menu-node-name): Check the second match
18547 for empty string (second test-case of bug#9528).
18548 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18549 intermediate nodes to the history (first test-case of bug#9528).
18551 2011-09-18 Juri Linkov <juri@jurta.org>
18553 * info.el (Info-mode-syntax-table): New variable.
18554 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18556 2011-09-18 Juri Linkov <juri@jurta.org>
18558 * info.el (Info-file-supports-index-cookies):
18559 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18560 outputs one more line for long file names (bug#4142).
18562 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18564 * newcomment.el (comment-normalize-vars): If prompting for
18565 comment-start, set comment-start-skip too (Bug#8424).
18567 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18569 * icomplete.el: Fix previous fix of Bug#5849.
18570 (icomplete-mode): Don't set completion-show-inline-help.
18571 (icomplete-minibuffer-setup): Set completion-show-inline-help
18572 locally during icompletion.
18574 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18576 * woman.el (woman2-process-escapes): Don't delete unrecognized
18577 escapes (Bug#7843).
18579 * files.el (inhibit-first-line-modes-regexps): Add image files.
18580 (hack-local-variables-prop-line): Return nil for malformed
18581 prop-lines (Bug#9044).
18583 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18585 * net/tramp.el (top): Don't require 'shell.
18586 (tramp-methods): Fix docstring.
18587 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18588 Return complete remote file name. Handle "smb" case.
18589 Use `tramp-tmpdir', if defined for the respective method.
18590 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18592 * net/tramp-compat.el (top): Require 'shell.
18594 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18595 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18596 `tramp-current-host'.
18597 (tramp-get-remote-tmpdir): Remove.
18599 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18600 `tramp-tmpdir' entries.
18601 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18602 (tramp-smb-handle-file-attributes): Ignore errors.
18603 (tramp-smb-wait-for-output): Check also for process end.
18605 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18607 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18608 when sending QUIT (bug#9312).
18610 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18612 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18613 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18614 occur-mode-display-occurrence.
18615 (occur-edit-mode): Add usage message.
18616 (occur-cease-edit): New command.
18617 (occur-after-change-function): Use text properties to find the
18618 position of the prefix text.
18619 (occur-engine): Set stickiness of prefix text properties.
18621 2011-09-17 Glenn Morris <rgm@gnu.org>
18623 * progmodes/etags.el (complete-tag):
18624 Fix call to completion-in-region. (Bug#9526)
18626 2011-09-17 Juri Linkov <juri@jurta.org>
18628 * textmodes/ispell.el (ispell-word): Add to the error message
18629 the word, ispell program name and current dictionary (bug#9121).
18630 (ispell-tex-arg-end): Capitalize "error" in the error message.
18632 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18634 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18637 2011-09-17 Juri Linkov <juri@jurta.org>
18639 * window.el (window-safe-min-height, window-safe-min-width):
18640 Fix typos (followup to bug#9522).
18642 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18644 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18646 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18648 * simple.el (line-move): If goal-column is set, move by logical
18649 lines, not by display lines. (Bug#971)
18650 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18651 to reflect the above change.
18653 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18655 * image.el (imagemagick-register-types): Use regexp-opt.
18657 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18659 * window.el (display-buffer-base-action): Rename from
18660 display-buffer-default-action. Make default value empty.
18661 (display-buffer-overriding-action): Convert to defvar.
18662 (display-buffer-fallback-action): New var.
18664 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18666 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18668 (package--add-to-archive-contents): If there is a duplicate entry
18669 with an older version, remove it.
18670 (package-menu-mark-delete, package-menu-mark-install)
18671 (package-menu-mark-unmark): Make unused args optional.
18672 (package-menu-mark-obsolete-for-deletion):
18673 Use package-menu-get-status instead of a regexp search.
18674 (package-menu-get-status): Use tabulated-list-entry.
18675 (package-menu-mark-upgrades): New command.
18676 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18677 (package-menu-execute): Do installation before deletion.
18678 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18679 instead of checking major-mode.
18680 (package-menu--find-upgrades): New function.
18682 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18684 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18685 passwords in the log buffer.
18686 (smtpmail-process-filter): Update the process marker so that the
18687 "broken by peer" status message is inserted in the right place.
18689 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18691 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18692 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18693 bibtex-completion-at-point-function.
18694 (bibtex-completion-at-point-function): Use them.
18696 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18698 * mpc.el (mpc-constraints-tag-lookup): New function.
18699 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18700 also to browser "album|playlist".
18702 2011-09-14 Juri Linkov <juri@jurta.org>
18704 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18705 (isearch-edit-string): Use length of `isearch-string' when
18706 `isearch-fail-pos' returns nil.
18707 (isearch-message): Remove duplicate code and call
18708 `isearch-fail-pos' with arg `t'.
18710 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18712 * replace.el (occur-mode-goto-occurrence): Don't force using other
18715 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18717 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18719 * window.el (display-buffer-window): Remove.
18720 (display-buffer-record-window): Use help-setup window parameter
18721 instead of variable display-buffer-window.
18722 (display-buffer-function, special-display-buffer-names)
18723 (special-display-function): Mention help-setup parameter instead
18724 of display-buffer-window in doc-string.
18725 * help.el (help-window-setup): New argument help-window.
18726 Use help-window-setup parameter instead of display-buffer-window.
18727 Reword some messages.
18728 (with-help-window): Pass window used for displaying the buffer
18729 to help-window-setup. Don't set display-buffer-window.
18731 2011-09-13 Glenn Morris <rgm@gnu.org>
18733 * emacs-lisp/debug.el (debugger-make-xrefs):
18734 Preserve point. (Bug#9462)
18736 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18738 * window.el (window-deletable-p): Use next-frame.
18740 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18742 * window.el (window-auto-delete): Remove.
18743 (window-deletable-p): Remove argument FORCE. Don't deal with
18744 dedication and previous buffers.
18745 (switch-to-prev-buffer): Don't delete window.
18746 (delete-windows-on): Delete a window's frame if and only if the
18747 window is dedicated.
18748 (replace-buffer-in-windows): Delete buffer's window or frame if
18749 and only if window is dedicated.
18750 (quit-window): Handle quit-restore as before last change.
18751 (bury-buffer): Delete window only if window-deletable-p returns t.
18753 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18755 * window.el (window-deletable-p): Never delete the last frame on a
18758 2011-09-13 Glenn Morris <rgm@gnu.org>
18760 * help.el (describe-key-briefly): Copy previous standard-output change.
18762 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18764 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18766 2011-09-13 Glenn Morris <rgm@gnu.org>
18768 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18769 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18771 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18773 * dired-aux.el (dired-mark-read-string): Don't return default
18774 value on empty input (Bug#9361).
18775 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18776 Omit initial minibuffer contents.
18777 (dired-do-chmod): Signal an error on empty input.
18778 (dired-mark-read-string): Don't return default on empty input.
18780 * files.el (file-modes-symbolic-to-number): Doc fix.
18782 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18784 * international/mule-cmds.el (ucs-completions): Remove.
18785 (read-char-by-name): Use complete-with-action instead; add metadata.
18787 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18789 * window.el (display-buffer--action-function-custom-type)
18790 (display-buffer--action-custom-type): New vars.
18791 (display-buffer-alist, display-buffer-default-action)
18792 (display-buffer-overriding-action): Add defcustom types.
18794 * frame.el (delete-other-frames): Doc fix (Bug#276).
18796 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18798 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18800 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18802 Change modes that used same-window-* vars to use switch-to-buffer.
18804 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18805 Use switch-to-buffer.
18807 * cus-edit.el (customize-group, custom-buffer-create)
18808 (customize-browse, custom-buffer-create-other-window):
18809 Use switch-to-buffer or switch-to-buffer-other-window.
18811 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18812 (Info-prev, Info-up, Info-speedbar-goto-node)
18813 (info-display-manual): Use switch-to-buffer.
18814 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18816 * mail/sendmail.el (mail): Use switch-to-buffer.
18817 (mail-recover): Use switch-to-buffer-other-window.
18819 * cmuscheme.el (run-scheme, switch-to-scheme):
18821 * shell.el (shell):
18822 * net/rlogin.el (rlogin):
18823 * net/telnet.el (telnet, rsh):
18824 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18826 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18828 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18830 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18832 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18833 so don't mention it (bug#9301).
18834 (dired-sort-toggle-or-edit): Clarify string further.
18836 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18837 match `x', `w32' and `ns', like the manual says (bug#9029).
18839 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18840 (process-kill-buffer-query-function): Mention the buffer name in
18843 * image-mode.el (image-next-line): The line parameter is mandatory
18846 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18847 which can be useful (bug#9301).
18849 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18851 * subr.el (match-string): Mention that the current buffer should
18852 be the same as the search was done in (bug#9282).
18854 * facemenu.el: Disable the remove-* commands if the mark isn't
18857 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18859 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18861 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18863 * replace.el (occur-mode-goto-occurrence)
18864 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18865 and display-buffer.
18867 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18870 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18871 special-display and same-window variables.
18872 (mail-other-window): Use switch-to-buffer-other-window.
18873 (mail-other-frame): USe switch-to-buffer-other-frame.
18875 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18876 Use display-buffer-other-frame.
18877 (gdb-display-gdb-buffer): Use pop-to-buffer.
18879 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18881 * progmodes/python.el: Don't set same-window-buffer-names.
18883 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18885 * window.el (display-buffer-alist): Add *Python*.
18887 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18889 * window.el (display-buffer-alist): Add entry for buffers
18890 previously handled same-window-*.
18891 (display-buffer-alist, display-buffer-default-action)
18892 (display-buffer-overriding-action): Mark as risky.
18893 (display-buffer-alist): Document action function changes.
18894 (display-buffer--same-window-action)
18895 (display-buffer--other-frame-action): New variables.
18896 (switch-to-buffer, display-buffer-other-frame): Use them.
18897 (display-buffer): Rename reuse-frame entry to reusable-frames.
18898 (display-buffer-reuse-selected-window): Function deleted.
18899 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18900 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18901 (display-buffer-special): New function.
18902 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18903 display-buffer-reuse-or-pop-window. Split off special-display
18904 part into display-buffer-special.
18905 (display-buffer-use-some-window): Don't perform any special
18906 pop-up-frames handling.
18907 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18908 (display-buffer--maybe-same-window): Rename from
18909 display-buffer-maybe-same-window.
18911 * info.el: Don't set same-window-regexps.
18912 (info-setup): New function.
18913 (info-other-window, info): Call it.
18915 * cus-edit.el: Don't set same-window-regexps.
18916 (customize-group): New argument.
18917 (customize-group-other-window): Use it.
18918 (customize-face, customize-face-other-window): Likewise.
18919 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18923 * progmodes/gud.el: Don't set same-window-regexps.
18928 * mail/sendmail.el:
18929 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18931 2011-09-10 Juri Linkov <juri@jurta.org>
18933 * isearch.el (isearch-edit-string): Remove obsolete mention of
18934 `C-w' (`isearch-yank-word-or-char') from docstring.
18935 (isearch-query-replace): Fix typo in docstring (bug#9466).
18937 2011-09-10 Juri Linkov <juri@jurta.org>
18939 * paren.el (show-paren-function): Don't show escaped parens.
18940 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18942 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18944 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18945 (mm-default-file-encoding): Remove autoload forms, they are
18946 replaced with autoload cookies in mml.el and mm-encode.el.
18947 (mail-add-attachment): New command.
18948 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18949 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18951 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18953 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18955 * simple.el (count-words-region): Use buffer if there's no region
18958 2011-09-09 Juri Linkov <juri@jurta.org>
18960 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18961 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18962 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18964 2011-09-09 Alan Mackenzie <acm@muc.de>
18966 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18967 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18969 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18971 Fix for Savannah bug#9392.
18972 * simple.el (mail-encode-mml): New defvar.
18974 * mail/rmail.el (mail-encode-mml): Add a defvar.
18975 (rmail-enable-mime-composing): Default to t.
18976 (rmail-forward): Use MIME method of forwarding only if both
18977 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18978 Set mail-encode-mml non-nil if the MIME method was used.
18980 * mail/sendmail.el (mml-to-mime): Add autoload form.
18981 (mail-encode-mml): Add a defvar.
18982 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18984 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18985 message through mml-to-mime, and reset mail-encode-mml to nil.
18987 2011-09-09 Glenn Morris <rgm@gnu.org>
18989 * woman.el (woman-if-body): When processing an .el block,
18990 do not delete the next .el block as well. (Bug#9447)
18991 (woman-special-characters): Add oq, cq, and hy characters.
18993 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18995 * window.el (window-deletable-p): Make sure window is live before
18996 invoking window-prev-buffers.
18998 2011-09-08 Leo Liu <sdl.web@gmail.com>
19000 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19002 2011-09-08 Juri Linkov <juri@jurta.org>
19004 * progmodes/compile.el (compilation-environment): Make it
19005 a defcustom (bug#8340).
19007 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19009 * window.el (frame-auto-delete): Rename to window-auto-delete.
19010 Make it control auto-deletion of windows and/or frames.
19011 (window-deletable-p): New argument FORCE. Rewrite conditions
19012 for deleting window/frame. (Bug#9419)
19013 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19014 Rewrite handling of case when window/frame can be deleted.
19015 (delete-windows-on): Call window-deletable-p with new FORCE
19016 argument t. (Bug#9456)
19018 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19020 * help-mode.el (help-mode): Restore autoload.
19022 2011-09-07 Juri Linkov <juri@jurta.org>
19024 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19025 `compilation-environment'. Set buffer-local
19026 `compilation-environment' to `thisenv' later after (funcall mode).
19029 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19030 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19031 instead of replacing its value. (Bug#8340)
19033 2011-09-07 Juri Linkov <juri@jurta.org>
19035 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19036 based on text properties put by `grep-filter' instead of matching
19038 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19039 to the value of `grep-error-screen-columns' (bug#9438).
19041 2011-09-07 Juri Linkov <juri@jurta.org>
19043 * simple.el (next-error-highlight, next-error-highlight-no-select):
19044 Doc fix (bug#9432).
19046 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19048 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19049 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19051 2011-09-07 Leo Liu <sdl.web@gmail.com>
19053 * net/rcirc.el (rcirc-mode): Conditionally initialize
19056 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19058 * emacs-lisp/find-func.el (find-function-C-source): Only set
19059 find-function-C-source-directory after checking that we found a source
19060 file there (bug#9440).
19062 2011-09-06 Alan Mackenzie <acm@muc.de>
19064 * isearch.el (isearch-other-meta-char): Wherever a key list is
19065 unread, "unread" the prefix arg, too. This fixes bug #8901.
19067 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19069 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19071 2011-09-05 Juri Linkov <juri@jurta.org>
19073 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19075 2011-09-05 Juri Linkov <juri@jurta.org>
19077 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19078 keeping point where processing of grep matches begins, and
19079 continue to delete remaining escape sequences from the same point.
19080 (grep-filter): Make leading zero optional in "0?1;31m" because
19081 git-grep emits "\033[1;31m" escape sequences unlike expected
19082 "\033[01;31m" as GNU Grep does (bug#9408).
19083 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19085 2011-09-05 Juri Linkov <juri@jurta.org>
19087 * subr.el (y-or-n-p): Capitalize "yes".
19089 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19091 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19092 `tramp-cache-unload-hook' where appropriate.
19093 (tramp-methods): Rename `tramp-remote-sh' to
19094 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19095 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19097 * net/tramp-sh.el (top): Don't require 'shell.
19098 (tramp-methods): Add `tramp-remote-shell' and
19099 `tramp-remote-shell-args' entries.
19100 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19101 (tramp-sh-handle-shell-command): Remove.
19102 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19103 Use `tramp-remote-shell'.
19105 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19107 * mail/sendmail.el (sendmail-query-once-function): Delete.
19108 (sendmail-query-once): Save directly to send-mail-function.
19109 Update message-send-mail-function too.
19111 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19113 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19115 * progmodes/python.el (python-mode-map): Use correct function to
19116 start python interpreter from menu-bar (as reported by Geert
19118 (inferior-python-mode-map): Fix typo.
19119 (python-shell-map): Remove.
19121 2011-09-03 Deniz Dogan <deniz@dogan.se>
19123 * net/rcirc.el (rcirc-print): Simplify code for
19124 rcirc-scroll-show-maximum-output. There is no need to walk
19125 through all windows to find the right one.
19127 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19129 * help.el (help-return-method): Doc fix.
19131 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19133 * window.el (window-deletable-p): Don't return a non-nil value
19134 when there's a buffer that was shown in the window before.
19136 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19137 Set window's previous buffers to nil.
19139 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19141 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19142 newline before and after the tag line, so it doesn't interfere
19143 with determining the paragraph direction of bidirectional text.
19145 2011-09-03 Leo Liu <sdl.web@gmail.com>
19147 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19149 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19151 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19152 (pop-to-buffer): Change interactive spec. Pass second argument
19153 directly to display-buffer.
19154 (display-buffer): Fix interactive spec. Use functionp to
19155 distinguish between a function and a list of functions.
19157 * abbrev.el (edit-abbrevs):
19158 * arc-mode.el (archive-extract):
19159 * autoinsert.el (auto-insert):
19160 * bookmark.el (bookmark-bmenu-list):
19161 * files.el (find-file):
19162 * view.el (view-buffer):
19163 * progmodes/compile.el (compilation-goto-locus):
19164 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19166 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19168 * window.el (display-buffer-alist): Doc fix.
19169 (display-buffer): Add docstring. Don't treat
19170 display-buffer-default specially.
19171 (display-buffer-reuse-selected-window)
19172 (display-buffer-same-window, display-buffer-maybe-same-window)
19173 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19174 (display-buffer-pop-up-window)
19175 (display-buffer-reuse-or-pop-window)
19176 (display-buffer-use-some-window): New functions.
19177 (display-buffer-default-action): Use them.
19178 (display-buffer-default): Delete.
19179 (pop-to-buffer-1): Fix choice of actions.
19181 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19183 * minibuffer.el (completion--insert-strings): Don't get confused by
19184 completion entries that end with an LF char.
19186 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19188 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19190 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19192 * window.el (display-buffer): Restore interactive spec.
19193 (display-buffer-same-window, display-buffer-other-window):
19195 (pop-to-buffer-1): New function. Use the above.
19196 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19197 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19199 * view.el (view-buffer-other-window, view-buffer-other-frame):
19200 Just use pop-to-buffer.
19202 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19204 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19206 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19208 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19210 2011-08-31 Richard Stallman <rms@gnu.org>
19212 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19213 of the separation of rmail-view-buffer from rmail-buffer.
19214 If you say no to "replace original", the decrypt is in the
19215 view buffer. If you say yes, the decrypt goes into the
19218 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19220 * window.el (display-buffer-window): Rewrite doc-string.
19221 (display-buffer-record-window): New function.
19222 (display-buffer-macro-specifiers)
19223 (display-buffer-even-window-sizes, display-buffer-set-height)
19224 (display-buffer-set-width, display-buffer-in-window)
19225 (display-buffer-reuse-window, display-buffer-split-specifiers)
19226 (display-buffer-side-specifiers, display-buffer-split-window-1)
19227 (display-buffer-split-window, display-buffer-split-atom-window)
19228 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19229 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19230 (display-buffer-other-window-means-other-frame)
19231 (display-buffer-normalize-special)
19232 (display-buffer-normalize-default)
19233 (display-buffer-normalize-argument)
19234 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19235 (display-buffer-normalize-specifiers, display-buffer-frame)
19236 (display-buffer-same-window, display-buffer-same-frame)
19237 (display-buffer-other-window)
19238 (display-buffer-same-frame-other-window)
19239 (display-buffer-other-frame, pop-to-buffer-same-window)
19240 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19241 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19242 (switch-to-buffer-same-frame)
19243 (switch-to-buffer-other-window-same-frame)
19244 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19245 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19246 (display-buffer-alist-set): Remove.
19247 (display-buffer-function, special-display-buffer-names)
19248 (special-display-regexps, special-display-function):
19249 In doc-string refer to display-buffer-window and quit-restore
19251 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19252 (special-display-frame-alist, special-display-popup-frame)
19253 (same-window-buffer-names, same-window-regexps, same-window-p)
19254 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19255 (split-window-preferred-function, split-height-threshold)
19256 (split-width-threshold, window-splittable-p)
19257 (split-window-sensibly, window--try-to-split-window)
19258 (window--frame-usable-p, even-window-heights)
19259 (window--even-window-heights, window--display-buffer-1)
19260 (window--display-buffer-2, display-buffer-other-frame):
19261 Restore old Emacs 23 code, order and doc-strings where applicable.
19262 (display-buffer-default, display-buffer-assq-regexp): New functions.
19263 (display-buffer-alist): Rewrite doc-string.
19264 (display-buffer-default-action)
19265 (display-buffer-overriding-action): New variables.
19266 (display-buffer, switch-to-buffer): Rewrite.
19267 (pop-to-buffer): Restore Emacs 23 behavior but use
19268 window-normalize-buffer-to-display.
19269 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19270 Restore Emacs 23 behavior but use
19271 window-normalize-buffer-to-switch-to.
19272 (pop-to-buffer-same-window): Rewrite.
19273 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19274 Rewrite using Emacs 23 options.
19276 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19278 * net/tramp.el (tramp-root-regexp): Remove.
19279 (tramp-completion-file-name-regexp-unified)
19280 (tramp-completion-file-name-regexp-separate)
19281 (tramp-completion-file-name-regexp-url): Don't use leading volume
19282 letter on w32 systems. (Bug#5303, Bug#9311)
19283 (tramp-drop-volume-letter): Simplify definition.
19284 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19286 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19288 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19291 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19293 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19295 2011-08-29 Juri Linkov <juri@jurta.org>
19297 * isearch.el (isearch-done): Don't display message "Mark saved"
19298 when arg `edit' is non-nil to prevent its flicker in the echo area.
19300 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19302 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19303 obsolete packages for deletion.
19305 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19307 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19308 (help-mode): Derive help-mode from special-mode. Don't invoke
19309 view-mode from help-mode.
19310 (help-xref-override-view-map): Remove.
19311 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19312 view-mode is not used anymore.
19314 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19316 * server.el (server-port): Doc fix.
19318 * cus-theme.el (custom-theme-choose-mode): Inherit from
19319 special-mode (Bug#9124).
19320 (custom-theme-choose-mode-map): Add special-mode to parent.
19322 2011-08-28 Alan Mackenzie <acm@muc.de>
19324 * progmodes/cc-fonts.el
19325 (c-make-font-lock-BO-decl-search-function): New function.
19326 (c-basic-matchers-after - "Fontify the clauses after various
19327 keywords"): Extract the three keyword lists for the 3 erroneous
19328 constructs from the list of four, and use the new function above
19329 in place of an old one.
19331 2011-08-28 Deniz Dogan <deniz@dogan.se>
19333 * net/rcirc.el (rcirc-insert-prev-input)
19334 (rcirc-insert-next-input): Remove unused argument.
19336 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19338 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19340 2011-08-27 Alan Mackenzie <acm@muc.de>
19342 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19343 handle function pointer parameters properly.
19345 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19347 * window.el (display-buffer-reuse-window): Fix case where
19348 selected window was reused with non-nil OTHER-WINDOW argument.
19351 2011-08-27 Deniz Dogan <deniz@dogan.se>
19353 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19354 oftc's NickServ messages.
19356 2011-08-27 Glenn Morris <rgm@gnu.org>
19358 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19360 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19362 * emacs-lisp/package.el (package-install): Call package-initialize
19363 if called interactively.
19365 2011-08-26 Leo Liu <sdl.web@gmail.com>
19367 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19369 2011-08-25 Juri Linkov <juri@jurta.org>
19371 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19372 `search-whitespace-regexp' (bug#9364).
19374 2011-08-25 Juri Linkov <juri@jurta.org>
19376 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19377 `regexp-search-ring' to their global values to protect from
19378 updating by `read-from-minibuffer' (bug#9185).
19380 2011-08-25 Juri Linkov <juri@jurta.org>
19382 * textmodes/ispell.el (ispell-command-loop): Add newline
19383 at the end of the "Use option `i'..." line.
19385 2011-08-25 Juri Linkov <juri@jurta.org>
19387 * battery.el (display-battery-mode): If `battery-status-function'
19388 or `battery-mode-line-format' is nil, display the message and set
19389 `display-battery-mode' to nil (bug#9363).
19391 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19393 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19394 bidi-string-mark-left-to-right; they are unnecessary now.
19396 2011-08-25 Deniz Dogan <deniz@dogan.se>
19398 * net/quickurl.el: Documentation typo fixes.
19400 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19402 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19404 2011-08-25 Glenn Morris <rgm@gnu.org>
19406 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19408 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19409 (smtpmail-via-smtp): Handle nil response from smtp.
19411 2011-08-24 Juri Linkov <juri@jurta.org>
19413 * proced.el (proced-marked): Inherit from `error' instead of
19414 `font-lock-warning-face'.
19416 * ibuffer.el (ibuffer-marked-face): Change default face from
19417 `font-lock-warning-face' to `warning'.
19418 (ibuffer-deletion-face): Change default face from
19419 `font-lock-type-face' to `error'.
19421 * battery.el (battery-update): Use the face `error' instead of
19422 `font-lock-warning-face' (bug#6117).
19424 2011-08-24 Juri Linkov <juri@jurta.org>
19426 * faces.el (success): Change face color from "Green3" to
19427 "ForestGreen" on light background (bug#9353).
19429 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19431 * window.el (quit-window): Rename from quit-restore-window.
19432 Use same arglist as old quit-window.
19433 (frame-auto-delete): Doc fix.
19435 * view.el (view-mode-exit): Use quit-window.
19437 2011-08-24 Juri Linkov <juri@jurta.org>
19439 * isearch.el (isearch-ring-adjust1): Start visiting previous
19440 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19441 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19442 for empty search string (when the last search string is reused
19443 automatically) to adjust the isearch ring to the last element and
19444 prepare the correct index for further M-p commands (bug#9185).
19446 2011-08-24 Kenichi Handa <handa@m17n.org>
19448 * international/ucs-normalize.el: If decomposition property of
19449 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19451 (nfd, nfkd): Likewise.
19453 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19455 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19456 from process filters aren't reliably transmitted to the surrounding
19457 accept-process-output.
19458 (mpc-proc-check): New function.
19459 (mpc-proc-sync): Use it (bug#8293)
19461 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19463 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19464 Add compatibility functions (bug#9313).
19466 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19468 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19470 * international/uni-bidi.el: Regenerate.
19472 2011-08-23 Kenichi Handa <handa@m17n.org>
19474 * international/charprop.el:
19475 * international/uni-bidi.el:
19476 * international/uni-category.el:
19477 * international/uni-combining.el:
19478 * international/uni-comment.el:
19479 * international/uni-decimal.el:
19480 * international/uni-decomposition.el:
19481 * international/uni-digit.el:
19482 * international/uni-lowercase.el:
19483 * international/uni-mirrored.el:
19484 * international/uni-name.el:
19485 * international/uni-numeric.el:
19486 * international/uni-old-name.el:
19487 * international/uni-titlecase.el:
19488 * international/uni-uppercase.el: Regenerate.
19490 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19492 * help.el (help-window-setup): Fix message displayed when other
19493 window is reused. (Bug#9341)
19495 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19497 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19498 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19500 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19502 * shell.el (shell-parse-pcomplete-arguments): New function.
19503 (shell-completion-vars): Use it instead (bug#9160).
19505 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19507 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19508 strings and comments (bug#9333).
19510 * emacs-lisp/debug.el (debug-arglist): New function.
19511 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19512 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19514 2011-08-22 Juri Linkov <juri@jurta.org>
19516 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19517 Revert regexp that highlights output switches to its old
19518 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19520 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19521 to check for empty output (bug#9226).
19523 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19525 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19526 symbol-constituent as the default, as that stops font-lock from
19527 working properly (Bug#8843).
19529 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19531 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19532 `coding-system-for-*' around the process open call to avoid
19533 auth-source side effects.
19534 (smtpmail-try-auth-methods): Expand the secret password.
19535 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19538 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19540 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19542 * emacs-lisp/find-func.el (find-function-noselect): New arg
19545 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19546 signal an error for built-in functions (Bug#6664).
19548 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19550 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19551 (smtpmail-try-auth-methods): Use it.
19553 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19555 * font-lock.el (font-lock-fontify-region)
19556 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19557 (font-lock-default-unfontify-buffer)
19558 (font-lock-default-fontify-region)
19559 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19561 * progmodes/compile.el (compilation-error-properties):
19562 Fix confusion between file struct and message struct (Bug#9319).
19563 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19566 * net/browse-url.el (browse-url-firefox): Don't call
19567 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19569 2011-08-20 Glenn Morris <rgm@gnu.org>
19571 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19573 * tutorial.el (tutorial--default-keys): Update some default bindings.
19575 * files.el (hack-local-variables): Fully ignore case for "mode:".
19577 2011-08-20 Alan Mackenzie <acm@muc.de>
19579 Resolve invalid use of a regexp in regexp-opt.
19581 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19582 detection for a java annotation.
19584 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19585 detection for a java annotation.
19587 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19589 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19591 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19593 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19596 2011-08-20 Alan Mackenzie <acm@muc.de>
19598 Fontify CPP expressions correctly when starting in the middle of
19599 such a construct. Mainly for when jit-lock etc. starts a chunk
19602 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19604 (c-make-font-lock-search-form): New function, extracted from
19605 c-make-font-lock-search-function.
19606 (c-make-font-lock-search-function): Use the above function.
19607 (c-make-font-lock-context-search-function): New function.
19608 (c-cpp-matchers): Enhance the preprocessor expression case with
19610 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19611 which takes an expression.
19613 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19615 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19617 * window.el (display-buffer-reuse-window)
19618 (display-buffer-pop-up-window): Don't reuse or split a side
19621 2011-08-19 Glenn Morris <rgm@gnu.org>
19623 * files.el (hack-local-variables-prop-line, hack-local-variables):
19624 Downcase "Mode:". (Bug#9331)
19626 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19628 * international/characters.el: Add L and R categories.
19630 * subr.el (bidi-string-mark-left-to-right): Rename from
19631 string-mark-left-to-right. Use category search.
19633 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19635 2011-08-18 Juri Linkov <juri@jurta.org>
19637 * faces.el (error, warning, success): New faces with definitions
19638 copied from old default values of `font-lock-warning-face',
19639 `compilation-warning', `compilation-info' (bug#6117).
19641 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19643 * progmodes/compile.el (compilation-error): Inherit from `error'.
19644 (compilation-warning): Inherit from `warning'.
19645 (compilation-info): Inherit from `success'.
19647 * dired.el (dired-marked): Inherit from `warning'.
19648 (dired-flagged): Inherit from `error'.
19650 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19652 * mail/smtpmail.el (auth-source): Require to avoid problems with
19653 binding variables (bug#9298). Also clean up some unused
19656 * net/network-stream.el (network-stream-open-starttls):
19657 Support using starttls.el without using gnutls-cli.
19659 2011-08-17 Juri Linkov <juri@jurta.org>
19661 * progmodes/grep.el (rgrep): Handle the case when
19662 `grep-find-command' is a cons cell (bug#9278).
19664 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19666 * window.el (display-buffer-pop-up-frame): Run frame creation
19667 function with BUFFER current (as special-display-popup-frame
19668 does). Reported by Drew Adams.
19670 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19672 * epa-mail.el: Simplify GnuPG group expansion using
19674 (epa-mail-group-alist, epa-mail-group-modtime)
19675 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19676 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19677 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19680 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19682 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19684 2011-08-16 Alan Mackenzie <acm@muc.de>
19686 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19687 Correct, to avoid the inside of macros.
19689 2011-08-16 Richard Stallman <rms@gnu.org>
19691 * epa-mail.el: Handle GnuPG group definitions.
19692 (epa-mail-group-alist, epa-mail-group-modtime)
19693 (epa-mail-gnupg-conf-file): New variables.
19694 (epa-mail-parse-groups, epa-mail-sync-groups)
19695 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19696 (epa-mail-expand-recipients): New functions.
19697 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19699 * mail/rmail.el (rmail-epa-decrypt): New command.
19701 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19702 Don't bind buffer-read-only, just inhibit-read-only.
19703 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19704 (epa-decrypt-armor-in-region): Make error message clearer.
19706 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19708 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19709 and "a2b" to "ab" for `prefix'.
19711 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19713 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19715 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19716 Fourquet (Bug#8804).
19718 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19720 * startup.el (argi): Declare as global variable (bug#9275).
19722 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19724 * subr.el (string-mark-left-to-right): Search the entire string
19725 for RTL script, not just the terminating character. Doc fix.
19727 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19729 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19731 (js--regexp-literal, js-syntax-propertize-function): Remove.
19732 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19733 (js-mode-map): Don't rebind electric keys.
19734 (js-insert-and-indent): Remove.
19735 (js-mode): Setup electric-layout and electric-indent instead.
19737 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19739 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19741 * epa.el (epa-progress-callback-function): Fix the logic of
19742 displaying progress.
19743 * epa-file.el (epa-file-insert-file-contents): Make progress
19744 display more user-friendly.
19745 (epa-file-write-region): Ditto.
19747 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19749 * subr.el (string-mark-left-to-right): New function.
19751 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19752 Use string-mark-left-to-right.
19753 (list-buffers-noselect): Caller changed.
19755 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19756 Use string-mark-left-to-right.
19757 (tabulated-list-print): Recenter after moving point.
19759 2011-08-10 Juri Linkov <juri@jurta.org>
19761 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19762 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19763 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19765 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19767 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19770 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19772 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19773 character. (Bug#6594)
19775 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19777 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19778 (image-dired--with-db-file): New macro.
19779 (image-dired-write-tags, image-dired-remove-tag)
19780 (image-dired-create-gallery-lists, image-dired-write-comments)
19781 (image-dired-get-comment, image-dired-mark-tagged-files)
19782 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19783 (image-dired-gallery-generate): Use insert-file-contents.
19785 * time.el (display-time-world-list, display-time-world-display):
19786 * time-stamp.el (time-stamp-string):
19787 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19788 set-time-zone-rule (Bug#7337).
19790 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19792 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19793 (epg-error-to-string, epg-errors-to-string): New function.
19794 (epg-wait-for-completion): Reverse errors list.
19795 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19796 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19797 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19798 (epg-sign-keys, epg-generate-key-from-file)
19799 (epg-generate-key-from-string): Format errors by using
19800 epg-errors-to-string (bug#9255).
19801 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19803 2011-08-07 Juri Linkov <juri@jurta.org>
19805 * faces.el (list-faces-display): Remove extra angle bracket
19806 from `help-mode-map'.
19808 * info.el (Info-history-toc-nodes): Doc fix.
19810 * longlines.el (longlines-mode): Doc fix.
19812 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19814 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19815 of statements and in a few more cases (bug#9183).
19817 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19819 (cl-transform-lambda): Use them (bug#9239).
19821 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19823 * window.el (display-buffer-same-window)
19824 (display-buffer-same-frame, display-buffer-other-window)
19825 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19826 (pop-to-buffer-other-window)
19827 (pop-to-buffer-same-frame-other-window)
19828 (pop-to-buffer-other-frame): Make them defuns.
19829 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19831 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19833 * subr.el (make-composed-keymap): Move from C. Change calling
19834 convention, and improve docstring to bring attention to a subtle point.
19835 * minibuffer.el (completing-read-default): Adjust accordingly.
19837 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19839 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19840 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19842 * net/trampver.el: Update release number.
19844 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19846 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19849 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851 * mail/sendmail.el (sendmail-query-once): Restore the current
19852 buffer after querying (bug#9074).
19854 * dired.el (dired-flagged): Use different faces for marked and
19855 flagged files (bug#6117).
19857 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19860 * ido.el (ido-mode): Switch off the message if called
19863 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19864 before 587, since it appears that that's more likely to work for
19867 * cus-edit.el (custom-file): When running under emacs -q, always
19868 refuse to save the customizations, even if the .emacs file doesn't
19871 * info.el: Remove the `Info-beginning-of-buffer' function
19874 * net/network-stream.el (network-stream-open-starttls):
19875 Use `starttls-available-p' to see whether starttls.el can be used.
19877 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19879 * window.el (display-buffer-in-window): Don't set dedicated status
19880 of window here (Bug#9215).
19881 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19882 (display-buffer-pop-up-side-window)
19883 (display-buffer-in-side-window): Set dedicated status of window here.
19885 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19887 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19888 before binding generated-autoload-file.
19890 2011-08-01 Deniz Dogan <deniz@dogan.se>
19892 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19894 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19896 Sync with Tramp 2.2.2.
19898 * net/trampver.el: Update release number.
19900 2011-07-30 Juri Linkov <juri@jurta.org>
19902 * dired-aux.el (dired-touch-initial): Remove function.
19903 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19904 current time, and `default' to the last modification time of the
19905 current marked file (bug#6887).
19907 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19909 * simple.el (goto-line): Use string-to-number to provide a
19910 numeric argument to read-number (bug#9163).
19912 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19914 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19915 connection process, it could be nil.
19917 2011-07-27 Leo Liu <sdl.web@gmail.com>
19919 Simplify url handling in rcirc-mode.
19921 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19922 (rcirc-browse-url-at-mouse): Remove.
19923 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19925 2011-07-26 Alan Mackenzie <acm@muc.de>
19927 Fontify bitfield declarations properly.
19929 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19930 (c-symbol-chars): Now exported as a lang variable.
19931 (c-not-primitive-type-keywords): New lang variable.
19933 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19934 QT keyword "more" to prevent "more slots: ...." being spuriously
19935 parsed as a bitfield declaration.
19937 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19938 Refactor and enhance to handle bitfield declarations.
19939 (c-punctuation-in): New function.
19940 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19941 declarations properly.
19943 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19945 * calendar/icalendar.el (icalendar--all-events): Take care of
19946 multiple vcalendars in a single file.
19947 (icalendar--convert-float-to-ical): Checkdoc fixes.
19949 2011-07-25 Deniz Dogan <deniz@dogan.se>
19951 * image.el (insert-image): Clarifying docstring.
19953 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19955 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19956 `tramp-send-command-and-check' if there is no error.
19957 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19959 2011-07-22 Alan Mackenzie <acm@muc.de>
19961 Prevent cc-langs.elc being loaded at run time.
19963 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19966 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19967 "(require 'cc-langs)". Quote a form so it will evaluate at
19968 (cc-mode's) compilation time.
19970 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19972 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19973 loading. (Bug#9114)
19975 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19977 * window.el (display-buffer-pop-up-window)
19978 (display-buffer-pop-up-side-window)
19979 (display-buffer-in-side-window): Call display-buffer-set-height
19980 and display-buffer-set-width after setting the new window's
19981 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19983 2011-07-20 Sam Steingold <sds@gnu.org>
19985 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19986 (etags-tags-included-tables): Call `convert-standard-filename' on
19987 the file names contained in TAGS so that windows Emacs can handle
19988 TAGS files created by cygwin ctags.
19990 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19992 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19993 which apparently didn't work.
19995 2011-07-19 Roland Winkler <winkler@gnu.org>
19997 * proced.el (proced-send-signal): For *Marked Processes* buffer
19998 put point at beginning of buffer.
20000 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20002 * proced.el (proced-format): Make header lines align with the text
20005 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20007 * view.el (view-buffer): Allow running in `special' modes if we're
20008 visiting a file (bug#8615).
20010 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20012 * window.el (display-buffer-alist-of-strings-p)
20013 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20015 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20018 2011-07-18 Alan Mackenzie <acm@muc.de>
20020 Fontify declarators properly when, e.g., a jit-lock chunk begins
20021 inside a declaration.
20023 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20025 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20027 (c-complex-decl-matchers): Insert reference to
20028 c-font-lock-enclosing-decls.
20030 * progmodes/cc-engine.el (c-backward-single-comment):
20031 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20032 to nil around calls to (forward-comment -1).
20034 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20036 * image.el (put-image): Doc typo fix.
20038 * progmodes/etags.el (tags-search): Doc typo fix.
20040 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20041 password if we get errors 550 to 554.
20043 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20045 * net/gnutls.el (gnutls-log-level): Remove.
20047 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20048 indentation character (bug#6380).
20050 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20052 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20053 to clarify what the problem is (bug#4291).
20055 * simple.el (current-kill): Clarify what
20056 `interprogram-paste-function' does (bug#7500).
20057 (auto-fill-mode): Document `auto-fill-function' in relation to
20058 `auto-fill-mode' (bug#2470).
20060 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20062 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20063 method if slot is read-only (bug#9035).
20065 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20067 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20068 * window.el (pop-to-buffer): Select window used even if it was
20069 selected before, see discussion of (Bug#8615), (Bug#6954).
20070 Pass argument NORECORD on to select-frame-set-input-focus.
20072 2011-07-15 Glenn Morris <rgm@gnu.org>
20074 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20077 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20079 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20080 (gnutls-negotiate): Use it.
20082 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20084 * net/gnutls.el (gnutls-negotiate):
20085 Upcase `gnutls-algorithm-priority'.
20087 2011-07-15 Glenn Morris <rgm@gnu.org>
20089 * jka-compr.el (jka-compr-verbose): Move from here...
20090 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20091 Add missing :version tag.
20092 * info.el: No need to require jka-compr when compiling.
20094 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20096 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20097 (gnutls-negotiate): Use it.
20099 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20101 * info.el (Info-beginning-of-buffer): New command.
20102 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20103 announcing `b' as the key (bug#8325).
20104 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20106 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20108 * international/mule-cmds.el
20109 (describe-specified-language-support): Make the error message
20110 clearer (bug#8905).
20112 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20114 * isearch.el (isearch-barrier): Add a doc string, since it's
20115 mentioned in a function doc string (bug#8678).
20117 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20119 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20120 buffer argument (Bug#9083) and self-identifying label argument.
20122 2011-07-15 Glenn Morris <rgm@gnu.org>
20124 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20126 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20128 * man.el (Man-fontify-manpage): Fix message when formatting the
20129 man page (bug#7929).
20131 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20133 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20134 argument LRM; if non-nil, append an invisible LRM character to the
20136 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20137 last argument non-nil, when formatting buffer names.
20138 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20139 paragraph direction.
20141 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20143 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20144 the man page name (bug#7929).
20146 * image.el (put-image): Mention the `put-image' overlay property
20149 * scroll-bar.el (set-scroll-bar-mode): Mention that
20150 `scroll-bar-mode' lists the values (bug#7772).
20152 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20153 command (bug#7729).
20155 * rect.el (apply-on-rectangle): Return the point after the last
20157 (string-rectangle): Go to the point after the last operation
20160 * printing.el (pr-toggle-region): Clarify the documentation
20161 slightly (bug#7493).
20163 * time.el (display-time-update):
20164 Allow `display-time-mail-function' to return nil (bug#7158).
20165 Fix suggested by Detlev Zundel.
20167 * vc/diff.el (diff): Clarify the order the file names are read
20170 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20171 the doc string (bug#7015).
20173 * font-lock.el (font-lock-maximum-decoration): Mention what
20174 numeric levels mean (bug#6935).
20176 * startup.el (initial-buffer-choice): Don't mention the `none'
20177 selection, which is against policy.
20179 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20181 * window.el (display-buffer-normalize-special):
20182 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20184 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20186 * subr.el (version<, version<=, version=): Mention "-CVS" and
20187 "-12345" alpha version numbers.
20189 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20191 * bindings.el: Add advertised binding for set-mark-command
20194 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20196 * bindings.el (mode-line-other-buffer):
20197 * bookmark.el (bookmark-bmenu-2-window):
20198 * bs.el (bs-cycle-next, bs-cycle-previous):
20199 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20202 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20205 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20207 * follow.el (follow-debug-message, follow-redisplay):
20208 * jka-cmpr-hook.el (with-auto-compression-mode):
20209 Fix typos in docstrings.
20211 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20213 * subr.el (with-silent-modifications): Clarify somewhat what the
20214 macro inhibits (bug#6525).
20216 * simple.el (eval-expression): Note what it does if called
20217 interactively (bug#6495).
20219 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20221 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20222 Use pop-to-buffer buffer-or-name if it is nil.
20224 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20225 Remove switch-to-buffer.
20227 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20229 * files.el (make-directory): Clarify that an error will be raised
20230 if there's an error (bug#6397).
20232 * startup.el (initial-buffer-choice): Add `none' as a choice
20235 * subr.el (add-hook): Clarify section about buffer-local hooks
20238 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20240 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20242 * tabify.el (untabify): Preserve the current column so that point
20243 doesn't move (bug#6032).
20245 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20247 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20248 Rewrite to avoid awkward possessive "s" (bug#5986).
20250 2011-07-13 Glenn Morris <rgm@gnu.org>
20252 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20253 (dired-insert-directory): Give a message the first time
20254 if ls is found not to support --dired.
20256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20258 * simple.el (toggle-truncate-lines): Clarify what is toggled
20259 (bug#5580). Text by Drew Adams.
20261 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20263 * simple.el (blink-matching-open): Make the error message from the
20264 last change less verbose.
20266 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20268 * font-lock.el (font-lock-comment-face): Use the high contrast
20269 "yellow" color for font-lock-comment-face on low color terminals
20270 using a dark background color (bug#4221).
20272 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20274 * dired.el (dired-insert-set-properties): Make the doc string
20275 reflect what it does now (bug#5325).
20277 * simple.el (blink-matching-open): Say that we were unable to find
20278 the match within the limit, if we're limited (bug#5122).
20280 * international/mule-cmds.el (prefer-coding-system): Add an
20281 example (bug#4869).
20283 * progmodes/etags.el (tags-search): Document `file-list-form'
20286 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20288 * net/browse-url.el (browse-url-default-browser)
20289 (browse-url-browser-function): Make the default browser choice a
20290 bit more logical (bug#4300). Also clean up the doc string.
20292 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20294 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20295 binary endings (bug#4440).
20297 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20299 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20300 which can be pretty annoying (bug#8971).
20302 * jka-compr.el (jka-compr-verbose): New variable, and use
20303 throughout (bug#8971).
20305 * info.el (Info-find-file): Fall back on the installation
20306 directory if we can't find the info node anywhere else.
20308 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20310 * vc/vc.el (vc-revert-file):
20311 Don't set file time-stamp in the past. (Bug#5181)
20313 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20315 * files.el (after-find-file): Give a better error message when
20316 trying to find a symlink that points to a file that doesn't exist
20319 * progmodes/cc-vars.el: Remove (probably) misleading comment
20322 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20324 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20326 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20328 * mouse-sel.el: Hack restoring functionality, while keeping
20329 compatibility with 2010-07-03 changes to mouse selection.
20330 (mouse-sel-primary-overlay): New var.
20331 (mouse-sel-selection-alist): Use it.
20332 (mouse-sel-mode): Doc fix; remove points that are default features
20335 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20337 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20338 Fix previous fix (bug#2490).
20340 2011-07-12 Roland Winkler <winkler@gnu.org>
20342 * textmodes/bibtex.el (bibtex-initialize):
20343 Use pop-to-buffer-same-window.
20344 (bibtex-search-entries): Fix interactive call.
20346 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20349 Fontise bytecomp Error lines more correctly (bug#2490).
20350 Fix suggested by Johan Bockgård.
20352 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20354 * dired-x.el (dired-guess-default): Use `delete-dups'.
20356 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20358 * dired.el (dired-mark-prompt):
20359 * dired-aux.el (dired-read-shell-command): Doc fix.
20361 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20363 * mail/sendmail.el (sendmail-query-once):
20364 Use `customize-save-variable' unconditionally, now that it works under
20367 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20369 * cus-edit.el (custom-file): Take an optional no-error variable.
20370 (customize-save-variable): Set the variable, and give a warning if
20371 running under "emacs -q".
20373 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20375 * loadhist.el (unload-feature-special-hooks):
20376 Add `auto-coding-functions', `fill-nobreak-predicate' and
20377 `find-directory-functions' (bug#5327).
20379 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20381 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20383 * cus-edit.el (custom-guess-name-alist): -alist variables should
20384 use the `alist' type (bug#3120). Suggested by Drew Adams.
20386 * printing.el: Add documentation to all the `pr-toggle-' commands.
20388 2011-07-11 Leo Liu <sdl.web@gmail.com>
20390 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20391 backends where it makes sense (bug#2623).
20393 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20395 * dired-x.el (dired-guess-default): Remove duplicate shell command
20396 entries (bug#2028).
20397 (dired-guess-default): Fix grammar in doc string (bug#2028).
20398 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20400 * subr.el (remove-duplicates): New conveniency function.
20402 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20404 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20407 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20409 * window.el (display-buffer-normalize-default): Don't invert
20410 meaning of even-window-heights. Reported by Eli Zaretskii
20413 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20415 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20417 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20419 * window.el (display-buffer): Fix arguments to
20420 display-buffer-reuse-window in last change.
20422 * faces.el (link): Use a less saturated blue on light backgrounds.
20424 * startup.el (fancy-startup-text, fancy-about-text)
20425 (fancy-startup-tail): Use font-lock faces, for background safety.
20427 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20429 * emulation/viper-cmd.el (viper-change-state-to-vi):
20430 Limit triggering of abbrev expansion (Bug#9038).
20432 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20434 * window.el (display-buffer-default-specifiers): Remove.
20435 (display-buffer-macro-specifiers): Remove default specifiers.
20436 (display-buffer-alist): Default to nil.
20437 (display-buffer-reuse-window): New optional argument other-window.
20438 (display-buffer-pop-up-window): Allow splitting internal
20439 windows. Check whether a live window was created.
20440 (display-buffer-other-window-means-other-frame)
20441 (display-buffer-normalize-arguments): Rename to
20442 display-buffer-normalize-argument and rewrite. Set the
20443 other-window specifier.
20444 (display-buffer-normalize-special): New function.
20445 (display-buffer-normalize-options): Rename to
20446 display-buffer-normalize-default and rewrite.
20447 (display-buffer-normalize-options-inhibit): Remove.
20448 (display-buffer-normalize-specifiers): Rewrite.
20449 (display-buffer): Process other-window specifier and call
20450 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20452 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20453 (display-buffer-alist-set): Don't handle 'unset default values.
20454 (display-buffer-in-window, display-buffer-alist-set):
20455 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20456 <tassilo@member.fsf.org>.
20458 2011-07-09 Leo Liu <sdl.web@gmail.com>
20460 * register.el (insert-register): Restore accidental change on
20461 2011-06-26. (Bug#9028)
20463 2011-07-09 Glenn Morris <rgm@gnu.org>
20465 * subr.el (remq): Handle the empty list. (Bug#9024)
20467 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20469 * mail/sendmail.el (send-mail-function): No longer delay custom
20471 * custom.el (custom-initialize-delay): Doc fix.
20473 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20475 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20477 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20479 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20480 human-friendly prompt.
20482 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20484 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20485 provided by a particular plugin.
20487 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20489 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20490 save customizations (with "emacs -Q"), just set the variable
20491 instead of erroring out.
20493 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20495 2011-07-08 Juri Linkov <juri@jurta.org>
20497 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20498 (archive-zip-update-case): Use 7z if found by `executable-find'.
20499 The order of searching the available programs is the same as in
20500 `archive-zip-extract' (bug#8968).
20502 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20504 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20505 (menu-bar-options-menu): Tweak descriptions.
20507 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20510 menu items into verb phrases (bug#1421). Also refill to fit under
20513 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20515 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20516 (Info-read-node-name): Doc fix (Bug#1084).
20518 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20519 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20520 (end-of-sexp, beginning-of-sexp)
20521 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20522 (forward-symbol, forward-same-syntax, word-at-point)
20523 (sentence-at-point): Doc fix (Bug#1144).
20525 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20527 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20528 should cover it (bug#1281).
20530 * cus-edit.el (custom-show): Mark as obsolete.
20532 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20533 negotiation fails, then possibly try again with a non-encrypted
20534 connection (bug#9017).
20536 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20539 2011-07-07 Richard Stallman <rms@gnu.org>
20541 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20542 property, and handle its changed format.
20543 Look for the correct line number.
20544 Use file's line contents (but not past first =) to find
20545 correct line in message.
20547 2011-07-07 Kenichi Handa <handa@m17n.org>
20549 * international/characters.el (build-unicode-category-table):
20551 (unicode-category-table): Set it by unicode-property-table-internal.
20553 * international/mule-cmds.el (char-code-property-alist): Move to
20555 (get-char-code-property): Call unicode-property-table-internal to
20556 load a file. Call get-unicode-property-internal where necessary.
20557 (put-char-code-property): Call unicode-property-table-internal to
20558 load a file. Call put-unicode-property-internal where necessary.
20559 put-unicode-property-internal where necessary.
20560 (char-code-property-description):
20561 Call unicode-property-table-internal to load a file.
20563 * international/charprop.el:
20564 * international/uni-bidi.el:
20565 * international/uni-category.el:
20566 * international/uni-combining.el:
20567 * international/uni-comment.el:
20568 * international/uni-decimal.el:
20569 * international/uni-decomposition.el:
20570 * international/uni-digit.el:
20571 * international/uni-lowercase.el:
20572 * international/uni-mirrored.el:
20573 * international/uni-name.el:
20574 * international/uni-numeric.el:
20575 * international/uni-old-name.el:
20576 * international/uni-titlecase.el:
20577 * international/uni-uppercase.el: Regenerate.
20579 * loadup.el: Load international/charprop.el before
20580 international/characters.
20582 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20584 * window.el (next-buffer, previous-buffer): Signal an error if
20585 called from a minibuffer window.
20587 * bindings.el: Revert 2011-07-04 change.
20589 2011-07-06 Richard Stallman <rms@gnu.org>
20591 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20592 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20593 Treat markers like ints.
20594 (rmail-mime-entity): Doc fix.
20596 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20598 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20599 defcustom again for backwards compatibility.
20601 * simple.el (shell-command-on-region): Fill.
20603 * dired-aux.el (dired-kill-line): Add a doc string.
20605 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20606 to "\\sw\\|\\s_" (bug#358).
20608 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20609 (dired-unmark-backward): Ditto.
20610 (dired-flag-backup-files): Ditto.
20612 * dired-x.el (dired-mark-sexp): Ditto.
20614 2011-07-06 Richard Stallman <rms@gnu.org>
20616 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20617 (rmail-mime-entity): New arg TRUNCATED.
20618 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20620 (rmail-mime-save): Warn if entity is truncated.
20621 (rmail-mime-toggle-hidden): Likewise, for showing.
20622 (rmail-mime-process-multipart): Record when an entity is truncated.
20624 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20625 if ENTITY is a string.
20627 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20629 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20630 of faces when `M-C-x'-ing their definitions (bug#8378).
20631 Also clean up the code slightly.
20633 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20634 because that makes the colors go away.
20636 * mail/sendmail.el (send-mail-function): Change the default to
20637 `sendmail-query-once'.
20638 (sendmail-query-once): Add an autoload cookie.
20640 * net/network-stream.el (network-stream-open-starttls): Try using
20641 a plain connection even if the server offered STARTTLS, and we
20642 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20643 capability. This should make smtpmail.el work in slightly more
20646 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20648 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20650 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20652 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20654 * progmodes/sql.el: Version 3.0
20655 (sql-product-alist): Add product :completion-object,
20656 :completion-column, and :statement attributes.
20657 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20658 (sql-mode-syntax-table): Mark all punctuation.
20659 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20661 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20662 (sql-mode-oracle-font-lock-keywords): Improve.
20663 (sql-oracle-show-reserved-words): New function for development.
20664 (sql-product-font-lock): Simplify for source code buffers.
20665 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20667 (sql-highlight-product): Set product specific syntax table.
20668 (sql-mode-map): Add statement movement functions.
20669 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20671 (sql-statement-regexp, sql-beginning-of-statement)
20672 (sql-end-of-statement, sql-signum): New functions.
20673 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20674 (sql-show-sqli-buffer): Bug fix.
20675 (sql-interactive-mode): Store connection data as buffer local.
20676 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20677 with sql-interactive-mode.
20678 (sql-save-connection): Save buffer local settings.
20679 (sql-connection-menu-filter): Change menu entry name.
20680 (sql-product-interactive): Bug fix.
20681 (sql-preoutput-hold): New variable.
20682 (sql-interactive-remove-continuation-prompt): Bug fixes.
20683 (sql-debug-redirect): New variable.
20684 (sql-str-literal): New function.
20685 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20687 (sql-oracle-save-settings, sql-oracle-restore-settings)
20688 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20689 (sql-completion-object, sql-completion-column)
20690 (sql-completion-sqlbuf): New variables.
20691 (sql-build-completions-1, sql-build-completions)
20692 (sql-try-completion): New functions.
20693 (sql-read-table-name): Use them.
20694 (sql-contains-names): New buffer local variable.
20695 (sql-list-all, sql-list-table): Use it.
20696 (sql-oracle-completion-types): New variable.
20697 (sql-oracle-completion-object, sql-sqlite-completion-object)
20698 (sql-postgres-completion-object): New functions.
20700 2011-07-06 Glenn Morris <rgm@gnu.org>
20702 * window.el (pop-to-buffer): Doc fix.
20704 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20706 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20708 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20710 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20712 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20714 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20716 * button.el (button): Inherit from link face. Suggested by Dan
20719 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20721 * progmodes/gdb-mi.el: Fit in 80 columns.
20722 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20725 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20726 if imenu is simply not configured (bug#8941).
20728 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20730 * allout.el (allout-post-undo-hook): New allout outline-change
20731 event hook to signal undo activity.
20732 (allout-post-command-business): Run allout-post-undo-hook if an
20733 undo just occurred.
20734 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20735 * allout-widgets.el (allout-widgets-after-undo-function):
20736 Ensure the integrity of the current item's decoration after it has been
20737 in the vicinity of an undo.
20738 (allout-widgets-mode): Include allout-widgets-after-undo-function
20739 on the new allout-post-undo-hook.
20741 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20743 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20744 Let define-derived-mode define it.
20745 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20746 cycles of abbrev-table inheritance (bug#8998).
20748 2011-07-05 Roland Winkler <winkler@gnu.org>
20750 * textmodes/bibtex.el: Add support for biblatex.
20751 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20752 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20753 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20754 (bibtex-entry-alist, bibtex-field-alist): New variables.
20755 (bibtex-entry-field-alist): Obsolete alias for
20756 bibtex-BibTeX-entry-alist.
20757 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20758 (bibtex-set-dialect): New command.
20759 (bibtex-entry-type, bibtex-entry-head)
20760 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20761 Bind via bibtex-set-dialect.
20762 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20763 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20764 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20765 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20766 Define via bibtex-set-dialect.
20767 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20768 Obey bibtex-no-opt-remove-re.
20769 (bibtex-vec-push, bibtex-vec-incr): New functions.
20770 (bibtex-format-entry, bibtex-field-list)
20771 (bibtex-print-help-message, bibtex-validate)
20772 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20776 * progmodes/compile.el (compilation-goto-locus):
20777 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20778 * bs.el (bs-cycle-next, bs-cycle-previous):
20779 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20780 * bindings.el (mode-line-other-buffer):
20781 * autoinsert.el (auto-insert):
20782 * arc-mode.el (archive-extract):
20783 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20785 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20787 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20788 Fix check of `emacs-lock-unlockable-modes'.
20789 Coerce true values of `emacs-lock--try-unlocking' to t.
20791 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20793 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20794 * emacs-lock.el: New file.
20796 2011-07-05 Julien Danjou <julien@danjou.info>
20798 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20799 than `boundp' to check if face is set.
20801 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20803 * register.el (registerv-make):
20804 * window.el (window-min-height): Fix typos in docstrings.
20806 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20808 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20811 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20813 * server.el (server-execute): Catch quit and call
20814 `server-return-error' to pass the error back to emacsclient and
20815 close the connection (bug#8942).
20817 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20819 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20820 insecure exception for current topic. Also note that auto-saves
20821 are handled differently.
20823 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20824 State variables for tracking auto-save inhibition situation.
20826 (allout-write-contents-hook-handler): Rename from
20827 'allout-write-file-hook-handler', and describe how it depends on
20828 write-contents-functions sensitivity to non-nil value to prevent
20831 (allout-auto-save-hook-handler): Remove. auto-save does not check
20832 this in individual buffers, only in the starting buffer, so this
20833 is not the right way for us to inhibit auto-save in a buffer
20834 according to its condition.
20836 (allout-mode): Use new allout-write-contents-hook-handler, and
20837 only with write-contents-functions. Remove auto-save provisions -
20838 they're implemented elsewhere.
20840 (allout-before-change-handler): If undo is in progress, note that
20841 for attention of allout-post-command-business.
20843 (allout-post-command-business): If the command we're following was
20844 an undo, check for change in the status of encrypted items and
20845 adjust auto-save inhibitions accordingly.
20847 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20848 according to whether there are or aren't any plain-text topics
20849 pending encryption.
20851 (allout-inhibit-auto-save-info-for-decryption):
20852 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20853 if there are plain-text topics pending encryption.
20855 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20856 buffer-saved-size and some allout state to not inhibit auto-saves
20857 if there are no longer any plain-text topics pending encryption.
20859 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20860 No longer provide for exemption of the current topic.
20862 2011-07-04 Juri Linkov <juri@jurta.org>
20864 Add 7z operations to delete and save changed members (bug#8968).
20865 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20867 (archive-7z-write-file-member): New function.
20868 (archive-7z-summarize): Fix the number of dashes in the
20871 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20873 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20876 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20878 * bindings.el: Ignore next-buffer and previous-buffer in
20879 minibuffer-local-map.
20881 * font-lock.el (font-lock-builtin-face): Change light background
20882 color to dark slate blue (Bug#6693).
20884 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20886 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20888 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20890 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20891 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20892 Add switch-to-buffer.
20894 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20896 * isearch.el (isearch-search-fun-function): Clarify further the
20897 meaning of the function returned.
20899 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20901 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20903 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20904 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20906 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20907 `tramp-default-remote-path' does not exist.
20908 (tramp-send-command-and-read): New optional argument NOERROR.
20909 (tramp-open-connection-setup-interactive-shell)
20910 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20911 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20912 (tramp-process-sentinel): Flush also process' connection property.
20913 (tramp-sh-handle-start-file-process): Do not set process
20914 sentinel. It is done now ...
20915 (tramp-maybe-open-connection): ... here. (Bug#8929)
20917 2011-07-04 MON KEY <monkey@sandpframing.com>
20919 * play/animate.el (animate-string): Doc fixes and allow changing
20920 the buffer name (bug#5417).
20922 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20924 * play/animate.el (animation-buffer-name): Rename from *animate*.
20926 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20928 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20929 This is simpler and helps future-proof the code.
20930 (timer-until): Use time-subtract and float-time.
20931 (timer--time-less-p): Use time-less-p.
20933 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20935 * type-break.el (timep): Use the value of `float-time' to avoid a
20936 byte-compiler warning.
20938 * server.el (server-eval-and-print): Return any result, even nil.
20940 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20942 * type-break.el: Accept time formats that the builtins accept.
20943 (timep, type-break-time-difference): Accept any format that
20944 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20945 This is simpler and helps future-proof the code.
20946 (type-break-time-difference): Round rather than ignoring
20947 subseconds components.
20949 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20951 * info.el (Info-apropos-matches): Make non-interactive, since it
20952 doesn't seem to do anything useful as a command (bug#8829).
20954 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20956 * frame.el (frame-background-mode, frame-set-background-mode):
20957 Move from faces.el.
20958 (frame-default-terminal-background): New function.
20960 * custom.el (custom-push-theme): Don't record faces in `changed'
20961 theme; this doesn't work correctly for per-frame face settings.
20962 (disable-theme): Use face-set-after-frame-default to reset faces.
20963 (custom--frame-color-default): New function.
20965 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20967 * dired.el (dired-flagging-regexp): Remove unused variable
20970 2011-03-29 Kevin Ryde <user42@zip.com.au>
20972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20973 `perl-Test2' extend to match possible "fail #N" rep count
20976 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20978 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20979 `smtpmail-via-smtp' now returns the error instead of nil.
20981 * isearch.el (isearch-search-fun-function): Clarify the doc string
20984 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20986 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20987 unnecessary spaces (bug#8987).
20989 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20991 * net/network-stream.el (open-network-stream): Use the
20992 :end-of-capability command thoughout.
20994 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20996 * net/network-stream.el (open-network-stream): Add the
20997 :end-of-capability command parameter, used by pop3.el.
20999 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21001 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21003 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21004 for list)" (bug#6475).
21006 * files.el (file-expand-wildcards): Ignore non-readable
21007 sub-directories while trying to find matches instead of signaling
21008 an error (bug#6297).
21010 * man.el (Man-reference-regexp): Allow matching possible
21011 word-wrapped references (bug#6289).
21013 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21014 for consistency with the other vc buffers (bug#6197).
21015 (vc-checkin): Ditto.
21017 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21019 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21021 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21023 * custom.el (defcustom): Clarify that :set is only used in the
21024 Customize user interface (bug#6089).
21026 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21027 associated with a file, refuse to run instead of erroring out
21030 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21031 the doc string, since it appears that using `fill-column' always
21032 controls the width (bug#7845).
21034 * simple.el (shell-command-on-region): Say where the error output
21035 went if `shell-command-default-error-buffer' is set (bug#6857).
21037 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21039 * allout.el (allout-yank-processing): Adjust cursor position for
21040 backwards-deleted space.
21042 (allout-rebullet-heading): Register changes with
21043 allout-exposure-changed-hook, so the modified topic is properly
21046 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21048 * minibuffer.el (completion-in-region): Document PREDICATE
21051 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21052 of keyword/argument pairs (bug#6904).
21054 * replace.el (multi-occur):
21055 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21057 2011-07-02 Drew Adams <drew.adams@oracle.com>
21059 * dired.el (dired-mark-if): Make the message about whether it's
21060 marking or unmarking clearer (bug#8523).
21062 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21064 * disp-table.el (display-table-print-array): New function.
21065 (describe-display-table): Use it to print the vectors more pretty
21068 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21070 * window.el (window-state-get-1): Don't assign clone numbers.
21071 Add clone-of item to list of window parameters.
21072 (window-state-put-2): Don't process clone numbers.
21073 (display-buffer-alist): Fix doc-string.
21075 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21077 * subr.el (remq): Don't allocate if it's not needed.
21078 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21079 (keymap--merge-bindings): New functions.
21080 (keymap-canonicalize): Use them to refine the canonicalization.
21081 * minibuffer.el (minibuffer-local-completion-map)
21082 (minibuffer-local-must-match-map): Move initialization from C.
21083 (minibuffer-local-filename-completion-map): Move initialization from C;
21084 don't inherit from anything here.
21085 (minibuffer-local-filename-must-match-map): Make obsolete.
21086 (completing-read-default): Use make-composed-keymap to combine
21087 minibuffer-local-filename-completion-map with either
21088 minibuffer-local-must-match-map or
21089 minibuffer-local-filename-completion-map.
21091 2011-07-01 Glenn Morris <rgm@gnu.org>
21093 * type-break.el (type-break-time-sum): Use dolist.
21095 * textmodes/flyspell.el (flyspell-word-search-backward):
21096 Replace CL function.
21098 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21100 * mouse.el (mouse--strip-first-event): New function.
21101 (function-key-map): Use it to map fringe clicks to normal clicks
21104 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21105 (vc-bzr-revision-completion-table): Add support for annotate and date.
21107 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21108 inherit from parent.
21110 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21112 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21113 (dired-show-file-type): Doc fixup (bug#8818).
21115 * dired.el (dired-mode): Fix up the doc string as suggested by
21116 Drew Adams (bug#8817).
21118 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21119 cookie, since the manual says that it should be possible to add
21120 this function to `find-file-hook' (bug#8709).
21122 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21124 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21125 here. Noted Ted Zlatanov as the maintainer.
21126 (cfengine-common-settings, cfengine-common-syntax): New functions
21127 to set up common things between `cfengine-mode' and
21129 (cfengine3-mode): New mode.
21130 (cfengine3-defuns cfengine3-defuns-regex
21131 (cfengine3-class-selector-regex cfengine3-category-regex)
21132 (cfengine3-vartypes cfengine3-font-lock-keywords)
21133 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21134 (cfengine3-indent-line): Add from cfengine3.el.
21136 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21138 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21140 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21142 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21144 * window.el (same-window-buffer-names, same-window-regexps)
21145 (same-window-p, special-display-frame-alist)
21146 (special-display-popup-frame, special-display-function)
21147 (special-display-buffer-names, special-display-regexps)
21148 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21150 (split-window-preferred-function, split-height-threshold)
21151 (split-width-threshold, even-window-heights)
21152 (display-buffer-mark-dedicated, window-splittable-p)
21153 (split-window-sensibly, window-safely-shrinkable-p):
21155 (display-buffer): Don't spread args with function specifier
21156 because special-display-popup-frame won't like it.
21158 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21160 Time-stamp simplifications and fixes.
21161 These improve accuracy slightly, and future-proof the code
21162 against some potential changes to current-time format.
21164 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21165 by using time-since and float-time.
21167 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21168 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21169 + NNN microseconds".
21171 * type-break.el (type-break-time-sum): Rewrite using time-add.
21173 * play/hanoi.el (hanoi-current-time-float): Remove.
21174 All uses replaced by float-time.
21176 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21177 This yields a more-accurate answer.
21178 (rng-time-to-float): Remove; no longer needed.
21180 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21182 * calendar/timeclock.el (timeclock-seconds-to-time):
21183 Defalias to seconds-to-time, since they're the same thing.
21185 * emacs-lisp/elp.el (elp-elapsed-time):
21186 * emacs-lisp/benchmark.el (benchmark-elapse):
21187 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21189 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21191 * window.el (bury-buffer): Don't iconify the only frame.
21192 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21193 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21195 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21197 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21198 Add mouse-yank-primary.
21200 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21202 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21204 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21206 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21207 (find-library-name): Use it to find relative load names when provided
21208 absolute file name (bug#8803).
21210 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21212 * textmodes/flyspell.el (flyspell-word): Consider words that
21213 differ only in case as potential doublons (bug#5687).
21215 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21216 Remove two rather uninteresting debugging-like messages to make
21217 debbugs.el more silent.
21219 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21220 a password-like phrase.
21222 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21224 * progmodes/cc-guess.el: New file.
21226 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21228 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21229 derived from `c-basic-common-init'.
21231 * progmodes/cc-mode.el (top-level): Require cc-guess.
21232 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21234 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21236 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21238 2011-06-30 Alan Mackenzie <acm@muc.de>
21240 * progmodes/cc-engine.el (c-guess-continued-construct):
21241 Correct the handling of template-args-cont, particularly for when font
21242 lock is disabled. Name this case as "CASE G".
21244 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21246 * allout.el (allout-yank-processing): Fix injection of extra space
21247 between bullet and non-whitespace character in first topic when
21248 pasting, ensuring that the actual spacing in the pasted topic
21249 following the bullet char is preserved. This extra space was
21250 causing pasted encrypted topics to get a decrypted status even
21251 when the content was actually still encrypted. Now the decryption
21252 status from before the paste is preserved.
21254 (allout-flag-region): Set all allout overlays so they evaporate
21255 when reduced to zero length (evanescent), to prevent overlay
21258 2011-06-30 Glenn Morris <rgm@gnu.org>
21260 * w32-fns.el (w32-charset-info-alist): Declare.
21262 * find-dired.el (find-grep-options): Simplify.
21264 * term/ns-win.el (ns-set-resource): Declare.
21266 * ses.el (row, col): Declare dynamic variables honestly.
21268 * textmodes/reftex-parse.el (index-tags): Declare.
21270 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21272 * cus-edit.el (customize-push-and-save): New function.
21274 * files.el (hack-local-variables-confirm): Use it.
21276 * custom.el (load-theme): New arg NO-CONFIRM.
21277 Use customize-push-and-save (Bug#8720).
21278 (custom-enabled-themes): Doc fix.
21280 * cus-theme.el (customize-create-theme)
21281 (custom-theme-merge-theme): Callers to load-theme changed.
21283 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21285 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21286 short URLs have at least one dot in them (bug #7614).
21288 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21289 nil, because using a pty is apparently too slow (bug #895).
21291 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21293 * mail/sendmail.el (sendmail-query-once): New function.
21294 (sendmail-query-once-function): New variable.
21296 2011-06-29 Glenn Morris <rgm@gnu.org>
21298 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21300 * ses.el (top-level): Require cl when compiling.
21301 (ses-set-localvars): Fix error statement.
21302 Call it at compile time to silence a storm of warnings.
21304 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21306 * window.el (normalize-live-buffer): Rename to
21307 window-normalize-buffer.
21308 (normalize-live-frame): Rename to window-normalize-frame.
21309 (normalize-any-window): Rename to window-normalize-any-window.
21310 (normalize-live-window): Rename to window-normalize-live-window.
21311 (make-window-atom): Rename to window-make-atom.
21312 (window-resize-reset): Rename to window--resize-reset.
21313 (window-resize-reset-1): Rename to window--resize-reset-1.
21314 (resize-mini-window): Rename to window--resize-mini-window.
21315 (resize-subwindows-skip-p): Rename to
21316 window--resize-subwindows-skip-p.
21317 (resize-subwindows-normal): Rename to
21318 window--resize-subwindows-normal.
21319 (resize-subwindows): Rename to window--resize-subwindows.
21320 (resize-other-windows): Rename to window--resize-siblings.
21321 (resize-this-window): Rename to window--resize-this-window.
21322 (resize-root-window): Rename to window--resize-root-window.
21323 (resize-root-window-vertically): Rename to
21324 window--resize-root-window-vertically.
21325 (normalize-buffer-to-display): Rename to
21326 window-normalize-buffer-to-display.
21327 (normalize-buffer-to-switch-to): Rename to
21328 window-normalize-buffer-to-switch-to.
21329 Correspondingly update all callers of the functions listed
21331 (display-buffer-alist, display-buffer-normalize-arguments)
21332 (display-buffer-normalize-options, display-buffer)
21333 (display-buffer-alist-set): Use "function" instead of
21336 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21338 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21339 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21340 debbugs.gnu.org. Mention acknowledgment email.
21342 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21344 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21345 buffer multibyteness, since it shouldn't matter.
21347 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21349 * window.el (display-buffer-in-side-window): Handle dedicated
21350 windows as in display-buffer-reuse-window.
21351 (display-buffer-normalize-alist): Use value of override
21353 (display-buffer-normalize-specifiers): Use value of
21354 other-window-means-other-frame specifier.
21355 (display-buffer-alist): Rewrite some texts in widgets.
21356 (display-buffer): Spread arguments when calling function
21357 specified by fun-with-args.
21359 2011-06-28 Deniz Dogan <deniz@dogan.se>
21361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21364 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21365 selectors (Bug#5732).
21366 (css-proprietary-nmstart-re): Use `regexp-opt'.
21368 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21370 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21371 (eshell-ls-date-format): New defcustom.
21372 (eshell-ls-file): Use it.
21374 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21376 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21378 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21380 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21381 (ange-ftp-make-tmp-name): New arg.
21382 (ange-ftp-file-local-copy): Use it.
21384 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21386 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21387 no-conversion (Bug#8870).
21389 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21391 * window.el (window-right, window-left, window-child)
21392 (window-child-count, window-last-child)
21393 (window-iso-combination-p, walk-window-tree-1)
21394 (window-atom-check-1, window-tree-1, delete-window)
21395 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21396 new naming conventions - window-vchild, window-hchild,
21397 window-next and window-prev are now called window-top-child,
21398 window-left-child, window-next-sibling and window-prev-sibling
21400 (resize-window-reset): Rename to window-resize-reset.
21401 (resize-window-reset-1): Rename to window-resize-reset-1.
21402 (resize-window): Rename to window-resize.
21403 (window-min-height, window-min-width)
21404 (resize-mini-window, resize-this-window, resize-root-window)
21405 (resize-root-window-vertically, adjust-window-trailing-edge)
21406 (enlarge-window, shrink-window, maximize-window)
21407 (minimize-window, delete-window, quit-restore-window)
21408 (split-window, balance-windows, balance-windows-area-adjust)
21409 (balance-windows-area, window-state-put-2)
21410 (display-buffer-even-window-sizes, display-buffer-set-height)
21411 (display-buffer-set-width, set-window-text-height)
21412 (fit-window-to-buffer): Rename all "resize-window" prefixed
21413 calls to use the "window-resize" prefix convention.
21414 (display-buffer-alist): Fix symbol for label specifier.
21415 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21416 corresponding specifier.
21417 Reported by Juanma Barranquero <lekktu@gmail.com>.
21419 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21421 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21423 (ses-call-printer): Does not pass an empty string to formatter when the
21424 cell is empty to keep from barking printer Calc math-format-value.
21426 2011-06-27 Richard Stallman <rms@gnu.org>
21428 * battery.el (battery-mode-line-limit): New variable.
21429 (battery-update): Handle it.
21431 * mail/rmailmm.el (rmail-mime-process-multipart):
21432 Handle truncated messages.
21434 2011-06-27 Glenn Morris <rgm@gnu.org>
21436 * progmodes/flymake.el (flymake-err-line-patterns):
21437 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21439 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21441 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21442 (ses--clean-!, ses--clean-_): New functions.
21443 (ses-range): Add configurability of readout order, and conversion
21446 * ses.el (ses-repair-cell-reference-all): New function.
21447 (ses-cell-symbol): Set macro as safe, so that it can be used in
21450 * ses.el: Update cycle detection algorithm.
21451 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21452 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21453 (ses-set-localvars): New function.
21454 (ses-make-cell): Add property-list as a cell element.
21455 (ses-cell-property-get-fun, ses-cell-property-get)
21456 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21457 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21459 (ses-cell-property-set, ses-cell-property-pop)
21460 (ses-cell-property-get-handle): New macro.
21461 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21462 New aliases, used for code readability.
21463 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21465 (ses-self-reference-early-detection): New defcustom.
21466 (ses-formula-references): Robustify against self-referring cells.
21467 (ses-mode): Use ses-set-localvars.
21468 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21469 before lauching the update processing.
21470 (ses-initialize-Dijkstra-attempt): New function.
21471 (ses-recalculate-cell): Update for cycle detection based on
21472 Dijkstra algorithm.
21474 * ses.el: Fix commenting and indenting convention.
21476 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21478 * bs.el (bs-cycle-next): Complete last change.
21480 2011-06-27 Drew Adams <drew.adams@oracle.com>
21482 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21484 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21486 * net/network-stream.el (network-stream-open-starttls):
21487 Don't re-get capabilities unless we've reestablished connection.
21488 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21490 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21491 to binary to possibly avoid line encoding issues on Windows (among
21494 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21496 * net/network-stream.el (open-network-stream): Return an :error
21497 saying what the problem was, if possible.
21499 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21502 * net/network-stream.el (network-stream-open-starttls): If we
21503 wanted to use STARTTLS, and the server offered it, but we weren't
21504 able to because we had no STARTTLS support, then close the connection.
21505 (open-network-stream): Return an :error element, if present.
21507 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21509 * hl-line.el (hl-line-sticky-flag): Doc fix.
21510 (global-hl-line-sticky-flag): New option (Bug#8323).
21511 (global-hl-line-highlight): Obey it.
21513 * vc/vc.el (vc-revert-show-diff): Default to t.
21515 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21517 * allout-widgets.el (allout-widgets-post-command-business):
21518 Stop decorating intermediate isearch matches. They're not being
21519 undecorated when an isearch is continued past, and isearch
21520 automatically collapses them. This leads to "widget leaks", where
21521 decorated items accumulate in collapsed areas. Lines with lots of
21522 hidden widgets can slow down cursor travel, substantially.
21523 Too much complicated machinery would be needed to ensure undecoration,
21524 so we're doing without this nicety.
21526 (allout-widgets-tally-string): Don't try to do a hash-table-count
21527 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21528 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21529 *Messages* when allout-widgets-maintain-tally is t.
21531 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21533 * window.el (display-buffer-normalize-argument): Rename to
21534 display-buffer-normalize-arguments. Handle special meaning of
21535 LABEL argument. Respect special-display-function when popping up
21536 a new frame. Fix code searching for a window showing the buffer
21538 (display-buffer-normalize-specifiers):
21539 Call display-buffer-normalize-arguments.
21540 (display-buffer-in-window): Don't undedicate the window if its
21541 buffer remains the same.
21542 Reported by Drew Adams <drew.adams@oracle.com>.
21543 (display-buffer-alist): Add choice for same-window macro
21545 (display-buffer): Mention special meaning of LABEL argument in
21546 doc-string. Fix quoting. Don't pop up a new frame even as
21549 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21551 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21552 avoid deleting the current window in some cases (bug#8911).
21554 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21556 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21559 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21561 * net/network-stream.el (network-stream-open-starttls):
21562 Use built-in TLS support if `gnutls-available-p' is true.
21563 (network-stream-open-tls): Ditto.
21565 2011-06-26 Leo Liu <sdl.web@gmail.com>
21567 * register.el (registerv): New struct.
21568 (registerv-make): New function.
21569 (jump-to-register, describe-register-1, insert-register):
21570 Support the jump-func, print-func and insert-func slot of a registerv
21573 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21575 * vc/vc.el (vc-revert-show-diff): New defcustom.
21576 (vc-diff-internal): New arg specifying diff buffer.
21577 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21578 reuse an existing *vc-diff* buffer (Bug#8927).
21580 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21582 2011-06-26 Glenn Morris <rgm@gnu.org>
21584 * progmodes/f90.el (f90-critical-indent): New option.
21585 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21586 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21587 (f90-mode): Doc fix.
21588 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21589 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21590 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21591 (f90-match-end): Handle block, critical.
21593 2011-06-25 Glenn Morris <rgm@gnu.org>
21595 * calendar/diary-lib.el (diary-included-files): Doc fix.
21596 (diary-include-files): New function, extracted from
21597 diary-include-other-diary-files and diary-mark-included-diary-files.
21598 (diary-include-other-diary-files, diary-mark-included-diary-files):
21599 Just call diary-include-files.
21600 (diary-mark-entries): Reset diary-included-files on first call.
21602 * calendar/diary-lib.el (diary-mark-entries)
21603 (diary-mark-included-diary-files):
21604 Visit included diary-files in temp buffers.
21606 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21607 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21608 (f90-start-block-re, f90-imenu-generic-expression)
21609 (f90-looking-at-program-block-start, f90-no-block-limit):
21610 Add support for submodules.
21612 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21613 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21615 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21617 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21618 buffer-file-type before setting its value, to avoid disastrous
21619 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21621 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21623 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21625 * ses.el (ses-unload-function):
21626 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21628 * proced.el (proced-unload-function):
21629 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21631 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21633 * server.el (server-create-window-system-frame): Add parameters arg.
21634 (server-process-filter): Doc fix. Handle frame-parameters.
21636 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21638 Fix bug#8730, bug#8781.
21640 * loadhist.el (unload--set-major-mode): New function.
21641 (unload-feature): Use it.
21643 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21644 (python-unload-function): New function.
21646 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21648 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21650 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21652 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21653 the candidates list.
21655 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21657 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21659 2011-06-23 Richard Stallman <rms@gnu.org>
21661 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21662 (rmail-variables): Set next-error-move-function.
21663 (rmail-what-message): Take argument POS.
21664 (rmail-next-error-move): New function.
21666 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21668 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21669 messages for adjacent non-terminals.
21671 2011-06-23 Richard Stallman <rms@gnu.org>
21673 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21674 (rmail-show-message-1): Preserve buffer modified flag.
21675 (rmail-start-mail): Don't specify use of rmail-mail-return;
21676 that's done by mail-bury now.
21677 (rmail-mail-return): Handle arg NEWBUF.
21679 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21681 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21684 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21686 * window.el (get-lru-window, get-mru-window)
21687 (get-largest-window): Never return a minibuffer window.
21688 (display-buffer-pop-up-window): Fix a bug that could lead to
21689 reusing the minibuffer window.
21690 (display-buffer): Pass original specifier argument to
21691 display-buffer-function instead of the normalized one.
21692 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21694 2011-06-22 Leo Liu <sdl.web@gmail.com>
21696 * minibuffer.el (completing-read-function)
21697 (completing-read-default): Move from minibuf.c.
21699 2011-06-22 Richard Stallman <rms@gnu.org>
21701 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21702 to Rmail even if not started by a special Rmail command.
21704 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21705 Copy the buffer currently showing just one message.
21707 2011-06-22 Roland Winkler <winkler@gnu.org>
21709 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21710 (bibtex-clean-entry): First delete the old key so that a
21711 customized algorithm for generating the new key does not get
21712 confused by the old key.
21713 (bibtex-url): Obey regexp of first step.
21714 (bibtex-search-entries): Do not use add-to-list with local
21717 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21719 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21720 stored a user name, then query for the password first, instead of
21721 waiting for SMTP to give an error message and the trying again.
21723 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21725 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21726 BUFFER in call-process.
21728 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21730 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21732 (smtpmail-try-auth-methods): Require user name and password from
21735 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21737 * window.el (display-buffer-default-specifiers)
21738 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21739 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21740 (split-window): Normalize SIDE argument (Bug#8916).
21742 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21743 (special-display-frame-alist, special-display-popup-frame):
21744 Remove duplicate declarations. These are now in window.el.
21746 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21748 * mail/smtpmail.el (smtpmail-via-smtp):
21749 Set :use-starttls-if-possible so that we always use STARTTLS if the
21750 server supports it. SMTP servers that support STARTTLS commonly
21753 * net/network-stream.el (network-stream-open-starttls): Support
21754 upgrading to STARTTLS always, even if we don't have built-in support.
21755 (open-network-stream): Add the :always-query-capabilities keyword.
21757 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21758 upgrades with `open-network-stream', and rely solely on
21759 auth-source for all credentials. Big changes throughout the file,
21761 (smtpmail-auth-credentials): Remove.
21762 (smtpmail-starttls-credentials): Remove.
21763 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21766 * net/network-stream.el (network-stream-open-starttls):
21767 Provide support for client certificates both for external and built-in
21769 (auth-source): Require.
21770 (open-network-stream): Document the :client-certificate keyword.
21771 (network-stream-certificate): Change cert-cert to cert and
21774 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21776 * net/tramp-cache.el (top): Don't load the persistency file when
21777 "emacs -Q" has been called.
21779 2011-06-21 Tim Harper <timcharper@gmail.com>
21781 * term/ns-win.el (ns-initialize-window-system):
21782 Set application-specific `ApplePressAndHoldEnabled' system
21783 resource to NO as it is not yet supported by the NS port.
21785 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21787 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21788 (list-dynamic-libraries): ...not here.
21790 2011-06-21 Leo Liu <sdl.web@gmail.com>
21792 * subr.el (sha1): Implement sha1 using secure-hash.
21794 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21796 * window.el (display-buffer-alist): In default value do not
21797 enforce searching a window on any but the selected frame.
21798 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21799 (display-buffer-select-window): Remove function.
21800 (display-buffer-in-window): When a window on another frame gets
21801 reused, do not select it any more but just raise its frame if
21802 necessary (Bug#8851) and (Bug#8856).
21803 (display-buffer-normalize-options): Handle pop-up-frames related
21804 options more faithfully.
21805 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21806 window if it is on another frame.
21807 (display-buffer-alist, display-buffer-default-specifiers):
21808 Don't make new frame unsplittable by default.
21809 (display-buffer-normalize-argument): Fix doc-string typo and use
21810 'same-frame-other-window instead of 'other-window when associating
21811 with display-buffer-macro-specifiers.
21813 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21815 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21817 (5x5-mode-map, 5x5-mode-menu): Bind them.
21818 (5x5-draw-grid): Tweak the solver's rendering.
21820 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21822 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21823 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21825 2011-06-21 Drew Adams <drew.adams@oracle.com>
21827 * menu-bar.el: Use function variable instead of switch-to-buffer.
21828 (menu-bar-select-buffer-function): New variable.
21829 (menu-bar-update-buffers): Use it (bug#8876).
21831 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21833 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21836 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21838 * x-dnd.el (x-dnd-version-from-flags)
21839 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21840 and long as number (Bug#8899).
21841 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21843 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21845 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21846 (completion-try-completion, completion-all-completions): Compute the
21847 metadata argument if it's missing; make it optional (bug#8795).
21849 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21850 (widget-complete): Use new :completion-function property.
21851 (widget-completions-at-point): New function.
21852 (default): Use :completion-function instead of :complete.
21853 (widget-default-completions): Rename from widget-default-complete;
21855 (widget-string-complete, widget-file-complete, widget-color-complete):
21857 (file, symbol, function, variable, coding-system, color):
21858 * international/mule-cmds.el (default-input-method, charset)
21859 (language-info-custom-alist):
21860 * cus-edit.el (face): Use new property :completions.
21862 * progmodes/pascal.el (pascal-completions-at-point): New function.
21863 (pascal-mode): Use it.
21864 (pascal-mode-map): Use completion-at-point.
21865 (pascal-toggle-completions): Make obsolete.
21866 (pascal-complete-word, pascal-show-completions):
21867 * progmodes/octave-mod.el (octave-complete-symbol):
21868 Redefine as obsolete alias.
21869 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21870 Signal absence of completion info for old Octave,
21871 (inferior-octave-complete): Redefine as obsolete alias.
21872 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21873 (meta-completions-at-point): Rename from meta-complete-symbol and
21874 adapt it for use on completion-at-point-functions.
21875 (meta-common-mode): Use it.
21876 (meta-looking-at-backward, meta-match-buffer): Remove.
21877 (meta-complete-symbol): Redefine as obsolete alias.
21878 (meta-common-mode-map): Use completion-at-point.
21879 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21880 (makefile-mode-map): Use completion-at-point.
21881 (makefile-completions-at-point): Rename from makefile-complete and
21882 adapt it for use on completion-at-point-functions.
21883 (makefile-mode): Use it.
21884 (makefile-complete): Redefine as obsolete alias.
21886 2011-06-20 Deniz Dogan <deniz@dogan.se>
21888 * net/rcirc.el: Delete trailing whitespaces once and for all.
21890 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21892 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21894 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21896 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21898 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21900 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21902 * window.el (display-buffer-other-window-means-other-frame):
21903 Call display-buffer-normalize-alist.
21904 (display-buffer-normalize-specifiers-1): Rename to
21905 display-buffer-normalize-argument. New argument other-frame.
21907 (display-buffer-normalize-specifiers-2): Rename to
21908 display-buffer-normalize-options.
21909 (display-buffer-normalize-alist-1): New function.
21910 (display-buffer-normalize-specifiers-3): Rename to
21911 display-buffer-normalize-alist.
21912 Call display-buffer-normalize-alist-1.
21913 (display-buffer-normalize-options-inhibit): New variable.
21914 (display-buffer-normalize-specifiers): Rewrite calling
21915 display-buffer-normalize-alist,
21916 display-buffer-normalize-argument, and
21917 display-buffer-normalize-options. Don't call the latter if
21918 display-buffer-normalize-options-inhibit is non-nil.
21919 (frame-auto-delete): New option.
21920 (window-deletable-p): Use frame-auto-delete.
21921 (window-list-no-nils, window-state-ignored-parameters)
21922 (window-state-get-1, window-state-get, window-state-put-list)
21923 (window-state-put-1, window-state-put-2, window-state-put):
21925 (display-buffer-normalize-options): Move special-display-p group
21926 after pop-up-frame group (Bug#8851) and (Bug#8856).
21928 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21930 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21932 (rx-submatch-n): New function.
21935 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21938 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21940 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21942 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21943 anytime existing face settings are present (Bug#8889).
21945 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21946 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21947 Remove unused argument.
21949 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21951 * window.el (display-buffer-default-specifiers):
21952 Remove pop-up-frame. Add pop-up-window-min-height,
21953 pop-up-window-min-width, and another reuse-window specifier
21954 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21955 (display-buffer-normalize-specifiers-2):
21956 Handle split-height-threshold and split-width-threshold also when
21957 pop-up-windows is unset. Add a reuse-window specifier for the
21958 case popping up a new window fails.
21959 (special-display-popup-frame): Remove double quoting.
21960 (display-buffer-normalize-specifiers-1): Fix thinko.
21962 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21964 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21965 according to comint-completion-addsuffix.
21967 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21968 (pcomplete-suffix-list): Mark as obsolete.
21969 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21970 pcomplete-seen in the closure.
21971 (pcomplete-comint-setup): Setup completion-at-point as well.
21972 (pcomplete--entries): New function.
21973 (pcomplete--env-regexp): New var.
21974 (pcomplete-entries): Rewrite to work with partial-completion and
21975 without relying on pcomplete-suffix-list.
21976 (pcomplete-pare-list): Remove, unused.
21978 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21980 * window.el (display-buffer-alist): Set pop-up-window-min-height
21981 and pop-up-window-min-width in default value. Reported by
21982 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21983 other-window-means-other-frame.
21984 (display-buffer-macro-specifiers): Comment out entry for
21985 other-window specifier.
21986 (display-buffer-other-window-means-other-frame): New function.
21987 (display-buffer-normalize-specifiers-1): New arguments
21988 buffer-name and label. Treat other-window case specially.
21989 (display-buffer-normalize-specifiers-2): Treat other-window case
21991 (display-buffer-normalize-specifiers-3): New function.
21992 (display-buffer-normalize-specifiers):
21993 Call display-buffer-normalize-specifiers-3.
21995 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21997 * window.el (same-window-p): Fix two typos introduced when
21998 adding with-no-warnings.
21999 (display-buffer-normalize-specifiers-1): Don't check
22000 pop-up-frames for 'unset initialization.
22001 (display-buffer-normalize-specifiers-2): Major rewrite using
22002 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22003 (pop-up-frames, display-buffer-reuse-frames)
22004 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22005 Suggested by David Engster <deng@randomsample.de>.
22006 (even-window-heights): Initialize to 'unset.
22007 (display-buffer-alist-set): Handle new 'unset initializations.
22008 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22011 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22013 * window.el (display-buffer-normalize-specifiers-1):
22014 Respect current value of pop-up-frames for most reasonable values of
22015 second argument of display-buffer (Bug#8865).
22016 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22017 (switch-to-buffer-other-window-same-frame)
22018 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22020 (display-buffer): Don't check noninteractive when calling
22021 display-buffer-pop-up-frame.
22022 (display-buffer-pop-up-frame): Never pop up a frame in
22023 noninteractive mode (Bug#8857).
22024 (enlarge-window, shrink-window): Don't report an error when the
22025 window can't be resized as requested (Bug#8862).
22027 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22029 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22031 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22033 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22035 2011-06-15 Alan Mackenzie <acm@muc.de>
22037 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22038 for declarators, disable knr checking to speed up for normal files.
22039 2: Refactor, replacing a sequence of nested if forms by a cond form.
22041 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22043 * net/network-stream.el (open-network-stream): Add the keyword
22044 :always-query-capabilities for the case where you want to force a
22045 `plain' network connection, but the protocol still requires the
22046 capabilitiy command (i.e., SMTP and EHLO).
22048 * subr.el (process-live-p): Rename from `process-alive-p' for
22049 consistency with other `-live-p' functions.
22051 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22053 * window.el (same-window-buffer-names, same-window-regexps)
22054 (special-display-frame-alist, special-display-popup-frame)
22055 (special-display-function, special-display-buffer-names)
22056 (special-display-regexps, pop-up-frame-alist)
22057 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22058 (pop-up-windows, split-window-preferred-function)
22059 (split-height-threshold, split-width-threshold, even-window-heights)
22060 (display-buffer-mark-dedicated): Don't encourage the use of
22061 display-buffer-alist from Elisp code.
22063 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22065 * progmodes/python.el (python-mode): Derive from prog-mode.
22066 * progmodes/ps-mode.el (ps-mode):
22067 * progmodes/mixal-mode.el (mixal-mode):
22068 * progmodes/cfengine.el (cfengine-mode):
22069 * progmodes/ld-script.el (ld-script-mode): Likewise.
22071 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22073 * window.el (display-buffer-alist): Trim default value to avoid
22074 popping up a new frame (Bug#8857) or reusing an arbitrary window
22076 (display-buffer): Do not fall back on popping up a new frame in
22077 batch mode (Bug#8857).
22079 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22081 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22082 (custom-theme-summary): New function.
22083 (customize-themes): Use it.
22085 2011-06-13 Glenn Morris <rgm@gnu.org>
22087 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22089 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22091 * help.el (help-window): Remove variable.
22092 (help-window-point-marker, temp-buffer-max-height)
22093 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22094 (help-print-return-message): Don't set help-window.
22095 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22096 (help-window-setup-finish): Remove.
22097 (help-window-display-message, help-window-setup)
22098 (with-help-window): Major rewrite based on new
22099 display-buffer-window variable.
22101 * help-mode.el (help-mode-finish): Remove help-window related
22104 * view.el (view-exits-all-viewing-windows): Remove reference to
22105 view-return-to-alist in doc-string.
22106 (view-return-to-alist): Make obsolete.
22107 (view-buffer): Call pop-to-buffer-same-window and remove
22109 (view-buffer-other-window): Call pop-to-buffer-other-window and
22110 simplify code. Ignore second argument.
22111 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22112 simplify code. Ignore second argument.
22113 (view-return-to-alist-update): Make obsolete.
22114 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22115 Rewrite using quit-restore window parameters.
22116 (view-mode-exit): Rename second argument to EXIT-ONLY.
22117 Rewrite using quit-restore-window.
22118 (View-exit, View-exit-and-edit, View-leave, View-quit)
22119 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22120 appropriate arguments.
22121 (view-end-message): Use quit-restore window parameter.
22123 * window.el (display-buffer-function): Rewrite doc-string.
22124 (display-buffer-window, display-buffer-alist): New variables.
22125 (display-buffer-split-specifiers)
22126 (display-buffer-side-specifiers)
22127 (display-buffer-macro-specifiers): New constants.
22128 (display-buffer-even-window-sizes, display-buffer-set-height)
22129 (display-buffer-set-width, display-buffer-select-window)
22130 (display-buffer-in-window, display-buffer-reuse-window)
22131 (display-buffer-split-window-1, display-buffer-split-window)
22132 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22133 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22134 (display-buffer-in-side-window, normalize-buffer-to-display)
22135 (display-buffer-normalize-specifiers-1)
22136 (display-buffer-normalize-specifiers-2)
22137 (display-buffer-normalize-specifiers, display-buffer-frame):
22139 (display-buffer): Major rewrite.
22140 (display-buffer-other-window, display-buffer-other-frame)
22141 (pop-to-buffer, switch-to-buffer-other-window)
22142 (switch-to-buffer-other-frame): Rewrite.
22143 (display-buffer-same-window, display-buffer-same-frame)
22144 (display-buffer-same-frame-other-window)
22145 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22146 (pop-to-buffer-other-window)
22147 (pop-to-buffer-same-frame-other-window)
22148 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22149 (switch-to-buffer-other-window-same-frame): New functions.
22150 (same-window-p, special-display-p): Rewrite disabling warnings.
22152 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22153 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22155 (same-window-buffer-names, same-window-regexps)
22156 (special-display-frame-alist, special-display-popup-frame)
22157 (special-display-function, special-display-buffer-names)
22158 (special-display-regexps, pop-up-frame-alist)
22159 (pop-up-frame-function, split-window-preferred-function)
22160 (split-height-threshold, split-width-threshold)
22161 (even-window-heights): Make obsolete.
22163 2011-06-12 Glenn Morris <rgm@gnu.org>
22165 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22166 Misc simplifications.
22168 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22170 * window.el (window-safely-shrinkable-p): Restore function which
22171 was inadvertently removed in change from 2011-06-11. Declare as
22174 * calendar/calendar.el (calendar-generate-window):
22175 Use window-iso-combined-p instead of combination of one-window-p and
22176 window-safely-shrinkable-p.
22178 2011-06-12 Glenn Morris <rgm@gnu.org>
22180 * progmodes/fortran.el (fortran-mode-syntax-table):
22181 * progmodes/f90.el (f90-mode-syntax-table):
22182 Set % to punctuation. (Bug#8820)
22183 (f90-find-tag-default): Remove, no longer needed.
22185 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22187 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22189 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22191 * image.el (image-animated-p): Return animation delay in seconds.
22192 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22193 (image-animate-timeout): Remove DELAY argument. Don't assume
22194 every subimage has the same delay; get it from image-animated-p.
22195 (image-animate): Caller changed.
22197 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22199 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22200 to ignored backtrace functions.
22202 2011-06-11 Glenn Morris <rgm@gnu.org>
22204 * calendar/appt.el (appt-disp-window-function): Doc fix.
22205 (appt-check): Handle overlapping appointments. (Bug#8337)
22207 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22209 * window.el (window-tree-1, window-tree): New functions, moving
22210 the latter to window.el.
22211 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22212 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22213 (bw-refresh-edges): Remove.
22214 (balance-windows-1, balance-windows-2): New functions.
22215 (balance-windows): Rewrite in terms of window tree functions,
22216 balance-windows-1 and balance-windows-2.
22217 (bw-adjust-window): Remove.
22218 (balance-windows-area-adjust): New function with functionality of
22219 bw-adjust-window but using resize-window.
22220 (set-window-text-height): Rewrite doc-string.
22221 Use normalize-live-window and resize-window.
22222 (enlarge-window-horizontally, shrink-window-horizontally):
22223 Rename argument to DELTA.
22224 (window-buffer-height): New function.
22225 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22226 Rewrite using new window resize routines.
22227 (kill-buffer-and-window, mouse-autoselect-window-select):
22228 Use ignore-errors instead of condition-case.
22229 (quit-window): Call delete-frame instead of delete-windows-on
22230 for the only buffer on frame.
22232 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22234 * loadup.el (top-level): Load window before files for the sake
22235 of replace-buffer-in-windows.
22237 * files.el (read-buffer-to-switch)
22238 (switch-to-buffer-other-window)
22239 (switch-to-buffer-other-frame, display-buffer-other-frame):
22242 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22243 (previous-buffer): Move to window.el.
22245 * bindings.el (unbury-buffer): Move to window.el.
22247 * window.el (delete-other-windows-vertically): Move after
22248 definition of delete-other-windows.
22249 (other-window, delete-windows-on, replace-buffer-in-windows):
22250 Move here from window.c.
22251 (record-window-buffer, unrecord-window-buffer)
22252 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22253 (switch-to-next-buffer): New functions.
22254 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22255 from simple.el. Call switch-to-next-buffer.
22256 (previous-buffer): Move here from simple.el.
22257 Call switch-to-prev-buffer.
22258 (bury-buffer): Move here from buffer.c. Switch to previous
22259 buffer when window cannot be deleted.
22260 (unbury-buffer): Move here from bindings.el.
22261 (ctl-x-map): Move binding for other-window from window.c to
22263 (read-buffer-to-switch, switch-to-buffer-other-window)
22264 (switch-to-buffer-other-frame): Move here from files.el.
22265 (normalize-buffer-to-switch-to): New functions.
22266 (switch-to-buffer): Move here from buffer.c.
22267 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22269 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22271 * window.el (window-min-height, window-min-width): Move here
22272 from window.c. Add defcustoms and rewrite doc-strings.
22273 (resize-mini-window, resize-window): New functions.
22274 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22275 Move here from window.c.
22276 (maximize-window, minimize-window): New functions.
22277 (delete-window, delete-other-windows, split-window): Move here
22279 (window-split-min-size): New function.
22280 (split-window-keep-point): Mention split-window-above-each-other
22281 instead of split-window-vertically.
22282 (split-window-above-each-other, split-window-vertically):
22283 Rename split-window-vertically to split-window-above-each-other
22284 and provide defalias for old definition.
22285 (split-window-side-by-side, split-window-horizontally):
22286 Rename split-window-horizontally to split-window-side-by-side
22287 and provide defalias for the old definition.
22288 (ctl-x-map): Move bindings for delete-window,
22289 delete-other-windows and enlarge-window here from window.c.
22290 Replace bindings for split-window-vertically and
22291 split-window-horizontally by bindings for
22292 split-window-above-each-other and split-window-side-by-side.
22294 * cus-start.el (all): Remove entries for window-min-height and
22295 window-min-width. Add entries for window-splits and
22298 2011-06-09 Glenn Morris <rgm@gnu.org>
22300 * calendar/appt.el (appt-mode-line): New function.
22301 (appt-check, appt-disp-window): Use it.
22303 * files.el (hack-one-local-variable-eval-safep):
22304 Allow minor-modes with explicit +/-1 arguments.
22306 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22308 * term/xterm.el (xterm): Add defgroup.
22309 (xterm-extra-capabilities): Add defcustom to supply known xterm
22310 capabilities, skip querying them, or query them (default).
22311 (terminal-init-xterm): Use it.
22312 (terminal-init-xterm-modify-other-keys): New function to set up
22313 modifyOtherKeys support to simplify `terminal-init-xterm'.
22315 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22317 * window.el (resize-window-reset, resize-window-reset-1)
22318 (resize-subwindows-skip-p, resize-subwindows-normal)
22319 (resize-subwindows, resize-other-windows, resize-this-window)
22320 (resize-root-window, resize-root-window-vertically)
22321 (window-deletable-p, window-or-subwindow-p)
22322 (frame-root-window-p): New functions.
22324 2011-06-09 Glenn Morris <rgm@gnu.org>
22326 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22327 (ange-ftp-get-files): Use it.
22329 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22331 * mail/sendmail.el (mail-recover-1, mail-recover):
22332 * files.el (recover-file, recover-session):
22333 Handle dired-listing-switches not being just a single short option.
22335 2011-06-09 Glenn Morris <rgm@gnu.org>
22337 * calendar/appt.el (appt-display-message, appt-disp-window):
22338 Handle lists of appointments.
22340 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22342 * window.el (one-window-p): Move down in code.
22343 Rewrite doc-string.
22344 (window-current-scroll-bars): Rewrite doc-string.
22345 Normalize live window argument.
22346 (walk-windows, get-window-with-predicate, count-windows):
22347 Rewrite doc-string. Use window-list-1.
22348 (window-in-direction-2, window-in-direction, get-mru-window):
22351 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22353 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22354 Doc fix (Bug#8713).
22356 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22358 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22360 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22362 * loadhist.el (unload-feature-special-hooks):
22363 Add `comint-output-filter-functions'.
22365 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22367 * calendar/appt.el (appt-check): Move some initializations into the let.
22369 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22371 * window.el (window-height): Defalias to window-total-height.
22372 (window-width): Defalias to window-body-width.
22374 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22376 * image-mode.el (image-toggle-animation): New command.
22377 (image-mode-map): Bind it to RET.
22378 (image-mode): Update message.
22379 (image-toggle-display-image): Avoid a spurious cache flush.
22380 (image-transform-rotation): Doc fix.
22381 (image-transform-properties): Return quickly in the normal case.
22382 (image-animate-loop): Rename from image-animate-max-time.
22384 * image.el (image-animate-max-time): Move to image-mode.el.
22385 (create-animated-image): Remove unnecessary function.
22386 (image-animate): Rename from image-animate-start. New arg.
22387 (image-animate-stop): Remove; just use image-animate-timer.
22388 (image-animate-timer): Use car-safe.
22389 (image-animate-timeout): Rename argument.
22391 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22393 * window.el (get-lru-window, get-largest-window): Move here from
22394 window.c. Rename first argument to ALL-FRAMES.
22395 Rephrase doc-strings.
22396 (get-buffer-window-list): Rewrite using window-list-1.
22397 Rephrase doc-string.
22398 (window-safe-min-height, window-safe-min-width): New constants.
22399 (window-size-ignore, window-min-size, window-min-size-1)
22400 (window-sizable, window-sizable-p, window-size-fixed-1)
22401 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22402 (window-max-delta-1, window-max-delta, window-resizable)
22403 (window-resizable-p, window-total-height, window-total-width)
22404 (window-body-width): New functions.
22405 (window-full-height-p, window-full-width-p): Rewrite using
22407 (window-body-height): Rewrite using window-body-size.
22409 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22411 * window.el (window-right, window-left, window-child)
22412 (window-child-count, window-last-child, window-any-p)
22413 (normalize-live-buffer, normalize-live-frame)
22414 (normalize-any-window, normalize-live-window)
22415 (window-iso-combination-p, window-iso-combined-p)
22416 (window-iso-combinations)
22417 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22418 (windows-with-parameter, window-with-parameter)
22419 (window-atom-root, make-window-atom, window-atom-check-1)
22420 (window-atom-check, window-side-check, window-check):
22422 (ignore-window-parameters, window-sides, window-sides-vertical)
22423 (window-sides-slots): New variables.
22424 (window-size-fixed): Move down in code. Minor doc-string fix.
22426 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22428 * comint.el (comint-dynamic-complete-as-filename)
22429 (comint-dynamic-complete-filename): Correctly call
22430 completion-in-region.
22432 2011-06-05 Deniz Dogan <deniz@dogan.se>
22434 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22437 2011-06-05 Deniz Dogan <deniz@dogan.se>
22439 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22440 (rcirc): Use it to prompt for encryption.
22442 2011-06-05 Roland Winkler <winkler@gnu.org>
22444 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22445 (bibtex-search-entries): New command bound to C-c C-a.
22446 (bibtex-display-entries): New function.
22448 2011-06-05 Roland Winkler <winkler@gnu.org>
22450 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22451 (bibtex-insert-kill): After yanking insert newline if necessary.
22452 (bibtex-initialize): Call bibtex-string-files-init only once.
22453 (bibtex-mode): Do not call easy-menu-add.
22454 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22455 (bibtex-yank): Set arg properly if nil.
22457 2011-06-05 Roland Winkler <winkler@gnu.org>
22459 * textmodes/bibtex.el (bibtex-search-entry-globally):
22461 (bibtex-search-entry): Use it.
22463 2011-06-05 Roland Winkler <winkler@gnu.org>
22465 * textmodes/bibtex.el (bibtex-entry-format): New option
22467 (bibtex-format-entry, bibtex-reformat): Honor this option.
22468 (bibtex-parse-entry): Return fields in proper order.
22470 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22472 * doc-view.el (doc-view-remove-if): Move computation of result out
22473 of `dolist' to silence misleading lexical-binding warning.
22475 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22477 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22478 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22480 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22482 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22485 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22487 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22488 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22489 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22490 (tramp-parse-putty):
22491 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22492 (tramp-completion-function-alist-ssh)
22493 (tramp-completion-function-alist-telnet)
22494 (tramp-completion-function-alist-su)
22495 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22498 * net/tramp-ftp.el:
22500 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22501 load "tramp.el" `tramp-set-completion-function'.
22503 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22505 * shell.el: Require and use pcomplete.
22506 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22507 (shell-completion-vars): Set pcomplete-default-completion-function.
22509 2011-06-04 Deniz Dogan <deniz@dogan.se>
22511 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22514 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22516 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22518 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22520 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22521 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22522 * vc/log-view.el (log-view-beginning-of-defun):
22523 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22524 (smerge-refine-forward, smerge-refine-chopup-region):
22525 Silence warning for unused `dotimes' counter variables.
22527 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22529 * net/tramp.el (tramp-with-progress-reporter): Rename from
22530 with-progress-reporter. Use `declare'.
22531 * net/tramp-smb.el:
22533 * net/tramp-gvfs.el: Update all uses.
22535 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22537 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22538 buffer isn't killed before making it current.
22540 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22542 Silence various byte-compiler warnings.
22543 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22544 `access-type' and new obsolescence format.
22545 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22547 (byte-compile-check-variable): New `access-type' argument.
22548 Only warn if the access-type is obsolete.
22549 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22550 (byte-compile-variable-set): Adjust callers.
22551 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22552 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22553 setting it as obsolete.
22554 * simple.el (minibuffer-completing-symbol):
22555 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22556 access as obsolete.
22557 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22559 * international/quail.el (quail-mouse-choose-completion): Remove unused
22560 code referring to obsolete var.
22561 (quail-choose-completion-string): Remove.
22562 * server.el (server-clients-with, server-kill-buffer-query-function)
22563 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22564 * proced.el (proced-send-signal):
22565 * emacs-lisp/lisp.el (lisp-complete-symbol):
22566 Replace completion-annotate-function with completion-extra-properties.
22568 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22570 * simple.el (goto-line): Use read-number.
22571 (overriding-map-is-bound): Remove.
22572 (saved-overriding-map): Change default.
22573 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22574 Take the map as argument.
22575 (universal-argument, negative-argument, digit-argument): Use it.
22576 (restore-overriding-map): Adjust.
22577 (do-auto-fill): Use fill-forward-paragraph.
22578 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22580 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22581 (minibuffer-inactive-mode): New major mode.
22582 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22583 the *Messages* buffer" hack.
22584 (mouse-popup-menubar): Don't burp if the event is a normal key.
22586 Miscellaneous tweaks.
22587 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22588 lexical scoping as in subr.el's dolist and dotimes.
22589 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22590 Silence compiler warning.
22591 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22592 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22593 * international/ccl.el (ccl-compile): Trivial simplification.
22594 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22595 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22596 `printflag' argument.
22597 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22598 Purecopy the whole obsolescence data.
22600 2011-06-01 Leo Liu <sdl.web@gmail.com>
22602 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22603 improve doc-string as suggested by Marco Pessotto
22604 <melmothx@gmail.com>.
22605 (rcirc-print): Fix last change.
22607 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22609 * minibuffer.el (complete-with-action): Return nil for the metadata and
22610 boundaries of non-functional tables.
22611 (completion-table-dynamic): Return nil for the metadata.
22612 (completion-table-with-terminator): Add default case, using
22613 complete-with-action.
22614 (completion--metadata): New function.
22615 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22616 to try and avoid pathological performance problems.
22617 (completion--embedded-envvar-table): Return `category' metadata.
22619 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22621 * subr.el (process-alive-p): New tiny convenience function.
22623 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22625 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22626 content but also its previous major mode.
22628 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22630 * emacs-lisp/debug.el (debug): Restore the previous content of the
22631 *Backtrace* buffer when we exit with C-M-c.
22633 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22635 * minibuffer.el: Add metadata method to completion tables.
22636 (completion-category-overrides): New defcustom.
22637 (completion-metadata, completion--field-metadata)
22638 (completion-metadata-get, completion--styles)
22639 (completion--cycle-threshold): New functions.
22640 (completion-try-completion, completion-all-completions):
22641 Add `metadata' argument to choose completion-styles.
22642 (completion--do-completion): Use metadata to choose cycling.
22643 (completion-all-sorted-completions): Use metadata for sorting.
22644 Remove :completion-cycle-penalty which is not needed any more.
22645 (completion--try-word-completion): Add `metadata' argument.
22646 (minibuffer-completion-help): Check metadata for annotation function
22648 (completion-file-name-table): Return `category' metadata.
22649 (minibuffer-completing-file-name): Make obsolete.
22650 * simple.el (minibuffer-completing-symbol): Make obsolete.
22651 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22652 completion-try-completion.
22654 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22656 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22658 2011-05-30 Leo Liu <sdl.web@gmail.com>
22660 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22661 (rcirc-print): Decode all incoming messages (bug#8744).
22662 (rcirc-decode-coding-system): Allow value nil for automatic coding
22665 2011-06-01 Glenn Morris <rgm@gnu.org>
22667 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22669 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22671 * image.el (image-animate-max-time): Allow nil and t values.
22673 (create-animated-image): Doc fix.
22674 (image-animate-start): Remove second arg; just use
22675 image-animate-max-time.
22676 (image-animate-timeout): Doc fix. Args changed.
22678 * image-mode.el (image-toggle-display-image): Ensure that the
22679 image spec passed to the animate timer is the same object as in
22680 the buffer's display property (Bug#6981).
22681 (image-transform-properties): Doc fix.
22683 * image.el (image-animate-max-time): Default to nil.
22685 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22687 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22688 entire buffer list (Bug#8184).
22690 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22692 * image.el (imagemagick-types-inhibit)
22693 (imagemagick-register-types): Doc fix.
22695 2011-05-29 Deniz Dogan <deniz@dogan.se>
22697 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22700 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22702 * select.el: Don't perform clipboard-manager saving in hooks;
22703 leave the hooks empty.
22705 2011-05-28 Leo Liu <sdl.web@gmail.com>
22707 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22708 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22709 (occur-edit-mode): New major mode (Bug#8463).
22710 (occur-after-change-function): New function.
22711 (occur-engine): Give Occur tags a read-only property.
22713 2011-05-28 Kevin Ryde <user42@zip.com.au>
22715 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22717 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22719 * bindings.el (help-echo): Make the initial non-indicator dash
22720 empty on graphical terminals (Bug#7295).
22722 * files.el (auto-mode-alist): Move config rule after the
22723 in-stripping one (Bug#8547).
22725 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22727 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22728 setting (Bug#8740).
22730 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22732 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22733 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22736 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22738 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22740 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22742 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22743 (hs-hide-block-at-point, hs-find-block-beginning)
22744 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22747 2011-05-28 Glenn Morris <rgm@gnu.org>
22749 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22751 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22753 * help-fns.el (describe-function-1): If the function is a derived
22754 major mode, print the parent mode.
22756 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22757 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22759 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22761 * minibuffer.el (completion--capf-wrapper): Check applicability before
22762 returning non-nil for non-exclusive completion data.
22763 * progmodes/etags.el (tags-completion-at-point-function):
22764 * info-look.el (info-lookup-completions-at-point): Mark as
22766 (info-complete): Adjust accordingly.
22768 * info-look.el: Convert to lexical-binding and completion-at-point.
22769 (info-lookup-completions-at-point): New function.
22770 (info-complete): Use it and completion-in-region.
22772 2011-05-28 Drew Adams <drew.adams@oracle.com>
22774 * isearch.el: Let M-e start with point at the first mismatched char.
22775 (isearch-fail-pos): New function.
22776 (isearch-edit-string): Use it.
22778 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22780 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22782 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22784 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22785 traversal functions for avl-trees.
22786 (avl-tree--stack): New struct.
22787 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22788 (avl-tree-enter): Add optional `updatefun' arg.
22789 (avl-tree--do-enter): Add optional `updatefun' arg.
22790 Change return value.
22791 (avl-tree-delete): Add optional `test' and `nilflag' args.
22792 (avl-tree--do-delete): Add `test' and `nilflag' args.
22793 Change return value.
22794 (avl-tree-member): Add optional `nilflag'
22795 (avl-tree-member-p): New function.
22796 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22797 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22798 (avl-tree-stack-empty-p): New functions.
22800 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22801 avl-tree--del-balance1 and make it work both ways.
22802 (avl-tree--del-balance2): Remove.
22803 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22804 make it work both ways.
22805 (avl-tree--enter-balance2): Remove.
22806 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22808 (avl-tree--mapc, avl-tree-map): Add direction argument.
22810 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22812 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22814 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22816 * select.el: Support clipboard managers with built-in function
22817 x-clipboard-manager-save, via delete-frame-functions and
22819 (xselect-convert-to-targets): Add MULTIPLE target to list.
22820 (xselect-convert-to-save-targets): New function.
22822 2011-05-27 Kenichi Handa <handa@m17n.org>
22824 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22825 let-binding rfc2047-encode-encoded-words to nil.
22827 2011-05-27 Glenn Morris <rgm@gnu.org>
22829 * mail/emacsbug.el: Don't require url-util.
22831 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22833 * files.el (set-auto-mode):
22834 Also respect mode: entries at the end of the file. (Bug#8586)
22836 2011-05-26 Glenn Morris <rgm@gnu.org>
22838 * files.el (hack-local-variables-prop-line, hack-local-variables):
22839 Downcase mode names, as seems to be traditional.
22840 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22842 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22843 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22845 2011-05-25 Julien Danjou <julien@danjou.info>
22847 * textmodes/rst.el (rst-define-level-faces): Do not define face
22848 symbol if it is already defined.
22850 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22852 * play/5x5.el (5x5-new-game, 5x5-randomize):
22853 Reset 5x5-solver-output to nil when a new grid is cast.
22854 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22855 these debugging traces, as defmacro breaks the compiled code.
22857 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22859 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22861 2011-05-24 Leo Liu <sdl.web@gmail.com>
22863 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22864 (vc-bzr-sha1): Adapt.
22866 * sha1.el: Remove. Function `sha1' is now builtin.
22868 * bindings.el: Provide sha1 feature.
22870 2011-05-24 Kenichi Handa <handa@m17n.org>
22872 * mail/sendmail.el: Require `rfc2047'.
22873 (mail-insert-from-field): Do not perform RFC2047 encoding.
22874 (mail-encode-header): New function.
22875 (sendmail-send-it): Set buffer-file-coding-system of the work
22876 buffer to the return value of select-message-coding-system.
22877 Call mail-encode-header.
22879 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22881 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22883 * mail/supercite.el (sc-default-cite-frame):
22884 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22886 2011-05-24 Glenn Morris <rgm@gnu.org>
22888 * progmodes/python.el (brm-menu): Declare.
22890 * emulation/viper.el (viper-set-hooks): Declare.
22892 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22893 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22894 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22895 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22896 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22897 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22899 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22901 Add an :exit-function for completion-at-point.
22903 * minibuffer.el (completion--done): New fun.
22904 (completion--do-completion): Use it. New arg `expect-exact'.
22905 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22906 since completion--do-completion does it for us now.
22907 (minibuffer-force-complete): Use completion--done and
22908 completion--replace. Handle sole-completion case with more care.
22909 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22910 (completion-extra-properties): New var.
22911 (completion-annotate-function): Make obsolete.
22912 (minibuffer-completion-help): Adjust accordingly.
22913 Use completion-list-insert-choice-function.
22914 (completion-at-point, completion-help-at-point):
22915 Bind completion-extra-properties.
22916 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22917 * simple.el (completion-list-insert-choice-function): New var.
22918 (completion-setup-function): Preserve it.
22919 (choose-completion): Pay attention to it, shuffle the code a bit.
22920 (choose-completion-string): New arg `insert-function'.
22922 * textmodes/bibtex.el: Convert to lexical binding.
22923 (bibtex-mode-map): Use completion-at-point.
22924 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22925 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22926 (bibtex-complete): Define as obsolete alias.
22927 (bibtex-complete-internal): Remove.
22928 (bibtex-format-entry): Remove unused sub-group in regexp.
22929 * shell.el (shell--command-completion-data)
22930 (shell-environment-variable-completion):
22931 * pcomplete.el (pcomplete-completions-at-point):
22932 * comint.el (comint--complete-file-name-data): Use :exit-function
22933 instead of completion-table-with-terminator so it also works for
22936 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22938 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22940 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22943 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22945 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22947 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22948 customization variable and implement: If non-nil, auto-fill will
22949 be inhibited while on topic's header line.
22951 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22953 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22954 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22955 always have a solution in grid size = 5 cases.
22956 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22957 (5x5-solver-output, 5x5-log-buffer): New vars.
22958 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22959 Make these variables buffer local to achieve 5x5 multi-session-ness.
22960 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22961 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22962 (5x5-solve-suggest): New funs.
22963 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22964 randomize a grid so that we ensure that there is always a solution.
22965 (5x5-make-random-grid): Allow other movement than flipping.
22967 2011-05-23 Kevin Ryde <user42@zip.com.au>
22969 * emacs-lisp/advice.el (ad-read-advised-function):
22970 Use `function-called-at-point' as the default, if it has
22971 advice and passes PREDICATE.
22973 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22975 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22976 byte-compile-lambda if it's actually a lambda.
22978 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22979 Fix function quoting. Use backquote better.
22981 2011-05-22 Yuanle Song <sylecn@gmail.com>
22983 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22984 matching (Bug#8516).
22986 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22988 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22989 different face (Bug#8178).
22991 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22993 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22994 defface (Bug#8144).
22996 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22998 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22999 funcall as well (bug#8712). Warn when performing those conversions.
23000 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23002 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23004 2011-05-22 Glenn Morris <rgm@gnu.org>
23006 * files.el (hack-local-variables-prop-line): Small simplifications.
23007 (hack-local-variables, hack-local-variables-prop-line):
23008 If MODE-ONLY, return the mode, rather than just `t'.
23010 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23012 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23014 2011-05-21 Glenn Morris <rgm@gnu.org>
23016 * files.el (hack-local-variables-prop-line, hack-local-variables):
23017 If only interested in the mode, don't bother doing the other stuff.
23019 * image-mode.el (image-after-revert-hook):
23020 Redraw all frames on which the image is visible. (Bug#8567)
23022 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23024 * wid-edit.el (widget-checklist-match-inline):
23025 Fix 2011-04-19 change. (Bug#8649)
23027 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23029 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23030 Also allow singlespace after single-letter capitals followed by a dot.
23032 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23033 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23035 2011-05-20 Nix <nix@esperi.org.uk>
23037 * files.el (basic-save-buffer-2):
23038 Fix handling of break-hardlink-on-save with non-existent files.
23040 2011-05-19 Deniz Dogan <deniz@dogan.se>
23042 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23043 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23045 2011-05-19 Glenn Morris <rgm@gnu.org>
23047 * progmodes/f90.el (f90-type-def-re):
23048 Handle "type, bind(c)". (Bug#8691)
23050 * emacs-lisp/autoload.el (batch-update-autoloads):
23051 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23053 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23055 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23056 property for the correct connection in case of multihops.
23058 2011-05-18 Glenn Morris <rgm@gnu.org>
23060 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23061 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23063 Rationalize calendar handling of day and month abbrev-arrays.
23064 * calendar/calendar.el (calendar-customized-p): New function.
23065 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23066 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23068 (calendar-abbrev-length, calendar-day-abbrev-array)
23069 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23070 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23071 Elements may no longer be nil.
23072 (calendar-day-name, calendar-month-name):
23073 Update for changed nature of abbrev arrays.
23074 * calendar/diary-lib.el (diary-name-pattern):
23075 Update for changed nature of abbrev arrays.
23076 (diary-mark-entries-1): Update calendar-make-alist calls.
23077 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23078 * calendar/cal-html.el (cal-html-day-abbrev-array):
23079 Simply inherit from calendar-day-abbrev-array.
23081 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23083 * progmodes/grep.el (grep-mode): Disable default
23084 compilation-directory-matcher setting (bug#8684).
23086 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23088 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23089 instead of "head" and "tail". There were problems with SunOS 5.9,
23090 and it performs better.
23092 2011-05-17 Glenn Morris <rgm@gnu.org>
23094 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23096 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23097 Replace obsolete function.
23099 * shell.el (pcomplete-parse-arguments-function): Declare.
23101 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23102 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23103 (appt-check): Doc fixes.
23104 (appt-disp-window-function, appt-delete-window-function):
23105 Remove needless special case in custom :type.
23106 (appt-display-count): Default to 0, not nil.
23107 (appt-check): Reset appt-display-count to 0, not nil.
23109 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23111 * progmodes/python.el (python-font-lock-keywords):
23112 Add the Python 3.X keyword "nonlocal" (bug#8639).
23114 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23116 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23118 2011-05-16 Kevin Ryde <user42@zip.com.au>
23120 * info-look.el (makefile-automake-mode): New setups, looking in
23121 automake manual, then makefile-mode.
23122 (makefile-mode): Remove automake manual, have it just in
23123 makefile-automake-mode since there's various things different or
23124 not relevant to plain make.
23125 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23126 believe a hypothetical automake-mode would go to makefile-mode,
23127 not the other way around.
23129 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23131 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23132 hunk-end tags (Bug#8672).
23134 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23135 vc-annotate-show-diff-revision-at-line (Bug#8671).
23137 2011-05-14 Glenn Morris <rgm@gnu.org>
23139 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23140 in the middle of an existing one with multiple authors. (Bug#8645)
23141 (change-log-font-lock-keywords): Also handle multiple author lines
23142 with leading tabs. (Bug#8644)
23144 * calendar/appt.el (appt-check): Rename some local variables.
23145 Some simplification/reordering.
23147 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23148 (feedmail-sendmail-f-doesnt-sell-me-out)
23149 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23150 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23151 (feedmail-queue-runner-message-sender): Set :version.
23152 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23153 (bbdb-dwim-net-address, vm-mail): Declare.
23154 (feedmail-binmail-gnulinuxish-template):
23155 Rename from feedmail-binmail-linuxish-template.
23156 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23157 Use insert-buffer-substring.
23159 2011-05-14 Bill Carpenter <bill@carpenter.org>
23161 * mail/feedmail.el (feedmail-patch-level): Increase.
23162 (feedmail-debug): New custom group.
23163 (feedmail-confirm-outgoing-timeout)
23164 (feedmail-sendmail-f-doesnt-sell-me-out)
23165 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23166 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23167 (feedmail-sender-line, feedmail-from-line)
23168 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23169 (feedmail-spray-this-address)
23170 (feedmail-spray-address-fiddle-plex-list)
23171 (feedmail-queue-use-send-time-for-date)
23172 (feedmail-queue-use-send-time-for-message-id)
23173 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23174 (feedmail-buffer-eating-function):
23176 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23177 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23178 (feedmail-message-action-scroll-down): New functions.
23179 (feedmail-queue-directory, feedmail-queue-draft-directory):
23180 Use expand-file-name.
23181 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23182 Remove C-v help entry.
23183 (feedmail-queue-buffer-file-name): New variable.
23184 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23185 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23186 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23187 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23188 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23189 (feedmail-message-action-toggle-spray)
23190 (feedmail-run-the-queue-no-prompts)
23191 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23192 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23193 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23194 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23195 (feedmail-envelope-deducer, feedmail-fiddle-from)
23196 (feedmail-fiddle-sender, feedmail-default-date-generator)
23197 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23198 (feedmail-fiddle-spray-address)
23199 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23200 (feedmail-fiddle-list-of-fiddle-plexes)
23201 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23202 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23203 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23204 Change default. Doc fix.
23205 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23206 (feedmail-binmail-linuxish-template): New constant.
23207 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23208 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23209 (feedmail-send-it): Add debug call.
23210 Use feedmail-queue-buffer-file-name, and
23211 feedmail-send-it-immediately-wrapper.
23212 (feedmail-message-action-send): Add debug call.
23213 Use feedmail-send-it-immediately-wrapper.
23214 (feedmail-queue-express-to-queue): Add debug call.
23215 Run feedmail-queue-express-hook.
23216 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23217 (feedmail-message-action-help-blat):
23218 Rename from feedmail-queue-send-edit-prompt-help-first.
23219 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23220 Check line-endings. Handle errors better.
23221 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23222 Doc fix. Add debug call.
23223 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23224 Use feedmail-queue-send-edit-prompt-inner.
23225 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23226 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23227 from feedmail-queue-send-edit-prompt.
23228 (feedmail-queue-send-edit-prompt-help)
23229 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23230 (feedmail-tidy-up-slug): Add debug call.
23231 Respect feedmail-queue-slug-suspect-regexp.
23232 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23233 (feedmail-dump-message-to-queue): Add debug call.
23234 Expand queue-directory.
23235 (feedmail-dump-message-to-queue): Change message slightly.
23236 Use feedmail-say-chatter.
23237 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23238 (feedmail-send-it-immediately-wrapper): New function.
23239 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23240 Insert empty string rather than newline. Handle full-frame case.
23241 Use catch/throw. Use feedmail-say-chatter.
23242 (feedmail-fiddle-from): Try mail-host-address.
23243 (feedmail-default-message-id-generator): Doc fix.
23244 Bind system-time-locale. Handle missing end.
23245 (feedmail-fiddle-x-mailer): Add debug call.
23246 Handle feedmail-x-mailer-line being nil.
23247 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23248 Add debug call. Use buffer-substring-no-properties.
23249 (feedmail-say-debug, feedmail-say-chatter): New functions.
23250 (feedmail-find-eoh): Give an explicit error.
23252 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23254 * net/newst-treeview.el (newsticker-treeview-face): Change default
23255 family from helvetica to sans.
23256 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23257 etc/images/newsticker.
23259 * net/newst-reader.el (newsticker-feed-face): Change default
23260 family from helvetica to sans.
23262 * net/newst-plainview.el (newsticker-new-item-face)
23263 (newsticker-old-item-face, newsticker-immortal-item-face)
23264 (newsticker-obsolete-item-face, newsticker-date-face)
23265 (newsticker-statistics-face): Change default family from
23267 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23268 etc/images/newsticker.
23270 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23271 (newsticker--process-auto-mark-filter-match): Tell user about
23274 2011-05-13 Didier Verna <didier@xemacs.org>
23276 Common Lisp indentation improvements on defmethod and lambda-lists.
23277 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23279 (lisp-lambda-list-keyword-parameter-indentation)
23280 (lisp-lambda-list-keyword-parameter-alignment)
23281 (lisp-lambda-list-keyword-alignment): New customizable user options.
23282 (lisp-indent-defun-method): Improve docstring.
23283 (extended-loop-p): Fix comment.
23284 (lisp-indent-lambda-list-keywords-regexp): New variable.
23285 (lisp-indent-lambda-list): New function.
23286 (lisp-indent-259): Use it.
23287 (lisp-indent-defmethod): Support for more than one
23288 method qualifier and properly indent methods lambda-lists.
23289 (defgeneric): Provide a missing common-lisp-indent-function property.
23291 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23293 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23294 bounds for the empty string (bug#8667).
23296 2011-05-13 Glenn Morris <rgm@gnu.org>
23298 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23300 * mail/sendmail.el (sendmail-program): Try executable-find first.
23301 (sendmail-send-it): `sendmail-program' cannot be unbound.
23303 * calendar/appt.el (appt-make-list): Simplify.
23304 (appt-time-msg-list): Doc fix.
23305 (appt-check): Change mode-line message at the time of the appointment.
23307 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23309 * progmodes/ld-script.el (ld-script-keywords)
23310 (ld-script-builtins): Update keywords list.
23312 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23314 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23316 * shell.el (shell-completion-vars): New function.
23318 * simple.el (read-shell-command): Use it.
23319 (blink-matching-open): No need for " [...]" in minibuffer-message.
23321 2011-05-12 Glenn Morris <rgm@gnu.org>
23323 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23324 (appt-check): Simplify.
23326 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23328 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23329 literal "/dev/null".
23331 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23333 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23336 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23338 * progmodes/which-func.el (which-function):
23339 Use add-log-current-defun instead of add-log-current-defun-function,
23340 which might not be defined (Bug#8260).
23342 2011-05-12 Glenn Morris <rgm@gnu.org>
23344 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23345 Let byte-compile-initial-macro-environment always take precedence.
23347 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23349 * net/rcirc.el: Add support for SSL/TLS connections.
23350 (rcirc-server-alist): New field `encryption'.
23351 (rcirc): Check `encryption' settings.
23352 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23353 Merge make-local-variable into `set'.
23354 (rcirc--connection-open-p): New function.
23355 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23356 the process is not a network process (e.g. running gnutls-cli).
23357 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23358 Make rcirc-(en|de)code-coding-system local here.
23359 (rcirc-mode): Merge make-local-variable into `set'.
23360 (rcirc-parent-buffer): Make permanent buffer-local.
23361 (rcirc-multiline-minor-mode): Don't do it here.
23362 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23363 there's no server buffer.
23365 2011-05-11 Glenn Morris <rgm@gnu.org>
23367 * newcomment.el (comment-kill): Prefix "unused" local.
23369 * term/w32console.el (get-screen-color): Declare.
23371 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23372 Handle symbol elements of byte-compile-initial-macro-environment.
23374 2011-05-10 Leo Liu <sdl.web@gmail.com>
23376 * bookmark.el (bookmark-bmenu-mode-map):
23377 Bind bookmark-bmenu-search to `/'.
23379 * mail/footnote.el: Convert to utf-8 encoding.
23380 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23381 (Footnote-unicode): New function.
23382 (footnote-style-alist): Add unicode style to the list.
23383 (footnote-style): Doc fix.
23385 2011-05-10 Jim Meyering <meyering@redhat.com>
23387 Fix doubled-word typos.
23388 * international/quail.el (quail-insert-kbd-layout): and and -> and
23389 * kermit.el: and and -> and
23390 * net/ldap.el (ldap-search-internal): to to -> to
23391 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23392 * progmodes/js.el (js-mode): and and -> and
23393 * textmodes/artist.el (artist-move-to-xy): at at -> at
23394 (artist-draw-region-trim-line-endings): if if -> if
23395 And Safetyc -> Safety.
23396 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23398 2011-05-10 Glenn Morris <rgm@gnu.org>
23399 Stefan Monnier <monnier@iro.umontreal.ca>
23401 * files.el (hack-one-local-variable-eval-safep):
23402 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23404 2011-05-10 Glenn Morris <rgm@gnu.org>
23406 * calendar/diary-lib.el (diary-list-entries-hook)
23407 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23408 (diary-nongregorian-marking-hook, diary-list-entries)
23409 (diary-include-other-diary-files, diary-mark-entries)
23410 (diary-mark-included-diary-files): Doc fixes.
23412 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23414 * misc.el: Require tabulated-list.el during compilation.
23416 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23418 * progmodes/compile.el (compilation-start):
23419 Run compilation-filter-hook for the async case too.
23420 (compilation-filter-hook): Doc fix.
23422 2011-05-09 Deniz Dogan <deniz@dogan.se>
23424 * wdired.el: Remove outdated installation comment. Fix usage
23427 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23429 * misc.el: Implement new command `list-dynamic-libraries'.
23430 (list-dynamic-libraries--loaded-only-p): New variable.
23431 (list-dynamic-libraries--refresh): New function.
23432 (list-dynamic-libraries): New command.
23434 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23437 Fix the ant regexp to handle end-line and end-column info from jikes.
23438 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23439 higher priority to avoid clobbering by gnu.
23441 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23443 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23444 if the face has existing theme settings (Bug#8454).
23446 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23448 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23449 Only match variables declared via `my' or `our' (Bug#8261).
23451 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23452 special file names `.' and `..' (Bug#8259).
23454 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23456 * progmodes/grep.el (grep-mode-font-lock-keywords):
23457 Remove buffer-changing entries.
23458 (grep-filter): New function.
23459 (grep-mode): Add it to compilation-filter-hook.
23461 * progmodes/compile.el (compilation-filter-hook)
23462 (compilation-filter-start): New defvars.
23463 (compilation-filter): Call compilation-filter-hook prior to
23464 updating the process mark.
23466 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23468 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23470 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23472 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23473 mailclient-send-it even if window-system is nil. (Bug#8595)
23475 * term/w32console.el (terminal-init-w32console):
23476 Call get-screen-color and use its output to set the frame
23477 background-mode. (Bug#8597)
23479 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23481 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23482 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23484 (defgeneric, eieio--defmethod): Use them.
23485 (eieio-defgeneric): Remove.
23486 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23488 2011-05-07 Glenn Morris <rgm@gnu.org>
23490 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23491 Use let rather than let*.
23492 (timeclock-find-discrep): Remove unused local.
23494 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23496 * calendar/appt.el (appt-time-msg-list): Doc fix.
23498 2011-05-06 Noah Friedman <friedman@splode.com>
23500 * apropos.el (apropos-print-doc): Only use
23501 emacs-lisp-docstring-fill-column when it is bound to an integer,
23502 per that variable's documentation.
23504 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23506 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23507 and warnings are not silently discarded (e.g. use -d instead of -P).
23509 2011-05-06 Glenn Morris <rgm@gnu.org>
23511 * calendar/appt.el (appt-message-warning-time): Doc fix.
23512 (appt-warning-time-regexp): New option.
23513 (appt-make-list): Respect appt-message-warning-time.
23515 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23517 (diary-add-to-list): Strip comments from the displayed string.
23518 (diary-mode): Set comment-start and comment-end.
23520 * vc/diff-mode.el (smerge-refine-subst): Declare.
23521 (diff-refine-hunk): Don't require smerge-mode when compiling.
23523 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23525 * simple.el (list-processes): Return nil as the docstring says.
23527 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23529 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23531 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23532 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23533 determining of binary transfer. (Bug#7383)
23535 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23537 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23538 Fix port computation bug. (Bug#8618)
23540 2011-05-05 Glenn Morris <rgm@gnu.org>
23542 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23544 * simple.el (shell-dynamic-complete-functions)
23545 (comint-dynamic-complete-functions): Declare.
23547 * net/network-stream.el (gnutls-negotiate):
23548 * simple.el (tabulated-list-print): Fix declarations.
23550 * progmodes/gud.el (syntax-symbol, syntax-point):
23551 Remove unnecessary and incorrect declarations.
23553 * emacs-lisp/check-declare.el (check-declare-scan):
23554 Handle byte-compile-initial-macro-environment in bytecomp.el.
23556 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23558 Fix earlier half-done eieio-defmethod change (bug#8338).
23559 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23560 Streamline and change calling convention.
23561 (defmethod): Adjust accordingly and simplify.
23562 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23563 new eieio--defmethod.
23564 (slot-boundp): Minor CSE simplification.
23566 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23568 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23569 (glasses-make-readable): Use glasses-separate-capital-groups.
23571 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23573 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23574 (warning-series): Doc fix.
23575 (display-warning): Don't try to create the buffer if we just found it.
23577 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23579 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23580 (autoload-find-generated-file): New function.
23581 (generate-file-autoloads): Bind generated-autoload-file to
23583 (update-file-autoloads, update-directory-autoloads):
23584 Use autoload-find-generated-file. If called interactively, prompt for
23585 output file (Bug#7989).
23586 (batch-update-autoloads): Doc fix.
23588 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23590 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23592 2011-05-04 Glenn Morris <rgm@gnu.org>
23594 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23595 function, so it follows changes in calendar-date-style.
23596 (diary-fancy-date-matcher): New function.
23597 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23598 (diary-fancy-font-lock-fontify-region-function):
23599 Use diary-fancy-date-pattern as a function.
23601 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23602 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23604 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23606 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23607 instead of positional arguments. Allow :keylist and :crlfiles
23609 (open-gnutls-stream): Call it.
23611 * net/network-stream.el (network-stream-open-starttls): Adjust to
23612 call `gnutls-negotiate' with :process and :hostname arguments.
23614 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23616 * minibuffer.el (completion--message): New function.
23617 (completion--do-completion, minibuffer-complete)
23618 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23619 (completion--do-completion): Don't ignore completion-auto-help when in
23622 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23623 internal encoding (e.g. tibetan zero is not whitespace).
23624 (global-whitespace-mode): Prefer save-current-buffer.
23625 (whitespace-trailing-regexp): Remove useless save-match-data.
23626 (whitespace-empty-at-bob-regexp): Minor simplification.
23628 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23630 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23632 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23634 * textmodes/ispell.el (ispell-add-per-file-word-list):
23635 Use `concat' to create string for insertion.
23637 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23639 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23640 Avoid open-line which runs post-self-insert-hook.
23641 (bibtex-fill-entry): Remove unused `end' var.
23643 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23645 * textmodes/ispell.el (ispell-add-per-file-word-list):
23646 Protect against `nil' value of `comment-start' (Bug#8579).
23648 2011-05-03 Leo Liu <sdl.web@gmail.com>
23650 * isearch.el (isearch-yank-pop): New command.
23651 (isearch-mode-map): Bind it to `M-y'.
23652 (isearch-forward): Mention it.
23654 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23656 * simple.el (minibuffer-complete-shell-command): Remove.
23657 (minibuffer-local-shell-command-map): Use completion-at-point.
23658 (read-shell-command): Setup completion vars here instead.
23659 (read-expression-map): Bind TAB to symbol completion.
23661 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23662 error directly rather via storing it into `results'.
23664 2011-05-02 Leo Liu <sdl.web@gmail.com>
23666 * vc/diff.el: Fix description.
23668 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23670 * server.el (server-eval-at): New function.
23672 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23674 * net/network-stream.el (open-network-stream): Take a :nowait
23675 parameter and pass it on to `make-network-process'.
23676 (network-stream-open-plain): Ditto.
23678 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23680 * faces.el (face-spec-set-match-display): Don't match toolkit
23681 options on terminal frames.
23683 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23685 * progmodes/pascal.el: Use lexical binding.
23686 (pascal-mode-map): Remove author preferences.
23688 * pcomplete.el (pcomplete-std-complete): Don't abuse
23689 completion-at-point.
23691 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23693 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23694 removing code that has been dead since 1991 or so.
23696 * startup.el (command-line): When warning about "_emacs", use a
23697 delayed warning to allow the user to filter it out.
23699 2011-04-28 Deniz Dogan <deniz@dogan.se>
23701 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23702 user has not joined.
23704 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23706 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23707 aren't any completions at point.
23709 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23711 * subr.el (display-delayed-warnings): New function.
23712 (delayed-warnings-hook): New variable.
23714 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23716 * minibuffer.el (completion-at-point, completion-help-at-point):
23717 Don't presume that a given completion-at-point-function will always
23718 use the same calling convention.
23720 * pcomplete.el (pcomplete-completions-at-point):
23721 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23722 pcomplete-seen is non-nil.
23723 (pcomplete-comint-setup): Also recognize the new comint/shell
23724 completion functions.
23725 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23726 pcomplete-seen is non-nil.
23728 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23730 * calendar/icalendar.el (diary-lib): Add require statement.
23731 (icalendar--create-uid): Read out a uid from a text-property on
23732 the first character in the entry. This allows for code to add its
23733 own uid to the entry.
23734 (icalendar--convert-float-to-ical): Add export of
23735 `diary-float'-entries save for those with the optional DAY
23738 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23740 * subr.el (shell-quote-argument): Use alternate escaping strategy
23741 when we spot a variable reference in a string.
23743 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23745 * cus-start.el (all): Define customization for debug-on-event.
23747 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23749 * subr.el (shell-quote-argument): Escape correctly under Windows.
23751 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23753 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23755 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23757 * net/tramp.el (tramp-process-actions): Add POS argument.
23758 Delete region between POS and (pos).
23760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23761 Use `nil' position in `tramp-process-actions' call.
23762 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23764 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23765 position in `tramp-process-actions' call.
23767 * net/trampver.el: Update release number.
23769 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23771 * custom.el (defcustom): Obey lexical-binding.
23773 Fix octave-inf completion problems reported by Alexander Klimov.
23774 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23775 Inherit from octave-mode-syntax-table.
23776 (inferior-octave-mode): Set info-lookup-mode.
23777 (inferior-octave-completion-at-point): New function.
23778 (inferior-octave-complete): Use it and completion-in-region.
23779 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23780 comint-filename-completion.
23781 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23782 symbol elements which shouldn't be word elements.
23783 (octave-font-lock-keywords, octave-beginning-of-defun)
23784 (octave-function-header-regexp): Adjust regexps accordingly.
23785 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23787 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23789 * net/gnutls.el (gnutls-errorp): Declare before first use.
23791 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23793 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23794 verify-error, and verify-hostname-error parameters. Check whether
23795 default trustfile exists before going to use it. Add missing
23796 argument to gnutls-message-maybe call. Return value.
23797 Reported by Claudio Bley <claudio.bley@gmail.com>.
23798 (open-gnutls-stream): Add usage example.
23800 * net/network-stream.el (network-stream-open-starttls): Give host
23801 parameter to `gnutls-negotiate'.
23802 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23803 * subr.el (shell-quote-argument): Escape correctly under Windows.
23805 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23807 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23808 Use correct match group (bug#8438).
23810 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23812 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23813 (package-menu--generate): New arg specifying packages to show.
23814 (package-menu-refresh, package-menu-execute, list-packages):
23816 (package-show-package-list): New function, replacing deleted
23817 package--list-packages (renamed because it is non-internal).
23819 * finder.el (finder-list-matches): Use package-show-package-list
23820 instead of deleted package--list-packages.
23822 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23823 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23824 (vc-annotate-mode-map): Bind it to RET.
23826 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23828 * progmodes/etags.el (next-file): Don't use set-buffer to change
23829 buffers (Bug#8478).
23831 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23833 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23835 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23836 (apropos-accumulator): Doc fix.
23837 (apropos-function, apropos-macro, apropos-command)
23838 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23839 (apropos-plist): Add face property.
23840 (apropos-symbols-internal): Fix indentation.
23841 (apropos-print): Simplify help, and recognize apropos-multi-type.
23842 (apropos-print-doc): Use button-type-get to extract the button's
23843 face property. Fill docstring (Bug#8352).
23845 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23847 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23849 * play/mpuz.el (mpuz-silent): Doc fix.
23850 (mpuz-mode-map): Use mapc.
23851 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23852 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23853 Fix typos in docstrings.
23855 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23856 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23858 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23860 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23862 * minibuffer.el (completion--do-completion): Avoid the "Next char
23863 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23865 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23866 mouse-2 into unread-command-events, it is interpreted correctly.
23868 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23869 (image-toggle-display): Doc fix.
23871 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23873 * textmodes/page.el (what-page): Use line-number-at-pos to
23874 calculate line number (Bug#6825).
23876 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23878 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23879 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23880 Pass argument NO-DEFAULT to `find-tag-interactive'.
23882 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23884 Lexical-binding cleanup.
23886 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23887 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23888 * progmodes/ada-prj.el (ada-prj-initialize-values)
23889 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23890 (ada-prj-show-value):
23891 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23892 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23893 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23894 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23895 * progmodes/bug-reference.el (bug-reference-push-button):
23896 * progmodes/fortran.el (fortran-line-length):
23897 * progmodes/glasses.el (glasses-change):
23898 * progmodes/octave-mod.el (octave-fill-paragraph):
23899 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23900 (python-pdbtrack-grub-for-buffer, python-sentinel):
23901 * progmodes/sql.el (sql-save-connection):
23902 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23903 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23904 Mark unused parameters.
23906 * progmodes/compile.el (compilation--flush-directory-cache)
23907 (compilation--flush-parse, compile-internal): Mark unused parameters.
23908 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23909 (compilation-next-error-function): Remove unused variable `timestamp'.
23911 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23912 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23914 * progmodes/dcl-mode.el (dcl-end-of-command):
23915 Remove unused variable `start'.
23916 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23917 (dcl-option-value-basic, dcl-option-value-offset)
23918 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23919 Mark unused parameters.
23920 (dcl-save-local-variable): Remove unused variable `val'.
23923 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23924 Mark unused parameters.
23925 (delphi-ignore-changes): Move before first use.
23926 (delphi-charset-token-at): Remove unused variable `start'.
23927 (delphi-else-start): Remove unused variable `if-count'.
23928 (delphi-comment-block-start, delphi-comment-block-end):
23929 Remove unused variable `kind'.
23930 (delphi-indent-line): Remove unused variable `new-point'.
23932 * progmodes/ebrowse.el (ebrowse-files-list)
23933 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23934 Mark unused parameters. Don't quote `lambda'.
23935 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23936 Don't quote `lambda'.
23937 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23938 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23939 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23940 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23941 Use `ignore-errors'.
23942 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23943 (ebrowse-view/find-file-and-search-pattern)
23944 (ebrowse-view/find-member-declaration/definition):
23945 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23946 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23947 Rename parameter PREFIX-ARG to PREFIX.
23948 (ebrowse-tags-read-name): Remove unused variables `start' and
23950 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23953 * progmodes/etags.el (local-find-tag-hook): Declare.
23954 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23955 Mark unused parameters.
23957 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23958 (executable-interpret): Mark unused parameter.
23960 * progmodes/flymake.el (flymake-process-sentinel)
23961 (flymake-after-change-function)
23962 (flymake-create-temp-with-folder-structure)
23963 (flymake-get-include-dirs-dot): Mark unused parameters.
23964 (flymake-safe-delete-directory): Remove unused variable `err'.
23966 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23967 (speedbar-timer-fn, speedbar-line-text)
23968 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23969 (speedbar-center-buffer-smartly): Declare functions.
23970 (gdb-find-watch-expression): Remove unused variable `array'.
23971 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23972 (gdb-starting): Mark unused parameters.
23973 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23974 (gdb-table-string): Remove unused variable `res'.
23975 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23976 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23977 (gdb-display-buffer): Remove unused variable `cur-size'.
23979 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23980 allow lexical-binding compilation.
23981 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23982 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23983 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23984 Mark unused parameters.
23985 (gud-gdb-marker-filter): Remove unused variable `match'.
23986 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23987 lambda expressions and funcall them, instead of using `fset'.
23989 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23990 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23992 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23993 variable `header-beg'; use `let'.
23995 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23996 `restart', `last-sexp' and `at-do'.
23998 * progmodes/js.el (js--debug): Mark unused parameter.
23999 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24000 (js--splice-into-items): Remove unused variable `item'.
24001 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24003 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24004 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24005 (makefile-complete): Remove unused variable `try'.
24006 (makefile-fill-paragraph, makefile-match-function-end):
24007 Mark unused parameters.
24009 * progmodes/octave-inf.el (inferior-octave-complete):
24010 Remove unused variable `proc'.
24011 (inferior-octave-output-digest): Mark unused parameter.
24013 * progmodes/perl-mode.el (perl-calculate-indent):
24014 Remove unused variable `err'.
24016 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24017 (prolog-indent-line): Mark unused parameters.
24018 (prolog-indent-line): Remove unused variable `beg'.
24020 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24021 (reporter-dont-compact-list): Declare.
24023 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24024 Remove unused variable `char'.
24025 (sh-debug): Mark unused parameter.
24026 (sh-get-indent-info): Remove unused variable `start'.
24027 (sh-calculate-indent): Remove unused variable `var'.
24029 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24030 (simula-electric-keyword): Remove unused variable `null'.
24031 (simula-search-backward, simula-search-forward): Remove unused
24032 variables `begin' and `end'.
24034 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24035 Remove unused variable `pos'.
24036 (vera-electric-tab, vera-comment-uncomment-region):
24037 Mark unused parameters.
24038 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24040 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24042 * emacs-lisp/package.el (package--builtins, package-alist)
24043 (package-load-descriptor, package-built-in-p, package-activate)
24044 (define-package, package-installed-p)
24045 (package-compute-transaction, package-buffer-info)
24046 (package--push): Doc fix. Distinguish more clearly between
24047 version strings and version lists.
24049 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24051 Lexical-binding cleanup.
24053 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24054 (5x5-make-mutate-best):
24055 * play/fortune.el (fortune-in-buffer):
24056 * play/gomoku.el (gomoku-init-display):
24057 * play/solitaire.el (solitaire, solitaire-do-check):
24058 * play/tetris.el (tetris-default-update-speed-function):
24059 Mark unused parameters.
24061 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24062 (bubbles--shift): Remove unused variable `char-org'.
24063 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24064 (bubbles--show-images): Remove unused variable `char'.
24066 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24067 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24068 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24069 (decipher-analyze-buffer): Use ?\s.
24070 (decipher-make-checkpoint): Remove unused variable `mapping'.
24072 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24074 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24075 Remove unused variable `result'; use `let'.
24077 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24078 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24079 (gametree-children-shown-p, gametree-compute-reduced-score):
24080 Use `ignore-errors'.
24082 * play/handwrite.el (ps-lpr-switches): Declare.
24083 (handwrite): Remove unused variables `pmin' and `lastp'.
24085 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24087 * play/landmark.el (landmark-init-display)
24088 (landmark-update-naught-weights): Mark unused parameters.
24089 (landmark-y): Remove unused variable `noise'. Simplify.
24090 (landmark-human-plays): Remove unused variable `score'.
24092 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24093 (mpuz-try-proposal): Remove unused variable `game'.
24095 * play/zone.el (life-patterns): Declare.
24097 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24099 * vc/vc.el (ediff-vc-internal): Declare function.
24101 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24103 * shell.el: Use lexical-binding and std completion UI.
24104 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24105 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24106 comint-preoutput-filter-functions rather than on
24107 comint-output-filter-functions.
24108 (shell-command-completion, shell--command-completion-data)
24109 (shell-filename-completion, shell-environment-variable-completion)
24110 (shell-c-a-p-replace-by-expanded-directory): New functions.
24111 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24112 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24113 (shell-dynamic-complete-environment-variable): Use them.
24114 (shell-dynamic-complete-as-environment-variable)
24115 (shell-dynamic-complete-as-command): Remove.
24116 (shell-match-partial-variable): Match past point.
24117 * comint.el: Clean up use of completion-at-point-functions.
24118 (comint-completion-at-point): New function.
24119 (comint-mode): Use it completion-at-point-functions.
24120 (comint-dynamic-complete): Make it obsolete.
24121 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24122 (comint-c-a-p-replace-by-expanded-history): New function.
24123 (comint-dynamic-complete-functions)
24124 (comint-replace-by-expanded-history): Use it.
24125 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24126 termination strings. Try harder to avoid second try-completion.
24127 (completion-in-region-mode-map): Disable bindings that don't work yet.
24129 * comint.el: Use lexical-binding. Require CL.
24130 (comint-dynamic-complete-functions): Use comint-filename-completion.
24131 (comint-completion-addsuffix): Tweak custom type.
24132 (comint-filename-completion, comint--common-suffix)
24133 (comint--common-quoted-suffix, comint--table-subvert)
24134 (comint--complete-file-name-data): New functions.
24135 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24136 (comint-dynamic-list-filename-completions): Use them.
24137 (comint-dynamic-simple-complete): Make obsolete.
24139 * minibuffer.el (completion-in-region-mode):
24140 Keep completion-in-region-mode--predicate global.
24141 (completion-in-region--postch):
24142 Assume completion-in-region-mode--predicate is not null.
24144 * progmodes/flymake.el (flymake-start-syntax-check-process):
24145 Obey `dir'. Simplify.
24147 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24148 we're in VC after all.
24150 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24152 * vc/vc.el (vc-diff-build-argument-list-internal)
24153 (vc-version-ediff, vc-ediff): New commands.
24154 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24156 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24158 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24161 * obsolete/erc-hecomplete.el: Make obsolete.
24162 * obsolete/: Standardize obsolescence info in the header.
24164 2011-04-20 Glenn Morris <rgm@gnu.org>
24166 * calendar/solar.el (solar-horizontal-coordinates):
24167 Use the longitude argument rather than `calendar-longitude'.
24168 (solar-date-next-longitude): Remove unused locals.
24170 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24172 * whitespace.el: New version 13.2.1.
24174 2011-04-20 felix <EmacsWiki> (tiny change)
24176 * whitespace.el (global-whitespace-mode): Keep highlight when
24177 switching between major modes on a file.
24179 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24181 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24182 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24183 multi-line comments as well.
24185 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24187 Lexical-binding cleanup.
24189 * arc-mode.el (archive-mode-revert):
24190 * cmuscheme.el (scheme-interactively-start-process):
24191 * custom.el (custom-initialize-delay):
24192 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24193 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24194 * emacs-lock.el (emacs-lock-clear-sentinel):
24195 * ezimage.el (defezimage):
24196 * follow.el (follow-avoid-tail-recenter):
24197 * fringe.el (set-fringe-mode-1):
24198 * generic-x.el (bat-generic-mode-compile):
24199 * help-mode.el (help-info-variable, help-do-xref)
24200 (help-mode-revert-buffer):
24201 * help.el (view-emacs-todo):
24202 * iswitchb.el (iswitchb-completion-help):
24203 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24204 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24205 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24206 * locate.el (locate-update):
24207 * longlines.el (longlines-encode-region)
24208 (longlines-after-change-function):
24209 * outline.el (outline-isearch-open-invisible):
24210 * ps-def.el (declare-function, charset-dimension, char-width)
24212 * ps-mule.el (ps-mule-plot-string):
24213 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24214 (recentf-edit-list-select, recentf-edit-list-validate)
24215 (recentf-open-files-action):
24216 * rect.el (delete-whitespace-rectangle-line)
24217 (rectangle-number-line-callback):
24218 * register.el (window-configuration-to-register)
24219 (frame-configuration-to-register):
24220 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24221 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24222 (xselect-convert-to-targets, xselect-convert-to-delete)
24223 (xselect-convert-to-filename, xselect-convert-to-charpos)
24224 (xselect-convert-to-lineno, xselect-convert-to-colno)
24225 (xselect-convert-to-os, xselect-convert-to-host)
24226 (xselect-convert-to-user, xselect-convert-to-class)
24227 (xselect-convert-to-name, xselect-convert-to-integer)
24228 (xselect-convert-to-atom, xselect-convert-to-identity):
24229 * subr.el (declare, ignore, process-kill-without-query)
24230 (text-clone-maintain):
24231 * terminal.el (te-get-char, te-tic-sentinel):
24232 * tool-bar.el (tool-bar-make-keymap):
24233 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24234 * type-break.el (type-break-mode, type-break-noninteractive-query):
24235 * view.el (View-back-to-mark):
24236 * wid-browse.el (widget-browse-action, widget-browse-widget)
24237 (widget-browse-widgets, widget-browse-sexp):
24238 * widget.el (define-widget-keywords):
24239 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24240 Mark unused parameters.
24242 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24243 (align-areas): Remove unused variable `look'.
24244 (align-region): Remove unused variables `real-end' and `pos-list'.
24246 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24248 * bindings.el (mode-line-modified, mode-line-remote):
24249 Mark unused parameters.
24250 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24252 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24253 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24255 * comint.el (comint-history-isearch-pop-state)
24256 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24257 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24258 (comint-substitute-in-file-name): Doc fix.
24260 * completion.el (cmpl-statistics-block): Mark unused parameter.
24261 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24262 (save-completions-to-file, load-completions-from-file):
24263 Remove unused local variable `e'.
24265 * composite.el (compose-chars): Remove unused variable `len'.
24266 (lgstring-insert-glyph): Remove unused variable `g'.
24267 (compose-glyph-string): Remove unused variables `ascent',
24268 `descent', `lbearing' and `rbearing'.
24269 (compose-glyph-string-relative): Remove unused variables
24270 `lbearing', `rbearing' and `wadjust'.
24271 (compose-gstring-for-graphic): Remove unused variables `header',
24272 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24273 (compose-gstring-for-terminal): Remove unused variables `header'
24274 and `nchars'. Use `let', not `let*'.
24276 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24277 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24278 (Custom-buffer-done, custom-buffer-create-internal)
24279 (custom-browse-visibility-action, custom-browse-group-tag-action)
24280 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24281 (widget-magic-mouse-down-action, custom-toggle-parent)
24282 (custom-add-parent-links, custom-toggle-hide-variable)
24283 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24284 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24285 (custom-face-menu-create, custom-variable-menu-create, get)
24286 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24287 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24288 (customize-apropos): Remove unused variable `tests'.
24289 (custom-group-value-create): Remove unused variable `hidden-p'.
24290 (sort-fold-case): Declare.
24292 * cus-theme.el (custom-reset-standard-faces-list)
24293 (custom-reset-standard-variables-list): Declare.
24294 (customize-create-theme, custom-theme-revert, custom-theme-write)
24295 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24296 Mark unused parameters.
24298 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24300 * delim-col.el (delimit-columns-max): Move defvar before first use.
24302 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24303 (describe-char): Don't quote `lambda'. Mark unused parameter.
24305 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24306 (auto-insert): Declare.
24307 (desktop-restore-file-buffer): Rename desktop-* parameters;
24309 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24310 (desktop-buffer): Rename desktop-* parameters.
24312 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24313 (dframe-reposition-frame-xemacs, dframe-help-echo)
24314 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24315 Mark unused parameters.
24317 * dired-aux.el (backup-extract-version-start, overwrite-query)
24318 (overwrite-backup-query, rename-regexp-query)
24319 (rename-non-directory-query): Declare.
24320 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24321 (dired-add-entry): Remove unused variable `orig-file-name'.
24322 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24323 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24324 `dired-copy-preserve-time' directly.
24325 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24326 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24328 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24329 (dired-virtual-revert, dired-make-relative-symlink):
24330 Mark unused parameters.
24331 (manual-program): Declare.
24332 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24333 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24334 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24336 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24338 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24340 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24343 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24345 * electric.el (Electric-command-loop): Rename parameter
24346 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24348 * expand.el (expand-in-literal): Remove unused variable `here'.
24350 * facemenu.el (facemenu-add-new-color):
24351 Remove unused variable `docstring'.
24353 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24354 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24355 (face-attr-construct): Mark unused parameter. Doc fix.
24356 (read-color): Remove unused variable `hex-string'.
24358 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24359 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24360 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24361 (display-buffer-other-frame): Remove unused variable `old-window'.
24362 (kill-buffer-hook): Declare.
24363 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24364 Mark unused parameters.
24365 (after-find-file): Pass 1 to `auto-save-mode', not t.
24367 * files-x.el (auto-insert): Declare.
24368 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24370 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24371 variable `buf'. Mark unused parameter.
24372 (find-lisp-insert-directory): Mark unused parameter.
24374 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24375 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24376 (format-common-tail): Remove, unused.
24377 (format-deannotate-region): Remove unused variable `loc'.
24378 (format-annotate-region): Remove unused variable `p'.
24379 (format-annotate-single-property-change): Remove unused variables
24380 `default' and `tail'.
24382 * forms.el (read-file-filter): Declare.
24383 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24385 * frame.el (frame-creation-function-alist): Mark unused parameter.
24386 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24388 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24389 Remove unused parameters.
24390 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24391 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24393 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24394 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24395 (hfy-prepare-tag-map): Mark unused parameters.
24396 (htmlfontify-buffer): Use `called-interactively-p'.
24398 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24399 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24400 (ibuffer-do-occur): Mark unused parameters.
24401 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24402 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24404 * ibuffer.el: Don't quote `lambda'.
24405 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24406 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24407 Mark unused parameters.
24409 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24410 (ido-completing-read): Mark unused parameters.
24411 (ido-copy-current-word): Mark unused parameters;
24412 remove unused variable `name'.
24413 (ido-sort-merged-list): Remove unused parameter `dirs'.
24415 * ielm.el (ielm-input-sender): Mark unused parameter.
24416 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24417 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24418 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24419 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24420 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24422 * image-dired.el (image-dired-display-thumbs): Remove unused
24423 variables `curr-file' and `count'.
24424 (image-dired-remove-tag): Remove unused variable `start'.
24425 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24426 variable `curr-file'
24427 (image-dired-rotate-original): Remove unused variable `temp-file'.
24428 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24429 Remove unused variable `file'.
24430 (image-dired-gallery-generate): Remove unused variable `curr'.
24431 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24433 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24435 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24437 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24439 * isearch.el (minibuffer-history-symbol): Declare.
24440 (isearch-edit-string): Remove unused variable `err'.
24441 (isearch-message-prefix, isearch-message-suffix):
24442 Mark unused parameters.
24444 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24446 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24448 * makesum.el (double-column): Remove unused variable `cnt'.
24450 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24451 (ido-ignore-item-temp-list): Declare.
24453 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24454 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24455 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24456 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24459 * mouse-sel.el (mouse-extend-internal):
24460 Remove unused variable `orig-window-frame'.
24462 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24463 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24464 Move declarations before first use.
24465 (pcomplete-opt): Mark unused parameters; doc fix.
24467 * proced.el (proced-revert): Mark unused parameter.
24468 (proced-send-signal): Remove unused variable `err'.
24470 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24471 Rename parameter PREFIX-ARG to ARG.
24472 (ps-basic-plot-string, ps-basic-plot-whitespace):
24473 Mark unused parameters.
24475 * replace.el (replace-count): Define.
24476 (occur-revert-function): Mark unused parameters.
24477 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24478 (isearch-case-fold-search, isearch-string): Declare.
24479 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24480 bind `case-fold-search'. Remove unused variables `beg' and `end',
24482 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24483 COUNT and bind `replace-count'.
24484 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24487 * savehist.el (print-readably, print-string-length): Declare.
24489 * shadowfile.el (shadow-expand-cluster-in-file-name):
24490 Remove unused variable `cluster'.
24491 (shadow-copy-file): Remove unused variable `i'.
24492 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24493 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24494 (shadow-define-literal-group, shadow-define-regexp-group)
24495 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24497 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24498 (shell): Use `called-interactively-p'.
24499 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24501 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24502 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24503 (delete-backward-char): Remove unused variable `ocol'.
24504 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24505 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24506 (event-apply-hyper-modifier, event-apply-shift-modifier)
24507 (event-apply-control-modifier, event-apply-meta-modifier):
24508 Mark unused parameters.
24509 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24510 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24512 * speedbar.el (speedbar-ignored-directory-expressions)
24513 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24514 (speedbar-find-file, speedbar-dir-follow)
24515 (speedbar-directory-buttons-follow, speedbar-tag-find)
24516 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24517 (speedbar-buffers-line-directory, speedbar-buffer-click):
24518 Mark unused parameters.
24519 (speedbar-tag-file): Remove unused variable `mode'.
24520 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24522 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24524 * talk.el (talk): Remove unused variable `display'.
24526 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24527 (tar-write-region-annotate): Mark unused parameter.
24529 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24530 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24531 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24532 warning by another.
24534 * time-stamp.el (time-stamp-string-preprocess):
24535 Remove unused variable `require-padding'.
24537 * tree-widget.el (widget-glyph-enable): Declare.
24538 (tree-widget-action): Mark unused parameter.
24540 * w32-fns.el (x-get-selection): Mark unused parameter.
24541 (autoload-make-program, generated-autoload-file): Declare.
24543 * wdired.el (wdired-revert): Mark unused parameters.
24544 (wdired-xcase-word): Remove unused variable `err'.
24546 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24547 (whitespace-help-scroll): Remove unused variable `data-help'.
24549 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24550 (widget-image-insert, widget-after-change, default)
24551 (widget-default-format-handler, widget-default-notify)
24552 (widget-default-prompt-value, widget-info-link-action)
24553 (widget-url-link-action, widget-function-link-action)
24554 (widget-variable-link-action, widget-file-link-action)
24555 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24556 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24557 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24558 (widget-insert-button-action, widget-delete-button-action, visibility)
24559 (widget-documentation-link-action, widget-documentation-string-action)
24560 (widget-const-prompt-value, widget-regexp-match, symbol)
24561 (widget-coding-system-prompt-value)
24562 (widget-key-sequence-value-to-external, sexp)
24563 (widget-sexp-value-to-internal, character, vector, cons)
24564 (widget-choice-prompt-value, widget-boolean-prompt-value)
24565 (widget-color--choose-action): Mark unused parameters.
24566 (widget-item-match-inline, widget-choice-match-inline)
24567 (widget-checklist-match, widget-checklist-match-inline)
24568 (widget-group-match): Rename parameter VALUES to VALS.
24569 (widget-field-value-set): Remove unused variable `size'.
24570 (widget-color-action): Remove unused variables `value' and `start'.
24572 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24573 variable `dir'. Doc fix.
24574 (windmove-find-other-window): Don't pass it.
24576 * window.el (count-windows): Mark unused parameter.
24577 (bw-adjust-window): Remove unused variable `err'.
24579 * woman.el (woman-file-name): Remove unused variable `default'.
24580 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24581 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24582 (global-font-lock-mode): Declare.
24583 (woman-decode-region): Mark unused parameter.
24584 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24586 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24587 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24588 (x-dnd-handle-moz-url): Remove unused variable `title'.
24589 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24591 * xml.el (xml-parse-tag, xml-parse-attlist):
24592 Remove unused variable `pos'.
24594 2011-04-19 Glenn Morris <rgm@gnu.org>
24596 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24597 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24598 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24599 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24600 * calendar/cal-html.el (cal-html-insert-minical):
24601 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24602 (calendar-mark-date-pattern):
24603 Prefix "unused" locals.
24605 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24606 optional argument `style'.
24608 * calendar/appt.el (appt-make-list):
24609 * calendar/cal-china.el (calendar-chinese-date-string):
24610 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24611 (diary-hebrew-yahrzeit):
24612 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24613 * calendar/calendar.el (calendar-generate-window):
24614 * calendar/time-date.el (time-to-days):
24615 Remove unused local variables.
24617 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24619 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24620 glyphless-char-display table.
24621 (tabulated-list-glyphless-char-display): New var.
24623 2011-04-18 Sam Steingold <sds@gnu.org>
24625 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24626 to acknowledgments.
24628 2011-04-17 Glenn Morris <rgm@gnu.org>
24630 * calendar/diary-lib.el (diary-sexp-entry):
24631 * calendar/holidays.el (holiday-sexp):
24632 Set debug-on-error rather than the removed stack-trace-on-error.
24634 2011-04-16 Glenn Morris <rgm@gnu.org>
24636 * progmodes/f90.el: Use lexical-binding.
24637 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24639 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24641 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24642 (mail-mode): Setup mailalias completion here instead.
24643 * mail/mailalias.el: Use lexical-binding.
24644 (pattern, mailalias-done): Declare dynamic.
24645 (mail-completion-at-point-function): New function, from mail-complete.
24646 (mail-complete): Use it.
24647 (mail-completion-expand): New function.
24648 (mail-get-names): Use it.
24649 (mail-directory, mail-directory-process, mail-directory-stream):
24650 Don't use `pattern' for lexically bound arg.
24652 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24654 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24655 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24656 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24658 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24659 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24660 (byte-interactive-p): Define them again, for use when inlining
24663 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24665 * loadup.el: Use `string-to-number', not `string-to-int'.
24667 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24669 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24670 gud-gdb-complete-command.
24671 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24672 (gud-gdb-completion-at-point): New function.
24673 (gud-gdb-completions): Remove.
24675 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24677 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24678 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24679 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24680 whether `executable-find' is bound.
24682 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24684 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24686 * minibuffer.el (completion-in-region-mode-predicate)
24687 (completion-in-region-mode--predicate): New vars.
24688 (completion-in-region, completion-in-region--postch)
24689 (completion-in-region-mode): Use them.
24690 (completion--capf-wrapper): Also return the hook function.
24691 (completion-at-point, completion-help-at-point):
24692 Adjust and provide a predicate.
24694 Preserve arg names for advice of subr and lexical functions (bug#8457).
24695 * help-fns.el (help-function-arglist): Consolidate the subr and
24696 new-byte-code cases. Add argument `preserve-names' to extract names
24697 from the docstring when needed.
24698 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24699 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24700 (ad-arglist): Use help-function-arglist's new arg.
24701 (ad-definition-type): Use cond.
24703 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24705 * autorevert.el (auto-revert-handler):
24706 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24707 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24708 Don't quote lambda.
24710 * image-mode.el (image-transform-set-scale):
24711 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24713 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24715 * net/network-stream.el (network-stream-open-starttls): Only do
24716 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24717 Upgrades via gnutls-cli are too slow to be done opportunistically.
24719 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24721 * dframe.el (dframe-current-frame): Remove spurious quote.
24723 2011-04-12 Glenn Morris <rgm@gnu.org>
24725 * calendar/cal-tex.el (cal-tex-end-document):
24726 Try to automatically use latin1 input if needed.
24728 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24729 Don't try to cons a mark onto an empty element.
24731 2011-04-11 Leo Liu <sdl.web@gmail.com>
24733 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24735 (ido-kill-buffer-at-head): Support killing virtual buffers.
24737 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24739 * minibuffer.el (completion-show-inline-help): New var.
24740 (completion--do-completion, minibuffer-complete)
24741 (minibuffer-force-complete, minibuffer-complete-word):
24742 Inhibit minibuffer messages if completion-show-inline-help is nil.
24744 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24745 to avoid interference from inline help (Bug#5849).
24747 2011-04-10 Leo Liu <sdl.web@gmail.com>
24749 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24752 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24754 * image-mode.el (image-toggle-display-image): Signal an error if
24756 (image-transform-mode, image-transform-resize)
24757 (image-transform-set-rotation): Doc fix.
24758 (image-transform-set-resize): Delete.
24759 (image-transform-set-scale, image-transform-fit-to-height)
24760 (image-transform-fit-to-width): Handle image-toggle-display-image
24761 and image-transform-resize directly.
24763 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24765 * doc-view.el (doc-view-fit-width-to-window)
24766 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24767 New functions for fitting the shown image to the Emacs window size.
24768 (doc-view-mode-map): Add bindings for the new functions.
24770 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24772 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24773 Fix typo in docstring.
24775 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24777 * files.el (file-size-human-readable): Produce one digit after
24778 decimal, like "ls -lh" does.
24780 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24781 the file size representation.
24783 * simple.el (list-processes): If async subprocesses are not
24784 available, error out with a clear error message.
24786 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24788 * help.el (help-form-show): New function, to be called from C.
24789 Put help-form output in a buffer named differently than *Help*.
24791 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24793 * files.el (file-size-human-readable): New function.
24795 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24796 computing the representation inline. Don't require `cl'.
24798 2011-04-08 Glenn Morris <rgm@gnu.org>
24800 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24802 * net/browse-url.el (browse-url-firefox):
24803 Test system-type, not system-configuration.
24805 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24806 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24807 Use log-edit-empty-buffer-p. (Bug#7598)
24809 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24810 (rlogin-mode-map): Initialize in the defvar.
24811 (rlogin): Use ignore-errors.
24813 * replace.el (occur-mode-map): Some fixes for menu items.
24815 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24817 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24819 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24821 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24822 issuing unused warnings.
24824 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24827 * simple.el: Lisp reimplement of list-processes. Based on an
24828 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24829 (process-menu-mode): New major mode.
24830 (list-processes--refresh, list-processes):
24831 (process-menu-visit-buffer): New functions.
24833 * files.el (save-buffers-kill-emacs): Don't assume any return
24834 value of list-processes, which is undocumented anyway.
24836 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24838 * emacs-lisp/tabulated-list.el: New file.
24840 * emacs-lisp/package.el: Use Tabulated List mode.
24841 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24842 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24843 table format using Tabulated List mode variables.
24844 (package--push): New macro, replacing package-list-maybe-add.
24845 (package-menu--generate): Use package--push. Renamed from
24846 package--generate-package-list.
24847 (package-menu-refresh, list-packages): Use it.
24848 (package-menu--print-info): Rename from package-print-package.
24849 Return insertion data instead of inserting it directly.
24850 (package-menu-describe-package, package-menu-execute):
24851 Use tabulated-list-get-id.
24852 (package-menu-mark-delete, package-menu-mark-install)
24853 (package-menu-mark-unmark, package-menu-backup-unmark)
24854 (package-menu-mark-obsolete-for-deletion):
24855 Use tabulated-list-put-tag.
24856 (package--list-packages, package-menu-revert)
24857 (package-menu-get-package, package-menu-get-version)
24858 (package-menu-sort-by-column): Functions deleted.
24859 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24860 (package-menu--status-predicate, package-menu--version-predicate)
24861 (package-menu--name-predicate)
24862 (package-menu--description-predicate): Handle arguments in the
24863 Tabulated List format.
24864 (package-list-packages-no-fetch): Call list-packages.
24866 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24868 * files.el (after-find-file-from-revert-buffer): Remove variable.
24869 (after-find-file): Don't bind it.
24870 (revert-buffer-in-progress-p): New variable.
24871 (revert-buffer): Bind it.
24872 Pass nil for `after-find-file-from-revert-buffer'.
24874 * saveplace.el (save-place-find-file-hook): Use new variable
24875 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24877 2011-04-06 Glenn Morris <rgm@gnu.org>
24879 * Makefile.in (AUTOGEN_VCS): New variable.
24880 (autoloads): Use $AUTOGEN_VCS.
24882 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24883 * calendar/calendar.el (calendar-mode-map):
24884 Check for toolkit scroll bars. (Bug#8305)
24886 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24888 * minibuffer.el (completion-in-region--postch)
24889 (completion-in-region-mode): Remove unnecessary messages.
24891 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24893 * font-lock.el (font-lock-refresh-defaults):
24894 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24895 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24897 * info.el (Info-directory-list, Info-read-node-name-2)
24898 (Info-split-parameter-string): Doc fixes.
24899 (Info-virtual-nodes): Reflow docstring.
24900 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24901 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24902 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24903 Fix typos in docstrings.
24904 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24905 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24906 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24907 (Info-restore-desktop-buffer): Mark unused parameters.
24908 (Info-directory-find-file, Info-directory-find-node)
24909 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24910 (Info-virtual-index-find-node, Info-apropos-find-file)
24911 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24912 Mark unused parameters; fix typos in docstrings.
24913 (Info-virtual-index): Remove unused local variable `nodename'.
24915 2011-04-05 Deniz Dogan <deniz@dogan.se>
24917 * net/rcirc.el: Update my e-mail address.
24918 (rcirc-mode-map): Remove M-o binding.
24920 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24922 * startup.el (command-line): Save the cursor's theme-face
24923 directly, instead of using face-override-spec.
24925 * custom.el (load-theme): Minor optimization in assigning faces.
24927 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24929 * help-fns.el (describe-variable): Complete all variables having
24930 documentation, including keywords.
24931 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24933 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24935 Convert to lexical-binding.
24937 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24938 (bs--get-marked-string, bs--get-modified-string)
24939 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24940 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24941 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24943 * ehelp.el (electric-help-execute-extended)
24944 (electric-help-ctrl-x-prefix):
24945 * hexl.el (hexl-revert-buffer-function):
24946 * linum.el (linum-after-change, linum-after-scroll):
24947 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24949 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24951 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24958 * epg.el: Use lexical binding.
24960 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24962 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24964 * textmodes/flyspell.el (flyspell-word): Recognize default
24965 dictionary case for flyspell-mark-duplications-exceptions.
24966 Use regexp matching for languages.
24967 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24968 default dictionary (Bug#7926).
24970 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24972 * emacs-lisp/package.el (package--with-work-buffer):
24973 Recognize https URLs.
24975 * net/network-stream.el: Move from gnus/proto-stream.el.
24976 Change prefix to network-stream throughout.
24977 (open-protocol-stream): Merge into open-network-stream, leaving
24978 open-protocol-stream as an alias. Handle nil BUFFER args.
24980 * subr.el (open-network-stream): Move to net/network-stream.el.
24982 2011-04-02 Glenn Morris <rgm@gnu.org>
24984 * find-dired.el (find-exec-terminator): New option.
24985 (find-ls-option): Test for -ls support.
24986 (find-ls-subdir-switches): Test for -b in find-ls-option.
24987 (find-dired, find-grep-dired): Doc fixes.
24988 (find-dired): Use find-exec-terminator.
24990 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24991 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24992 (find-name-arg): Remove purecopy.
24994 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24995 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24996 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24997 accordingly. Don't add the null-device if not needed.
24999 * files.el (save-some-buffers): Doc fix.
25001 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25003 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25005 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25007 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25008 Use `dolist' rather than `mapcar'.
25010 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25012 Add lexical binding.
25014 * subr.el (apply-partially): Use new closures rather than CL.
25015 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25016 (dolist, dotimes): Use slightly different expansion for lexical code.
25017 (functionp): Move to C.
25018 (letrec): New macro.
25019 (with-wrapper-hook): Use it and apply-partially instead of CL.
25020 (eval-after-load): Preserve lexical-binding.
25021 (save-window-excursion, with-output-to-temp-buffer): Turn them
25024 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25026 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25028 (help-add-fundoc-usage): Don't add `Not documented'.
25029 (help-function-arglist): Handle closures, subroutines, and new
25030 byte-code-functions.
25031 (help-make-usage): Remove leading underscores.
25032 (describe-function-1): Handle closures.
25033 (describe-variable): Use special-variable-p for completion.
25035 * files.el (lexical-binding): Declare safe.
25037 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25038 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25039 (pcase): Add `let' pattern.
25040 Change memoization so it actually works.
25041 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25042 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25045 * emacs-lisp/macroexp.el: Use lexical binding.
25046 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25047 Don't convert ' to #' without checking that it's indeed quoting
25050 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25051 Use eval-sexp-add-defvars.
25052 (eval-sexp-add-defvars): New fun.
25054 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25056 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25058 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25059 than the internal `byte-compile-lambda'.
25060 (defmethod): Don't hide code under quotes.
25061 (eieio-defmethod): New `code' argument.
25063 * emacs-lisp/eieio-comp.el: Remove.
25065 * emacs-lisp/edebug.el (edebug-eval-defun)
25066 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25067 (edebug-toggle): Avoid `eval'.
25069 * emacs-lisp/disass.el (disassemble-internal): Handle new
25071 (disassemble-1): Handle new byte codes.
25073 * emacs-lisp/cl.el (pushnew): Silence warning.
25075 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25076 (cl-byte-compile-throw): Remove.
25077 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25079 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25082 * emacs-lisp/cconv.el: New file.
25084 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25085 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25086 (byte-compile-initial-macro-environment):
25087 Handle declare-function here.
25088 (byte-compile--lexical-environment): New var.
25089 (byte-stack-ref, byte-stack-set, byte-discardN)
25090 (byte-discardN-preserve-tos): New lap codes.
25091 (byte-interactive-p): Don't use any more.
25092 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25094 (byte-compile-lapcode): Use them and handle new lap codes.
25095 (byte-compile-obsolete): Remove.
25096 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25097 (byte-compile-arglist-warn): Check late def of inlinable funs.
25098 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25099 since they should have been expanded by now.
25100 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25101 (byte-compile-from-buffer): Remove unused second arg.
25102 (byte-compile-preprocess): New function.
25103 (byte-compile-toplevel-file-form): New function to distinguish
25104 file-form calls from outside from file-form calls from hunk-handlers.
25105 (byte-compile-file-form): Simplify.
25106 (byte-compile-file-form-defsubst): Remove.
25107 (byte-compile-file-form-defmumble): Simplify now that
25108 byte-compile-lambda always returns a byte-code-function.
25109 (byte-compile): Preprocess.
25110 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25111 Remove, not used any more.
25112 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25113 (byte-compile-make-args-desc): New funs.
25114 (byte-compile-lambda): Handle lexical functions. Always return
25115 a byte-code-function.
25116 (byte-compile-reserved-constants): New var, to make up room for
25117 closed-over variables.
25118 (byte-compile-constants-vector): Obey it.
25119 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25120 (byte-compile-macroexpand-declare-function): New function.
25121 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25122 byte-code-functions.
25123 (byte-compile-form): Check obsolescence here.
25124 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25125 (byte-compile-variable-ref): Remove.
25126 (byte-compile-dynamic-variable-op): New fun.
25127 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25128 (byte-compile-variable-set): New funs.
25129 (byte-compile-discard): Add 2 args.
25130 (byte-compile-stack-ref, byte-compile-stack-set)
25131 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25132 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25133 macroexpand-all instead.
25134 (byte-compile-quote-form): Remove.
25135 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25136 (byte-compile-bind, byte-compile-unbind): New funs.
25137 (byte-compile-let): Handle let* and lexical binding.
25138 (byte-compile-let*): Remove.
25139 (byte-compile-catch, byte-compile-unwind-protect)
25140 (byte-compile-track-mouse, byte-compile-condition-case):
25141 Handle a new :fun-body form, used for lexical scoping.
25142 (byte-compile-save-window-excursion)
25143 (byte-compile-with-output-to-temp-buffer): Remove.
25144 (byte-compile-defun): Simplify.
25145 (byte-compile-stack-adjustment): New fun.
25146 (byte-compile-out): Use it.
25147 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25149 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25152 * emacs-lisp/byte-opt.el: Use lexical binding.
25153 (byte-inline-lapcode): Remove (to bytecomp).
25154 (byte-compile-inline-expand): Pay attention to inlining to/from
25155 lexically bound code.
25156 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25158 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25159 any more and don't call compiler-macros.
25160 (byte-compile-splice-in-already-compiled-code): Remove.
25161 (byte-code): Don't inline any more.
25162 (disassemble-offset): Receive `bytes' as argument rather than via
25164 (byte-compile-tag-number): Declare before first use.
25165 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25166 `return' even if make-spliceable.
25167 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25168 obsolete interactive-p.
25169 (byte-optimize-lapcode): Optimize new lap-codes.
25170 Don't trip up on new form of `byte-constant' lap code.
25172 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25174 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25176 * custom.el (custom-initialize-default, custom-declare-variable):
25179 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25181 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25182 (COMPILE_FIRST): Add macroexp and cconv.
25183 * makefile.w32-in: Mirror changes in Makefile.in.
25185 * vc/cvs-status.el:
25189 * vc/smerge-mode.el:
25190 * textmodes/bibtex-style.el:
25191 * textmodes/css-mode.el:
25199 * emacs-lisp/smie.el:
25202 * abbrev.el: Use lexical binding.
25204 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25206 * info.el (info-display-manual): New function.
25208 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25210 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25212 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25214 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25215 an entry for that server in rcirc-authinfo. (Bug#8385)
25217 2011-03-31 Glenn Morris <rgm@gnu.org>
25219 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25221 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25223 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25225 * progmodes/python.el (python-default-interpreter)
25226 (python-python-command-args, python-jython-command-args)
25227 (python-which-shell, python-which-args, python-which-bufname)
25228 (python-file-queue, python-comint-output-filter-function)
25229 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25230 variables and functions.
25232 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25234 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25235 (completion-in-region-mode): New minor mode.
25236 (completion-in-region): Use it.
25237 (completion-in-region--data, completion-in-region-mode-map): New vars.
25238 (completion-in-region--postch): New function.
25239 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25241 (completion--capf-wrapper): New function.
25242 (completion-at-point): Use it to track well-behavedness of
25244 (completion-help-at-point): New command.
25246 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25248 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25249 syntax class to search for whitespace on a single line
25250 (Message-ID: <4D938140.4030905@redhat.com>).
25252 2011-03-30 Leo Liu <sdl.web@gmail.com>
25254 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25256 (edit-abbrevs-map): Bind them here.
25257 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25259 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25261 * allout.el (allout-hide-by-annotation, allout-flag-region):
25262 Reduce possibility of overlay leakage by making them volatile.
25264 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25265 hash is not shared between buffers. Mode initialization is
25266 responsible for giving it a useful starting value.
25267 (allout-item-span): Reduce possibility of overlay leakage by
25268 making them volatile.
25269 (allout-widgets-count-buttons-in-region): Add diagnostic function
25270 for tracking down button overlay leaks.
25272 2011-03-29 Leo Liu <sdl.web@gmail.com>
25274 * ido.el (ido-read-internal): Use the default history var
25275 minibuffer-history if no HISTORY is specified.
25277 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25279 * net/imap.el (imap-shell-open, imap-process-connection-type):
25280 Use imap-process-connection-type for 'shell' streams as well as
25281 Kerberos, SSL, other subprocesses.
25283 2011-03-28 Leo Liu <sdl.web@gmail.com>
25285 * abbrev.el (abbrev-table-empty-p): New function.
25286 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25287 nonempty ones. (Bug#5937)
25289 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25291 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25293 2011-03-27 Leo Liu <sdl.web@gmail.com>
25295 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25296 for foreground and background colors.
25297 (ansi-color-make-color-map): Adapt.
25299 2011-03-25 Leo Liu <sdl.web@gmail.com>
25301 * midnight.el (midnight-time-float): Remove. Note it calculates
25302 the microsecond component incorrectly and seconds-to-time does the
25304 Remove redundant (require 'timer).
25306 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25307 (ido-completions): Remove unused arguments. (Bug#8329)
25309 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25311 * minibuffer.el (completion--flush-all-sorted-completions):
25312 Remove itself from hook.
25313 (completion-at-point): Let the functions perform the completion
25314 immediately and return nil or t.
25315 * comint.el (comint-dynamic-complete-functions): Now identical to
25316 completion-at-point-functions.
25317 (comint-dynamic-list-input-ring): Remove unused var `index'.
25318 (comint--match-partial-filename, comint--unquote&expand-filename):
25319 New funs, split from comint-match-partial-filename.
25320 (comint-dynamic-complete): Use completion-at-point.
25321 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25323 2011-03-24 Drew Adams <drew.adams@oracle.com>
25325 * thingatpt.el: Support `defun'.
25327 2011-03-23 Leo Liu <sdl.web@gmail.com>
25329 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25331 * help-mode.el (help-mode-finish): Tweak regexp.
25333 2011-03-23 Glenn Morris <rgm@gnu.org>
25335 * eshell/esh-opt.el (eshell-eval-using-options):
25336 Do not bind unused local variable `eshell-option-stub'.
25338 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25340 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25342 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25343 keymap variable in `with-no-warnings' to avoid a warning when the
25344 keymap has been already `defconst'ed.
25346 2011-03-22 Leo Liu <sdl.web@gmail.com>
25348 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25349 encode all chars in abbrevs; otherwise use emacs-mule or
25350 utf-8-emacs. (Bug#8308)
25352 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25354 * simple.el (backward-delete-char-untabify):
25355 Avoid warning about using `delete-backward-char'.
25357 * image.el (image-type-file-name-regexps): Make it variable.
25358 `imagemagick-register-types' modifies it, and the user may want
25359 to add new extensions for known image types.
25360 (imagemagick-register-types): Throw error if not using ImageMagick.
25362 2011-03-22 Leo Liu <sdl.web@gmail.com>
25364 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25365 located before rcirc-prompt-end-marker.
25366 (rcirc-complete): Error if point is not after rcirc prompt.
25367 Handle the case when table is nil.
25368 (rcirc-user-authenticated): Define to fix compiler warning.
25370 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25372 * custom.el (custom--inhibit-theme-enable): Make it affect only
25373 custom-theme-set-variables and custom-theme-set-faces.
25374 (provide-theme): Ignore custom--inhibit-theme-enable.
25375 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25376 (custom-enabling-themes): Delete variable.
25377 (enable-theme): Accept only loaded themes as arguments.
25378 Ignore the special custom-enabled-themes variable.
25379 (custom-enabled-themes): Forbid themes from setting this.
25380 Eliminate use of custom-enabling-themes.
25381 (custom-push-theme): Quote "changed" custom var entry.
25383 2011-03-21 Leo Liu <sdl.web@gmail.com>
25385 * ido.el (ido-read-internal): Add ido-selected to history instead
25388 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25390 * subr.el (deferred-action-list, deferred-action-function):
25393 2011-03-21 Leo Liu <sdl.web@gmail.com>
25395 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25396 change on 2011-02-13 (bug#8309).
25398 * minibuffer.el (read-file-name-function): Change default value.
25399 (read-file-name--defaults): Rename from read-file-name-defaults.
25400 (read-file-name-default): Rename from read-file-name.
25401 (read-file-name): Call read-file-name-function.
25403 2011-03-21 Glenn Morris <rgm@gnu.org>
25405 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25408 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25410 * cus-theme.el: Add missing provide statement.
25411 (customize-create-theme): Extract theme value correctly.
25412 (custom-theme-visit-theme): Autoload.
25413 (customize-create-theme): Prompt before inserting default faces.
25415 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25417 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25418 units and musical notes.
25420 2011-03-20 Leo Liu <sdl.web@gmail.com>
25422 * ido.el (ido-read-internal): Use completing-read-default.
25423 (ido-completing-read): Fix compatibility with completing-read.
25425 2011-03-20 Christian Ohler <ohler@gnu.org>
25427 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25428 (ert-delete-all-tests): Use `called-interactively-p' rather than
25430 (ert--make-xrefs-region): Respect END.
25432 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25434 * dired-aux.el (dired-create-directory): Signal an error if the
25435 directory already exists (Bug#8246).
25437 * facemenu.el (list-colors-display): Call list-faces-display
25438 inside with-help-window.
25439 (list-colors-print): Use display property to align the final
25440 column, instead of checking window-width.
25442 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25444 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25445 windows-nt systems.
25446 (emerge-protect-metachars): Quote correctly for ms-dos and
25447 windows-nt systems.
25449 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25451 * info.el (info-initialize): Replace all uses of `:' with
25452 path-separator for compatibility with non-Unix systems.
25453 Cache quoting of path-separator. (Bug#8258)
25455 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25457 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25458 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25459 (mouse-avoidance-mode): Fix typos in docstrings.
25461 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25463 * startup.el (package-subdirectory-regexp): Move from package.el.
25464 Omit \\` and \\', and let callers add them.
25466 * emacs-lisp/package.el (package-strip-version)
25467 (package-load-all-descriptors): Add \\` and \\' to
25468 package-subdirectory-regexp before using it.
25469 (package-untar-buffer): New arg DIR; ensure that file untars only
25470 into this expected directory. Remove superfluous delete-region.
25471 (package-unpack): Caller changed.
25472 (package-tar-file-info): Use package-subdirectory-regexp.
25474 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25476 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25477 diff-mode-shared-map (bug#8284).
25478 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25480 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25482 * calendar/time-date.el (format-seconds): Use assoc instead of
25483 assoc-string, since assoc-string doesn't exist in XEmacs.
25485 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25487 * custom.el (custom-known-themes): Reflow docstring.
25488 (custom-theme-load-path): Fix typo in docstring.
25489 (load-theme): Fix typo in error message.
25490 (custom-available-themes, custom-variable-theme-value):
25491 Use `let', not `let*'.
25493 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25495 * calc/README: Mention inclusion of musical notes.
25497 * calc/calc-units.el (calc-lu-quant): Rename from
25498 `calc-logunits-quantity'.
25499 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25500 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25501 (calc-db): Rename from `calc-dblevel'.
25502 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25503 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25504 (calc-np): Rename from `calc-nplevel'.
25505 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25506 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25507 (calc-lu-plus): Rename from `calc-logunits-add'.
25508 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25509 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25510 (calc-lu-minus): Rename from `calc-logunits-sub'.
25511 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25512 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25513 (calc-lu-times): Rename from `calc-logunits-mul'.
25514 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25515 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25516 (calc-lu-divide): Rename from `calc-logunits-div'.
25517 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25518 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25520 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25521 functions being autoloaded.
25523 * calc/calc.el (calc-lu-power-reference): Rename from
25524 `calc-logunits-power-reference'.
25525 (calc-lu-field-reference): Rename from
25526 `calc-logunits-field-reference'.
25528 * calc/calc-help.el (calc-l-prefix-help):
25529 Mention musical note functions.
25531 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25533 * minibuffer.el (completion-all-sorted-completions):
25534 Use :completion-cycle-penalty text property if present.
25536 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25538 * allout.el (allout-yank-processing): Adjust for new rebulleting
25539 regime so bullet being yanked is used without prompting the user
25542 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25544 * startup.el (command-line): Warn the user that _emacs is deprecated.
25546 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25548 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25549 (delphi-verbose, delphi-comment-face, delphi-string-face)
25550 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25551 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25552 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25553 (delphi-new-comment-line, delphi-font-lock-defaults)
25554 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25555 Fix typos in docstrings.
25557 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25559 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25560 Invert the roles of character and string values for INSTEAD, so a
25561 string is used for the more common case of a defaulting prompt.
25563 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25565 * progmodes/ruby-mode.el (ruby-backward-sexp):
25566 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25567 * play/gamegrid.el (gamegrid-make-face):
25568 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25569 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25570 * notifications.el (notifications-notify):
25571 * net/xesam.el (xesam-search-engines):
25572 * net/quickurl.el (quickurl-list-insert):
25573 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25575 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25577 * startup.el (command-line): Update package subdirectory regexp.
25579 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25581 * allout.el (allout-abbreviate-flattened-numbering)
25582 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25584 * subr.el (read-char-choice): Only show the cursor after the prompt,
25585 not after the answer.
25587 2011-03-15 Kevin Ryde <user42@zip.com.au>
25589 * help-fns.el (variable-at-point): Skip leading quotes, if any
25592 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25594 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25597 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25599 * shell.el (shell): When called interactively, offer to change the
25600 shell file name on remote hosts.
25602 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25604 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25605 integration for LDAP parameters. The host, base, user or binddn,
25606 and secret tokens can be specified in a netrc file, for instance.
25607 This is optional because an `auth-source' parameter must be
25608 specified in the search attributes.
25610 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25612 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25614 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25616 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25617 into declaration. Remove redundant and harmful binding.
25619 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25621 * files.el (file-ownership-preserved-p): Pass `integer' as an
25622 explicit 2nd argument to `file-attributes'. If the file's owner
25623 is the Administrators group on Windows, and the current user is
25624 Administrator, consider that a match.
25626 * server.el (server-ensure-safe-dir): Consider server directory
25627 safe on MS-Windows if its owner is the Administrators group while
25628 the current Emacs user is Administrator. Use `=' to compare
25629 numerical UIDs, since they could be integers or floats.
25631 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25633 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25635 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25637 Sync with Tramp 2.2.1.
25639 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25641 * net/trampver.el: Update release number.
25643 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25645 * progmodes/compile.el (compilation--previous-directory): Fix up
25646 various nil/dead-marker mismatches (bug#8014).
25647 (compilation-directory-properties, compilation-error-properties):
25648 Don't call it at a position past the one we're about to change.
25650 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25651 Disable obsolescence warnings in the file that declares it.
25653 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25655 * allout-widgets.el (allout-widgets-tally):
25656 Initialize allout-widgets-tally as a hash table rather than nil to
25657 prevent mode-line redisplay warnings. Also, clarify the module
25658 description and fix a comment typo.
25660 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25662 * help-fns.el (describe-variable): Don't complete keywords.
25663 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25665 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25667 * emacs-lisp/package.el (package-version-join): Impose a standard
25668 string representation for pre/alpha/beta version lists.
25669 (package-unpack-single): Standardize the directory name by passing
25670 it through package-version-join.
25671 (package-strip-rcs-id): Accept any version string that does not
25672 signal an error in version-to-list.
25674 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25676 * simple.el (delete-trailing-whitespace): Return nil for the
25677 benefit of `write-file-functions'.
25679 2011-03-10 Glenn Morris <rgm@gnu.org>
25681 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25683 * vc/vc-git.el (vc-git-program): New option.
25684 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25685 (vc-git--call): Use it.
25687 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25689 * cus-edit.el (Custom-newline): If no button at point, look
25690 for a subgroup button at start-of-line. (Bug#2298)
25692 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25694 2011-03-10 Julien Danjou <julien@danjou.info>
25696 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25697 `cursor-type' is nil.
25699 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25701 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25703 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25705 * allout.el: Change so yank of distinctive-bullet items
25706 preserves the existing header prefix, rebulleting it if necessary,
25707 rather than replacing it. This is necessary for proper operation
25708 of cooperative addons like allout-widgets.
25709 (allout-make-topic-prefix, allout-rebullet-heading):
25710 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25711 value as alternate bullet to be used, instead of prompting the user
25712 for a bullet character.
25714 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25717 Do not use `tramp-file-name-port', because this returns also
25718 `tramp-default-port'.
25720 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25722 * net/rcirc.el (rcirc-handler-001): Remove useless
25723 with-rcirc-process-buffer.
25724 (rcirc-check-auth-status): Swap arguments to string-match.
25726 2011-03-09 Glenn Morris <rgm@gnu.org>
25728 * shell.el (shell-mode):
25729 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25731 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25732 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25734 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25736 * emacs-lisp/package.el (package-refresh-contents)
25737 (package-menu-execute): Use condition-case-no-debug.
25739 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25741 * simple.el (shell-command-to-string): Use `process-file'.
25743 * emacs-lisp/package.el (package-tar-file-info): Handle also
25746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25747 Use `equal' for upload base check.
25749 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25751 * textmodes/texinfo.el (texinfo-environments):
25752 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25754 2011-03-08 Glenn Morris <rgm@gnu.org>
25756 * cus-start.el (cursor-in-non-selected-windows):
25757 Fix :set quoting oddness. (Bug#8192)
25759 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25760 in some setf expressions. (Bug#2159)
25762 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25764 * custom.el (custom-available-themes): Return themes in
25765 alphabetical order.
25767 See ChangeLog.15 for earlier changes.
25769 ;; Local Variables:
25773 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25775 This file is part of GNU Emacs.
25777 GNU Emacs is free software: you can redistribute it and/or modify
25778 it under the terms of the GNU General Public License as published by
25779 the Free Software Foundation, either version 3 of the License, or
25780 (at your option) any later version.
25782 GNU Emacs is distributed in the hope that it will be useful,
25783 but WITHOUT ANY WARRANTY; without even the implied warranty of
25784 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25785 GNU General Public License for more details.
25787 You should have received a copy of the GNU General Public License
25788 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.